@capyclaw/session-tabs 0.9.0 → 0.9.2

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-tabs",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "Thin browser-style session tab bar mounted into the caption-map reserved slot (ctx.captionExtra mount anchor): pure presentation over the single ctx.sessionKeeper interface (@capyclaw/session-keeper). Rule-first: tabs are admitted only via keeper.manage(id, source) with a whitelisted source (user-open/user-create); tabs close only by the user, survive restarts, and closing the last tab no longer auto-creates a session; close stops a running session, trailing + always creates a brand-new independent session via sessions.create({workspaceId}) without sessionId (bypassing the host's blank-session reuse; workspace resolved from the workspaces.list snapshot: active -> most-recent -> first, falling back to startSession on failure). Chrome-like input-first clicks (v0.9): pointerdown activates immediately (mouse/pen; touch stays on click), the optimistic highlight paints in the press task while the host's synchronous session swap waits only for one painted frame (latest-wins coalescing: a burst of clicks triggers a single host rebuild; active-tab click is a no-op); reveal scrolls only the tab strip's own scrollLeft; the main panel is left entirely to the host (no overlay, no snapshot, no observers). Chrome-like drag reorder (v0.8): HTML5 native DnD with before/after insertion indicators drawn on the tabs themselves (inset shadow, zero extra layers); drop on the empty/+ zone moves to end; Alt+Arrow keyboard reorder; order truth lives in keeper.move(id,toIndex) (persisted there).",
5
5
  "type": "module",
6
6
  "main": "index.js",