@ai-ecoverse/slicc-spectrum 1.84.3 → 1.85.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 +5 -3
- package/dist/{chunk-CTTFVKOY.js → chunk-2QEG6O3B.js} +3111 -3008
- package/dist/chunk-2QEG6O3B.js.map +7 -0
- package/dist/slicc-dummy.js +7 -0
- package/dist/slicc-dummy.js.map +2 -2
- package/dist/slicc-kernel-model.js +30 -1
- package/dist/slicc-kernel-model.js.map +2 -2
- package/dist/slicc-ui.js +9 -4
- package/dist/slicc-ui.js.map +2 -2
- package/dist/types/app/follow.d.ts +1 -1
- package/dist/types/dummy/follow.d.ts +1 -1
- package/dist/types/model/types.d.ts +1 -0
- package/package.json +4 -4
- package/dist/chunk-CTTFVKOY.js.map +0 -7
package/README.md
CHANGED
|
@@ -877,7 +877,9 @@ The guest's model lists only the cone, its `messages()` are the cone's transcrip
|
|
|
877
877
|
|
|
878
878
|
Later backed by: BIOS.
|
|
879
879
|
Only on a follower page, a SLICC that shows another SLICC's agent over a link.
|
|
880
|
-
`state()` returns the `FollowState`: `owner` (its display name), `link` (`connecting` for the first connection, `connected`, `reconnecting` after a connection dropped, `unlinked` when the owner unlinked this device, or `failed`), `access` (`{ view, control, terminal }`, what the owner allows this device), an optional `name` (this device's name on the owner, for the waiting page)
|
|
880
|
+
`state()` returns the `FollowState`: `owner` (its display name), `link` (`connecting` for the first connection, `connected`, `reconnecting` after a connection dropped, `unlinked` when the owner unlinked this device, or `failed`), `access` (`{ view, control, terminal }`, what the owner allows this device), an optional `name` (this device's name on the owner, for the waiting page), an optional `error` (shown when `failed`) and an optional `refused`.
|
|
881
|
+
`refused` is the agent's sentence while the owner's agent won't take this device, such as another agent version; clear it once a follow session connects.
|
|
882
|
+
While it's set and `link` is `connected`, the follow light is neutral and reads "Can’t follow {owner}", its popover shows `refused`, the chat has no watch-only note for it (the embedder shows the warning; an agent port's own `readOnly` sentence still shows), and the page stays read-only with terminals off, even with Control.
|
|
881
883
|
Emit `follow` when it changes.
|
|
882
884
|
Connected without `view` means waiting to be allowed.
|
|
883
885
|
`leave()` forgets the link and the optional `retry()` tries again from `failed`.
|
|
@@ -912,7 +914,7 @@ Like bios, `actions()` keeps the latest 500 per tab from the last 24 hours, 5,00
|
|
|
912
914
|
`createDummyModel({ tabs: 'owner' | 'follower' | 'connecting' | 'stalled' | 'newer' | 'older' | 'alone' | 'off' })` (or `?tabs=` on `/ui/`, off by default) adds a tabs port in that state; `model.tabs.setScenario()` switches it, and Reload connects again and becomes a follower after a short wait.
|
|
913
915
|
`tabsFixtures` and `DummyTabs` are exported from `/dummy`.
|
|
914
916
|
|
|
915
|
-
`createDummyModel({ follow: 'connecting' | 'waiting' | 'watch' | 'control' | 'full' | 'reconnecting' | 'unlinked' | 'failed' })` (`?follow=` on `/ui/`, which then leaves out the network port and offers only agents, chat, terminal and settings) makes the page a follower of SLICC on quay-studio: connecting, waiting to be allowed, View only, View and Control, everything, reconnecting, unlinked,
|
|
917
|
+
`createDummyModel({ follow: 'connecting' | 'waiting' | 'watch' | 'control' | 'full' | 'reconnecting' | 'unlinked' | 'failed' | 'refused' })` (`?follow=` on `/ui/`, which then leaves out the network port and offers only agents, chat, terminal and settings) makes the page a follower of SLICC on quay-studio: connecting, waiting to be allowed, View only, View and Control, everything, reconnecting, unlinked, failed, where Try again connects with everything allowed, or refused, with everything allowed but another agent version.
|
|
916
918
|
Leave counts in `model.follow.left` (the `/ui/` page then drops `?follow=`), and `model.follow.setScenario()` switches it.
|
|
917
919
|
`followFixtures` and `DummyFollow` are exported from `/dummy`.
|
|
918
920
|
`?links=followers` lists quay-studio (a CLI on this computer, Control always allowed), pier-nuc (a remote CLI, prompting), bay-laptop (a follower with everything allowed, watching, a terminal open), reef-phone (View only, watching) and tide-tablet (asking to follow); every links scenario has a follow link.
|
|
@@ -965,7 +967,7 @@ app.model = createKernelModel({ kernel, root, storage: localStorage, files: { sk
|
|
|
965
967
|
|
|
966
968
|
- **`KernelFiles`** lists the OPFS root as the tree, reads and writes files through the OPFS API, and removes them recursively.
|
|
967
969
|
Directories in `skip` show up but aren't scanned; paths in `hide` (and everything under them) don't show up at all.
|
|
968
|
-
`start()` rescans
|
|
970
|
+
`start()` rescans when a `FileSystemObserver` record touches something the tree shows: at once after a quiet `interval` (default 2000 ms), then at most once per `interval`. Records only inside `hide` paths or below `skip` folders start no rescan. Where the browser can't observe OPFS, it rescans every `interval` ms. A rescan that finds changes emits `files` and a `file` per changed file, so open tabs follow what the terminal writes.
|
|
969
971
|
Without an agent there are no pending changes.
|
|
970
972
|
- **`KernelTerminals`** opens `bash -i` (or `argv`) in `cwd` (default `/home`) as `user` (default the kernel's, `root`) through `kernelBackend`, one session per terminal, as many as the user opens.
|
|
971
973
|
`open` (default 1) is how many it starts with.
|