Copilot CLI v0.0.422-1: Hooks, History Search & Metrics

Personal hooks, Ctrl+R history search, session metrics logging, and fixes for plugin caching, IME input, and terminal compatibility.

Copilot CLI v0.0.422-1: Hooks, History Search & Metrics

TL;DR

  • Personal hooks from ~/.copilot/hooks now load alongside repo-level hooks
  • Reverse incremental search (Ctrl+R) for command history, like Bash
  • Session metrics (requests, tokens, code changes) persisted to events.jsonl
  • Plugin cache auto-recovery and multiple terminal/IME fixes

New

  • Personal hooks — Load from ~/.copilot/hooks in addition to repo-level .github/hooks for more flexible automation
  • Ctrl+R history search — Reverse incremental search for command history, matching Bash behavior
  • Session metrics persistence — Requests, tokens, and code changes now logged to events.jsonl after each session
  • Startup prompt hooks — Auto-submit prompts or slash commands when a session starts
  • copy_on_select config — Auto-copy selected text to clipboard in alt screen mode
  • enabledPlugins config — Automatic plugin installation at startup
  • SSH plugin URLs — Install plugins from ssh:// URLs
  • exitPlanMode.request protocol — SDK plan approval support
  • Background command notifications — Automatic alerts when background shell commands and agents complete

Improved

  • Text selection persists after copying to clipboard in alt screen
  • Reduced memory usage in alt-screen mode for long sessions
  • @-mention file completion reflects current working directory state
  • Links in alt-screen mode now underlined for better visibility
  • /delegate prompts clarified for multi-remote repositories
  • Git not installed error messages now clear and actionable
  • Waiting message shown when terminal handed to external editor
  • Repository config renamed from .github/copilot/config.json to settings.json
  • launch_messages config setting renamed to companyAnnouncements
  • Timeline now hides noisy todo queries and shows dependency details

Fixed

  • Plugin cache auto-recovers from corrupted or incomplete clones
  • IME candidate windows appear at correct cursor position in CJK input
  • Windows URLs with & query parameters now open correctly
  • ESC key cancel works in tmux and non-kitty terminals
  • GitHub MCP server stays enabled in repos with both Azure DevOps and GitHub remotes
  • Colons in inline code render correctly inside markdown tables
  • Plugin-contributed LSP servers now loaded, started, and shown in /lsp show
  • Enter in required enum field now selects highlighted option
  • CLI no longer hangs when working in directories with large file counts
  • GitHub MCP server connection status accurately tracked in status indicator
  • Ctrl+K joins lines at end of line, matching Emacs/terminal behavior
  • Escape sequences split across input chunks no longer leak into text input

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

Source: Copilot CLI