@ai-ecoverse/slicc 1.57.0 → 1.57.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -837,7 +837,7 @@ A page RESET or a closed link kills the jerk it started.
837
837
 
838
838
  **The host's say over leases.** A process that offers `jerk-seal` keeps, in memory, the leases it has sealed into seven: provider, lease id, expiry and when, never the credentials. Its [control socket](#running-links-slicc-tray) answers four more ops, and its `--json` prints a `credential` event for each seal, unseal and revoke ([Lifecycle events](#lifecycle-events---json-on-attach-open-pair-and-follow)). Fixture: [`credential.ndjson`](test/integration/testdata/native/credential.ndjson).
839
839
  - `{ "v": 1, "op": "leases" }` → `{ "v": 1, "sealing": true, "leases": [{ "provider", "leaseId", "expiresAt", "sealedAt" }] }`, the live leases this process served. Expired ones drop out, and so does one seven unsealed.
840
- - `{ "v": 1, "op": "unseal", "leaseId" }` revokes one: slicc runs the drop that seven's `unseal` runs, with no link request, and answers `{ "v": 1, "ok": true, "revoked": true, "upstream"?: true | false }` once jerk has dropped it. Then it tells seven to forget it ([§5.14](#514-jerk-caps-jerk-and-jerk-seal-page--node-j1)). A missing or malformed `leaseId` is `EPROTO`, and a lease this process didn't serve, or has already dropped, is `ENOENT`. If jerk fails, the answer is `{ "v": 1, "ok": false, "error": "EIO", "exit": <n> }` and the lease stays listed.
840
+ - `{ "v": 1, "op": "unseal", "leaseId" }` revokes one: slicc runs the drop that seven's `unseal` runs, with no link request, and answers `{ "v": 1, "ok": true, "revoked": true, "upstream"?: true | false }` once jerk has dropped it. Then it tells seven to forget it ([§5.14](#514-jerk-caps-jerk-and-jerk-seal-page--node-j1)). A missing or malformed `leaseId` is `EPROTO`, and a lease this process didn't serve, or has already dropped, is `ENOENT`. Unseals for the same lease run one at a time across the link and control socket. A host request that waits for a successful drop answers revoked without dropping again; a later host request for an already-dropped lease gets `ENOENT`. Repeated link requests reuse the successful result until the recorded lease expires. The host request has a 60-second total deadline, including its lock wait; if the wait uses it up, the answer is `{ "v": 1, "ok": false, "error": "EBUSY" }` and the lease stays listed. Leases remain listed while a drop is in progress. If jerk fails, the answer is `{ "v": 1, "ok": false, "error": "EIO", "exit": <n> }` and the lease stays listed.
841
841
  - `{ "v": 1, "op": "seal-off" }` → `{ "v": 1, "ok": true, "sealing": false }` stops issuing: every later `seal` on this process is `RESET EACCES: the host turned off sealing on this slicc`, and HELLO leaves out `jerk-seal` from the next link on. Live leases stay, and `unseal` still works. `{ "v": 1, "op": "seal-on" }` undoes it, answered with `"sealing": true`. Neither changes what the flags allow: `follow` without `--jerk-seal` has none of these ops.
842
842
  - **After a restart:** the list lives only as long as the process, so a lease served by a `slicc` that has since exited can't be revoked through slicc. jerk's own drop still works on the host, as the same user: `FNOX_LEASE_ID=<lease id> jerk <provider> drop --lease`. Seven keeps such a lease until it expires.
843
843
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc",
3
- "version": "1.57.0",
3
+ "version": "1.57.1",
4
4
  "description": "SLICC's command line for seven: links a machine's network, compute and browsers to seven over WebRTC",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -18,12 +18,12 @@
18
18
  "node": ">=18"
19
19
  },
20
20
  "optionalDependencies": {
21
- "@ai-ecoverse/slicc-darwin-arm64": "1.57.0",
22
- "@ai-ecoverse/slicc-darwin-amd64": "1.57.0",
23
- "@ai-ecoverse/slicc-linux-arm64": "1.57.0",
24
- "@ai-ecoverse/slicc-linux-amd64": "1.57.0",
25
- "@ai-ecoverse/slicc-windows-arm64": "1.57.0",
26
- "@ai-ecoverse/slicc-windows-amd64": "1.57.0",
21
+ "@ai-ecoverse/slicc-darwin-arm64": "1.57.1",
22
+ "@ai-ecoverse/slicc-darwin-amd64": "1.57.1",
23
+ "@ai-ecoverse/slicc-linux-arm64": "1.57.1",
24
+ "@ai-ecoverse/slicc-linux-amd64": "1.57.1",
25
+ "@ai-ecoverse/slicc-windows-arm64": "1.57.1",
26
+ "@ai-ecoverse/slicc-windows-amd64": "1.57.1",
27
27
  "@ai-ecoverse/slicc-jerk": "^1.4.0"
28
28
  }
29
29
  }