aboutsummaryrefslogtreecommitdiff
path: root/test-suite/unit/shared-window.test.mjs
AgeCommit message (Collapse)Author
35 hourstabs: back to one window per session; keep new tabs out of the user's windowHEADmasterIgor Soarez
A window shows only one tab, so sessions sharing one hid each other's tabs: no real input and blank screenshots for every session but the one whose tab was active (castle-pirc-web, 2026-11-08). Time-sharing the active tab would flip tabs under the user while they sign in for an agent, so revert 66fbd30: a session gets its own unfocused window. Kept: chrome_tab new for a session with no window opens one for it instead of landing in the user's focused window. The primer and chrome_tab description now say why to reuse a tab.
39 hourstabs: agent sessions share one window instead of opening one eachIgor Soarez
A session's first tab used chrome.windows.create, so every new session name (and every Claude Code process) got its own window. It now goes into the window that already holds any 'Pi Session:' group; a window is created only when none exists. chrome_tab new for a session with no group also uses that window, not the user's focused one. The primer and the chrome_tab description say so.