Copilot CLI 1.0.22: MCP Fixes & Agent Limits
Copilot CLI 1.0.22 brings MCP schema fixes, plugin persistence, sub-agent limits, and Anthropic BYOM/BYOK support. Better image handling and session management included.
TL;DR
- MCP tools now sanitized for all model providers; better image handling
- Sub-agents get depth/concurrency limits to prevent runaway spawning
- Plugin persistence, Anthropic BYOM/BYOK fixes, and session hook improvements
New
- MCP schema sanitization — Non-standard JSON schemas from MCP tools now work across all model providers without compatibility issues.
- Large image handling — MCP and extension tools can now process large images without degradation.
- Inline renderer optimization — New simplified renderer improves rendering performance.
- Skills field for custom agents — Agents can declare a
skillsfield to eagerly load skill content at startup. - Plugin post-install messages — Plugins can display setup instructions after installation.
- Plugin persistence — Plugins remain enabled across sessions and auto-install on startup based on user config.
- Sub-agent limits — New depth and concurrency limits prevent runaway agent spawning.
- Session conflict warnings — CLI warns when resuming a session already in use by another CLI or application.
Fixed
- Anthropic BYOM/BYOK permissions — Permission checks and hooks now work correctly with Anthropic models via custom configurations.
- Duplicated tool names in sub-agents — Sub-agent activity no longer shows redundant tool names (e.g., "view view the file").
- Slash command picker layout — Command picker now appears above text input for stable positioning.
- Remote session policy messaging — Clear message shown when remote sessions are blocked by organization policy.
- MCP config migration — CLI now reads only
.mcp.json; migration hint appears when.vscode/mcp.jsonis detected without.mcp.json. - V8 grapheme segmentation bug — CLI no longer crashes on systems affected by V8 engine bug in grapheme segmentation.
- Session hooks timing —
sessionStartandsessionEndhooks now fire once per session in interactive mode instead of once per prompt. - Plugin agent model respect — Plugin agents now respect the model specified in their frontmatter.
Update via: npm install -g @github/copilot-cli@latest
Source: Copilot CLI