ProductsSelected

Visual Studio Code 1.141 Adds Zombie Agent Session Cleanup

微软发布 VS Code v1.141:清理“僵尸”Agent 会话等

Why we picked it

The cleanup command addresses a real operational problem: long-running agent sessions quietly consume gigabytes of worktree storage before anyone notices. Developers running multiple Copilot agents daily can now set auto-cleanup policies instead of hunting down dead worktrees manually, while the sandbox and grid layout changes make running several agents in parallel more practical. Teams on GitHub Enterprise also gain true multi-instance login without switching windows.

Microsoft released Visual Studio Code 1.141 on 7 Oct 2026 with a focus on AI agent workflow management.

Body

A new Chat: Open Worktree Cleanup command lists inactive agent session worktrees, lets users filter by idle time, delete manually or set auto-cleanup, with merged PR sessions eligible for automatic deletion and active or pinned sessions protected.

The release adds Copilot Agent terminal sandboxing on Windows, macOS and Linux to restrict file system and network access.

It also introduces grid layouts for side-by-side agent sessions and simultaneous login to GitHub Enterprise Cloud and GitHub Enterprise Server accounts in one window.

Original · IT之家

微软发布 VS Code v1.141:清理“僵尸”Agent 会话等

IT之家 10 月 8 日消息,微软昨日(10 月 7 日)更新推出 Visual Studio Code 1.141,本次更新聚焦 AI 智能体(Agent)工作流管理, 重点改进会话存储清理、跨平台沙盒安全、多会话并排布局,以及多 GitHub Enterprise 实例登录支持。 清理“僵尸”Agent 会话方面,新版增加 Chat: Open Worktree Cleanup 命令,可列出所有非活跃 Agent 会话的工作树(worktree)占用空间,并支持按“闲置时长”筛选、手动删除或设置自动清理策略。IT之家附上相关图片如下: 当存储占用达到阈值时,Agents 窗口会主动提示清理;已合并 PR 的会话可配置为自动清理,活跃 / 运行中 / 需输入 / 已固定的会话则受保护不会被误删。 跨平台沙盒方面,新版在 Windows、macOS、Linux 上为 Copilot Agent 提供终端沙盒能力,限制其对文件系统和网络资源的访问范围,提升安全性。 多会话网格布局方面,Agents 窗口支持将会话以网格形式水平 / 垂直排列,拖拽调整布局、放大聚焦单个会话,且布局在重载后仍会保留,便于同时跟踪多个 Agent 任务进展。 此外新版支持在同一 VS Code 窗口中同时登录 GitHub Enterprise Cloud ( GHE.com ) 与 GitHub Enterprise Server 账号,便于跨企业实例协作与代码管理。

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows and US-China foundation model benchmarks and commercialization comparison. Key entities and technical topics under continuous tracking include VS Code, Copilot Agent, GitHub Enterprise, agents.

Source attribution: curated from IT之家.