pi-agent-browser-native 0.2.70 → 0.2.72
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/CHANGELOG.md +37 -0
- package/README.md +2 -2
- package/dist/extensions/agent-browser/lib/argv-grammar.js +2 -0
- package/dist/extensions/agent-browser/lib/command-taxonomy.js +1 -1
- package/dist/extensions/agent-browser/lib/launch-scoped-flags.js +4 -0
- package/dist/extensions/agent-browser/lib/orchestration/browser-run/prepare/scroll-shims.js +42 -10
- package/dist/extensions/agent-browser/lib/orchestration/browser-run/prepare.js +45 -28
- package/dist/extensions/agent-browser/lib/orchestration/browser-run/process-output.js +2 -1
- package/dist/extensions/agent-browser/lib/playbook.js +2 -2
- package/dist/extensions/agent-browser/lib/process.js +9 -3
- package/dist/extensions/agent-browser/lib/results/categories.js +21 -2
- package/dist/extensions/agent-browser/lib/results/presentation/diagnostics.js +45 -0
- package/docs/ARCHITECTURE.md +2 -1
- package/docs/COMMAND_REFERENCE.md +60 -15
- package/docs/RELEASE.md +1 -1
- package/docs/SUPPORT_MATRIX.md +21 -18
- package/docs/TOOL_CONTRACT.md +10 -9
- package/docs/platform-smoke.md +3 -3
- package/package.json +1 -1
- package/platform-smoke.config.mjs +3 -1
- package/scripts/agent-browser-capability-baseline.mjs +37 -3
package/docs/platform-smoke.md
CHANGED
|
@@ -62,7 +62,7 @@ PLATFORM_SMOKE_MAC_PORT=22
|
|
|
62
62
|
PLATFORM_SMOKE_UBUNTU_IMAGE="pi-agent-browser-native-platform:node24-agent-browser<baseline-version>"
|
|
63
63
|
|
|
64
64
|
PLATFORM_SMOKE_WINDOWS_VM="pi-extension-windows-template"
|
|
65
|
-
PLATFORM_SMOKE_WINDOWS_SNAPSHOT="crabbox-ready"
|
|
65
|
+
PLATFORM_SMOKE_WINDOWS_SNAPSHOT="crabbox-ready-ab-0.33.0"
|
|
66
66
|
PLATFORM_SMOKE_WINDOWS_USER="<windows-ssh-user>"
|
|
67
67
|
PLATFORM_SMOKE_WINDOWS_WORK_ROOT="C:\\crabbox\\pi-agent-browser-native"
|
|
68
68
|
|
|
@@ -80,11 +80,11 @@ Crabbox does not install project runtime tools. The macOS host, Ubuntu image, an
|
|
|
80
80
|
|
|
81
81
|
- Node/npm at or above the configured Node major baseline in [`platform-smoke.config.mjs`](../platform-smoke.config.mjs).
|
|
82
82
|
- Git and `tar`.
|
|
83
|
-
- Upstream `agent-browser` matching this wrapper’s capability baseline. The Ubuntu target gets it from [`scripts/platform-smoke/linux-image/Dockerfile`](../scripts/platform-smoke/linux-image/Dockerfile); the Windows template gets it from the shared `pi-extension-windows-template`
|
|
83
|
+
- Upstream `agent-browser` matching this wrapper’s capability baseline. The Ubuntu target gets it from [`scripts/platform-smoke/linux-image/Dockerfile`](../scripts/platform-smoke/linux-image/Dockerfile); the Windows template gets it from the shared `pi-extension-windows-template` snapshot named in [`platform-smoke.config.mjs`](../platform-smoke.config.mjs) (currently `crabbox-ready-ab-0.33.0`, a child of the shared `crabbox-ready` base used by other projects' linked clones).
|
|
84
84
|
- Browser/runtime dependencies needed by upstream `agent-browser`.
|
|
85
85
|
- Native PowerShell and OpenSSH Server on Windows.
|
|
86
86
|
|
|
87
|
-
For Windows, reuse `pi-extension-windows-template` with the
|
|
87
|
+
For Windows, reuse `pi-extension-windows-template` with the power-off snapshot configured in [`platform-smoke.config.mjs`](../platform-smoke.config.mjs). Do not create one-off project VMs or run tests directly on the source VM. If a reusable tool is missing, update the shared template from the current base snapshot, verify from a fresh SSH session, remove caches/secrets/checkouts, shut down cleanly, and promote a known-good power-off snapshot (a child snapshot is fine when other projects still hold linked clones of an older base).
|
|
88
88
|
|
|
89
89
|
## What the suites prove
|
|
90
90
|
|
package/package.json
CHANGED
|
@@ -22,7 +22,9 @@ export default {
|
|
|
22
22
|
ubuntuContainerImage: PLATFORM_SMOKE_UBUNTU_IMAGE,
|
|
23
23
|
windowsParallels: {
|
|
24
24
|
sourceVm: "pi-extension-windows-template",
|
|
25
|
-
snapshot
|
|
25
|
+
// Shared template snapshot with agent-browser 0.33.0 (+ Chrome 151 for the SSH user).
|
|
26
|
+
// Parent crabbox-ready remains for other projects' linked clones.
|
|
27
|
+
snapshot: "crabbox-ready-ab-0.33.0",
|
|
26
28
|
},
|
|
27
29
|
nodeValidationMajor: 22,
|
|
28
30
|
agentBrowserVersion: PLATFORM_SMOKE_AGENT_BROWSER_VERSION,
|
|
@@ -14,14 +14,18 @@ export const COMMAND_REFERENCE_BASELINE_BLOCK_IDS = Object.freeze(["upstream-bas
|
|
|
14
14
|
|
|
15
15
|
const sourceEvidence = Object.freeze({
|
|
16
16
|
repository: "vercel-labs/agent-browser",
|
|
17
|
-
upstreamHead: "
|
|
18
|
-
upstreamPackageVersion: "0.
|
|
17
|
+
upstreamHead: "1ed371f3af472cc0d6cd8fdaea75d1a085ff7534",
|
|
18
|
+
upstreamPackageVersion: "0.33.0",
|
|
19
19
|
inspectedSources: Object.freeze([
|
|
20
20
|
"agent-browser --version",
|
|
21
21
|
"agent-browser --help",
|
|
22
22
|
"selected agent-browser <command> --help output",
|
|
23
|
+
"agent-browser a11y --help",
|
|
23
24
|
"agent-browser mcp --help",
|
|
24
25
|
"agent-browser plugin --help",
|
|
26
|
+
"agent-browser skills list",
|
|
27
|
+
"agent-browser skills get core --full",
|
|
28
|
+
"agent-browser skills get derive-client --full",
|
|
25
29
|
"README.md",
|
|
26
30
|
"CHANGELOG.md",
|
|
27
31
|
"agent-browser.schema.json",
|
|
@@ -30,8 +34,17 @@ const sourceEvidence = Object.freeze({
|
|
|
30
34
|
"cli/src/read.rs",
|
|
31
35
|
"cli/src/doctor/webgpu.rs",
|
|
32
36
|
"cli/src/native/actions.rs",
|
|
37
|
+
"cli/src/native/a11y/mod.rs",
|
|
38
|
+
"cli/src/native/browser.rs",
|
|
33
39
|
"cli/src/native/daemon.rs",
|
|
40
|
+
"cli/src/output.rs",
|
|
34
41
|
"docs/src/app/webgpu/page.mdx",
|
|
42
|
+
"docs/src/app/network/page.mdx",
|
|
43
|
+
"docs/src/app/selectors/page.mdx",
|
|
44
|
+
"docs/src/app/skills/page.mdx",
|
|
45
|
+
"docs/src/app/commands/page.mdx",
|
|
46
|
+
"skill-data/derive-client/SKILL.md",
|
|
47
|
+
"skill-data/core/SKILL.md",
|
|
35
48
|
"packages/@agent-browser/eve/README.md",
|
|
36
49
|
"packages/@agent-browser/eve/package.json",
|
|
37
50
|
"packages/@agent-browser/eve/test/extension.test.mjs",
|
|
@@ -100,6 +113,7 @@ const helpCommands = Object.freeze([
|
|
|
100
113
|
helpCommand("record help", ["record", "--help"]),
|
|
101
114
|
helpCommand("console help", ["console", "--help"]),
|
|
102
115
|
helpCommand("errors help", ["errors", "--help"]),
|
|
116
|
+
helpCommand("a11y help", ["a11y", "--help"]),
|
|
103
117
|
helpCommand("clipboard help", ["clipboard", "--help"]),
|
|
104
118
|
helpCommand("tap help", ["tap", "--help"]),
|
|
105
119
|
helpCommand("swipe help", ["swipe", "--help"]),
|
|
@@ -127,6 +141,7 @@ const inventorySections = Object.freeze([
|
|
|
127
141
|
"skills get dogfood",
|
|
128
142
|
"skills get vercel-sandbox",
|
|
129
143
|
"skills get agentcore",
|
|
144
|
+
"skills get derive-client",
|
|
130
145
|
"@agent-browser/sandbox",
|
|
131
146
|
"installSystemDependencies: false",
|
|
132
147
|
"skills path [name]",
|
|
@@ -143,11 +158,14 @@ const inventorySections = Object.freeze([
|
|
|
143
158
|
["skills list", "dogfood"],
|
|
144
159
|
["skills list", "vercel-sandbox"],
|
|
145
160
|
["skills list", "agentcore"],
|
|
161
|
+
["skills list", "derive-client"],
|
|
146
162
|
["vercel sandbox skill full", "@agent-browser/sandbox"],
|
|
147
163
|
["vercel sandbox skill full", "installSystemDependencies: false"],
|
|
148
164
|
["core skill full", "agent-browser frame @e3"],
|
|
149
165
|
["core skill full", "agent-browser dialog accept"],
|
|
150
166
|
["core skill full", "agent-browser --session \"$SESSION\" --restore open https://app.example.com"],
|
|
167
|
+
["core skill full", "network har start --content all"],
|
|
168
|
+
["core skill full", "implicit roles work"],
|
|
151
169
|
],
|
|
152
170
|
),
|
|
153
171
|
section(
|
|
@@ -229,6 +247,7 @@ const inventorySections = Object.freeze([
|
|
|
229
247
|
"find last <sel>",
|
|
230
248
|
"find nth <n> <sel>",
|
|
231
249
|
"find role <role> --name <name>",
|
|
250
|
+
"find role heading text --name",
|
|
232
251
|
"find ... --exact",
|
|
233
252
|
"mouse <action> [args]",
|
|
234
253
|
"set <setting> [value]",
|
|
@@ -308,6 +327,8 @@ const inventorySections = Object.freeze([
|
|
|
308
327
|
["find help", "nth <index> <selector>"],
|
|
309
328
|
["find help", "--name <name>"],
|
|
310
329
|
["find help", "--exact"],
|
|
330
|
+
["find help", "case-insensitive"],
|
|
331
|
+
["find help", "click, fill, check, hover, text"],
|
|
311
332
|
root("Mouse: agent-browser mouse <action> [args]"),
|
|
312
333
|
root("Browser Settings: agent-browser set <setting> [value]"),
|
|
313
334
|
["set help", "media [dark|light]"],
|
|
@@ -383,6 +404,9 @@ const inventorySections = Object.freeze([
|
|
|
383
404
|
"network requests [--clear] [--filter <pattern>] [--type <csv>] [--method <method>] [--status <code|range>]",
|
|
384
405
|
"network request <requestId>",
|
|
385
406
|
"network har start",
|
|
407
|
+
"network har start --content all",
|
|
408
|
+
"network har start --content none",
|
|
409
|
+
"network har start --content text",
|
|
386
410
|
"network har stop [path]",
|
|
387
411
|
"cookies [get|set|clear]",
|
|
388
412
|
"cookies set <name> <value> --url <url> --domain <domain> --path <path> --httpOnly --secure --sameSite <Strict|Lax|None> --expires <timestamp>",
|
|
@@ -419,6 +443,9 @@ const inventorySections = Object.freeze([
|
|
|
419
443
|
"react suspense [--only-dynamic] [--json]",
|
|
420
444
|
"vitals [url] [--json]",
|
|
421
445
|
"web-vitals [url] [--json]",
|
|
446
|
+
"a11y [url]",
|
|
447
|
+
"a11y --tags wcag2a,wcag2aa",
|
|
448
|
+
"a11y --selector \"#main\"",
|
|
422
449
|
"removeinitscript <id>",
|
|
423
450
|
],
|
|
424
451
|
[
|
|
@@ -426,6 +453,8 @@ const inventorySections = Object.freeze([
|
|
|
426
453
|
root("--resource-type <csv>"),
|
|
427
454
|
["network help", "unroute [url]"],
|
|
428
455
|
["network help", "network har start"],
|
|
456
|
+
["network help", "network har start --content all"],
|
|
457
|
+
["network help", "--content <mode>"],
|
|
429
458
|
["network help", "network har stop ./capture.har"],
|
|
430
459
|
root("cookies [get|set|clear]"),
|
|
431
460
|
root("cookies set --curl <file>"),
|
|
@@ -455,6 +484,11 @@ const inventorySections = Object.freeze([
|
|
|
455
484
|
root("react renders stop [--json]"),
|
|
456
485
|
root("react suspense [--only-dynamic] [--json]"),
|
|
457
486
|
root("vitals [url] [--json]"),
|
|
487
|
+
root("a11y [url] [--tags <t1,t2>] [--selector <css>] [--json]"),
|
|
488
|
+
["a11y help", "a11y [url]"],
|
|
489
|
+
["a11y help", "--tags <tag1,tag2>"],
|
|
490
|
+
["a11y help", "-s, --selector <css>"],
|
|
491
|
+
["core skill full", "agent-browser a11y"],
|
|
458
492
|
root("removeinitscript <id>"),
|
|
459
493
|
["network help", "requests [options]"],
|
|
460
494
|
["network help", "--type <types>"],
|
|
@@ -810,7 +844,7 @@ const inventorySections = Object.freeze([
|
|
|
810
844
|
]);
|
|
811
845
|
|
|
812
846
|
export const CAPABILITY_BASELINE = Object.freeze({
|
|
813
|
-
targetVersion: "0.
|
|
847
|
+
targetVersion: "0.33.0",
|
|
814
848
|
sourceEvidence,
|
|
815
849
|
helpCommands,
|
|
816
850
|
inventorySections,
|