agent-browser-stealth 0.27.0-fork.1 → 0.27.0-fork.11

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.
Binary file
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "agent-browser-stealth",
3
- "version": "0.27.0-fork.1",
3
+ "version": "0.27.0-fork.11",
4
4
  "description": "Browser automation CLI for AI agents — stealth fork with anti-detection",
5
5
  "type": "module",
6
+ "packageManager": "pnpm@11.1.3",
6
7
  "files": [
7
8
  "bin",
8
9
  "scripts",
@@ -21,9 +22,9 @@
21
22
  "version": "npm run version:sync && git add cli/Cargo.toml",
22
23
  "build:native": "npm run version:sync && cargo build --release --manifest-path cli/Cargo.toml && node scripts/copy-native.js",
23
24
  "build:linux": "npm run version:sync && docker compose -f docker/docker-compose.yml run --rm build-linux",
24
- "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",
25
+ "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",
25
26
  "build:windows": "npm run version:sync && docker compose -f docker/docker-compose.yml run --rm build-windows",
26
- "build:all-platforms": "npm run version:sync && (npm run build:linux & npm run build:windows & wait) && npm run build:macos",
27
+ "build:all-platforms": "npm run version:sync && npm run build:linux && npm run build:windows && npm run build:macos",
27
28
  "build:docker": "docker build -t agent-browser-builder -f docker/Dockerfile.build .",
28
29
  "release": "npm run version:sync && npm run build:all-platforms && npm publish --tag fork",
29
30
  "postinstall": "node scripts/postinstall.js"
@@ -243,6 +243,9 @@ agent-browser screenshot --full full.png # full scroll height
243
243
  agent-browser screenshot --annotate map.png # numbered labels + legend keyed to snapshot refs
244
244
  ```
245
245
 
246
+ Headless Chromium screenshots hide native scrollbars for consistent image output.
247
+ Pass `--hide-scrollbars false` when launching to keep native scrollbars visible.
248
+
246
249
  `--annotate` is designed for multimodal models: each label `[N]` maps to ref `@eN`.
247
250
 
248
251
  ### Handle multiple pages via tabs
@@ -103,6 +103,9 @@ agent-browser screenshot --full # Full page
103
103
  agent-browser pdf output.pdf # Save as PDF
104
104
  ```
105
105
 
106
+ Headless Chromium screenshots hide native scrollbars for consistent image output.
107
+ Pass `--hide-scrollbars false` when launching to keep native scrollbars visible.
108
+
106
109
  ## Video Recording
107
110
 
108
111
  ```bash
@@ -309,6 +312,7 @@ agent-browser --headers <json> ... # HTTP headers scoped to URL's origin
309
312
  agent-browser --executable-path <p> # Custom browser executable
310
313
  agent-browser --extension <path> ... # Load browser extension (repeatable)
311
314
  agent-browser --ignore-https-errors # Ignore SSL certificate errors
315
+ agent-browser --hide-scrollbars false # Keep native scrollbars visible in headless Chromium screenshots
312
316
  agent-browser --help # Show help (-h)
313
317
  agent-browser --version # Show version (-V)
314
318
  agent-browser <command> --help # Show detailed help for a command
@@ -383,6 +387,7 @@ AGENT_BROWSER_EXECUTABLE_PATH="/path/chrome" # Custom browser path
383
387
  AGENT_BROWSER_EXTENSIONS="/ext1,/ext2" # Comma-separated extension paths
384
388
  AGENT_BROWSER_INIT_SCRIPTS="/a.js,/b.js" # Comma-separated init script paths
385
389
  AGENT_BROWSER_ENABLE="react-devtools" # Comma-separated built-in init script features
390
+ AGENT_BROWSER_HIDE_SCROLLBARS="false" # Keep native scrollbars visible in headless Chromium screenshots
386
391
  AGENT_BROWSER_PROVIDER="browserbase" # Cloud browser provider
387
392
  AGENT_BROWSER_STREAM_PORT="9223" # Override WebSocket streaming port (default: OS-assigned)
388
393
  AGENT_BROWSER_HOME="/path/to/agent-browser" # Custom install location