@ai-ecoverse/slicc 1.58.1 → 1.58.3
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/README.md +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2168,7 +2168,7 @@ HELLO adds `"jerk": { "version": "1.0.0" }` next to `caps`.
|
|
|
2168
2168
|
**Host revoke and `seal-off` (node → page):** the host can revoke a lease seven holds and stop new ones, through the node's control socket ([`jerk`](#jerk-slicc-jerk-over-the-link)). Preventing future issuance and revoking what was issued are separate ops.
|
|
2169
2169
|
- **The lease list:** a node that offers `jerk-seal` remembers, in memory and for as long as the process runs, each lease it sent: provider, `lease_id` and `expires_at`, never the credentials.
|
|
2170
2170
|
- **Revoke:** the host's `unseal` runs `FNOX_LEASE_ID=<lease_id> jerk <provider> drop --lease --via-link` on the node, with no link request. Once jerk exits 0, the node tells seven.
|
|
2171
|
-
- **The notice:** to a page
|
|
2171
|
+
- **The notice:** only after the node has sent its HELLO on that link, and to a page whose HELLO lists the page cap `jerk-revoke`, the node sends `OPEN { "kind": "jerk-revoked", "provider": "github", "lease_id": "jerk-github-…", "by": "host" }` on the control channel. It carries no credential, scope or rule text. The page answers OPENED `{}`, then END, and the node sends END.
|
|
2172
2172
|
- **Delivery:** the node sends each notice once on every link that is up and on each later link of this process whose page lists the cap, until the lease's `expires_at`. A RESET, or no answer within 10 s, is logged (`jerk: revoke notice <provider>: …`) and the notice waits for the next link. Repeats are harmless.
|
|
2173
2173
|
- **No notice** after seven's own `unseal`, since seven asked.
|
|
2174
2174
|
- **The page's obligation:** the page acts only on a notice from the node that created that lease. Otherwise any linked device with the cap could make seven forget another host's credential. When it seals a lease, the page keeps the per-process `node` id from the HELLO of the link the `lease` event came in on. It forgets the lease only when the HELLO `node` of the link the notice comes in on is that same id, and the `provider` and `lease_id` match. A notice from any other node, or for a `lease_id` it doesn't know, is answered OPENED `{}` and changes nothing.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc",
|
|
3
|
-
"version": "1.58.
|
|
3
|
+
"version": "1.58.3",
|
|
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.58.
|
|
22
|
-
"@ai-ecoverse/slicc-darwin-amd64": "1.58.
|
|
23
|
-
"@ai-ecoverse/slicc-linux-arm64": "1.58.
|
|
24
|
-
"@ai-ecoverse/slicc-linux-amd64": "1.58.
|
|
25
|
-
"@ai-ecoverse/slicc-windows-arm64": "1.58.
|
|
26
|
-
"@ai-ecoverse/slicc-windows-amd64": "1.58.
|
|
21
|
+
"@ai-ecoverse/slicc-darwin-arm64": "1.58.3",
|
|
22
|
+
"@ai-ecoverse/slicc-darwin-amd64": "1.58.3",
|
|
23
|
+
"@ai-ecoverse/slicc-linux-arm64": "1.58.3",
|
|
24
|
+
"@ai-ecoverse/slicc-linux-amd64": "1.58.3",
|
|
25
|
+
"@ai-ecoverse/slicc-windows-arm64": "1.58.3",
|
|
26
|
+
"@ai-ecoverse/slicc-windows-amd64": "1.58.3",
|
|
27
27
|
"@ai-ecoverse/slicc-jerk": "^1.4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|