{"_id":"@ap3x/browser","name":"@ap3x/browser","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ap3x/browser","version":"0.1.0","description":"Chrome DevTools Protocol browser control primitives","repository":{"type":"git","url":"git+https://github.com/AP3X-Dev/AP3X.git","directory":"packages/browser"},"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"}},"scripts":{"build":"tsup src/index.ts src/testing.ts --format esm --clean --tsconfig tsconfig.build.json && tsc -p tsconfig.build.json","prepublishOnly":"node ../../scripts/publish-gate.mjs","test":"vitest run"},"dependencies":{"@sinclair/typebox":"^0.34.49","devtools-protocol":"^0.0.1464554","ws":"^8.18.0"},"devDependencies":{"@types/ws":"^8.18.0","fast-check":"^4.8.0"},"_id":"@ap3x/browser@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-4JY3/EngQ6x+3i1rtRNZLtWZcL/vlex4g/vVsG3ZDhF/1hKyMCpCC80mgPlGP6yq1Ws/LZANZVrYsRnDNJ9wBQ==","shasum":"89d3cb20fef7bf07dbc518abb24b8ec4c47acabc","tarball":"https://registry.npmjs.org/@ap3x/browser/-/browser-0.1.0.tgz","fileCount":88,"unpackedSize":324905,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBDYRYR0yEfm1Y3es1zu+6fF/lxOgVxTZuxcutkpTvTaAiAzV3LG5g0kpj7adX+bi6EIQtR8qavX1b1lUe1q2Jw6Lw=="}]},"_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_0.1.0_1785555007523_0.6111295543371229"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-01T03:30:07.392Z","0.1.0":"2026-08-01T03:30:07.685Z","modified":"2026-08-01T03:30:07.881Z"},"maintainers":[{"name":"botstack","email":"GuerrillaMedia702@gmail.com"}],"description":"Chrome DevTools Protocol browser control primitives","homepage":"https://github.com/AP3X-Dev/AP3X#readme","repository":{"type":"git","url":"git+https://github.com/AP3X-Dev/AP3X.git","directory":"packages/browser"},"bugs":{"url":"https://github.com/AP3X-Dev/AP3X/issues"},"license":"MIT","readme":"# @ap3x/browser\n\nPrimitives for driving Chromium over the Chrome DevTools Protocol: sessions, navigation, DOM extraction, input, screenshots, and recording.\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\n```\n\n## What's inside\n\n- **`openBrowserSession(config)`** — the entry point; resolves to a local launch or a remote CDP endpoint.\n- **CDP transport** — typed protocol access with a target registry and reconnect handling.\n- **DOM** — extraction, serialization, clickability and paint-order analysis, and stable element hashing.\n- **Navigation** — a navigation policy with domain allow-lists and IP-blocking rules.\n- **Input** — human-like input dispatch with dialog resilience.\n- **Capture** — screenshots, HAR recording, and screencast.\n\nThe agent that drives these lives in [`@ap3x/browser-agent`](https://www.npmjs.com/package/@ap3x/browser-agent).\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-e0f1aef00ebcf43f22e3ab93d83fbaed"}