Copilot CLI v0.0.399-0: Slash Commands & LSP
Copilot CLI 0.0.399-0 adds Ctrl+X slash command shortcut, /diff for session reviews, and experimental LSP support for code intelligence.
TL;DR
- Ctrl+X then / runs slash commands without clearing input
- New
/diffcommand to review session changes - LSP tool added for code intelligence (experimental)
- Token tracking now includes sub-agent consumption
New
- Slash command shortcut — Press Ctrl+X then / to invoke slash commands while keeping your input intact.
- /diff command — Review all changes made during your session without re-running code.
- LSP tool — Language Server Protocol integration for code intelligence (requires experimental flag).
Improved
- Compaction messages — Clearer command hints now guide you to view checkpoint summaries.
Fixed
- /usage token tracking — Now includes token consumption from sub-agents like the general-purpose agent.
Update with: npm install -g @github/copilot-cli@0.0.399-0
Source: Copilot CLI