A neon-lit developer workstation displays code and deployment tools connected securely to Linux and terminal servers.
If your coding agent has ever drifted off to sleep mid-refactor because Windows decided your plugged-in workstation needed a power nap, Visual Studio Code 1.148 arrives with a very specific message: stay awake, we have work to finish. Rolled out through the Visual Studio Code 1.148 (Insiders) channel over the past week ,—and still indexed under that Insiders label in Microsoft's release archive and syndication feeds ,—the 1.148.0 update officially hit Stable on November 25, 2026 ,,. Rather than chasing flashy new AI parlor tricks, Microsoft spent this weekly release tackling the unglamorous engineering bottlenecks that determine whether background agents actually feel reliable on Windows, WSL, and remote Linux boxes: faster startup, host wake-locks, cleaner remote troubleshooting, disposable Dev Containers, and a substantially slimmer Rust CLI.

The catch? Because VS Code's rapid release cadence blurs the line between weekly stabilization and ongoing feature flights, several of the headline additions in 1.148 ship under Preview or Experimental flags. Knowing what works out of the box—and which guardrails are still missing—matters just as much as knowing which setting to flip.


A neon-lit developer workstation displays code and deployment tools connected securely to Linux and terminal servers. Faster Agent Host Chat and the February 2027 Deadline​

For months, developers migrating from VS Code's original extension-host chat workflow to the newer Agent Host architecture had one consistent complaint: waiting for the first token felt noticeably sluggish. Introduced in mid-2026 alongside the open Agent Host Protocol (AHP) ,, the Agent Host isolates agent sessions into a dedicated process so work can survive closed editor windows and sync across desktop, browser, and Copilot clients ,. Separation brought durability, but it came with a latency tax.

In the 1.148 release notes, Microsoft reports that Agent Host chat responses now begin 30% faster on average compared to the previous Stable build, bringing initial response times within roughly 5% of the legacy harness. Because Microsoft has not published independent benchmark methodologies or hardware test suites for those numbers, treat them as internal rollout telemetry rather than a guaranteed speedup on every setup—though anyone jumping from recent Stable builds should feel less hesitation when firing off prompts.

That performance push is happening under a ticking clock. Earlier in November 2026, VS Code 1.146 formally deprecated the legacy Local harness and placed it in a three-month feature freeze . Both the 1.148 release notes and Microsoft's current migration documentation confirm that the Local harness—along with the temporary `vscode.temporaryDefaultToLocalHarness` enterprise-managed override—will be **removed in February 2027**. Microsoft's engineering case for the Copilot harness rests on more than process isolation: in an online Business and Enterprise comparison published in its Copilot harness documentation, Microsoft says the shared Copilot SDK runtime consumed 14.2% fewer tokens per active device and lowered estimated processing costs by 9.6%, while offline evaluations recorded fewer mid-task interruptions on long coding runs . If your team still leans on legacy prompt files or Local-only MCP configurations, converting them to portable Copilot MCP definitions and agent skills before February is no longer optional.

Section Summary: Core Agent Performance & Lifecycle​

  • Version status: Developed under Visual Studio Code 1.148 (Insiders) , and shipped as 1.148.0 Stable on November 25, 2026 ,.
  • Latency gains: Microsoft reports 30% faster average Agent Host chat start times over the prior Stable release, closing within ~5% of the legacy harness.
  • Hard cutoff: The deprecated Local harness faces complete removal in February 2027 ,.

Keeping Windows and Remote Hosts Awake—With Caveats​

Unattended background work sounds great until Windows Modern Standby or an aggressive corporate power plan suspends your machine five minutes after you walk away for coffee. Visual Studio Code 1.148 introduces a Preview setting, sessions.keepAwakeWhileWorking, designed to hold off idle sleep while an Agent Host executes active turns—even if you have closed the project window—and release that wake lock shortly after the turn completes ,.

You get three straightforward modes ``:

Setting Mode (sessions.keepAwakeWhileWorking)BehaviorBest Suited For
whenPluggedIn (Default)Blocks idle sleep only while AC power is connectedWindows laptops docked at a desk and desktop workstations
alwaysBlocks idle sleep even when running on batteryUrgent short runs away from an outlet (watch your battery drain)
neverLets the OS sleep normally during agent runsStrict battery conservation or managed endpoints

