@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capyclaw/foundation",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "dsh 插件基石层:接口 ABI、插件加载器与内核服务 ctx.os。应用插件只声明接口,不写装配代码。",
5
5
  "type": "module",
6
6
  "main": "./lib/host.mjs",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capyclaw/plugin-kit",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "DSH 插件基础设施标准件:HTTP/MCP、单实例锁、参数校验、技能 provider、journal 存储、编辑器传输与租约。",
5
5
  "type": "module",
6
6
  "main": "./src/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capyclaw/session-keeper",
3
- "version": "0.6.0",
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",