Copilot Chat v0.40.2026031003: CLI & Tool Fixes

CLI session management, tool invocation fixes, and performance improvements in Copilot Chat. Streamlined approval flow and better slash command rendering.

Copilot Chat v0.40.2026031003: CLI & Tool Fixes

TL;DR

  • CLI session metadata management and approval bypass for streamlined workflows
  • Tool invocation fixes and improved slash command rendering
  • Performance improvements for session title reading

New

  • CLI session metadata management — Methods added to handle additional copilot CLI session metadata for better session tracking.
  • CLI approval bypass — Streamlined approval flow for CLI operations to reduce friction in automated workflows.
  • Improved slash command rendering — Better visual presentation and handling of slash commands in the chat interface.

Fixed

  • Tool invocation type casting — Removed unnecessary type casting for toolCallId to simplify tool invocation logic.
  • Claude session fallback — Fixed fallback to HOME directory when no folder is available for Claude sessions.
  • Custom tool search — Enabled in agent tools, filtered invalid references, and improved prompts for better tool discovery.
  • Session title performance — Optimized reading of Copilot CLI session titles for faster operations.

Under the Hood

  • Cloud delegation support — Copilot CLI can now properly delegate to Cloud services with correct Chat Session type checking.

Update via VS Code extensions marketplace or run code --install-extension GitHub.Copilot-Chat.

Source: Copilot Chat