@ai-ecoverse/slicc-bios 1.76.0 → 1.76.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 +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -287,7 +287,7 @@ Before that, seven installed `@shikijs/langs` and `@shikijs/themes` as a pnpm pr
|
|
|
287
287
|
|
|
288
288
|
#### No agent older than the profile
|
|
289
289
|
|
|
290
|
-
An agent's session database can migrate one way: from slicc-agent 7.0, pi-durable schema 2, which a 6.x agent can't open. So before `startChat` starts an agent, bios (`os/durable.js`) compares the agent's schema (6.x is 1, 7.x
|
|
290
|
+
An agent's session database can migrate one way: from slicc-agent 7.0, pi-durable schema 2, which a 6.x agent can't open. slicc-agent 8.x (Chord v2) keeps schema 2, so a 7.x agent still opens a profile an 8.x agent used. So before `startChat` starts an agent, bios (`os/durable.js`) compares the agent's schema (6.x is 1, 7.x and 8.x are 2, and a later major counts as able to open any profile, since this seven can't know its schema) with the profile's: the higher of the agent's own marker, `/.slicc/agent-profile.json` `{ durableSchema }`, and bios's record of the highest schema it has started on this origin (`localStorage` `slicc-os.agent-schema`, written before the start, so it covers an agent that never wrote the marker). Only a missing file or `.slicc` folder means no marker; a marker that can't be read or parsed counts as schema 2, the highest this seven knows, so 6.x isn't started and 7.x or 8.x may be. An older agent isn't started: the Agent row fails and a notice says why, and the newer agent's data stays as it is. No marker and no record start any agent. A first start of the pinned agent on a profile a 6.x agent used upgrades that profile one way; the agent writes the marker and bios records 2. Going back from 8.x to 7.x (a downgrade of seven's pin) keeps 2, so 7.x starts.
|
|
291
291
|
|
|
292
292
|
#### Developer mode and agent betas
|
|
293
293
|
|
|
@@ -431,7 +431,7 @@ Seven keeps its secrets in the vault, a separate origin (`@ai-ecoverse/slicc-vau
|
|
|
431
431
|
- **Precondition** (seven can't forward it here): `users-off`, `vault-unavailable`, `vault-locked`, `policy-syncing`, `policy-missing`, `policy-unaccepted`, `policy-unavailable`, `destination-protected` (seven's own, loopback, reserved or protected addresses), `exit-link` and `exit-tailnet` (the host goes through a linked device or the tailnet, which carry no credentialed request in this release), `extension-outdated` (slicc-extension before 7.11.0), `exit-not-credentialed` (any other route without manual redirects, decoded bodies and a body limit), `route-inactive`, `exit-encoded-bodies`, `exit-follows-redirects`, `body-too-large` (status `413`).
|
|
432
432
|
- **Protocol**: `protocol-version`, `body-framing`, `mcp-body-framing`, `vault-reply` (an answer this seven doesn't take), `vault-error` (the vault's `forward` call failed; its errno is appended), `changed` (the route, the policy or the vault changed while the request was prepared; send it again).
|
|
433
433
|
- **Policy:** with kernel users `enforce`, bios seeds missing policy files under trusted root-owned `/etc/fnox` and `/etc/slicc` directories, without overwriting existing contents or trusting writable, linked or mounted paths. The kernel attests the bytes on boot and change. A trusted missing-file attestation clears and pauses its policy; missing or untrusted ancestors hold protected operations until a trusted resync. HTTP placeholder forwarding is the exception when the last sync's `policy` reply was `accepted: true` and lists every missing file it sent as `absent`, `paused` and `accepted`: bios doesn't refuse on its own then but asks the vault, which, per its spec, refuses a secret (`policy-paused`) and lets an MCP sign-in through, since an MCP forward uses no rule. A secret answer in that state is refused by bios too (`policy-paused`). A rejected file (`accepted: false`) takes precedence over a missing one (`policy-unaccepted`), and a missing file the vault didn't confirm as paused (an untrusted attestation), and every other state where the policy isn't ready, still hold all forwarding (#1272). Materialize, consume and session operations also require an unlocked, current-capability vault and an accepted trusted policy; an older vault stays refused until it updates. Processes keep `FNOX_CONFIG_DIR=/etc/fnox`; fnox uses placeholders and `/dev/sealed`. Named root MCP calls discover their Settings placeholder directly, without a jerk command. That is intentional, and the owner's decision: root is the owner, and sudoers decides who gets root, so a root process (including one a cone started through an approved `sudo`) discovers and uses the Settings MCP sign-ins. Discovery is the vault's `placeholder` op by server name, which answers only uid 0 under `enforce`, and only with a usable, addressable record that is the one match for that server name; process-sealed MCP bridge tokens and removed or expired records never answer. Using it, the record must be bound to the destination's server. bios's forwarder and the vault's `forward` check no uid or tag, so HTTP injection isn't partitioned by uid or tag (#1272).
|
|
434
|
-
- **Egress:** token refreshes use the same selected transport with a manual redirect policy, never a native-fetch fallback. An incapable route or redirect is refused; the response returns only to the vault. Request bodies are zeroed after use, and requests are not logged.
|
|
434
|
+
- **Egress:** token refreshes use the same selected transport with a manual redirect policy, never a native-fetch fallback. An incapable route or redirect is refused; the response returns only to the vault. A `GET` or `HEAD` (GitHub Copilot's token exchange) goes out without a body. Request bodies are zeroed after use, and requests are not logged.
|
|
435
435
|
- **Adobe IMS:** with agent ≥ 4.0.0, `login('adobe', …)` opens its popup before anything else, then seals the token as `{ kind: 'model', provider: 'adobe', name: 'ADOBE_IMS_TOKEN', source: 'oauth:adobe', expiresAt }` (the redirect's `expires_in` is in seconds, 86399 for a day) and resolves `{ sealed: true }`, so the token never reaches spectrum or the agent. IMS gives no refresh token: an expired token means signing in again, which replaces the record and keeps its placeholder. Agents before 4.0.0 get the token as before.
|
|
436
436
|
|
|
437
437
|
## Requests from programs (`/dev/embedder`)
|
|
@@ -797,7 +797,7 @@ Seven certifies a gated package (slicc-kernel, slicc-cdp, slicc-audio, slicc-cap
|
|
|
797
797
|
[`renovate.json`](renovate.json) bumps every `@ai-ecoverse/*` pin in the base set (`src/packages/package.json`) and `/opt/agent` (`src/packages/agent/package.json`), with their npm and pnpm lockfiles. The optional catalog pins nothing, so it needs no bumps; the Python data tools' project (`src/packages/optional/projects/pydata`) is pinned by hand, from the dependency dashboard.
|
|
798
798
|
|
|
799
799
|
- **PRs:** homescoop's packages (`wasi-*`, `wasix-*`, `wasm-*`, `py-*`, `wasi-pnpm` included) come as one PR a day, between 00:00 and 06:00 UTC. The kernel (its base-set and `/opt/agent` pins together), slicc-agent and slicc-spectrum each get their own PR, and so does every other package. The Tailscale project stays on the dependency dashboard.
|
|
800
|
-
- **Automerge once CI is green:** Renovate turns on auto-merge, so a PR goes through the merge queue once its required checks, `ci / integration` and `ci / review`, are green (see [CI](#ci)). No bot writes to a Renovate branch: the shipped lockfiles are part of what seven certifies, so a certified pin needs no `certs.json` line.
|
|
800
|
+
- **Automerge once CI is green:** Renovate turns on auto-merge for every pin but a new slicc-agent major, which is bumped by hand with the pins it needs (spectrum, vault, the genai override, a durable schema seven knows). An agent minor or patch merges by itself, so a fix reaches seven once CI passes: `pins.test.mjs` fails a release whose kernel or spectrum peer the base set doesn't meet, and `agent-downgrade.test.mjs` one whose profile schema seven doesn't know. A PR goes through the merge queue once its required checks, `ci / integration` and `ci / review`, are green (see [CI](#ci)). No bot writes to a Renovate branch: the shipped lockfiles are part of what seven certifies, so a certified pin needs no `certs.json` line.
|
|
801
801
|
- **Known breaks** are `packageRules` with `allowedVersions`, each with its reason and issue in `description`. Today the only one is wasi-pnpm skipping the deprecated 12.9.1-11 and 12.9.1-12 (homescoop#1128). wasm-bash's hold below 5.3.0-20 went with the pin of kernel 1.135.2, which has slicc-kernel#1146. bash 5.3.0-20 and later count as certified only with kernel 1.130.2 or later (homescoop#1230), and -21 declares `engines.slicc-kernel >=1.130.2`. `test/integration/renovate.test.mjs` checks the config, the gate and the queue in plain node.
|
|
802
802
|
|
|
803
803
|
`test/integration/sweep.test.mjs`, the base-set sweep, runs with the other integration tests. It boots the BIOS, checks that each base-set package in OPFS has the version `package-lock.json` pins, and runs every command its `slicc.commands` lists with `--version` or a trivial call under `timeout 60`, then real grep, egrep, sed -i, xz, xzgrep, jq, find, xargs, diff, cmp, patch, awk, gzip, bzip2 and tar work. Each command is its own subtest named `<package> · <call>`. The clipboard commands, `sccopy` and `scpaste` included, run `--help` (`xclip -help`). Known exits: `false` 1, `bunzip2`/`bzcat --version` 2 (upstream), `i --version` 2 (argument parsing; 126 is #495), and `chcon`/`runcon` 1 (listed by coreutils, not built: "unknown program"). `[` runs as bash's builtin, since `timeout` can't exec it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-bios",
|
|
3
|
-
"version": "1.76.
|
|
3
|
+
"version": "1.76.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",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@ai-ecoverse/slicc": "1.67.16",
|
|
53
53
|
"@ai-ecoverse/slicc-browsers": "1.24.0",
|
|
54
|
-
"@ai-ecoverse/slicc-cdp": "1.52.
|
|
54
|
+
"@ai-ecoverse/slicc-cdp": "1.52.5",
|
|
55
55
|
"@ai-ecoverse/slicc-kernel": "1.190.0",
|
|
56
56
|
"@ai-ecoverse/slicc-shared-web": "2.14.4",
|
|
57
57
|
"@ai-ecoverse/slicc-spectrum": "2.16.1",
|