Copilot CLI v1.0.37: Shell Completions & Permission Persistence

Copilot CLI 1.0.37 adds shell completion generation, sortable session picker, and fixes permission persistence, detached HEAD detection, and Linux clipboard leaks.

Copilot CLI v1.0.37: Shell Completions & Permission Persistence

TL;DR

  • Location-based permission persistence now default — approvals stick across sessions in the same directory
  • New shell completion subcommand for bash, zsh, fish with flag and choice value autocomplete
  • Session picker now sortable by relevance, last used, created, or name
  • Fixed detached HEAD detection and X11 handle leak on Linux

New

  • copilot completion subcommand — Generate static shell completion scripts for subcommands, flags, and known choice values
  • Session picker sort cycling — Press s to cycle through relevance, last used, created, or name ordering
  • ACP model config metadata — Model config options now include description and metadata for configOptions API clients
  • /ask markdown rendering — Responses now render markdown, including tables and formatted links

Fixed

  • Location-based permission persistence enabled by default — approvals now carry over across sessions for the same directory
  • Detached HEAD detection no longer returns false after switching branches with git branch --show-current
  • Clipboard write no longer leaks X11 handles on Linux
  • Model and effort change notification suppressed when re-selecting the same option
  • Pending message indicator displays correctly alongside prompt frames
  • Skill picker list stays fully visible when skills have errors or warnings

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

Source: Copilot CLI