{"_id":"@ap3x/browser-agent","name":"@ap3x/browser-agent","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ap3x/browser-agent","version":"0.1.0","description":"Browser-driving agent over @ap3x/browser, with an MCP server","repository":{"type":"git","url":"git+https://github.com/AP3X-Dev/AP3X.git","directory":"packages/browser-agent"},"license":"MIT","publishConfig":{"access":"public"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./testing":{"types":"./dist/testing.d.ts","default":"./dist/testing.js"}},"bin":{"ap3x-browser-mcp":"dist/mcp/bin.js"},"scripts":{"build":"tsup src/index.ts src/testing.ts src/mcp/bin.ts --format esm --clean --tsconfig tsconfig.build.json && tsc -p tsconfig.build.json","prepublishOnly":"node ../../scripts/publish-gate.mjs","test":"vitest run"},"dependencies":{"@ap3x/agent-core":"0.1.0","@ap3x/ai":"0.1.0","@ap3x/browser":"0.1.0","@modelcontextprotocol/sdk":"^1.29.0","@sinclair/typebox":"^0.34.49","fflate":"^0.8.3","gifenc":"1.0.3","pdfjs-dist":"^4.10.38"},"devDependencies":{"esbuild":"^0.28.1","fast-check":"^4.8.0"},"_id":"@ap3x/browser-agent@0.1.0","gitHead":"572dcf9cfde958270d2c9b5404aa5bc1dc2cbeea","bugs":{"url":"https://github.com/AP3X-Dev/AP3X/issues"},"homepage":"https://github.com/AP3X-Dev/AP3X#readme","_nodeVersion":"20.18.2","_npmVersion":"11.5.1","dist":{"integrity":"sha512-2KA0ya74eosR8vDU88l+ZZSrAHkFQbgwdfzSOM1yIlfuk6pLXIjt4T1H9CDep+ibdcZ+1ugcIcbiA+BRCP1b2g==","shasum":"f9689f70ec33457bf5014ae2d97727e418b4c89b","tarball":"https://registry.npmjs.org/@ap3x/browser-agent/-/browser-agent-0.1.0.tgz","fileCount":74,"unpackedSize":260111,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC3VjRYbCvt4vnYp8mSEvkke/17es0wsWvPokcQnV/GzQIgfZCh82us3qos8MIczPXFn1oCeLEIYdZCU1OL5td4VHI="}]},"_npmUser":{"name":"botstack","email":"GuerrillaMedia702@gmail.com"},"directories":{},"maintainers":[{"name":"botstack","email":"GuerrillaMedia702@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/browser-agent_0.1.0_1785555012879_0.7245656095115234"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-01T03:30:12.756Z","0.1.0":"2026-08-01T03:30:13.043Z","modified":"2026-08-01T03:30:13.226Z"},"maintainers":[{"name":"botstack","email":"GuerrillaMedia702@gmail.com"}],"description":"Browser-driving agent over @ap3x/browser, with an MCP server","homepage":"https://github.com/AP3X-Dev/AP3X#readme","repository":{"type":"git","url":"git+https://github.com/AP3X-Dev/AP3X.git","directory":"packages/browser-agent"},"bugs":{"url":"https://github.com/AP3X-Dev/AP3X/issues"},"license":"MIT","readme":"# @ap3x/browser-agent\n\nThe agent that drives a browser: a step loop, an action registry, run history, and replay — plus an MCP server exposing it to any MCP client.\n\nPart of [AP3X](https://github.com/AP3X-Dev/AP3X) — a TypeScript multi-agent framework.\n\n## Install\n\n```bash\nnpm install @ap3x/browser-agent\n```\n\n## What's inside\n\n- **Step loop** — perceive, decide, act, with a structured output schema and a multi-action executor.\n- **Action registry** — `defineAction` with an explicit context object; actions are filtered per page.\n- **Sensitive data** — a placeholder pipeline that keeps secrets out of model context.\n- **FileSystem workspace** — a contained workspace with PDF and DOCX reads.\n- **Run history + replay** — record a run, then replay it deterministically with element re-matching.\n- **Captcha watchdog** — page-state detection that emits a typed signal; it never attempts to solve.\n\n## MCP server\n\n```bash\nnpx ap3x-browser-mcp\n```\n\n## Documentation\n\nSee the [AP3X repository](https://github.com/AP3X-Dev/AP3X) for architecture notes, the full package map, and examples.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_rev":"1-1b4e396a484cde9b4f84fdc04c736006"}