@ai-ecoverse/slicc-cdp 1.47.3 → 1.47.5
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/bin/curlwright.wasm +0 -0
- package/bin/playwright-cli.wasm +0 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -29,7 +29,7 @@ npm install @ai-ecoverse/slicc-cdp
|
|
|
29
29
|
|
|
30
30
|
Windows binaries are on the [releases page](https://github.com/ai-ecoverse/slicc-cdp/releases/latest).
|
|
31
31
|
|
|
32
|
-
`playwright-cli upgrade`, or `playwright-cli update`, replaces a prebuilt `playwright-cli` with the latest release, in place. It fetches over https only, and the download must match the release's `SHA256SUMS` and report the release version. `--check` only reports whether a newer release exists. It only replaces a binary it can write; a development build needs `--force`, and a copy installed with Cargo is left to `cargo install slicc-cdp`. The wasm build can't upgrade itself.
|
|
32
|
+
`playwright-cli upgrade`, or `playwright-cli update`, replaces a prebuilt `playwright-cli` with the latest release, in place. It fetches over https only, and the download must match the release's `SHA256SUMS` and report the release version. It finds the latest release without the GitHub API, whose 60 requests an hour per IP address without a token a shared network or CI runner uses up: it reads the tag from the redirect of `https://github.com/ai-ecoverse/slicc-cdp/releases/latest` (only the tag; the download URLs are built from it) and downloads `SHA256SUMS` and the binary from `releases/download/<tag>/`. When github.com names no release, it asks `GET /repos/ai-ecoverse/slicc-cdp/releases/latest` on the API, with `GH_TOKEN` (or else `GITHUB_TOKEN`) as a bearer token when set; the token goes to the API only, and a used-up rate limit is named in the error. `SLICC_UPDATE_WEB_BASE` and `SLICC_UPDATE_API_BASE` replace `https://github.com` and `https://api.github.com`, for mirrors and tests; with only `SLICC_UPDATE_API_BASE` set, it asks that API only. `--check` only reports whether a newer release exists. It only replaces a binary it can write; a development build needs `--force`, and a copy installed with Cargo is left to `cargo install slicc-cdp`. The wasm build can't upgrade itself.
|
|
33
33
|
|
|
34
34
|
## Use
|
|
35
35
|
|
|
@@ -203,7 +203,7 @@ playwright-cli -s capture record https://example.com --filter='**/api/**'
|
|
|
203
203
|
playwright-cli -s capture stop-recording <recordingId>
|
|
204
204
|
```
|
|
205
205
|
|
|
206
|
-
`record [url] [--filter=<glob>] [--content omit|embed] [--mode full|minimal] [--include-credentials]` opens a new tab (default `about:blank`), attaches before navigating, and writes
|
|
206
|
+
`record [url] [--filter=<glob>] [--content omit|embed] [--mode full|minimal] [--include-credentials]` opens a new tab (default `about:blank`), attaches before navigating, and writes `<user-config>/slicc/playwright-cli/recordings/<recordingId>/recording.har` beside saved sessions (for example `~/Library/Application Support/slicc/…` on macOS or `~/.config/slicc/…` on Linux). Its JSON `ready` event prints the recordingId and path. The filter is a URL glob; slicc6's arbitrary JavaScript filter functions are rejected with an explanatory error. `stop-recording [recordingId]` aliases `har-stop`; an optional ID must belong to the same session. The Microsoft action commands remain `recording-start` and `recording-stop`.
|
|
207
207
|
- Microsoft's `video-*` and `tracing-*` commands are not offered: `Page.startScreencast` and `Tracing.start` keep capturing across navigations, including into protected documents, and the guard refuses both.
|
|
208
208
|
|
|
209
209
|
## Develop
|
package/bin/curlwright.wasm
CHANGED
|
Binary file
|
package/bin/playwright-cli.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc-cdp",
|
|
3
|
-
"version": "1.47.
|
|
3
|
+
"version": "1.47.5",
|
|
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,7 +71,7 @@
|
|
|
71
71
|
"@ai-ecoverse/slicc-browsers": "1.21.1",
|
|
72
72
|
"@ai-ecoverse/slicc-cdp": "1.43.0",
|
|
73
73
|
"@ai-ecoverse/slicc-jsh": "0.64.0",
|
|
74
|
-
"@ai-ecoverse/slicc-kernel": "1.
|
|
74
|
+
"@ai-ecoverse/slicc-kernel": "1.177.0",
|
|
75
75
|
"@ai-ecoverse/slicc-shared-web": "2.13.10",
|
|
76
76
|
"@ai-ecoverse/wasi-pnpm": "12.9.1-21",
|
|
77
77
|
"@ai-ecoverse/wasm-bash": "5.3.0-23",
|