Copilot CLI v1.0.5-0: Dynamic Retrieval & Syntax Highlighting
Copilot CLI 1.0.5-0 adds embedding-based dynamic retrieval for smarter context, syntax highlighting in diffs, and fixes Windows rendering issues plus authentication hangs.
TL;DR
- Experimental embedding-based dynamic retrieval for MCP and skill instructions per turn
- Syntax highlighting in /diff now supports 17 programming languages
- New /version command to check CLI version and updates in-session
- Multiple bug fixes for Windows/PowerShell, large files, and authentication
New
- /version command — Display CLI version and check for updates without leaving your session
- Embedding-based dynamic retrieval — Experimental feature that retrieves MCP and skill instructions per turn based on context, improving relevance
- Syntax highlighting in /diff — 17 programming languages now highlighted for better readability when reviewing changes
- preCompact hook — Run commands before context compaction starts, giving you control over cleanup operations
Improved
- /changelog command — Now supports
last <N>,since <version>, andsummarizeflags to browse and summarize multiple release notes at once - Hooks config validation — Config files that omit the version field are now accepted, reducing friction in setup
Fixed
- Request ID from API now appears in timeline when errors occur after retries are exhausted — easier debugging
- PR descriptions with backtick-formatted code now render correctly on Windows/PowerShell
- Helpful error message shown when a file path is passed as a CLI command instead of silent failure
- Session reports authentication error instead of hanging when token is invalid or expired
- View tool now shows partial content for large single-line files (minified JS, large JSON) instead of empty output
Update with: npm install -g @github/copilot-cli@latest
Source: Copilot CLI