@ai-ecoverse/slicc 1.61.11 → 1.61.13
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 +3 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -321,6 +321,7 @@ Release builds (a plain `X.Y.Z` version, linked in or, for `go install`, from th
|
|
|
321
321
|
| `SLICC_OPEN_COMMAND` | test-only: `slicc open` runs this program with the pairing URL as its only argument instead of opening the default browser; the integration tests always set it |
|
|
322
322
|
| `SLICC_PROTECTED_PORTS` | test-only: `<first>-<last>` (or one port), more [debugging ports](#network-policy) denied in every mode on top of 9222-9229 (never instead of them), so tests can prove the range on fake ports without touching the real ones. A malformed value exits 1 |
|
|
323
323
|
| `SLICC_CDP_GUARD_IDLE`, `SLICC_CDP_GUARD_LIMIT` | test-only: Go durations (such as `2s`) that shorten the [`cdp`](#cdp-browser-control) guard's idle bound (30 s) and outer bound (5 min) on a target's setup and on a session it doesn't know yet. A longer value counts as the default, and so does 0, a negative value or one that doesn't parse, so the variables can never widen or turn off the guard |
|
|
324
|
+
| `SLICC_CDP_EXTENSION_PAINT_HOLD` | test-only: a Go duration that shortens the 10 s hold on a `Page.captureScreenshot` reply while the extension-frame visibility probe runs. A longer value counts as the default, and so does 0, a negative value or one that doesn't parse |
|
|
324
325
|
| `SLICC_LOOPBACK_ANSWER_DELAY` | test-only: a Go duration (at most 5 s) that the [loopback listener](#linking-seven-in-your-everyday-browser) waits after a signal's pin check and before it answers, so tests can unpair a page in between |
|
|
325
326
|
| `SLICC_LOOPBACK_PORTS` | test-only: `<first>-<last>`, the port range of the [loopback listener](#linking-seven-in-your-everyday-browser) instead of 17117-17126 |
|
|
326
327
|
| `SLICC_LINK_URL` | inside seven only: the link facade's address, `tcp://127.0.0.1:<port>` (see [Inside seven](#inside-seven)) |
|
|
@@ -632,7 +633,8 @@ slicc attach --cdp <url> [--cdp-extra <url>]... [--origin <origin>]... [--signal
|
|
|
632
633
|
- A closed tab ends the link, and slicc waits for another seven tab.
|
|
633
634
|
- A tab that closes while slicc attaches to it doesn't stop slicc: each setup call has 10 s, and when the tab is gone slicc looks for another seven tab.
|
|
634
635
|
- A crashed tab (`Target.targetCrashed`, or `Inspector.targetCrashed` on slicc's session) isn't a closed one: slicc says `seven tab crashed`, ends the link with that reason, and doesn't set up again on the dead page, whose renderer would never answer. It reloads the tab with `Page.reload` (`reloading the seven tab`) and sets up again once the browser reports `Inspector.targetReloadedAfterCrash`, or after 30 s. A tab that is running again by the time slicc looks is set up without a reload. slicc reloads at most 3 times in 5 minutes; after that it says `the seven tab keeps crashing. Reload it and slicc links it again` and waits until someone reloads the tab, closes it, or opens another seven tab, which it then prefers.
|
|
635
|
-
- A setup that fails while the browser connection is up doesn't stop slicc either: a call that times out or fails on a tab that is still there is tried again from the start after 1 s, doubling to 30 s, with `couldn't link the seven tab (<error>), trying again in <wait>`. A setup that succeeds resets the wait. Only a lost browser connection, or slicc stopping, ends the setup; then `slicc` (the default)
|
|
636
|
+
- A setup that fails while the browser connection is up doesn't stop slicc either: a call that times out or fails on a tab that is still there is tried again from the start after 1 s, doubling to 30 s, with `couldn't link the seven tab (<error>), trying again in <wait>`. A setup that succeeds resets the wait. Only a lost browser connection, or slicc stopping, ends the setup; then `slicc` (the default) first tries to reattach, `attach` exits 1, and agent commands stop with the error.
|
|
637
|
+
- A lost browser connection isn't a closed browser: Chrome drops its DevTools connections when the Mac goes to sleep, lid closed included, and keeps running. `slicc` (the default) says `lost the debugging connection to <name>; reattaching`, connects to the same endpoint again every 1 s, and on success says `reattached to <name>` and links seven again. It ends as when the browser closes (`<name> closed`) once a browser it launched has exited, as soon as the endpoint refuses connections (nothing listens on its port any more), or when 30 s of other failed tries pass, time asleep not counted.
|
|
636
638
|
|
|
637
639
|
**Setup over stdio** (`--signal stdio`), for a test harness that owns CDP itself:
|
|
638
640
|
- The same messages go as NDJSON: slicc writes `hello`, `answer`, `candidate` and `bye` lines to stdout, and reads `offer`, `candidate` and `bye` lines from stdin. Messages with another nonce are ignored.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc",
|
|
3
|
-
"version": "1.61.
|
|
3
|
+
"version": "1.61.13",
|
|
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.61.
|
|
22
|
-
"@ai-ecoverse/slicc-darwin-amd64": "1.61.
|
|
23
|
-
"@ai-ecoverse/slicc-linux-arm64": "1.61.
|
|
24
|
-
"@ai-ecoverse/slicc-linux-amd64": "1.61.
|
|
25
|
-
"@ai-ecoverse/slicc-windows-arm64": "1.61.
|
|
26
|
-
"@ai-ecoverse/slicc-windows-amd64": "1.61.
|
|
21
|
+
"@ai-ecoverse/slicc-darwin-arm64": "1.61.13",
|
|
22
|
+
"@ai-ecoverse/slicc-darwin-amd64": "1.61.13",
|
|
23
|
+
"@ai-ecoverse/slicc-linux-arm64": "1.61.13",
|
|
24
|
+
"@ai-ecoverse/slicc-linux-amd64": "1.61.13",
|
|
25
|
+
"@ai-ecoverse/slicc-windows-arm64": "1.61.13",
|
|
26
|
+
"@ai-ecoverse/slicc-windows-amd64": "1.61.13",
|
|
27
27
|
"@ai-ecoverse/slicc-jerk": "^1.4.2"
|
|
28
28
|
}
|
|
29
29
|
}
|