Source · release

Visual Studio Code 1.149

Author
Microsoft
Published
2 December 2026
Added
3 December 2026
Original
https://code.visualstudio.com/updates/v1_149

Summary

VS Code 1.149 (stable, 2026-12-02) lets agents run inside Dev Containers with forwarded credentials, adds model routers that you create in the UI, and adds AI secret detection to /security-review. It also shows response stats in chat and improves the Agents window. The release notes say the Local harness will be removed in February 2027.

Key points

  • Agents in Dev Containers:
    • chat.agentHost.devContainer.credentialForwarding.enabled forwards Git config, credentials, and SSH/GPG agents into the container.
    • chat.agentHost.devContainer.discovery.enabled lists those chats in the Agents window.
    • chat.agentHost.devContainer.containerEngine accepts wslc or ask (Windows, WSL 2.9.3+, experimental).
  • Model routers without YAML: create them in Chat: Manage Language Models > Model Routers, then set chat.defaultModel to model-router:<name>. Gated by chat.copilot.modelRouter.enabled.
  • Secret detection in /security-review: finds passwords and other credentials that have no fixed token format. Turn on chat.copilot.securityReview.secretDetection.enabled (preview, off by default, uses AI credits).
  • Response stats: chat.responseStats (off, title, progress, progressWithMessage) and chat.responseStatsTokens (speed, count) show speed or token counts for each reply.
  • Agents window: sessions.splitSizing, Ctrl+K arrow shortcuts to arrange sessions, chat.experimental.agentsWindowPRComments to post PR comments, sessions.changes.testFilePatterns to separate test files, and a choice of base branch for Branch Changes.
  • Deprecation: the Local harness will be removed in February 2027.

Why it matters

Running agents in a Dev Container with real credentials makes the container a practical sandbox for agent work rather than a place where git push fails. Model routers in the UI make it easy to send cheap tasks to cheap models.