Visual Studio Code introduces restricted mode for untrusted folders Microsoft's Visual Studio Code version 1.126 introduces a restricted mode for untrusted folders to prevent automatic code execution, allowing developers to browse code safely before deciding to trust the folder. The update also adds total cost display for chat sessions and multi-chat management in agent host sessions. Microsoft’s Visual Studio Code https://www.infoworld.com/article/4186817/using-visual-studio-codes-air-gapped-ai-model-mode.html editor has reached version 1.126, which is highlighted by a new security mode for untrusted code. Also with the new release, VS Code now displays total cost for chat sessions instead of just for individual turns and allows users to manage multiple chats side-by-side in a single agent host session. Published June 24 https://code.visualstudio.com/updates/v1 126 , VS Code 1.26 can be downloaded from code.visualstudio.com https://code.visualstudio.com/updates/v1 126 . VS Code 1.26 introduces a new security enhancement, Workspace Trust https://code.visualstudio.com/docs/editing/workspaces/workspace-trust , that lets users decide whether project folders can automatically run code and adds a layer of security when working with unfamiliar code. Previously, opening a new folder immediately raised a dialog asking the user whether to trust the folder before they could look at its contents. Now, new folders open in Restricted Mode https://code.visualstudio.com/docs/editing/workspaces/workspace-trust restricted-mode to prevent automatic code execution. Developers can browse the code safely first and then choose whether to trust the folder. Simplified model hovering also is featured in VS Code 1.126. The model hover now shows a one-word descriptor of the model’s capabilities and includes deep link buttons that take a user directly to the relevant configuration. In an enhancement to the Agents window https://aka.ms/VSCode/Agents/docs , the dedicated companion window for exploring agent sessions across projects and machines, a Copilot session started from an agent host now can hold several chats at once. Because the chats share the same session and working context, users can keep more than one conversation going in the same workspace at the same time. VS Code 1.126 joins what is now a weekly update release schedule for the editor, which began in March https://www.infoworld.com/article/4148904/vs-code-now-updates-weekly.html . Recent versions of VS Code, emphasizing capabilities such as AI and agents, have included the following: