Copilot Chat v0.40.2026031702: NES & Rebase Fixes

Copilot Chat v0.40 improves NES rebase logic, fixes cancellation token handling, and adds pending commit support for worktree changes.

Copilot Chat v0.40.2026031702: NES & Rebase Fixes

TL;DR

  • Smarter rebase logic when you type in agreement with NES suggestions
  • Fixed NES debounce and language context cancellation token handling
  • Pending commit handling for worktree changes in chat sessions
  • MCP support disabled in CLI

New

  • Smarter NES rebase — Rebase logic now detects when you're typing in agreement with a suggestion and handles it more intelligently.
  • Pending commit handling — Chat sessions now properly handle pending commits for worktree changes.

Fixed

  • NES debounce and language context — Fixed cancellation token handling that was preventing proper debounce and context fetch behavior.
  • Server response handling — NES no longer errors when the server response contains no choices.
  • Prompt variable naming — Adopted renamed prompt/instructions variable IDs.

Breaking Changes

  • MCP support disabled in CLI — Model Context Protocol support has been disabled in the command-line interface.

Update via VS Code extensions or npm install @vscode/copilot-chat@0.40.2026031702.

Source: Copilot Chat