{"_id":"@agentpulselabs/ai-hub-client","name":"@agentpulselabs/ai-hub-client","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@agentpulselabs/ai-hub-client","version":"0.1.0","description":"Typed AppBridge client for the ai-hub app.","type":"module","main":"index.js","types":"index.d.ts","license":"MIT","publishConfig":{"access":"public"},"gitHead":"98e9983f2670bb64accd6f849b1166840e92d3e6","_id":"@agentpulselabs/ai-hub-client@0.1.0","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-IRyEfTFmajGVcXr9eX+CUtoskTd2W8WmNzyH2yqCSe+TdQdFnOp0Q8t+u4RQHqV5DyLddZUDydmX8ZFUZrpEow==","shasum":"c7b9b66351703a2f9b07417ccdab511e739eca4c","tarball":"https://registry.npmjs.org/@agentpulselabs/ai-hub-client/-/ai-hub-client-0.1.0.tgz","fileCount":4,"unpackedSize":6572,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDSXjCmYh9+ic1fruGCSn/fdeDIDBMgAVjBeImKEMtubAiAA0W8vuXSWDRwwWr8pIP/ksrS4UWP5qle/l6doimUnmQ=="}]},"_npmUser":{"name":"ashishcloud","email":"ashishsujaka@gmail.com"},"directories":{},"maintainers":[{"name":"ashishcloud","email":"ashishsujaka@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-hub-client_0.1.0_1787077640699_0.9288589879117983"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-18T18:27:20.487Z","0.1.0":"2026-08-18T18:27:20.862Z","modified":"2026-08-18T18:27:21.132Z"},"maintainers":[{"name":"ashishcloud","email":"ashishsujaka@gmail.com"}],"description":"Typed AppBridge client for the ai-hub app.","license":"MIT","readme":"# @agentpulselabs/ai-hub-client\n\nTyped [AppBridge](https://www.npmjs.com/package/@agentpulselabs/platform-sdk) client for the `ai-hub` app. Bridge-injected — no runtime dependency on `ai-hub` or `@agentpulse/platform`.\n\n## Install\n\n```sh\nnpm i @agentpulselabs/ai-hub-client\n```\n\n## Usage\n\n```js\nimport { createClient } from '@agentpulselabs/ai-hub-client';\n\nconst ai_hub = createClient(Platform.Bridge);\nconst result = await ai_hub.generationExecute(payload);\n```\n\n## Operations (AiHub)\n\n| Method | Op | Summary |\n| --- | --- | --- |\n| `generationExecute` | `generation:execute` | Generate a chat/completion response via the team's configured AI provider (OpenAI-compatible request/response shape). |\n| `generationImage` | `generation:image` | Generate an image (text-to-image) via the team's configured AI provider. |\n| `providersGetBinding` | `providers:get-binding` | Read an app's provider binding for a feature (provider id, or null if unbound). |\n| `providersHasAny` | `providers:has-any` | Whether the team has any AI provider configured (setup/health checks). |\n| `providersList` | `providers:list` | The team's active AI providers (id/name/type/default flag), for setup pickers. |\n| `providersResolve` | `providers:resolve` | Resolve the effective AI provider for the team (feature mapping -> team default -> any mapped provider). |\n| `providersResolveMapped` | `providers:resolve-mapped` | STRICT provider resolution (no fallback): highest-priority active provider mapped for the team across appCodes[], or null. |\n| `providersSetBinding` | `providers:set-binding` | Replace an app's provider binding for a feature. |\n","readmeFilename":"README.md","_rev":"1-fab80b45926f56d2e7c21667f3f87c33"}