Article · AI translation
IT Home reported on November 27 that Microsoft released Visual Studio Code 1.148 on the 25th local time, further improving the app’s AI features with a focus on the experience of using agents. The most notable new feature in this update allows AI agents to prevent a computer from automatically going to sleep while they work.
This feature is currently in preview and offers three settings: always keep the computer awake while an agent is working, keep it awake only when a laptop is plugged in, or disable the feature entirely.
Another important update is support for running agents directly in isolated Dev Containers. Previously, users had to prepare a configuration file, usually named devcontainer.json, to run an agent in a separate Dev Container. Now, VS Code provides a preconfigured Ubuntu container, allowing users to launch an agent directly without writing a configuration file themselves.
VS Code has also further improved how isolated environments are managed. According to IT Home, the new version adds separate sandbox profiles for different remote agent hosts, allowing permissions to be set according to each agent’s runtime environment.
This feature is still experimental. For example, users can allow an agent on one machine to access the network while restricting the permissions of an agent on another machine. Sandbox profiles 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: Remove idle agent worktrees on remote hosts to free up disk space.
Sandbox profiles (experimental): Customize sandbox rules for different remote agent hosts and save the configurations for reuse.
Create Dev Containers (experimental): Create separate Linux working environments for agents without manually writing container configurations.
Agent chat performance improvements: Reduce the time spent waiting for Agent Host to begin responding.
Reference
https://code.visualstudio.com/updates/v1_148
Advertising notice: External links in this article (including but not limited to hyperlinks, QR codes, and access codes) are provided to convey more information and save time in selecting sources. The results are for reference only. All IT Home articles containing external links include this notice.