Microsoft Releases Visual Studio Code 1.148: Computer Can Stay Awake While Agents Run
IT之家 November 27 news: On the 25th local time, Microsoft released Visual Studio Code 1.148, further improving the application's AI features with a focus on optimizing the agent experience. The most notable new feature in this update is the ability to prevent the computer from automatically going to sleep while AI agents are working.
This feature is currently in preview and offers three settings: always keep the computer awake while agents are working, keep it awake only when the laptop is plugged in, and turn it off entirely.
Another important update is support for running agents directly in isolated Dev Containers. Previously, users needed to prepare a configuration file, usually named devcontainer.json, to run agents in a separate development container. Now, VS Code provides a preconfigured Ubuntu container, so users can start agents directly without writing a configuration file themselves.
VS Code has also further improved how isolated environments are managed. According to IT之家, the new version adds independent sandbox configuration profiles for different remote agent hosts, allowing permissions to be set separately based on the agent's runtime environment.
This feature is still experimental. For example, users can allow agents on one machine to access the network while restricting the permissions of agents on another machine. Each sandbox configuration profile can also be saved for reuse later.
The following are the most important new features and improvements in VS Code 1.148:
- Keep agents running (preview): Prevent supported hosts from automatically going to sleep due to inactivity while agents are working.
- Worktree cleanup: Clean up idle agent worktrees on remote hosts to free up disk space.
- Sandbox configuration profiles (experimental): Customize sandbox rules separately for different remote agent hosts and save configurations for reuse.
- Create Dev Container (experimental): Create an isolated Linux working environment for agents without manually writing container configuration.
- Agent chat performance optimization: Reduce the time spent waiting for the Agent Host to start responding.
- https://code.visualstudio.com/updates/v1_148
Advertising statement: External redirect links contained in the article (including but not limited to hyperlinks, QR codes, passwords, and other forms) are used to convey more information and save selection time. The results are for reference only. All articles from IT之家 that contain external links include this statement.
Related Articles
- Modern UI first look: Microsoft releases Visual Studio Code 1.129 stable update, AI Agent capabilities enhanced
- Microsoft VS Code update 1.125: Upgraded third-party model installation experience
- Microsoft VS Code 1.117 released: Adds "chat response incremental rendering" experimental feature, improving AI conversation text output animation
- Microsoft VS Code enters "weekly update" fast mode, first version v1.111 now online
- Lenovo Legion explains the "Microsoft Battle Code" program on computers: It is a misunderstanding of "Microsoft Visual Studio Code"
- Microsoft Visual Studio / Code milestone: Over 50 million monthly active developers