@copilotkit/runtime 0.0.0-feat-dynamic-copilotcloud-qa-20250117190454

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