Before assuming you can close your laptop lid and go to lunch, official VS Code remote-session documentation flags a critical boundary: sessions.keepAwakeWhileWorking is a host-side setting, not a client-side one. If you launch a session from a Windows laptop against a remote Linux SSH box or a home desktop running an Agent Host, configuring keep-awake on your laptop does nothing for the remote machine. The host itself must have the setting enabled, stay online, and keep the Agent Host process (or desktop VS Code application, if VS Code owns the local Agent Host) running. Connecting from another machine mirrors and controls the session; it never migrates workspace state onto your local PC.

Taming Session Overload with Inbox Mode​

Once you start running multiple parallel tasks across repositories, keeping track of which agent is waiting for an approval versus which one is still grinding becomes its own chore. Available as an Experimental workflow in the Agents window, Inbox mode (sessions.list.inboxEnabled) groups conversations by what needs human attention . A companion setting, `sessions.list.inboxAutoAdvance`, controls cursor focus after you reply:

  • auto (Default) jumps to the next Inbox conversation—or focuses the Inbox heading when the queue is empty—unless a screen reader is active, in which case it stays put to avoid disorienting assistive-tech navigation.
  • on forces automatic advance even with a screen reader attached.
  • off keeps focus inside the active thread.
  • newSession immediately drops focus into a fresh New Session composer after replying.

Remote Agents, Worktree Cleanup, and On-Demand Dev Containers​

The heaviest lifting in VS Code 1.148 happens in the Agents window and remote execution stack, where Microsoft is smoothing out the rough edges of multi-machine development.

Redesigned Remote Environments and Connection Diagnostics​

The Remote Environments editor has been overhauled into a cleaner status table displaying connection state, last activity, and operating system at a glance. Primary Connect and New Session buttons remain on each row, while server updates and run-behavior toggles move under More Actions, paired with a Filter menu to sort or group targets by type or status. One subtle caveat noted in official VS Code documentation: seeing a host listed as Available means you can attempt a connection, not that VS Code has pre-verified SSH reachability, and Last Activity or System columns may reflect cached observations rather than live telemetry.

When a remote session fails to connect, clicking Troubleshoot on the error notification—or opening More Actions > Troubleshoot Connection...—launches a guided diagnostic view. Depending on the failure, it can offer direct recovery steps such as retrying, opening your SSH config, or restarting a WSL distribution, and it can bundle a diagnostic report for support tickets. Just remember Microsoft's own security warning in the troubleshooting docs: diagnostic bundles can capture hostnames, addresses, and local logs across environments, so scrub sensitive infrastructure details before pasting a report into a public GitHub issue.

Remote Worktree Cleanup: Check Twice Before Deleting​

Parallel agents work best inside separate Git worktrees so two tasks don't trample each other's files, but those worktrees quietly devour SSD space over time. In 1.148, Worktree Cleanup expands to connected remote Agent Hosts and can now be triggered directly from the Command Palette (Chat: Open Worktree Cleanup) or the Chat view menu—not just the Agents window. Rows and confirmation prompts explicitly tag the owning host so identical directory paths on a Windows client and a Linux build server aren't confused.

Still, worktree cleanup carries a sharp edge documented in Microsoft's worktree guide that every developer should understand before clicking confirm:

  1. Cleanup marks listed sessions as done, commits non-ignored changes (including untracked files) onto their respective branches, and retains both the branches and session history.
  2. Git-ignored files inside removed worktree folders are permanently deleted. That includes local .env secrets, generated build caches, and downloaded dependencies.
  3. Remote cleanup acts directly on the connected remote host—never on your local machine—and skips disconnected or unsupported hosts.

Always save open edits, inspect the host name and branch column carefully, and copy out any unversioned config files before purging old worktrees.

Ephemeral Dev Containers and Per-Host Sandbox Profiles​

Two Experimental features in 1.148 target developers who want stronger blast-radius containment without writing boilerplate infrastructure files:

  • Zero-Config Agent Dev Containers: By enabling chat.agentHost.devContainer.environments.enabled, you can spin up an isolated Ubuntu container preloaded with an Agent Host and backed by a Docker volume—either locally (on Windows with Docker running, or inside WSL with Docker available inside the distro) or on a connected SSH host or Dev Tunnel that has Docker on PATH. If you also enable chat.agentHost.devContainer.handoff.enabled, an agent can provision one of these containers mid-conversation and hand off an experimental task to a fresh session inside it.
    • Watch the handoff gap: According to VS Code's Agents window documentation, automatic handoff passes only a task summary, not the full chat transcript, and does not automatically copy your existing project files into the new container workspace. Equally important, deleting a standalone Dev Container from Remote Environments destroys its Docker volumes and workspace files, so extract anything worth keeping first.
  • Remote Sandbox Profiles: Enabling chat.agent.sandbox.profiles.enabled lets you define named sandbox policies via Sandbox: Manage Sandbox Profiles and bind them to individual remote hosts. For example, you might allow broader network access on a dedicated build server while keeping a shared team box tightly restricted. Because the profile assignment is stored on the remote machine (which requires an up-to-date VS Code Server), every client connecting to that host inherits the same rules—while enterprise organization policies continue to override user-level choices.

