{"_id":"@abquanta/openrouter-headless-agent","name":"@abquanta/openrouter-headless-agent","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@abquanta/openrouter-headless-agent","version":"1.0.0","description":"Minimal headless OpenRouter CLI agent with streaming and tool support.","main":"index.js","scripts":{"test":"node --import tsx --test src/**/*.test.ts","start:headless":"tsx src/cli.ts","dev":"tsx watch src/cli.ts","start":"node dist/cli.js","build":"tsc","lint":"echo \"No lint configured\""},"keywords":[],"author":"","license":"ISC","type":"module","dependencies":{"@openrouter/sdk":"^0.8.0","eventemitter3":"^5.0.4","zod":"^4.3.6","commander":"^12.1.0","@inquirer/prompts":"^6.0.1"},"devDependencies":{"@types/node":"^25.2.2","tsx":"^4.21.0","typescript":"^5.9.3"},"bin":{"openrouter-cli":"dist/cli.js"},"repository":{"type":"git","url":"git+https://github.com/macizomedia/openrouter-headless-agent.git"},"bugs":{"url":"https://github.com/macizomedia/openrouter-headless-agent/issues"},"homepage":"https://github.com/macizomedia/openrouter-headless-agent#readme","publishConfig":{"access":"public"},"gitHead":"3227a5a6dd7aee1fed35e23d8fc8002b602ab5db","_id":"@abquanta/openrouter-headless-agent@1.0.0","_nodeVersion":"22.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-xYIfY1PYnvOwabVmjrUJdNGPNW54cX6cnvSzPm/sEdN8F7s9jc3ydFnBzKtxneY8VmSyf/1kt59NkAHMF51SzQ==","shasum":"88d334f6768478fb411621adb5f1ec9c4781abfb","tarball":"https://registry.npmjs.org/@abquanta/openrouter-headless-agent/-/openrouter-headless-agent-1.0.0.tgz","fileCount":2,"unpackedSize":2088,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGxqp49WR6th5cnHJUbWGq2hnWixgZrb7iO+dM1q7Z4dAiBaiONTKDBOM0IKolZfxYCPg4JZJ8dyi4i0MHhTMq1gFQ=="}]},"_npmUser":{"name":"mmcs","email":"macizomedia@gmail.com"},"directories":{},"maintainers":[{"name":"mmcs","email":"macizomedia@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/openrouter-headless-agent_1.0.0_1770803938101_0.9692034649239665"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-11T09:58:57.991Z","1.0.0":"2026-02-11T09:58:58.246Z","modified":"2026-02-11T09:58:58.777Z"},"maintainers":[{"name":"mmcs","email":"macizomedia@gmail.com"}],"description":"Minimal headless OpenRouter CLI agent with streaming and tool support.","homepage":"https://github.com/macizomedia/openrouter-headless-agent#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/macizomedia/openrouter-headless-agent.git"},"bugs":{"url":"https://github.com/macizomedia/openrouter-headless-agent/issues"},"license":"ISC","readme":"# openrouter-headless-agent\r\n\r\nA minimal, headless OpenRouter CLI agent with streaming output and basic tool support.\r\n\r\n## Install (npm)\r\n\r\n```bash\r\nnpm i -g @abquanta/openrouter-headless-agent\r\n```\r\n\r\nThen run:\r\n\r\n```bash\r\nopenrouter-cli\r\n```\r\n\r\n## Install (local)\r\n\r\n```bash\r\nnpm install\r\nnpm run build\r\nnpm link\r\n```\r\n\r\n## Run (no install)\r\n\r\n```bash\r\nOPENROUTER_API_KEY=sk-or-... npm run start:headless\r\n```\r\n\r\n## Test\r\n\r\n```bash\r\nnpm run test\r\n```\r\n\r\n## Docker\r\n\r\n```bash\r\ndocker build -t openrouter-headless-agent .\r\ndocker run -it -e OPENROUTER_API_KEY=sk-or-... openrouter-headless-agent\r\n```\r\n\r\n## What’s inside\r\n\r\n- Streaming agent core in `src/agent.ts`\r\n- Model selection + pricing helpers in `src/models.ts`\r\n- Example tools in `src/tools.ts`\r\n- CLI wizard in `src/cli.ts`\r\n","readmeFilename":"README.md","_rev":"1-362ff30dfb63ee2be97cbbccdd9db2dc"}