Copilot CLI v1.0.40-3: Headless Auth & Research Improvements

Copilot CLI 1.0.40-3 adds headless OAuth for MCP servers, improves /research with orchestrator subagents, caps autopilot continuations, and fixes session resume picker duplicates and large file hangs.

Copilot CLI v1.0.40-3: Headless Auth & Research Improvements

TL;DR

  • Client credentials OAuth for headless MCP server auth — no browser required
  • /research now uses orchestrator/subagent model for deeper results
  • Autopilot continuation messages capped at 5 by default
  • Session resume picker and large file handling fixed

New

  • Client credentials OAuth for MCP servers — enables fully headless authentication without browser interaction, critical for CI/CD and server-side integrations

Improved

  • Ctrl+C feedback — prints "Exiting…" to stderr immediately so you see shutdown progress instead of hanging
  • /research orchestrator model — uses subagents for more thorough and reliable deep research results
  • Autopilot continuation limit — defaults to 5 messages max (configurable with --max-autopilot-continues) to prevent runaway loops
  • Auto-update cleanup — automatically removes old CLI package versions from disk
  • Remote session statusline — shows remote working directory and branch instead of local context for clarity

Fixed

  • Subagents now evaluate tool search support for their own model instead of inheriting parent session settings
  • Session switching with /new or /resume no longer carries over pending messages
  • CLI no longer hangs at 100% CPU when sending large file attachments
  • Resume session picker no longer shows duplicate entries for Mission Control-backed sessions
  • Session resume selector displays summaries on a single line, truncated to fit column width

Update: npm install -g @github/copilot-cli@latest

Source: Copilot CLI