* windows debugging
* fixes
* fixes
* fix: handle Windows path separators in Chrome zip extraction
The zip crate's enclosed_name() normalizes paths to use backslashes on
Windows, but extract_zip used split_once('/') which only matches forward
slashes. This caused Chrome to be extracted into a nested chrome-win64/
subdirectory instead of directly into the version directory.
Also adds debug diagnostics to find_installed_chrome() (gated behind
AGENT_BROWSER_DEBUG) and better error messages when Chrome cache exists
but no binary is found.
Fixes #1076
* feat: add Puppeteer browser cache as Chrome fallback
Search ~/.cache/puppeteer/chrome/ (or PUPPETEER_CACHE_DIR) for Chrome
binaries before falling back to Playwright's cache. Puppeteer v19+
stores Chrome for Testing in this location, so users with an existing
Puppeteer install can use agent-browser without a separate install step.
* fmt
67 lines
715 B
Plaintext
67 lines
715 B
Plaintext
# Dependencies
|
|
node_modules/
|
|
|
|
# Build output
|
|
dist/
|
|
|
|
# Native binaries (keep the launcher scripts)
|
|
bin/agent-browser-*
|
|
bin/.install-method
|
|
!bin/agent-browser
|
|
!bin/agent-browser.cmd
|
|
|
|
# Rust build artifacts
|
|
cli/target/
|
|
cli/*.o
|
|
|
|
# Logs
|
|
*.log
|
|
npm-debug.log*
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Python
|
|
__pycache__/
|
|
|
|
# Test artifacts
|
|
*.png
|
|
*.jpeg
|
|
*.jpg
|
|
*.webm
|
|
test/e2e/.dogfood-output/
|
|
|
|
# Package manager
|
|
package-lock.json
|
|
yarn.lock
|
|
|
|
# Environment
|
|
.env
|
|
.env.local
|
|
|
|
# Windows debug instance config
|
|
scripts/windows-debug/.instance
|
|
|
|
# opensrc - source code for packages
|
|
opensrc/
|
|
|
|
# Docs site
|
|
docs/node_modules/
|
|
docs/.next/
|
|
docs/out/
|
|
docs/package-lock.json
|
|
|
|
# pnpm
|
|
.pnpm-store/
|
|
|
|
# next
|
|
.next/
|
|
out/
|