tabminal 3.0.27 → 3.0.28

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/AGENTS.md CHANGED
@@ -34,6 +34,7 @@ Important persistence files under `~/.tabminal`:
34
34
  - `cluster.json`
35
35
  - `agent-tabs.json`
36
36
  - `agent-config.json`
37
+ - `auth-sessions.json`
37
38
 
38
39
  ## 2) Non-Negotiable Contracts
39
40
 
@@ -63,13 +64,18 @@ Relevant code:
63
64
 
64
65
  ### 2.3 Token storage
65
66
 
66
- - Main host token:
67
- - browser `localStorage`
68
- - key: `tabminal_auth_token:main`
69
- - Sub-host tokens:
70
- - persisted in backend `cluster.json`
71
- - do not persist in browser `localStorage`
72
- - Removing a host should also remove any stale local token keyed to that host.
67
+ - Auth state is browser-owned.
68
+ - All hosts persist auth state in browser `localStorage`.
69
+ - Key format:
70
+ - `tabminal_auth_state:<hostId>`
71
+ - Stored auth state currently includes:
72
+ - short-lived access token
73
+ - access token expiry
74
+ - refresh token
75
+ - refresh token expiry
76
+ - Legacy password-hash token storage is no longer supported or migrated.
77
+ - Removing a host should also remove any stale local auth state keyed to that
78
+ host.
73
79
 
74
80
  Relevant code:
75
81
  - `public/app.js`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tabminal",
3
- "version": "3.0.27",
3
+ "version": "3.0.28",
4
4
  "description": "Tab(ter)minal, a Cloud-Native terminal and ACP agent workspace for desktop, tablet, and phone.",
5
5
  "type": "module",
6
6
  "bin": {