Skip to content

Commit 339d94c

Browse files
docs(server): clarify desktop preview idle exemption
1 parent 3f2765c commit 339d94c

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

‎apps/server/src/preview/ServerBrowser.ts‎

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,12 +1255,8 @@ const make = Effect.gen(function* () {
12551255
);
12561256
};
12571257

1258-
/**
1259-
* Closes agent tabs that no one watches and the agent stopped using. A tab
1260-
* the desktop renders is in its tab strip, where the person browsing it
1261-
* without the server seeing their input closes it themselves.
1262-
*/
1263-
1258+
// Desktop browsing bypasses streamed viewers and server input tracking,
1259+
// so these idle signals only apply to headless tabs.
12641260
const closeIdleAgentTabs = () => {
12651261
const cutoff = Date.now() - AGENT_TAB_IDLE_MS;
12661262
for (const tab of tabs.values()) {

0 commit comments

Comments
 (0)