@ai-ecoverse/slicc-bios 1.77.2 → 2.0.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.
package/README.md CHANGED
@@ -637,13 +637,13 @@ seven can also join a tailnet, with a patched build of Tailscale's wasm client (
637
637
  - Each `OPEN { kind: 'agent', op }` goes to the agent of the tab that runs the kernel, on its active cone, through slicc-agent's `remoteControl`. `prompt` answers OPENED with how the prompt was delivered (or `RESET EBUSY` for `whenBusy: 'reject'` while busy), then streams NDJSON events from the prompt's own `user` event to its `end` line. A prompt over about 60 KiB comes as `length` bytes after an empty OPENED, and the first line then says how it was delivered. `watch` answers with the transcript `head` (and `gap` when `since` is gone), then streams events. A `watch` OPEN with `busy: true` (`slicc wait`, `slicc prompt --allsettled`) also asks the agent whether it has anything left to do: OPENED then carries `busy: true | false`, and a `{"t":"busy","busy","why"?}` line follows each time that changes. `abort` answers `{ aborted }`.
638
638
  - `inventory` (slicc-cli's `slicc agents`, slicc-agent ≥ 7.12.0) answers OPENED with a snapshot of that cone's agents and its live scoops, and with `watch: true` it streams a whole new one as `{"t":"inventory",…}` on each change, at most one every 250 ms, the latest always sent, and the current one again every 30 s; the timers run only while such a stream is open. Each snapshot is `{ v: 1, instance, seq, changedAt, reportedAt, counts, agents }`, built field by field from slicc-agent's, so nothing else gets through: at most 256 agents, and a `provider` or `model` over 128 characters is left out. One line is written at a time; a change while one waits for the CLI to read only marks the latest snapshot to go next. `instance.id` is 16 random bytes minted once per profile into `slicc-os.inventory`, with a second random key beside it that never leaves the page; `instance.name` is the HELLO's name. An agent's `id` and `parent` are the first 16 bytes of HMAC-SHA-256 under that key of slicc-agent's registry id, so they stay the same for the profile and carry no scoop or cone name. An agent without the inventory answers `EOPNOTSUPP: this agent has no inventory`, and a tab without the agent, a follower included, `EOPNOTSUPP: the agent is not running`. Watching agents doesn't count as **Watching**.
639
639
  - `approvals` and `decide` (slicc-cli's `slicc approvals` and `slicc decide`, slicc-agent ≥ 7.36.0; seven pins 7.39.0) list and answer the agent's approvals from a linked device, through slicc-agent's `approvals({ watch })` and `decide({ id, answer, reason })`, behind the same Control permission as `prompt` (`EACCES` without it). `approvals` answers OPENED `{ approvals: [Item, …] }`, the pending items on the `user` tier, oldest first, passed on as the agent gives them, then END; with `watch: true` a `{"t":"approvals","approvals":[…]}` line carries each new snapshot, and a watch the node closes or resets gives up its subscription and its agent connection at once, even while nothing changes. `decide` takes `id`, `answer` (`once`, `always`, `deny` or `stop`) and an optional string `reason`, anything else being `EINVAL` with a sentence (`decide needs an approval id`, `the answer is once, always, deny or stop`, `a reason is text`), since a bare `EINVAL` tells the CLI seven doesn't know the op, and answers OPENED `{ ok: true }` then END; the agent's refusal is the RESET as it is (`EINVAL: <its sentence>`, `ENOENT` for an unknown id, `EACCES: <its sentence>` on a view-only connection, `EOPNOTSUPP: this agent has no approvals` from an agent without `decide`). The remote client is built with `device`, the link's device id (a device the port itself carries wins; bios's `owner.port()` carries none) (its certificate fingerprint, or its link key for an unpaired local CLI), so the agent records `decidedBy: 'follower'` and that device. An agent without them answers `EOPNOTSUPP: this agent has no approvals`.
640
- - **Never self-approval:** `decide` is refused with `EACCES: a link from this seven's own kernel can't decide approvals` on a link whose certificate is one of this seven's own: the certificates its in-kernel `slicc` dials trays with (`link:<hub>` in the IndexedDB database `slicc-follow`; see *Sevens this kernel follows*). A device's id on the tray is the SHA-256 fingerprint of its certificate, so seven compares it with the fingerprints of those it keeps (`keptFingerprints('link:')`), on each `decide`, before the agent is asked; a failed check refuses too. The link facade itself never opens `decide` (below), so a program in any seven's kernel can't send one, and this check is the receiving end's own.
640
+ - **Never self-approval:** `decide` is refused with `EACCES: a link from this seven's own kernel can't decide approvals` on any link identified as from this seven's own kernel, for the whole life of that link. Such a link carries one of this seven's own certificates, the ones its in-kernel `slicc` dials trays with (`link:<hub>` in the IndexedDB database `slicc-follow`; see *Sevens this kernel follows*). A device's id on the tray is the SHA-256 fingerprint of its certificate, so seven compares it with the fingerprints it keeps (`keptFingerprints('link:')`) once when the link is identified (`links.identify`), keeps that answer on the link until it closes, and compares again on each `decide` before the agent is asked; either saying own refuses, and a check that fails on `decide` refuses too. When the check fails as the link is identified, `decide` is refused with `EACCES: seven couldn't check this device when it linked; reconnect it to decide approvals`: the device is checked again when it reconnects. A kernel program can't send `decide` at all: the link facade never opens it (`NO_DECIDE`, below). A privileged program (root or a member of `sudo`, the only callers the facade admits, so a cone needs an approved `sudo` first) can still have this seven mint a new `link:<hub>` certificate by re-linking, and that no longer matters: the answer was decided when the link was identified, and the fingerprint of a replaced or deleted certificate is retired, not dropped (`retired:<key>` in the same store, which `keptFingerprints` counts), for a year and for as long as a link carries it. At most 256 retired fingerprints are kept per key; the oldest that no link carries go first.
641
641
  - A CLI that goes away ends its stream but never aborts the run; aborting is explicit. A `watch` the CLI half-closes right after OPENED, as slicc does, still ends at once when it is later reset or its link closes, so **Watching** clears without waiting for the agent's next event.
642
642
  - Linked devices lists every device that has linked, offline ones too, with its control setting, and shows **Prompting** or **Watching** while a CLI does, also in the header.
643
643
  - A device that reconnects replaces only its own process's link, so `slicc <join> prompt` doesn't drop that machine's `follow`. Control-only links (`caps: []`) get no `.slicc.internal` name and no exit.
644
644
  - **Folders (`fs`):** a CLI started with `--mount <path>[:<name>][:ro]` lists its folders in HELLO, and later in `OPEN { kind: 'mounts' }` updates; the page offers cap `mounts`. Each is a `hostfs` source named `<device>/<name>`, so `mount -t hostfs lars-mbp/proj /mnt/proj` mounts it, and nothing is mounted unless someone asks. A bare source with no `<device>/` (`mount -t hostfs project /mnt/p`, or one remembered from an older seven), is the folder of that name on the CLI linked on this computer, when exactly one local CLI shares one. The device's row in Linked devices lists its folders (`folders`, with a Read-only badge; spectrum ≥ 1.58.0): **Mount** (`mountFolder(source)`) mounts one at `/mnt/<device>/<name>` (a folder named `.` or `..` is never listed), and **Eject** (`ejectFolder(source)`) unmounts it. The Files panel's Mounted strip shows each `hostfs` mount's source (`mountInfo()`), so `/mnt/proj · lars-mbp/proj` reads as another computer's folder. A mounted linked folder stays with the CLI process it was first granted from (`slicc-os.link-sources`), even if that process comes back under another name. If that process isn't linked, the folder goes to whichever process has the name now, but only when no other process with the same host name shares a folder of that name; otherwise it waits. So a remembered `lars-mbp/proj` never lands on another process's `proj`. A remembered linked folder that is mounted again before its CLI is back stays `nomedium`, and fills in when the CLI links. The kernel's `hostfs` hook answers such a source with a `MessagePort` (slicc-kernel ≥ 1.54.9), and the page serves it with `serveHostfsPort` over `OPEN { kind: 'fs', mount, op, … }` streams: `list` collects its NDJSON, a read over 64 KiB and every write get their own channel, and `watch` streams the CLI's change events. A read-only kernel mount, or a read-only export, sends `readonly: true` on every OPEN. A link that drops makes the mount `nomedium` until the CLI is back; files that were open reopen by path and continue if the host didn't change them.
645
645
  - **SSH host key:** the CLI's HELLO carries its host key, and the page writes `<host>.slicc.internal,<address> <key>` into the system-wide `/etc/ssh/ssh_known_hosts`, replacing older entries for that name or address, so `ssh` never trusts a key on first sight, whichever user runs it. Seven manages these keys, not the user, and OpenSSH looks up a user's own file under the passwd home, which isn't always `$HOME`.
646
- - **Tests:** `test/integration/agent-approvals.test.mjs` runs against seven's real agent: a tab of seven's origin links two devices to seven's own tray on a fake hub the way the in-kernel `slicc` does, one with this seven's `link:<hub>` certificate and one with another. Both get `EACCES` until Control. A cone's `sudo` then shows up in `approvals` as a pending `user`-tier item, and only the device with the other certificate can `decide` it: a `deny` ends the `sudo` with exit 1, a `watch` gets a new snapshot without the item, and a second answer is refused with the agent's sentence. The own-kernel device's `decide` is refused before the agent is asked, an unknown id is `ENOENT` and a bad answer `EINVAL` with its sentence. `test/integration/agent-approvals-link.test.mjs` covers, against a stubbed client, the refusals the real agent doesn't easily produce (view-only `EACCES`, `EOPNOTSUPP`), a failing own-kernel check, an idle `watch` closed by the node releasing its subscription and connection at once, and the link facade opening `approvals` but never `decide`. `test/integration/remote.test.mjs` runs the real `slicc watch`, `slicc prompt`, `slicc abort` and `slicc wait` with `--signal stdio` against seven's real agent and a fake Bedrock; `slicc wait` keeps waiting while a held model answer keeps the agent busy, and exits once it is idle. It also leads a fake tray hub and sends a `webhook.event`, which reaches the agent as a webhook lick (without its `authorization` header) and starts a run. `test/integration/tray.test.mjs` leads a fake tray hub and links a follower in the page through it, then rotates and unlinks; a remote follower that names kernel port 17180 leaves `SLICC_PAGE_LOOPBACK`, the stored port and the profile script alone. `test/integration/link-rehello.test.mjs` links fake nodes in the page over real `RTCPeerConnection`s. It makes seven's side report ICE `failed`, closes the node's side without a `bye`, and then sends a new `hello` while a stale link is still up and a second process waits for the name. Each time it checks that seven opens no peer connection and sends no offer of its own after a close, offers once to the new nonce, keeps the name and address, carries kernel `curl` over the new link, and ignores an `answer`, a candidate and a `bye` under the old nonce. `test/integration/link.test.mjs` links a fake node in the page over a real `RTCPeerConnection`, with a HELLO that names no kernel port, port 80 or 17180, and checks `SLICC_PAGE_LOOPBACK` in login shells and, after a reload, in every program (one that offers `cdp` as version `1.47.2` or without a version shares no browsers while its net and folders still work; `1.47.3`, `dev` and a pseudo-version above share them), and, with `SLICC_CLI` set, the real `slicc attach --signal stdio`, relaying its NDJSON through the CDP binding: raw TCP and the http kind; kernel `ssh` with strict host-key checking against `--runner sh -c`, after `pnpm add -g @ai-ecoverse/wasix-openssh`; and, with the link as the exit, a name from the CLI's `--hosts` file, then refused under `--deny`; and `<port>.kernel.localhost` through the CLI's listener into a kernel server (`httptest`), with 502 for a closed port and the facade refused; a folder shared with `--mount`, mounted as `ref-node/proj`, read, written, seen changing on the host, and refused for writes when mounted `ro`; a second headless Chromium shared with `--cdp-extra`, listed and driven by `playwright-cli --runtime ref-node/<id>`; and a program WebSocket from kernel `bash` through the proxy to a `ws` echo server on the CLI's loopback: text, binary, the subprotocol, a close from each end, and `EACCES` under `--deny`; kernel `websocat`, installed from the catalog, to a `ws` echo on the CLI's loopback and, without `-k`, to `wss://echo.sliccy.ai/` (SLICC's echo, behind Cloudflare's certificate), so its own TLS checks the chain over raw TCP through the link, then failing at once under Directly and with no exit; and a kernel `python3` UDP socket (after `pnpm add -g @ai-ecoverse/wasix-python`) to a UDP echo server on the CLI's loopback, unconnected and connected, and `EACCES` on a connected socket under `--deny`, as with the fake node's own refusal. CI runs the CLI from npm, the pinned `@ai-ecoverse/slicc` devDependency.
646
+ - **Tests:** `test/integration/agent-approvals.test.mjs` runs against seven's real agent: a tab of seven's origin links two devices to seven's own tray on a fake hub the way the in-kernel `slicc` does, one with this seven's `link:<hub>` certificate and one with another. Both get `EACCES` until Control. A cone's `sudo` then shows up in `approvals` as a pending `user`-tier item, and only the device with the other certificate can `decide` it: a `deny` ends the `sudo` with exit 1, a `watch` gets a new snapshot without the item, and a second answer is refused with the agent's sentence. The own-kernel device's `decide` is refused before the agent is asked, also after the tab renews its `link:<hub>` certificate early (a clock a year ahead) while the link stays up, when the replaced fingerprint is still among those kept and the other device is unaffected, and again once the link is dialled with the new certificate (a new device, granted Control), and after 296 re-links on its hub, which keep 256 retired fingerprints, the live link's among them, and prune only fingerprints no live link carries; an unknown id is `ENOENT` and a bad answer `EINVAL` with its sentence. `test/integration/agent-approvals-link.test.mjs` covers, against a stubbed client, the refusals the real agent doesn't easily produce (view-only `EACCES`, `EOPNOTSUPP`), a failing own-kernel check, a link identified as own that stays refused when the kept fingerprints change under it while a foreign link still decides and a link with the new fingerprint is refused, a foreign link whose check failed when it was identified refused with the reconnect sentence until it reconnects, an own one refused as own, an idle `watch` closed by the node releasing its subscription and connection at once, and the link facade opening `approvals` but never `decide`. `test/integration/remote.test.mjs` runs the real `slicc watch`, `slicc prompt`, `slicc abort` and `slicc wait` with `--signal stdio` against seven's real agent and a fake Bedrock; `slicc wait` keeps waiting while a held model answer keeps the agent busy, and exits once it is idle. It also leads a fake tray hub and sends a `webhook.event`, which reaches the agent as a webhook lick (without its `authorization` header) and starts a run. `test/integration/tray.test.mjs` leads a fake tray hub and links a follower in the page through it, then rotates and unlinks; a remote follower that names kernel port 17180 leaves `SLICC_PAGE_LOOPBACK`, the stored port and the profile script alone. `test/integration/link-rehello.test.mjs` links fake nodes in the page over real `RTCPeerConnection`s. It makes seven's side report ICE `failed`, closes the node's side without a `bye`, and then sends a new `hello` while a stale link is still up and a second process waits for the name. Each time it checks that seven opens no peer connection and sends no offer of its own after a close, offers once to the new nonce, keeps the name and address, carries kernel `curl` over the new link, and ignores an `answer`, a candidate and a `bye` under the old nonce. `test/integration/link.test.mjs` links a fake node in the page over a real `RTCPeerConnection`, with a HELLO that names no kernel port, port 80 or 17180, and checks `SLICC_PAGE_LOOPBACK` in login shells and, after a reload, in every program (one that offers `cdp` as version `1.47.2` or without a version shares no browsers while its net and folders still work; `1.47.3`, `dev` and a pseudo-version above share them), and, with `SLICC_CLI` set, the real `slicc attach --signal stdio`, relaying its NDJSON through the CDP binding: raw TCP and the http kind; kernel `ssh` with strict host-key checking against `--runner sh -c`, after `pnpm add -g @ai-ecoverse/wasix-openssh`; and, with the link as the exit, a name from the CLI's `--hosts` file, then refused under `--deny`; and `<port>.kernel.localhost` through the CLI's listener into a kernel server (`httptest`), with 502 for a closed port and the facade refused; a folder shared with `--mount`, mounted as `ref-node/proj`, read, written, seen changing on the host, and refused for writes when mounted `ro`; a second headless Chromium shared with `--cdp-extra`, listed and driven by `playwright-cli --runtime ref-node/<id>`; and a program WebSocket from kernel `bash` through the proxy to a `ws` echo server on the CLI's loopback: text, binary, the subprotocol, a close from each end, and `EACCES` under `--deny`; kernel `websocat`, installed from the catalog, to a `ws` echo on the CLI's loopback and, without `-k`, to `wss://echo.sliccy.ai/` (SLICC's echo, behind Cloudflare's certificate), so its own TLS checks the chain over raw TCP through the link, then failing at once under Directly and with no exit; and a kernel `python3` UDP socket (after `pnpm add -g @ai-ecoverse/wasix-python`) to a UDP echo server on the CLI's loopback, unconnected and connected, and `EACCES` on a connected socket under `--deny`, as with the fake node's own refusal. CI runs the CLI from npm, the pinned `@ai-ecoverse/slicc` devDependency.
647
647
  - **As the exit:** a CLI linked on this computer (`npx sliccy@next`) is the exit by itself until the user chooses one, so the kernel's HTTP and raw TCP get past CORS at once; a Tailscale exit node that is on comes first. A remote device that offers to be a default exit carries other traffic only once it's chosen. The Network panel's **Internet traffic** picker (`setExit`) is one choice across Directly, Tailscale exit nodes and linked devices: choosing a device turns off Tailscale's exit node, and choosing Tailscale clears the device. The choice of a device is kept in `localStorage` (`slicc-os.exit`), and while that device isn't connected, after a reload or while it reconnects, internet traffic **waits**: raw connections get `ENETUNREACH` and HTTP fails, rather than going out directly. Choosing Directly sends it directly again and is kept (`direct`), so a local CLI doesn't take it over, while a Tailscale exit node turned on later still does; unlinking the chosen exit device goes back to the automatic choice.
648
648
  - **What the agent sees:** the transport's `traits` name the default exit while there is one, so the agent can say how its fetches go. `traits.exit` is `{ kind, caps }`:
649
649
  - **`kind`:** `local` (a CLI on this computer), `remote` (a chosen linked device) or `tailnet` (a Tailscale exit node);
@@ -678,7 +678,7 @@ seven can also join a tailnet, with a patched build of Tailscale's wasm client (
678
678
  - **Identity:** one persistent DTLS certificate per hub origin (`RTCPeerConnection.generateCertificate`, ECDSA P-256 for a year, in the IndexedDB database `slicc-follow`), so the device and its access survive reloads. Unlinking deletes it.
679
679
  - **The link:** the follower answers as the link's node: its HELLO says `role: 'node'`, `kind: 'seven'`, caps `join` and `permissions`, and its tab as `node`, and it opens even stream ids. The owner treats a link as a follower because the hub said `slicc-seven/1`, and closes it if HELLO disagrees. A follower gets no `.slicc.internal` name, no exit, and none of the CLI kinds: the owner refuses `kernel`, `agent` and `browsers` from it with `EOPNOTSUPP`.
680
680
  - **View, Control and Terminal:** each follower certificate has three switches in Linked devices, off by default and kept with the device in `slicc-os.devices` (`setAccess` on the network port). Control and Terminal need View, so turning either on turns View on, and turning View off clears both. Without View a follower links but gets nothing: it shows as **Asks to follow**, with Allow, and its page says it waits for the owner. The owner's HELLO carries the current switches, and every change goes to the follower as `OPEN { kind: 'permissions', view, control, terminal }` on the control channel. Losing View resets the follower's open streams with `EACCES`, and so does losing Terminal for its terminals. For a CLI, the old **Allow remote control** is the same Control switch.
681
- - **Chat (`pi`):** with View, the follower opens `OPEN { kind: 'pi' }` and gets the owner's agent, the same replicated chat a follower tab has. The owner bridges the stream to `owner.port({ readOnly, pages: false, device })` with slicc-agent's `bridgePort` (agent ≥ 3.32.0; `device`, the link's id, from 5.9.0), read-only unless the device has Control, and without `pages`, so a follower's agent can't drive the owner's panels. The follower builds its `AgentConnection` with `linkEndpoint` and `connectAgent`, and spectrum's agent model on top. The stream carries slicc-agent's frames: a `u32` length, a `u8` tag (data, hello or close) and the payload. Without Control, a send, steer or stop is refused by the owner's agent with `EACCES`, and the chat shows that it watches only. Changing Control resets the stream, so the follower reconnects with the new access, and losing View resets it with `EACCES`. The follower installs `/opt/agent` itself, for `page.js` and the agent model, in a kernel it starts only for that install. Linked devices shows *Watching* while a follower's chat is open. A failed connection is tried again after 2 s, except when the owner runs another agent version: `connectAgent` then rejects with `EVERSION` (slicc-agent ≥ 5.5.2), and the follower shows the agent's sentence as bios's own warning (`follow:other-agent-version`, not dismissable) and makes no further attempt in that follow session. Meanwhile its follow port's state carries the sentence as `refused` (spectrum ≥ 1.85.0): the top-bar light turns neutral and reads *Can’t follow <owner>*, the chat drops its *Watch only* note, and the page stays read-only. A later follow session that connects clears it, and the warning with it.
681
+ - **Chat (`pi`):** with View, the follower opens `OPEN { kind: 'pi' }` and gets the owner's agent, the same replicated chat a follower tab has. The owner bridges the stream to `owner.port({ readOnly, pages: false, device })` with slicc-agent's `bridgePort` (`device` is the link's id), read-only unless the device has Control, and without `pages`, so a follower's agent can't drive the owner's panels. The follower builds its `AgentConnection` with `linkEndpoint` and `connectAgent`, and spectrum's agent model on top. The stream carries slicc-agent's frames: a `u32` length, a `u8` tag (Chord v2 data, hello or close) and the payload; from slicc-agent 8.0.0 the hello is JSON naming the wire, Chord and contract versions, and an 8.x end and a 7.x end never talk. Without Control, a send, steer or stop is refused by the owner's agent with `EACCES`, and the chat shows that it watches only. Changing Control resets the stream, so the follower reconnects with the new access, and losing View resets it with `EACCES`. The follower installs `/opt/agent` itself, for `page.js` and the agent model, in a kernel it starts only for that install. Linked devices shows *Watching* while a follower's chat is open. A failed connection is tried again after 2 s, except when the owner runs another agent version: `connectAgent` then rejects with `EVERSION` (an 8.x follower of a 7.x owner, or of an 8.x owner whose hello doesn't match), and the follower shows the agent's sentence as bios's own warning (`follow:other-agent-version`, not dismissable) and makes no further attempt in that follow session. Meanwhile its follow port's state carries the sentence as `refused` (spectrum ≥ 1.85.0): the top-bar light turns neutral and reads *Can’t follow <owner>*, the chat drops its *Watch only* note, and the page stays read-only. A later follow session that connects clears it, and the warning with it. A follower still on 7.x can't tell: the 8.x owner closes its link, so it tries again every 2 s without a warning until it takes the pinned agent.
682
682
  - **Terminals (`terminal`):** with View and Terminal, the follower's Terminal panel opens shells in the owner's kernel. Each one is `OPEN { kind: 'terminal', cols, rows, cwd? }`, and the owner runs `bash -i` there with its own terminals' prompt, as the same user its own terminals use (root today, so Terminal is a root shell on the owner's SLICC), and answers OPENED `{ pid }`. Both directions then carry records, each a `u32` length, a `u8` type and a payload: `0` terminal bytes, `1` a resize as `{ cols, rows }` JSON, `2` a signal name (`INT`, `TSTP`, `QUIT`, `HUP`), and, from the owner only, `3` the shell's exit status as a decimal string, just before END. A bad record or size resets the stream with `EPROTO` or `EINVAL`. The follower's END closes the shell, and the owner ends the stream when the shell exits. Linked devices shows *Terminal open* while one runs (`terminals`), and turning Terminal or View off resets every open shell with `EACCES`.
683
683
  - **Names:** both sides call themselves `SLICC on <platform>` (`navigator.userAgentData.platform`). When two show the same name, the first four hex digits of the certificate fingerprint are added.
684
684
  - **Sevens this kernel follows (the in-kernel `slicc`):** the optional `slicc` package (`@ai-ecoverse/wasi-slicc`, slicc-cli's client commands built for `wasip1`) runs `slicc <join-url> prompt|watch|abort` in seven's terminal against another seven's agent, and `slicc tray` against this seven's own tray, as slicc-cli's README specifies in §1.4 and §5.16. The program never touches WebRTC, the hub or the join state: it reaches the page's **link facade** at `SLICC_LINK_URL` (`tcp://127.0.0.1:7400`), which `os/os.js` declares with `createKernel({ facades: { link: { port: 7400, hook } } })` (`os/facade.js`, slicc-kernel ≥ 1.90.0), and the page follows that seven's tray for it (`os/leaders.js`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-bios",
3
- "version": "1.77.2",
3
+ "version": "2.0.1",
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",
@@ -56,7 +56,7 @@
56
56
  "@ai-ecoverse/slicc-shared-web": "2.14.4",
57
57
  "@ai-ecoverse/slicc-spectrum": "2.19.1",
58
58
  "@ai-ecoverse/slicc-vault": "1.29.0",
59
- "@biomejs/biome": "2.6.6",
59
+ "@biomejs/biome": "2.6.7",
60
60
  "aws4fetch": "1.0.20",
61
61
  "es-module-lexer": "3.0.4",
62
62
  "fake-indexeddb": "6.2.8",
@@ -3,7 +3,7 @@
3
3
  "private": true,
4
4
  "description": "SLICC's agent, which the UI installs with pnpm in the background into /opt/agent in OPFS",
5
5
  "dependencies": {
6
- "@ai-ecoverse/slicc-agent": "7.39.0",
6
+ "@ai-ecoverse/slicc-agent": "8.0.0",
7
7
  "@ai-ecoverse/slicc-kernel": "1.191.2"
8
8
  }
9
9
  }
@@ -14,16 +14,16 @@ importers:
14
14
  .:
15
15
  dependencies:
16
16
  '@ai-ecoverse/slicc-agent':
17
- specifier: 7.39.0
18
- version: 7.39.0(@ai-ecoverse/slicc-kernel@1.191.2)(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
17
+ specifier: 8.0.0
18
+ version: 8.0.0(@ai-ecoverse/slicc-kernel@1.191.2)(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
19
19
  '@ai-ecoverse/slicc-kernel':
20
20
  specifier: 1.191.2
21
21
  version: 1.191.2
22
22
 
23
23
  packages:
24
24
 
25
- '@ai-ecoverse/slicc-agent@7.39.0':
26
- resolution: {integrity: sha512-0EznsA1hKpxIo+Su2NXm4CvHxNx5p48/HZGLum1U9B8xdB7q3/BzuyOkzlG0n97Jx2TtrMbVzW95Iad41g6V+w==}
25
+ '@ai-ecoverse/slicc-agent@8.0.0':
26
+ resolution: {integrity: sha512-b7rY/OkH+xhmTh+e2Xa/RzPb6Lkb23A8wziYTnE9u6ReNliZtqvU1rWTBv2vuGbgQnnO6+tke9ebl6c8gqnr2Q==}
27
27
  engines: {node: '>=24'}
28
28
  peerDependencies:
29
29
  '@ai-ecoverse/slicc-kernel': '>=1.172.2 <2'
@@ -129,41 +129,44 @@ packages:
129
129
  resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==}
130
130
  engines: {node: '>=6.9.0'}
131
131
 
132
- '@earendil-works/chord@1.5.0':
133
- resolution: {integrity: sha512-jf555zbCM21E03DVBDPD/Tuae0lz64YjaHx/athUxNZ/H7phVVb0dWfZsaYnxaXPQ1odW8iHEoVLOlE/prvUPg==}
132
+ '@earendil-works/chord@1.5.2':
133
+ resolution: {integrity: sha512-3g088g7qVXL2cpRAKWjj9za6RLls9FBnuUo5c0hBZ0xCftBQjae0opS+34M22vdXTVE7BNqkRG/FPc9BsM7eEg==}
134
134
  engines: {node: '>=22.19.0'}
135
135
  peerDependencies:
136
136
  esbuild: 0.28.2
137
+ react: 19.3.0
137
138
  ws: 8.21.0
138
139
  peerDependenciesMeta:
139
140
  esbuild:
140
141
  optional: true
142
+ react:
143
+ optional: true
141
144
  ws:
142
145
  optional: true
143
146
 
144
- '@earendil-works/pi-ai@1.5.0':
145
- resolution: {integrity: sha512-VeWxNqTHSqRCf8AcY/6kvNwh+neRL6MPxZPePVztIQy6qqK9MR/YoCSN/ZgDnIyCD3pqEXgRyQbzk4KV4uvjbg==}
147
+ '@earendil-works/pi-ai@1.5.2':
148
+ resolution: {integrity: sha512-2tWPSnV3qzfiDIY3aWluBag3vC++Vs+VsXt/UquSU5onPMohPih72FUhIhaqmDdMYubOgB3Byl9uF4Vk40JLvQ==}
146
149
  engines: {node: '>=22.19.0'}
147
150
  hasBin: true
148
151
 
149
- '@earendil-works/pi-codemode@1.5.0':
150
- resolution: {integrity: sha512-PLBJZ17AEWGzOlAAcFuOkw3PxkOti0JlFuZQyeF2GRTqbpuYo4k9t8YqUV2uOQVzrUnKdxahwaFUqc1eNS1WAg==}
152
+ '@earendil-works/pi-codemode@1.5.2':
153
+ resolution: {integrity: sha512-HoZQ40a9RgdZ1VgmrX6x8887cNXedaRJT1l+Ie5YRIMK4gY7v0EpsiNqf6dmixrKylZlTgUSyR+vE8xhjfkr+w==}
151
154
  engines: {node: '>=22.19.0'}
152
155
 
153
- '@earendil-works/pi-durable@1.5.0':
154
- resolution: {integrity: sha512-xeBP2vIo5NvsCMQ4Y/V+Z164xQEi9JWiBWHdjn4Z15EnFqV3c0FxJAX26FqyyyintrYyk+Enre94GNcvRlBA5g==}
156
+ '@earendil-works/pi-durable@1.5.2':
157
+ resolution: {integrity: sha512-zDB3anbI/yD0IG+VVY+g5tU+c5XOVqQAFwLkXRMiqZb4p/afWro0voZtLNoRAWcDA2r73kvmH6kKin9Ka8l55g==}
155
158
  engines: {node: '>=22.19.0'}
156
159
 
157
- '@earendil-works/pi-mcp@1.5.0':
158
- resolution: {integrity: sha512-DURw3IwHCTMHV8CzUJWVp9css27NowsCWfXt4xg2r09IZ+P1O/Uq58hp0hb9WJO0dbkaKGXKBIkV4LVXcu2nlg==}
160
+ '@earendil-works/pi-mcp@1.5.2':
161
+ resolution: {integrity: sha512-zU1UgeXDlbixPqGEWD7Ql0brEMIpYr7aEWjoEE5h5enJbM/kQ2jIr7lN8JoR80oUnq1fJSU7SC8kLx2Fx/IZYg==}
159
162
  engines: {node: '>=22.19.0'}
160
163
 
161
- '@earendil-works/pi-schema@1.5.0':
162
- resolution: {integrity: sha512-RW0MbT2tR65OY6xMsgB/yVBb7m/RTNwA+9hurSN1vVXfHZRVmVnXbruBPrx/PzbrQnW5yLVlMRWxErGDQtF1Hg==}
164
+ '@earendil-works/pi-schema@1.5.2':
165
+ resolution: {integrity: sha512-hJoyCXWUhsSrXY5wJo2Q4kHXUsR51pNhkJHAMkWRwVMLDRtMDPkKNaa+JlVRVqTw1hjdSxcVVaFLSDbKlaTXEQ==}
163
166
  engines: {node: '>=22.19.0'}
164
167
 
165
- '@earendil-works/pi-telemetry@1.5.0':
166
- resolution: {integrity: sha512-VW3tcVdnNfl/Vk8wHPTzZdKkxcsCOM12ppiO4DXnd9wMxUCmOfLt/wvUnWeKWbTVlVSRg0uqKtnnhE2UCsG2Bw==}
168
+ '@earendil-works/pi-telemetry@1.5.2':
169
+ resolution: {integrity: sha512-m+cumjIqNh1aMISi/9ttcG3ZOwIdriPbz/eMyWmRMJCGa/WcgY1RX4lrb7HvsHhSfI/JUeBESA4nOCr8C3y5ow==}
167
170
  engines: {node: '>=22.19.0'}
168
171
 
169
172
  '@google/genai@2.21.0':
@@ -340,17 +343,17 @@ packages:
340
343
 
341
344
  snapshots:
342
345
 
343
- '@ai-ecoverse/slicc-agent@7.39.0(@ai-ecoverse/slicc-kernel@1.191.2)(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)':
346
+ '@ai-ecoverse/slicc-agent@8.0.0(@ai-ecoverse/slicc-kernel@1.191.2)(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)':
344
347
  dependencies:
345
348
  '@ai-ecoverse/slicc-kernel': 1.191.2
346
349
  '@aws-sdk/middleware-websocket': 3.972.54
347
- '@earendil-works/chord': 1.5.0
348
- '@earendil-works/pi-ai': 1.5.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
349
- '@earendil-works/pi-codemode': 1.5.0
350
- '@earendil-works/pi-durable': 1.5.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
351
- '@earendil-works/pi-mcp': 1.5.0
352
- '@earendil-works/pi-schema': 1.5.0
353
- '@earendil-works/pi-telemetry': 1.5.0
350
+ '@earendil-works/chord': 1.5.2
351
+ '@earendil-works/pi-ai': 1.5.2(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
352
+ '@earendil-works/pi-codemode': 1.5.2
353
+ '@earendil-works/pi-durable': 1.5.2(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
354
+ '@earendil-works/pi-mcp': 1.5.2
355
+ '@earendil-works/pi-schema': 1.5.2
356
+ '@earendil-works/pi-telemetry': 1.5.2
354
357
  '@sqlite.org/sqlite-wasm': 3.53.4-build2
355
358
  yaml: 2.9.1
356
359
  transitivePeerDependencies:
@@ -360,6 +363,7 @@ snapshots:
360
363
  - '@smithy/signature-v4'
361
364
  - esbuild
362
365
  - kerberos
366
+ - react
363
367
  - supports-color
364
368
  - undici
365
369
  - ws
@@ -556,17 +560,17 @@ snapshots:
556
560
 
557
561
  '@babel/runtime@7.29.7': {}
558
562
 
559
- '@earendil-works/chord@1.5.0':
563
+ '@earendil-works/chord@1.5.2':
560
564
  dependencies:
561
- '@earendil-works/pi-schema': 1.5.0
562
- '@earendil-works/pi-telemetry': 1.5.0
565
+ '@earendil-works/pi-schema': 1.5.2
566
+ '@earendil-works/pi-telemetry': 1.5.2
563
567
 
564
- '@earendil-works/pi-ai@1.5.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)':
568
+ '@earendil-works/pi-ai@1.5.2(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)':
565
569
  dependencies:
566
570
  '@anthropic-ai/sdk': 0.129.0
567
571
  '@aws-sdk/client-bedrock-runtime': 3.1127.0
568
- '@earendil-works/pi-schema': 1.5.0
569
- '@earendil-works/pi-telemetry': 1.5.0
572
+ '@earendil-works/pi-schema': 1.5.2
573
+ '@earendil-works/pi-telemetry': 1.5.2
570
574
  '@google/genai': 2.21.0
571
575
  '@smithy/node-http-handler': 4.12.1
572
576
  http-proxy-agent: 9.1.0
@@ -584,17 +588,17 @@ snapshots:
584
588
  - ws
585
589
  - zod
586
590
 
587
- '@earendil-works/pi-codemode@1.5.0':
591
+ '@earendil-works/pi-codemode@1.5.2':
588
592
  dependencies:
589
593
  quickjs-wasi: 3.6.2
590
594
 
591
- '@earendil-works/pi-durable@1.5.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)':
595
+ '@earendil-works/pi-durable@1.5.2(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)':
592
596
  dependencies:
593
- '@earendil-works/chord': 1.5.0
594
- '@earendil-works/pi-ai': 1.5.0(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
595
- '@earendil-works/pi-codemode': 1.5.0
596
- '@earendil-works/pi-schema': 1.5.0
597
- '@earendil-works/pi-telemetry': 1.5.0
597
+ '@earendil-works/chord': 1.5.2
598
+ '@earendil-works/pi-ai': 1.5.2(@aws-sdk/credential-provider-node@3.972.84)(@smithy/signature-v4@5.7.4)
599
+ '@earendil-works/pi-codemode': 1.5.2
600
+ '@earendil-works/pi-schema': 1.5.2
601
+ '@earendil-works/pi-telemetry': 1.5.2
598
602
  '@silvia-odwyer/photon': 0.3.3
599
603
  diff: 8.0.4
600
604
  transitivePeerDependencies:
@@ -604,18 +608,19 @@ snapshots:
604
608
  - '@smithy/signature-v4'
605
609
  - esbuild
606
610
  - kerberos
611
+ - react
607
612
  - supports-color
608
613
  - undici
609
614
  - ws
610
615
  - zod
611
616
 
612
- '@earendil-works/pi-mcp@1.5.0':
617
+ '@earendil-works/pi-mcp@1.5.2':
613
618
  dependencies:
614
619
  cross-spawn: 7.0.6
615
620
 
616
- '@earendil-works/pi-schema@1.5.0': {}
621
+ '@earendil-works/pi-schema@1.5.2': {}
617
622
 
618
- '@earendil-works/pi-telemetry@1.5.0': {}
623
+ '@earendil-works/pi-telemetry@1.5.2': {}
619
624
 
620
625
  '@google/genai@2.21.0':
621
626
  dependencies: