@oddington/cli 0.1.23 → 0.1.25

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.
Files changed (3) hide show
  1. package/README.md +21 -5
  2. package/dist/os.js +167 -167
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -108,10 +108,21 @@ authority, and opening the interface does not require local routine code.
108
108
  The command prints the clean assigned IPv4 loopback URL and owns the host until
109
109
  Ctrl-C or termination. No root, workspace, command or port override is accepted;
110
110
  `os app run` is unsupported. Browser authority is separate, origin-scoped and
111
- bounded to ten minutes or the retained access session’s earlier expiry window.
111
+ bounded to ten minutes per issued credential or the checked access session's
112
+ earlier expiry window. Before expiry the SDK proactively asks only that exact
113
+ Host to renew. The Host silently refreshes the securely stored CLI login and
114
+ confirms the same member, app, workspace and complete repository scope before
115
+ atomically rotating the browser credential and bounded deadline. CLI credentials
116
+ never enter browser state, and renewal never opens a login flow.
112
117
  Local sign-out leaves CLI sign-in intact. Removing CLI storage alone leaves an
113
- established app session intact; every protected request still checks upstream
114
- identity and workspace access. Host shutdown ends it immediately. An opener
118
+ established unexpired app session intact but prevents renewal. Protected requests
119
+ check retained local authority; hosted identity and repository bindings are
120
+ observed together in the background without extending expiry. Confirmed scope
121
+ or target changes end the session; a same-target published-version advance
122
+ atomically replaces the affected index reader. Temporary background or renewal
123
+ failures preserve only current bounded access and never extend its deadline.
124
+ The SDK retries renewal independently of Data reads. Confirmed renewal denial and Host
125
+ shutdown end it immediately. An opener
115
126
  failure stops the host without printing a bootstrap secret.
116
127
 
117
128
  Launch supplies authenticated context and unchanged interface assets. The SDK's
@@ -134,11 +145,16 @@ fixed Node child. Its private `appRun.current()` input is immutable; declared
134
145
  steps and finish await host acceptance. Success requires accepted finish and
135
146
  zero exit. Shared effects publish immediately, without a preparation selector.
136
147
  Supplied File inputs reject execution unavailable before capability issuance;
137
- File-use transfer and local Data/Files adapters remain unsupported.
148
+ File-use transfer and a local browser Files adapter remain unsupported. Local
149
+ Data uses the exact published index; warm reads make no synchronous hosted or
150
+ CLI-store calls and neither initiate nor await browser-session renewal.
138
151
 
139
152
  The host owns children across refresh and tab closure. Exact-origin browser
140
153
  state permits `recover()` without a run selector while the host/session remains
141
- authorized. `events()` reconnects in order; `cancel()` resolves after child
154
+ authorized. Successful credential rotation preserves admitted Data and routine
155
+ work and the same bounded run ownership. Other tabs confirm and adopt the stored
156
+ winner silently; an old credential cannot start new requests or erase that
157
+ winner. `events()` reconnects in order; `cancel()` resolves after child
142
158
  termination and capability revocation. Host stop, local sign-out, expiry or
143
159
  authority loss ends active execution. At most four runs occupy authorization,
144
160
  execution or cleanup slots; event retention is bounded to 256 events / 1 MiB