@copilotkit/react-core 0.0.0-main-20260126221712 → 0.0.0-main-20260402184302

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (633) hide show
  1. package/.attw.json +3 -0
  2. package/CHANGELOG.md +708 -31
  3. package/README.md +18 -12
  4. package/dist/copilotkit-BK_zLoVm.mjs +7661 -0
  5. package/dist/copilotkit-BK_zLoVm.mjs.map +1 -0
  6. package/dist/copilotkit-BYNyIuE7.d.cts +2208 -0
  7. package/dist/copilotkit-BYNyIuE7.d.cts.map +1 -0
  8. package/dist/copilotkit-CDZGGOIB.cjs +8074 -0
  9. package/dist/copilotkit-CDZGGOIB.cjs.map +1 -0
  10. package/dist/copilotkit-rBCfdqIo.d.mts +2208 -0
  11. package/dist/copilotkit-rBCfdqIo.d.mts.map +1 -0
  12. package/dist/index.cjs +1976 -0
  13. package/dist/index.cjs.map +1 -0
  14. package/dist/index.d.cts +667 -0
  15. package/dist/index.d.cts.map +1 -0
  16. package/dist/index.d.mts +667 -0
  17. package/dist/index.d.mts.map +1 -0
  18. package/dist/index.mjs +1939 -146
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/index.umd.js +6097 -0
  21. package/dist/index.umd.js.map +1 -0
  22. package/dist/v2/index.cjs +89 -0
  23. package/dist/v2/index.css +2 -4
  24. package/dist/v2/index.d.cts +6 -0
  25. package/dist/v2/index.d.mts +6 -0
  26. package/dist/v2/index.mjs +9 -5
  27. package/dist/v2/index.umd.js +7798 -0
  28. package/dist/v2/index.umd.js.map +1 -0
  29. package/package.json +79 -49
  30. package/scripts/scope-preflight.mjs +100 -0
  31. package/src/components/CopilotListeners.tsx +18 -6
  32. package/src/components/copilot-provider/__tests__/copilot-messages-key.test.tsx +92 -0
  33. package/src/components/copilot-provider/__tests__/copilotkit-error.test.tsx +6 -4
  34. package/src/components/copilot-provider/copilot-messages.tsx +37 -12
  35. package/src/components/copilot-provider/copilotkit-props.tsx +5 -2
  36. package/src/components/copilot-provider/copilotkit.tsx +290 -116
  37. package/src/components/dev-console/console-trigger.tsx +39 -10
  38. package/src/components/dev-console/developer-console-modal.tsx +207 -57
  39. package/src/components/dev-console/icons.tsx +6 -1
  40. package/src/components/error-boundary/error-boundary.tsx +10 -2
  41. package/src/components/error-boundary/error-utils.tsx +10 -5
  42. package/src/components/toast/toast-provider.tsx +16 -6
  43. package/src/components/usage-banner.tsx +9 -2
  44. package/src/context/coagent-state-renders-context.tsx +25 -12
  45. package/src/context/copilot-context.tsx +48 -15
  46. package/src/context/copilot-messages-context.tsx +1 -1
  47. package/src/context/index.ts +8 -2
  48. package/src/context/threads-context.tsx +14 -3
  49. package/src/hooks/__tests__/use-coagent-config.test.ts +24 -23
  50. package/src/hooks/__tests__/use-coagent-state-render-bridge.helpers.test.ts +107 -0
  51. package/src/hooks/__tests__/use-coagent-state-render.e2e.test.tsx +1009 -29
  52. package/src/hooks/__tests__/use-coagent-state-render.test.tsx +356 -0
  53. package/src/hooks/__tests__/use-copilot-chat-internal-connect.test.tsx +242 -0
  54. package/src/hooks/__tests__/use-frontend-tool-available.test.tsx +72 -0
  55. package/src/hooks/__tests__/use-frontend-tool-remount.e2e.test.tsx +102 -0
  56. package/src/hooks/index.ts +0 -1
  57. package/src/hooks/use-agent-nodename.ts +1 -1
  58. package/src/hooks/use-coagent-state-render-bridge.helpers.ts +344 -0
  59. package/src/hooks/use-coagent-state-render-bridge.tsx +50 -131
  60. package/src/hooks/use-coagent-state-render-registry.ts +230 -0
  61. package/src/hooks/use-coagent-state-render.ts +30 -19
  62. package/src/hooks/use-coagent.ts +16 -5
  63. package/src/hooks/use-configure-chat-suggestions.tsx +16 -6
  64. package/src/hooks/use-copilot-action.ts +12 -3
  65. package/src/hooks/use-copilot-additional-instructions.ts +17 -4
  66. package/src/hooks/use-copilot-authenticated-action.ts +4 -1
  67. package/src/hooks/use-copilot-chat-headless_c.ts +8 -2
  68. package/src/hooks/use-copilot-chat-suggestions.tsx +16 -6
  69. package/src/hooks/use-copilot-chat.ts +4 -2
  70. package/src/hooks/use-copilot-chat_internal.ts +248 -68
  71. package/src/hooks/use-copilot-readable.ts +1 -1
  72. package/src/hooks/use-copilot-runtime-client.ts +20 -6
  73. package/src/hooks/use-default-tool.ts +8 -2
  74. package/src/hooks/use-flat-category-store.ts +15 -11
  75. package/src/hooks/use-frontend-tool.ts +48 -31
  76. package/src/hooks/use-human-in-the-loop.ts +23 -7
  77. package/src/hooks/use-langgraph-interrupt.ts +97 -30
  78. package/src/hooks/use-lazy-tool-renderer.tsx +1 -1
  79. package/src/hooks/use-render-tool-call.ts +20 -11
  80. package/src/hooks/use-tree.ts +20 -5
  81. package/src/lib/copilot-task.ts +22 -8
  82. package/src/lib/status-checker.ts +4 -1
  83. package/src/setupTests.ts +30 -21
  84. package/src/test-helpers/copilot-context.ts +91 -0
  85. package/src/types/coagent-action.ts +6 -2
  86. package/src/types/frontend-action.ts +16 -5
  87. package/src/types/interrupt-action.ts +20 -5
  88. package/src/v2/__tests__/A2UIMessageRenderer.test.tsx +176 -0
  89. package/src/v2/__tests__/globalSetup.ts +14 -0
  90. package/src/v2/__tests__/setup.ts +93 -0
  91. package/src/v2/__tests__/utils/test-helpers.tsx +503 -0
  92. package/src/v2/a2ui/A2UIMessageRenderer.tsx +206 -0
  93. package/src/v2/components/CopilotKitInspector.tsx +50 -0
  94. package/src/v2/components/MCPAppsActivityRenderer.tsx +785 -0
  95. package/src/v2/components/WildcardToolCallRender.tsx +86 -0
  96. package/src/v2/components/__tests__/license-warning-banner.test.tsx +46 -0
  97. package/src/v2/components/chat/CopilotChat.tsx +433 -0
  98. package/src/v2/components/chat/CopilotChatAssistantMessage.tsx +375 -0
  99. package/src/v2/components/chat/CopilotChatAudioRecorder.tsx +350 -0
  100. package/src/v2/components/chat/CopilotChatInput.tsx +1302 -0
  101. package/src/v2/components/chat/CopilotChatMessageView.tsx +561 -0
  102. package/src/v2/components/chat/CopilotChatReasoningMessage.tsx +252 -0
  103. package/src/v2/components/chat/CopilotChatSuggestionPill.tsx +59 -0
  104. package/src/v2/components/chat/CopilotChatSuggestionView.tsx +133 -0
  105. package/src/v2/components/chat/CopilotChatToggleButton.tsx +171 -0
  106. package/src/v2/components/chat/CopilotChatToolCallsView.tsx +40 -0
  107. package/src/v2/components/chat/CopilotChatUserMessage.tsx +388 -0
  108. package/src/v2/components/chat/CopilotChatView.tsx +598 -0
  109. package/src/v2/components/chat/CopilotModalHeader.tsx +129 -0
  110. package/src/v2/components/chat/CopilotPopup.tsx +81 -0
  111. package/src/v2/components/chat/CopilotPopupView.tsx +317 -0
  112. package/src/v2/components/chat/CopilotSidebar.tsx +76 -0
  113. package/src/v2/components/chat/CopilotSidebarView.tsx +255 -0
  114. package/src/v2/components/chat/__tests__/CopilotChat.e2e.test.tsx +1113 -0
  115. package/src/v2/components/chat/__tests__/CopilotChat.onError.test.tsx +73 -0
  116. package/src/v2/components/chat/__tests__/CopilotChat.slots.e2e.test.tsx +432 -0
  117. package/src/v2/components/chat/__tests__/CopilotChatActivityRendering.e2e.test.tsx +150 -0
  118. package/src/v2/components/chat/__tests__/CopilotChatAssistantMessage.slots.e2e.test.tsx +624 -0
  119. package/src/v2/components/chat/__tests__/CopilotChatAssistantMessage.test.tsx +702 -0
  120. package/src/v2/components/chat/__tests__/CopilotChatCssClasses.test.tsx +107 -0
  121. package/src/v2/components/chat/__tests__/CopilotChatInput.slots.e2e.test.tsx +929 -0
  122. package/src/v2/components/chat/__tests__/CopilotChatInput.test.tsx +986 -0
  123. package/src/v2/components/chat/__tests__/CopilotChatMessageView.slots.e2e.test.tsx +1004 -0
  124. package/src/v2/components/chat/__tests__/CopilotChatMessageView.test.tsx +169 -0
  125. package/src/v2/components/chat/__tests__/CopilotChatSuggestionView.slots.e2e.test.tsx +530 -0
  126. package/src/v2/components/chat/__tests__/CopilotChatToolRendering.e2e.test.tsx +785 -0
  127. package/src/v2/components/chat/__tests__/CopilotChatToolRerenders.e2e.test.tsx +2416 -0
  128. package/src/v2/components/chat/__tests__/CopilotChatUserMessage.slots.e2e.test.tsx +621 -0
  129. package/src/v2/components/chat/__tests__/CopilotChatView.onClick.e2e.test.tsx +853 -0
  130. package/src/v2/components/chat/__tests__/CopilotChatView.slots.e2e.test.tsx +1050 -0
  131. package/src/v2/components/chat/__tests__/CopilotModalHeader.slots.e2e.test.tsx +484 -0
  132. package/src/v2/components/chat/__tests__/CopilotPopupView.slots.e2e.test.tsx +612 -0
  133. package/src/v2/components/chat/__tests__/CopilotSidebarView.slots.e2e.test.tsx +502 -0
  134. package/src/v2/components/chat/__tests__/MCPAppsActivityRenderer.e2e.test.tsx +1027 -0
  135. package/src/v2/components/chat/__tests__/setup.ts +1 -0
  136. package/src/v2/components/chat/index.ts +79 -0
  137. package/src/v2/components/index.ts +7 -0
  138. package/src/v2/components/license-warning-banner.tsx +198 -0
  139. package/src/v2/components/ui/button.tsx +123 -0
  140. package/src/v2/components/ui/dropdown-menu.tsx +258 -0
  141. package/src/v2/components/ui/tooltip.tsx +60 -0
  142. package/src/v2/hooks/__tests__/standard-schema-types.test.tsx +152 -0
  143. package/src/v2/hooks/__tests__/standard-schema.test.tsx +282 -0
  144. package/src/v2/hooks/__tests__/use-agent-context-timing.e2e.test.tsx +140 -0
  145. package/src/v2/hooks/__tests__/use-agent-context.test.tsx +401 -0
  146. package/src/v2/hooks/__tests__/use-agent-error-state.test.tsx +44 -0
  147. package/src/v2/hooks/__tests__/use-agent-stability.test.tsx +205 -0
  148. package/src/v2/hooks/__tests__/use-agent-thread-isolation.test.tsx +327 -0
  149. package/src/v2/hooks/__tests__/use-agent-throttle.test.tsx +728 -0
  150. package/src/v2/hooks/__tests__/use-agent.e2e.test.tsx +159 -0
  151. package/src/v2/hooks/__tests__/use-component.test.tsx +123 -0
  152. package/src/v2/hooks/__tests__/use-configure-suggestions.e2e.test.tsx +696 -0
  153. package/src/v2/hooks/__tests__/use-default-render-tool.test.tsx +153 -0
  154. package/src/v2/hooks/__tests__/use-frontend-tool-available.test.tsx +167 -0
  155. package/src/v2/hooks/__tests__/use-frontend-tool.e2e.test.tsx +2148 -0
  156. package/src/v2/hooks/__tests__/use-human-in-the-loop.e2e.test.tsx +1261 -0
  157. package/src/v2/hooks/__tests__/use-interrupt.test.tsx +397 -0
  158. package/src/v2/hooks/__tests__/use-katex-styles.test.tsx +56 -0
  159. package/src/v2/hooks/__tests__/use-keyboard-height.test.tsx +192 -0
  160. package/src/v2/hooks/__tests__/use-render-tool.test.tsx +259 -0
  161. package/src/v2/hooks/__tests__/use-suggestions.e2e.test.tsx +524 -0
  162. package/src/v2/hooks/__tests__/use-threads.test.tsx +433 -0
  163. package/src/v2/hooks/__tests__/zod-regression.test.tsx +311 -0
  164. package/src/v2/hooks/index.ts +18 -0
  165. package/src/v2/hooks/use-agent-context.tsx +45 -0
  166. package/src/v2/hooks/use-agent.tsx +358 -0
  167. package/src/v2/hooks/use-component.tsx +89 -0
  168. package/src/v2/hooks/use-configure-suggestions.tsx +187 -0
  169. package/src/v2/hooks/use-default-render-tool.tsx +254 -0
  170. package/src/v2/hooks/use-frontend-tool.tsx +43 -0
  171. package/src/v2/hooks/use-human-in-the-loop.tsx +81 -0
  172. package/src/v2/hooks/use-interrupt.tsx +305 -0
  173. package/src/v2/hooks/use-keyboard-height.tsx +67 -0
  174. package/src/v2/hooks/use-render-activity-message.tsx +73 -0
  175. package/src/v2/hooks/use-render-custom-messages.tsx +98 -0
  176. package/src/v2/hooks/use-render-tool-call.tsx +175 -0
  177. package/src/v2/hooks/use-render-tool.tsx +181 -0
  178. package/src/v2/hooks/use-suggestions.tsx +91 -0
  179. package/src/v2/hooks/use-threads.tsx +256 -0
  180. package/src/v2/hooks/useKatexStyles.ts +27 -0
  181. package/src/v2/index.css +1 -1
  182. package/src/v2/index.ts +21 -2
  183. package/src/v2/lib/__tests__/completePartialMarkdown.test.ts +495 -0
  184. package/src/v2/lib/__tests__/renderSlot.test.tsx +588 -0
  185. package/src/v2/lib/react-core.ts +156 -0
  186. package/src/v2/lib/slots.tsx +143 -0
  187. package/src/v2/lib/transcription-client.ts +184 -0
  188. package/src/v2/lib/utils.ts +8 -0
  189. package/src/v2/providers/CopilotChatConfigurationProvider.tsx +162 -0
  190. package/src/v2/providers/CopilotKitProvider.tsx +600 -0
  191. package/src/v2/providers/__tests__/CopilotChatConfigurationProvider.test.tsx +546 -0
  192. package/src/v2/providers/__tests__/CopilotKitProvider.license.test.tsx +101 -0
  193. package/src/v2/providers/__tests__/CopilotKitProvider.onError.test.tsx +69 -0
  194. package/src/v2/providers/__tests__/CopilotKitProvider.renderCustomMessages.e2e.test.tsx +881 -0
  195. package/src/v2/providers/__tests__/CopilotKitProvider.stability.test.tsx +740 -0
  196. package/src/v2/providers/__tests__/CopilotKitProvider.test.tsx +642 -0
  197. package/src/v2/providers/__tests__/CopilotKitProvider.wildcard.test.tsx +294 -0
  198. package/src/v2/providers/index.ts +14 -0
  199. package/src/v2/styles/globals.css +231 -0
  200. package/src/v2/types/__tests__/defineToolCallRenderer.test.tsx +525 -0
  201. package/src/v2/types/defineToolCallRenderer.ts +65 -0
  202. package/src/v2/types/frontend-tool.ts +8 -0
  203. package/src/v2/types/human-in-the-loop.ts +33 -0
  204. package/src/v2/types/index.ts +7 -0
  205. package/src/v2/types/interrupt.ts +15 -0
  206. package/src/v2/types/react-activity-message-renderer.ts +27 -0
  207. package/src/v2/types/react-custom-message-renderer.ts +17 -0
  208. package/src/v2/types/react-tool-call-renderer.ts +32 -0
  209. package/tsconfig.json +2 -2
  210. package/tsdown.config.ts +118 -0
  211. package/vitest.config.mjs +31 -0
  212. package/LICENSE +0 -21
  213. package/dist/chunk-2IDV5OHF.mjs +0 -11
  214. package/dist/chunk-2IDV5OHF.mjs.map +0 -1
  215. package/dist/chunk-36KQV2NA.mjs +0 -1
  216. package/dist/chunk-36KQV2NA.mjs.map +0 -1
  217. package/dist/chunk-37JRY3TC.mjs +0 -349
  218. package/dist/chunk-37JRY3TC.mjs.map +0 -1
  219. package/dist/chunk-3X3I7OJV.mjs +0 -172
  220. package/dist/chunk-3X3I7OJV.mjs.map +0 -1
  221. package/dist/chunk-4CEQJ2X6.mjs +0 -31
  222. package/dist/chunk-4CEQJ2X6.mjs.map +0 -1
  223. package/dist/chunk-4RRMC7L2.mjs +0 -32
  224. package/dist/chunk-4RRMC7L2.mjs.map +0 -1
  225. package/dist/chunk-6ESSSQ7Q.mjs +0 -134
  226. package/dist/chunk-6ESSSQ7Q.mjs.map +0 -1
  227. package/dist/chunk-6YOKPWQ7.mjs +0 -1
  228. package/dist/chunk-6YOKPWQ7.mjs.map +0 -1
  229. package/dist/chunk-6ZLPNY7X.mjs +0 -225
  230. package/dist/chunk-6ZLPNY7X.mjs.map +0 -1
  231. package/dist/chunk-7DTB7S5V.mjs +0 -83
  232. package/dist/chunk-7DTB7S5V.mjs.map +0 -1
  233. package/dist/chunk-7IBF6RBW.mjs +0 -23
  234. package/dist/chunk-7IBF6RBW.mjs.map +0 -1
  235. package/dist/chunk-A6NKSGH3.mjs +0 -1
  236. package/dist/chunk-A6NKSGH3.mjs.map +0 -1
  237. package/dist/chunk-ABWT4DRT.mjs +0 -24
  238. package/dist/chunk-ABWT4DRT.mjs.map +0 -1
  239. package/dist/chunk-AFNWX62Q.mjs +0 -110
  240. package/dist/chunk-AFNWX62Q.mjs.map +0 -1
  241. package/dist/chunk-AR533FGY.mjs +0 -86
  242. package/dist/chunk-AR533FGY.mjs.map +0 -1
  243. package/dist/chunk-BUSWSDYO.mjs +0 -17
  244. package/dist/chunk-BUSWSDYO.mjs.map +0 -1
  245. package/dist/chunk-BVBFFI7K.mjs +0 -102
  246. package/dist/chunk-BVBFFI7K.mjs.map +0 -1
  247. package/dist/chunk-CDUIA2WM.mjs +0 -60
  248. package/dist/chunk-CDUIA2WM.mjs.map +0 -1
  249. package/dist/chunk-CYDWEPFL.mjs +0 -1
  250. package/dist/chunk-CYDWEPFL.mjs.map +0 -1
  251. package/dist/chunk-DMLQZG75.mjs +0 -25
  252. package/dist/chunk-DMLQZG75.mjs.map +0 -1
  253. package/dist/chunk-E7SE25ZU.mjs +0 -59
  254. package/dist/chunk-E7SE25ZU.mjs.map +0 -1
  255. package/dist/chunk-EFL5OBKN.mjs +0 -310
  256. package/dist/chunk-EFL5OBKN.mjs.map +0 -1
  257. package/dist/chunk-FD6FGKYY.mjs +0 -1
  258. package/dist/chunk-FD6FGKYY.mjs.map +0 -1
  259. package/dist/chunk-FDOMAPJY.mjs +0 -59
  260. package/dist/chunk-FDOMAPJY.mjs.map +0 -1
  261. package/dist/chunk-FJEI7IBX.mjs +0 -83
  262. package/dist/chunk-FJEI7IBX.mjs.map +0 -1
  263. package/dist/chunk-GPEJNVE5.mjs +0 -80
  264. package/dist/chunk-GPEJNVE5.mjs.map +0 -1
  265. package/dist/chunk-HE22TZMF.mjs +0 -186
  266. package/dist/chunk-HE22TZMF.mjs.map +0 -1
  267. package/dist/chunk-I76HKHPJ.mjs +0 -32
  268. package/dist/chunk-I76HKHPJ.mjs.map +0 -1
  269. package/dist/chunk-ICIK2BSB.mjs +0 -17
  270. package/dist/chunk-ICIK2BSB.mjs.map +0 -1
  271. package/dist/chunk-JD7BAH7U.mjs +0 -1
  272. package/dist/chunk-JD7BAH7U.mjs.map +0 -1
  273. package/dist/chunk-K2GJI3PT.mjs +0 -120
  274. package/dist/chunk-K2GJI3PT.mjs.map +0 -1
  275. package/dist/chunk-LMHB2D4J.mjs +0 -33
  276. package/dist/chunk-LMHB2D4J.mjs.map +0 -1
  277. package/dist/chunk-LUGEI4YQ.mjs +0 -1
  278. package/dist/chunk-LUGEI4YQ.mjs.map +0 -1
  279. package/dist/chunk-LWJIFZWN.mjs +0 -36
  280. package/dist/chunk-LWJIFZWN.mjs.map +0 -1
  281. package/dist/chunk-NB2FKV2V.mjs +0 -1
  282. package/dist/chunk-NB2FKV2V.mjs.map +0 -1
  283. package/dist/chunk-NBK4KBLX.mjs +0 -54
  284. package/dist/chunk-NBK4KBLX.mjs.map +0 -1
  285. package/dist/chunk-O7ARI5CV.mjs +0 -31
  286. package/dist/chunk-O7ARI5CV.mjs.map +0 -1
  287. package/dist/chunk-PIF5KJYI.mjs +0 -103
  288. package/dist/chunk-PIF5KJYI.mjs.map +0 -1
  289. package/dist/chunk-PMAFHQ7P.mjs +0 -65
  290. package/dist/chunk-PMAFHQ7P.mjs.map +0 -1
  291. package/dist/chunk-RKTVJRK7.mjs +0 -143
  292. package/dist/chunk-RKTVJRK7.mjs.map +0 -1
  293. package/dist/chunk-SKC7AJIV.mjs +0 -61
  294. package/dist/chunk-SKC7AJIV.mjs.map +0 -1
  295. package/dist/chunk-SPCZTZCY.mjs +0 -1
  296. package/dist/chunk-SPCZTZCY.mjs.map +0 -1
  297. package/dist/chunk-THCOOWDH.mjs +0 -551
  298. package/dist/chunk-THCOOWDH.mjs.map +0 -1
  299. package/dist/chunk-VV56AVPB.mjs +0 -125
  300. package/dist/chunk-VV56AVPB.mjs.map +0 -1
  301. package/dist/chunk-WF65O6HX.mjs +0 -66
  302. package/dist/chunk-WF65O6HX.mjs.map +0 -1
  303. package/dist/chunk-XDFVCQD3.mjs +0 -27
  304. package/dist/chunk-XDFVCQD3.mjs.map +0 -1
  305. package/dist/chunk-YCG6SNAU.mjs +0 -759
  306. package/dist/chunk-YCG6SNAU.mjs.map +0 -1
  307. package/dist/chunk-YTQHRJUA.mjs +0 -86
  308. package/dist/chunk-YTQHRJUA.mjs.map +0 -1
  309. package/dist/chunk-YYN33GSG.mjs +0 -73
  310. package/dist/chunk-YYN33GSG.mjs.map +0 -1
  311. package/dist/chunk-Z6JV2LRY.mjs +0 -37
  312. package/dist/chunk-Z6JV2LRY.mjs.map +0 -1
  313. package/dist/chunk-ZVF5Q6IH.mjs +0 -29
  314. package/dist/chunk-ZVF5Q6IH.mjs.map +0 -1
  315. package/dist/chunk-ZYTXB6HH.mjs +0 -151
  316. package/dist/chunk-ZYTXB6HH.mjs.map +0 -1
  317. package/dist/components/CopilotListeners.d.ts +0 -3
  318. package/dist/components/CopilotListeners.js +0 -101
  319. package/dist/components/CopilotListeners.js.map +0 -1
  320. package/dist/components/CopilotListeners.mjs +0 -9
  321. package/dist/components/CopilotListeners.mjs.map +0 -1
  322. package/dist/components/copilot-provider/copilot-messages.d.ts +0 -24
  323. package/dist/components/copilot-provider/copilot-messages.js +0 -351
  324. package/dist/components/copilot-provider/copilot-messages.js.map +0 -1
  325. package/dist/components/copilot-provider/copilot-messages.mjs +0 -16
  326. package/dist/components/copilot-provider/copilot-messages.mjs.map +0 -1
  327. package/dist/components/copilot-provider/copilotkit-props.d.ts +0 -180
  328. package/dist/components/copilot-provider/copilotkit-props.js +0 -19
  329. package/dist/components/copilot-provider/copilotkit-props.js.map +0 -1
  330. package/dist/components/copilot-provider/copilotkit-props.mjs +0 -1
  331. package/dist/components/copilot-provider/copilotkit-props.mjs.map +0 -1
  332. package/dist/components/copilot-provider/copilotkit.d.ts +0 -19
  333. package/dist/components/copilot-provider/copilotkit.js +0 -1966
  334. package/dist/components/copilot-provider/copilotkit.js.map +0 -1
  335. package/dist/components/copilot-provider/copilotkit.mjs +0 -31
  336. package/dist/components/copilot-provider/copilotkit.mjs.map +0 -1
  337. package/dist/components/copilot-provider/index.d.ts +0 -14
  338. package/dist/components/copilot-provider/index.js +0 -1966
  339. package/dist/components/copilot-provider/index.js.map +0 -1
  340. package/dist/components/copilot-provider/index.mjs +0 -30
  341. package/dist/components/copilot-provider/index.mjs.map +0 -1
  342. package/dist/components/dev-console/console-trigger.d.ts +0 -8
  343. package/dist/components/dev-console/console-trigger.js +0 -1202
  344. package/dist/components/dev-console/console-trigger.js.map +0 -1
  345. package/dist/components/dev-console/console-trigger.mjs +0 -233
  346. package/dist/components/dev-console/console-trigger.mjs.map +0 -1
  347. package/dist/components/dev-console/developer-console-modal.d.ts +0 -10
  348. package/dist/components/dev-console/developer-console-modal.js +0 -987
  349. package/dist/components/dev-console/developer-console-modal.js.map +0 -1
  350. package/dist/components/dev-console/developer-console-modal.mjs +0 -12
  351. package/dist/components/dev-console/developer-console-modal.mjs.map +0 -1
  352. package/dist/components/dev-console/icons.d.ts +0 -9
  353. package/dist/components/dev-console/icons.js +0 -131
  354. package/dist/components/dev-console/icons.js.map +0 -1
  355. package/dist/components/dev-console/icons.mjs +0 -16
  356. package/dist/components/dev-console/icons.mjs.map +0 -1
  357. package/dist/components/error-boundary/error-boundary.d.ts +0 -31
  358. package/dist/components/error-boundary/error-boundary.js +0 -500
  359. package/dist/components/error-boundary/error-boundary.js.map +0 -1
  360. package/dist/components/error-boundary/error-boundary.mjs +0 -15
  361. package/dist/components/error-boundary/error-boundary.mjs.map +0 -1
  362. package/dist/components/error-boundary/error-utils.d.ts +0 -11
  363. package/dist/components/error-boundary/error-utils.js +0 -180
  364. package/dist/components/error-boundary/error-utils.js.map +0 -1
  365. package/dist/components/error-boundary/error-utils.mjs +0 -14
  366. package/dist/components/error-boundary/error-utils.mjs.map +0 -1
  367. package/dist/components/index.d.ts +0 -14
  368. package/dist/components/index.js +0 -1966
  369. package/dist/components/index.js.map +0 -1
  370. package/dist/components/index.mjs +0 -31
  371. package/dist/components/index.mjs.map +0 -1
  372. package/dist/components/toast/exclamation-mark-icon.d.ts +0 -9
  373. package/dist/components/toast/exclamation-mark-icon.js +0 -55
  374. package/dist/components/toast/exclamation-mark-icon.js.map +0 -1
  375. package/dist/components/toast/exclamation-mark-icon.mjs +0 -8
  376. package/dist/components/toast/exclamation-mark-icon.mjs.map +0 -1
  377. package/dist/components/toast/toast-provider.d.ts +0 -27
  378. package/dist/components/toast/toast-provider.js +0 -347
  379. package/dist/components/toast/toast-provider.js.map +0 -1
  380. package/dist/components/toast/toast-provider.mjs +0 -10
  381. package/dist/components/toast/toast-provider.mjs.map +0 -1
  382. package/dist/components/usage-banner.d.ts +0 -29
  383. package/dist/components/usage-banner.js +0 -247
  384. package/dist/components/usage-banner.js.map +0 -1
  385. package/dist/components/usage-banner.mjs +0 -12
  386. package/dist/components/usage-banner.mjs.map +0 -1
  387. package/dist/context/coagent-state-renders-context.d.ts +0 -24
  388. package/dist/context/coagent-state-renders-context.js +0 -91
  389. package/dist/context/coagent-state-renders-context.js.map +0 -1
  390. package/dist/context/coagent-state-renders-context.mjs +0 -12
  391. package/dist/context/coagent-state-renders-context.mjs.map +0 -1
  392. package/dist/context/copilot-context.d.ts +0 -10
  393. package/dist/context/copilot-context.js +0 -161
  394. package/dist/context/copilot-context.js.map +0 -1
  395. package/dist/context/copilot-context.mjs +0 -10
  396. package/dist/context/copilot-context.mjs.map +0 -1
  397. package/dist/context/copilot-messages-context.d.ts +0 -18
  398. package/dist/context/copilot-messages-context.js +0 -60
  399. package/dist/context/copilot-messages-context.js.map +0 -1
  400. package/dist/context/copilot-messages-context.mjs +0 -10
  401. package/dist/context/copilot-messages-context.mjs.map +0 -1
  402. package/dist/context/index.d.ts +0 -15
  403. package/dist/context/index.js +0 -285
  404. package/dist/context/index.js.map +0 -1
  405. package/dist/context/index.mjs +0 -33
  406. package/dist/context/index.mjs.map +0 -1
  407. package/dist/context/threads-context.d.ts +0 -16
  408. package/dist/context/threads-context.js +0 -59
  409. package/dist/context/threads-context.js.map +0 -1
  410. package/dist/context/threads-context.mjs +0 -12
  411. package/dist/context/threads-context.mjs.map +0 -1
  412. package/dist/copilot-context-ec77e921.d.ts +0 -209
  413. package/dist/hooks/index.d.ts +0 -33
  414. package/dist/hooks/index.js +0 -1780
  415. package/dist/hooks/index.js.map +0 -1
  416. package/dist/hooks/index.mjs +0 -91
  417. package/dist/hooks/index.mjs.map +0 -1
  418. package/dist/hooks/use-agent-nodename.d.ts +0 -3
  419. package/dist/hooks/use-agent-nodename.js +0 -56
  420. package/dist/hooks/use-agent-nodename.js.map +0 -1
  421. package/dist/hooks/use-agent-nodename.mjs +0 -8
  422. package/dist/hooks/use-agent-nodename.mjs.map +0 -1
  423. package/dist/hooks/use-coagent-state-render-bridge.d.ts +0 -100
  424. package/dist/hooks/use-coagent-state-render-bridge.js +0 -220
  425. package/dist/hooks/use-coagent-state-render-bridge.js.map +0 -1
  426. package/dist/hooks/use-coagent-state-render-bridge.mjs +0 -15
  427. package/dist/hooks/use-coagent-state-render-bridge.mjs.map +0 -1
  428. package/dist/hooks/use-coagent-state-render.d.ts +0 -55
  429. package/dist/hooks/use-coagent-state-render.js +0 -255
  430. package/dist/hooks/use-coagent-state-render.js.map +0 -1
  431. package/dist/hooks/use-coagent-state-render.mjs +0 -11
  432. package/dist/hooks/use-coagent-state-render.mjs.map +0 -1
  433. package/dist/hooks/use-coagent.d.ts +0 -192
  434. package/dist/hooks/use-coagent.js +0 -233
  435. package/dist/hooks/use-coagent.js.map +0 -1
  436. package/dist/hooks/use-coagent.mjs +0 -9
  437. package/dist/hooks/use-coagent.mjs.map +0 -1
  438. package/dist/hooks/use-configure-chat-suggestions.d.ts +0 -36
  439. package/dist/hooks/use-configure-chat-suggestions.js +0 -79
  440. package/dist/hooks/use-configure-chat-suggestions.js.map +0 -1
  441. package/dist/hooks/use-configure-chat-suggestions.mjs +0 -47
  442. package/dist/hooks/use-configure-chat-suggestions.mjs.map +0 -1
  443. package/dist/hooks/use-copilot-action.d.ts +0 -103
  444. package/dist/hooks/use-copilot-action.js +0 -295
  445. package/dist/hooks/use-copilot-action.js.map +0 -1
  446. package/dist/hooks/use-copilot-action.mjs +0 -11
  447. package/dist/hooks/use-copilot-action.mjs.map +0 -1
  448. package/dist/hooks/use-copilot-additional-instructions.d.ts +0 -26
  449. package/dist/hooks/use-copilot-additional-instructions.js +0 -177
  450. package/dist/hooks/use-copilot-additional-instructions.js.map +0 -1
  451. package/dist/hooks/use-copilot-additional-instructions.mjs +0 -9
  452. package/dist/hooks/use-copilot-additional-instructions.mjs.map +0 -1
  453. package/dist/hooks/use-copilot-authenticated-action.d.ts +0 -18
  454. package/dist/hooks/use-copilot-authenticated-action.js +0 -462
  455. package/dist/hooks/use-copilot-authenticated-action.js.map +0 -1
  456. package/dist/hooks/use-copilot-authenticated-action.mjs +0 -13
  457. package/dist/hooks/use-copilot-authenticated-action.mjs.map +0 -1
  458. package/dist/hooks/use-copilot-chat-headless_c.d.ts +0 -25
  459. package/dist/hooks/use-copilot-chat-headless_c.js +0 -1050
  460. package/dist/hooks/use-copilot-chat-headless_c.js.map +0 -1
  461. package/dist/hooks/use-copilot-chat-headless_c.mjs +0 -24
  462. package/dist/hooks/use-copilot-chat-headless_c.mjs.map +0 -1
  463. package/dist/hooks/use-copilot-chat-suggestions.d.ts +0 -35
  464. package/dist/hooks/use-copilot-chat-suggestions.js +0 -60
  465. package/dist/hooks/use-copilot-chat-suggestions.js.map +0 -1
  466. package/dist/hooks/use-copilot-chat-suggestions.mjs +0 -8
  467. package/dist/hooks/use-copilot-chat-suggestions.mjs.map +0 -1
  468. package/dist/hooks/use-copilot-chat.d.ts +0 -92
  469. package/dist/hooks/use-copilot-chat.js +0 -984
  470. package/dist/hooks/use-copilot-chat.js.map +0 -1
  471. package/dist/hooks/use-copilot-chat.mjs +0 -21
  472. package/dist/hooks/use-copilot-chat.mjs.map +0 -1
  473. package/dist/hooks/use-copilot-chat_internal.d.ts +0 -244
  474. package/dist/hooks/use-copilot-chat_internal.js +0 -982
  475. package/dist/hooks/use-copilot-chat_internal.js.map +0 -1
  476. package/dist/hooks/use-copilot-chat_internal.mjs +0 -22
  477. package/dist/hooks/use-copilot-chat_internal.mjs.map +0 -1
  478. package/dist/hooks/use-copilot-readable.d.ts +0 -37
  479. package/dist/hooks/use-copilot-readable.js +0 -61
  480. package/dist/hooks/use-copilot-readable.js.map +0 -1
  481. package/dist/hooks/use-copilot-readable.mjs +0 -8
  482. package/dist/hooks/use-copilot-readable.mjs.map +0 -1
  483. package/dist/hooks/use-copilot-runtime-client.d.ts +0 -10
  484. package/dist/hooks/use-copilot-runtime-client.js +0 -203
  485. package/dist/hooks/use-copilot-runtime-client.js.map +0 -1
  486. package/dist/hooks/use-copilot-runtime-client.mjs +0 -9
  487. package/dist/hooks/use-copilot-runtime-client.mjs.map +0 -1
  488. package/dist/hooks/use-default-tool.d.ts +0 -8
  489. package/dist/hooks/use-default-tool.js +0 -302
  490. package/dist/hooks/use-default-tool.js.map +0 -1
  491. package/dist/hooks/use-default-tool.mjs +0 -12
  492. package/dist/hooks/use-default-tool.mjs.map +0 -1
  493. package/dist/hooks/use-flat-category-store.d.ts +0 -9
  494. package/dist/hooks/use-flat-category-store.js +0 -93
  495. package/dist/hooks/use-flat-category-store.js.map +0 -1
  496. package/dist/hooks/use-flat-category-store.mjs +0 -8
  497. package/dist/hooks/use-flat-category-store.mjs.map +0 -1
  498. package/dist/hooks/use-frontend-tool.d.ts +0 -11
  499. package/dist/hooks/use-frontend-tool.js +0 -104
  500. package/dist/hooks/use-frontend-tool.js.map +0 -1
  501. package/dist/hooks/use-frontend-tool.mjs +0 -8
  502. package/dist/hooks/use-frontend-tool.mjs.map +0 -1
  503. package/dist/hooks/use-human-in-the-loop.d.ts +0 -13
  504. package/dist/hooks/use-human-in-the-loop.js +0 -122
  505. package/dist/hooks/use-human-in-the-loop.js.map +0 -1
  506. package/dist/hooks/use-human-in-the-loop.mjs +0 -8
  507. package/dist/hooks/use-human-in-the-loop.mjs.map +0 -1
  508. package/dist/hooks/use-langgraph-interrupt-render.d.ts +0 -6
  509. package/dist/hooks/use-langgraph-interrupt-render.js +0 -318
  510. package/dist/hooks/use-langgraph-interrupt-render.js.map +0 -1
  511. package/dist/hooks/use-langgraph-interrupt-render.mjs +0 -14
  512. package/dist/hooks/use-langgraph-interrupt-render.mjs.map +0 -1
  513. package/dist/hooks/use-langgraph-interrupt.d.ts +0 -14
  514. package/dist/hooks/use-langgraph-interrupt.js +0 -201
  515. package/dist/hooks/use-langgraph-interrupt.js.map +0 -1
  516. package/dist/hooks/use-langgraph-interrupt.mjs +0 -10
  517. package/dist/hooks/use-langgraph-interrupt.mjs.map +0 -1
  518. package/dist/hooks/use-lazy-tool-renderer.d.ts +0 -6
  519. package/dist/hooks/use-lazy-tool-renderer.js +0 -53
  520. package/dist/hooks/use-lazy-tool-renderer.js.map +0 -1
  521. package/dist/hooks/use-lazy-tool-renderer.mjs +0 -8
  522. package/dist/hooks/use-lazy-tool-renderer.mjs.map +0 -1
  523. package/dist/hooks/use-make-copilot-document-readable.d.ts +0 -12
  524. package/dist/hooks/use-make-copilot-document-readable.js +0 -176
  525. package/dist/hooks/use-make-copilot-document-readable.js.map +0 -1
  526. package/dist/hooks/use-make-copilot-document-readable.mjs +0 -9
  527. package/dist/hooks/use-make-copilot-document-readable.mjs.map +0 -1
  528. package/dist/hooks/use-render-tool-call.d.ts +0 -12
  529. package/dist/hooks/use-render-tool-call.js +0 -90
  530. package/dist/hooks/use-render-tool-call.js.map +0 -1
  531. package/dist/hooks/use-render-tool-call.mjs +0 -8
  532. package/dist/hooks/use-render-tool-call.mjs.map +0 -1
  533. package/dist/hooks/use-tree.d.ts +0 -19
  534. package/dist/hooks/use-tree.js +0 -175
  535. package/dist/hooks/use-tree.js.map +0 -1
  536. package/dist/hooks/use-tree.mjs +0 -8
  537. package/dist/hooks/use-tree.mjs.map +0 -1
  538. package/dist/index.d.ts +0 -43
  539. package/dist/index.js +0 -3534
  540. package/dist/index.js.map +0 -1
  541. package/dist/lib/copilot-task.d.ts +0 -97
  542. package/dist/lib/copilot-task.js +0 -194
  543. package/dist/lib/copilot-task.js.map +0 -1
  544. package/dist/lib/copilot-task.mjs +0 -31
  545. package/dist/lib/copilot-task.mjs.map +0 -1
  546. package/dist/lib/index.d.ts +0 -11
  547. package/dist/lib/index.js +0 -196
  548. package/dist/lib/index.js.map +0 -1
  549. package/dist/lib/index.mjs +0 -32
  550. package/dist/lib/index.mjs.map +0 -1
  551. package/dist/lib/status-checker.d.ts +0 -17
  552. package/dist/lib/status-checker.js +0 -102
  553. package/dist/lib/status-checker.js.map +0 -1
  554. package/dist/lib/status-checker.mjs +0 -8
  555. package/dist/lib/status-checker.mjs.map +0 -1
  556. package/dist/setupTests.d.ts +0 -2
  557. package/dist/setupTests.js +0 -28
  558. package/dist/setupTests.js.map +0 -1
  559. package/dist/setupTests.mjs +0 -26
  560. package/dist/setupTests.mjs.map +0 -1
  561. package/dist/types/chat-suggestion-configuration.d.ts +0 -22
  562. package/dist/types/chat-suggestion-configuration.js +0 -19
  563. package/dist/types/chat-suggestion-configuration.js.map +0 -1
  564. package/dist/types/chat-suggestion-configuration.mjs +0 -1
  565. package/dist/types/chat-suggestion-configuration.mjs.map +0 -1
  566. package/dist/types/coagent-action.d.ts +0 -29
  567. package/dist/types/coagent-action.js +0 -19
  568. package/dist/types/coagent-action.js.map +0 -1
  569. package/dist/types/coagent-action.mjs +0 -1
  570. package/dist/types/coagent-action.mjs.map +0 -1
  571. package/dist/types/coagent-state.d.ts +0 -15
  572. package/dist/types/coagent-state.js +0 -19
  573. package/dist/types/coagent-state.js.map +0 -1
  574. package/dist/types/coagent-state.mjs +0 -1
  575. package/dist/types/coagent-state.mjs.map +0 -1
  576. package/dist/types/crew.d.ts +0 -79
  577. package/dist/types/crew.js +0 -19
  578. package/dist/types/crew.js.map +0 -1
  579. package/dist/types/crew.mjs +0 -2
  580. package/dist/types/crew.mjs.map +0 -1
  581. package/dist/types/document-pointer.d.ts +0 -9
  582. package/dist/types/document-pointer.js +0 -19
  583. package/dist/types/document-pointer.js.map +0 -1
  584. package/dist/types/document-pointer.mjs +0 -1
  585. package/dist/types/document-pointer.mjs.map +0 -1
  586. package/dist/types/frontend-action.d.ts +0 -127
  587. package/dist/types/frontend-action.js +0 -53
  588. package/dist/types/frontend-action.js.map +0 -1
  589. package/dist/types/frontend-action.mjs +0 -8
  590. package/dist/types/frontend-action.mjs.map +0 -1
  591. package/dist/types/index.d.ts +0 -12
  592. package/dist/types/index.js +0 -19
  593. package/dist/types/index.js.map +0 -1
  594. package/dist/types/index.mjs +0 -4
  595. package/dist/types/index.mjs.map +0 -1
  596. package/dist/types/interrupt-action.d.ts +0 -10
  597. package/dist/types/interrupt-action.js +0 -19
  598. package/dist/types/interrupt-action.js.map +0 -1
  599. package/dist/types/interrupt-action.mjs +0 -2
  600. package/dist/types/interrupt-action.mjs.map +0 -1
  601. package/dist/types/system-message.d.ts +0 -3
  602. package/dist/types/system-message.js +0 -19
  603. package/dist/types/system-message.js.map +0 -1
  604. package/dist/types/system-message.mjs +0 -1
  605. package/dist/types/system-message.mjs.map +0 -1
  606. package/dist/utils/dev-console.d.ts +0 -3
  607. package/dist/utils/dev-console.js +0 -41
  608. package/dist/utils/dev-console.js.map +0 -1
  609. package/dist/utils/dev-console.mjs +0 -8
  610. package/dist/utils/dev-console.mjs.map +0 -1
  611. package/dist/utils/index.d.ts +0 -2
  612. package/dist/utils/index.js +0 -52
  613. package/dist/utils/index.js.map +0 -1
  614. package/dist/utils/index.mjs +0 -13
  615. package/dist/utils/index.mjs.map +0 -1
  616. package/dist/utils/suggestions-constants.d.ts +0 -9
  617. package/dist/utils/suggestions-constants.js +0 -35
  618. package/dist/utils/suggestions-constants.js.map +0 -1
  619. package/dist/utils/suggestions-constants.mjs +0 -8
  620. package/dist/utils/suggestions-constants.mjs.map +0 -1
  621. package/dist/utils/utils.d.ts +0 -2
  622. package/dist/utils/utils.js +0 -19
  623. package/dist/utils/utils.js.map +0 -1
  624. package/dist/utils/utils.mjs +0 -1
  625. package/dist/utils/utils.mjs.map +0 -1
  626. package/dist/v2/index.css.map +0 -1
  627. package/dist/v2/index.d.ts +0 -2
  628. package/dist/v2/index.js +0 -27
  629. package/dist/v2/index.js.map +0 -1
  630. package/dist/v2/index.mjs.map +0 -1
  631. package/jest.config.js +0 -25
  632. package/src/hooks/use-langgraph-interrupt-render.ts +0 -136
  633. package/tsup.config.ts +0 -16
