@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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capyclaw/session-tabs",
|
|
3
|
-
"version": "0.9.
|
|
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",
|