777 B
777 B
Tab Cleanup
- IAB tabs persist for the lifetime of the current ZCode process. Turn end, session end, an omitted finalize call,
and omission from
keepdo not close a tab. - Call
tab.close()only when the model intentionally decides to close that exact tab. A user may also close tabs directly in the UI. browser.tabs.finalize({ keep })is a lifecycle-marking operation, not a cleanup allowlist. Listed tabs becomedeliverableorhandoff; unlisted tabs retain their current lifecycle and remain visible.- Use
deliverablewhen a live page is the requested result and should be released from agent control. Usehandoffwhen unfinished work must remain controllable by the same session. - ZCode does not restore these tabs after the ZCode process exits.