{"_id":"@chronoai/toolkit","name":"@chronoai/toolkit","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@chronoai/toolkit","version":"0.1.0","description":"Official toolkit for ChronoAI — reusable Features for common AI patterns","type":"module","exports":{"./llm":{"types":"./dist/llm/index.d.ts","import":"./dist/llm/index.js"},"./history":{"types":"./dist/history/index.d.ts","import":"./dist/history/index.js"},"./prompt":{"types":"./dist/prompt/index.d.ts","import":"./dist/prompt/index.js"},"./output-format":{"types":"./dist/output-format/index.d.ts","import":"./dist/output-format/index.js"},"./output-parser":{"types":"./dist/output-parser/index.d.ts","import":"./dist/output-parser/index.js"},"./dom-mount":{"types":"./dist/dom-mount/index.d.ts","import":"./dist/dom-mount/index.js"},"./data-render":{"types":"./dist/data-render/index.d.ts","import":"./dist/data-render/index.js"}},"scripts":{"build":"tsc","dev":"tsc --watch"},"peerDependencies":{"chronoai":"^0.1.0"},"devDependencies":{"chronoai":"^0.1.0","@types/node":"^22.0.0","typescript":"^5.7.0"},"gitHead":"b05d94dffe99779912549bfe728312372a17818f","_id":"@chronoai/toolkit@0.1.0","_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-/QfrE6kr/ZdViIE+xVPNzPxg6G6/YLDxTZ82qaB3jeKR3DVbE3cmgvSBTs/9HZobr0reRMTmbFlz1z2kWf36gw==","shasum":"46b3e4c2419356b0fd34dcf6460a85f42c042d7f","tarball":"https://registry.npmjs.org/@chronoai/toolkit/-/toolkit-0.1.0.tgz","fileCount":35,"unpackedSize":293487,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCarW149+8BU3E4hIAVqLecNzro3WrM5ALO+Og9zDKWTgIgNNf00p+84FKeTPunonA12iTYAu4pq/6tBOJEq05q7NI="}]},"_npmUser":{"name":"muyoo","email":"muyoo.top@qq.com"},"directories":{},"maintainers":[{"name":"muyoo","email":"muyoo.top@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/toolkit_0.1.0_1778053109744_0.3081704627509698"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-06T07:38:29.643Z","0.1.0":"2026-05-06T07:38:29.940Z","modified":"2026-05-06T07:38:30.191Z"},"maintainers":[{"name":"muyoo","email":"muyoo.top@qq.com"}],"description":"Official toolkit for ChronoAI — reusable Features for common AI patterns","readme":"# `@chronoai/toolkit`\n\nChronoAI 官方工具包，提供开箱即用的 AI 场景 Feature。\n\n## 安装\n\n```bash\nnpm install @chronoai/toolkit chronoai\n```\n\n## 模块\n\n| 模块 | 导入路径 | 说明 |\n|---|---|---|\n| `LlmFeature` | `@chronoai/toolkit/llm` | OpenAI 兼容的流式 LLM 调用封装 |\n| `HistoryFeature` | `@chronoai/toolkit/history` | 从多条时间轴收集历史帧，组装消息数组 |\n| `PromptLoaderFeature` | `@chronoai/toolkit/prompt` | 从 .prompt 文件加载提示词片段（Node.js only） |\n\n各模块的完整文档见各自目录下的 README：\n\n- [src/llm/README.md](src/llm/README.md) — LlmFeature\n- [src/history/README.md](src/history/README.md) — HistoryFeature\n- [src/prompt/README.md](src/prompt/README.md) — PromptLoaderFeature","readmeFilename":"README.md","_rev":"1-59806180b98545d5ee69dfd74ac4dde5"}