{"_id":"@coral-ai/chat","_rev":"6-3d7fb4819f30a2a6db8ed23a0433511d","name":"@coral-ai/chat","dist-tags":{"latest":"0.5.0"},"versions":{"0.3.0":{"name":"@coral-ai/chat","version":"0.3.0","author":{"name":"Eunsoo Lee"},"license":"MIT","_id":"@coral-ai/chat@0.3.0","maintainers":[{"name":"mochimilk","email":"eun.boo@outlook.com"}],"homepage":"https://github.com/mochimilk/coral-ai#readme","bugs":{"url":"https://github.com/mochimilk/coral-ai/issues"},"dist":{"shasum":"4e0c0361d3ad2a1eff068f0254bcb8e6f6a9ea7a","tarball":"https://registry.npmjs.org/@coral-ai/chat/-/chat-0.3.0.tgz","fileCount":6,"integrity":"sha512-WSIBUA9tM6kF33RI4zLKnskPFq/NK92fMTdxgFbDNEJmSaAOg6B8pnUrnSOkXTL1MyaiC8DidG9dyah5SRtEQA==","signatures":[{"sig":"MEUCIQDRg7LdyAANnTeA1rct0NV9RlWv6st/o3OE/PZkkEHPaAIgYRfAsK5ZK7s14tyw7nRjx3kzkDkB29Lg0C/HyyieHT4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":161083},"type":"module","_from":"file:coral-ai-chat-0.3.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"mochimilk","email":"eun.boo@outlook.com"},"_resolved":"C:\\Users\\EUNSOO~1\\AppData\\Local\\Temp\\8f1bed88747c80a6f000ce691c55fa32\\coral-ai-chat-0.3.0.tgz","_integrity":"sha512-WSIBUA9tM6kF33RI4zLKnskPFq/NK92fMTdxgFbDNEJmSaAOg6B8pnUrnSOkXTL1MyaiC8DidG9dyah5SRtEQA==","repository":{"url":"git+https://github.com/mochimilk/coral-ai.git","type":"git","directory":"packages/chat"},"_npmVersion":"11.5.2","description":"Chat surface for Coral UI: Chat, Chat.Canvas, Chat.Messages, Chat.Input, and agent helpers.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@coral-ai/markdown":"0.3.0","@coral-ai/bundleicons":"2.0.324","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0","@coral-ai/markdown":"^0.3.0","@coral-ai/bundleicons":"^2.0.324","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/chat_0.3.0_1776916691678_0.7638405392208298","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@coral-ai/chat","version":"0.3.1","author":{"name":"Eunsoo Lee"},"license":"MIT","_id":"@coral-ai/chat@0.3.1","maintainers":[{"name":"mochimilk","email":"eun.boo@outlook.com"}],"homepage":"https://github.com/mochimilk/coral-ai#readme","bugs":{"url":"https://github.com/mochimilk/coral-ai/issues"},"dist":{"shasum":"6b2dfb3c96a266ccfa0d776fdd9d12e7a1c9ed53","tarball":"https://registry.npmjs.org/@coral-ai/chat/-/chat-0.3.1.tgz","fileCount":6,"integrity":"sha512-yJY+eHKoLPNE9sTjJEvVXA4bFHGVcrRd1+uJbV38A5Tc0Q3O+LXgZChDgaP7RtFWE8Dy8fpv1ctQNRG6Dgjdfw==","signatures":[{"sig":"MEYCIQDKgN28RTwC/2wtURy+XIal5cN40MZ46eJaiJqQX1khTgIhAO96L0g25KHzpV8+kKINaAPP+xoSXREmtwvbyZ9LK9k7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":162119},"type":"module","_from":"file:coral-ai-chat-0.3.1.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"mochimilk","email":"eun.boo@outlook.com"},"_resolved":"C:\\Users\\EUNSOO~1\\AppData\\Local\\Temp\\3b2b40a29f8fd9218a8d904e084489d8\\coral-ai-chat-0.3.1.tgz","_integrity":"sha512-yJY+eHKoLPNE9sTjJEvVXA4bFHGVcrRd1+uJbV38A5Tc0Q3O+LXgZChDgaP7RtFWE8Dy8fpv1ctQNRG6Dgjdfw==","repository":{"url":"git+https://github.com/mochimilk/coral-ai.git","type":"git","directory":"packages/chat"},"_npmVersion":"11.5.2","description":"Chat surface for Coral: Chat, Chat.Canvas, Chat.Messages, Chat.Input, and agent helpers.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@coral-ai/markdown":"0.3.1","@coral-ai/bundleicons":"0.3.1","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0","@coral-ai/markdown":"^0.3.1","@coral-ai/bundleicons":"^0.3.1","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/chat_0.3.1_1776921794105_0.7939467096409301","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@coral-ai/chat","version":"0.4.0","author":{"name":"Eunsoo Lee"},"license":"MIT","_id":"@coral-ai/chat@0.4.0","maintainers":[{"name":"mochimilk","email":"eun.boo@outlook.com"}],"homepage":"https://github.com/mochimilk/coral-ai#readme","bugs":{"url":"https://github.com/mochimilk/coral-ai/issues"},"dist":{"shasum":"a517cb31e7391444b7552b5e84bd50671725b2fa","tarball":"https://registry.npmjs.org/@coral-ai/chat/-/chat-0.4.0.tgz","fileCount":6,"integrity":"sha512-TW2mrUWxL4ztHhMjV1UN9Kbydh9QyUfVKkzvv6BzlIljMH/RLSpPxz4WCDTjvC4Ltxo9jY2qjZYpp4Y43eZupg==","signatures":[{"sig":"MEUCIQDqoRfkugQi5VqS3gl2cJe5I9KxnS2ozlubB2yc2qgmMAIgHoZREwIVBDopKq7wYiSRCPnJ27AmDqkV/M4bCaCnw/Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":311975},"type":"module","_from":"file:C:/Users/eunsoolee/OneDrive - Microsoft/Desktop/coral ui playground/v3/coral-ui/packages/chat/coral-ai-chat-0.4.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"mochimilk","email":"eun.boo@outlook.com"},"_resolved":"C:\\Users\\eunsoolee\\OneDrive - Microsoft\\Desktop\\coral ui playground\\v3\\coral-ui\\packages\\chat\\coral-ai-chat-0.4.0.tgz","_integrity":"sha512-TW2mrUWxL4ztHhMjV1UN9Kbydh9QyUfVKkzvv6BzlIljMH/RLSpPxz4WCDTjvC4Ltxo9jY2qjZYpp4Y43eZupg==","repository":{"url":"git+https://github.com/mochimilk/coral-ai.git","type":"git","directory":"packages/chat"},"_npmVersion":"11.5.2","description":"Chat surface for Coral: Chat, Chat.Canvas, Chat.Messages, Chat.Input, and agent helpers.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@coral-ai/react":"0.4.0","@coral-ai/markdown":"0.4.0","@coral-ai/bundleicons":"2.0.325","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0","@coral-ai/react":"^0.4.0","@coral-ai/markdown":"^0.4.0","@coral-ai/bundleicons":"^2.0.325","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/chat_0.4.0_1779268435716_0.6521943148879794","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@coral-ai/chat","version":"0.4.1","author":{"name":"Eunsoo Lee"},"license":"MIT","_id":"@coral-ai/chat@0.4.1","maintainers":[{"name":"mochimilk","email":"eun.boo@outlook.com"}],"homepage":"https://github.com/mochimilk/coral-ai#readme","bugs":{"url":"https://github.com/mochimilk/coral-ai/issues"},"dist":{"shasum":"978b6612431658b8473e770cef5c0924f30edc64","tarball":"https://registry.npmjs.org/@coral-ai/chat/-/chat-0.4.1.tgz","fileCount":6,"integrity":"sha512-LyDSsZozkIXjzD1wQpYNkwKd+QIXrC3Blf523yMw3uAnXhZLb6L7+SiLorDS1WsbjNpqr7bwZ2moHuI25IaARw==","signatures":[{"sig":"MEUCIQDajnL2N7cwzK6wQLFID/UI9N8hNUeuyQqd7XpsQEzHMQIgWYPvlULRp3ANmWRF1nl85ar96g28Fi+iSqy7rUld5eI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":313774},"type":"module","_from":"file:coral-ai-chat-0.4.1.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"mochimilk","email":"eun.boo@outlook.com"},"_resolved":"C:\\Users\\EUNSOO~1\\AppData\\Local\\Temp\\29b0e3907aa57ffaa8b507088be53653\\coral-ai-chat-0.4.1.tgz","_integrity":"sha512-LyDSsZozkIXjzD1wQpYNkwKd+QIXrC3Blf523yMw3uAnXhZLb6L7+SiLorDS1WsbjNpqr7bwZ2moHuI25IaARw==","repository":{"url":"git+https://github.com/mochimilk/coral-ai.git","type":"git","directory":"packages/chat"},"_npmVersion":"11.5.2","description":"Chat surface for Coral: Chat, Chat.Canvas, Chat.Messages, Chat.Input, and agent helpers.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@coral-ai/react":"0.4.1","@coral-ai/markdown":"0.4.1","@coral-ai/bundleicons":"2.0.325","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0","@coral-ai/react":"^0.4.1","@coral-ai/markdown":"^0.4.1","@coral-ai/bundleicons":"^2.0.325","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/chat_0.4.1_1779297364190_0.7637247188894325","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@coral-ai/chat","version":"0.4.2","author":{"name":"Eunsoo Lee"},"license":"MIT","_id":"@coral-ai/chat@0.4.2","maintainers":[{"name":"mochimilk","email":"eun.boo@outlook.com"}],"homepage":"https://github.com/mochimilk/coral-ai#readme","bugs":{"url":"https://github.com/mochimilk/coral-ai/issues"},"dist":{"shasum":"e12e072545386ad62a26535f8870d1fd48c19f8e","tarball":"https://registry.npmjs.org/@coral-ai/chat/-/chat-0.4.2.tgz","fileCount":6,"integrity":"sha512-3kHXJCKnQNf8ssh8PcMXwiWYnpDapMWGjVp9Fpttv3Nmf8576kin60WQ+sN4c4z7x5z4nl1Di0GZFsXUJYeugw==","signatures":[{"sig":"MEUCIFYcCX955u+tBFCbIGmXYc6qYXDiXO2CujrDYQbNbJHXAiEAmpKR9Q9YBekLvluVhtJF9ic54YCrGSMDHKIJ8pP9RgI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":326775},"type":"module","_from":"file:coral-ai-chat-0.4.2.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"private":false,"scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"mochimilk","email":"eun.boo@outlook.com"},"_resolved":"C:\\Users\\EUNSOO~1\\AppData\\Local\\Temp\\f688e97694f033bf968e9574a1b0259b\\coral-ai-chat-0.4.2.tgz","_integrity":"sha512-3kHXJCKnQNf8ssh8PcMXwiWYnpDapMWGjVp9Fpttv3Nmf8576kin60WQ+sN4c4z7x5z4nl1Di0GZFsXUJYeugw==","repository":{"url":"git+https://github.com/mochimilk/coral-ai.git","type":"git","directory":"packages/chat"},"_npmVersion":"11.5.2","description":"Chat surface for Coral: Chat, Chat.Canvas, Chat.Messages, Chat.Input, and agent helpers.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.19.4","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","@coral-ai/react":"0.4.2","@coral-ai/charts":"3.8.1","@coral-ai/markdown":"0.4.1","@coral-ai/bundleicons":"2.0.325","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"peerDependencies":{"react":"^19.0.0","react-dom":"^19.0.0","@coral-ai/react":"^0.4.2","@coral-ai/charts":"^3.8.1","@coral-ai/markdown":"^0.4.1","@coral-ai/bundleicons":"^2.0.325","@fluentui/react-icons":"^2.0.322","@fluentui/react-components":"^9.0.0"},"_npmOperationalInternal":{"tmp":"tmp/chat_0.4.2_1779349669644_0.13114687889310672","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@coral-ai/chat","version":"0.5.0","private":false,"description":"Chat surface for Coral: Chat, Chat.Canvas, Chat.Messages, Chat.Input, and agent helpers.","license":"MIT","author":{"name":"Eunsoo Lee"},"homepage":"https://github.com/mochimilk/coral-ai#readme","repository":{"type":"git","url":"git+https://github.com/mochimilk/coral-ai.git","directory":"packages/chat"},"bugs":{"url":"https://github.com/mochimilk/coral-ai/issues"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"sideEffects":["**/*.css"],"peerDependencies":{"@fluentui/react-components":"^9.0.0","@fluentui/react-icons":"^2.0.322","react":"^19.0.0","react-dom":"^19.0.0","@coral-ai/markdown":"^0.5.0","@coral-ai/charts":"^3.8.2","@coral-ai/bundleicons":"^2.0.325","@coral-ai/react":"^0.5.0"},"devDependencies":{"@fluentui/react-components":"^9.0.0","@fluentui/react-icons":"^2.0.322","tsup":"^8.5.1","@coral-ai/react":"0.5.0","@coral-ai/charts":"3.8.2","@coral-ai/markdown":"0.5.0","@coral-ai/bundleicons":"2.0.325"},"publishConfig":{"access":"public"},"scripts":{"build":"tsup","dev":"tsup --watch"},"_id":"@coral-ai/chat@0.5.0","_integrity":"sha512-iTXADDqTYLxZfbAflU1PhI+DFYRzBf+P2Oaj7ogiuigCHttl70cbNrGjBU2NIyQnfz5xoCHOAMiIdueU8+dULg==","_resolved":"C:\\Users\\EUNSOO~1\\AppData\\Local\\Temp\\8e9bb142835458023082ab9b929842b5\\coral-ai-chat-0.5.0.tgz","_from":"file:coral-ai-chat-0.5.0.tgz","_nodeVersion":"20.19.4","_npmVersion":"11.5.2","dist":{"integrity":"sha512-iTXADDqTYLxZfbAflU1PhI+DFYRzBf+P2Oaj7ogiuigCHttl70cbNrGjBU2NIyQnfz5xoCHOAMiIdueU8+dULg==","shasum":"bf58254814e018010cc1191884fa7f6dddabee5d","tarball":"https://registry.npmjs.org/@coral-ai/chat/-/chat-0.5.0.tgz","fileCount":6,"unpackedSize":331567,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHw2dRehKQLgr5XWyqbU8qP/CSF8b5bhZ2CeVWt/v9E+AiEA6lTBgyiQXFuORg/rkoZuaByOWPL3U5ty23jO7BGaxFM="}]},"_npmUser":{"name":"mochimilk","email":"eun.boo@outlook.com"},"directories":{},"maintainers":[{"name":"mochimilk","email":"eun.boo@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/chat_0.5.0_1780507132363_0.9819964827253556"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-23T03:58:11.579Z","modified":"2026-06-03T17:18:52.645Z","0.3.0":"2026-04-23T03:58:11.861Z","0.3.1":"2026-04-23T05:23:14.282Z","0.4.0":"2026-05-20T09:13:55.892Z","0.4.1":"2026-05-20T17:16:04.338Z","0.4.2":"2026-05-21T07:47:49.827Z","0.5.0":"2026-06-03T17:18:52.529Z"},"bugs":{"url":"https://github.com/mochimilk/coral-ai/issues"},"author":{"name":"Eunsoo Lee"},"license":"MIT","homepage":"https://github.com/mochimilk/coral-ai#readme","repository":{"type":"git","url":"git+https://github.com/mochimilk/coral-ai.git","directory":"packages/chat"},"description":"Chat surface for Coral: Chat, Chat.Canvas, Chat.Messages, Chat.Input, and agent helpers.","maintainers":[{"name":"mochimilk","email":"eun.boo@outlook.com"}],"readme":"# @coral-ai/chat\n\nChat surface for Coral: `<Chat>`, `<Chat.Canvas>`, `<Chat.Messages>`, `<Chat.Input>`, streaming helpers, and a model-agnostic agent tool-use runner.\n\n## Install\n\n```sh\nnpm install @coral-ai/chat @coral-ai/markdown @coral-ai/bundleicons @fluentui/react-components @fluentui/react-icons react react-dom\n```\n\nPeer dependencies do not install transitively. Install all of the above explicitly.\n\n## Usage\n\n```tsx\nimport { Chat } from \"@coral-ai/chat\";\n\n<Chat onSendMessage={async (input) => `You said: ${input}`} />\n```\n\n`onSendMessage` is the one handler — return a string, an async iterable of\n`ChatChunk`s, or a `ChatResponse`. A backend URL can also be supplied via the\n`api` prop or `coral.config.json`'s `chat.api`.\n\nSee [coral-ai](https://github.com/mochimilk/coral-ai) for the full project.\n","readmeFilename":"README.md"}