Copilot CLI v1.0.12: MCP Fixes & Session Improvements
MCP servers now load correctly from git root, plugin hooks gain environment variables, and terminal rendering gets major fixes for Windows, emoji selection, and high-volume output handling.
TL;DR
- MCP servers now load correctly from git root and persist across /clear commands
- Plugin hooks gain CLAUDE_PROJECT_DIR and CLAUDE_PLUGIN_DATA environment variables
- Terminal rendering fixes: Windows clipboard, emoji selection, OSC 8 hyperlinks, and high-volume output handling
- Session management improvements: auto-generated names, custom agent restoration, stale session cleanup fixes
New
- Plugin hook environment variables — hooks now receive CLAUDE_PROJECT_DIR and CLAUDE_PLUGIN_DATA, plus {{project_dir}} and {{plugin_data_dir}} template variable support
- Model picker full-screen view — reasoning effort adjustment via ← / → arrow keys inline
- /session rename auto-generation — generates session name from conversation history when called without arguments
- /allow-all subcommands — on, off, and show subcommands for granular allow-all mode control
- Reasoning effort display — model header now shows active reasoning level (e.g., "(high)") next to model name
- Ctrl+Y research report shortcut — opens most recent research report in plan mode when no plan exists
Fixed
- MCP server startup from git root — .mcp.json servers now start correctly when working directory is the git root
- Workspace MCP server loading — workspace MCP servers are now correctly loaded and visible to the agent
- /clear preserves MCP servers — MCP servers persist in new sessions after /clear
- Windows clipboard shadowing — clipboard copy works correctly when non-system clip.exe shadows system one in PATH
- /diff intra-line highlighting — /diff view correctly renders all lines when intra-line highlighting is present
- Windows OneDrive trusted folder prompts — no longer appear incorrectly on OneDrive paths and case-insensitive filesystems
- PowerShell flag arguments — /flag arguments (e.g., /all, /enum-devices) no longer mistakenly treated as file paths
- OSC 8 hyperlinks — now clickable in VS Code terminals
- Emoji selection in terminals — emoji characters are selected and highlighted correctly in terminal text selection
- Terminal resize scroll position — scroll position stays in place when terminal is resized
- High-volume shell output — CLI no longer crashes with out-of-memory errors when running shell commands with high-volume output
- Autopilot cancellation hang — pressing Escape multiple times during cancellation no longer leaves session stuck
- Stale session cleanup — sessions with active work are no longer cleaned up by the stale session reaper
- Custom agent restoration — resume session restores the previously selected custom agent
- /yolo path permissions — permissions persist after using /clear to start a new session
- @ file picker .git filtering — no longer shows .git directory contents
- User prompt immediate display — user prompt appears in conversation immediately after pressing Enter
- OTEL trace clutter — hook executions now recorded as span events instead of child spans
Changed
- Alt screen always enabled — removed --alt-screen flag and alt_screen setting; alt screen is now always enabled
- Config file sources — now reads .claude/settings.json and .claude/settings.local.json as additional repo config sources
- Status line payload — includes session_name field alongside session_id
Update with: npm install -g @github/copilot-cli@latest or check the release page for platform-specific instructions.
Source: Copilot CLI