package/CHANGELOG.md CHANGED
@@ -1,15 +1,668 @@
1
1
  # ui
2
2
 
3
- ## 0.0.0-main-20260126221712
3
+ ## 0.0.0-main-20260402184302
4
+
5
+ ### Minor Changes
6
+
7
+ - 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
8
+
9
+ ### Patch Changes
10
+
11
+ - 0f6a61c: fix: add React keys to CopilotMessages children to suppress "unique key prop" warning
12
+ - 1ceb963: fix: respect defaultOpen={false} in CopilotSidebar and CopilotPopup
13
+ - 1ceb963: fix: race condition in RunHandler.runAgent() causes dropped runs
14
+ - 1ceb963: fix: address scroll bar styling when using mouse-wheel
15
+ - 53e5669: Fix multiple CopilotChat components with different threadIds sharing message state. The useAgent hook now creates per-thread agent clones when threadId is provided, ensuring each chat instance maintains isolated messages and state.
16
+ - c341ed2: chore: kick CI to verify publish pipeline
17
+ - Updated dependencies [1ceb963]
18
+ - Updated dependencies [1ceb963]
19
+ - Updated dependencies [1ceb963]
20
+ - @copilotkit/a2ui-renderer@0.0.0-main-20260402184302
21
+ - @copilotkit/core@0.0.0-main-20260402184302
22
+ - @copilotkit/runtime-client-gql@0.0.0-main-20260402184302
23
+ - @copilotkit/shared@0.0.0-main-20260402184302
24
+ - @copilotkit/web-inspector@0.0.0-main-20260402184302
25
+
26
+ ## 1.55.0-next.8
27
+
28
+ ### Patch Changes
29
+
30
+ - 0f6a61c: fix: add React keys to CopilotMessages children to suppress "unique key prop" warning
31
+ - 53e5669: Fix multiple CopilotChat components with different threadIds sharing message state. The useAgent hook now creates per-thread agent clones when threadId is provided, ensuring each chat instance maintains isolated messages and state.
32
+ - @copilotkit/a2ui-renderer@1.55.0-next.8
33
+ - @copilotkit/core@1.55.0-next.8
34
+ - @copilotkit/runtime-client-gql@1.55.0-next.8
35
+ - @copilotkit/shared@1.55.0-next.8
36
+ - @copilotkit/web-inspector@1.55.0-next.8
37
+
38
+ ## 1.55.0-next.7
39
+
40
+ ### Minor Changes
41
+
42
+ - 1ceb963: refactor: consolidate V1/V2 packages into flat @copilotkit/\* structure
43
+
44
+ ### Patch Changes
45
+
46
+ - Updated dependencies [1ceb963]
47
+ - @copilotkit/a2ui-renderer@1.55.0-next.7
48
+ - @copilotkit/core@1.55.0-next.7
49
+ - @copilotkit/runtime-client-gql@1.55.0-next.7
50
+ - @copilotkit/shared@1.55.0-next.7
51
+ - @copilotkit/web-inspector@1.55.0-next.7
52
+
53
+ ## 1.54.1-next.6
54
+
55
+ ### Patch Changes
56
+
57
+ - Updated dependencies [13584d0]
58
+ - @copilotkitnext/react@1.54.1-next.6
59
+ - @copilotkit/runtime-client-gql@1.54.1-next.6
60
+ - @copilotkit/shared@1.54.1-next.6
61
+ - @copilotkitnext/core@1.54.1-next.6
62
+
63
+ ## 1.54.1-next.5
64
+
65
+ ### Patch Changes
66
+
67
+ - @copilotkit/runtime-client-gql@1.54.1-next.5
68
+ - @copilotkit/shared@1.54.1-next.5
69
+ - @copilotkitnext/core@1.54.1-next.5
70
+ - @copilotkitnext/react@1.54.1-next.5
71
+
72
+ ## 1.54.1-next.4
73
+
74
+ ### Patch Changes
75
+
76
+ - 8113dba: fix: race condition in RunHandler.runAgent() causes dropped runs
77
+ - Updated dependencies [8113dba]
78
+ - @copilotkitnext/core@1.54.1-next.4
79
+ - @copilotkitnext/react@1.54.1-next.4
80
+ - @copilotkit/runtime-client-gql@1.54.1-next.4
81
+ - @copilotkit/shared@1.54.1-next.4
82
+
83
+ ## 1.54.1-next.3
84
+
85
+ ### Patch Changes
86
+
87
+ - Updated dependencies [9e6a09f]
88
+ - @copilotkitnext/react@1.54.1-next.3
89
+ - @copilotkit/runtime-client-gql@1.54.1-next.3
90
+ - @copilotkit/shared@1.54.1-next.3
91
+ - @copilotkitnext/core@1.54.1-next.3
92
+
93
+ ## 1.54.1-next.2
94
+
95
+ ### Patch Changes
96
+
97
+ - @copilotkit/runtime-client-gql@1.54.1-next.2
98
+ - @copilotkit/shared@1.54.1-next.2
99
+ - @copilotkitnext/core@1.54.1-next.2
100
+ - @copilotkitnext/react@1.54.1-next.2
101
+
102
+ ## 1.54.1-next.1
103
+
104
+ ### Patch Changes
105
+
106
+ - Updated dependencies [d423001]
107
+ - @copilotkitnext/core@1.54.1-next.1
108
+ - @copilotkitnext/react@1.54.1-next.1
109
+ - @copilotkit/runtime-client-gql@1.54.1-next.1
110
+ - @copilotkit/shared@1.54.1-next.1
111
+
112
+ ## 1.54.1-next.0
113
+
114
+ ### Patch Changes
115
+
116
+ - @copilotkit/runtime-client-gql@1.54.1-next.0
117
+ - @copilotkit/shared@1.54.1-next.0
118
+ - @copilotkitnext/core@1.54.1-next.0
119
+ - @copilotkitnext/react@1.54.1-next.0
120
+
121
+ ## 1.54.0
122
+
123
+ ### Minor Changes
124
+
125
+ - fa0d1cd: Add support for Standard Schema (instead of just Zod)
126
+
127
+ ### Patch Changes
128
+
129
+ - c80498e: feat(core): add copilotkit.runTool() for programmatic tool execution
130
+ - af11b1e: Fixed hook render registrations lost under React Strict Mode.
131
+ - Updated dependencies [eb1e0bf]
132
+ - Updated dependencies [3780c6a]
133
+ - Updated dependencies [6e0cddf]
134
+ - Updated dependencies [fa0d1cd]
135
+ - Updated dependencies [c80498e]
136
+ - Updated dependencies [d746e4f]
137
+ - Updated dependencies [f1571ef]
138
+ - @copilotkitnext/core@1.54.0
139
+ - @copilotkitnext/react@1.54.0
140
+ - @copilotkit/runtime-client-gql@1.54.0
141
+ - @copilotkit/shared@1.54.0
142
+
143
+ ## 1.54.0-next.9
144
+
145
+ ### Patch Changes
146
+
147
+ - Updated dependencies [3780c6a]
148
+ - @copilotkitnext/core@1.54.0-next.9
149
+ - @copilotkitnext/react@1.54.0-next.9
150
+ - @copilotkit/runtime-client-gql@1.54.0-next.9
151
+ - @copilotkit/shared@1.54.0-next.9
152
+
153
+ ## 1.54.0-next.8
154
+
155
+ ### Patch Changes
156
+
157
+ - Updated dependencies [f1571ef]
158
+ - @copilotkitnext/core@1.54.0-next.8
159
+ - @copilotkitnext/react@1.54.0-next.8
160
+ - @copilotkit/runtime-client-gql@1.54.0-next.8
161
+ - @copilotkit/shared@1.54.0-next.8
162
+
163
+ ## 1.54.0-next.7
164
+
165
+ ### Patch Changes
166
+
167
+ - Updated dependencies [eb1e0bf]
168
+ - @copilotkitnext/core@1.54.0-next.7
169
+ - @copilotkitnext/react@1.54.0-next.7
170
+ - @copilotkit/runtime-client-gql@1.54.0-next.7
171
+ - @copilotkit/shared@1.54.0-next.7
172
+
173
+ ## 1.54.0-next.6
174
+
175
+ ### Patch Changes
176
+
177
+ - c80498e: feat(core): add copilotkit.runTool() for programmatic tool execution
178
+ - Updated dependencies [c80498e]
179
+ - @copilotkitnext/core@1.54.0-next.6
180
+ - @copilotkitnext/react@1.54.0-next.6
181
+ - @copilotkit/runtime-client-gql@1.54.0-next.6
182
+ - @copilotkit/shared@1.54.0-next.6
183
+
184
+ ## 1.54.0-next.5
185
+
186
+ ### Patch Changes
187
+
188
+ - @copilotkitnext/react@1.54.0-next.5
189
+ - @copilotkit/runtime-client-gql@1.54.0-next.5
190
+ - @copilotkit/shared@1.54.0-next.5
191
+ - @copilotkitnext/core@1.54.0-next.5
192
+
193
+ ## 1.54.0-next.4
194
+
195
+ ### Patch Changes
196
+
197
+ - af11b1e: Fixed hook render registrations lost under React Strict Mode.
198
+ - @copilotkit/runtime-client-gql@1.54.0-next.4
199
+ - @copilotkit/shared@1.54.0-next.4
200
+ - @copilotkitnext/core@1.54.0-next.4
201
+ - @copilotkitnext/react@1.54.0-next.4
202
+
203
+ ## 1.54.0-next.3
204
+
205
+ ### Minor Changes
206
+
207
+ - fa0d1cd: Add support for Standard Schema (instead of just Zod)
208
+
209
+ ### Patch Changes
210
+
211
+ - Updated dependencies [fa0d1cd]
212
+ - @copilotkitnext/react@1.54.0-next.3
213
+ - @copilotkit/runtime-client-gql@1.54.0-next.3
214
+ - @copilotkit/shared@1.54.0-next.3
215
+ - @copilotkitnext/core@1.54.0-next.3
216
+
217
+ ## 1.53.1-next.2
218
+
219
+ ### Patch Changes
220
+
221
+ - Updated dependencies [d746e4f]
222
+ - @copilotkit/react@1.53.1-next.2
223
+ - @copilotkit/runtime-client-gql@1.53.1-next.2
224
+ - @copilotkit/shared@1.53.1-next.2
225
+ - @copilotkit/core@1.53.1-next.2
226
+
227
+ ## 1.53.1-next.1
228
+
229
+ ### Patch Changes
230
+
231
+ - @copilotkit/runtime-client-gql@1.53.1-next.1
232
+ - @copilotkit/shared@1.53.1-next.1
233
+ - @copilotkit/core@1.53.1-next.1
234
+ - @copilotkit/react@1.53.1-next.1
235
+
236
+ ## 1.53.1-next.0
237
+
238
+ ### Patch Changes
239
+
240
+ - Updated dependencies [6e0cddf]
241
+ - @copilotkit/react@1.53.1-next.0
242
+ - @copilotkit/runtime-client-gql@1.53.1-next.0
243
+ - @copilotkit/shared@1.53.1-next.0
244
+ - @copilotkit/core@1.53.1-next.0
245
+
246
+ ## 1.53.0
247
+
248
+ ### Patch Changes
249
+
250
+ - 1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime
251
+ - f1eaa4c: Fixing a regression with setModalOpen
252
+ - ac31331: - Prevents error propagating out of CPK when an agent runtime is defined but not reachable
253
+ - Adds an onError callback to CopilotChat and CopilotKitProvider
254
+ - Updated dependencies [1510f64]
255
+ - Updated dependencies [bf1fc6f]
256
+ - @copilotkit/shared@1.53.0
257
+ - @copilotkit/core@1.53.0
258
+ - @copilotkit/react@1.53.0
259
+ - @copilotkit/runtime-client-gql@1.53.0
260
+
261
+ ## 1.53.0-next.6
262
+
263
+ ### Patch Changes
264
+
265
+ - @copilotkit/runtime-client-gql@1.53.0-next.6
266
+ - @copilotkit/shared@1.53.0-next.6
267
+ - @copilotkit/core@1.53.0-next.6
268
+ - @copilotkit/react@1.53.0-next.6
269
+
270
+ ## 1.53.0-next.5
271
+
272
+ ### Patch Changes
273
+
274
+ - @copilotkit/runtime-client-gql@1.53.0-next.5
275
+ - @copilotkit/shared@1.53.0-next.5
276
+ - @copilotkit/core@1.53.0-next.5
277
+ - @copilotkit/react@1.53.0-next.5
278
+
279
+ ## 1.52.2-next.4
280
+
281
+ ### Patch Changes
282
+
283
+ - ac31331: - Prevents error propagating out of CPK when an agent runtime is defined but not reachable
284
+ - Adds an onError callback to CopilotChat and CopilotKitProvider
285
+ - @copilotkit/runtime-client-gql@1.52.2-next.4
286
+ - @copilotkit/shared@1.52.2-next.4
287
+ - @copilotkit/core@1.52.2-next.4
288
+ - @copilotkit/react@1.52.2-next.4
289
+
290
+ ## 1.52.2-next.3
291
+
292
+ ### Patch Changes
293
+
294
+ - 1510f64: feat: enable mcp and a2ui middleware directly from copilotkit runtime
295
+ - Updated dependencies [1510f64]
296
+ - @copilotkit/shared@1.52.2-next.3
297
+ - @copilotkit/core@1.52.2-next.3
298
+ - @copilotkit/react@1.52.2-next.3
299
+ - @copilotkit/runtime-client-gql@1.52.2-next.3
300
+
301
+ ## 1.52.2-next.2
302
+
303
+ ### Patch Changes
304
+
305
+ - @copilotkit/runtime-client-gql@1.52.2-next.2
306
+ - @copilotkit/shared@1.52.2-next.2
307
+ - @copilotkit/core@1.52.2-next.2
308
+ - @copilotkit/react@1.52.2-next.2
309
+
310
+ ## 1.52.2-next.1
311
+
312
+ ### Patch Changes
313
+
314
+ - Updated dependencies [bf1fc6f]
315
+ - @copilotkit/shared@1.52.2-next.1
316
+ - @copilotkit/runtime-client-gql@1.52.2-next.1
317
+ - @copilotkit/core@1.52.2-next.1
318
+ - @copilotkit/react@1.52.2-next.1
319
+
320
+ ## 1.52.2-next.0
321
+
322
+ ### Patch Changes
323
+
324
+ - f1eaa4c: Fixing a regression with setModalOpen
325
+ - @copilotkit/runtime-client-gql@1.52.2-next.0
326
+ - @copilotkit/shared@1.52.2-next.0
327
+ - @copilotkit/core@1.52.2-next.0
328
+ - @copilotkit/react@1.52.2-next.0
329
+
330
+ ## 1.52.1
331
+
332
+ ### Patch Changes
333
+
334
+ - b555ac4: fix(react-core): allow overriding useSingleEndpoint in CopilotKit provider
335
+
336
+ The V1 `<CopilotKit>` provider previously hardcoded `useSingleEndpoint={true}` when wrapping the V2 provider, preventing users from opting into REST transport mode. The prop is now passed through from user config, defaulting to `true` to preserve backward compatibility.
337
+
338
+ - Updated dependencies [bbdf67d]
339
+ - @copilotkit/react@1.52.1
340
+ - @copilotkit/runtime-client-gql@1.52.1
341
+ - @copilotkit/shared@1.52.1
342
+ - @copilotkit/core@1.52.1
343
+
344
+ ## 1.52.1-next.1
345
+
346
+ ### Patch Changes
347
+
348
+ - b555ac4: fix(react-core): allow overriding useSingleEndpoint in CopilotKit provider
349
+
350
+ The V1 `<CopilotKit>` provider previously hardcoded `useSingleEndpoint={true}` when wrapping the V2 provider, preventing users from opting into REST transport mode. The prop is now passed through from user config, defaulting to `true` to preserve backward compatibility.
351
+
352
+ - @copilotkit/runtime-client-gql@1.52.1-next.1
353
+ - @copilotkit/shared@1.52.1-next.1
354
+ - @copilotkit/core@1.52.1-next.1
355
+ - @copilotkit/react@1.52.1-next.1
356
+
357
+ ## 1.52.1-next.0
358
+
359
+ ### Patch Changes
360
+
361
+ - Updated dependencies [bbdf67d]
362
+ - @copilotkit/react@1.52.1-next.0
363
+ - @copilotkit/runtime-client-gql@1.52.1-next.0
364
+ - @copilotkit/shared@1.52.1-next.0
365
+ - @copilotkit/core@1.52.1-next.0
366
+
367
+ ## 1.52.0
368
+
369
+ ### Minor Changes
370
+
371
+ - 6dd6c84: Adding new v2 features:
372
+
373
+ - useComponent
374
+ - useRenderTool
375
+ - useDefaultRenderTool
376
+
377
+ Also, fixing issues with styles not being
378
+ properly scoped for tailwind.
379
+
380
+ ### Patch Changes
381
+
382
+ - d77f347: Added in the useInterrupt hook
383
+ - 2007f8b: feat: useComponent improvements
384
+ - ef0f539: Add reasoning support and default components for reasoning messages
385
+ - 412965a: Introducing available prop to useFrontendTool()
386
+ - 5f941db: Prevent CPK styles from polluting user app
387
+ - Updated dependencies [593859f]
388
+ - Updated dependencies [d77f347]
389
+ - Updated dependencies [2007f8b]
390
+ - Updated dependencies [ef0f539]
391
+ - Updated dependencies [942d397]
392
+ - @copilotkit/react@1.52.0
393
+ - @copilotkit/core@1.52.0
394
+ - @copilotkit/shared@1.52.0
395
+ - @copilotkit/runtime-client-gql@1.52.0
396
+
397
+ ## 1.52.0-next.8
398
+
399
+ ### Patch Changes
400
+
401
+ - Updated dependencies [942d397]
402
+ - @copilotkit/react@1.52.0-next.8
403
+ - @copilotkit/runtime-client-gql@1.52.0-next.8
404
+ - @copilotkit/shared@1.52.0-next.8
405
+ - @copilotkit/core@1.52.0-next.8
406
+
407
+ ## 1.52.0-next.7
408
+
409
+ ### Patch Changes
410
+
411
+ - d77f347: Added in the useInterrupt hook
412
+ - Updated dependencies [d77f347]
413
+ - @copilotkit/react@1.52.0-next.7
414
+ - @copilotkit/core@1.52.0-next.7
415
+ - @copilotkit/runtime-client-gql@1.52.0-next.7
416
+ - @copilotkit/shared@1.52.0-next.7
417
+
418
+ ## 1.52.0-next.6
419
+
420
+ ### Patch Changes
421
+
422
+ - 2007f8b: feat: useComponent improvements
423
+ - 5f941db: Prevent CPK styles from polluting user app
424
+ - Updated dependencies [2007f8b]
425
+ - @copilotkit/react@1.52.0-next.6
426
+ - @copilotkit/runtime-client-gql@1.52.0-next.6
427
+ - @copilotkit/shared@1.52.0-next.6
428
+ - @copilotkit/core@1.52.0-next.6
429
+
430
+ ## 1.52.0-next.5
431
+
432
+ ### Minor Changes
433
+
434
+ - 6dd6c84: Adding new v2 features:
435
+
436
+ - useComponent
437
+ - useRenderTool
438
+ - useDefaultRenderTool
439
+
440
+ Also, fixing issues with styles not being
441
+ properly scoped for tailwind.
442
+
443
+ ### Patch Changes
444
+
445
+ - @copilotkit/runtime-client-gql@1.52.0-next.5
446
+ - @copilotkit/shared@1.52.0-next.5
447
+ - @copilotkit/core@1.52.0-next.5
448
+ - @copilotkit/react@1.52.0-next.5
449
+
450
+ ## 1.51.5-next.4
451
+
452
+ ### Patch Changes
453
+
454
+ - @copilotkit/runtime-client-gql@1.51.5-next.4
455
+ - @copilotkit/shared@1.51.5-next.4
456
+ - @copilotkit/core@1.51.5-next.4
457
+ - @copilotkit/react@1.51.5-next.4
458
+
459
+ ## 1.51.5-next.3
460
+
461
+ ### Patch Changes
462
+
463
+ - Updated dependencies [593859f]
464
+ - @copilotkit/react@1.51.5-next.3
465
+ - @copilotkit/runtime-client-gql@1.51.5-next.3
466
+ - @copilotkit/shared@1.51.5-next.3
467
+ - @copilotkit/core@1.51.5-next.3
468
+
469
+ ## 1.51.5-next.2
470
+
471
+ ### Patch Changes
472
+
473
+ - @copilotkit/runtime-client-gql@1.51.5-next.2
474
+ - @copilotkit/shared@1.51.5-next.2
475
+ - @copilotkit/core@1.51.5-next.2
476
+ - @copilotkit/react@1.51.5-next.2
477
+
478
+ ## 1.51.5-next.1
479
+
480
+ ### Patch Changes
481
+
482
+ - 412965a: Introducing available prop to useFrontendTool()
483
+ - @copilotkit/runtime-client-gql@1.51.5-next.1
484
+ - @copilotkit/shared@1.51.5-next.1
485
+ - @copilotkit/core@1.51.5-next.1
486
+ - @copilotkit/react@1.51.5-next.1
487
+
488
+ ## 1.51.5-next.0
489
+
490
+ ### Patch Changes
491
+
492
+ - ef0f539: Add reasoning support and default components for reasoning messages
493
+ - Updated dependencies [ef0f539]
494
+ - @copilotkit/shared@1.51.5-next.0
495
+ - @copilotkit/react@1.51.5-next.0
496
+ - @copilotkit/core@1.51.5-next.0
497
+ - @copilotkit/runtime-client-gql@1.51.5-next.0
498
+
499
+ ## 1.51.4
500
+
501
+ ### Patch Changes
502
+
503
+ - 6b9c60e: fix: add dependencies to fix stale state of regenerate method
504
+ - 12ee574: v2 UI improvements
505
+ - 9bc868d: Frontend tools integration with core in Angular package
506
+ - c998f30: fix(core): prevent tool call results from leaking into wrong thread on thread switch
507
+ - 6b7d8ef: feat(react): apply resource CSP domains to MCP Apps sandbox iframe
508
+ - Updated dependencies [c998f30]
509
+ - Updated dependencies [a3090d5]
510
+ - @copilotkit/core@1.51.4
511
+ - @copilotkit/react@1.51.4
512
+ - @copilotkit/runtime-client-gql@1.51.4
513
+ - @copilotkit/shared@1.51.4
514
+
515
+ ## 1.51.4-next.8
516
+
517
+ ### Patch Changes
518
+
519
+ - 9bc868d: Frontend tools integration with core in Angular package
520
+ - @copilotkit/runtime-client-gql@1.51.4-next.8
521
+ - @copilotkit/shared@1.51.4-next.8
522
+ - @copilotkit/core@1.51.4-next.8
523
+ - @copilotkit/react@1.51.4-next.8
524
+
525
+ ## 1.51.4-next.7
526
+
527
+ ### Patch Changes
528
+
529
+ - 6b7d8ef: feat(react): apply resource CSP domains to MCP Apps sandbox iframe
530
+ - @copilotkit/runtime-client-gql@1.51.4-next.7
531
+ - @copilotkit/shared@1.51.4-next.7
532
+ - @copilotkit/core@1.51.4-next.7
533
+ - @copilotkit/react@1.51.4-next.7
534
+
535
+ ## 1.51.4-next.6
536
+
537
+ ### Patch Changes
538
+
539
+ - @copilotkit/runtime-client-gql@1.51.4-next.6
540
+ - @copilotkit/shared@1.51.4-next.6
541
+ - @copilotkit/core@1.51.4-next.6
542
+ - @copilotkit/react@1.51.4-next.6
543
+
544
+ ## 1.51.4-next.5
545
+
546
+ ### Patch Changes
547
+
548
+ - @copilotkit/runtime-client-gql@1.51.4-next.5
549
+ - @copilotkit/shared@1.51.4-next.5
550
+ - @copilotkit/core@1.51.4-next.5
551
+ - @copilotkit/react@1.51.4-next.5
552
+
553
+ ## 1.51.4-next.4
554
+
555
+ ### Patch Changes
556
+
557
+ - c998f30: fix(core): prevent tool call results from leaking into wrong thread on thread switch
558
+ - Updated dependencies [c998f30]
559
+ - @copilotkit/core@1.51.4-next.4
560
+ - @copilotkit/react@1.51.4-next.4
561
+ - @copilotkit/runtime-client-gql@1.51.4-next.4
562
+ - @copilotkit/shared@1.51.4-next.4
563
+
564
+ ## 1.51.4-next.3
565
+
566
+ ### Patch Changes
567
+
568
+ - 6b9c60e: fix: add dependencies to fix stale state of regenerate method
569
+ - Updated dependencies [a3090d5]
570
+ - @copilotkit/react@1.51.4-next.3
571
+ - @copilotkit/runtime-client-gql@1.51.4-next.3
572
+ - @copilotkit/shared@1.51.4-next.3
573
+ - @copilotkit/core@1.51.4-next.3
574
+
575
+ ## 1.51.4-next.2
576
+
577
+ ### Patch Changes
578
+
579
+ - @copilotkit/runtime-client-gql@1.51.4-next.2
580
+ - @copilotkit/shared@1.51.4-next.2
581
+ - @copilotkit/core@1.51.4-next.2
582
+ - @copilotkit/react@1.51.4-next.2
583
+
584
+ ## 1.51.4-next.1
585
+
586
+ ### Patch Changes
587
+
588
+ - 12ee574: v2 UI improvements
589
+ - @copilotkit/runtime-client-gql@1.51.4-next.1
590
+ - @copilotkit/shared@1.51.4-next.1
591
+ - @copilotkit/core@1.51.4-next.1
592
+ - @copilotkit/react@1.51.4-next.1
593
+
594
+ ## 1.51.4-next.0
595
+
596
+ ### Patch Changes
597
+
598
+ - @copilotkit/runtime-client-gql@1.51.4-next.0
599
+ - @copilotkit/shared@1.51.4-next.0
600
+ - @copilotkit/core@1.51.4-next.0
601
+ - @copilotkit/react@1.51.4-next.0
602
+
603
+ ## 1.51.3
4
604
 
