{"_id":"@alonchat/cli","name":"@alonchat/cli","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@alonchat/cli","version":"0.1.0","description":"Command-line client for chatting with AlonChat agents and using project operations.","keywords":["alonchat","ai-agent","chatbot","cli"],"homepage":"https://alonchat.com/docs/developer/sdk-cli","license":"Apache-2.0","type":"module","bin":{"alonchat":"dist/index.js"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"scripts":{"build":"node ../../node_modules/typescript/bin/tsc -p tsconfig.json","dev":"node ../../node_modules/tsx/dist/cli.mjs src/index.ts"},"dependencies":{"@alonchat/contracts":"0.1.0","@alonchat/sdk":"0.1.0"},"engines":{"node":">=20"},"gitHead":"7de705f026b638ad581ce00e5d566c91d2862fee","_id":"@alonchat/cli@0.1.0","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-ccxMRnR5okAvedZR1DwWZ4r4OFu+AmaX1VsxaeJArgTHetYODjE6tjWyWqEUcR9ReWB6r0wBr2CYb5zMaCbIQA==","shasum":"3dac86c60543e70ea04939bb429d71d698711a4f","tarball":"https://registry.npmjs.org/@alonchat/cli/-/cli-0.1.0.tgz","fileCount":5,"unpackedSize":20854,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDGToQIlqpFABaKhSjxnJ1c1XsyRlAh/UNsICW+mNr0FAiAXMGChCv527gcPUMyroFfTloqsvbsbyu0F5SXyt8WNlQ=="}]},"_npmUser":{"name":"alabalon","email":"rradofina@alabalon.com"},"directories":{},"maintainers":[{"name":"alabalon","email":"rradofina@alabalon.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/cli_0.1.0_1785769960688_0.24859818808290135"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-03T15:12:40.512Z","0.1.0":"2026-08-03T15:12:40.850Z","modified":"2026-08-03T15:12:41.118Z"},"maintainers":[{"name":"alabalon","email":"rradofina@alabalon.com"}],"description":"Command-line client for chatting with AlonChat agents and using project operations.","homepage":"https://alonchat.com/docs/developer/sdk-cli","keywords":["alonchat","ai-agent","chatbot","cli"],"license":"Apache-2.0","readme":"# `@alonchat/cli`\n\nThe official command-line client for AlonChat.\n\n## Run without installing\n\n```bash\nALONCHAT_API_KEY=sk-your-key npx -y @alonchat/cli chat \\\n  --agent your-agent-id \\\n  --message \"What time do you close?\"\n```\n\nPowerShell:\n\n```powershell\n$env:ALONCHAT_API_KEY = 'sk-your-key'\nnpx -y @alonchat/cli chat --agent your-agent-id --message 'What time do you close?'\n```\n\nUse `--json` for machine-readable output, `--stream` for progressive output, and `--conversation-id`\nto continue a thread.\n\nRead subscription state:\n\n```bash\nalonchat billing status --json\nalonchat billing usage --json\nalonchat billing plans --json\nalonchat billing invoices --input '{\"limit\":20}' --json\n```\n\nUsage and invoice reads require the API key's `billing_read` permission. Payment and cancellation\nremain owner actions in the authenticated AlonChat dashboard.\n\nInspect and draft agent improvements:\n\n```bash\nalonchat agents inspect --input '{\"agentId\":\"AGENT_UUID\"}' --json\nalonchat conversations list --input '{\"agentId\":\"AGENT_UUID\",\"limit\":20}' --json\nalonchat design validate --input '{\"agentId\":\"AGENT_UUID\", ...proposal }' --json\nalonchat design draft \\\n  --input '{\"agentId\":\"AGENT_UUID\",\"designSessionId\":\"STABLE_UUID\", ...proposal }' \\\n  --idempotency-key \"agent-design-STABLE_UUID-revision-1\" \\\n  --json\n```\n\nThese operations use explicit permissions and selected-agent scope. A design draft remains\nowner-review gated and does not publish live changes.\n\nAPI keys are server-side credentials. Do not commit them or place them in frontend code.\n\n[CLI documentation](https://alonchat.com/docs/developer/sdk-cli)\n[Agent workbench guide](https://alonchat.com/docs/developer/agent-workbench)\n\nLicensed under Apache-2.0. The CLI is a thin client; the AlonChat application and hosted runtime\nremain proprietary.\n","readmeFilename":"README.md","_rev":"1-074b08ebaa775fe7a020ffaa9d624adc"}