Visual Studio Code and GitHub Copilot - What's new in 1.111

Fokko Veegens covers the highlights of VS Code 1.111, the first weekly release following the team's shift from monthly to weekly cadence. Features include autopilot mode for bypassing all approvals, agent-scoped hooks for custom agents, and debug event snapshots for diagnosing failed sessions.

Full summary based on transcript

Visual Studio Code 1.111 marks the beginning of a new weekly release cadence, replacing the previous monthly schedule. This first weekly release brings significant changes to Copilot's autonomy, hook system, and debugging capabilities.

Autopilot

Agent mode already operated quite autonomously, but VS Code 1.111 takes it a step further with full approval bypassing and an “autopilot” mode.

Approval levels:

Enabling autopilot:

  1. Go to settings and search for “chat approval”
  2. Set the approval mode to “bypass approvals” (triggers a one-time risk acknowledgment)
  3. Optionally enable the autopilot checkbox for full autonomous operation (the mode indicator turns yellow as a reminder)

Slash commands:

Caution: With autopilot enabled, Copilot runs tools without asking for consent. Read the risk warnings carefully before enabling this feature.

Agent-Scoped Hooks

Building on the hooks feature introduced in VS Code 1.110, hooks can now be scoped to specific custom agents rather than applying globally.

Prerequisites:

How it works:

Example - audit logging:

**Hook input data (via standard input)😗*

Use cases for agent-scoped hooks:

Debug Events Snapshot

The agent debug panel introduced in VS Code 1.110 now supports attaching debug event snapshots as context in new chat sessions, making it easier to diagnose failures.

How it works:

  1. When an agent session fails or takes an unexpected direction, open the agent debug panel
  2. Navigate to the “View logs” view
  3. Click the sparkle button to start a new chat session with the debug events snapshot attached
  4. Alternatively, use #debugEventsSnapshot in any chat to attach the most recent session's debug data

Example: