{"_id":"@dexh/shannon-agent-sdk","name":"@dexh/shannon-agent-sdk","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@dexh/shannon-agent-sdk","version":"0.0.1","description":"Claude Agent SDK-compatible facade for Shannon.","license":"MIT","homepage":"https://github.com/humanlayer/shannon/tree/main/packages/shannon-agent-sdk#readme","bugs":{"url":"https://github.com/humanlayer/shannon/issues"},"keywords":["claude","claude-code","agent-sdk","shannon"],"type":"module","exports":{".":"./src/index.ts"},"repository":{"type":"git","url":"git+https://github.com/humanlayer/shannon.git","directory":"packages/shannon-agent-sdk"},"publishConfig":{"access":"public"},"dependencies":{"@dexh/shannon":"^0.0.1"},"private":false,"gitHead":"45b797e50c8e1be7e7a139202d33828096de89a8","_id":"@dexh/shannon-agent-sdk@0.0.1","_nodeVersion":"25.2.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-rzc+cLTbujfJqSCrpSwsCdsD2P/rV4qW4UeMbkf6fkTTGR+8ZL2TuYfgZ5CER7Em0HYiZLUzs/Z5VKbtkdgxZg==","shasum":"1da8343055cbeda92572c989c0875082a61aaf03","tarball":"https://registry.npmjs.org/@dexh/shannon-agent-sdk/-/shannon-agent-sdk-0.0.1.tgz","fileCount":4,"unpackedSize":4129,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCID2+WJJU3u0uN6v69pp7ySBDuM/T/tfFModFDFybVe1hAiEAw3y+S/LGOSsywxcjpSbnlbZd/yRtR86e4w+YsawZ870="}]},"_npmUser":{"name":"dexhorthy","email":"dexter.i.horthy@gmail.com"},"directories":{},"maintainers":[{"name":"dexhorthy","email":"dexter.i.horthy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/shannon-agent-sdk_0.0.1_1778708011471_0.1212761975472254"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-13T21:33:31.356Z","0.0.1":"2026-05-13T21:33:31.609Z","modified":"2026-05-13T21:33:31.886Z"},"maintainers":[{"name":"dexhorthy","email":"dexter.i.horthy@gmail.com"}],"description":"Claude Agent SDK-compatible facade for Shannon.","homepage":"https://github.com/humanlayer/shannon/tree/main/packages/shannon-agent-sdk#readme","keywords":["claude","claude-code","agent-sdk","shannon"],"repository":{"type":"git","url":"git+https://github.com/humanlayer/shannon.git","directory":"packages/shannon-agent-sdk"},"bugs":{"url":"https://github.com/humanlayer/shannon/issues"},"license":"MIT","readme":"# @dexh/shannon-agent-sdk\n\nClaude Agent SDK-compatible facade for [Shannon](https://github.com/humanlayer/shannon). It\nre-exports Shannon's implemented SDK surface from [`@dexh/shannon`](https://www.npmjs.com/package/@dexh/shannon).\nFull Claude Agent SDK parity is a work in progress (see the repo's\n`GOAL_PROGRESS.md`).\n\n## Requirements\n\n- [Bun](https://bun.sh)\n- `claude` on `PATH`\n- `tmux` on `PATH`\n- A working Claude Code login/configuration\n\n## Install\n\n```sh\nnpm install @dexh/shannon-agent-sdk\n```\n\nThe Shannon CLI is also available via `npx`:\n\n```sh\nnpx @dexh/shannon -p \"Reply with exactly: hello\" --output-format=stream-json --verbose\n```\n\n## SDK usage\n\n```ts\nimport { query } from \"@dexh/shannon-agent-sdk\";\n\nfor await (const message of query({\n  prompt: \"Reply with exactly: hello\",\n  options: {\n    outputFormat: \"stream-json\",\n    verbose: true,\n  },\n})) {\n  console.log(JSON.stringify(message));\n}\n```\n\nAsync input is also accepted for finite user-message streams:\n\n```ts\nimport { query, type ShannonUserMessage } from \"@dexh/shannon-agent-sdk\";\n\nasync function* messages(): AsyncIterable<ShannonUserMessage> {\n  yield {\n    type: \"user\",\n    message: {\n      role: \"user\",\n      content: [{ type: \"text\", text: \"Reply with exactly: hello\" }],\n    },\n    parent_tool_use_id: null,\n    session_id: \"\",\n  };\n}\n\nfor await (const message of query({ prompt: messages() })) {\n  console.log(JSON.stringify(message));\n}\n```\n\nZod schemas for the current Shannon message, options, and query parameter\nsurface are also re-exported:\n\n```ts\nimport { shannonMessageSchema, shannonQueryOptionsSchema } from \"@dexh/shannon-agent-sdk\";\n```\n","readmeFilename":"README.md","_rev":"1-9ba179a8afbbf628527d8a74572625df"}