---
title: "Visual Studio Code 1.140 Adds Multi-Folder Sessions"
url: https://aideveloper44.com/blog/vscode-1-140-release-update
description: "Visual Studio Code 1.140 is now available, featuring multi-folder agent sessions, remote task delegation, and the new HydraFusion model orchestration system."
lang: en
---

Announcements (https://aideveloper44.com/blog/tag/announcements)

# Visual Studio Code 1.140 Adds Multi-Folder Sessions and Agent Delegation

Visual Studio Code 1.140 introduces expanded agent workflows, experimental multi-folder session support, and new remote delegation capabilities.

A

AIDeveloper44 Team

October 1, 2026 · 3 min read

Image: Visual Studio Code 1.140 Adds Multi-Folder Sessions and Agent Delegation (https://media.base44.com/images/public/696b2bd107af20deac4cc200/ba259efd6_generated_image.png)

Visual Studio Code 1.140 introduces advanced AI agent coordination and remote task management.

TL;DR

- The 1.140 release adds a new Copilot harness for consistent agent behavior across the GitHub Copilot ecosystem.
- Experimental support for multi-folder sessions allows users to manage tasks across different repositories or worktrees within a single agent session.
- New remote delegation features enable users to assign tasks to connected remote agent hosts, optimizing resource management.
- HydraFusion, currently in research preview, offers automated model orchestration for selecting and coordinating models during coding tasks.

## Overview of VS Code 1.140

Microsoft has released version 1.140 of Visual Studio Code, focusing heavily on enhancing AI agent workflows and developer productivity through improved repository management. This update includes several experimental features aimed at better integrating automated assistants into the standard coding experience while providing more control over environment configurations.

### The Copilot Harness

A primary addition in this release is the Copilot harness. Designed to provide a unified experience, the harness aligns agent behavior across various Copilot-branded products, such as the standalone GitHub Copilot application and the CLI. By running within a dedicated agent host process that utilizes the Agent Host Protocol (AHP), the harness allows developers to maintain consistent agent sessions across multiple editor windows. Users can enable this feature by selecting the Copilot harness from the chat input's harness picker.

### Multi-Folder Session Support

For developers working on complex projects, the introduction of multi-folder sessions provides a way to coordinate activities across different repositories or isolated worktrees. Previously, sessions were largely bound to a single folder or checkout. The new experimental implementation allows each chat to operate in its own folder or worktree, ensuring that terminal tasks, changes, and pull request states do not bleed between independent chats. This feature is currently disabled by default and requires modification of the `settings.json` file to activate for specific harnesses like Copilot, Claude, or Codex.

### Remote Delegation and Infrastructure

The 1.140 update also emphasizes efficient resource allocation through remote delegation. Users can now delegate tasks from the Agents window to remote host machines, which can automatically place work based on hardware resources such as CPU, memory, and OS requirements. Complementing this is the improvement in Dev Container management, where VS Code now supports automatic cleanup of idle containers after five minutes of inactivity, along with faster startup times by reusing cached dependencies across projects.

### Model Orchestration with HydraFusion

In a research preview phase, Microsoft has introduced HydraFusion, an adaptive model orchestration system. The goal of this tool is to automate the selection of models and workflows for coding tasks. Rather than requiring the developer to manually determine which model is appropriate for a specific sub-task, HydraFusion can independently decide to solve a task using an initial model, escalate to a more capable model if necessary, or assign a secondary model to critique and refine the output. This aims to balance the cost and speed of AI operations while maintaining output quality.

### Worktree Reuse

To assist with performance and disk space management, VS Code 1.140 introduces improvements for worktree reuse. Developers can now reuse ignored folders—such as those containing installed dependencies—across different worktrees. This approach avoids the need to repeatedly run installation commands or maintain multiple copies of large build artifacts, contributing to faster environment setup times.

References & Sources

1. Visual Studio Code on X: https://x.com/code/status/2105385938461335882
2. Visual Studio Code 1.140 Release Notes: https://code.visualstudio.com/updates/v1_140

Read more: https://x.com/code/status/2105385938461335882

VS Code: https://aideveloper44.com/blog/tag/vs-code
GitHub Copilot: https://aideveloper44.com/blog/tag/github-copilot
Software Development: https://aideveloper44.com/blog/tag/software-development
AI Agents: https://aideveloper44.com/blog/tag/ai-agents

### Enjoyed this?

Get more posts like this delivered to your inbox.

← Previous

DeepSeek Launches DeepSeek Harness Desktop Application
https://aideveloper44.com/blog/deepseek-harness-desktop-release

Next →

Anthropic Launches Mods for Customizing Claude Code
https://aideveloper44.com/blog/anthropic-launches-custom-mods-for-claude-code

## Related Articles

Announcements

### Vercel Adds Spend Management Capabilities to CLI

3 min read
https://aideveloper44.com/blog/vercel-adds-spend-management-cli

Announcements

### AWS Launches Continuum: An Autonomous AI Security Agent Designed to Find, Prove, and Patch Code Vulnerabilities at Machine Speed

4 min read
https://aideveloper44.com/blog/aws-launches-continuum-for-automated-code-vulnerability-remediation

Announcements

### Microsoft Introduces Microsoft.UI.Reactor: An Experimental Framework for Building WinUI 3 Desktop Apps

4 min read
https://aideveloper44.com/blog/microsoft-ui-reactor-mvu-winui

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "@type": [
      "WebSite",
      "NewsArticle"
    ],
    "name": "AIDeveloper44",
    "url": "https://aideveloper44.com",
    "isAccessibleForFree": true,
    "isPartOf": {
      "productID": "CAowsfXgCw:openaccess",
      "@type": [
        "Product"
      ]
    }
  },
  {
    "@context": "https://schema.org",
    "@type": "Organization",
    "name": "AIDeveloper44",
    "url": "https://aideveloper44.com",
    "logo": "https://qtrypzzcjebvfcihiynt.supabase.co/storage/v1/object/public/base44-prod/public/696b2bd107af20deac4cc200/9f77c0b91_a-digital-illustration-of-a-white-llama-_j4dyH5xoRnKf_3rtw-mvEQ_OdqL2BrSTtKHjJAuhTp_zg.png"
  },
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://aideveloper44.com/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Blog / Blog Index",
        "item": "https://aideveloper44.com/blog"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Blog Article",
        "item": "https://aideveloper44.com/blog/vscode-1-140-release-update"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@type": "Organization",
    "name": "AINews.sh",
    "alternateName": "AI News",
    "url": "https://ai-dev-pulse-ac4cc200.base44.app",
    "logo": "https://ai-dev-pulse-ac4cc200.base44.app/logo.png",
    "description": "Developer-focused AI product releases, reviews, and news. Your source for the latest AI tools, open-source models, and platform updates.",
    "foundingDate": "2026",
    "slogan": "Stay ahead with AI product intelligence",
    "sameAs": [],
    "knowsAbout": [
      "Artificial Intelligence",
      "Machine Learning",
      "Large Language Models",
      "AI Tools",
      "Open Source AI",
      "AI Frameworks",
      "Developer Tools"
    ]
  },
  {
    "@context": "https://schema.org",
    "@type": "NewsArticle",
    "headline": "Visual Studio Code 1.140 Adds Multi-Folder Sessions and Agent Delegation",
    "description": "Visual Studio Code 1.140 introduces expanded agent workflows, experimental multi-folder session support, and new remote delegation capabilities.",
    "image": "https://media.base44.com/images/public/696b2bd107af20deac4cc200/ba259efd6_generated_image.png",
    "datePublished": "2026-10-01T23:42:44.452Z",
    "dateModified": "2026-10-01T23:42:41.556000",
    "author": {
      "@type": "Person",
      "name": "AIDeveloper44 Team"
    },
    "publisher": {
      "@type": "Organization",
      "name": "AIDeveloper44"
    },
    "mainEntityOfPage": {
      "@type": "WebPage",
      "@id": "https://aideveloper44.com/blog/vscode-1-140-release-update"
    },
    "isAccessibleForFree": true
  }
]
```