@ai-ecoverse/slicc-bios 1.70.3 → 1.71.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
@@ -62,7 +62,7 @@ Skills in `/usr/share/skills` that SLICC 6's upskill installed (or `upskill` sin
62
62
  The kernel's root is the OPFS root, so any file a kernel process writes, such as `/home/x.html`, has a URL on seven's origin. The service worker serves only BIOS-managed code as live same-origin content:
63
63
 
64
64
  - `/os/` (the seed: the UI page and its modules and workers), `/node_modules/` (the base set: kernel, spectrum, slicc-browsers, slicc-capture, slicc-devices, pnpm, bash, coreutils, findutils, the TLS engine and fnox), and `/opt/agent/` (the agent and its workers);
65
- - the aliases `/auth/callback` (→ `/os/callback.html`, only on an origin of seven's own) and `/oauth/mcp-callback` (→ the agent's `dist/oauth/mcp-callback.html`), the node builtin stubs under `/__slicc/node/`, and `/os/manifest.json`, a redirect to the BIOS's `manifest.json`, so the manifest's relative icons and `start_url` resolve in the BIOS's folder;
65
+ - the aliases `/auth/callback` (→ `/os/callback.html`, only on an origin of seven's own) and `/oauth/mcp-callback` (→ the agent's `dist/oauth/mcp-callback.html`), the node builtin stubs under `/__slicc/node/`, and `/os/manifest.json`, a redirect to the BIOS's `manifest.json`, so the manifest's relative icons and `start_url` resolve in the BIOS's folder, and `/os/favicon.svg`, a redirect to the BIOS's `icons/favicon.svg`, so the UI and the guest page show seven's cone in the tab;
66
66
  - bios's own files, in the BIOS's folder (`index.html`, `bios.js`, `bios.css`, `installer.js`, `sw.js`, `manifest.json`, and `sw/`, `seed/`, `packages/` and `icons/`), and `/fonts/`, which always come from the network, even when OPFS has a file of that name.
67
67
 
