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
BrowserSkill CLI 版本 0.1.8;浏览器扩展已连接(Chrome);操作系统 macOS Apple Silicon
Summary / 问题描述
When the user opens their own additional tab(s) inside the BrowserSkill-controlled Agent Window during an agent task, BrowserSkill closes the entire Agent Window after the task completes, terminating those user-created tabs.
BrowserSkill correctly returns borrowed tabs (tabs the user lent to the agent) to the user's window, but tabs the user creates themselves inside the Agent Window are treated as Agent-Window content and are destroyed together with the window.
Observe that the entire Agent Window — including your self-opened tab — is closed.
观察发现整个 Agent 窗口(含你自建的标签页)被关闭。
Expected Behavior / 预期行为
On task completion, BrowserSkill should close only the tab(s) it borrowed/created for the task. If the Agent Window still contains any user-created tab, the window should be kept open (or those user tabs moved to a normal user window) so the user's browsing is not lost.
BrowserSkill closes the entire Agent Window regardless of whether the user has opened their own tabs inside it, destroying all user-created tabs in that window.
Users who keep reference pages, docs, or other tabs open inside the Agent Window lose their browsing context unexpectedly after every task. This erodes trust in the project's "leave the rest of your browser alone" guarantee.
Only close the window if no user-created tabs remain; otherwise keep it open.
仅当不存在用户自建标签页时才关闭窗口,否则保留窗口。
Related / 相关
fix(runtime): clean up sessions on disconnect #17fix(runtime): clean up sessions on disconnect returns borrowed tabs and keeps the window open only when a return fails; it does not cover user-created tabs inside the Agent Window on normal task completion.
Environment / 环境信息
Summary / 问题描述
When the user opens their own additional tab(s) inside the BrowserSkill-controlled Agent Window during an agent task, BrowserSkill closes the entire Agent Window after the task completes, terminating those user-created tabs.
BrowserSkill correctly returns borrowed tabs (tabs the user lent to the agent) to the user's window, but tabs the user creates themselves inside the Agent Window are treated as Agent-Window content and are destroyed together with the window.
Steps to Reproduce / 复现步骤
Expected Behavior / 预期行为
On task completion, BrowserSkill should close only the tab(s) it borrowed/created for the task. If the Agent Window still contains any user-created tab, the window should be kept open (or those user tabs moved to a normal user window) so the user's browsing is not lost.
Actual Behavior / 实际行为
BrowserSkill closes the entire Agent Window regardless of whether the user has opened their own tabs inside it, destroying all user-created tabs in that window.
Impact / 影响
Users who keep reference pages, docs, or other tabs open inside the Agent Window lose their browsing context unexpectedly after every task. This erodes trust in the project's "leave the rest of your browser alone" guarantee.
Suggested Fix / 建议修复方向
When tearing down a session, distinguish borrowed/agent-owned tabs from user-created tabs:
Related / 相关
fix(runtime): clean up sessions on disconnectreturns borrowed tabs and keeps the window open only when a return fails; it does not cover user-created tabs inside the Agent Window on normal task completion.