@copilotkit/runtime 0.0.0-mme-load-agent-state-20250117154700

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 (176) hide show
  1. package/.eslintrc.js +7 -0
  2. package/CHANGELOG.md +929 -0
  3. package/README.md +46 -0
  4. package/__snapshots__/schema/schema.graphql +306 -0
  5. package/dist/chunk-44O2JGUY.mjs +12 -0
  6. package/dist/chunk-44O2JGUY.mjs.map +1 -0
  7. package/dist/chunk-4BWLNVK4.mjs +80 -0
  8. package/dist/chunk-4BWLNVK4.mjs.map +1 -0
  9. package/dist/chunk-4QJA7OT2.mjs +3395 -0
  10. package/dist/chunk-4QJA7OT2.mjs.map +1 -0
  11. package/dist/chunk-4YJIXJLO.mjs +25 -0
  12. package/dist/chunk-4YJIXJLO.mjs.map +1 -0
  13. package/dist/chunk-67KK2GZ5.mjs +3765 -0
  14. package/dist/chunk-67KK2GZ5.mjs.map +1 -0
  15. package/dist/chunk-7BOVBWKI.mjs +25 -0
  16. package/dist/chunk-7BOVBWKI.mjs.map +1 -0
  17. package/dist/chunk-B5KHNAW5.mjs +25 -0
  18. package/dist/chunk-B5KHNAW5.mjs.map +1 -0
  19. package/dist/chunk-CLGKEUOA.mjs +1408 -0
  20. package/dist/chunk-CLGKEUOA.mjs.map +1 -0
  21. package/dist/chunk-D2WLFQS6.mjs +43 -0
  22. package/dist/chunk-D2WLFQS6.mjs.map +1 -0
  23. package/dist/chunk-DFOKBSIS.mjs +1 -0
  24. package/dist/chunk-DFOKBSIS.mjs.map +1 -0
  25. package/dist/chunk-DKLATJGV.mjs +25 -0
  26. package/dist/chunk-DKLATJGV.mjs.map +1 -0
  27. package/dist/chunk-FYONHPZL.mjs +3397 -0
  28. package/dist/chunk-FYONHPZL.mjs.map +1 -0
  29. package/dist/chunk-HNUNXFTW.mjs +129 -0
  30. package/dist/chunk-HNUNXFTW.mjs.map +1 -0
  31. package/dist/chunk-OKUXS4SE.mjs +25 -0
  32. package/dist/chunk-OKUXS4SE.mjs.map +1 -0
  33. package/dist/chunk-P4PPTGPJ.mjs +25 -0
  34. package/dist/chunk-P4PPTGPJ.mjs.map +1 -0
  35. package/dist/chunk-RFF5IIZJ.mjs +66 -0
  36. package/dist/chunk-RFF5IIZJ.mjs.map +1 -0
  37. package/dist/chunk-U3V2BCGI.mjs +152 -0
  38. package/dist/chunk-U3V2BCGI.mjs.map +1 -0
  39. package/dist/chunk-U7EKYV47.mjs +80 -0
  40. package/dist/chunk-U7EKYV47.mjs.map +1 -0
  41. package/dist/chunk-XXYYCH4X.mjs +80 -0
  42. package/dist/chunk-XXYYCH4X.mjs.map +1 -0
  43. package/dist/chunk-YT7A6V5T.mjs +1420 -0
  44. package/dist/chunk-YT7A6V5T.mjs.map +1 -0
  45. package/dist/copilot-runtime-36700e00.d.ts +196 -0
  46. package/dist/copilot-runtime-8c442d65.d.ts +209 -0
  47. package/dist/graphql/types/base/index.d.ts +6 -0
  48. package/dist/graphql/types/base/index.js +63 -0
  49. package/dist/graphql/types/base/index.js.map +1 -0
  50. package/dist/graphql/types/base/index.mjs +8 -0
  51. package/dist/graphql/types/base/index.mjs.map +1 -0
  52. package/dist/graphql/types/converted/index.d.ts +2 -0
  53. package/dist/graphql/types/converted/index.js +187 -0
  54. package/dist/graphql/types/converted/index.js.map +1 -0
  55. package/dist/graphql/types/converted/index.mjs +17 -0
  56. package/dist/graphql/types/converted/index.mjs.map +1 -0
  57. package/dist/groq-adapter-696b5d29.d.ts +281 -0
  58. package/dist/groq-adapter-7a82cd22.d.ts +301 -0
  59. package/dist/index-a7f37670.d.ts +103 -0
  60. package/dist/index-cc2b17be.d.ts +87 -0
  61. package/dist/index.d.ts +23 -0
  62. package/dist/index.js +5597 -0
  63. package/dist/index.js.map +1 -0
  64. package/dist/index.mjs +76 -0
  65. package/dist/index.mjs.map +1 -0
  66. package/dist/langserve-9125a12e.d.ts +176 -0
  67. package/dist/langserve-e308c437.d.ts +209 -0
  68. package/dist/lib/cloud/index.d.ts +6 -0
  69. package/dist/lib/cloud/index.js +18 -0
  70. package/dist/lib/cloud/index.js.map +1 -0
  71. package/dist/lib/cloud/index.mjs +1 -0
  72. package/dist/lib/cloud/index.mjs.map +1 -0
  73. package/dist/lib/index.d.ts +20 -0
  74. package/dist/lib/index.js +5256 -0
  75. package/dist/lib/index.js.map +1 -0
  76. package/dist/lib/index.mjs +58 -0
  77. package/dist/lib/index.mjs.map +1 -0
  78. package/dist/lib/integrations/index.d.ts +33 -0
  79. package/dist/lib/integrations/index.js +2488 -0
  80. package/dist/lib/integrations/index.js.map +1 -0
  81. package/dist/lib/integrations/index.mjs +34 -0
  82. package/dist/lib/integrations/index.mjs.map +1 -0
  83. package/dist/lib/integrations/nest/index.d.ts +14 -0
  84. package/dist/lib/integrations/nest/index.js +2397 -0
  85. package/dist/lib/integrations/nest/index.js.map +1 -0
  86. package/dist/lib/integrations/nest/index.mjs +13 -0
  87. package/dist/lib/integrations/nest/index.mjs.map +1 -0
  88. package/dist/lib/integrations/node-express/index.d.ts +14 -0
  89. package/dist/lib/integrations/node-express/index.js +2397 -0
  90. package/dist/lib/integrations/node-express/index.js.map +1 -0
  91. package/dist/lib/integrations/node-express/index.mjs +13 -0
  92. package/dist/lib/integrations/node-express/index.mjs.map +1 -0
  93. package/dist/lib/integrations/node-http/index.d.ts +14 -0
  94. package/dist/lib/integrations/node-http/index.js +2383 -0
  95. package/dist/lib/integrations/node-http/index.js.map +1 -0
  96. package/dist/lib/integrations/node-http/index.mjs +12 -0
  97. package/dist/lib/integrations/node-http/index.mjs.map +1 -0
  98. package/dist/service-adapters/index.d.ts +84 -0
  99. package/dist/service-adapters/index.js +1460 -0
  100. package/dist/service-adapters/index.js.map +1 -0
  101. package/dist/service-adapters/index.mjs +26 -0
  102. package/dist/service-adapters/index.mjs.map +1 -0
  103. package/dist/utils/index.d.ts +49 -0
  104. package/dist/utils/index.js +174 -0
  105. package/dist/utils/index.js.map +1 -0
  106. package/dist/utils/index.mjs +12 -0
  107. package/dist/utils/index.mjs.map +1 -0
  108. package/jest.config.js +5 -0
  109. package/package.json +85 -0
  110. package/scripts/generate-gql-schema.ts +13 -0
  111. package/src/agents/langgraph/event-source.ts +287 -0
  112. package/src/agents/langgraph/events.ts +338 -0
  113. package/src/graphql/inputs/action.input.ts +16 -0
  114. package/src/graphql/inputs/agent-session.input.ts +13 -0
  115. package/src/graphql/inputs/agent-state.input.ts +10 -0
  116. package/src/graphql/inputs/cloud-guardrails.input.ts +16 -0
  117. package/src/graphql/inputs/cloud.input.ts +8 -0
  118. package/src/graphql/inputs/context-property.input.ts +10 -0
  119. package/src/graphql/inputs/custom-property.input.ts +15 -0
  120. package/src/graphql/inputs/extensions.input.ts +21 -0
  121. package/src/graphql/inputs/forwarded-parameters.input.ts +22 -0
  122. package/src/graphql/inputs/frontend.input.ts +14 -0
  123. package/src/graphql/inputs/generate-copilot-response.input.ts +51 -0
  124. package/src/graphql/inputs/load-agent-state.input.ts +10 -0
  125. package/src/graphql/inputs/message.input.ts +92 -0
  126. package/src/graphql/resolvers/copilot.resolver.ts +561 -0
  127. package/src/graphql/resolvers/state.resolver.ts +23 -0
  128. package/src/graphql/types/agents-response.type.ts +19 -0
  129. package/src/graphql/types/base/index.ts +10 -0
  130. package/src/graphql/types/converted/index.ts +136 -0
  131. package/src/graphql/types/copilot-response.type.ts +117 -0
  132. package/src/graphql/types/enums.ts +37 -0
  133. package/src/graphql/types/extensions-response.type.ts +23 -0
  134. package/src/graphql/types/guardrails-result.type.ts +20 -0
  135. package/src/graphql/types/load-agent-state-response.type.ts +17 -0
  136. package/src/graphql/types/message-status.type.ts +40 -0
  137. package/src/graphql/types/response-status.type.ts +66 -0
  138. package/src/index.ts +4 -0
  139. package/src/lib/cloud/index.ts +4 -0
  140. package/src/lib/index.ts +8 -0
  141. package/src/lib/integrations/index.ts +6 -0
  142. package/src/lib/integrations/nest/index.ts +17 -0
  143. package/src/lib/integrations/nextjs/app-router.ts +40 -0
  144. package/src/lib/integrations/nextjs/pages-router.ts +49 -0
  145. package/src/lib/integrations/node-express/index.ts +17 -0
  146. package/src/lib/integrations/node-http/index.ts +34 -0
  147. package/src/lib/integrations/shared.ts +110 -0
  148. package/src/lib/logger.ts +28 -0
  149. package/src/lib/runtime/copilot-runtime.ts +571 -0
  150. package/src/lib/runtime/remote-action-constructors.ts +304 -0
  151. package/src/lib/runtime/remote-actions.ts +174 -0
  152. package/src/lib/runtime/remote-lg-action.ts +669 -0
  153. package/src/lib/telemetry-client.ts +52 -0
  154. package/src/service-adapters/anthropic/anthropic-adapter.ts +204 -0
  155. package/src/service-adapters/anthropic/utils.ts +144 -0
  156. package/src/service-adapters/conversion.ts +64 -0
  157. package/src/service-adapters/events.ts +424 -0
  158. package/src/service-adapters/experimental/empty/empty-adapter.ts +33 -0
  159. package/src/service-adapters/experimental/ollama/ollama-adapter.ts +79 -0
  160. package/src/service-adapters/google/google-genai-adapter.ts +39 -0
  161. package/src/service-adapters/groq/groq-adapter.ts +173 -0
  162. package/src/service-adapters/index.ts +16 -0
  163. package/src/service-adapters/langchain/langchain-adapter.ts +106 -0
  164. package/src/service-adapters/langchain/langserve.ts +87 -0
  165. package/src/service-adapters/langchain/types.ts +14 -0
  166. package/src/service-adapters/langchain/utils.ts +306 -0
  167. package/src/service-adapters/openai/openai-adapter.ts +211 -0
  168. package/src/service-adapters/openai/openai-assistant-adapter.ts +315 -0
  169. package/src/service-adapters/openai/utils.ts +161 -0
  170. package/src/service-adapters/service-adapter.ts +34 -0
  171. package/src/service-adapters/unify/unify-adapter.ts +144 -0
  172. package/src/utils/failed-response-status-reasons.ts +48 -0
  173. package/src/utils/index.ts +1 -0
  174. package/tsconfig.json +11 -0
  175. package/tsup.config.ts +16 -0
  176. package/typedoc.json +4 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,929 @@
