@ai-ecoverse/slicc 1.61.16 → 1.62.0

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 +1 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -865,6 +865,7 @@ Only browsers the user named are listed: the one seven runs in, `--cdp` and `--c
865
865
  **OPEN** `{ "kind": "cdp", "browser": "<id>" }`, page → node. For each stream the node reads the browser's `/json/version` again and opens a fresh WebSocket to its `webSocketDebuggerUrl`, so each stream is its own CDP client with its own sessions. A `wsOnly` browser is dialled at its websocket URL directly. Dial and handshake together get 10 s.
866
866
  - **OPENED:** `{ "product", "protocolVersion" }`, the `Browser` and `Protocol-Version` fields of `/json/version` (from `Browser.getVersion` for a `wsOnly` browser).
867
867
  - **RESET:** `ENOENT` for an id that isn't listed, `ECONNREFUSED` when the browser doesn't answer, `EPROTO` for an OPEN without `browser`.
868
+ - A client `Browser.getVersion` result the guard forwards includes `slicc: { "route": "link" }` as a hint that a guard sits in the path (absence means no information); an inbound `slicc` key on that result is replaced, Chrome's other fields stay, and an error reply is left alone.
868
869
 
869
870
  **Bytes**, both directions: a sequence of messages, each a `u32` BE length plus one UTF-8 CDP JSON message of at most 64 MiB (67 108 864 bytes). The node sends each page message as one WebSocket text message, and each text message from the browser as one stream message, after the filter below. A length over 64 MiB from the page, or a browser message over 64 MiB, is `RESET EMSGSIZE`, and a page END in the middle of a message is `RESET EPROTO`. Browser messages that start with `{"method":"Network.webSocketFrameReceived"` or `{"method":"Network.webSocketFrameSent"` are dropped: seven runs inside a browser it may debug, so those events would carry the CDP traffic itself and grow without bound.
870
871
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc",
3
- "version": "1.61.16",
3
+ "version": "1.62.0",
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.16",
22
- "@ai-ecoverse/slicc-darwin-amd64": "1.61.16",
23
- "@ai-ecoverse/slicc-linux-arm64": "1.61.16",
24
- "@ai-ecoverse/slicc-linux-amd64": "1.61.16",
25
- "@ai-ecoverse/slicc-windows-arm64": "1.61.16",
26
- "@ai-ecoverse/slicc-windows-amd64": "1.61.16",
21
+ "@ai-ecoverse/slicc-darwin-arm64": "1.62.0",
22
+ "@ai-ecoverse/slicc-darwin-amd64": "1.62.0",
23
+ "@ai-ecoverse/slicc-linux-arm64": "1.62.0",
24
+ "@ai-ecoverse/slicc-linux-amd64": "1.62.0",
25
+ "@ai-ecoverse/slicc-windows-arm64": "1.62.0",
26
+ "@ai-ecoverse/slicc-windows-amd64": "1.62.0",
27
27
  "@ai-ecoverse/slicc-jerk": "^1.4.2"
28
28
  }
29
29
  }