* fix(test): tolerate stale screencast frames in viewport e2e test Chrome's `Page.startScreencast` `maxWidth`/`maxHeight` are upper bounds, and early frames can arrive before the viewport resize fully takes effect. Instead of asserting exact JPEG dimensions on the first frame, skip frames with stale dimensions and wait for one that matches. * Prepare v0.25.5
48 lines
1.9 KiB
JSON
48 lines
1.9 KiB
JSON
{
|
|
"name": "agent-browser",
|
|
"version": "0.25.5",
|
|
"description": "Browser automation CLI for AI agents",
|
|
"type": "module",
|
|
"files": [
|
|
"bin",
|
|
"scripts",
|
|
"skill-data",
|
|
"skills"
|
|
],
|
|
"bin": {
|
|
"agent-browser": "./bin/agent-browser.js"
|
|
},
|
|
"scripts": {
|
|
"version:sync": "node scripts/sync-version.js",
|
|
"version": "npm run version:sync && git add cli/Cargo.toml",
|
|
"build:native": "npm run version:sync && cargo build --release --manifest-path cli/Cargo.toml && node scripts/copy-native.js",
|
|
"build:linux": "npm run version:sync && docker compose -f docker/docker-compose.yml run --rm build-linux",
|
|
"build:macos": "npm run version:sync && (cargo build --release --manifest-path cli/Cargo.toml --target aarch64-apple-darwin & cargo build --release --manifest-path cli/Cargo.toml --target x86_64-apple-darwin & wait) && cp cli/target/aarch64-apple-darwin/release/agent-browser bin/agent-browser-darwin-arm64 && cp cli/target/x86_64-apple-darwin/release/agent-browser bin/agent-browser-darwin-x64",
|
|
"build:windows": "npm run version:sync && docker compose -f docker/docker-compose.yml run --rm build-windows",
|
|
"build:all-platforms": "npm run version:sync && (npm run build:linux & npm run build:windows & wait) && npm run build:macos",
|
|
"build:docker": "docker build -t agent-browser-builder -f docker/Dockerfile.build .",
|
|
"release": "npm run version:sync && npm run build:all-platforms && npm publish",
|
|
"postinstall": "node scripts/postinstall.js",
|
|
"build:dashboard": "cd packages/dashboard && pnpm build"
|
|
},
|
|
"keywords": [
|
|
"browser",
|
|
"automation",
|
|
"headless",
|
|
"chrome",
|
|
"cdp",
|
|
"cli",
|
|
"agent"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/vercel-labs/agent-browser.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/vercel-labs/agent-browser/issues"
|
|
},
|
|
"homepage": "https://agent-browser.dev",
|
|
"devDependencies": {}
|
|
}
|