5
605
  ### Patch Changes
6
606
 
7
607
  - d655e75: fix: update ag-ui dependencies
608
+ - d36fc1e: Add UMD export
609
+ - e89fe98: fix(v1.x): address issue causing onSubmitMessage to fire after agent response
610
+ - 3f00a01: Fix issue causing onSubmitMessage to fire after agent response
8
611
  - Updated dependencies [d655e75]
9
- - @copilotkit/shared@0.0.0-main-20260126221712
10
- - @copilotkit/runtime-client-gql@0.0.0-main-20260126221712
11
- - @copilotkitnext/core@0.0.0-main-20260126221712
12
- - @copilotkitnext/react@0.0.0-main-20260126221712
612
+ - Updated dependencies [d36fc1e]
613
+ - @copilotkit/shared@1.51.3
614
+ - @copilotkit/runtime-client-gql@1.51.3
615
+ - @copilotkit/react@1.51.3
616
+ - @copilotkit/core@1.51.3
617
+
618
+ ## 1.51.3-next.8
619
+
620
+ ### Patch Changes
621
+
622
+ - d36fc1e: Add UMD export
623
+ - Updated dependencies [d36fc1e]
624
+ - @copilotkit/runtime-client-gql@1.51.3-next.8
625
+ - @copilotkit/shared@1.51.3-next.8
626
+ - @copilotkit/react@1.51.3-next.8
627
+ - @copilotkit/core@1.51.3-next.8
628
+
629
+ ## 1.51.3-next.7
630
+
631
+ ### Patch Changes
632
+
633
+ - 3f00a01: Fix issue causing onSubmitMessage to fire after agent response
634
+ - @copilotkit/runtime-client-gql@1.51.3-next.7
635
+ - @copilotkit/shared@1.51.3-next.7
636
+ - @copilotkit/core@1.51.3-next.7
637
+ - @copilotkit/react@1.51.3-next.7
638
+
639
+ ## 1.51.3-next.6
640
+
641
+ ### Patch Changes
642
+
643
+ - @copilotkit/runtime-client-gql@1.51.3-next.6
644
+ - @copilotkit/shared@1.51.3-next.6
645
+ - @copilotkit/core@1.51.3-next.6
646
+ - @copilotkit/react@1.51.3-next.6
647
+
648
+ ## 1.51.3-next.5
649
+
650
+ ### Patch Changes
651
+
652
+ - e89fe98: fix(v1.x): address issue causing onSubmitMessage to fire after agent response
653
+ - @copilotkit/runtime-client-gql@1.51.3-next.5
654
+ - @copilotkit/shared@1.51.3-next.5
655
+ - @copilotkit/core@1.51.3-next.5
656
+ - @copilotkit/react@1.51.3-next.5
657
+
658
+ ## 1.51.3-next.4
659
+
660
+ ### Patch Changes
661
+
662
+ - @copilotkit/runtime-client-gql@1.51.3-next.4
663
+ - @copilotkit/shared@1.51.3-next.4
664
+ - @copilotkit/core@1.51.3-next.4
665
+ - @copilotkit/react@1.51.3-next.4
13
666
 
