Copilot CLI v1.0.4: Shell Streaming & MCP Auth

Copilot CLI 1.0.4 adds shell streaming RPC methods, fixes MCP OAuth with Entra ID, introduces adaptive colors, and replaces /pr open with /pr view.

Copilot CLI v1.0.4: Shell Streaming & MCP Auth

TL;DR

  • New RPC methods for streaming shell command execution with stdout/stderr
  • MCP OAuth re-authentication now handles Microsoft Entra ID and port changes reliably
  • Adaptive color engine with graceful degradation on limited-color terminals
  • Breaking: /pr open replaced with /pr view [local|web]

New

  • session.shell.exec and session.shell.kill RPC methods — Execute shell commands with streaming stdout/stderr output for better agent integration
  • Adaptive color engine — Dynamic color modes with interactive theme picker, gracefully degrades on limited-color terminals and Windows
  • OpenTelemetry instrumentation — Observability into agent sessions, LLM calls, and tool executions
  • CommonJS extension support — Extensions can now be written as extension.cjs modules
  • --reasoning-effort CLI flag — Set reasoning effort level per invocation
  • configure-copilot sub-agent — Manage MCP servers, custom agents, and skills via the task tool
  • Hook confirmation requests — Hooks can request user confirmation before tool execution with 'ask' permission decision
  • Path permission one-time approval — Dialog now offers one-time approval option in addition to allowlist
  • Instruction file picker improvements — Show individual file names with [external] labels for injected files
  • disableAllHooks flag — Disable all hooks from configuration file
  • Azure DevOps repository identification — Support in session logs
  • Session export header formatting — Each field renders on its own line in shared gists
  • Extensions count in startup message — Environment loaded message now shows loaded extensions count

Fixed

  • MCP OAuth re-authentication — Now works reliably when callback port changes or using Microsoft Entra ID with proper resource indicators and refresh token support
  • Custom agents in ACP mode — Plugins from --plugin-dir now load correctly
  • Autopilot mode error handling — 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
  • Reasoning headers display — Only show when it's the only reasoning text available
  • Terminal reset on crash — CLI crash no longer corrupts shell state
  • Auto-update SAML errors — Retries without authentication token on SAML enforcement errors
  • Interactive shell initialization timeout — No longer times out on slow machines
  • Windows shell performance — Faster shell commands by skipping PowerShell profile loading

Breaking Changes

  • /pr open replaced with /pr view [local|web] — Use /pr view local to view PR status locally or /pr view web to open in browser

Update via: gh copilot update or npm install -g @github/copilot-cli@latest

Source: Copilot CLI