Microsoft has released Visual Studio Code version 1.141, introducing cross-platform terminal sandboxing to restrict AI agent execution, automated tools to clean up inactive agent worktree storage, and multi-account support for GitHub Enterprise instances. The update focuses on establishing structured boundaries for AI-driven development workflows while streamlining multi-session management across external tools.
Agent Sandboxing and Security Controls
VS Code 1.141 introduces cross-platform terminal sandboxing for Windows, macOS, and Linux to limit what Copilot agents can access during task execution. Configurable globally through editor settings or toggled per session, the sandbox restricts filesystem and network access for agent operations, locally launched Model Context Protocol (MCP) servers, and language servers. While operating system protections and agent host process checks help mitigate risks from prompt injection or untrusted dependencies, Microsoft notes that sandboxing functions as a defensive layer rather than a standalone endpoint security boundary.
Storage Reclamation and Background Shell Monitoring
To address storage overhead from autonomous agent sessions, the release includes a dedicated cleanup interface for reclaiming disk space from inactive session worktrees. Developers can inspect disk usage, set automatic cleanup rules for sessions tied to merged pull requests, and restore cleaned sessions if needed. Active, running, input-pending, or pinned sessions are automatically protected from deletion. Additionally, a persistent UI pill above the chat input tracks running background shells within Copilot harness sessions, allowing developers to monitor output streams as commands execute.
Grid Layouts and External Session Handoff
The Agents window now features a two-dimensional grid layout, enabling developers to arrange, split, and monitor multiple agent sessions side by side. VS Code 1.141 also improves session handoffs from external tools. New conversations initiated in the Copilot CLI, GitHub Copilot app, or Codex CLI and ChatGPT desktop applications are picked up automatically in the Agents window, preserving conversation history and allowing developers to resume work without restarting the editor.
Multi-Instance GitHub Enterprise Authentication
For developers operating across multiple corporate environments, VS Code 1.141 replaces the legacy single-instance configuration setting with a list-based setting (github-enterprise.uris). This update allows developers to maintain active authentication sessions for both GHE.com and GitHub Enterprise Server accounts simultaneously within the same editor window.
AI-generated editorial illustration; not a documentary photograph.
Source: Visual Studio Code 1.141

Leave a Reply