Terminal instances reset when changing between agents

Where does the bug appear (feature/product)?

Somewhere else…

Describe the Bug

Agent Window

I’m on Windows and using the Agents Window. I work with a terminal with claude code in my agents, but when I have two or more agents from the same or different projects, sometimes I go to another agent and the terminals get reloaded and I lose my CC session or any other process that was running on it.

Steps to Reproduce

  1. Open 2 or more agents
  2. Open a terminal on each agent
  3. Trigger a long running process on each terminal
  4. Jump between agents, at some point you will see that any of the agents get its terminals reloaded.

Expected Behavior

Terminal session should not get reloaded when jumping between agents.

Operating System

Windows 10/11

Version Information

Version: 3.10.20 (user setup)
VS Code Extension API: 1.125.0
Commit: 23b9fb205fe595ea2be29da7214e19762d037fc0
Date: 2026-07-07T07:03:33.071Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.256
OS: Windows_NT x64 10.0.26200

Additional Information

I’m using Powershell 7 and Windows Terminal

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

3 posts were merged into an existing topic: Glass/Agents layout: per-chat terminal panel missing after switching sidebar conversations