agent-browser 0.23.1 → 0.23.3
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 -1
- package/bin/agent-browser-darwin-arm64 +0 -0
- package/bin/agent-browser-darwin-x64 +0 -0
- package/bin/agent-browser-linux-arm64 +0 -0
- package/bin/agent-browser-linux-musl-arm64 +0 -0
- package/bin/agent-browser-linux-musl-x64 +0 -0
- package/bin/agent-browser-linux-x64 +0 -0
- package/bin/agent-browser-win32-x64.exe +0 -0
- package/package.json +3 -8
- package/scripts/check-version-sync.js +14 -2
- package/scripts/sync-version.js +12 -0
- package/skills/agent-browser/SKILL.md +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# agent-browser
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Browser automation CLI for AI agents. Fast native Rust CLI.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -626,6 +626,7 @@ The dashboard displays:
|
|
|
626
626
|
- **Live viewport** -- real-time JPEG frames from the browser
|
|
627
627
|
- **Activity feed** -- chronological command/result stream with timing and expandable details
|
|
628
628
|
- **Console output** -- browser console messages (log, warn, error)
|
|
629
|
+
- **Session creation** -- create new sessions from the UI with local engines (Chrome, Lightpanda) or cloud providers (Browserbase, Browserless, Browser Use, Kernel)
|
|
629
630
|
|
|
630
631
|
## Configuration
|
|
631
632
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-browser",
|
|
3
|
-
"version": "0.23.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.23.3",
|
|
4
|
+
"description": "Browser automation CLI for AI agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"bin",
|
|
@@ -29,9 +29,7 @@
|
|
|
29
29
|
"url": "https://github.com/vercel-labs/agent-browser/issues"
|
|
30
30
|
},
|
|
31
31
|
"homepage": "https://agent-browser.dev",
|
|
32
|
-
"devDependencies": {
|
|
33
|
-
"@changesets/cli": "^2.29.8"
|
|
34
|
-
},
|
|
32
|
+
"devDependencies": {},
|
|
35
33
|
"scripts": {
|
|
36
34
|
"version:sync": "node scripts/sync-version.js",
|
|
37
35
|
"version": "npm run version:sync && git add cli/Cargo.toml",
|
|
@@ -43,9 +41,6 @@
|
|
|
43
41
|
"build:docker": "docker build -t agent-browser-builder -f docker/Dockerfile.build .",
|
|
44
42
|
"release": "npm run version:sync && npm run build:all-platforms && npm publish",
|
|
45
43
|
"postinstall": "node scripts/postinstall.js",
|
|
46
|
-
"changeset": "changeset",
|
|
47
|
-
"ci:version": "changeset version && pnpm run version:sync && pnpm install --no-frozen-lockfile",
|
|
48
|
-
"ci:publish": "pnpm run version:sync && changeset publish",
|
|
49
44
|
"build:dashboard": "cd packages/dashboard && pnpm build"
|
|
50
45
|
}
|
|
51
46
|
}
|
|
@@ -27,10 +27,22 @@ if (!cargoVersionMatch) {
|
|
|
27
27
|
|
|
28
28
|
const cargoVersion = cargoVersionMatch[1];
|
|
29
29
|
|
|
30
|
+
// Read dashboard package.json version
|
|
31
|
+
const dashboardPkg = JSON.parse(readFileSync(join(rootDir, 'packages/dashboard/package.json'), 'utf-8'));
|
|
32
|
+
const dashboardVersion = dashboardPkg.version;
|
|
33
|
+
|
|
34
|
+
const mismatches = [];
|
|
30
35
|
if (packageVersion !== cargoVersion) {
|
|
36
|
+
mismatches.push(` cli/Cargo.toml: ${cargoVersion}`);
|
|
37
|
+
}
|
|
38
|
+
if (packageVersion !== dashboardVersion) {
|
|
39
|
+
mismatches.push(` packages/dashboard: ${dashboardVersion}`);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
if (mismatches.length > 0) {
|
|
31
43
|
console.error('Version mismatch detected!');
|
|
32
|
-
console.error(` package.json:
|
|
33
|
-
console.error(
|
|
44
|
+
console.error(` package.json: ${packageVersion}`);
|
|
45
|
+
for (const m of mismatches) console.error(m);
|
|
34
46
|
console.error('');
|
|
35
47
|
console.error("Run 'pnpm run version:sync' to fix this.");
|
|
36
48
|
process.exit(1);
|
package/scripts/sync-version.js
CHANGED
|
@@ -44,6 +44,18 @@ if (cargoVersionRegex.test(cargoToml)) {
|
|
|
44
44
|
process.exit(1);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
// Update packages/dashboard/package.json
|
|
48
|
+
const dashboardPkgPath = join(rootDir, "packages", "dashboard", "package.json");
|
|
49
|
+
const dashboardPkg = JSON.parse(readFileSync(dashboardPkgPath, "utf-8"));
|
|
50
|
+
if (dashboardPkg.version !== version) {
|
|
51
|
+
const oldVersion = dashboardPkg.version;
|
|
52
|
+
dashboardPkg.version = version;
|
|
53
|
+
writeFileSync(dashboardPkgPath, JSON.stringify(dashboardPkg, null, 2) + "\n");
|
|
54
|
+
console.log(` Updated packages/dashboard/package.json: ${oldVersion} -> ${version}`);
|
|
55
|
+
} else {
|
|
56
|
+
console.log(` packages/dashboard/package.json already up to date`);
|
|
57
|
+
}
|
|
58
|
+
|
|
47
59
|
// Update Cargo.lock to match Cargo.toml
|
|
48
60
|
if (cargoTomlUpdated) {
|
|
49
61
|
try {
|
|
@@ -733,7 +733,7 @@ agent-browser open example.com
|
|
|
733
733
|
agent-browser dashboard stop
|
|
734
734
|
```
|
|
735
735
|
|
|
736
|
-
The dashboard runs independently of browser sessions on port 4848 (configurable with `--port`). All sessions automatically stream to the dashboard.
|
|
736
|
+
The dashboard runs independently of browser sessions on port 4848 (configurable with `--port`). All sessions automatically stream to the dashboard. Sessions can also be created from the dashboard UI with local engines or cloud providers.
|
|
737
737
|
|
|
738
738
|
## Ready-to-Use Templates
|
|
739
739
|
|