Release binaries / Build macOS ARM64 (push) Has been cancelled
Release binaries / Build macOS x64 (push) Has been cancelled
Release binaries / Build Linux ARM64 (push) Has been cancelled
Release binaries / Build Linux musl ARM64 (push) Has been cancelled
Release binaries / Build Linux musl x64 (push) Has been cancelled
Release binaries / Build Linux x64 (push) Has been cancelled
Release binaries / Build Windows x64 (push) Has been cancelled
Release binaries / Attach binaries to GitHub Release (push) Has been cancelled
- wait --url: the arg parser never read `--timeout`, so a non-matching pattern waited the large default and wedged the daemon. Parse it. Also: matching was a literal substring (`includes`) so globs never matched — convert `**`/`*`/`?` globs to an anchored regex. And `poll_until_true` now bounds each probe with a timeout and tolerates transient navigation errors, so a hung `Runtime.evaluate` can never block past the deadline (un-wedges the daemon). - find role <role> [--name]: the query was `[role="X"], X`, which matches a literal <X> tag / explicit attribute but NOT implicit-role elements — so `find role link` (<a href>) and `find role heading` (<h1>) never matched. Add a proper ARIA-role → implicit-element map and broaden accessible-name matching (aria-label/title/alt/value/text). - click on a syntactically-invalid selector returned `✓ Done`: querySelector throws, and Runtime.evaluate returned the thrown DOMException as an objectId that was clicked as if it were the element. Check exception_details → error. - output: a title-less page now prints `✓ <url>` instead of an empty title line. - docs(skill): tab refs are `t2`, not `2` (SKILL.md, electron). Verified live (isolated launch): wait --url glob matches instantly; non-matching honors --timeout (2s) and leaves the daemon responsive; find role link/heading match; invalid selector errors. Unit tests added for the glob + role map + parse.
56 lines
2.3 KiB
JSON
56 lines
2.3 KiB
JSON
{
|
|
"name": "agent-browser-stealth",
|
|
"version": "0.27.0-fork.32",
|
|
"description": "Browser automation CLI for AI agents — stealth fork with anti-detection",
|
|
"type": "module",
|
|
"packageManager": "pnpm@11.1.3",
|
|
"files": [
|
|
"bin",
|
|
"scripts",
|
|
"skills",
|
|
"skill-data",
|
|
"extensions"
|
|
],
|
|
"bin": {
|
|
"agent-browser-stealth": "bin/agent-browser.js",
|
|
"agent-browser": "bin/agent-browser.js",
|
|
"abs": "bin/agent-browser.js"
|
|
},
|
|
"scripts": {
|
|
"prepare": "husky",
|
|
"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 && bash -c 'cargo build --release --manifest-path cli/Cargo.toml --target aarch64-apple-darwin & PID1=$!; cargo build --release --manifest-path cli/Cargo.toml --target x86_64-apple-darwin & PID2=$!; wait $PID1 || exit 1; wait $PID2 || exit 1' && 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 && 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 --tag fork",
|
|
"postinstall": "node scripts/postinstall.js"
|
|
},
|
|
"keywords": [
|
|
"browser",
|
|
"automation",
|
|
"headless",
|
|
"chrome",
|
|
"cdp",
|
|
"cli",
|
|
"agent",
|
|
"stealth",
|
|
"anti-detection"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/leeguooooo/agent-browser-stealth.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/leeguooooo/agent-browser-stealth/issues"
|
|
},
|
|
"homepage": "https://github.com/leeguooooo/agent-browser-stealth",
|
|
"devDependencies": {
|
|
"husky": "^9.0.11"
|
|
}
|
|
}
|