Copilot CLI v0.0.401: Skills & MCP Fixes
Copilot CLI 0.0.401 adds skills auto-loading, fixes MCP rendering, and improves terminal input handling with new login subcommand support.
TL;DR
- Auto-load skills from `.agents/skills` directory
- MCP tools with structuredContent now render correctly
- Terminal input handling fixes (shift+enter, arrow keys, large pastes)
- New `copilot login` subcommand with ACP terminal-auth support
New
- Skills auto-loading — CLI now discovers and loads skills from `.agents/skills` directory automatically.
- Claude-style .mcp.json format — Support for MCP config without the mcpServers wrapper, matching Claude's format.
- copilot login subcommand — Dedicated login command with ACP terminal-auth support for cleaner authentication flow.
- Agent control hooks — New agentStop and subagentStop hooks let you control when agents complete.
Fixed
- MCP structuredContent rendering — Tools returning structuredContent now display correctly in the CLI.
- Chat history switching — Improved handling when switching between different model families.
- Shift+enter in VS Code terminal — Inserting new lines with shift+enter keybinding now works reliably.
- Large multi-line pastes — Pasting large blocks of text no longer breaks input handling.
- Arrow and special keys — Arrow keys and special characters work reliably when held down.
- Slash command ghost text — Ghost text suggestions now append correctly after slash commands.
- /diff line numbers — Diff display shows accurate line numbers in dual column layout.
- Unknown keypress handling — CLI gracefully handles unknown keypresses instead of crashing.
- ACP terminal-auth arguments — Login flow passes correct arguments to the auth handler.
To upgrade: npm install -g @github/copilot-cli@0.0.401
Source: Copilot CLI