@ai-ecoverse/slicc-cdp 1.43.1 → 1.44.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.
package/README.md CHANGED
@@ -44,6 +44,8 @@ curlwright -i https://example.com/
44
44
 
45
45
  `--cdp` and `SLICC_CDP_URL` take a port, `host`, `host:port` (port 9222 when it is left out), an `http://` or `https://` URL, or a `ws://` or `wss://` URL. A `ws://` or `wss://` URL with a path is dialled as it is; every other form reads `/json/version` first. The client tries every address the host resolves to, and `localhost`, `127.0.0.1`, `::1` (`[::1]`) and `0.0.0.0` all mean this machine: both `::1` and `127.0.0.1` are tried. Every address but the last gets two seconds to connect.
46
46
 
47
+ A `wss://` or `https://` endpoint on this machine with a self-signed certificate takes a pin: set `SLICC_CDP_CERT_SHA256` to the certificate's SHA-256 fingerprint, as 64 hex digits, with or without colons (`openssl x509 -noout -fingerprint -sha256`). The certificate must then match exactly, and it is checked before anything is sent, so a wrong certificate never sees the token in a URL. The pin replaces certificate verification only for names of this machine (`localhost`, `127.0.0.1`, `::1`, `0.0.0.0` and `::`); any other host is verified as usual, and a value that isn't a fingerprint is an error. The wasm build has no TLS: in the kernel, a program reaches the browser through the `ws://` URL in `SLICC_CDP_URL`, and the page that hosts the kernel holds any `wss://` socket.
48
+
47
49
  When the other end closes the connection, for example a relay with `1011` and a reason, the command stops and prints `websocket closed <code> <reason>`, wherever the close arrived, a guard check included. Nothing more is sent on that connection, and a check the close cut short still fails the command.
48
50
 
49
51
  Seven's origins, the vault, browser pages, extensions and local files are always off limits. `goto` and `navigate` can leave a blocked error tab for an ordinary HTTP(S) destination without exposing its old document. A page containing a protected or unverified frame refuses whole-page screenshots, PDF output, Runtime, DOM, CSS, accessibility reads, input and WebMCP tool reads and change notifications, including operations in its ordinary frames. The check includes frames already loaded in other renderer processes and is repeated before returning content. Unplaced frames fail closed. Screencasts, layer snapshots, headless frame capture and tab mirroring remain unsupported; unadmitted screencast events are stopped and discarded.
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-cdp",
3
- "version": "1.43.1",
3
+ "version": "1.44.0",
4
4
  "description": "SLICC's CDP layer: client, browser API, transports, HAR, and ARIA snapshot",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -71,13 +71,13 @@
71
71
  "@ai-ecoverse/slicc-browsers": "1.18.21",
72
72
  "@ai-ecoverse/slicc-cdp": "1.43.0",
73
73
  "@ai-ecoverse/slicc-jsh": "0.63.30",
74
- "@ai-ecoverse/slicc-kernel": "1.170.3",
74
+ "@ai-ecoverse/slicc-kernel": "1.172.2",
75
75
  "@ai-ecoverse/slicc-shared-web": "2.13.7",
76
76
  "@ai-ecoverse/wasi-pnpm": "12.9.1-21",
77
77
  "@ai-ecoverse/wasm-bash": "5.3.0-23",
78
78
  "@ai-ecoverse/wasm-coreutils": "9.12.0-15",
79
79
  "@ai-ecoverse/wasm-tls-engine": "4.2.0-12",
80
- "@biomejs/biome": "2.6.2",
80
+ "@biomejs/biome": "2.6.3",
81
81
  "lefthook": "2.2.2",
82
82
  "semantic-release": "25.0.9"
83
83
  }