14
667
  ## 1.51.3-next.3
15
668
 
@@ -19,8 +672,8 @@
19
672
  - Updated dependencies [d655e75]
20
673
  - @copilotkit/shared@1.51.3-next.3
21
674
  - @copilotkit/runtime-client-gql@1.51.3-next.3
22
- - @copilotkitnext/core@1.51.3-next.3
23
- - @copilotkitnext/react@1.51.3-next.3
675
+ - @copilotkit/core@1.51.3-next.3
676
+ - @copilotkit/react@1.51.3-next.3
24
677
 
25
678
  ## 1.51.3-next.2
26
679
 
@@ -28,8 +681,8 @@
28
681
 
29
682
  - @copilotkit/runtime-client-gql@1.51.3-next.2
30
683
  - @copilotkit/shared@1.51.3-next.2
31
- - @copilotkitnext/core@1.51.3-next.2
32
- - @copilotkitnext/react@1.51.3-next.2
684
+ - @copilotkit/core@1.51.3-next.2
685
+ - @copilotkit/react@1.51.3-next.2
33
686
 
34
687
  ## 1.51.3-next.1
35
688
 
@@ -37,8 +690,8 @@
37
690
 
38
691
  - @copilotkit/runtime-client-gql@1.51.3-next.1
39
692
  - @copilotkit/shared@1.51.3-next.1
