Copilot CLI v1.0.4-1: OpenTelemetry & Auth Fixes
OpenTelemetry observability, CommonJS extensions, OAuth improvements, and critical fixes for autopilot loops and terminal corruption in Copilot CLI v1.0.4-1.
TL;DR
- OpenTelemetry instrumentation now available for observability into agent sessions and LLM calls
- CommonJS extension support and improved OAuth/Entra ID authentication
- Fixed autopilot infinite loops, context window inflation, and terminal corruption on crash
New
- OpenTelemetry instrumentation — Full observability into agent sessions, LLM calls, and tool executions for monitoring and debugging
Added
- CommonJS extension modules — Extensions can now be written as .cjs files alongside existing formats
- Extension count in startup — Environment loaded message now shows how many extensions are active
- disableAllHooks flag — Configuration option to disable all hooks from your config file
- Azure DevOps session logging — Repository identification now works in session logs
Improved
- Reasoning headers — Only display when it's the sole reasoning text available, reducing noise
- Terminal stability — CLI crash no longer corrupts shell state; terminal properly resets
- /update command — Auto-restarts to apply updates instead of requiring manual exit
- OAuth authentication — Microsoft Entra ID and OIDC servers now handled reliably with proper resource indicators and refresh token support
- Instruction file picker — Shows individual file names with [external] labels for injected files
- Path permissions — Dialog now offers one-time approval option in addition to allowlist
Fixed
- Session export headers now render each field on its own line in shared gists
- Auto-update retries without auth token on SAML enforcement errors
- Autopilot mode stops continuing after API errors instead of looping indefinitely
- Status line context window percentage no longer inflates across turns by using last call's tokens instead of cumulative totals
- Kitty keyboard protocol properly disabled on suspend when using alternate screen
Update via: copilot update or download from GitHub
Source: Copilot CLI