You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: option to open the Agent Window as tabs inside the current window (Arc-friendly) | 支持在当前窗口内以标签页方式打开 Agent Window #243
Every bsk session start creates a brand-new browser window via chrome.windows.create({type: "normal", ...}). There is no CLI flag, environment variable, or extension setting that lets the Agent Window open as a tab (or tab group) inside an existing user window instead.
This is especially awkward in Arc: Arc organizes tabs into Spaces, so the extra window shows up as a detached "orphan" window that belongs to no Space, and every session pops another one. --no-focus only hides the new window behind the current one, and #242 reports that clicks may not be delivered while it is in the background.
Request
Add an opt-in mode where the session's tabs live inside the current (last-focused) user window rather than a separate window. Possible shapes:
a default in the extension popup ("Open Agent Window as tabs in current window").
When enabled, the extension would chrome.tabs.create in the active window (optionally grouped with chrome.tabs.group and a distinctive color/title so the agent's tabs stay visually separated), and treat that tab set as the session scope.
Why this is compatible with the current sandbox model
The existing safety boundary is "session-owned tabs vs. user tabs", enforced by tab ids. The window is just the container. A tab-group-based container can keep the same guarantees:
Only tabs created by (or borrowed into) the session are writable; other tabs in the same window stay protected.
bsk session stop closes the session's tabs / group instead of the window.
The current "session removed: user closed Agent Window" lifecycle can map to "user closed the last session tab / ungrouped the group".
--width/--height would simply not apply in this mode.
Environment
bsk CLI 0.2.1, extension 0.2.1
Arc (Chromium 153) on macOS 26.6
bsk browsers reports the instance as chrome 153.0.0.0
What I checked
bsk session start --help: only --browser, --width/--height, --no-focus.
Activity