40
- - @copilotkitnext/core@1.51.3-next.1
41
- - @copilotkitnext/react@1.51.3-next.1
693
+ - @copilotkit/core@1.51.3-next.1
694
+ - @copilotkit/react@1.51.3-next.1
42
695
 
43
696
  ## 1.51.3-next.0
44
697
 
@@ -46,8 +699,8 @@
46
699
 
47
700
  - @copilotkit/runtime-client-gql@1.51.3-next.0
48
701
  - @copilotkit/shared@1.51.3-next.0
49
- - @copilotkitnext/core@1.51.3-next.0
50
- - @copilotkitnext/react@1.51.3-next.0
702
+ - @copilotkit/core@1.51.3-next.0
703
+ - @copilotkit/react@1.51.3-next.0
51
704
 
52
705
  ## 1.51.2
53
706
 
@@ -58,8 +711,8 @@
58
711
  - Updated dependencies [e59d23f]
59
712
  - Updated dependencies [e59d23f]
60
713
  - @copilotkit/runtime-client-gql@1.51.2
61
- - @copilotkitnext/react@1.51.2
62
- - @copilotkitnext/core@1.51.2
714
+ - @copilotkit/react@1.51.2
715
+ - @copilotkit/core@1.51.2
63
716
  - @copilotkit/shared@1.51.2