1
+ # @copilotkit/runtime
2
+
3
+ ## 0.0.0-mme-load-agent-state-20250117154700
4
+
5
+ ### Patch Changes
6
+
7
+ - 768b3a5: - chore: add documentation for empty llm adapter
8
+ - fix: throw error when empty adapter is misused
9
+ - a2129f4: - fix(streaming): end streaming on error to enable continuity of chat after failed tool call
10
+ - @copilotkit/shared@0.0.0-mme-load-agent-state-20250117154700
11
+
12
+ ## 1.5.12-next.4
13
+
14
+ ### Patch Changes
15
+
16
+ - 768b3a5: - chore: add documentation for empty llm adapter
17
+ - fix: throw error when empty adapter is misused
18
+ - @copilotkit/shared@1.5.12-next.4
19
+
20
+ ## 1.5.12-next.3
21
+
22
+ ### Patch Changes
23
+
24
+ - @copilotkit/shared@1.5.12-next.3
25
+
26
+ ## 1.5.12-next.2
27
+
28
+ ### Patch Changes
29
+
30
+ - @copilotkit/shared@1.5.12-next.2
31
+
32
+ ## 1.5.12-next.1
33
+
34
+ ### Patch Changes
35
+
36
+ - a2129f4: - fix(streaming): end streaming on error to enable continuity of chat after failed tool call
37
+ - @copilotkit/shared@1.5.12-next.1
38
+
39
+ ## 1.5.12-next.0
40
+
41
+ ### Patch Changes
42
+
43
+ - @copilotkit/shared@1.5.12-next.0
44
+
45
+ ## 1.5.11
46
+
47
+ ### Patch Changes
48
+
49
+ - 72f9e58: test release notes
50
+ - 716bd5c: test changelog
51
+ - aecb6f4: Fix build script
52
+ - a35d447: test changelog
53
+ - 0a2e07e: Test changelog
54
+ - 8166ac6: Test release notes
55
+ - @copilotkit/shared@1.5.11
56
+
57
+ ## 1.5.11-next.0
58
+
59
+ ### Patch Changes
60
+
61
+ - 72f9e58: test release notes
62
+ - 716bd5c: test changelog
63
+ - aecb6f4: Fix build script
64
+ - a35d447: test changelog
65
+ - 0a2e07e: Test changelog
66
+ - 8166ac6: Test release notes
67
+ - @copilotkit/shared@1.5.11-next.0
68
+
69
+ ## 1.5.10
70
+
71
+ ### Patch Changes
72
+
73
+ - 72f9e58: test release notes
74
+ - 716bd5c: test changelog
75
+ - aecb6f4: Fix build script
76
+ - a35d447: test changelog
77
+ - 8166ac6: Test release notes
78
+ - @copilotkit/shared@1.5.10
79
+
80
+ ## 1.5.10-next.0
81
+
82
+ ### Patch Changes
83
+
84
+ - 72f9e58: test release notes
85
+ - 716bd5c: test changelog
86
+ - aecb6f4: Fix build script
87
+ - a35d447: test changelog
88
+ - 8166ac6: Test release notes
89
+ - @copilotkit/shared@1.5.10-next.0
90
+
91
+ ## 1.5.9
92
+
93
+ ### Patch Changes
94
+
95
+ - 72f9e58: test release notes
96
+ - 716bd5c: test changelog
97
+ - a35d447: test changelog
98
+ - 8166ac6: Test release notes
99
+ - @copilotkit/shared@1.5.9
100
+
101
+ ## 1.5.8
102
+
103
+ ### Patch Changes
104
+
105
+ - 72f9e58: test release notes
106
+ - a35d447: test changelog
107
+ - 8166ac6: Test release notes
108
+ - @copilotkit/shared@1.5.8
109
+
110
+ ## 1.5.6-next.0
111
+
112
+ ### Patch Changes
113
+
114
+ - a35d447: test changelog
115
+ - @copilotkit/shared@1.5.6-next.0
116
+
117
+ ## 1.5.5-next.5
118
+
119
+ ### Patch Changes
120
+
121
+ - @copilotkit/shared@1.5.5-next.5
122
+
123
+ ## 1.5.5-next.3
124
+
125
+ ### Patch Changes
126
+
127
+ - @copilotkit/shared@1.5.5-next.3
128
+
129
+ ## 1.5.5-next.2
130
+
131
+ ### Patch Changes
132
+
133
+ - 72f9e58: test release notes
134
+ - 8166ac6: Test release notes
135
+ - @copilotkit/shared@1.5.5-next.2
136
+
137
+ ## 1.5.4
138
+
139
+ ### Patch Changes
140
+
141
+ - Test changelog
142
+ - @copilotkit/shared@1.5.4
143
+
144
+ ## 1.5.3
145
+
146
+ ### Patch Changes
147
+
148
+ - 4511149: Test release notes
149
+ - @copilotkit/shared@1.5.3
150
+
151
+ ## 1.5.2
152
+
153
+ ### Patch Changes
154
+
155
+ - b0192c1: This is a test release
156
+ - @copilotkit/shared@1.5.2
157
+
158
+ ## 1.5.1
159
+
160
+ ### Patch Changes
161
+
162
+ - 5c01e9e: test prerelease #4
163
+ - da280ed: Test prerelease script
164
+ - 27e42d7: testing a prerelease
165
+ - 05240a9: test pre #2
166
+ - 33218fe: test prerelease #3
167
+ - 03f3d6f: Test next prerelease
168
+ - 649ebcc: - fix: add warning when using agents that are not available on agent related hooks
169
+ - 6dfa0d2: - feat: add temperature parameter support for LLM completions
170
+ - Updated dependencies [5c01e9e]
171
+ - Updated dependencies [da280ed]
172
+ - Updated dependencies [27e42d7]
173
+ - Updated dependencies [05240a9]
174
+ - Updated dependencies [33218fe]
175
+ - Updated dependencies [03f3d6f]
176
+ - @copilotkit/shared@1.5.1
177
+
178
+ ## 1.5.1-next.3
179
+
180
+ ### Patch Changes
181
+
182
+ - 33218fe: test prerelease #3
183
+ - Updated dependencies [33218fe]
184
+ - @copilotkit/shared@1.5.1-next.3
185
+
186
+ ## 1.5.1-next.2
187
+
188
+ ### Patch Changes
189
+
190
+ - da280ed: Test prerelease script
191
+ - 649ebcc: - fix: add warning when using agents that are not available on agent related hooks
192
+ - Updated dependencies [da280ed]
193
+ - @copilotkit/shared@1.5.1-next.2
194
+
195
+ ## 1.5.1-next.1
196
+
197
+ ### Patch Changes
198
+
199
+ - 03f3d6f: Test next prerelease
200
+ - Updated dependencies [03f3d6f]
201
+ - @copilotkit/shared@1.5.1-next.1
202
+
203
+ ## 1.5.1-next.0
204
+
205
+ ### Patch Changes
206
+
207
+ - 27e42d7: testing a prerelease
208
+ - 6dfa0d2: - feat: add temperature parameter support for LLM completions
209
+ - Updated dependencies [27e42d7]
210
+ - @copilotkit/shared@1.5.1-next.0
211
+
212
+ ## 1.5.0
213
+
214
+ ### Minor Changes
215
+
216
+ - 1b47092: Synchronize LangGraph messages with CopilotKit
217
+
218
+ ### Patch Changes
219
+
220
+ - 1b47092: CoAgents v0.3 prerelease
221
+ - Updated dependencies [1b47092]
222
+ - Updated dependencies [1b47092]
223
+ - @copilotkit/shared@1.5.0
224
+
225
+ ## 1.5.0-coagents-v0-3.0
226
+
227
+ ### Minor Changes
228
+
229
+ - Synchronize LangGraph messages with CopilotKit
230
+
231
+ ### Patch Changes
232
+
233
+ - e66bce4: CoAgents v0.3 prerelease
234
+ - Updated dependencies
235
+ - Updated dependencies [e66bce4]
236
+ - @copilotkit/shared@1.5.0-coagents-v0-3.0
237
+
238
+ ## 1.4.8
239
+
240
+ ### Patch Changes
241
+
242
+ - - Better error handling
243
+ - Introduce new "EmptyLLMAdapter" for when using CoAgents
244
+ - Improve dev console help options
245
+ - Allow CopilotKit remote endpoint without agents
246
+ - 989f159: - fix: allow CopilotKit Remote Endpoint without agents
247
+ - Apply suggestions from code review
248
+ - Updated dependencies
249
+ - @copilotkit/shared@1.4.8
250
+
251
+ ## 1.4.8-next.0
252
+
253
+ ### Patch Changes
254
+
255
+ - @copilotkit/shared@1.4.8-next.0
256
+
257
+ ## 1.4.7
258
+
259
+ ### Patch Changes
260
+
261
+ - Fix broken build script before release
262
+ - Updated dependencies
263
+ - @copilotkit/shared@1.4.7
264
+
265
+ ## 1.4.6
266
+
267
+ ### Patch Changes
268
+
269
+ - .
270
+
271
+ ## 1.4.5
272
+
273
+ ### Patch Changes
274
+
275
+ - testing release workflow
276
+ - Updated dependencies
277
+ - @copilotkit/shared@1.4.5
278
+
279
+ ## 1.4.5-next.0
280
+
281
+ ### Patch Changes
282
+
283
+ - testing release workflow
284
+ - Updated dependencies
285
+ - @copilotkit/shared@1.4.5-next.0
286
+
287
+ ## 1.4.4
288
+
289
+ ### Patch Changes
290
+
291
+ - 665deab: test prerelease
292
+ - 57a6012: test next prerelease automation
293
+ - 7cfc2e7: test prerelease stuff
294
+ - af36f1a: - feat(runtime): readme update
295
+ - @copilotkit/shared@1.4.4
296
+
297
+ ## 1.4.4-next.4
298
+
299
+ ### Patch Changes
300
+
301
+ - 57a6012: test next prerelease automation
302
+ - @copilotkit/shared@1.4.4-next.4
303
+
304
+ ## 1.4.4-next.3
305
+
306
+ ### Patch Changes
307
+
308
+ - 7cfc2e7: test prerelease stuff
309
+ - @copilotkit/shared@1.4.4-next.3
310
+
311
+ ## 1.4.4-next.2
312
+
313
+ ### Patch Changes
314
+
315
+ - 665deab: test prerelease
316
+ - @copilotkit/shared@1.4.4-next.2
317
+
318
+ ## 1.4.4-next.1
319
+
320
+ ### Patch Changes
321
+
322
+ - af36f1a: - feat(runtime): readme update
323
+ - @copilotkit/shared@1.4.4-next.1
324
+
325
+ ## 1.4.4-next.0
326
+
327
+ ### Patch Changes
328
+
329
+ - @copilotkit/shared@1.4.4-next.0
330
+
331
+ ## 1.4.3
332
+
333
+ ### Patch Changes
334
+
335
+ - c296282: - Better error surfacing when using LangGraph Platform streaming
336
+ - Ensure state is immediately set without using flushSync
337
+ - - Better error surfacing when using LangGraph Platform streaming
338
+ - Ensure state is immediately set without using flushSync
339
+ - Updated dependencies [c296282]
340
+ - Updated dependencies
341
+ - @copilotkit/shared@1.4.3
342
+
343
+ ## 1.4.3-pre.0
344
+
345
+ ### Patch Changes
346
+
347
+ - - Better error surfacing when using LangGraph Platform streaming
348
+ - Ensure state is immediately set without using flushSync
349
+ - Updated dependencies
350
+ - @copilotkit/shared@1.4.3-pre.0
351
+
352
+ ## 1.4.2
353
+
354
+ ### Patch Changes
355
+
356
+ - - Make sure agent state is set immediately (#1077)
357
+ - Support running an agent without messages (#1075)
358
+ - Updated dependencies
359
+ - @copilotkit/shared@1.4.2
360
+
361
+ ## 1.4.1
362
+
363
+ ### Patch Changes
364
+
365
+ - 1721cbd: lower case copilotkit property
366
+ - 1721cbd: add zod conversion
367
+ - 8d0144f: bump
368
+ - 8d0144f: bump
369
+ - 8d0144f: bump
370
+ - e16d95e: New prerelease
371
+ - 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
372
+ - CopilotKit Core:
373
+
374
+ - Improved error messages and overall logs
375
+ - `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
376
+ - Improved scrolling behavior. It is now possible to scroll up during LLM response generation
377
+ - Added Azure OpenAI integration
378
+ - Updated interfaces for better developer ergonomics
379
+
380
+ CoAgents:
381
+
382
+ - Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
383
+ - Support for LangGraph Platform in Remote Endpoints
384
+ - LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
385
+ - Improved LangSmith integration - requests made through CoAgents will now surface in LangSmith
386
+ - Enhanced state management and message handling
387
+
388
+ CopilotKid Back-end SDK:
389
+
390
+ - Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
391
+
392
+ - 8d0144f: bump
393
+ - 8d0144f: bump
394
+ - fef1b74: fix assistant message CSS and propagate actions to LG JS
395
+ - Updated dependencies [1721cbd]
396
+ - Updated dependencies [1721cbd]
397
+ - Updated dependencies [8d0144f]
398
+ - Updated dependencies [8d0144f]
399
+ - Updated dependencies [8d0144f]
400
+ - Updated dependencies [e16d95e]
401
+ - Updated dependencies [1721cbd]
402
+ - Updated dependencies
403
+ - Updated dependencies [8d0144f]
404
+ - Updated dependencies [8d0144f]
405
+ - Updated dependencies [fef1b74]
406
+ - @copilotkit/shared@1.4.1
407
+
408
+ ## 1.4.1-pre.6
409
+
410
+ ### Patch Changes
411
+
412
+ - 1721cbd: lower case copilotkit property
413
+ - 1721cbd: add zod conversion
414
+ - 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
415
+ - fix assistant message CSS and propagate actions to LG JS
416
+ - Updated dependencies [1721cbd]
417
+ - Updated dependencies [1721cbd]
418
+ - Updated dependencies [1721cbd]
419
+ - Updated dependencies
420
+ - @copilotkit/shared@1.4.1-pre.6
421
+
422
+ ## 1.4.1-pre.5
423
+
424
+ ### Patch Changes
425
+
426
+ - bump
427
+ - Updated dependencies
428
+ - @copilotkit/shared@1.4.1-pre.5
429
+
430
+ ## 1.4.1-pre.4
431
+
432
+ ### Patch Changes
433
+
434
+ - bump
435
+ - Updated dependencies
436
+ - @copilotkit/shared@1.4.1-pre.4
437
+
438
+ ## 1.4.1-pre.3
439
+
440
+ ### Patch Changes
441
+
442
+ - bump
443
+ - Updated dependencies
444
+ - @copilotkit/shared@1.4.1-pre.3
445
+
446
+ ## 1.4.1-pre.2
447
+
448
+ ### Patch Changes
449
+
450
+ - bump
451
+ - Updated dependencies
452
+ - @copilotkit/shared@1.4.1-pre.2
453
+
454
+ ## 1.4.1-pre.1
455
+
456
+ ### Patch Changes
457
+
458
+ - bump
459
+ - Updated dependencies
460
+ - @copilotkit/shared@1.4.1-pre.1
461
+
462
+ ## 1.4.1-pre.0
463
+
464
+ ### Patch Changes
465
+
466
+ - New prerelease
467
+ - Updated dependencies
468
+ - @copilotkit/shared@1.4.1-pre.0
469
+
470
+ ## 1.4.0
471
+
472
+ ### Minor Changes
473
+
474
+ CopilotKit Core:
475
+
476
+ - Improved error messages and overall logs
477
+ - `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
478
+ - Improved scrolling behavior. It is now possible to scroll up during LLM response generation
479
+ - Added Azure OpenAI integration
480
+ - Updated interfaces for better developer ergonomics
481
+
482
+ CoAgents:
483
+
484
+ - Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
485
+ - Support for LangGraph Platform in Remote Endpoints
486
+ - LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
487
+ - Improved LangSmith integration - requests made through CoAgents will now surface in LangSmith
488
+ - Enhanced state management and message handling
489
+
490
+ CopilotKid Back-end SDK:
491
+
492
+ - Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
493
+
494
+ ### Patch Changes
495
+
496
+ - f6fab28: update tsup config
497
+ - f6fab28: update entry
498
+ - f6fab28: export langchain module
499
+ - 8a77944: Improve LangSmith support
500
+ - f6fab28: Ensure intermediate state config is sent as snake case
501
+ - f6fab28: update entry in tsup config
502
+ - 8a77944: Ensure the last message is sent to LangSmith
503
+ - a5efccd: Revert rxjs changes
504
+ - f6fab28: update entry
505
+ - f6fab28: Update exports
506
+ - f6fab28: Update exports
507
+ - 332d744: Add support for Azure OpenAI
508
+ - f6fab28: Export LangGraph functions
509
+ - f6fab28: Update lockfile
510
+ - Updated dependencies [f6fab28]
511
+ - Updated dependencies [f6fab28]
512
+ - Updated dependencies
513
+ - Updated dependencies [f6fab28]
514
+ - Updated dependencies [8a77944]
515
+ - Updated dependencies [f6fab28]
516
+ - Updated dependencies [f6fab28]
517
+ - Updated dependencies [8a77944]
518
+ - Updated dependencies [a5efccd]
519
+ - Updated dependencies [f6fab28]
520
+ - Updated dependencies [f6fab28]
521
+ - Updated dependencies [f6fab28]
522
+ - Updated dependencies [332d744]
523
+ - Updated dependencies [f6fab28]
524
+ - Updated dependencies [f6fab28]
525
+ - @copilotkit/shared@1.4.0
526
+
527
+ ## 1.3.16-mme-revert-rxjs-changes.10
528
+
529
+ ### Patch Changes
530
+
531
+ - f6fab28: update tsup config
532
+ - f6fab28: update entry
533
+ - f6fab28: export langchain module
534
+ - 8a77944: Improve LangSmith support
535
+ - f6fab28: Ensure intermediate state config is sent as snake case
536
+ - f6fab28: update entry in tsup config
537
+ - 8a77944: Ensure the last message is sent to LangSmith
538
+ - Revert rxjs changes
539
+ - f6fab28: update entry
540
+ - f6fab28: Update exports
541
+ - f6fab28: Update exports
542
+ - 332d744: Add support for Azure OpenAI
543
+ - f6fab28: Export LangGraph functions
544
+ - f6fab28: Update lockfile
545
+ - Updated dependencies [f6fab28]
546
+ - Updated dependencies [f6fab28]
547
+ - Updated dependencies [f6fab28]
548
+ - Updated dependencies [8a77944]
549
+ - Updated dependencies [f6fab28]
550
+ - Updated dependencies [f6fab28]
551
+ - Updated dependencies [8a77944]
552
+ - Updated dependencies
553
+ - Updated dependencies [f6fab28]
554
+ - Updated dependencies [f6fab28]
555
+ - Updated dependencies [f6fab28]
556
+ - Updated dependencies [332d744]
557
+ - Updated dependencies [f6fab28]
558
+ - Updated dependencies [f6fab28]
559
+ - @copilotkit/shared@1.3.16-mme-revert-rxjs-changes.10
560
+
561
+ ## 1.3.15
562
+
563
+ ### Patch Changes
564
+
565
+ - pass description for array and object action parameters in langchain adapter
566
+ - Updated dependencies
567
+ - @copilotkit/shared@1.3.15
568
+
569
+ ## 1.3.14
570
+
571
+ ### Patch Changes
572
+
573
+ - Add data-test-id to some elements for testing
574
+ - Updated dependencies
575
+ - @copilotkit/shared@1.3.14
576
+
577
+ ## 1.3.13
578
+
579
+ ### Patch Changes
580
+
581
+ - fix usage of one-at-a-time tool when called multiple times
582
+ - Updated dependencies
583
+ - @copilotkit/shared@1.3.13
584
+
585
+ ## 1.3.12
586
+
587
+ ### Patch Changes
588
+
589
+ - - enable dynamic parameters in langchain adapter tool call
590
+ - fix unparsable action arguments causing tool call crashes
591
+ - Updated dependencies
592
+ - @copilotkit/shared@1.3.12
593
+
594
+ ## 1.3.11
595
+
596
+ ### Patch Changes
597
+
598
+ - 08e8956: Fix duplicate messages
599
+ - Fix duplicate messages
600
+ - Updated dependencies [08e8956]
601
+ - Updated dependencies
602
+ - @copilotkit/shared@1.3.11
603
+
604
+ ## 1.3.11-mme-fix-duplicate-messages.0
605
+
606
+ ### Patch Changes
607
+
608
+ - Fix duplicate messages
609
+ - Updated dependencies
610
+ - @copilotkit/shared@1.3.11-mme-fix-duplicate-messages.0
611
+
612
+ ## 1.3.10
613
+
614
+ ### Patch Changes
615
+
616
+ - change how message chunk type is resolved (fixed langchain adapters)
617
+ - Updated dependencies
618
+ - @copilotkit/shared@1.3.10
619
+
620
+ ## 1.3.9
621
+
622
+ ### Patch Changes
623
+
624
+ - Fix message id issues
625
+ - Updated dependencies
626
+ - @copilotkit/shared@1.3.9
627
+
628
+ ## 1.3.8
629
+
630
+ ### Patch Changes
631
+
632
+ - fix textarea on multiple llm providers and memoize react ui context
633
+ - Updated dependencies
634
+ - @copilotkit/shared@1.3.8
635
+
636
+ ## 1.3.7
637
+
638
+ ### Patch Changes
639
+
640
+ - Fix libraries for React 19 and Next.js 15 support
641
+ - Updated dependencies
642
+ - @copilotkit/shared@1.3.7
643
+
644
+ ## 1.3.6
645
+
646
+ ### Patch Changes
647
+
648
+ - 1. Removes the usage of the `crypto` Node pacakge, instaed uses `uuid`. This ensures that non-Next.js React apps can use CopilotKit.
649
+ 2. Fixes Nest.js runtime docs
650
+
651
+ - Updated dependencies
652
+ - @copilotkit/shared@1.3.6
653
+
654
+ ## 1.3.5
655
+
656
+ ### Patch Changes
657
+
658
+ - Improve CoAgent state render
659
+ - Updated dependencies
660
+ - @copilotkit/shared@1.3.5
661
+
662
+ ## 1.3.4
663
+
664
+ ### Patch Changes
665
+
666
+ - Add followUp property to useCopilotAction
667
+ - Updated dependencies
668
+ - @copilotkit/shared@1.3.4
669
+
670
+ ## 1.3.3
671
+
672
+ ### Patch Changes
673
+
674
+ - Impvovements to error handling and CoAgent protocol
675
+ - Updated dependencies
676
+ - @copilotkit/shared@1.3.3
677
+
678
+ ## 1.3.2
679
+
680
+ ### Patch Changes
681
+
682
+ - Features and bug fixes
683
+ - 30232c0: Ensure actions can be discovered on state change
684
+ - Updated dependencies
685
+ - Updated dependencies [30232c0]
686
+ - @copilotkit/shared@1.3.2
687
+
688
+ ## 1.3.2-mme-discover-actions.0
689
+
690
+ ### Patch Changes
691
+
692
+ - Ensure actions can be discovered on state change
693
+ - Updated dependencies
694
+ - @copilotkit/shared@1.3.2-mme-discover-actions.0
695
+
696
+ ## 1.3.1
697
+
698
+ ### Patch Changes
699
+
700
+ - Revert CSS injection
701
+ - Updated dependencies
702
+ - @copilotkit/shared@1.3.1
703
+
704
+ ## 1.3.0
705
+
706
+ ### Minor Changes
707
+
708
+ - CoAgents and remote actions
709
+
710
+ ### Patch Changes
711
+
712
+ - 5b63f55: stream intermediate state
713
+ - b6fd3d8: Better message grouping
714
+ - 89420c6: Rename hooks and bugfixes
715
+ - b6e8824: useCoAgent/useCoAgentAction
716
+ - 91c35b9: useAgentState
717
+ - 00be203: Remote actions preview
718
+ - fb15f72: Reduce request size by skipping intermediate state
719
+ - 8ecc3e4: Fix useCoAgent start/stop bug
720
+ - Updated dependencies
721
+ - Updated dependencies [5b63f55]
722
+ - Updated dependencies [b6fd3d8]
723
+ - Updated dependencies [89420c6]
724
+ - Updated dependencies [b6e8824]
725
+ - Updated dependencies [91c35b9]
726
+ - Updated dependencies [00be203]
727
+ - Updated dependencies [fb15f72]
728
+ - Updated dependencies [8ecc3e4]
729
+ - @copilotkit/shared@1.3.0
730
+
731
+ ## 1.2.1
732
+
733
+ ### Patch Changes
734
+
735
+ - inject minified css in bundle
736
+
737
+ - removes the need to import `styles.css` manually
738
+ - empty `styles.css` included in the build for backwards compatibility
739
+ - uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
740
+ - currently uses my fork of `tsup` where I added support for async function in `injectStyles` (must-have for postcss), a PR from my fork to the main library will follow shortly
741
+ - remove material-ui, and use `react-icons` for icons (same icons as before)
742
+ - remove unused `IncludedFilesPreview` component
743
+ - updated docs
744
+
745
+ - Updated dependencies
746
+ - @copilotkit/shared@1.2.1
747
+
748
+ ## 1.2.0
749
+
750
+ ### Minor Changes
751
+
752
+ - Fix errors related to crypto not being found, and other bug fixes
753
+
754
+ ### Patch Changes
755
+
756
+ - 638d51d: appendMessage fix 1
757
+ - faccbe1: state-abuse resistance for useCopilotChat
758
+ - b0cf700: remove unnecessary logging
759
+ - Updated dependencies
760
+ - Updated dependencies [638d51d]
761
+ - Updated dependencies [faccbe1]
762
+ - Updated dependencies [b0cf700]
763
+ - @copilotkit/shared@1.2.0
764
+
765
+ ## 1.1.2
766
+
767
+ ### Patch Changes
768
+
769
+ - Pin headless-ui/react version to v2.1.1
770
+ - Updated dependencies
771
+ - @copilotkit/shared@1.1.2
772
+
773
+ ## 1.1.1
774
+
775
+ ### Patch Changes
776
+
777
+ - - improved documentation
778
+ - center textarea popup
779
+ - show/hide dev console
780
+ - forward maxTokens, stop and force function calling
781
+ - Updated dependencies
782
+ - @copilotkit/shared@1.1.1
783
+
784
+ ## 1.1.0
785
+
786
+ ### Minor Changes
787
+
788
+ - Official support for Groq (`GroqAdapter`)
789
+
790
+ ### Patch Changes
791
+
792
+ - Updated dependencies
793
+ - @copilotkit/shared@1.1.0
794
+
795
+ ## 1.0.9
796
+
797
+ ### Patch Changes
798
+
799
+ - Dev console, bugfixes
800
+ - Updated dependencies
801
+ - @copilotkit/shared@1.0.9
802
+
803
+ ## 1.0.8
804
+
805
+ ### Patch Changes
806
+
807
+ - Remove redundant console logs
808
+ - Updated dependencies
809
+ - @copilotkit/shared@1.0.8
810
+
811
+ ## 1.0.7
812
+
813
+ ### Patch Changes
814
+
815
+ - Add \_copilotkit internal properties to runtime
816
+ - Updated dependencies
817
+ - @copilotkit/shared@1.0.7
818
+
819
+ ## 1.0.6
820
+
821
+ ### Patch Changes
822
+
823
+ - - Proactively prevent race conditions
824
+ - Improve token counting performance
825
+ - Updated dependencies
826
+ - @copilotkit/shared@1.0.6
827
+
828
+ ## 1.0.5
829
+
830
+ ### Patch Changes
831
+
832
+ - Include @copilotkit/runtime-client-gql NPM package version in request to Runtime
833
+ - Updated dependencies
834
+ - @copilotkit/shared@1.0.5
835
+
836
+ ## 1.0.4
837
+
838
+ ### Patch Changes
839
+
840
+ - Remove nanoid
841
+ - Updated dependencies
842
+ - @copilotkit/shared@1.0.4
843
+
844
+ ## 1.0.3
845
+
846
+ ### Patch Changes
847
+
848
+ - Add README.md to published packages and add keywords to package.json
849
+ - Updated dependencies
850
+ - @copilotkit/shared@1.0.3
851
+
852
+ ## 1.0.2
853
+
854
+ ### Patch Changes
855
+
856
+ - Add README.md and homepage/url to published packages
857
+ - Updated dependencies
858
+ - @copilotkit/shared@1.0.2
859
+
860
+ ## 1.0.1
861
+
862
+ ### Patch Changes
863
+
864
+ - Remove PostHog, use Segment Anonymous Telemetry instead
865
+ - Updated dependencies
866
+ - @copilotkit/shared@1.0.1
867
+
868
+ ## 1.0.0
869
+
870
+ ### Major Changes
871
+
872
+ - b6a4b6eb: V1.0 Release Candidate
873
+
874
+ - A robust new protocol between the frontend and the Copilot Runtime
875
+ - Support for Copilot Cloud
876
+ - Generative UI
877
+ - Support for LangChain universal tool calling
878
+ - OpenAI assistant API streaming
879
+
880
+ - V1.0 Release
881
+
882
+ - A robust new protocol between the frontend and the Copilot Runtime
883
+ - Support for Copilot Cloud
884
+ - Generative UI
885
+ - Support for LangChain universal tool calling
886
+ - OpenAI assistant API streaming
887
+
888
+ ### Patch Changes
889
+
890
+ - b6a4b6eb: Introduce anonymous telemetry
891
+ - b6a4b6eb: Set default Copilot Cloud runtime URL to versioned URL (v1)
892
+ - Updated dependencies [b6a4b6eb]
893
+ - Updated dependencies [b6a4b6eb]
894
+ - Updated dependencies [b6a4b6eb]
895
+ - Updated dependencies
896
+ - @copilotkit/shared@1.0.0
897
+
898
+ ## 1.0.0-beta.2
899
+
900
+ ### Patch Changes
901
+
902
+ - Set default Copilot Cloud runtime URL to versioned URL (v1)
903
+ - Updated dependencies
904
+ - @copilotkit/shared@1.0.0-beta.2
905
+
906
+ ## 1.0.0-beta.1
907
+
908
+ ### Patch Changes
909
+
910
+ - Introduce anonymous telemetry
911
+ - Updated dependencies
912
+ - @copilotkit/shared@1.0.0-beta.1
913
+
914
+ ## 1.0.0-beta.0
915
+
916
+ ### Major Changes
917
+
918
+ - V1.0 Release Candidate
919
+
920
+ - A robust new protocol between the frontend and the Copilot Runtime
921
+ - Support for Copilot Cloud
922
+ - Generative UI
923
+ - Support for LangChain universal tool calling
924
+ - OpenAI assistant API streaming
925
+
926
+ ### Patch Changes
927
+
928
+ - Updated dependencies
929
+ - @copilotkit/shared@1.0.0-beta.0