If startSessionStream(sid) runs while the tab is ALREADY hidden (session loaded/ restored in a background tab), it set _sessionStreamSessionId then returned at the hidden-skip WITHOUT recording _sessionStreamHiddenSid — so the visibility handler (which reopens only from the holder) never reattached, silently dropping bg_task_complete/server_turn_started until the next explicit startSessionStream. Set _sessionStreamHiddenSid = sid on the hidden-skip return. Adds a regression test. |
||
|---|---|---|
| .. | ||
| vendor | ||
| apple-touch-icon.png | ||
| assistant_turn_anchors.js | ||
| boot.js | ||
| commands.js | ||
| favicon-32.png | ||
| favicon-192.png | ||
| favicon-512.png | ||
| favicon-512.svg | ||
| favicon.ico | ||
| favicon.svg | ||
| i18n.js | ||
| icons.js | ||
| index.html | ||
| login.js | ||
| manifest.json | ||
| messages.js | ||
| onboarding.js | ||
| outline.js | ||
| panels.js | ||
| pwa-startup.js | ||
| sessions.js | ||
| style.css | ||
| sw.js | ||
| terminal.js | ||
| ui.js | ||
| workspace.js | ||