Copilot CLI v1.0.15: MCP Auth & Session Export

MCP OAuth device code flow for CI, session export as HTML, and performance fixes. Removed gpt-5.1-codex models and changed Ctrl+D behavior.

Copilot CLI v1.0.15: MCP Auth & Session Export

TL;DR

  • MCP OAuth now supports device code flow for headless/CI environments with account switching
  • New /share html command exports sessions as self-contained interactive HTML
  • Removed gpt-5.1-codex models; config keys now prefer camelCase (snake_case still works)
  • Performance fixes: CLI exits immediately, keystrokes no longer lost, slow MCP servers don't block startup

New

  • MCP device code flow (RFC 8628) — fallback OAuth method for headless and CI environments where interactive browser auth isn't possible
  • /mcp auth command — manage MCP OAuth re-authentication with account switching support
  • /share html command — export sessions and research reports as self-contained interactive HTML files
  • MCP server RPCsmcp.config.list, mcp.config.add, mcp.config.update, mcp.config.remove for persistent MCP server configuration management
  • postToolUseFailure hooks — new hook for handling tool errors; postToolUse now runs only after successful tool calls
  • Diff viewer navigation — Home/End and Page Up/Page Down keys now work in the diff viewer
  • Copilot mascot animations — subtle eye blinking in interactive mode

Fixed

  • CLI no longer waits up to 10 seconds after session ends — exits immediately
  • Keystrokes typed while CLI is loading are no longer lost
  • Large tool output preview now shows correct character count and displays up to 500 characters
  • Autopilot no longer continues after pressing Escape or Ctrl+C
  • MCP servers that are slow to connect no longer block agent startup
  • Pasting images from Windows clipboard now works in WSL environments
  • User switcher and /user list now display accounts in alphabetical order

Breaking Changes

  • Removed gpt-5.1-codex models — gpt-5.1-codex, gpt-5.1-codex-mini, and gpt-5.1-codex-max are no longer supported
  • Ctrl+D behavior changed — no longer queues a message; use Ctrl+Q or Ctrl+Enter instead
  • Config key naming — settings now prefer camelCase (askUser, autoUpdate, storeTokenPlaintext, logLevel, skillDirectories, disabledSkills); snake_case still accepted for backward compatibility

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

Source: Copilot CLI