64
717
 
65
718
  ## 1.51.2-next.1
@@ -71,8 +724,8 @@
71
724
  - Updated dependencies [e59d23f]
72
725
  - Updated dependencies [e59d23f]
73
726
  - @copilotkit/runtime-client-gql@1.51.2-next.1
74
- - @copilotkitnext/react@1.51.2-next.1
75
- - @copilotkitnext/core@1.51.2-next.1
727
+ - @copilotkit/react@1.51.2-next.1
728
+ - @copilotkit/core@1.51.2-next.1
76
729
  - @copilotkit/shared@1.51.2-next.1
77
730
 
78
731
  ## 1.51.2-next.0
@@ -81,8 +734,8 @@
81
734
 
82
735
  - @copilotkit/runtime-client-gql@1.51.2-next.0
83
736
  - @copilotkit/shared@1.51.2-next.0
84
- - @copilotkitnext/core@1.51.2-next.0
85
- - @copilotkitnext/react@1.51.2-next.0
737
+ - @copilotkit/core@1.51.2-next.0
738
+ - @copilotkit/react@1.51.2-next.0
86
739
 
87
740
  ## 1.51.1
88
741
 
@@ -90,10 +743,10 @@
90
743
 
91
744
  - 329653b: Add support for MCP Apps Middleware
