@ai-ecoverse/slicc 1.50.0 → 1.50.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 +2 -2
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -355,7 +355,7 @@ Without `--browser`, the first row of the ranking that can host seven is chosen,
355
355
 
356
356
  **What the link offers:** `net` (tcp, resolve), `http`, `ws`, `udp`, and `cdp` with the browser that hosts seven (`seven: true`) and every extra, under the local policy with all of their debugging ports protected, and this machine's other debugging ports too (see [Network policy](#network-policy)); and kernel services on `--kernel-port` (default 80, or a spare port when this user can't have 80; `--no-kernel` turns them off) when seven offers `kernel-in` (see [Kernel services](#kernel-services)); and `ssh` only with `--runner` (see [SSH server](#ssh-server)); and `fs` with each `--mount` folder (see [Host folders](#host-folders)). seven gets full control of every listed browser, the one it runs in too. The `cdp` list (HELLO `browsers`) has only the browser that hosts seven and the extras picked with `--browser` or in the picker; the other browsers discovery found are never offered.
357
357
 
358
- The cdp list follows the browsers: an extra that stops answering is taken off the list (`browser-gone`), and listed again with the same id when it answers on the same endpoint again (`browser-back`).
358
+ The cdp list follows the browsers: an extra that stops answering is taken off the list (`browser-gone`), and listed again with the same id when it answers on the same endpoint again (`browser-back`). An extra that never made the list, because it has no browser session (see [What a browser must offer](#cdp-browser-control)), gets one `browser-gone` right after the link starts.
359
359
 
360
360
  **Flags.**
361
361
  - `--browser <id>`: an id from `slicc browsers` (an installed id such as `chrome`, or `cdp:<host>:<port>`), or a name, case-insensitively. Repeatable: the first hosts seven, the others are extras. Without it, the best match that can host seven. An endpoint in SLICC six's profile is refused (`<id> is SLICC six's Chrome; only --profile six uses it`).
@@ -536,7 +536,7 @@ slicc attach --cdp <url> [--cdp-extra <url>]... [--origin <origin>]... [--signal
536
536
  `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.
537
537
 
538
538
  **Flags.**
539
- - `--cdp`: the browser's endpoint. `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. 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`.
539
+ - `--cdp`: the browser's endpoint. `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. As in `slicc browsers`, a trailing `/` and a trailing `/json/version`, `/json/list` or `/json` are ignored, here and on `prompt`, `watch`, `wait` and `abort`. 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`.
540
540
  - `--cdp-extra`: another browser seven may drive over the link (repeatable), in any form `slicc browsers --cdp` takes. Each must answer when `attach` starts.
541
541
  - `--origin`: also accept seven on this origin (`scheme://host[:port]`), repeatable. `https://<label>.sliccy.ai` is always accepted, except `www`.
542
542
  - `--signal`: `cdp` (default) or `stdio`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc",
3
- "version": "1.50.0",
3
+ "version": "1.50.1",
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.50.0",
22
- "@ai-ecoverse/slicc-darwin-amd64": "1.50.0",
23
- "@ai-ecoverse/slicc-linux-arm64": "1.50.0",
24
- "@ai-ecoverse/slicc-linux-amd64": "1.50.0",
25
- "@ai-ecoverse/slicc-windows-arm64": "1.50.0",
26
- "@ai-ecoverse/slicc-windows-amd64": "1.50.0",
21
+ "@ai-ecoverse/slicc-darwin-arm64": "1.50.1",
22
+ "@ai-ecoverse/slicc-darwin-amd64": "1.50.1",
23
+ "@ai-ecoverse/slicc-linux-arm64": "1.50.1",
24
+ "@ai-ecoverse/slicc-linux-amd64": "1.50.1",
25
+ "@ai-ecoverse/slicc-windows-arm64": "1.50.1",
26
+ "@ai-ecoverse/slicc-windows-amd64": "1.50.1",
27
27
  "@ai-ecoverse/slicc-jerk": "^1.3.9"
28
28
  }
29
29
  }