@ai-ecoverse/slicc-bios 1.62.3 → 1.63.0
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
|
@@ -420,6 +420,14 @@ Programs ask seven's page for what only a page can do through the kernel's `/dev
|
|
|
420
420
|
- **The switch:** "Serial ports" sits beside Camera, Microphone and Screen, on by default and kept in the same `slicc-os.switches`. Off refuses every `serial.*` kind with `serial ports are off in seven's settings` (`EACCES`), before the chooser or the port is touched, and turning it off closes every open port, in every tab. A `serial open` or a chooser still in flight when it turns off is refused the same way (slicc-devices ≥ 1.0.2): the port is closed again, and a port the browser granted meanwhile is listed closed, with nothing buffered, once the switch is back on.
|
|
421
421
|
- Kinds seven doesn't list (`open.file`, `open.download`, `open.reveal`, `clipboard.read`) are `ENOTSUP` before the page sees them.
|
|
422
422
|
|
|
423
|
+
### Composer recording
|
|
424
|
+
|
|
425
|
+
The composer's + menu (spectrum ≥ 2.7.0) records through the model's `capture` port (`src/seed/recording.js`), which every tab has, since the page modules run in the tab the person clicked in.
|
|
426
|
+
- **What runs:** **Record audio** calls `capture.record('audio')`, which runs slicc-audio's `audio.record` with `gate: false` and no `seconds` in the page, not through `/dev/embedder`, until **Stop** on its live chip ("Recording microphone · you"). `finished` then resolves with the recording, `recording-<time>.webm` (`audio/webm`), and spectrum attaches it like an upload; nothing is written to a file. `cancel()` discards it (`AbortError`), and so does a take with no bytes (`nothing was recorded`). Stop, or the switch turning off, while the browser's microphone prompt is still open ends the take at once: the chip goes, `record` rejects (`AbortError`, or the switch's `NotAllowedError`), and the stream the prompt grants later is stopped. One recording runs at a time; a second `record` is refused with `InvalidStateError`. `kinds` is `['audio']`: Record video comes with the camera. **Take a screenshot** calls `capture.still()`, a `capture.screen` still (`image/png`, `screenshot-<time>.png`) with a "Taking a photo" chip while it runs.
|
|
427
|
+
- **Which guards apply:** the same ones as a program's capture, from `personal()` in `src/seed/requests.js`, which shares `plugged`'s run: the Microphone or Screen switch refuses first (`NotAllowedError`, `<what> capture is off in seven's settings`), and turning it off ends a live recording, whose `finished` then rejects the same way. The browser's own microphone prompt and Chrome's picker still ask, and the picked surface gets the screen guards above (seven's own pages, the vault and tabs without a capture handle are refused).
|
|
428
|
+
- **The click:** `record` and `still` refuse unless they're called inside a person's click (`navigator.userActivation.isActive`), with `NotAllowedError`, `the composer captures only inside a click`; spectrum calls them in the menu's click.
|
|
429
|
+
- **What doesn't:** no agent consent and no click item, because the person's click is the intent.
|
|
430
|
+
|
|
423
431
|
## Network
|
|
424
432
|
|
|
425
433
|
Before the kernel starts, `os/transport.js` picks how programs reach the network. The first of these that applies wins:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-bios",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.63.0",
|
|
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",
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@ai-ecoverse/slicc": "1.63.0",
|
|
53
|
-
"@ai-ecoverse/slicc-browsers": "1.21.
|
|
54
|
-
"@ai-ecoverse/slicc-cdp": "1.47.
|
|
53
|
+
"@ai-ecoverse/slicc-browsers": "1.21.1",
|
|
54
|
+
"@ai-ecoverse/slicc-cdp": "1.47.2",
|
|
55
55
|
"@ai-ecoverse/slicc-kernel": "1.176.1",
|
|
56
56
|
"@ai-ecoverse/slicc-shared-web": "2.13.10",
|
|
57
57
|
"@ai-ecoverse/slicc-spectrum": "2.7.0",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"name": "slicc-bios-packages",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@ai-ecoverse/slicc-audio": "1.2.0",
|
|
10
|
-
"@ai-ecoverse/slicc-browsers": "1.21.
|
|
10
|
+
"@ai-ecoverse/slicc-browsers": "1.21.1",
|
|
11
11
|
"@ai-ecoverse/slicc-capture": "1.4.2",
|
|
12
12
|
"@ai-ecoverse/slicc-devices": "1.0.2",
|
|
13
13
|
"@ai-ecoverse/slicc-kernel": "1.176.1",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"node_modules/@ai-ecoverse/slicc-browsers": {
|
|
43
|
-
"version": "1.21.
|
|
44
|
-
"resolved": "https://registry.npmjs.org/@ai-ecoverse/slicc-browsers/-/slicc-browsers-1.21.
|
|
45
|
-
"integrity": "sha512-
|
|
43
|
+
"version": "1.21.1",
|
|
44
|
+
"resolved": "https://registry.npmjs.org/@ai-ecoverse/slicc-browsers/-/slicc-browsers-1.21.1.tgz",
|
|
45
|
+
"integrity": "sha512-hSDzu9DUZZeU2PIaAaMhhb7QfP0+Fr3qHkAKtzQBfCj3LwI+4uaUWE9Xv9zwlwZHl0evgfnEf0hoPfkVWSqUEg==",
|
|
46
46
|
"license": "Apache-2.0",
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=24"
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"description": "Packages the BIOS installs from npm into OPFS, pinned by package-lock.json and pnpm-lock.yaml",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@ai-ecoverse/slicc-audio": "1.2.0",
|
|
7
|
-
"@ai-ecoverse/slicc-browsers": "1.21.
|
|
7
|
+
"@ai-ecoverse/slicc-browsers": "1.21.1",
|
|
8
8
|
"@ai-ecoverse/slicc-capture": "1.4.2",
|
|
9
9
|
"@ai-ecoverse/slicc-devices": "1.0.2",
|
|
10
10
|
"@ai-ecoverse/slicc-kernel": "1.176.1",
|
|
@@ -12,8 +12,8 @@ importers:
|
|
|
12
12
|
specifier: 1.2.0
|
|
13
13
|
version: 1.2.0
|
|
14
14
|
'@ai-ecoverse/slicc-browsers':
|
|
15
|
-
specifier: 1.21.
|
|
16
|
-
version: 1.21.
|
|
15
|
+
specifier: 1.21.1
|
|
16
|
+
version: 1.21.1
|
|
17
17
|
'@ai-ecoverse/slicc-capture':
|
|
18
18
|
specifier: 1.4.2
|
|
19
19
|
version: 1.4.2
|
|
@@ -52,8 +52,8 @@ packages:
|
|
|
52
52
|
engines: {node: '>=24', slicc-kernel: '>=1.153.0'}
|
|
53
53
|
hasBin: true
|
|
54
54
|
|
|
55
|
-
'@ai-ecoverse/slicc-browsers@1.21.
|
|
56
|
-
resolution: {integrity: sha512-
|
|
55
|
+
'@ai-ecoverse/slicc-browsers@1.21.1':
|
|
56
|
+
resolution: {integrity: sha512-hSDzu9DUZZeU2PIaAaMhhb7QfP0+Fr3qHkAKtzQBfCj3LwI+4uaUWE9Xv9zwlwZHl0evgfnEf0hoPfkVWSqUEg==}
|
|
57
57
|
engines: {node: '>=24'}
|
|
58
58
|
|
|
59
59
|
'@ai-ecoverse/slicc-capture@1.4.2':
|
|
@@ -255,7 +255,7 @@ snapshots:
|
|
|
255
255
|
- utf-8-validate
|
|
256
256
|
- webgpu
|
|
257
257
|
|
|
258
|
-
'@ai-ecoverse/slicc-browsers@1.21.
|
|
258
|
+
'@ai-ecoverse/slicc-browsers@1.21.1': {}
|
|
259
259
|
|
|
260
260
|
'@ai-ecoverse/slicc-capture@1.4.2': {}
|
|
261
261
|
|