Faster Diffs, Password Prompts in Chat, and Editor Polish​

Beyond remote orchestration, 1.148 delivers a cluster of practical quality-of-life upgrades across editing, terminal execution, and the underlying platform:

  • Rust-Based WebAssembly Diff Engine (Experimental): Microsoft is flighting @vscode/diff, a Rust diff algorithm compiled to WebAssembly (diffEditor.diffAlgorithm: "advanced-wasm"). In early rollout telemetry, Microsoft reports more than 2× faster median diff times and noticeably fewer slow-tail timeouts. On a 50-line TypeScript file, you won't notice; when reviewing a multi-file agent changeset across heavily refactored modules, the UI stays far more responsive.
  • Interactive Shell Auth in Chat: Headless agent terminal commands like sudo -A, ssh, or git previously fell flat whenever they hit a password, passphrase, or confirmation prompt. With chat.agentHost.copilot.shellAuthentication.enabled active, Copilot harness sessions surface those prompts as inline questions in chat. Microsoft states your secret goes solely to the requesting binary and is never forwarded to the language model, while unattended prompts (such as in Autopilot runs) are automatically canceled.
  • Integrated Browser & MCP Apps: MCP Apps gain a fullscreen toggle (docking into the editor area or Secondary Side Bar), while the integrated browser adds workspace-configurable user agents (workbench.browser.userAgent) and HTTP Basic authentication support for staging sites and local dev portals—building on Insiders support for window.prompt() text entry added earlier in the week.
  • Cleaner Tabs, Empty Editors, and Floating Comments (Experimental): A new + tab button (workbench.editor.newTabButton) offers a quick menu for untitled files, Markdown docs, chat editors, or browser tabs and remembers your last pick. Meanwhile, workbench.editor.experimental.emptyEditorHintActions moves clickable starter actions off line 1 into a centered block below it so clicking to type stops triggering accidental links, and floating comment threads (comments.thread.experimental.style and chat.experimental.agentsWindowEditorComments) dock alongside code instead of splitting lines vertically.
  • Agent Host Protocol 1.1.0 & 40% Smaller CLI: Under the hood, AHP 1.1.0 adds TCP port forwarding, network traffic windowing, cross-session chat moves, per-chat harness selection, partial reads, HTTPS interoperability, and support for representing SEP-2640 Skills over MCP. Complementing it, Microsoft trimmed the standalone Rust-based VS Code CLI—the bootstrapper behind Remote SSH, some WSL workflows, and remote agent hosts—by roughly 40% across platforms (with exact savings varying by OS), aiming for snappier remote startups and lighter footprints.

What Windows Developers Should Do Next​

Visual Studio Code 1.148 isn't a noisy UI reinvention—it's an infrastructure release designed to make multi-machine, long-running AI development behave like serious engineering tooling rather than a fragile browser tab. If you are updating to 1.148.0 today ``:

  1. Check your Local harness dependencies: With the February 2027 removal date less than three months out ,, verify that your .github/copilot-instructions.md files, MCP servers, and custom prompts work cleanly under the Copilot harness ,.
  2. Enable sessions.keepAwakeWhileWorking on the host: Set it on the actual Windows desktop, WSL host, or Linux server executing your agent—not just the laptop you use as a remote monitor.
  3. Test advanced-wasm diffs on real PRs: If multi-file code reviews bog down your editor, switch diffEditor.diffAlgorithm to advanced-wasm and watch how large diffs behave.
  4. Be deliberate with cleanup and handoffs: Remember that remote worktree cleanup purges ignored files like .env, and container handoffs don't copy local files automatically.

For a weekly update, 1.148 packs an impressive amount of plumbing—and puts the Agent Host architecture squarely on solid ground heading into 2027.

 

References

  1. Visual Studio Code 1.148 (Insiders) Visual Studio Code 2026-11-25T17:00:00Z
  2. Run and manage remote agent sessions code.visualstudio.com
  3. daily.dev daily.dev