{"_id":"@alien_intelligence/chat-sdk","_rev":"16-bda40dc7703a6352f85855e1d9b976a5","name":"@alien_intelligence/chat-sdk","dist-tags":{"latest":"0.11.0"},"versions":{"0.3.0":{"name":"@alien_intelligence/chat-sdk","version":"0.3.0","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.3.0","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"6453ca85fa9c0be00fe37ec494705f2e3969d1d9","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.3.0.tgz","fileCount":50,"integrity":"sha512-OrcNpwOHcevVMn95fo2snGHHs+2rmLTg++maOpJ0/rtjPGAJHw4/SpPjIx/vwkBYQ3vh2cynlw6Yyl66OyRQmQ==","signatures":[{"sig":"MEUCIGUCQUeuDAoU+4wj2lVEUXX3uM3BcAZO8Zl/GcJNxYq6AiEA5frHc8qyCja+SNiBkiZoakwKSUmWTjIzeVcRZoLu+l4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":939836},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"d8b61ded87437446c9b92a34f8e2895c732bc123","scripts":{"dev":"tsup --watch","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"leo_alien","email":"leo@alien.club"},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.4.2","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"24.4.0","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@anthropic-ai/sdk":"^0.104.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.3.0_1781788604878_0.613972406066065","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@alien_intelligence/chat-sdk","version":"0.3.1","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.3.1","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"be339ba35d0452a6dcf0321b491b8aedb468e037","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.3.1.tgz","fileCount":50,"integrity":"sha512-S37FQNNEgTnxzxsdLh3s+K7FjME+wIh9+qfBMI5jS8qesixqx41FnBpNFbhlkHVOF0QliB8er6oJ4uO6uxUPyA==","signatures":[{"sig":"MEYCIQCu2YFOkzl823O32wl+bL6gch487P4iW6DR2+S4r+aR6wIhALpmj9f4ks+h6qu5fFJAnvoaqMFamcSKjqwmxAuEuxvR","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":940257},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"007e7cfd95a3776a75c4f0c86b6b3ac4ec32bc20","scripts":{"dev":"tsup --watch","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.22.3","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@anthropic-ai/sdk":"^0.104.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.3.1_1781789745470_0.704631979405026","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@alien_intelligence/chat-sdk","version":"0.3.2","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.3.2","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"359d51e522aed10e4c5b4b508934a933f47cdc1a","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.3.2.tgz","fileCount":50,"integrity":"sha512-s81qpYvAGZmy2vg5j70I4rhr20tfZu3EIeXadHNnT3/nXOF59GR2ZyNWdhoOPV3G0pZAgnxVuGMHyEGCCKDKNQ==","signatures":[{"sig":"MEQCIEdcPsbEg9DDqQFAR9pUWCfHW0Z6PyJBH7smRHbJGDFMAiB0fjtkjHKWGT1z+lNnjE+8bjJoUYBu8+9C1rOXHDUJfg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":940608},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"87e1f273cb7b550acf6dd26d51909971635e87fa","scripts":{"dev":"tsup --watch","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.0","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@anthropic-ai/sdk":"^0.104.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.3.2_1781795220072_0.6185887986320131","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@alien_intelligence/chat-sdk","version":"0.5.0","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.5.0","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"d5a241e0705f4fe7e0232846c0c0ee201a30ff98","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.5.0.tgz","fileCount":64,"integrity":"sha512-EGAJkxd9wkFP91Zvc+3jAFcQE/9+s30GQ6+L+3w5fuLfz77CNi4gbwc5F46LluPy8LWMkdC2gvGavenyRSw/3A==","signatures":[{"sig":"MEYCIQD7DVbA2BxTITYZN6eeD7S87dsTTREMizdfCfGi64EnbwIhAPXHvwYnrzKaqb9hUOmRnw5oD6JnDNmy//Mvy4T/eqdn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1611481},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"196be081b54e86fdd92d51f9948d139272c1c1b1","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.0","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.5.0_1782080139885_0.8688988413722523","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@alien_intelligence/chat-sdk","version":"0.5.1","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.5.1","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"277d5a842fb785ba8459d430a1ea834ac1c3668a","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.5.1.tgz","fileCount":64,"integrity":"sha512-6g7p/4JziofuWRVrMTzTxraXWc2OIUcbFJ4bCCwwHeuqnYXRWHcos6hAr3eqDv3eYDpmPrsPl6fg2AOIBxkdPQ==","signatures":[{"sig":"MEUCIGQpyVsrS7kmnjXdXJlTys6in1jKk7Q1syNW34OdpS02AiEA7adTi9rp0kbdqvdATSDyn+J+rudVzvCQ3RqG0AaMJic=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1652809},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"d09e0f2f31a72e6ab5a96116ee8afcbb99ad64b1","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.0","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.5.1_1782141337861_0.4893937515093043","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@alien_intelligence/chat-sdk","version":"0.6.0","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.6.0","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"6b21f8f8fc73f31294d1192c99db95c774702530","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.6.0.tgz","fileCount":71,"integrity":"sha512-mYaavQLismkjYNj3kOIR+jxAxIbTHK2I1wvfH3WHUXKsKrJ1PF1ujHhvNDyK9/FkkPMl5MpaIZA3uXejQlrpwA==","signatures":[{"sig":"MEYCIQD7tblSTqZ0fLS3rRlhMaPSh7K3euQ10+w/JYo32EZFXAIhAMdJT+m4s5f/wH5tPLBGNx+ASi88Lg/S4rPPMdFiqIds","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1882811},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"d2e6ffba2415ef4b0cb3c9fa286e3bd2d040ea1b","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.0","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.6.0_1782216746795_0.030882698775075657","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@alien_intelligence/chat-sdk","version":"0.7.0","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.7.0","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"b84b887e607170cf3b1280e8f54e1204455cef97","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.7.0.tgz","fileCount":71,"integrity":"sha512-NeOvXUT8k1FZBAaldUkpZctGdDMrzdUH6LepVmp8a5U9MB7X3ZvxOH0UsPAtIC+AzIFFdfVQiDeBS/SILEgITg==","signatures":[{"sig":"MEYCIQDLTClI6//BgXGGaHWu+LHsboV0EKJSRjkdClIiUUzvGgIhAPVixUVBLJDdFsIj90csipXttqCG3rbcWnWw9Ai5sMgT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1886199},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"e11aee1c4c2d8b168c69c322f62492bbd9a6a6bb","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.0","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.7.0_1782220291927_0.6505522541421662","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@alien_intelligence/chat-sdk","version":"0.8.0","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.8.0","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"f082b10e8e58caf96a008aa298476d20e768ada2","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.8.0.tgz","fileCount":71,"integrity":"sha512-Kp06crTua7jiH5acm3OBJ5h16wb8vtFoKdzkmxPkY1KDseLYxRd8fVo0wnL63f4gx4Zuv4V1jBePaWNTB9SuWw==","signatures":[{"sig":"MEQCIEj0qTcP5jT3K8UIafzIxvAIvs3kQwTm4iJJZEMf+/Q7AiAqvw5jOis+kCui+69tsahR2X2qwZkh5slKwI9eGk3OZw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1903084},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"ac2c1d49a7864a04780969de9716670fbaf4e83d","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.1","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.8.0_1782249076437_0.5664624945660774","host":"s3://npm-registry-packages-npm-production"}},"0.8.1":{"name":"@alien_intelligence/chat-sdk","version":"0.8.1","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.8.1","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"c68b147355f55cc37ff668d255943ab530807bb2","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.8.1.tgz","fileCount":71,"integrity":"sha512-oK5bMpkL4ccSTcs9WFbHi1/8inZglpcTT8g2nRZzjLWdfTQy/XMOY1fJps2je5lPlEWeJpw1ku/rk1jsWRFkyw==","signatures":[{"sig":"MEQCIHFxs5t7zEi+Ll5nBry5TXiMApL7ZGswd7kNbMbU+g0+AiAuqfd+wkZ3qiifxuNPoWjQ7olFzOBc6JUtGdBjMdDhoQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1968826},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"6d03191ad2480079618c6571ed036d76138d0de9","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.1","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.8.1_1782304617569_0.330371950324323","host":"s3://npm-registry-packages-npm-production"}},"0.8.2":{"name":"@alien_intelligence/chat-sdk","version":"0.8.2","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.8.2","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"fbdf9c2f35e535d3db3abc272ad6cecddeaa360d","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.8.2.tgz","fileCount":71,"integrity":"sha512-2RYuqfj/vc6wgp3DXHVqXM7Zc+dFuuURld7/ihb+/dsFLkDgmRT6VYOMo/DtInFBTSiun90V/UbDS+FScXgVRA==","signatures":[{"sig":"MEUCIHS0Ru6ky01pGDrAhYSvC/tAd8SgNh0gAtea3Aydbg1GAiEA1jrUGWK6J9cn15MWFR7BAsBX3l8jphT/44Mgrk6gBjI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1977042},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"55f7d1a51f6fdf67d1f6ab14ad92fdeb96e6c793","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.1","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.8.2_1782376655017_0.37844939919820586","host":"s3://npm-registry-packages-npm-production"}},"0.8.3":{"name":"@alien_intelligence/chat-sdk","version":"0.8.3","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.8.3","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"c96b5519a40943a15b34097bc42541fe899b6824","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.8.3.tgz","fileCount":71,"integrity":"sha512-jkXWsMnTHLZ+mU7UqlHkEH8IifDL+vfnaTDNbXbyUlgsrJgeonCwQ43b1HDJuSaDyrPL2mcpPx8hsqDg86ohnA==","signatures":[{"sig":"MEUCIQCoDyHg6gh0+GkD4Z1UOHy9GNKGlp1DJygXhQme8Oz1yAIgBV5JYZd+ZAEmhXH6PD21MnlmP6W00X24k6LEOhCZEI4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1988737},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"3f30fdb5f0b85873abc2f366332fbfd0852de2dc","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"11.17.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.1","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.8.3_1782380812138_0.19673431986842216","host":"s3://npm-registry-packages-npm-production"}},"0.8.4":{"name":"@alien_intelligence/chat-sdk","version":"0.8.4","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.8.4","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"82a7c04fb334cb350acc9e00a81719f6911009a7","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.8.4.tgz","fileCount":71,"integrity":"sha512-ivE/fAdDEf4YtIp3A+O6OmkFilDYOqHwLmkWJLNuud04CSsQtUBWPw3sV04Sqz8O2a07+q1uj32iMueENTBozw==","signatures":[{"sig":"MEUCIQDhDs/TXDKEO5n//ZhF+4JXz/Z4bm0dTBP5QXozxlZPOAIgJJSuvwF3xyFthIqGM9wuLsJ7/hfnDCv5MaNen/CyTWY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1998837},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"445e42555ddeebcaf3ad7d874a7c4655d7c997cb","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"12.0.1","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.1","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.8.4_1784299961543_0.7958985814500552","host":"s3://npm-registry-packages-npm-production"}},"0.8.5":{"name":"@alien_intelligence/chat-sdk","version":"0.8.5","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.8.5","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"3d1d8683c5b6ae814b002cf2cf27d7d88af5b1d6","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.8.5.tgz","fileCount":71,"integrity":"sha512-bB2Ntgs/kL7faRMyw3q1C23NVW7/l4JRscqJ4VN0JJHt0q2rmOVC3xSoab/lrFV1Zjoq9gGcEGkrDKofQnGGzA==","signatures":[{"sig":"MEUCICbVdEMi4Fi8Dex4TqA0/3Zc33f1uQ+FuGkhlSIHAPa1AiEAyAKLJIQAfODckfctAyBHZv6wJL9L2bLVmvJN4knuv2Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2063526},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"77da25e04d2cff9512979baa9227c75782b657e5","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"12.0.1","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.1","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.8.5_1784559701560_0.8760249835333069","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"name":"@alien_intelligence/chat-sdk","version":"0.9.0","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.9.0","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"d58f48d23615674a582c72c6effdfa2ef53bd83d","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.9.0.tgz","fileCount":71,"integrity":"sha512-q8rhMidIiqDU0ocWcD5H8iNiPIXelIynB89uXf6jptubQewLY+bimXJGp6UD1E9NCZSNUTX5i69TvvL9R4MwKw==","signatures":[{"sig":"MEQCICHxC2nlu+hDQ/66Soo6z8nOVVWyBhhLZjFiNJLpwi00AiAT1G+JTIk/ploxlgzs7vpVzOvjTFcQJMR5aQsPurae9w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2139998},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"0738f2a04018949d1f0e36326c2ec8b1230b41f4","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"12.0.2","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.2","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.9.0_1785762071909_0.15227551735770906","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@alien_intelligence/chat-sdk","version":"0.10.0","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"license":"MIT","_id":"@alien_intelligence/chat-sdk@0.10.0","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"dist":{"shasum":"874c6b67c4c2300681c1bb594a34068b6400c49f","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.10.0.tgz","fileCount":71,"integrity":"sha512-yIGYJmzYFiSXMwM50mtV9a6ljPoxvE044Fs0mKBrXY9T3KYSMFW8TPu4QCM5D85xI21dm8Or8Fnpp1RojVu3xg==","signatures":[{"sig":"MEQCICfZtEHtvAWtLArGcvSSfAZMLk9SSIe5t3J/QJWMYMVjAiBcPPvTF/3AwfEnSLkB35NQ0OO2Ex8Bs7iWv7o7JS6tLQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2165368},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"gitHead":"2b758adcec4caa062bcbfb5c1d4a55d4ca921f53","scripts":{"dev":"tsup --watch","test":"vitest run","build":"tsup && node scripts/copy-css.mjs","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"repository":{"url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git","type":"git"},"_npmVersion":"12.0.2","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","directories":{},"sideEffects":["./dist/react/styles.css"],"_nodeVersion":"22.23.2","dependencies":{"ai":"^6.0.168","zod":"^4.0.0","@ai-sdk/openai":"^3.0.53","@langfuse/otel":"^5.5.3","@anthropic-ai/sdk":"^0.104.1","@langfuse/tracing":"^5.5.3","@opentelemetry/api":"^1.9.1","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/sdk-trace-node":"^2.8.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.5","jsdom":"^29.1.1","react":"^19.2.7","vitest":"^3.0.0","react-dom":"^19.2.7","typescript":"^5.6.0","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/chat-sdk_0.10.0_1786011284340_0.19792867032985106","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@alien_intelligence/chat-sdk","version":"0.11.0","description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","license":"MIT","type":"module","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","repository":{"type":"git","url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git"},"bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","sideEffects":["./dist/react/styles.css"],"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./events":{"types":"./dist/events.d.ts","import":"./dist/events.js","require":"./dist/events.cjs"},"./alien":{"types":"./dist/alien/index.d.ts","import":"./dist/alien/index.js","require":"./dist/alien/index.cjs"},"./claude":{"types":"./dist/claude/index.d.ts","import":"./dist/claude/index.js","require":"./dist/claude/index.cjs"},"./openrouter":{"types":"./dist/openrouter/index.d.ts","import":"./dist/openrouter/index.js","require":"./dist/openrouter/index.cjs"},"./persistence":{"types":"./dist/persistence/index.d.ts","import":"./dist/persistence/index.js","require":"./dist/persistence/index.cjs"},"./server":{"types":"./dist/server/index.d.ts","import":"./dist/server/index.js","require":"./dist/server/index.cjs"},"./next":{"types":"./dist/next/index.d.ts","import":"./dist/next/index.js","require":"./dist/next/index.cjs"},"./react":{"types":"./dist/react/index.d.ts","import":"./dist/react/index.js","require":"./dist/react/index.cjs"},"./react/styles.css":"./dist/react/styles.css"},"scripts":{"build":"tsup && node scripts/copy-css.mjs","dev":"tsup --watch","typecheck":"tsc --noEmit","test":"vitest run","clean":"rm -rf dist"},"dependencies":{"@ai-sdk/openai":"^3.0.53","@anthropic-ai/sdk":"^0.104.1","@langfuse/otel":"^5.5.3","@langfuse/tracing":"^5.5.3","@openrouter/ai-sdk-provider":"^2.9.1","@opentelemetry/api":"^1.9.1","@opentelemetry/sdk-trace-node":"^2.8.0","ai":"^6.0.168","zod":"^4.0.0"},"peerDependencies":{"next":">=14","react":">=18","react-dom":">=18"},"peerDependenciesMeta":{"next":{"optional":true}},"devDependencies":{"@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@types/node":"^20","@types/react":"^19","@types/react-dom":"^19","jsdom":"^29.1.1","react":"^19.2.7","react-dom":"^19.2.7","tsup":"^8.3.5","typescript":"^5.6.0","vitest":"^3.0.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"gitHead":"33c2658f77f249f408975ff6b9c7c91d02fd321d","_id":"@alien_intelligence/chat-sdk@0.11.0","_nodeVersion":"22.23.2","_npmVersion":"12.0.2","dist":{"integrity":"sha512-Xkh7OSZ6cLGCAKPNqNpQBsyXWAkGhHbrccu6rtU70sBs+tnRaV9x3O4dB0YOlDs0UmKz9Ps+JOwTL4mLKBGY5Q==","shasum":"08bb6a17bbbefbf9baefc14d9181a43739e3194b","tarball":"https://registry.npmjs.org/@alien_intelligence/chat-sdk/-/chat-sdk-0.11.0.tgz","fileCount":71,"unpackedSize":2237596,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDekAOCn/UiX/r53TfecpdPvcz9n0b/ATlmvBN0lUju/wIgKpiPuknlPKlVryKrzj1ZDQ49CtzdqAXMKwdkWwrD+pc="}]},"_npmUser":{"name":"GitLab CI/CD","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"gitlab","oidcConfigId":"oidc:76924601-d7e7-4f1d-b6b1-04c25cb537b8"}},"directories":{},"maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chat-sdk_0.11.0_1786378487185_0.38422309898736984"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-18T13:16:44.697Z","modified":"2026-08-10T16:14:47.632Z","0.3.0":"2026-06-18T13:16:45.021Z","0.3.1":"2026-06-18T13:35:45.727Z","0.3.2":"2026-06-18T15:07:00.290Z","0.5.0":"2026-06-21T22:15:40.055Z","0.5.1":"2026-06-22T15:15:38.105Z","0.6.0":"2026-06-23T12:12:26.956Z","0.7.0":"2026-06-23T13:11:32.082Z","0.8.0":"2026-06-23T21:11:16.622Z","0.8.1":"2026-06-24T12:36:57.769Z","0.8.2":"2026-06-25T08:37:35.186Z","0.8.3":"2026-06-25T09:46:52.282Z","0.8.4":"2026-07-17T14:52:41.688Z","0.8.5":"2026-07-20T15:01:41.837Z","0.9.0":"2026-08-03T13:01:12.132Z","0.10.0":"2026-08-06T10:14:44.520Z","0.11.0":"2026-08-10T16:14:47.428Z"},"bugs":{"url":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk/-/issues"},"license":"MIT","homepage":"https://gitlab.com/alias3/datastreaming/tooling/chat-sdk","keywords":["chat","chat-sdk","agentic","ai","llm","claude","anthropic","mcp","tool-use","next","nextjs","react","streaming","typescript"],"repository":{"type":"git","url":"git+https://gitlab.com/alias3/datastreaming/tooling/chat-sdk.git"},"description":"Streaming chat SDK for agentic Next.js apps. Direct Claude or Alien platform behind one normalized event protocol — drop-in React components, custom tools via Zod, MCP server integration, persistence helpers.","maintainers":[{"name":"leo_alien","email":"leo@alien.club"},{"name":"yoratoni_alien","email":"adrien@alien.club"}],"readme":"# `@alien/chat-sdk`\n\nA reusable chat SDK for building agentic apps on Next.js. Powers the chat in\n`datastreaming-demos/publisher-demo` — drop it into any Next.js project and\nyou get the same streaming UI talking to either the Alien platform agentic\nflow (**alienSDK**) or Claude directly (**claudeSDK**).\n\n```bash\nnpm i @alien/chat-sdk\n```\n\n```tsx\n// app/api/chat/route.ts\nimport { createChatHandler } from \"@alien/chat-sdk/next\"\nimport { createToolRegistry, defineTool } from \"@alien/chat-sdk/claude\"\nimport { z } from \"zod\"\n\nconst now = defineTool({\n  name: \"current_time\",\n  description: \"Server-side UTC time.\",\n  inputSchema: z.object({ timezone: z.string().optional() }),\n  handler: async ({ timezone }) => ({\n    now: timezone\n      ? new Intl.DateTimeFormat(\"en-US\", { timeZone: timezone, dateStyle: \"full\", timeStyle: \"long\" }).format(new Date())\n      : new Date().toISOString(),\n  }),\n})\n\nexport const POST = createChatHandler({\n  claude: {\n    apiKey: process.env.ANTHROPIC_API_KEY!,\n    system: \"You are a concise research assistant.\",\n    tools: createToolRegistry({ tools: [now] }),\n  },\n})\nexport const runtime = \"nodejs\"\nexport const dynamic = \"force-dynamic\"\n```\n\n```tsx\n// app/page.tsx\n\"use client\"\nimport { ChatPanel, useChat } from \"@alien/chat-sdk/react\"\nimport \"@alien/chat-sdk/react/styles.css\"\n\nexport default function Page() {\n  const chat = useChat({ endpoint: \"/api/chat\", mode: \"claude\" })\n  return <ChatPanel chat={chat} />\n}\n```\n\nThat's it. Streaming, tool-use loop, mode switching, mobile layout — all in.\n\n## What you get\n\n- **Three runners, one event protocol.** `claudeSDK` calls Anthropic directly;\n  `alienSDK` drives the Alien platform's agentic workflow; the **OpenRouter**\n  runner routes the `claude` mode through OpenRouter's gateway — one key for\n  every vendor, and non-Anthropic models (GPT, Gemini, Llama, …) through the\n  same protocol. All emit the same normalized `ChatEvent` stream so the UI\n  doesn't know which is running.\n- **OpenRouter is a one-line switch.** `provider: \"openrouter\"` on the handler's\n  `claude` config routes through the gateway in both ephemeral and durable\n  paths; bare Claude ids are auto-namespaced. See [OpenRouter](./docs/openrouter.md).\n- **Custom tools via `defineTool`** — Zod schemas, typed handlers, run inside\n  your chat handler with full access to the consumer's app context.\n- **MCP servers as a first-class hook** — declare `{ name, url, headers }`,\n  the runner discovers and dispatches their tools alongside your custom ones.\n- **Server-only auth.** API keys stay on the server. Browser only talks to\n  the consumer's own `/api/chat`.\n- **Stateful where it matters.** Multi-turn memory via `previousResponseId`\n  for alienSDK (auto-captured); full conversation history for claudeSDK.\n- **Persistence-ready.** `chat.serialize()` → JSON-safe `ChatSnapshot`;\n  `parseChatSnapshot(...)` rehydrates and finalizes mid-stream tools.\n- **Smoothing on by default.** Word-rate typewriter feel at 25ms ticks,\n  per-instance buckets so concurrent subagent streams stay coherent.\n- **React 19 + Next.js 14+**, mobile-friendly, themable via CSS variables.\n\n## Subpath exports\n\n| Subpath                            | Contents                                                                  |\n| ---------------------------------- | ------------------------------------------------------------------------- |\n| `@alien/chat-sdk`                  | Isomorphic re-exports: event + message types, snapshot helpers            |\n| `@alien/chat-sdk/events`           | `ChatEvent` union, `encodeEventFrame`, `readEventStream`, `parseEventLine`|\n| `@alien/chat-sdk/claude`           | `runClaudeSdk`, `defineTool`, `createToolRegistry`, MCP server types      |\n| `@alien/chat-sdk/alien`            | `runAlienSdk` for the Alien platform agentic workflow                     |\n| `@alien/chat-sdk/openrouter`       | `runOpenRouterSdk`, `resolveOpenRouterModel`, `openRouterHeaders`         |\n| `@alien/chat-sdk/next`             | `createChatHandler` — POST handler factory for both modes                 |\n| `@alien/chat-sdk/react`            | `useChat`, `useChatTimeline`, `ChatPanel`, `Message`, `Composer`          |\n| `@alien/chat-sdk/react/styles.css` | Default styles. Override via `--chat-sdk-*` CSS variables                 |\n\n## Topic guides\n\nEach guide is short and focused. Start with **Architecture** if you're new.\n\n- [Architecture](./docs/architecture.md) — how the pieces fit together\n- [`useChat` hook](./docs/use-chat.md) — options, returned API, persistence, smoothing\n- [Event protocol](./docs/events.md) — `ChatEvent` reference, wire format, helpers\n- [Tools](./docs/tools.md) — `defineTool`, tool registry, lifecycle hooks\n- [MCP servers](./docs/mcp.md) — attaching servers, name prefixing, dispatch\n- [Components](./docs/components.md) — `ChatPanel` props, custom shells, theming\n- [alienSDK](./docs/alien.md) — Alien platform specifics: instances, response ids, cost breakdowns\n- [OpenRouter](./docs/openrouter.md) — route the `claude` mode through OpenRouter; multi-vendor, model namespacing, reasoning tradeoff\n- [Bridge pattern](./docs/bridge.md) — using `onEvent` to feed your own observability/analytics\n\n## Installation\n\nThe package is currently distributed via the internal GitLab package registry\nor via a built tarball:\n\n```bash\n# from the GitLab package registry (recommended)\nnpm i @alien/chat-sdk --registry https://gitlab.com/api/v4/projects/<id>/packages/npm\n\n# from a local tarball (during development)\ncd path/to/chat-sdk && npm pack\nnpm i ./alien-chat-sdk-0.3.0.tgz\n```\n\nPeer deps: `react >= 18`, `react-dom >= 18`, `next >= 14` (optional). The\npackage brings its own `zod`, `@anthropic-ai/sdk`, `ai`, `@ai-sdk/openai`,\n`@openrouter/ai-sdk-provider`.\n\n## Verified\n\nv0.3.0 powers the chat in `datastreaming-demos/publisher-demo`. End-to-end\nagainst the Alien alpha platform: 10 concurrent subagents (3 planners + 6\nspecialists + 1 critic), 14 tool calls, custom `defineTool`s, MCP server\nattached, real cost-breakdown events flowing through. See\n[CHANGELOG.md](./CHANGELOG.md) for the full v0.1 → v0.3 history.\n\nv0.6.0's OpenRouter runner is verified live against `openrouter.ai` across three\nvendors — `anthropic/claude-sonnet-4-6`, `openai/gpt-4.1`,\n`google/gemini-2.5-flash` — each streaming text and completing a full tool loop\n(`tool-call` → `tool-result` → final answer), with Claude and Gemini streaming\n`thinking-delta`. Reproduce with `scripts/smoke-openrouter.mjs`.\n\n## License\n\nMIT.\n","readmeFilename":"README.md"}