Copilot CLI v1.0.52: Context Windows, Token Display & UX Polish

Copilot CLI 1.0.52 enforces context window tiers end-to-end, fixes Autopilot permission prompts, and adds reasoning token display. Sessions now resume in saved directories with refreshed git context.

Copilot CLI v1.0.52: Context Windows, Token Display & UX Polish

TL;DR

  • Context window tier selection now enforced end-to-end (200K vs 1M tokens)
  • Sessions resume in saved working directory with refreshed git context
  • Autopilot mode no longer triggers unexpected permission prompts
  • Reasoning tokens display in token usage summary

New

  • Context window enforcement — Tier selection (default ~200K vs 1M tokens) now constrains compaction, truncation, and token display across the entire pipeline
  • Session directory persistence — Sessions resume in their saved working directory; pass -C to override. Relative path flags resolve from saved cwd
  • Reasoning token display — Reasoning tokens now show as a parenthetical in the token usage summary
  • Vertical scrollbar with mouse drag — Main conversation view now supports mouse-driven scrolling
  • Deferred tool loading for agents — Custom agents can opt-in via deferred-tool-loading in frontmatter for better tool-search discovery with large tool lists
  • Quota progress bars — /usage command displays session and weekly limit progress
  • /compact focus instructions — Accept optional instructions to shape compaction summaries
  • GPT-5.4/5.5 support — General-purpose subagents use newer models when available

Fixed

  • Autopilot permission prompts — Switching to Autopilot mode no longer triggers unexpected permission requests for tool, path, or URL access
  • Non-interactive stdin consumption — Plugin list, mcp list, help, and version subcommands no longer consume stdin
  • Kill command safety filter — Now accepts valid commands with shell redirection like kill -0 <PID> 2>/dev/null
  • Session git context stalenesscopilot --continue from saved directory now refreshes branch and git context
  • AI Credits display — Usage now correctly displays after sessions using the Responses API
  • Tmux rendering stutter — Fixed on Cygwin and mintty terminals
  • Session corruption errors — Sessions with non-URL strings in URL/URI fields resume without errors
  • Windows high-bit exit codes — Sessions no longer fail to load when processes exit with codes like .NET unhandled exceptions
  • HTTP/2 upload stalls — Requests automatically retry over HTTP/1.1
  • PowerShell false prompts — Division operator no longer triggers false 'Allow directory access' prompts on Windows
  • MCP OAuth migration — Legacy nested oauth.clientId and oauth.callbackPort keys now migrate to oauthClientId and auth.redirectPort
  • MCP OAuth re-authentication — Now honors configured redirectPort

Polish

  • Slash command picker keeps (experimental) and (staff) labels orange when selected
  • Timeline entry connector color matches surrounding elements when expanded
  • Gray background bar removed from user messages on terminals without truecolor support
  • Picker checkboxes use single-cell ▣/▢ glyph for tighter, consistent rows
  • /statusline picker redesigned with cleaner descriptions and better spacing
  • Exit summary displays AI Credits label with correct spacing
  • /restart and /update preserve session ID after restarting
  • Status line command now supports plain shell commands in addition to executable script paths
  • AI credits error messages updated with clearer language and Manage budget link
  • Automatic pruning of old process log files from ~/.copilot/logs/ at startup prevents unbounded disk growth

Update via: copilot update

Source: Copilot CLI