Copilot CLI v0.0.410: Memory Fixes & Shell Improvements
Copilot CLI v0.0.410 tackles memory leaks, improves shell mode UX with raw text pasting and keyboard shortcuts, and adds repo-level validation controls.
TL;DR
- Major memory leak fixes across logging, streaming, and long sessions
- Shell mode UX improvements: raw text pasting, keyboard shortcuts, newline handling
- New repo-level settings for validation tools and init suggestions
- MCP server enhancements and better error surfacing
New
- /init suppress — Control init suggestions per repository instead of globally.
- IDE file selection indicator — Status bar now shows when connected to an IDE.
- Repo-level validation settings — Disable individual validation tools at the repository level.
- ACP server session loading — ACP server can now load existing sessions.
- Page Up/Page Down scrolling — Navigate alt-screen mode with keyboard.
- Ctrl+Z suspend/resume — Pause and resume CLI on Unix platforms.
- Tilde expansion in MCP — Support ~ in MCP server cwd configuration.
- Arrow key alternatives — Use Ctrl+N and Ctrl+P instead of arrow keys.
- Ctrl+D exit — Exit CLI with Ctrl+D on empty prompt.
- Shift+Enter newlines — Insert newlines in kitty keyboard protocol terminals.
- Git co-authored trailer — Copilot now adds co-authored-by to git commits.
- Skill name validation — Support underscores, dots, and spaces; optional name and description with fallbacks.
Fixed
- High memory usage from rapid logging — Optimized logging pipeline.
- Memory growth from encoding streaming chunks — Reduced overhead in stream processing.
- Alt-screen and timeline URL rendering — Long links no longer truncated.
- Memory growth in long sessions — Transient events evicted after compaction.
- High memory usage when loading large sessions — Improved session initialization.
- High memory usage during rapid shell output — Optimized output handling.
- Shell mode paste behavior — Now pastes raw text instead of paste tokens.
- Unknown option '--no-warnings' error — Removed invalid flag.
- MCP server list selection — Adjusts correctly after deletion.
- Alt-screen exit — No longer replays full session history.
- Input jitter — Frame coalescing and smoother animations in alt-screen.
- MCP server errors — Now surface in timeline for better visibility.
Changes
- Shell mode removed from Shift+Tab cycle — Access shell mode only via
!command. - /tasks dialog — Improved with consistent icons and typography.
Update with: gh copilot update
Source: Copilot CLI