News

VS Code 1.148: agents get containers and faster chat. Coding news from November 25

VS Code 1.148 makes agent chat 30% faster, gives agents their own Dev Containers and adds a faster diff. What it changes for people learning to code in VS Code.

CodeWorlds Editorial
VS Code 1.148: agents get containers and faster chat. Coding news from November 25
  • GitHub Copilot
  • Angular
  • Vite
  • Claude
In this article5

Microsoft shipped Visual Studio Code 1.148 on November 25. Most of the changes are about AI agents working inside the editor: chat answers start sooner, an agent can get its own container, and your machine no longer falls asleep halfway through a task. There are smaller things for everyone too, such as a faster diff written in Rust.

What exactly changes in VS Code 1.148

The change you will notice first is chat speed. According to the release notes, Agent Host responses now begin about 30% faster on average than in the previous stable version. The team admits that slow first responses were a recurring complaint after the switch to the new agent setup. The gap to the old setup is now around 5%, and the older Local harness is scheduled for removal in February 2027.

An agent in its own container

An experimental feature called Create Dev Containers gives an agent an isolated Ubuntu environment without you writing a Dev Container configuration. Files live in a Docker volume, and the container can run on your own computer or on a connected SSH host, a WSL distribution or a Dev Tunnel, as long as Docker is there. You turn it on with chat.agentHost.devContainer.environments.enabled. With a second setting enabled, the agent can move a task into such a container by itself when you ask it to try something in isolation.

Sandbox profiles arrive alongside it, also experimental. They let you save a set of sandbox rules under a name and assign it to a specific machine, for example open network access for a build server and a locked-down profile for a shared computer.

No more sleeping machine during agent work

A new setting, sessions.keepAwakeWhileWorking (preview), stops the system from idle-sleeping while an agent has an active turn, even after you close the window. The default mode, whenPluggedIn, only applies on mains power, always also covers battery, and never turns the hold off. Worktree cleanup now also works on remote hosts, and you can start it from the Command Palette with Chat: Open Worktree Cleanup.

Passwords in the agent's terminal

Until now, agent commands that asked for a password (sudo, ssh, git) simply failed, because the agent has no interactive terminal. In 1.148 that prompt shows up as a question in chat. Microsoft notes that your answer goes only to that program and is not sent to the model. If you would rather the agent never asked, switch off chat.agentHost.copilot.shellAuthentication.enabled.

Changes outside the agents

An experimental diff algorithm written in Rust and compiled to WebAssembly computes diffs more than 2x faster at the median. You can opt in by setting diffEditor.diffAlgorithm to advanced-wasm. The gain shows mostly when you review many heavily changed files at once. The integrated browser gets a per-project user agent setting and HTTP Basic sign-in, and the VS Code CLI, which among other things sets up Remote SSH connections, is about 40% smaller. Tool authors get version 1.1.0 of the Agent Host Protocol.

The Agents window has a redesigned Remote Environments editor. Its table shows each machine's status, last activity and operating system, and when a connection fails, Troubleshoot opens a page that explains whether the configuration, the network or the remote machine is to blame. It also offers fixes such as retrying, opening your SSH config or restarting a WSL distribution. MCP Apps get a fullscreen button.

My take: this release is mainly for people who already hand longer tasks to agents. If you only use VS Code to write code yourself, the faster diff and the new tab button are what you will notice.

What this means if you are learning to code

Update the editor (Check for Updates), but do not switch on every experiment at once. Containers and sandbox profiles make sense when an agent runs commands on your machine and you want to limit the damage if something goes wrong. It is a good habit anyway: test AI-generated code in isolation, not on the only computer that holds your important files.

If you are just starting, begin with the editor itself and write code by hand, for example in our HTML and CSS course. Bring in agents once you understand the code they suggest. We show how to work with assistants in the editor in the AI-assisted coding course and in our article on GitHub Copilot.

The password change is also a good excuse to learn what sudo does and why an agent should never know your password. If something asks for a password and you do not know why, stop and check.

If you connect to a server over SSH or work in WSL, the Troubleshoot page helps even without agents. Instead of guessing why a connection fails, you get the likely cause and ready actions. Reading diagnostics like these teaches you where to look: the config, the network or the other side.

Also today

  • 1Password breached through a GitHub account. An attacker took over an employee's corporate GitHub account, pushed malicious code to backend services and copied the names and email addresses of some customers, and also reached the CI/CD system. Vault contents were not exposed, and the codes in invitation emails went from 6 digits to 10 characters. Source
  • NestJS 12.6.1 and 12.6.2 on the same day. Version 12.6.1 tightened ParseDatePipe and added a nackOnInternalError option for RabbitMQ, but broke the types of applyDecorators(). Version 12.6.2 fixes that TypeScript error (TS1270), so go straight to it. You can learn NestJS in our course.
  • Angular 22.3.1 with a link security fix. The release stops window.opener exposure in links that pass through the HTML sanitizer and fixes a batch of hydration bugs. Source, more on the framework in our Angular article.
  • Svelte turns ten. For the anniversary the team announced experimental custom renderers (native apps, terminal UIs, PDFs), progress on Async Svelte and the release of mdsvex 1.0. Source
  • Vite 8.4.0-beta.2. Errors from plugin hooks now include the plugin name, which makes the cause easier to find, and the build skips the terser plugin when terser is not in use. Source, more about the tool in our Vite article.
  • Claude Code v2.1.332. The tool loads skills from MCP servers (beta), listed in the menu as server:skill, and gains a PreSkillShellCommand hook that can refuse a skill's shell commands. Source, more in our Claude article.

Frequently asked questions

How do I update VS Code to 1.148?

In an installed editor, run the Check for Updates command, most easily from the Command Palette. You can also download an installer from the release notes page, which has links for Windows, macOS and Linux.

Are the agent features in VS Code 1.148 on by default?

Not all of them. Dev Containers for agents and sandbox profiles are experimental and have to be enabled in settings. The faster chat works right away, and the keep-awake option is in preview with whenPluggedIn as its default mode.

Do I need to change my password after the 1Password incident?

The company says customers do not need to change anything, because vaults and keys were not affected. It does advise caution with unexpected emails about invitations or account recovery, since names and email addresses were taken.

Sources


This article was prepared with the help of AI from primary sources and reviewed by the CodeWorlds editorial team.