92
745
  - Updated dependencies [329653b]
93
- - @copilotkitnext/react@1.51.1
746
+ - @copilotkit/react@1.51.1
94
747
  - @copilotkit/runtime-client-gql@1.51.1
95
748
  - @copilotkit/shared@1.51.1
96
- - @copilotkitnext/core@1.51.1
749
+ - @copilotkit/core@1.51.1
97
750
 
98
751
  ## 1.51.0
99
752
 
@@ -104,8 +757,8 @@
104
757
  - Updated dependencies [2afd4e3]
105
758
  - @copilotkit/runtime-client-gql@1.51.0
106
759
  - @copilotkit/shared@1.51.0
107
- - @copilotkitnext/react@1.51.0
108
- - @copilotkitnext/core@1.51.0
760
+ - @copilotkit/react@1.51.0
761
+ - @copilotkit/core@1.51.0
109
762
 
110
763
  ## 1.51.0-next.4
111
764
 
@@ -113,8 +766,8 @@
113
766
 
114
767
  - @copilotkit/runtime-client-gql@1.51.0-next.4
115
768
  - @copilotkit/shared@1.51.0-next.4
116
- - @copilotkitnext/core@1.51.0-next.4
117
- - @copilotkitnext/react@1.51.0-next.4
769
+ - @copilotkit/core@1.51.0-next.4
770
+ - @copilotkit/react@1.51.0-next.4
118
771
 
