{"_id":"@cascaide-ts/helpers","_rev":"2-bde3ad84c0f06ffb6f2d10976fbe6e19","name":"@cascaide-ts/helpers","dist-tags":{"latest":"0.5.1"},"versions":{"0.5.0":{"name":"@cascaide-ts/helpers","version":"0.5.0","_id":"@cascaide-ts/helpers@0.5.0","maintainers":[{"name":"jishnukr1290","email":"krjishnukr@gmail.com"}],"dist":{"shasum":"7610ec7553243eaa0bb46be33356ed28a5cc9b28","tarball":"https://registry.npmjs.org/@cascaide-ts/helpers/-/helpers-0.5.0.tgz","fileCount":7,"integrity":"sha512-6jxqbgiAqGdSb5zGveJzf8BsBa2AIdqlBy5vjYNBtsIg8CHxAKjDUbOWcl1Tph3WCP2nhzlJY0Mi8A6v/kbS1Q==","signatures":[{"sig":"MEYCIQC2NbrbWNn6Nignztxy4KtLB7w3GKpFn+Vu3VQ7W0f1vwIhAMr/HBIxFaJ1/pDr/tQvKECkF3rjB1egyLv4Wb5ZeJ5W","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":49701},"main":"./dist/index.cjs","type":"module","_from":"file:cascaide-ts-helpers-0.5.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"jishnukr1290","email":"krjishnukr@gmail.com"},"_resolved":"/tmp/f5eb0a9d2104222b6cf0de20b73442bf/cascaide-ts-helpers-0.5.0.tgz","_integrity":"sha512-6jxqbgiAqGdSb5zGveJzf8BsBa2AIdqlBy5vjYNBtsIg8CHxAKjDUbOWcl1Tph3WCP2nhzlJY0Mi8A6v/kbS1Q==","_npmVersion":"11.6.2","description":"Cascaide is a fullstack agent runtime and AI orchestration framework in typescript designed to run anywhere JS/TS can. It was originally built for web applications but works equally well for headless/CLI AI agents and workflows in javascript runtimes.","directories":{},"_nodeVersion":"24.12.0","dependencies":{"uuid":"^13.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"^5.0.0","@types/uuid":"^9.0.0","@cascaide-ts/core":"0.5.0"},"peerDependencies":{"openai":">=4.0.0","@google/genai":">=0.7.0","@anthropic-ai/sdk":">=0.20.0","@cascaide-ts/core":"0.5.0"},"peerDependenciesMeta":{"openai":{"optional":true},"@google/genai":{"optional":true},"@anthropic-ai/sdk":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/helpers_0.5.0_1778887654089_0.2693418660335465","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@cascaide-ts/helpers","version":"0.5.1","license":"MIT","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"publishConfig":{"access":"public"},"dependencies":{"uuid":"^13.0.0"},"peerDependencies":{"@anthropic-ai/sdk":">=0.20.0","@google/genai":">=0.7.0","openai":">=4.0.0","@cascaide-ts/core":"0.5.1"},"peerDependenciesMeta":{"@anthropic-ai/sdk":{"optional":true},"@google/genai":{"optional":true},"openai":{"optional":true}},"devDependencies":{"@types/uuid":"^9.0.0","tsup":"^8.0.0","typescript":"^5.0.0","@cascaide-ts/core":"0.5.1"},"scripts":{"build":"tsup","dev":"tsup --watch"},"_id":"@cascaide-ts/helpers@0.5.1","description":"Cascaide is a fullstack agent runtime and AI orchestration framework in typescript designed to run anywhere JS/TS can. It was originally built for web applications but works equally well for headless/CLI AI agents and workflows in javascript runtimes.","_integrity":"sha512-WDmcbubKXUgshOzuFtuBGZ3XfyKFC5ZWwgLkumnGTIe3s/kXudUFvxxvfEWCfyaz4//HNann2AZC9s/9JXMIow==","_resolved":"/tmp/98209f165969ba8e730f2c5f61525aac/cascaide-ts-helpers-0.5.1.tgz","_from":"file:cascaide-ts-helpers-0.5.1.tgz","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-WDmcbubKXUgshOzuFtuBGZ3XfyKFC5ZWwgLkumnGTIe3s/kXudUFvxxvfEWCfyaz4//HNann2AZC9s/9JXMIow==","shasum":"644d3ba30ddf21e1044f17c387aae3e99adb30b5","tarball":"https://registry.npmjs.org/@cascaide-ts/helpers/-/helpers-0.5.1.tgz","fileCount":7,"unpackedSize":49753,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDlTbtMW7UUHfue7atrjmlt1IEk52xeBZCCz5GpDueolQIgdJ+fyyHDGrAWULg4dSzsEnYYndXTFTr5JUXuTS5WSFM="}]},"_npmUser":{"name":"jishnukr1290","email":"krjishnukr@gmail.com"},"directories":{},"maintainers":[{"name":"jishnukr1290","email":"krjishnukr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/helpers_0.5.1_1778892828694_0.3614023575730172"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-15T23:27:34.001Z","modified":"2026-05-16T00:53:48.988Z","0.5.0":"2026-05-15T23:27:34.279Z","0.5.1":"2026-05-16T00:53:48.854Z"},"description":"Cascaide is a fullstack agent runtime and AI orchestration framework in typescript designed to run anywhere JS/TS can. It was originally built for web applications but works equally well for headless/CLI AI agents and workflows in javascript runtimes.","maintainers":[{"name":"jishnukr1290","email":"krjishnukr@gmail.com"}],"readme":"# @cascaide-ts/helpers\n\nCascaide is a fullstack agent runtime and AI orchestration framework in typescript designed to run anywhere JS/TS can. It was originally built for web applications but works equally well for headless/CLI AI agents and workflows in javascript runtimes.\n\nWhat it really is is a distributed, observable, durable graph executor. The first split just happens to be client/server, hence full stack.\n\nTo learn more about how to use Cascaide, check out the [docs](https://www.cascaide-ts.com/docs/introduction).\n\n## Installation \n\n```bash \nnpm i @cascaide-ts/helpers\n```\n\nThough we heavily recommend writing node definitions manually (because of how much you can do with programmatic control inside nodes), sometimes it's good to have helpers for common use cases.\n\nThis package contains:\n\n## API Inventory\n\n### Agent factories\n\n- `createReactAgent`\n- `createRecursiveReactAgent`\n- `createSupervisorAgent`\n- `createRecursiveSupervisorAgent`\n\n### LLM utilities\n\n- `callLLM`\n- `toProviderHistory`\n- `buildTools`\n- `extractToolCalls`\n- `buildToolResultMessage`\n- `buildErrorToolResultMessage`\n- `parseCompletedResponse`\n\n### Core types\n\n- `CanonicalMessage`\n- `CanonicalToolCall`\n- `CanonicalToolResult`\n- `ToolParam`\n- `ToolDefinition`\n- `SubAgentDescriptor`\n- `LLMProvider`\n- `ReactAgentBundle`\n\n---\n\n## Additional Resources\n\n[Prebuilt Agent Helpers](https://www.cascaide-ts.com/docs/Learn/helpers)","readmeFilename":"README.md","license":"MIT"}