Skip to content

copilot.el v0.6.0

Choose a tag to compare

@github-actions github-actions released this 23 Jun 05:15
· 25 commits to main since this release

New Features

  • Hide regular copilot-mode completions while a NES suggestion is pending, so the two no longer overlap on screen. (#477)
  • Add experimental Agent mode for Copilot Chat (copilot-chat-use-agent-mode). When enabled, Copilot can run client-side tools (run_in_terminal, create_file, get_errors, fetch_web_page); each invocation prompts for confirmation unless listed in copilot-chat-auto-approve-tools. (#441)
  • Add native binary installation support. copilot-install-server now falls back to downloading precompiled binaries when npm is unavailable, removing the Node.js requirement on supported platforms. A new copilot-install-server-native command is also available for explicit native installation.
  • Add copilot-chat-select-model for interactively choosing a chat model, since many more models are available for chat than for completions. (#465)

Changes

  • NES now detects buffer edits via track-changes instead of a hardcoded list of editing commands, so it reacts to edits from any command (including evil and other non-listed commands). (#477)
  • copilot-chat now only attaches the originating buffer as context when it is a file-visiting buffer, so invoking chat from an unrelated buffer (dired, *scratch*, etc.) no longer sends it as context. (#470)

Bug Fixes

  • Dismiss a pending NES suggestion immediately when the buffer is edited (e.g. after accepting a copilot-mode completion), instead of leaving a misplaced overlay behind. (#477)
  • Clear NES overlays before applying an accepted suggestion so the ghost text no longer lingers over the edit until the next command. (#477)
  • Tell the user to enable copilot-mode when copilot-nes-mode is turned on without it, since NES relies on copilot-mode to start and sync the server. (#477)
  • Fix Emacs hanging on exit when shutting down the Copilot server (the blocking jsonrpc-shutdown is now skipped at kill-emacs time). (#469)
  • Fix NES insertion text never rendering because its zero-width overlay was marked evaporate and got deleted immediately. (#451)
  • Suppress "Request was canceled" error messages in the echo area. (#464)