Add provider icons and session creation from the dashboard UI. Sessions can now be created with cloud providers (Browserbase, Browserless, Browser Use, Kernel) in addition to local engines. CLI changes: - Track provider via .provider files alongside .engine files - Add WaitUntil::None variant to skip lifecycle event waits for providers - Auto-set waitUntil=none when --provider is used with navigate - Fix Browser Use: use direct WSS connection (wss://connect.browser-use.com) - Add connect_cdp_direct for providers with page-level CDP proxies - Fix resolve_cdp_url to convert https:// provider URLs to wss:// - Treat empty CDP session_id as None (omit from protocol messages) - Fix Browserbase: send explicit JSON body + Content-Type header - Increase CDP connect timeout to 25s for remote providers - Clean up .provider files on session close Dashboard changes: - Show provider or engine icon per session in sidebar - New session dialog with unified engine/provider selector grid - Async session creation with loading state and error display - Kill zombie daemons on provider connection failure - Parse CLI JSON error output for user-friendly messages - Default new session URL to https://agent-browser.dev
52 lines
2.1 KiB
JSON
52 lines
2.1 KiB
JSON
{
|
|
"name": "agent-browser",
|
|
"version": "0.23.1",
|
|
"description": "Browser automation CLI for AI agents",
|
|
"type": "module",
|
|
"files": [
|
|
"bin",
|
|
"scripts",
|
|
"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",
|
|
"changeset": "changeset",
|
|
"ci:version": "changeset version && pnpm run version:sync && pnpm install --no-frozen-lockfile",
|
|
"ci:publish": "pnpm run version:sync && changeset publish",
|
|
"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": {
|
|
"@changesets/cli": "^2.29.8"
|
|
}
|
|
}
|