@orkestrel/browser 0.0.13 → 0.0.15
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 -3
- package/dist/src/core/index.cjs +2574 -2355
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +1185 -720
- package/dist/src/core/index.d.ts +1185 -720
- package/dist/src/core/index.js +2544 -2322
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +317 -215
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.d.cts +198 -118
- package/dist/src/server/index.d.ts +198 -118
- package/dist/src/server/index.js +310 -206
- package/dist/src/server/index.js.map +1 -1
- package/package.json +15 -15
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ diagnostics, structured DOM snapshots, content distillation that selects a
|
|
|
9
9
|
document's article rather than its whole body text, and `BrowserCodegen`)
|
|
10
10
|
never touches `node:*` or the DOM; the Node runtime (`src/server`)
|
|
11
11
|
adapts it with a `WebSocketCDPTransport`, browser process launch/discovery
|
|
12
|
-
(`node:child_process` + `fetch`), a filesystem
|
|
12
|
+
(`node:child_process` + `fetch`), a filesystem browser writer, and the
|
|
13
13
|
`Browser` façade that ties launch → context → page together. Part of the
|
|
14
14
|
`@orkestrel` line.
|
|
15
15
|
|
|
@@ -60,7 +60,7 @@ const result = await client.send('Page.navigate', { url: 'https://example.com' }
|
|
|
60
60
|
|
|
61
61
|
For the full surface — the CDP dispatch core, the `BrowserContext` /
|
|
62
62
|
`BrowserPage` / `BrowserCodegen` entities, the server transports, and usage
|
|
63
|
-
patterns — see [`guides/
|
|
63
|
+
patterns — see [`guides/browser.md`](guides/browser.md).
|
|
64
64
|
|
|
65
65
|
## Package
|
|
66
66
|
|
|
@@ -69,7 +69,7 @@ the environment-agnostic core (`.`) — `CDPClient`, `BrowserContext`,
|
|
|
69
69
|
`BrowserPage`, `BrowserFrame`, DOM snapshot traversal helpers,
|
|
70
70
|
`BrowserCodegen`, `createCDPClient`, `CDPTransportInterface` —
|
|
71
71
|
and the Node-only server surface (`./server`) — `Browser`, `createBrowser`,
|
|
72
|
-
`createCDPTransport`, `
|
|
72
|
+
`createCDPTransport`, `createBrowserWriter`, `WebSocketCDPTransport`.
|
|
73
73
|
|
|
74
74
|
## License
|
|
75
75
|
|