Microsoft releases Visual Studio Code 1.148 with agent keep-awake and sandbox features
Microsoft has released Visual Studio Code 1.148, adding a preview option to prevent supported computers from sleeping while AI agents work, plus experimental sandbox and Dev Container features.
Microsoft released Visual Studio Code 1.148 on November 25, adding several changes focused on the use of AI agents.
The update includes a preview feature that prevents supported hosts from automatically entering sleep mode while an agent is working. Users can keep the computer awake at all times during agent activity, enable the behavior only when a laptop is connected to power, or turn it off completely.
VS Code 1.148 also lets users run agents directly inside a preconfigured Ubuntu Dev Container, without having to create a devcontainer.json file themselves. The release further adds separate sandbox configurations for different remote agent hosts, allowing permissions such as network access to be adjusted independently and saved for reuse.
Other listed changes include removing idle agent worktrees from remote hosts to recover disk space and reducing the time before an Agent Host begins responding. The sandbox configuration and Dev Container features remain experimental.