@ai-ecoverse/slicc-bios 1.73.0 → 1.73.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -394,7 +394,7 @@ Packages are served unbundled, exactly as npm publishes them, so `pnpm upgrade <
394
394
 
395
395
  ## Vault
396
396
 
397
- Seven keeps its secrets in the vault, a separate origin (`@ai-ecoverse/slicc-vault`, types only in `devDependencies`; its README's "The embedding API" is the spec). Integration rows that need the real vault (`test/integration/real-vault.mjs`, used by `security-forward.test.mjs`) serve the pinned package's `dist/site` locally with the response headers from that package's `dist/headers.json` (rewriting `frame-ancestors` to the test embedder, and `cross-origin-resource-policy` to `cross-origin` so a COEP seven on another `127.0.0.1` port can embed it; production keeps `same-site` for `*.sliccy.ai`), and never fetch `vault-preview`; a mismatch between the package's `config.json` version and the root pin is a hard failure. The non-required [`vault drift`](.github/workflows/vault-drift.yml) workflow runs on pushes to `main` and every six hours, compares https://vault-preview.sliccy.ai/config.json to that pin, and opens or updates one issue titled `vault drift: live X, pinned Y` when they differ. `src/seed/vault.js` brokers it:
397
+ Seven keeps its secrets in the vault, a separate origin (`@ai-ecoverse/slicc-vault`, types only in `devDependencies`; its README's "The embedding API" is the spec). Integration rows that need the real vault (`test/integration/real-vault.mjs`, used by `security-forward.test.mjs`) serve the pinned package's `dist/site` locally with the response headers from that package's `dist/headers.json` (rewriting `frame-ancestors` to the test embedder, and `cross-origin-resource-policy` to `cross-origin` so a COEP seven on another `127.0.0.1` port can embed it; production keeps `same-site` for `*.sliccy.ai`), and never fetch `vault-preview`; a mismatch between the package's `config.json` version and the root pin is a hard failure. The non-required [`vault drift`](.github/workflows/vault-drift.yml) workflow runs on pushes to `main` and every six hours, compares https://vault-preview.sliccy.ai/config.json to that pin, and when the versions match also compares live response headers for `/`, `/frame.js`, a packaged font and any packaged wasm with the pin's `dist/headers.json` class headers (`frame-ancestors` normalized). It opens or updates one issue titled `vault drift: live X, pinned Y` or `vault drift: headers differ` when they differ. `src/seed/vault.js` brokers it:
398
398
  - **The origin** comes from `vaultOrigin()`: production seven (`https://seven.sliccy.ai` and `https://www.sliccy.ai`) always uses `https://vault.sliccy.ai` and refuses an override with a console error; every other seven uses `https://vault-preview.sliccy.ai`, or the origin in `localStorage['slicc-os.vault-origin']`, which the tests point at a fake vault.
399
399
  - **The core frame** is a hidden iframe at that origin. After each `load` (so again after the frame reloads) seven posts the page hello `{ type: 'slicc-vault', v: 1, op: 'hello', role: 'page', sudoGid }`, with the kernel's `sudo` gid from `kernel.groups.list()` (left out under users `off`; the owner tab keeps it in `localStorage['slicc-os.vault-sudo-gid']` for the other tabs), and talks to the vault over that page port only.
400
400
  - **`model.vault`** (spectrum's `VaultPort`) gives Settings › Secrets, the value requests and the composer's hold synchronous `status()` and `list()` snapshots (re-listed after every `changed`), `audit`, `availability()` (`connecting` until the welcome, `waiting` without one within 5 s or while an answer is 2 s late, then `locked` or `ready`), and the page ops `put` (with spectrum's `PutOptions` passed through), `enter`, `cancel`, `remove`, `restore`, `import`, `export`, `lock` and `dismissBackupReminder`. Rejections are `Error`s with the vault's errno as `code`. Values go only through the vault's frame, `put` (only for a UI that still types values itself, below), `seal` and `import`, are never logged, stored or put into an error message, and never reach the agent worker.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-bios",
3
- "version": "1.73.0",
3
+ "version": "1.73.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",