@ai-ecoverse/slicc-bios 1.47.0 → 1.47.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/README.md
CHANGED
|
@@ -25,6 +25,14 @@ Seven's documents are never kept in the back/forward cache. The service worker s
|
|
|
25
25
|
|
|
26
26
|
Every other OPFS file is served sandboxed: `Content-Security-Policy: sandbox allow-scripts allow-forms allow-popups allow-modals; frame-ancestors 'self'` (without `allow-same-origin`), `X-Content-Type-Options: nosniff`, `Cross-Origin-Resource-Policy: same-origin`, and no COOP or COEP. An HTML page there still renders and runs its scripts, but in an opaque origin, with no access to seven's IndexedDB, `localStorage`, OPFS or keys. JavaScript and TypeScript files there are served as `text/plain` and wasm as `application/octet-stream`, and a request for a script, a worker or a worklet there gets a 403, so none of seven's pages can import, run or instantiate them. Bare imports are resolved only in the live paths. Kernel symlinks live in the kernel's metadata, not in OPFS, so the service worker never follows one. The kernel itself reads binaries from OPFS directly, not through the service worker.
|
|
27
27
|
|
|
28
|
+
**Requests the service worker never answers skip it (#728).** When it installs, `sw.js` adds static routes (`InstallEvent.addRoutes`, in Chromium):
|
|
29
|
+
- **Straight to the network:** an `https:` request to any host other than seven's own, `localhost` or a `.localhost` name (with or without a trailing dot). The worker isn't started for it.
|
|
30
|
+
- **To the fetch handler, as before:** everything else. That covers seven's host on any scheme or port, every `localhost` and kernel-port form, and every `http:` request.
|
|
31
|
+
|
|
32
|
+
The handler passes the routed requests through untouched anyway, so the only change is that they don't wake the worker. Before this, the update check's release-notes fetches to npm and GitHub kept an old worker busy, or restarted it while it was stopping for an update. Chromium skips the activation check when a stopping worker restarts, so the update stayed `installed`.
|
|
33
|
+
|
|
34
|
+
Every rule's `URLPattern` has all its parts explicit, with no base URL. Where `addRoutes` or `URLPattern` is missing, or Chromium refuses the rules, there are no routes and every request reaches the handler.
|
|
35
|
+
|
|
28
36
|
### Next to SLICC 6 (`www.sliccy.ai/7`)
|
|
29
37
|
|
|
30
38
|
Seven can share its origin with another app: on `www.sliccy.ai` the BIOS is `/7/` and SLICC 6 keeps the rest of the origin, the first step of the in-place upgrade from six (#648; the routes are sliccy-ai#51).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-bios",
|
|
3
|
-
"version": "1.47.
|
|
3
|
+
"version": "1.47.2",
|
|
4
4
|
"description": "Slim loader that boots SLICC into OPFS and serves the UI from there",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"format": "biome check --write ."
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@ai-ecoverse/slicc": "1.49.
|
|
51
|
+
"@ai-ecoverse/slicc": "1.49.25",
|
|
52
52
|
"@ai-ecoverse/slicc-browsers": "1.18.14",
|
|
53
53
|
"@ai-ecoverse/slicc-cdp": "1.41.20",
|
|
54
54
|
"@ai-ecoverse/slicc-node": "2.5.1",
|
|
55
|
-
"@ai-ecoverse/slicc-shared-web": "2.13.
|
|
55
|
+
"@ai-ecoverse/slicc-shared-web": "2.13.2",
|
|
56
56
|
"@ai-ecoverse/slicc-spectrum": "1.104.1",
|
|
57
57
|
"@ai-ecoverse/slicc-vault": "1.17.0",
|
|
58
58
|
"@biomejs/biome": "2.5.15",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@ai-ecoverse/wasm-mount": "1.0.0-5",
|
|
31
31
|
"@ai-ecoverse/wasm-ncurses-utils": "6.5.0-6",
|
|
32
32
|
"@ai-ecoverse/wasm-patch": "2.8.0-5",
|
|
33
|
-
"@ai-ecoverse/wasm-procps": "4.0.7-
|
|
33
|
+
"@ai-ecoverse/wasm-procps": "4.0.7-6",
|
|
34
34
|
"@ai-ecoverse/wasm-sed": "4.10.0-6",
|
|
35
35
|
"@ai-ecoverse/wasm-tar": "1.35.0-9",
|
|
36
36
|
"@ai-ecoverse/wasm-tls-engine": "4.2.0-12",
|
|
@@ -333,10 +333,10 @@
|
|
|
333
333
|
"license": "GPL-3.0-or-later"
|
|
334
334
|
},
|
|
335
335
|
"node_modules/@ai-ecoverse/wasm-procps": {
|
|
336
|
-
"version": "4.0.7-
|
|
337
|
-
"resolved": "https://registry.npmjs.org/@ai-ecoverse/wasm-procps/-/wasm-procps-4.0.7-
|
|
338
|
-
"integrity": "sha512-
|
|
339
|
-
"license": "GPL-2.0-or-later",
|
|
336
|
+
"version": "4.0.7-6",
|
|
337
|
+
"resolved": "https://registry.npmjs.org/@ai-ecoverse/wasm-procps/-/wasm-procps-4.0.7-6.tgz",
|
|
338
|
+
"integrity": "sha512-pFRV/plLnZ9bYVIHl2TIDl6bhiqJ32HJn0/UDnsik28JiCWy4sZ1fZjZvsP1l1MaxLscelovaaRzOiQf1QnFkQ==",
|
|
339
|
+
"license": "GPL-2.0-or-later AND LGPL-2.1-or-later",
|
|
340
340
|
"engines": {
|
|
341
341
|
"slicc-kernel": ">=1.44.0"
|
|
342
342
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@ai-ecoverse/wasm-mount": "1.0.0-5",
|
|
28
28
|
"@ai-ecoverse/wasm-ncurses-utils": "6.5.0-6",
|
|
29
29
|
"@ai-ecoverse/wasm-patch": "2.8.0-5",
|
|
30
|
-
"@ai-ecoverse/wasm-procps": "4.0.7-
|
|
30
|
+
"@ai-ecoverse/wasm-procps": "4.0.7-6",
|
|
31
31
|
"@ai-ecoverse/wasm-sed": "4.10.0-6",
|
|
32
32
|
"@ai-ecoverse/wasm-tar": "1.35.0-9",
|
|
33
33
|
"@ai-ecoverse/wasm-tls-engine": "4.2.0-12",
|
|
@@ -81,8 +81,8 @@ importers:
|
|
|
81
81
|
specifier: 2.8.0-5
|
|
82
82
|
version: 2.8.0-5
|
|
83
83
|
'@ai-ecoverse/wasm-procps':
|
|
84
|
-
specifier: 4.0.7-
|
|
85
|
-
version: 4.0.7-
|
|
84
|
+
specifier: 4.0.7-6
|
|
85
|
+
version: 4.0.7-6
|
|
86
86
|
'@ai-ecoverse/wasm-sed':
|
|
87
87
|
specifier: 4.10.0-6
|
|
88
88
|
version: 4.10.0-6
|
|
@@ -243,8 +243,8 @@ packages:
|
|
|
243
243
|
'@ai-ecoverse/wasm-patch@2.8.0-5':
|
|
244
244
|
resolution: {integrity: sha512-xoMrYGOwbD43O46JQaQsIQkv7hcP/oVMsDH1F3kgaAFMko0KZXUURm0xtnZVEQMy9JLPlN+dwalKZf93gx17sg==}
|
|
245
245
|
|
|
246
|
-
'@ai-ecoverse/wasm-procps@4.0.7-
|
|
247
|
-
resolution: {integrity: sha512-
|
|
246
|
+
'@ai-ecoverse/wasm-procps@4.0.7-6':
|
|
247
|
+
resolution: {integrity: sha512-pFRV/plLnZ9bYVIHl2TIDl6bhiqJ32HJn0/UDnsik28JiCWy4sZ1fZjZvsP1l1MaxLscelovaaRzOiQf1QnFkQ==}
|
|
248
248
|
engines: {slicc-kernel: '>=1.44.0'}
|
|
249
249
|
|
|
250
250
|
'@ai-ecoverse/wasm-sed@4.10.0-6':
|
|
@@ -451,7 +451,7 @@ snapshots:
|
|
|
451
451
|
|
|
452
452
|
'@ai-ecoverse/wasm-patch@2.8.0-5': {}
|
|
453
453
|
|
|
454
|
-
'@ai-ecoverse/wasm-procps@4.0.7-
|
|
454
|
+
'@ai-ecoverse/wasm-procps@4.0.7-6': {}
|
|
455
455
|
|
|
456
456
|
'@ai-ecoverse/wasm-sed@4.10.0-6': {}
|
|
457
457
|
|