68
68
  The live content also carries `Content-Security-Policy: frame-ancestors 'self'` and `X-Frame-Options: SAMEORIGIN`, so only seven's own pages can frame it. The one exception is `/os/` itself, which slicc-extension's side panel may frame too (see [In slicc-extension's side panel](#in-slicc-extensions-side-panel)). That leaves no clickjacking and no framed captures of seven by another site. The hosting sends the same headers for the files it serves itself (sliccy-ai#22).
@@ -144,7 +144,7 @@ A kernel process can still write to `/os/` and `/node_modules/` (any process whi
144
144
  - **Freezer:** every conversation in the session database (slicc-agent ≥ 3.23.0, spectrum ≥ 1.39.0). Live cones show **Open**. A cone deleted with **Delete cone** in Agents (which asks first), an earlier chat left by New chat, or a stopped scoop or agent run stays there with its title, model, kind and message count. **Thaw** brings it back as a cone, and the row then says what it was thawed as. **Remove**, which asks first, deletes its working folders; the conversation stays in the database.
145
145
  - **Settings:** the theme, the model, thinking, diffs, and the Bedrock and Adobe accounts. Below Accounts, **MCP servers** lists every server in the agent's `mcp.json` with its state, and **Add server** adds one without a terminal: a name, an `https:` URL and whether it uses a token (slicc-agent ≥ 7.11.0, spectrum ≥ 1.108.0). The agent writes the file for the page's owner, `0600 root:root`, and an entry it refuses, such as a literal secret, shows its reason in the form and writes nothing. **Remove** takes a server out; to change one, remove it and add it again. The file stays the advanced route from a root terminal: with kernel users on, as on production, the agent reads `/etc/slicc/agent/mcp.json` and ignores a `~/.pi/agent/mcp.json` in any home; with users off (`#users=off`) it reads `/home/.pi/agent/mcp.json`. For a server whose headers use a `${NAME}` placeholder, or one added with a token, **Connect** takes the token (slicc-agent ≥ 3.33.0, spectrum ≥ 1.50.0). A server without an `Authorization` header that answers 401 needs an OAuth sign-in: its row reads *Needs sign-in* with **Sign in**, or *Sign-in expired* (slicc-agent ≥ 3.36.0, spectrum ≥ 1.54.0), which opens a pop-up on the server's authorization server. The agent registers `https://<origin>/oauth/mcp-callback` as its redirect URI, and the service worker serves that path from the agent's `dist/oauth/mcp-callback.html` in `/opt/agent`, which hands the code back over `BroadcastChannel('slicc-mcp-oauth')`, clears its address and closes. Tool cards label MCP calls `server · tool`. The agent's `models` command lists the models of the connected accounts and switches the caller's model (slicc-agent ≥ 3.34.0).
146
146
  - **Keeping seven's files:** at the first chat send in a page session, `os/storage.js` calls `navigator.storage.persist()`, unless storage is already persisted. If Chrome declines, every chat panel shows a warning notice (`model.notices`, spectrum ≥ 1.43.0, from `os/notices.js`): *Seven’s files may be cleared*, saying Chrome may clear seven's files and chats when disk space runs low. Chrome grants persistence by engagement, not by a setting, and installing seven as an app is the reliable way. So when Chrome offers to install (`beforeinstallprompt`), the notice says to install seven as an app and offers **Install**, which opens Chrome's install prompt. Otherwise it says to bookmark seven. A browser without `navigator.userAgentData`, such as WebKit, gets neither piece of advice, which is Chrome's: the notice says only that this browser may clear them. **Ask again** asks once more. After `appinstalled`, seven asks by itself and drops the notice once storage is kept. Dismissing the notice is remembered in `localStorage`. The folder-mount request (see [Folder mounts](#folder-mounts)) stays as it is.
147
- - **Installing as an app:** [`src/manifest.json`](src/manifest.json) makes seven installable. Its name is *SLICC seven* and its launcher label *seven*. It opens standalone, its `id` and `scope` are `/` and its `start_url` is the BIOS's folder (`./`), and its icons in `src/icons/` come as `any` and `maskable`, relative to the manifest. The UI links `manifest.json`, which the service worker redirects to the BIOS's. The app starts at the BIOS, which checks the packages and goes on to `os/` as in a tab, so the service worker, COOP/COEP and the boot path are the same. Both pages link the manifest and set `theme-color` (`#f8f8f8` light, `#1b1b1b` dark); `os.css` gives `html` the same background, so nothing flashes before the UI paints. Each `<branch>.sliccy.ai` is its own origin, so a preview installs as an app of its own.
147
+ - **Installing as an app:** [`src/manifest.json`](src/manifest.json) makes seven installable. Its name is *SLICC seven* and its launcher label *seven*. It opens standalone, its `id` and `scope` are `/` and its `start_url` is the BIOS's folder (`./`), and its icons in `src/icons/` come as `any` and `maskable`, relative to the manifest. The UI links `manifest.json`, which the service worker redirects to the BIOS's. The app starts at the BIOS, which checks the packages and goes on to `os/` as in a tab, so the service worker, COOP/COEP and the boot path are the same. Both pages link the manifest and set `theme-color` (`#f8f8f8` light, `#1b1b1b` dark); `os.css` gives `html` the same background, so nothing flashes before the UI paints. The BIOS page, the UI and the guest page link `icons/favicon.svg`, SLICC's one-scoop cone (the UI and the guest page through the `/os/favicon.svg` redirect). Each `<branch>.sliccy.ai` is its own origin, so a preview installs as an app of its own.
148
148
  - **Adobe sign-in:** **Connect** on the Adobe account signs in to Adobe IMS. IMS only redirects to `www.sliccy.ai/auth/callback`, and seven is cross-origin isolated, so the popup has no opener to report back to. Which path seven uses depends on where it runs:
149
149
  - **On `https://<label>.sliccy.ai`:** seven asks the relay for its own origin (state `{ source: 'origin', origin, nonce }`). The relay navigates the popup to `<origin>/auth/callback`. The service worker serves that page from `os/callback.html`. Its first, inline script keeps the address in memory and replaces it with the bare path before anything loads, and the page sends no referrer. It then hands the nonce and the grant's fields (`access_token`, `expires_in`, `error`, `error_description`) to the tab over the same-origin `BroadcastChannel('slicc-sign-in')`, and closes. The extension isn't needed.
150
150
  - **On `https://www.sliccy.ai`,** where seven shares the origin with the relay page (see [Next to SLICC 6](#next-to-slicc-6-wwwsliccyai7)): seven asks the relay for its `opener` delivery (state `{ source: 'opener', nonce }`). The relay page then posts the redirect to every tab of the origin over `BroadcastChannel('slicc-oauth-relay')`, which seven listens on.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-bios",
3
- "version": "1.70.3",
3
+ "version": "1.71.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",
@@ -49,12 +49,12 @@
49
49
  "format": "biome check --write ."
50
50
  },
51
51
  "devDependencies": {
52
- "@ai-ecoverse/slicc": "1.67.3",
52
+ "@ai-ecoverse/slicc": "1.67.4",
53
53
  "@ai-ecoverse/slicc-browsers": "1.23.0",
54
54
  "@ai-ecoverse/slicc-cdp": "1.48.10",
55
55
  "@ai-ecoverse/slicc-kernel": "1.179.0",
56
56
  "@ai-ecoverse/slicc-shared-web": "2.14.2",
57
- "@ai-ecoverse/slicc-spectrum": "2.14.0",
57
+ "@ai-ecoverse/slicc-spectrum": "2.15.0",
58
58
  "@ai-ecoverse/slicc-vault": "1.25.3",
59
59
  "@biomejs/biome": "2.6.5",
60
60
  "aws4fetch": "1.0.20",
@@ -11,7 +11,7 @@
11
11
  "@ai-ecoverse/slicc-capture": "1.5.0",
12
12
  "@ai-ecoverse/slicc-devices": "1.1.0",
13
13
  "@ai-ecoverse/slicc-kernel": "1.179.0",
14
- "@ai-ecoverse/slicc-spectrum": "2.14.0",
14
+ "@ai-ecoverse/slicc-spectrum": "2.15.0",
15
15
  "@ai-ecoverse/wasi-fnox": "1.47.0-1",
16
16
  "@ai-ecoverse/wasi-pnpm": "12.9.1-21",
17
17
  "@ai-ecoverse/wasm-bash": "5.3.0-23",
@@ -160,9 +160,9 @@
160
160
  }
161
161
  },
162
162
  "node_modules/@ai-ecoverse/slicc-spectrum": {
163
- "version": "2.14.0",
164
- "resolved": "https://registry.npmjs.org/@ai-ecoverse/slicc-spectrum/-/slicc-spectrum-2.14.0.tgz",
165
- "integrity": "sha512-K+BQUzpSlYP3ZgHK3t03E9zcjaWTRJajevgOIzF2zeN6PjCB03Pw2W1QSGLE/9Gc5ejDWMPhgaqPI5gm3Z/HfQ==",
163
+ "version": "2.15.0",
164
+ "resolved": "https://registry.npmjs.org/@ai-ecoverse/slicc-spectrum/-/slicc-spectrum-2.15.0.tgz",
165
+ "integrity": "sha512-xkq+DgwoqO3fLuMDp8OcMTmxNbj7r55XgM1sukC/NXeu7/AIzwj+/p0tx9mSkMfJTTwUGzCHfuEXMFl6bnUWzw==",
166
166
  "license": "Apache-2.0",
167
167
  "engines": {
168
168
  "node": ">=24"
@@ -8,7 +8,7 @@
8
8
  "@ai-ecoverse/slicc-capture": "1.5.0",
9
9
  "@ai-ecoverse/slicc-devices": "1.1.0",
10
10
  "@ai-ecoverse/slicc-kernel": "1.179.0",
11
- "@ai-ecoverse/slicc-spectrum": "2.14.0",
11
+ "@ai-ecoverse/slicc-spectrum": "2.15.0",
12
12
  "@ai-ecoverse/wasi-fnox": "1.47.0-1",
13
13
  "@ai-ecoverse/wasi-pnpm": "12.9.1-21",
14
14
  "@ai-ecoverse/wasm-bash": "5.3.0-23",
@@ -24,8 +24,8 @@ importers:
24
24
  specifier: 1.179.0
25
25
  version: 1.179.0
26
26
  '@ai-ecoverse/slicc-spectrum':
27
- specifier: 2.14.0
28
- version: 2.14.0
27
+ specifier: 2.15.0
28
+ version: 2.15.0
29
29
  '@ai-ecoverse/wasi-fnox':
30
30
  specifier: 1.47.0-1
31
31
  version: 1.47.0-1
@@ -112,8 +112,8 @@ packages:
112
112
  webgpu:
113
113
  optional: true
114
114
 
115
- '@ai-ecoverse/slicc-spectrum@2.14.0':
116
- resolution: {integrity: sha512-K+BQUzpSlYP3ZgHK3t03E9zcjaWTRJajevgOIzF2zeN6PjCB03Pw2W1QSGLE/9Gc5ejDWMPhgaqPI5gm3Z/HfQ==}
115
+ '@ai-ecoverse/slicc-spectrum@2.15.0':
116
+ resolution: {integrity: sha512-xkq+DgwoqO3fLuMDp8OcMTmxNbj7r55XgM1sukC/NXeu7/AIzwj+/p0tx9mSkMfJTTwUGzCHfuEXMFl6bnUWzw==}
117
117
  engines: {node: '>=24'}
118
118
 
119
119
  '@ai-ecoverse/wasi-fnox@1.47.0-1':
@@ -290,7 +290,7 @@ snapshots:
290
290
  - utf-8-validate
291
291
  optional: true
292
292
 
293
- '@ai-ecoverse/slicc-spectrum@2.14.0': {}
293
+ '@ai-ecoverse/slicc-spectrum@2.15.0': {}
294
294
 
295
295
  '@ai-ecoverse/wasi-fnox@1.47.0-1': {}
296
296