@ai-ecoverse/slicc 1.51.0 → 1.51.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 +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -404,7 +404,7 @@ The cdp list follows the browsers: an extra that stops answering is taken off th
|
|
|
404
404
|
| Esc | back, in the profile chooser |
|
|
405
405
|
| `q`, Ctrl-C | quit; in the dashboard, close down as described above |
|
|
406
406
|
|
|
407
|
-
**The dashboard** follows, in sections: BROWSERS (launched or attached, their CDP port, hosts seven or extra, `gone` while one doesn't answer, and `unlisted` for an extra left off the cdp list because it has no browser session); SEVEN (the tab, the link state (`waiting for seven`, `connecting`, `linked` with its uptime, `reconnecting` after a link is lost, while slicc waits for seven to offer again, or `relinking` while new capabilities are applied), the policy summary, and stream counts per kind, open and total, never contents); CAPABILITIES (the network capabilities always offered, then `jerk`, `shell` with `ssh via <runner>`, `kernel` with its URL, or why it is off, and the shared folders); RECENT (the last status lines, links in green, losses in yellow, errors in red); and the update notice, which then isn't printed on stderr. Keys: `c` capabilities, `m` share a folder, `q` quit. `NO_COLOR` turns colors off.
|
|
407
|
+
**The dashboard** follows, in sections: BROWSERS (launched or attached, their CDP port, hosts seven or extra, `gone` while one doesn't answer, and `unlisted` for an extra left off the cdp list because it has no browser session; a row shows at most one of the two, and each new link, a relink too, clears both and marks what it reports again); SEVEN (the tab, the link state (`waiting for seven`, `connecting`, `linked` with its uptime, `reconnecting` after a link is lost, while slicc waits for seven to offer again, or `relinking` while new capabilities are applied), the policy summary, and stream counts per kind, open and total, never contents); CAPABILITIES (the network capabilities always offered, then `jerk`, `shell` with `ssh via <runner>`, `kernel` with its URL, or why it is off, and the shared folders); RECENT (the last status lines, links in green, losses in yellow, errors in red); and the update notice, which then isn't printed on stderr. Keys: `c` capabilities, `m` share a folder, `q` quit. `NO_COLOR` turns colors off.
|
|
408
408
|
|
|
409
409
|
**The dashboard after `Default browser`** links seven over loopback, as `slicc open` does, and opens the pairing URL in the default browser. In place of BROWSERS it shows `Default browser paired over loopback · no cdp hosts seven`; SEVEN starts with the pairing URL (a link where the terminal supports it, wrapped to the terminal's width, good once, for 10 minutes) until seven links, then `↵ for a URL to pair another seven`. The other sections are as above. Its capabilities are those of the command line: the capabilities screen and `m` aren't offered, so changing them means restarting slicc. Keys: `↵` a new pairing URL, `y` copies the URL to the clipboard (OSC 52), `q` quit.
|
|
410
410
|
|
|
@@ -559,7 +559,7 @@ slicc attach --cdp <url> [--cdp-extra <url>]... [--origin <origin>]... [--signal
|
|
|
559
559
|
`attach` links a seven that is open in a running CDP browser and serves the link until it is interrupted (`SIGINT`, `SIGTERM`), or until stdin closes with `--signal stdio`. Status lines go to stderr, and `SLICC_DEBUG=1` adds diagnostics, pion's included. pion never writes to stderr itself.
|
|
560
560
|
|
|
561
561
|
**Flags.**
|
|
562
|
-
- `--cdp`: the browser's endpoint
|
|
562
|
+
- `--cdp`: the browser's endpoint, in any form `slicc browsers --cdp` takes, here and on `prompt`, `watch`, `wait` and `abort`. `http://host:port`, with [a token path](#browsers) if the browser wants one, is looked up through `GET /json/version`, and `ws://…` is used as is. `host:port` is `http://host:port`, and a bare port is `http://127.0.0.1:<port>`. As in `slicc browsers`, a trailing `/` and a trailing `/json/version`, `/json/list` or `/json` are ignored. slicc talks to the browser WebSocket only and attaches to the tab with `Target.attachToTarget { flatten: true }`. It names one browser; a second `--cdp` is an error. This browser is also listed for the [`cdp`](#cdp-browser-control) capability, with `seven: true`.
|
|
563
563
|
- `--cdp-extra`: another browser seven may drive over the link (repeatable), in any form `slicc browsers --cdp` takes. Each must answer when `attach` starts.
|
|
564
564
|
- `--origin`: also accept seven on this origin (`scheme://host[:port]`), repeatable. `https://<label>.sliccy.ai` is always accepted, except `www`.
|
|
565
565
|
- `--signal`: `cdp` (default) or `stdio`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc",
|
|
3
|
-
"version": "1.51.
|
|
3
|
+
"version": "1.51.2",
|
|
4
4
|
"description": "SLICC's command line for seven: links a machine's network, compute and browsers to seven over WebRTC",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"node": ">=18"
|
|
19
19
|
},
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@ai-ecoverse/slicc-darwin-arm64": "1.51.
|
|
22
|
-
"@ai-ecoverse/slicc-darwin-amd64": "1.51.
|
|
23
|
-
"@ai-ecoverse/slicc-linux-arm64": "1.51.
|
|
24
|
-
"@ai-ecoverse/slicc-linux-amd64": "1.51.
|
|
25
|
-
"@ai-ecoverse/slicc-windows-arm64": "1.51.
|
|
26
|
-
"@ai-ecoverse/slicc-windows-amd64": "1.51.
|
|
21
|
+
"@ai-ecoverse/slicc-darwin-arm64": "1.51.2",
|
|
22
|
+
"@ai-ecoverse/slicc-darwin-amd64": "1.51.2",
|
|
23
|
+
"@ai-ecoverse/slicc-linux-arm64": "1.51.2",
|
|
24
|
+
"@ai-ecoverse/slicc-linux-amd64": "1.51.2",
|
|
25
|
+
"@ai-ecoverse/slicc-windows-arm64": "1.51.2",
|
|
26
|
+
"@ai-ecoverse/slicc-windows-amd64": "1.51.2",
|
|
27
27
|
"@ai-ecoverse/slicc-jerk": "^1.3.9"
|
|
28
28
|
}
|
|
29
29
|
}
|