Microsoft · 2026-12-02 · major
VS Code 1.149 — Git credentials for container agents and a model router editor
In short
VS Code 1.149 forwards your Git credentials into Dev Container agent sessions and adds a form editor for model routers. It can also detect passwords during /security-review, and new Rust/WebAssembly code makes the editor faster.
Microsoft · 2026-12-02 · 2 sources checked

VS Code 1.149 makes agent sessions in containers usable for real Git work and lets you build model routers without YAML.
Quick facts
| Release date | December 2, 2026 |
|---|---|
| Dev Containers | Git credential + SSH/GPG agent forwarding; WSL containers (experimental) |
| Experimental | Model router form editor, live response stats, PR comments from the Agents window |
| Preview | Secret detection in /security-review (off by default) |
| Editor speed | Rust tokenizer 2–3x faster; GPU rendering 27% less scroll CPU |
| Deprecated | Local harness (removal February 2027) |
What is it?
Visual Studio Code 1.149, released December 2, 2026, lets agent sessions in Dev Containers use your Git config, credentials and SSH and GPG agents, and lets you continue a chat from a Dev Container window in the Agents window. It also adds an experimental form editor for model routers and optional secret detection in /security-review.
How does it work?
Credential forwarding is controlled by chat.agentHost.devContainer.credentialForwarding.enabled; sessions with terminal sandboxing only get your Git name and email. Model routers, introduced in 1.147, now appear in a Routers tab in the model picker, can be created through Chat: Manage Language Models, and can switch routes mid-chat when the task changes. Secret detection uses GitHub's secret detection model to find credentials without a known token format, such as passwords, and uses AI credits.
Why does it matter?
Container sessions were the safe place to run an agent, but without Git credentials the agent could not push its work. 1.149 removes that gap. The release also shows live response statistics (tokens per second or output tokens) while a reply runs, and experimental Rust-based tokenizing and GPU rendering cut CPU use for large files.
Who is it for?
VS Code and GitHub Copilot users running agents
Frequently asked questions
- Does VS Code 1.149 give container agents my real Git credentials?
- Yes, when you turn it on. VS Code 1.149's chat.agentHost.devContainer.credentialForwarding.enabled setting forwards your Git config, credentials and SSH and GPG agents to Dev Container agent sessions. Sessions that use terminal sandboxing are treated more carefully and receive only your Git user name and email, not credentials.
- Does secret detection in VS Code 1.149 cost extra?
- Yes. VS Code 1.149's secret detection for /security-review is a preview that is off by default and uses GitHub's secret detection model. It consumes AI credits under the Secret Protection AI Credit SKU, works in Copilot harness sessions, and needs your organization to allow preview features.
- How much faster is the editor in VS Code 1.149?
- Microsoft reports that the experimental Rust port of vscode-textmate in VS Code 1.149 tokenizes 2 to 3 times faster for most languages with about half the memory per line; a 201,040-line JavaScript file took 3.5 seconds instead of 9.0. Experimental GPU rendering used 27% less CPU when scrolling an ordinary file, measured on a MacBook Pro M5 Pro.
- Can I make a model router the default in VS Code 1.149?
- Yes. In VS Code 1.149, set chat.defaultModel to model-router:<name> so new chats start on a router. Routers are experimental behind chat.copilot.modelRouter.enabled and can now be built in a form instead of YAML; selecting the routing line above a reply shows the offered routes, their scores and the decision time.
Try it
Update VS Code to 1.149, then enable chat.agentHost.devContainer.credentialForwarding.enabled