{"_id":"@alexledger/tau","_rev":"2-60d3c4d54bd5b2516c37c322d8509827","name":"@alexledger/tau","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"@alexledger/tau","version":"0.0.1","author":{"name":"Alex Ledger"},"license":"MIT","_id":"@alexledger/tau@0.0.1","maintainers":[{"name":"alexledger","email":"alex@alexledger.net"}],"homepage":"https://github.com/aled1027/pi-browser#readme","bugs":{"url":"https://github.com/aled1027/pi-browser/issues"},"dist":{"shasum":"81a4fddb9f88d4402d70f3e62ad2a736820c8df4","tarball":"https://registry.npmjs.org/@alexledger/tau/-/tau-0.0.1.tgz","fileCount":4,"integrity":"sha512-HVLQ6aswcypca/wp6WimMVOak8uFCJPEJg9mLhtdlyfuXxSg+dC9XVzd/5QvierXrSa9AwPDSTL1D5Wk2hxHrA==","signatures":[{"sig":"MEUCIFONgqSt6YYyN1AH+6w4qcBuwT1i9jPDNoC5pE09XzsAAiEA2QBxOJiLFrH9FeYDunQJ6LN6bJ6BtQEWj+2zhsADXR0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":111928},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"fcc6c21a47cf2acb560808a4d3aa9343d58c9b63","scripts":{"test":"vitest run","build":"npm run clean && rollup -c","clean":"rm -r dist 2>/dev/null; true","typecheck":"tsc --noEmit","test:watch":"vitest","build:watch":"rollup -c --watch","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"alexledger","email":"alex@alexledger.net"},"repository":{"url":"git+https://github.com/aled1027/pi-browser.git","type":"git"},"workspaces":["examples/*"],"_npmVersion":"10.9.3","description":"A browser automation library","directories":{},"_nodeVersion":"22.18.0","_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.0.0","vitest":"^4.0.18","typescript":"^5.7.0","fake-indexeddb":"^6.2.5","rollup-plugin-dts":"^6.0.0","@vitest/coverage-v8":"^4.0.18","@rollup/plugin-typescript":"^12.0.0"},"_npmOperationalInternal":{"tmp":"tmp/tau_0.0.1_1771038190240_0.47330278799085757","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@alexledger/tau","version":"0.0.5","type":"module","description":"A browser automation library","license":"MIT","author":{"name":"Alex Ledger"},"repository":{"type":"git","url":"git+https://github.com/aled1027/tau.git"},"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":"./dist/index.js","types":"./dist/index.d.ts"}},"scripts":{"clean":"rm -r dist 2>/dev/null; true","build":"npm run clean && rollup -c","build:watch":"rollup -c --watch","typecheck":"tsc --noEmit","test":"vitest run","test:coverage":"vitest run --coverage","test:watch":"vitest"},"workspaces":["examples/*"],"devDependencies":{"@rollup/plugin-typescript":"^12.0.0","@vitest/coverage-v8":"^4.0.18","fake-indexeddb":"^6.2.5","rollup":"^4.0.0","rollup-plugin-dts":"^6.0.0","tslib":"^2.8.1","typescript":"^5.7.0","vitest":"^4.0.18"},"gitHead":"272389ebd3946a9bd5ca98b3518bf1a326d19055","_id":"@alexledger/tau@0.0.5","bugs":{"url":"https://github.com/aled1027/tau/issues"},"homepage":"https://github.com/aled1027/tau#readme","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-f9PeZaDkKtxOYCbyJVYkt8D2jn7n9Enu45+dMPIFtPYuJx0snY/wYQ95gdSIaQe7fcfNScVwX8KJBbegbS9+Vg==","shasum":"18af3333de44885d6674f31c3f3faaf7f248a3f2","tarball":"https://registry.npmjs.org/@alexledger/tau/-/tau-0.0.5.tgz","fileCount":4,"unpackedSize":111921,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alexledger%2ftau@0.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC8Yz2x35t2eDQBiWhnox6w6qlC6F41LmFZdOJzkyTZhwIgRylP9iBudTSaY6t0tG/hDzbbQuVbLXgdmRfiOawJ4/Q="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c4b9513e-6c96-4c1d-9ec7-d9a5cfba9c5d"}},"directories":{},"maintainers":[{"name":"alexledger","email":"alex@alexledger.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/tau_0.0.5_1771039565959_0.3898690803941245"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-14T03:03:10.152Z","modified":"2026-02-14T03:26:06.456Z","0.0.1":"2026-02-14T03:03:10.378Z","0.0.5":"2026-02-14T03:26:06.099Z"},"bugs":{"url":"https://github.com/aled1027/tau/issues"},"author":{"name":"Alex Ledger"},"license":"MIT","homepage":"https://github.com/aled1027/tau#readme","repository":{"type":"git","url":"git+https://github.com/aled1027/tau.git"},"description":"A browser automation library","maintainers":[{"name":"alexledger","email":"alex@alexledger.net"}],"readme":"# tau\n\nA browser-based AI coding agent powered by [OpenRouter](https://openrouter.ai/). Includes a core agent library and several example applications. Tau is by the [pi coding agent](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent) and [co-do](https://co-do.xyz/).\n\n- Website:https://aled1027.github.com/tau\n- Docs:https://aled1027.github.com/tau/docs\n- Demos: https://aled1027.github.com/tau/examples\n\n> **:warning: WARNING**  \n>\n> This tool allows execution of **arbitrary code** in your browser tab.  \n> Running untrusted code may be dangerous and could harm your system.  \n> **Use with caution!**\n\n## TODO:\n\n- Later: sync state or export. export would be download a zip and maybe could\n\n## Quick start\n\n```typescript\nimport { Agent } from \"tau\";\n\nconst openrouterApiKey = \"sk-or-....\"\nconst agent = await Agent.create({ apiKey: openrouterApiKey });\n\nconst res1 = await agent.prompt(\"Write hello world in Python\");\nconsole.log(res1.text);\n\nconst res2 = await agent.prompt(\"What time is it?\");\nconsole.log(res2.text);\n```\n\nSee [docs/tau-core.md](docs/tau-core.md) for the full API reference.\n\n\n## Setup\n\n```bash\nnpm install    # installs root + all examples via workspaces\nnpm run build  # builds the core library to dist/\n```\n\n## Development\n\nRun the library build in watch mode alongside an example:\n\n```bash\nnpm run build:watch          # rebuild library on changes\n\n# If you want to test with an app, then do:\ncd your/app/path/\nnpm run dev\n```\n\n## Examples\n\n- **Chat** (`npm run dev:chat`) — Minimal chat interface (Lit + Vite)\n- **Tutor** (`npm run dev:tutor`) — AI tutor with skills and prompt templates (Lit + Vite)\n- **SvelteKit Chat** (`npm run dev:sveltekit`) — Chat app built with SvelteKit\n\nExamples import the library as `\"tau\"` via `file:` references resolved through npm workspaces.\n\nTo run the examples:\n\n```bash\nnpm run build\n\n# In a separate terminal:\ncd examples/chat\nnpm run dev\n```\n\n","readmeFilename":"README.md"}