@capyclaw/session-keeper 0.6.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capyclaw/session-keeper",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Session keep-alive, heartbeat and tab-admission rule gate for the DSH web shell: one external interface (ctx.sessionKeeper: manage/unmanage/move/subscribe/getState). Rule-first: tabs are admitted only via manage(id, source) with source in {user-open, user-create, agent}; the heartbeat never auto-enrolls running/mainView sessions (human opens are recognized by main-view change + user gesture). Session independence, two gates: (1) new-session-must-be-new — wraps uiWorkspace.startSession and, when the host hands back a pre-existing blank (its blank-reuse), mints a genuinely new session at the same cwd and opens it; (2) closing a still-blank session archives it so the host's blank-reuse cannot pick it up again; sessions with history are never archived. Internally retention keep-alive, periodic liveness beats, and drag-reorder persistence (move). Tabs close only by the user and survive restarts (v3->v4 migration).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|