Copilot CLI v0.0.401-0: Auth & Agent Hooks
Copilot CLI 0.0.401-0 adds dedicated login with ACP auth, agent control hooks, and fixes keypress handling and diff line numbers.
TL;DR
- New
copilot loginsubcommand with ACP terminal-auth support - Agent control hooks (agentStop, subagentStop) for completion management
- Fixed unknown keypress handling and /diff line number accuracy
New
- copilot login subcommand — Dedicated login flow with ACP terminal authentication support for cleaner credential management.
- agentStop and subagentStop hooks — New lifecycle hooks to control when agents and sub-agents complete their execution.
Fixed
- CLI now handles unknown keypresses gracefully instead of crashing or hanging.
- /diff command displays accurate line numbers in dual column layout for better code review context.
Update with: npm install -g @github/copilot-cli@0.0.401-0
Source: Copilot CLI