{"_id":"@dhee_ai/openrouter-runners","_rev":"4-f28c7a9d5baba3836d6bf13d3986b829","name":"@dhee_ai/openrouter-runners","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@dhee_ai/openrouter-runners","version":"0.1.1","keywords":["dhee","dhee-runner","dhee-cloud","openrouter","image-generation","video-generation"],"license":"Apache-2.0","_id":"@dhee_ai/openrouter-runners@0.1.1","maintainers":[{"name":"dheeai_indhic","email":"indhicdev@gmail.com"},{"name":"kiran7893","email":"myadaramsaikiran@gmail.com"}],"homepage":"https://github.com/dheeai/dhee-packages/tree/main/openrouter-runners#readme","bugs":{"url":"https://github.com/dheeai/dhee-packages/issues"},"dhee":{"type":"runner","runnerDirs":["./runners/dhee-cloud-image","./runners/dhee-cloud-video"]},"dist":{"shasum":"0e305389951c4b5daf1c61057dd334f2272fa155","tarball":"https://registry.npmjs.org/@dhee_ai/openrouter-runners/-/openrouter-runners-0.1.1.tgz","fileCount":7,"integrity":"sha512-nmQIsDoXEEIa9ep17QPVY7kJkP/FvK6fcXCE5ZB4eDOYRJOY8A/rMv/Y7lK6dq+CBn9BXBsTIrLX9iBVXu1t8A==","signatures":[{"sig":"MEUCIAc7p5+ZHP7b+xuhKmfVN40ofvvOpqG6PSSJUgApcbWrAiEApowLpIf31UFPZTjhLcoPgatgAloOxaudIs7FNj1pN6g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":40762},"type":"module","engines":{"node":">=20.0.0"},"exports":{"./runners/dhee-cloud-image":"./runners/dhee-cloud-image/dist/index.js","./runners/dhee-cloud-video":"./runners/dhee-cloud-video/dist/index.js"},"gitHead":"0a2f8e7748aa8d54f71049a0ed5669136e6259f2","scripts":{"test":"node scripts/validate.mjs"},"_npmUser":{"name":"dheeai_indhic","email":"indhicdev@gmail.com"},"repository":{"url":"git+https://github.com/dheeai/dhee-packages.git","type":"git","directory":"openrouter-runners"},"_npmVersion":"11.6.2","description":"Dhee Cloud media runners (dhee.cloud.image / dhee.cloud.video) that generate images and video through the Dhee Cloud media proxy.","directories":{},"_nodeVersion":"24.13.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/openrouter-runners_0.1.1_1782133052506_0.22801595921381135","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-06-22T12:57:32.408Z","modified":"2026-06-23T05:47:25.958Z","0.1.0":"2026-06-22T12:46:50.785Z","0.1.1":"2026-06-22T12:57:32.639Z"},"bugs":{"url":"https://github.com/dheeai/dhee-packages/issues"},"license":"Apache-2.0","homepage":"https://github.com/dheeai/dhee-packages/tree/main/openrouter-runners#readme","keywords":["dhee","dhee-runner","dhee-cloud","openrouter","image-generation","video-generation"],"repository":{"url":"git+https://github.com/dheeai/dhee-packages.git","type":"git","directory":"openrouter-runners"},"description":"Dhee Cloud media runners (dhee.cloud.image / dhee.cloud.video) that generate images and video through the Dhee Cloud media proxy.","maintainers":[{"email":"indhicdev@gmail.com","name":"dheeai_indhic"},{"email":"myadaramsaikiran@gmail.com","name":"kiran7893"},{"email":"ganarajpr@gmail.com","name":"ganaraj"}],"readme":"# @dhee_ai/openrouter-runners\n\nDhee Cloud media runners that generate images and video through the **Dhee Cloud\nmedia proxy** (the same hosted-media lane the ComfyUI cloud proxy uses).\n\nThis package is distribution-only. Dhee Desktop installs the package, reads the\n`dhee` marker from `package.json`, and copies each runner into the user's runner\ndirectory:\n\n```text\n<DHEE_USER_RUNNERS_DIR>/dhee-cloud-image/\n<DHEE_USER_RUNNERS_DIR>/dhee-cloud-video/\n```\n\n## Runners\n\n### `dhee.cloud.image`\n\nGenerates an image through the Dhee Cloud media proxy.\n\n- Credentials: `DHEE_CLOUD_URL`, `DHEE_CLOUD_TOKEN`\n- Optional env: `DHEE_CLOUD_IMAGE_MODEL`\n- Network: `dhee.ai`, `localhost`, `127.0.0.1`\n- Calls: `POST {DHEE_CLOUD_URL}/api/cloud/media/image`\n\n### `dhee.cloud.video`\n\nGenerates a video clip through the Dhee Cloud media proxy (image-to-video\nsupported via `firstFrameInput` / `firstFramePath` / `firstFrameUrl`).\n\n- Credentials: `DHEE_CLOUD_URL`, `DHEE_CLOUD_TOKEN`\n- Optional env: `DHEE_CLOUD_VIDEO_MODEL`\n- Network: `dhee.ai`, `localhost`, `127.0.0.1`\n- Calls: `POST {DHEE_CLOUD_URL}/api/cloud/media/video`\n\n## How the cloud lane works\n\nThe runners never call `openrouter.ai` directly and never hold an\n`OPENROUTER_API_KEY`. They call the Dhee Cloud proxy with the user's\n`DHEE_CLOUD_TOKEN` (the desktop JWT). The proxy authenticates the user, checks\nhosted-media entitlements, records usage, and forwards the request server-side\nusing its own provider key. This mirrors the ComfyUI cloud proxy pattern.\n\n## Validation\n\nRun the package validation from the repository root:\n\n```sh\nnpm --workspace @dhee_ai/openrouter-runners test\n```\n\nOr run it inside this package:\n\n```sh\nnpm test\n```\n","readmeFilename":"README.md"}