119
772
  ## 1.51.0-next.3
120
773
 
@@ -122,8 +775,8 @@
122
775
 
123
776
  - @copilotkit/runtime-client-gql@1.51.0-next.3
124
777
  - @copilotkit/shared@1.51.0-next.3
125
- - @copilotkitnext/core@1.51.0-next.3
126
- - @copilotkitnext/react@1.51.0-next.3
778
+ - @copilotkit/core@1.51.0-next.3
779
+ - @copilotkit/react@1.51.0-next.3
127
780
 
128
781
  ## 1.51.0-next.2
129
782
 
@@ -132,8 +785,8 @@
132
785
  - Updated dependencies [2afd4e3]
133
786
  - @copilotkit/shared@1.51.0-next.2
134
787
  - @copilotkit/runtime-client-gql@1.51.0-next.2
135
- - @copilotkitnext/core@1.51.0-next.2
136
- - @copilotkitnext/react@1.51.0-next.2
788
+ - @copilotkit/core@1.51.0-next.2
789
+ - @copilotkit/react@1.51.0-next.2
137
790
 
138
791
  ## 1.51.0-next.1
139
792
 
@@ -141,8 +794,8 @@
141
794
 
142
795
  - @copilotkit/runtime-client-gql@1.51.0-next.1
143
796
  - @copilotkit/shared@1.51.0-next.1
144
- - @copilotkitnext/core@1.51.0-next.1
145
- - @copilotkitnext/react@1.51.0-next.1
797
+ - @copilotkit/core@1.51.0-next.1
798
+ - @copilotkit/react@1.51.0-next.1
146
799
 
147
800
  ## 1.50.2-next.0
148
801
 
@@ -756,12 +1409,14 @@
756
1409
  agentic runtimes we acquired tech-debt that, with this PR, is being alleviated.
757
1410
 
758
1411
  As such, the following features have been updated to be completely functional with Headless UI.
1412
+
759
1413
  - Generative UI
760
1414
  - Suggestions
761
1415
  - Agentic Generative UI
762
1416
  - Interrupts
763
1417
 
764
1418
  In addition, a variety of QOL changes have been made.
1419
+
765
1420
  - New AG-UI based message types
766
1421
  - Inline code rendering is fixed
767
1422
 
@@ -773,15 +1428,19 @@
773
1428
  - 6d1de58: - fix: address issues that would cause headless UI breaking changes in the next release
774
1429
 
775
1430
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1431
+
776
1432
  - fix: more fixes addressing breaking changes in new Headless UI
777
1433
 
778
1434
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1435
+
779
1436
  - chore: address linting issues
780
1437
 
781
1438
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1439
+
782
1440
  - chore: fixing branding and docs
783
1441
 
784
1442
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1443
+
785
1444
  - chore: more docs fixing
786
1445
 
787
1446
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
@@ -823,15 +1482,19 @@
823
1482
  - 6d1de58: - fix: address issues that would cause headless UI breaking changes in the next release
824
1483
 
825
1484
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1485
+
826
1486
  - fix: more fixes addressing breaking changes in new Headless UI
827
1487
 
828
1488
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1489
+
829
1490
  - chore: address linting issues
830
1491
 
831
1492
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1493
+
832
1494
  - chore: fixing branding and docs
833
1495
 
834
1496
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1497
+
835
1498
  - chore: more docs fixing
836
1499
 
837
1500
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
@@ -916,12 +1579,14 @@
916
1579
  agentic runtimes we acquired tech-debt that, with this PR, is being alleviated.
917
1580
 
918
1581
  As such, the following features have been updated to be completely functional with Headless UI.
1582
+
919
1583
  - Generative UI
920
1584
  - Suggestions
921
1585
  - Agentic Generative UI
922
1586
  - Interrupts
923
1587
 
924
1588
  In addition, a variety of QOL changes have been made.
1589
+
925
1590
  - New AG-UI based message types
926
1591
  - Inline code rendering is fixed
927
1592
 
@@ -987,6 +1652,7 @@
987
1652
  - 3f8c575: - fix: use time travel for regeneration of messages
988
1653
  - fix: use a better cutoff for regeneration request
989
1654
  - fac89c2: - refactor: rename onTrace to onError throughout codebase
1655
+
990
1656
  - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
991
1657
 
992
1658
  - e1de032: - fix: synchronously execute renderAndWaitForResponse
@@ -1079,6 +1745,7 @@
1079
1745
  works with any combination of action given much more freedom when asking for user input.
1080
1746
 
1081
1747
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
1748
+
1082
1749
  - @copilotkit/runtime-client-gql@1.9.2-next.20
1083
1750
  - @copilotkit/shared@1.9.2-next.20
1084
1751
 
@@ -1094,6 +1761,7 @@
1094
1761
  ### Patch Changes
1095
1762
 
1096
1763
  - fac89c2: - refactor: rename onTrace to onError throughout codebase
1764
+
1097
1765
  - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
1098
1766
 
1099
1767
  - Updated dependencies [fac89c2]
@@ -1590,9 +2258,11 @@
1590
2258
  - c0d3261: - full AWP support
1591
2259
 
1592
2260
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2261
+
1593
2262
  - refactor: address linter issues with the new pages
1594
2263
 
1595
2264
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2265
+
1596
2266
  - Merge branch 'mme/acp' into mme/mastra
1597
2267
  - add sse example
1598
2268
  - Create small-turkeys-agree.md
@@ -1618,9 +2288,11 @@
1618
2288
  - c0d3261: - full AWP support
1619
2289
 
1620
2290
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2291
+
1621
2292
  - refactor: address linter issues with the new pages
1622
2293
 
1623
2294
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2295
+
1624
2296
  - Merge branch 'mme/acp' into mme/mastra
1625
2297
  - add sse example
1626
2298
  - Create small-turkeys-agree.md
@@ -2735,6 +3407,7 @@
2735
3407
  - e16d95e: New prerelease
2736
3408
  - 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
2737
3409
  - CopilotKit Core:
3410
+
2738
3411
  - Improved error messages and overall logs
2739
3412
  - `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
2740
3413
  - Improved scrolling behavior. It is now possible to scroll up during LLM response generation
@@ -2742,6 +3415,7 @@
2742
3415
  - Updated interfaces for better developer ergonomics
2743
3416
 
2744
3417
  CoAgents:
3418
+
2745
3419
  - Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
2746
3420
  - Support for LangGraph Platform in Remote Endpoints
2747
3421
  - LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
@@ -2749,6 +3423,7 @@
2749
3423
  - Enhanced state management and message handling
2750
3424
 
2751
3425
  CopilotKid Back-end SDK:
3426
+
2752
3427
  - Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
2753
3428
 
2754
3429
  - 8d0144f: bump
@@ -3123,6 +3798,7 @@ CopilotKid Back-end SDK:
3123
3798
  ### Patch Changes
3124
3799
 
3125
3800
  - inject minified css in bundle
3801
+
3126
3802
  - removes the need to import `styles.css` manually
3127
3803
  - empty `styles.css` included in the build for backwards compatibility
3128
3804
  - uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
@@ -3273,6 +3949,7 @@ CopilotKid Back-end SDK:
3273
3949
  ### Major Changes
3274
3950
 
3275
3951
  - b6a4b6eb: V1.0 Release Candidate
3952
+
3276
3953
  - A robust new protocol between the frontend and the Copilot Runtime
3277
3954
  - Support for Copilot Cloud
3278
3955
  - Generative UI