@copilotkit/shared 0.0.0-0.0.0-max-changeset-10101010101010-20260109191632

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 (185) hide show
  1. package/CHANGELOG.md +1800 -0
  2. package/LICENSE +21 -0
  3. package/README.md +141 -0
  4. package/dist/chunk-2OJ5OJ2D.mjs +1 -0
  5. package/dist/chunk-2OJ5OJ2D.mjs.map +1 -0
  6. package/dist/chunk-5YXKLIUO.mjs +38 -0
  7. package/dist/chunk-5YXKLIUO.mjs.map +1 -0
  8. package/dist/chunk-64DYJ27R.mjs +201 -0
  9. package/dist/chunk-64DYJ27R.mjs.map +1 -0
  10. package/dist/chunk-6QGXWNS5.mjs +34 -0
  11. package/dist/chunk-6QGXWNS5.mjs.map +1 -0
  12. package/dist/chunk-6W2UEO2M.mjs +94 -0
  13. package/dist/chunk-6W2UEO2M.mjs.map +1 -0
  14. package/dist/chunk-BOKE4OKY.mjs +41 -0
  15. package/dist/chunk-BOKE4OKY.mjs.map +1 -0
  16. package/dist/chunk-FCCOSO5L.mjs +1 -0
  17. package/dist/chunk-FCCOSO5L.mjs.map +1 -0
  18. package/dist/chunk-GYZIHHE6.mjs +13 -0
  19. package/dist/chunk-GYZIHHE6.mjs.map +1 -0
  20. package/dist/chunk-IAFBVORQ.mjs +1 -0
  21. package/dist/chunk-IAFBVORQ.mjs.map +1 -0
  22. package/dist/chunk-MSUB6DGR.mjs +1 -0
  23. package/dist/chunk-MSUB6DGR.mjs.map +1 -0
  24. package/dist/chunk-N5EP5OD5.mjs +1 -0
  25. package/dist/chunk-N5EP5OD5.mjs.map +1 -0
  26. package/dist/chunk-NAFEBKSO.mjs +1 -0
  27. package/dist/chunk-NAFEBKSO.mjs.map +1 -0
  28. package/dist/chunk-NBLG4PC5.mjs +426 -0
  29. package/dist/chunk-NBLG4PC5.mjs.map +1 -0
  30. package/dist/chunk-P7STFMPO.mjs +1 -0
  31. package/dist/chunk-P7STFMPO.mjs.map +1 -0
  32. package/dist/chunk-PL5WNHFZ.mjs +50 -0
  33. package/dist/chunk-PL5WNHFZ.mjs.map +1 -0
  34. package/dist/chunk-UYARLQNA.mjs +1 -0
  35. package/dist/chunk-UYARLQNA.mjs.map +1 -0
  36. package/dist/chunk-WUPFNPXO.mjs +107 -0
  37. package/dist/chunk-WUPFNPXO.mjs.map +1 -0
  38. package/dist/chunk-XEMZTHQZ.mjs +67 -0
  39. package/dist/chunk-XEMZTHQZ.mjs.map +1 -0
  40. package/dist/chunk-XTHC46M2.mjs +1 -0
  41. package/dist/chunk-XTHC46M2.mjs.map +1 -0
  42. package/dist/constants/index.d.ts +6 -0
  43. package/dist/constants/index.js +40 -0
  44. package/dist/constants/index.js.map +1 -0
  45. package/dist/constants/index.mjs +13 -0
  46. package/dist/constants/index.mjs.map +1 -0
  47. package/dist/index.d.ts +25 -0
  48. package/dist/index.js +1098 -0
  49. package/dist/index.js.map +1 -0
  50. package/dist/index.mjs +124 -0
  51. package/dist/index.mjs.map +1 -0
  52. package/dist/telemetry/events.d.ts +45 -0
  53. package/dist/telemetry/events.js +19 -0
  54. package/dist/telemetry/events.js.map +1 -0
  55. package/dist/telemetry/events.mjs +1 -0
  56. package/dist/telemetry/events.mjs.map +1 -0
  57. package/dist/telemetry/index.d.ts +3 -0
  58. package/dist/telemetry/index.js +188 -0
  59. package/dist/telemetry/index.js.map +1 -0
  60. package/dist/telemetry/index.mjs +12 -0
  61. package/dist/telemetry/index.mjs.map +1 -0
  62. package/dist/telemetry/scarf-client.d.ts +7 -0
  63. package/dist/telemetry/scarf-client.js +59 -0
  64. package/dist/telemetry/scarf-client.js.map +1 -0
  65. package/dist/telemetry/scarf-client.mjs +7 -0
  66. package/dist/telemetry/scarf-client.mjs.map +1 -0
  67. package/dist/telemetry/security-check.d.ts +2 -0
  68. package/dist/telemetry/security-check.js +2 -0
  69. package/dist/telemetry/security-check.js.map +1 -0
  70. package/dist/telemetry/security-check.mjs +1 -0
  71. package/dist/telemetry/security-check.mjs.map +1 -0
  72. package/dist/telemetry/telemetry-client.d.ts +40 -0
  73. package/dist/telemetry/telemetry-client.js +186 -0
  74. package/dist/telemetry/telemetry-client.js.map +1 -0
  75. package/dist/telemetry/telemetry-client.mjs +11 -0
  76. package/dist/telemetry/telemetry-client.mjs.map +1 -0
  77. package/dist/telemetry/utils.d.ts +8 -0
  78. package/dist/telemetry/utils.js +69 -0
  79. package/dist/telemetry/utils.js.map +1 -0
  80. package/dist/telemetry/utils.mjs +9 -0
  81. package/dist/telemetry/utils.mjs.map +1 -0
  82. package/dist/types/action.d.ts +59 -0
  83. package/dist/types/action.js +19 -0
  84. package/dist/types/action.js.map +1 -0
  85. package/dist/types/action.mjs +2 -0
  86. package/dist/types/action.mjs.map +1 -0
  87. package/dist/types/copilot-cloud-config.d.ts +13 -0
  88. package/dist/types/copilot-cloud-config.js +19 -0
  89. package/dist/types/copilot-cloud-config.js.map +1 -0
  90. package/dist/types/copilot-cloud-config.mjs +2 -0
  91. package/dist/types/copilot-cloud-config.mjs.map +1 -0
  92. package/dist/types/error.d.ts +55 -0
  93. package/dist/types/error.js +19 -0
  94. package/dist/types/error.js.map +1 -0
  95. package/dist/types/error.mjs +2 -0
  96. package/dist/types/error.mjs.map +1 -0
  97. package/dist/types/index.d.ts +7 -0
  98. package/dist/types/index.js +19 -0
  99. package/dist/types/index.js.map +1 -0
  100. package/dist/types/index.mjs +8 -0
  101. package/dist/types/index.mjs.map +1 -0
  102. package/dist/types/message.d.ts +26 -0
  103. package/dist/types/message.js +19 -0
  104. package/dist/types/message.js.map +1 -0
  105. package/dist/types/message.mjs +2 -0
  106. package/dist/types/message.mjs.map +1 -0
  107. package/dist/types/openai-assistant.d.ts +53 -0
  108. package/dist/types/openai-assistant.js +19 -0
  109. package/dist/types/openai-assistant.js.map +1 -0
  110. package/dist/types/openai-assistant.mjs +2 -0
  111. package/dist/types/openai-assistant.mjs.map +1 -0
  112. package/dist/types/utility.d.ts +6 -0
  113. package/dist/types/utility.js +19 -0
  114. package/dist/types/utility.js.map +1 -0
  115. package/dist/types/utility.mjs +2 -0
  116. package/dist/types/utility.mjs.map +1 -0
  117. package/dist/utils/conditions.d.ts +26 -0
  118. package/dist/utils/conditions.js +74 -0
  119. package/dist/utils/conditions.js.map +1 -0
  120. package/dist/utils/conditions.mjs +7 -0
  121. package/dist/utils/conditions.mjs.map +1 -0
  122. package/dist/utils/console-styling.d.ts +84 -0
  123. package/dist/utils/console-styling.js +123 -0
  124. package/dist/utils/console-styling.js.map +1 -0
  125. package/dist/utils/console-styling.mjs +17 -0
  126. package/dist/utils/console-styling.mjs.map +1 -0
  127. package/dist/utils/errors.d.ts +280 -0
  128. package/dist/utils/errors.js +443 -0
  129. package/dist/utils/errors.js.map +1 -0
  130. package/dist/utils/errors.mjs +65 -0
  131. package/dist/utils/errors.mjs.map +1 -0
  132. package/dist/utils/index.d.ts +32 -0
  133. package/dist/utils/index.js +927 -0
  134. package/dist/utils/index.js.map +1 -0
  135. package/dist/utils/index.mjs +108 -0
  136. package/dist/utils/index.mjs.map +1 -0
  137. package/dist/utils/json-schema.d.ts +34 -0
  138. package/dist/utils/json-schema.js +228 -0
  139. package/dist/utils/json-schema.js.map +1 -0
  140. package/dist/utils/json-schema.mjs +13 -0
  141. package/dist/utils/json-schema.mjs.map +1 -0
  142. package/dist/utils/random-id.d.ts +6 -0
  143. package/dist/utils/random-id.js +68 -0
  144. package/dist/utils/random-id.js.map +1 -0
  145. package/dist/utils/random-id.mjs +13 -0
  146. package/dist/utils/random-id.mjs.map +1 -0
  147. package/dist/utils/requests.d.ts +10 -0
  148. package/dist/utils/requests.js +91 -0
  149. package/dist/utils/requests.js.map +1 -0
  150. package/dist/utils/requests.mjs +7 -0
  151. package/dist/utils/requests.mjs.map +1 -0
  152. package/dist/utils/types.d.ts +20 -0
  153. package/dist/utils/types.js +19 -0
  154. package/dist/utils/types.js.map +1 -0
  155. package/dist/utils/types.mjs +2 -0
  156. package/dist/utils/types.mjs.map +1 -0
  157. package/jest.config.js +5 -0
  158. package/package.json +68 -0
  159. package/src/constants/index.ts +4 -0
  160. package/src/index.ts +7 -0
  161. package/src/telemetry/events.ts +41 -0
  162. package/src/telemetry/index.ts +1 -0
  163. package/src/telemetry/scarf-client.ts +39 -0
  164. package/src/telemetry/security-check.ts +0 -0
  165. package/src/telemetry/telemetry-client.ts +142 -0
  166. package/src/telemetry/utils.ts +39 -0
  167. package/src/types/action.ts +129 -0
  168. package/src/types/copilot-cloud-config.ts +11 -0
  169. package/src/types/error.ts +70 -0
  170. package/src/types/index.ts +6 -0
  171. package/src/types/message.ts +37 -0
  172. package/src/types/openai-assistant.ts +62 -0
  173. package/src/types/utility.ts +2 -0
  174. package/src/utils/conditions.ts +98 -0
  175. package/src/utils/console-styling.ts +124 -0
  176. package/src/utils/errors.ts +525 -0
  177. package/src/utils/index.ts +49 -0
  178. package/src/utils/json-schema.test.ts +383 -0
  179. package/src/utils/json-schema.ts +258 -0
  180. package/src/utils/random-id.ts +42 -0
  181. package/src/utils/requests.ts +77 -0
  182. package/src/utils/types.ts +22 -0
  183. package/tsconfig.json +9 -0
  184. package/tsup.config.ts +11 -0
  185. package/typedoc.json +4 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,1800 @@
1
+ # @copilotkit/shared
2
+
3
+ ## 0.0.0-0.0.0-max-changeset-10101010101010-20260109191632
4
+
5
+ ### Patch Changes
6
+
7
+ - 6da0e74: Update versioning strategy
8
+
9
+ ## 1.50.2-next.0
10
+
11
+ ## 1.50.1
12
+
13
+ ### Patch Changes
14
+
15
+ - 80dffec: Updated the default model and API version for the Google GenAI adapter
16
+
17
+ ## 1.50.1-next.3
18
+
19
+ ## 1.50.1-next.2
20
+
21
+ ## 1.50.1-next.1
22
+
23
+ ## 1.50.1-next.0
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated the default model and API version for the Google GenAI adapter
28
+
29
+ ## 1.50.0
30
+
31
+ ### Minor Changes
32
+
33
+ - 0fc76d7: add new runner with telemetry baked in
34
+ - c942f9c: Minor fixes and stability improvements
35
+ - eed6021: Updating to the latest version of vnext
36
+ - 3b7367e: Improving general stability around LangChain
37
+ - 7ff9ca7: Minor fixes and improvements
38
+ - 974875e: Lint and format code to resolve Prettier errors
39
+ - 4942f62: - feat: create rerouting CopilotRuntime
40
+ - 3bd484f: Minor fixes and stability improvements
41
+ - 5a534bf: fix telemetry in v1.50 runtime
42
+ - 769a06c: Refactor suggestions to not always run
43
+ - 788292b: Improving langchain dependency resolution
44
+ - eab69a2: Enabling the new inspector
45
+ - 0a7bfe0: Updating dependency versions across all packages
46
+
47
+ ### Patch Changes
48
+
49
+ - b0e3652: - chore: Update to latest of vnext
50
+
51
+ ## 1.50.0-beta.19
52
+
53
+ ### Minor Changes
54
+
55
+ - Improving langchain dependency resolution
56
+
57
+ ## 1.50.0-beta.18
58
+
59
+ ### Minor Changes
60
+
61
+ - Improving general stability around LangChain
62
+
63
+ ## 1.50.0-beta.17
64
+
65
+ ### Minor Changes
66
+
67
+ - Minor fixes and improvements
68
+
69
+ ## 1.50.0-beta.16
70
+
71
+ ### Minor Changes
72
+
73
+ - Minor fixes and stability improvements
74
+
75
+ ## 1.50.0-beta.15
76
+
77
+ ### Minor Changes
78
+
79
+ - Lint and format code to resolve Prettier errors
80
+
81
+ ## 1.50.0-beta.14
82
+
83
+ ### Minor Changes
84
+
85
+ - Minor fixes and stability improvements
86
+
87
+ ## 1.50.0-beta.13
88
+
89
+ ### Minor Changes
90
+
91
+ - Updating to the latest version of vnext
92
+
93
+ ## 1.50.0-beta.12
94
+
95
+ ### Minor Changes
96
+
97
+ - eab69a2: Enabling the new inspector
98
+
99
+ ## 1.50.0-beta.11
100
+
101
+ ### Minor Changes
102
+
103
+ - fix telemetry in v1.50 runtime
104
+
105
+ ## 1.50.0-beta.10
106
+
107
+ ### Minor Changes
108
+
109
+ - add new runner with telemetry baked in
110
+
111
+ ## 1.50.0-beta.9
112
+
113
+ ### Minor Changes
114
+
115
+ - Refactor suggestions to not always run
116
+
117
+ ## 1.50.0-beta.8
118
+
119
+ ## 1.50.0-beta.7
120
+
121
+ ## 1.50.0-beta.6
122
+
123
+ ### Minor Changes
124
+
125
+ - Updating dependency versions across all packages
126
+
127
+ ## 1.50.0-beta.4
128
+
129
+ ### Minor Changes
130
+
131
+ - 4942f62: - feat: create rerouting CopilotRuntime
132
+
133
+ ### Patch Changes
134
+
135
+ - b0e3652: - chore: Update to latest of vnext
136
+
137
+ ## 1.10.7-next.0
138
+
139
+ ## 1.10.6
140
+
141
+ ### Patch Changes
142
+
143
+ - e0dd5d5: - feat: allow additional config in direct to llm actions
144
+
145
+ ## 1.10.6-next.6
146
+
147
+ ## 1.10.6-next.5
148
+
149
+ ### Patch Changes
150
+
151
+ - e0dd5d5: - feat: allow additional config in direct to llm actions
152
+
153
+ ## 1.10.6-next.4
154
+
155
+ ## 1.10.6-next.3
156
+
157
+ ## 1.10.6-next.2
158
+
159
+ ## 1.10.6-next.1
160
+
161
+ ## 1.10.6-next.0
162
+
163
+ ## 1.10.5
164
+
165
+ ## 1.10.5-next.10
166
+
167
+ ## 1.10.5-next.9
168
+
169
+ ## 1.10.5-next.8
170
+
171
+ ## 1.10.5-next.7
172
+
173
+ ## 1.10.5-next.6
174
+
175
+ ## 1.10.5-next.5
176
+
177
+ ## 1.10.5-next.4
178
+
179
+ ## 1.10.5-next.3
180
+
181
+ ## 1.10.5-next.2
182
+
183
+ ## 1.10.5-next.1
184
+
185
+ ## 1.10.5-next.0
186
+
187
+ ## 1.10.4
188
+
189
+ ### Patch Changes
190
+
191
+ - a640d8e: - feat: update latest agui langgraph for subgraphs support
192
+ - feat: update latest agui core packages
193
+
194
+ ## 1.10.4-next.3
195
+
196
+ ## 1.10.4-next.2
197
+
198
+ ## 1.10.4-next.1
199
+
200
+ ### Patch Changes
201
+
202
+ - a640d8e: - feat: update latest agui langgraph for subgraphs support
203
+ - feat: update latest agui core packages
204
+
205
+ ## 1.10.4-next.0
206
+
207
+ ## 1.10.3
208
+
209
+ ### Patch Changes
210
+
211
+ - ea74047: - fix: surface run errors from agui
212
+
213
+ ## 1.10.3-next.3
214
+
215
+ ## 1.10.3-next.2
216
+
217
+ ## 1.10.3-next.1
218
+
219
+ ## 1.10.3-next.0
220
+
221
+ ### Patch Changes
222
+
223
+ - ea74047: - fix: surface run errors from agui
224
+
225
+ ## 1.10.2
226
+
227
+ ## 1.10.2-next.0
228
+
229
+ ## 1.10.1
230
+
231
+ ## 1.10.1-next.2
232
+
233
+ ## 1.10.1-next.1
234
+
235
+ ## 1.10.1-next.0
236
+
237
+ ## 1.10.0
238
+
239
+ ### Minor Changes
240
+
241
+ - 8674da1: - refactor(headless): completely overhaul headless ui to better support agentic features
242
+
243
+ Headless UI has been in a bad state for a bit now. When we added support for different
244
+ agentic runtimes we acquired tech-debt that, with this PR, is being alleviated.
245
+
246
+ As such, the following features have been updated to be completely functional with Headless UI.
247
+ - Generative UI
248
+ - Suggestions
249
+ - Agentic Generative UI
250
+ - Interrupts
251
+
252
+ In addition, a variety of QOL changes have been made.
253
+ - New AG-UI based message types
254
+ - Inline code rendering is fixed
255
+
256
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
257
+
258
+ ### Patch Changes
259
+
260
+ - a8c0263: - feat: add event hooks system for chat components
261
+ - 6d1de58: - fix: address issues that would cause headless UI breaking changes in the next release
262
+
263
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
264
+ - fix: more fixes addressing breaking changes in new Headless UI
265
+
266
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
267
+ - chore: address linting issues
268
+
269
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
270
+ - chore: fixing branding and docs
271
+
272
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
273
+ - chore: more docs fixing
274
+
275
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
276
+
277
+ ## 1.10.0-next.13
278
+
279
+ ## 1.10.0-next.12
280
+
281
+ ## 1.10.0-next.11
282
+
283
+ ## 1.10.0-next.10
284
+
285
+ ### Patch Changes
286
+
287
+ - 6d1de58: - fix: address issues that would cause headless UI breaking changes in the next release
288
+
289
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
290
+ - fix: more fixes addressing breaking changes in new Headless UI
291
+
292
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
293
+ - chore: address linting issues
294
+
295
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
296
+ - chore: fixing branding and docs
297
+
298
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
299
+ - chore: more docs fixing
300
+
301
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
302
+
303
+ ## 1.10.0-next.9
304
+
305
+ ## 1.10.0-next.8
306
+
307
+ ## 1.10.0-next.7
308
+
309
+ ## 1.10.0-next.6
310
+
311
+ ## 1.10.0-next.5
312
+
313
+ ### Patch Changes
314
+
315
+ - a8c0263: - feat: add event hooks system for chat components
316
+
317
+ ## 1.10.0-next.4
318
+
319
+ ## 1.10.0-next.3
320
+
321
+ ## 1.10.0-next.2
322
+
323
+ ## 1.10.0-next.1
324
+
325
+ ## 1.10.0-next.0
326
+
327
+ ### Minor Changes
328
+
329
+ - 8674da1: - refactor(headless): completely overhaul headless ui to better support agentic features
330
+
331
+ Headless UI has been in a bad state for a bit now. When we added support for different
332
+ agentic runtimes we acquired tech-debt that, with this PR, is being alleviated.
333
+
334
+ As such, the following features have been updated to be completely functional with Headless UI.
335
+ - Generative UI
336
+ - Suggestions
337
+ - Agentic Generative UI
338
+ - Interrupts
339
+
340
+ In addition, a variety of QOL changes have been made.
341
+ - New AG-UI based message types
342
+ - Inline code rendering is fixed
343
+
344
+ Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
345
+
346
+ ## 1.9.3
347
+
348
+ ### Patch Changes
349
+
350
+ - 1bda332: - chore(telemetry): integrate Scarf for usage analytics
351
+
352
+ ## 1.9.3-next.4
353
+
354
+ ## 1.9.3-next.3
355
+
356
+ ### Patch Changes
357
+
358
+ - 1bda332: - chore(telemetry): integrate Scarf for usage analytics
359
+
360
+ ## 1.9.3-next.2
361
+
362
+ ## 1.9.3-next.1
363
+
364
+ ## 1.9.3-next.0
365
+
366
+ ## 1.9.2
367
+
368
+ ### Patch Changes
369
+
370
+ - fac89c2: - refactor: rename onTrace to onError throughout codebase
371
+ - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
372
+
373
+ - 9169ad7: - feat: add onTrace handler for runtime and UI error/event tracking
374
+ - 1d1c51d: - feat: surface all errors in structured format
375
+ - 10345a5: - feat: structured error visibility system for streaming errors
376
+ - 9169ad7: - feat: add onTrace handler for comprehensive debugging and observability - Add CopilotTraceEvent interfaces with rich debugging context, implement runtime-side tracing with publicApiKey gating, add UI-side error tracing, include comprehensive test coverage, and fix tsup build config to exclude test files
377
+ - fix: extract publicApiKey for all requests + trace GraphQL errors
378
+
379
+ ## 1.9.2-next.26
380
+
381
+ ## 1.9.2-next.25
382
+
383
+ ## 1.9.2-next.24
384
+
385
+ ## 1.9.2-next.23
386
+
387
+ ## 1.9.2-next.22
388
+
389
+ ## 1.9.2-next.21
390
+
391
+ ## 1.9.2-next.20
392
+
393
+ ## 1.9.2-next.19
394
+
395
+ ## 1.9.2-next.18
396
+
397
+ ### Patch Changes
398
+
399
+ - fac89c2: - refactor: rename onTrace to onError throughout codebase
400
+ - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
401
+
402
+ ## 1.9.2-next.17
403
+
404
+ ## 1.9.2-next.16
405
+
406
+ ## 1.9.2-next.15
407
+
408
+ ## 1.9.2-next.14
409
+
410
+ ## 1.9.2-next.13
411
+
412
+ ## 1.9.2-next.12
413
+
414
+ ## 1.9.2-next.11
415
+
416
+ ## 1.9.2-next.10
417
+
418
+ ## 1.9.2-next.9
419
+
420
+ ### Patch Changes
421
+
422
+ - 1d1c51d: - feat: surface all errors in structured format
423
+
424
+ ## 1.9.2-next.8
425
+
426
+ ## 1.9.2-next.7
427
+
428
+ ## 1.9.2-next.6
429
+
430
+ ## 1.9.2-next.5
431
+
432
+ ## 1.9.2-next.4
433
+
434
+ ### Patch Changes
435
+
436
+ - 9169ad7: - feat: add onTrace handler for runtime and UI error/event tracking
437
+ - 9169ad7: - feat: add onTrace handler for comprehensive debugging and observability - Add CopilotTraceEvent interfaces with rich debugging context, implement runtime-side tracing with publicApiKey gating, add UI-side error tracing, include comprehensive test coverage, and fix tsup build config to exclude test files
438
+ - fix: extract publicApiKey for all requests + trace GraphQL errors
439
+
440
+ ## 1.9.2-next.3
441
+
442
+ ## 1.9.2-next.2
443
+
444
+ ## 1.9.2-next.1
445
+
446
+ ## 1.9.2-next.0
447
+
448
+ ### Patch Changes
449
+
450
+ - 10345a5: - feat: structured error visibility system for streaming errors
451
+
452
+ ## 1.9.1
453
+
454
+ ### Patch Changes
455
+
456
+ - deaeca0: - feat: Add public key
457
+
458
+ Signed-off-by: Luis Valdes <luis@copilotkit.ai>
459
+
460
+ ## 1.9.1-next.0
461
+
462
+ ### Patch Changes
463
+
464
+ - deaeca0: - feat: Add public key
465
+
466
+ Signed-off-by: Luis Valdes <luis@copilotkit.ai>
467
+
468
+ ## 1.9.0
469
+
470
+ ## 1.9.0-next.2
471
+
472
+ ## 1.8.15-next.1
473
+
474
+ ## 1.8.15-next.0
475
+
476
+ ## 1.8.14
477
+
478
+ ### Patch Changes
479
+
480
+ - 34a78d8: - jsonSchemaToActionParameters implementation
481
+
482
+ ## 1.8.14-next.5
483
+
484
+ ## 1.8.14-next.4
485
+
486
+ ## 1.8.14-next.3
487
+
488
+ ## 1.8.14-next.2
489
+
490
+ ## 1.8.14-next.1
491
+
492
+ ### Patch Changes
493
+
494
+ - 34a78d8: - jsonSchemaToActionParameters implementation
495
+
496
+ ## 1.8.14-next.0
497
+
498
+ ## 1.8.13
499
+
500
+ ## 1.8.13-next.3
501
+
502
+ ## 1.8.13-next.2
503
+
504
+ ## 1.8.13-next.1
505
+
506
+ ## 1.8.13-next.0
507
+
508
+ ## 1.8.12
509
+
510
+ ## 1.8.12-next.6
511
+
512
+ ## 1.8.12-next.5
513
+
514
+ ## 1.8.12-next.4
515
+
516
+ ## 1.8.12-next.3
517
+
518
+ ## 1.8.12-next.2
519
+
520
+ ## 1.8.12-next.1
521
+
522
+ ## 1.8.12-next.0
523
+
524
+ ## 1.8.11
525
+
526
+ ## 1.8.11-next.1
527
+
528
+ ## 1.8.11-next.0
529
+
530
+ ## 1.8.10
531
+
532
+ ## 1.8.10-next.3
533
+
534
+ ## 1.8.10-next.2
535
+
536
+ ## 1.8.10-next.1
537
+
538
+ ## 1.8.10-next.0
539
+
540
+ ## 1.8.9
541
+
542
+ ## 1.8.9-next.0
543
+
544
+ ## 1.8.8
545
+
546
+ ## 1.8.8-next.1
547
+
548
+ ## 1.8.8-next.0
549
+
550
+ ## 1.8.7
551
+
552
+ ## 1.8.7-next.0
553
+
554
+ ## 1.8.6
555
+
556
+ ## 1.8.6-next.0
557
+
558
+ ## 1.8.5
559
+
560
+ ## 1.8.5-next.5
561
+
562
+ ## 1.8.5-next.4
563
+
564
+ ## 1.8.5-next.3
565
+
566
+ ## 1.8.5-next.2
567
+
568
+ ## 1.8.5-next.1
569
+
570
+ ## 1.8.5-next.0
571
+
572
+ ## 1.8.4
573
+
574
+ ### Patch Changes
575
+
576
+ - f363760: - fix: when unable to find specified agent, show what's available
577
+
578
+ ## 1.8.4-next.4
579
+
580
+ ## 1.8.4-next.3
581
+
582
+ ## 1.8.4-next.2
583
+
584
+ ## 1.8.4-next.1
585
+
586
+ ### Patch Changes
587
+
588
+ - f363760: - fix: when unable to find specified agent, show what's available
589
+
590
+ ## 1.8.4-next.0
591
+
592
+ ## 1.8.3
593
+
594
+ ## 1.8.3-next.0
595
+
596
+ ## 1.8.2-next.3
597
+
598
+ ## 1.8.2-next.2
599
+
600
+ ## 1.8.2-next.1
601
+
602
+ ## 1.8.2-next.0
603
+
604
+ ## 1.8.1
605
+
606
+ ## 1.8.1-next.1
607
+
608
+ ## 1.8.1-next.0
609
+
610
+ ## 1.8.0
611
+
612
+ ## 1.8.0-next.8
613
+
614
+ ## 1.8.0-next.7
615
+
616
+ ## 1.8.0-next.6
617
+
618
+ ## 1.8.0-next.5
619
+
620
+ ## 1.8.0-next.4
621
+
622
+ ## 1.8.0-next.3
623
+
624
+ ## 1.7.2-next.2
625
+
626
+ ## 1.7.2-next.1
627
+
628
+ ## 1.7.2-next.0
629
+
630
+ ## 1.7.1
631
+
632
+ ## 1.7.1-next.0
633
+
634
+ ## 1.7.0
635
+
636
+ ## 1.7.0-next.1
637
+
638
+ ## 1.7.0-next.0
639
+
640
+ ## 1.6.0
641
+
642
+ ### Patch Changes
643
+
644
+ - 090203d: - fix: use tryMap method to filter out possibly invalid items
645
+
646
+ ## 1.6.0-next.12
647
+
648
+ ## 1.6.0-next.11
649
+
650
+ ## 1.6.0-next.10
651
+
652
+ ## 1.6.0-next.9
653
+
654
+ ## 1.6.0-next.8
655
+
656
+ ## 1.6.0-next.7
657
+
658
+ ## 1.6.0-next.6
659
+
660
+ ## 1.6.0-next.5
661
+
662
+ ### Patch Changes
663
+
664
+ - 090203d: - fix: use tryMap method to filter out possibly invalid items
665
+
666
+ ## 1.6.0-next.4
667
+
668
+ ## 1.6.0-next.3
669
+
670
+ ## 1.6.0-next.2
671
+
672
+ ## 1.6.0-next.1
673
+
674
+ ## 1.6.0-next.0
675
+
676
+ ## 1.5.20
677
+
678
+ ### Patch Changes
679
+
680
+ - 51f0d66: - fix(errors): fix internal usage of error resolver
681
+
682
+ ## 1.5.20-next.0
683
+
684
+ ### Patch Changes
685
+
686
+ - 51f0d66: - fix(errors): fix internal usage of error resolver
687
+
688
+ ## 1.5.19
689
+
690
+ ### Patch Changes
691
+
692
+ - 0dd1ab9: - fix(errors): allow non copilotkit errors to pass to consumer app error boundary
693
+
694
+ ## 1.5.19-next.1
695
+
696
+ ### Patch Changes
697
+
698
+ - 0dd1ab9: - fix(errors): allow non copilotkit errors to pass to consumer app error boundary
699
+
700
+ ## 1.5.19-next.0
701
+
702
+ ## 1.5.18
703
+
704
+ ### Patch Changes
705
+
706
+ - d47cd26: - fix: detect and alert on version mismatch
707
+ - f77a7b9: - fix: use warning when version mismatch is not expected to error out
708
+ - 38d3ac2: - fix: add additional info the our error messages
709
+
710
+ ## 1.5.18-next.3
711
+
712
+ ### Patch Changes
713
+
714
+ - f77a7b9: - fix: use warning when version mismatch is not expected to error out
715
+
716
+ ## 1.5.18-next.2
717
+
718
+ ### Patch Changes
719
+
720
+ - 38d3ac2: - fix: add additional info the our error messages
721
+
722
+ ## 1.5.18-next.1
723
+
724
+ ## 1.5.18-next.0
725
+
726
+ ### Patch Changes
727
+
728
+ - d47cd26: - fix: detect and alert on version mismatch
729
+
730
+ ## 1.5.17
731
+
732
+ ### Patch Changes
733
+
734
+ - 1fc3902: - Revert "fix: detect and alert on version mismatch (#1333)"
735
+
736
+ This reverts commit 48b7c7b1bd48ced82ffb9a00d6eddc1f7581e0c1.
737
+
738
+ ## 1.5.17-next.0
739
+
740
+ ### Patch Changes
741
+
742
+ - 1fc3902: - Revert "fix: detect and alert on version mismatch (#1333)"
743
+
744
+ This reverts commit 48b7c7b1bd48ced82ffb9a00d6eddc1f7581e0c1.
745
+
746
+ ## 1.5.16
747
+
748
+ ### Patch Changes
749
+
750
+ - 48b7c7b: - fix: detect and alert on version mismatch
751
+
752
+ ## 1.5.16-next.2
753
+
754
+ ## 1.5.16-next.1
755
+
756
+ ### Patch Changes
757
+
758
+ - 48b7c7b: - fix: detect and alert on version mismatch
759
+
760
+ ## 1.5.16-next.0
761
+
762
+ ## 1.5.15
763
+
764
+ ### Patch Changes
765
+
766
+ - 7b3141d: - feat(interrupt): support LG interrupt with useLangGraphInterrupt hook
767
+ - chore(interrupt): add e2e test to interrupt functionality
768
+ - feat(interrupt): add support for multiple interrupts and conditions
769
+
770
+ ## 1.5.15-next.8
771
+
772
+ ## 1.5.15-next.7
773
+
774
+ ## 1.5.15-next.6
775
+
776
+ ## 1.5.15-next.5
777
+
778
+ ## 1.5.15-next.4
779
+
780
+ ### Patch Changes
781
+
782
+ - 7b3141d: - feat(interrupt): support LG interrupt with useLangGraphInterrupt hook
783
+ - chore(interrupt): add e2e test to interrupt functionality
784
+ - feat(interrupt): add support for multiple interrupts and conditions
785
+
786
+ ## 1.5.15-next.3
787
+
788
+ ## 1.5.15-next.2
789
+
790
+ ## 1.5.15-next.1
791
+
792
+ ## 1.5.15-next.0
793
+
794
+ ## 1.5.14
795
+
796
+ ### Patch Changes
797
+
798
+ - 0061f65: - feat: allows dev mode for cloud onboarding flow
799
+
800
+ ## 1.5.14-next.0
801
+
802
+ ### Patch Changes
803
+
804
+ - 0061f65: - feat: allows dev mode for cloud onboarding flow
805
+
806
+ ## 1.5.13
807
+
808
+ ## 1.5.13-next.0
809
+
810
+ ## 1.5.12
811
+
812
+ ### Patch Changes
813
+
814
+ - 6136a57: - fix(errors): add custom error classes to better describe library errors
815
+ - fix(errors): use new errors in error handling
816
+ - chore: add documentation and links to respective errors
817
+
818
+ ## 1.5.12-next.7
819
+
820
+ ## 1.5.12-next.6
821
+
822
+ ### Patch Changes
823
+
824
+ - 6136a57: - fix(errors): add custom error classes to better describe library errors
825
+ - fix(errors): use new errors in error handling
826
+ - chore: add documentation and links to respective errors
827
+
828
+ ## 1.5.12-next.5
829
+
830
+ ## 1.5.12-next.4
831
+
832
+ ## 1.5.12-next.3
833
+
834
+ ## 1.5.12-next.2
835
+
836
+ ## 1.5.12-next.1
837
+
838
+ ## 1.5.12-next.0
839
+
840
+ ## 1.5.11
841
+
842
+ ## 1.5.11-next.0
843
+
844
+ ## 1.5.10
845
+
846
+ ## 1.5.10-next.0
847
+
848
+ ## 1.5.9
849
+
850
+ ## 1.5.8
851
+
852
+ ## 1.5.6-next.0
853
+
854
+ ## 1.5.5-next.5
855
+
856
+ ## 1.5.5-next.3
857
+
858
+ ## 1.5.5-next.2
859
+
860
+ ## 1.5.4
861
+
862
+ ## 1.5.3
863
+
864
+ ## 1.5.2
865
+
866
+ ## 1.5.1
867
+
868
+ ### Patch Changes
869
+
870
+ - 5c01e9e: test prerelease #4
871
+ - da280ed: Test prerelease script
872
+ - 27e42d7: testing a prerelease
873
+ - 05240a9: test pre #2
874
+ - 33218fe: test prerelease #3
875
+ - 03f3d6f: Test next prerelease
876
+
877
+ ## 1.5.1-next.3
878
+
879
+ ### Patch Changes
880
+
881
+ - 33218fe: test prerelease #3
882
+
883
+ ## 1.5.1-next.2
884
+
885
+ ### Patch Changes
886
+
887
+ - da280ed: Test prerelease script
888
+
889
+ ## 1.5.1-next.1
890
+
891
+ ### Patch Changes
892
+
893
+ - 03f3d6f: Test next prerelease
894
+
895
+ ## 1.5.1-next.0
896
+
897
+ ### Patch Changes
898
+
899
+ - 27e42d7: testing a prerelease
900
+
901
+ ## 1.5.0
902
+
903
+ ### Minor Changes
904
+
905
+ - 1b47092: Synchronize LangGraph messages with CopilotKit
906
+
907
+ ### Patch Changes
908
+
909
+ - 1b47092: CoAgents v0.3 prerelease
910
+
911
+ ## 1.5.0-coagents-v0-3.0
912
+
913
+ ### Minor Changes
914
+
915
+ - Synchronize LangGraph messages with CopilotKit
916
+
917
+ ### Patch Changes
918
+
919
+ - e66bce4: CoAgents v0.3 prerelease
920
+
921
+ ## 1.4.8
922
+
923
+ ### Patch Changes
924
+
925
+ - - Better error handling
926
+ - Introduce new "EmptyLLMAdapter" for when using CoAgents
927
+ - Improve dev console help options
928
+ - Allow CopilotKit remote endpoint without agents
929
+
930
+ ## 1.4.8-next.0
931
+
932
+ ## 1.4.7
933
+
934
+ ### Patch Changes
935
+
936
+ - Fix broken build script before release
937
+
938
+ ## 1.4.6
939
+
940
+ ### Patch Changes
941
+
942
+ - .
943
+
944
+ ## 1.4.5
945
+
946
+ ### Patch Changes
947
+
948
+ - testing release workflow
949
+
950
+ ## 1.4.5-next.0
951
+
952
+ ### Patch Changes
953
+
954
+ - testing release workflow
955
+
956
+ ## 1.4.4
957
+
958
+ ## 1.4.4-next.4
959
+
960
+ ## 1.4.4-next.3
961
+
962
+ ## 1.4.4-next.2
963
+
964
+ ## 1.4.4-next.1
965
+
966
+ ## 1.4.4-next.0
967
+
968
+ ## 1.4.3
969
+
970
+ ### Patch Changes
971
+
972
+ - c296282: - Better error surfacing when using LangGraph Platform streaming
973
+ - Ensure state is immediately set without using flushSync
974
+ - - Better error surfacing when using LangGraph Platform streaming
975
+ - Ensure state is immediately set without using flushSync
976
+
977
+ ## 1.4.3-pre.0
978
+
979
+ ### Patch Changes
980
+
981
+ - - Better error surfacing when using LangGraph Platform streaming
982
+ - Ensure state is immediately set without using flushSync
983
+
984
+ ## 1.4.2
985
+
986
+ ### Patch Changes
987
+
988
+ - - Make sure agent state is set immediately (#1077)
989
+ - Support running an agent without messages (#1075)
990
+
991
+ ## 1.4.1
992
+
993
+ ### Patch Changes
994
+
995
+ - 1721cbd: lower case copilotkit property
996
+ - 1721cbd: add zod conversion
997
+ - 8d0144f: bump
998
+ - 8d0144f: bump
999
+ - 8d0144f: bump
1000
+ - e16d95e: New prerelease
1001
+ - 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
1002
+ - CopilotKit Core:
1003
+ - Improved error messages and overall logs
1004
+ - `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
1005
+ - Improved scrolling behavior. It is now possible to scroll up during LLM response generation
1006
+ - Added Azure OpenAI integration
1007
+ - Updated interfaces for better developer ergonomics
1008
+
1009
+ CoAgents:
1010
+ - Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
1011
+ - Support for LangGraph Platform in Remote Endpoints
1012
+ - LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
1013
+ - Improved LangSmith integration - requests made through CoAgents will now surface in LangSmith
1014
+ - Enhanced state management and message handling
1015
+
1016
+ CopilotKid Back-end SDK:
1017
+ - Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
1018
+
1019
+ - 8d0144f: bump
1020
+ - 8d0144f: bump
1021
+ - fef1b74: fix assistant message CSS and propagate actions to LG JS
1022
+
1023
+ ## 1.4.1-pre.6
1024
+
1025
+ ### Patch Changes
1026
+
1027
+ - 1721cbd: lower case copilotkit property
1028
+ - 1721cbd: add zod conversion
1029
+ - 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
1030
+ - fix assistant message CSS and propagate actions to LG JS
1031
+
1032
+ ## 1.4.1-pre.5
1033
+
1034
+ ### Patch Changes
1035
+
1036
+ - bump
1037
+
1038
+ ## 1.4.1-pre.4
1039
+
1040
+ ### Patch Changes
1041
+
1042
+ - bump
1043
+
1044
+ ## 1.4.1-pre.3
1045
+
1046
+ ### Patch Changes
1047
+
1048
+ - bump
1049
+
1050
+ ## 1.4.1-pre.2
1051
+
1052
+ ### Patch Changes
1053
+
1054
+ - bump
1055
+
1056
+ ## 1.4.1-pre.1
1057
+
1058
+ ### Patch Changes
1059
+
1060
+ - bump
1061
+
1062
+ ## 1.4.1-pre.0
1063
+
1064
+ ### Patch Changes
1065
+
1066
+ - New prerelease
1067
+
1068
+ ## 1.4.0
1069
+
1070
+ ### Minor Changes
1071
+
1072
+ CopilotKit Core:
1073
+
1074
+ - Improved error messages and overall logs
1075
+ - `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
1076
+ - Improved scrolling behavior. It is now possible to scroll up during LLM response generation
1077
+ - Added Azure OpenAI integration
1078
+ - Updated interfaces for better developer ergonomics
1079
+
1080
+ CoAgents:
1081
+
1082
+ - Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
1083
+ - Support for LangGraph Platform in Remote Endpoints
1084
+ - LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
1085
+ - Improved LangSmith integration - requests made through CoAgents will now surface in LangSmith
1086
+ - Enhanced state management and message handling
1087
+
1088
+ CopilotKid Back-end SDK:
1089
+
1090
+ - Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
1091
+
1092
+ ### Patch Changes
1093
+
1094
+ - f6fab28: update tsup config
1095
+ - f6fab28: update entry
1096
+ - f6fab28: export langchain module
1097
+ - 8a77944: Improve LangSmith support
1098
+ - f6fab28: Ensure intermediate state config is sent as snake case
1099
+ - f6fab28: update entry in tsup config
1100
+ - 8a77944: Ensure the last message is sent to LangSmith
1101
+ - a5efccd: Revert rxjs changes
1102
+ - f6fab28: update entry
1103
+ - f6fab28: Update exports
1104
+ - f6fab28: Update exports
1105
+ - 332d744: Add support for Azure OpenAI
1106
+ - f6fab28: Export LangGraph functions
1107
+ - f6fab28: Update lockfile
1108
+
1109
+ ## 1.3.16-mme-revert-rxjs-changes.10
1110
+
1111
+ ### Patch Changes
1112
+
1113
+ - f6fab28: update tsup config
1114
+ - f6fab28: update entry
1115
+ - f6fab28: export langchain module
1116
+ - 8a77944: Improve LangSmith support
1117
+ - f6fab28: Ensure intermediate state config is sent as snake case
1118
+ - f6fab28: update entry in tsup config
1119
+ - 8a77944: Ensure the last message is sent to LangSmith
1120
+ - Revert rxjs changes
1121
+ - f6fab28: update entry
1122
+ - f6fab28: Update exports
1123
+ - f6fab28: Update exports
1124
+ - 332d744: Add support for Azure OpenAI
1125
+ - f6fab28: Export LangGraph functions
1126
+ - f6fab28: Update lockfile
1127
+
1128
+ ## 1.3.15
1129
+
1130
+ ### Patch Changes
1131
+
1132
+ - pass description for array and object action parameters in langchain adapter
1133
+
1134
+ ## 1.3.14
1135
+
1136
+ ### Patch Changes
1137
+
1138
+ - Add data-test-id to some elements for testing
1139
+
1140
+ ## 1.3.13
1141
+
1142
+ ### Patch Changes
1143
+
1144
+ - fix usage of one-at-a-time tool when called multiple times
1145
+
1146
+ ## 1.3.12
1147
+
1148
+ ### Patch Changes
1149
+
1150
+ - - enable dynamic parameters in langchain adapter tool call
1151
+ - fix unparsable action arguments causing tool call crashes
1152
+
1153
+ ## 1.3.11
1154
+
1155
+ ### Patch Changes
1156
+
1157
+ - 08e8956: Fix duplicate messages
1158
+ - Fix duplicate messages
1159
+
1160
+ ## 1.3.11-mme-fix-duplicate-messages.0
1161
+
1162
+ ### Patch Changes
1163
+
1164
+ - Fix duplicate messages
1165
+
1166
+ ## 1.3.10
1167
+
1168
+ ### Patch Changes
1169
+
1170
+ - change how message chunk type is resolved (fixed langchain adapters)
1171
+
1172
+ ## 1.3.9
1173
+
1174
+ ### Patch Changes
1175
+
1176
+ - Fix message id issues
1177
+
1178
+ ## 1.3.8
1179
+
1180
+ ### Patch Changes
1181
+
1182
+ - fix textarea on multiple llm providers and memoize react ui context
1183
+
1184
+ ## 1.3.7
1185
+
1186
+ ### Patch Changes
1187
+
1188
+ - Fix libraries for React 19 and Next.js 15 support
1189
+
1190
+ ## 1.3.6
1191
+
1192
+ ### Patch Changes
1193
+
1194
+ - 1. Removes the usage of the `crypto` Node pacakge, instaed uses `uuid`. This ensures that non-Next.js React apps can use CopilotKit.
1195
+ 2. Fixes Nest.js runtime docs
1196
+
1197
+ ## 1.3.5
1198
+
1199
+ ### Patch Changes
1200
+
1201
+ - Improve CoAgent state render
1202
+
1203
+ ## 1.3.4
1204
+
1205
+ ### Patch Changes
1206
+
1207
+ - Add followUp property to useCopilotAction
1208
+
1209
+ ## 1.3.3
1210
+
1211
+ ### Patch Changes
1212
+
1213
+ - Impvovements to error handling and CoAgent protocol
1214
+
1215
+ ## 1.3.2
1216
+
1217
+ ### Patch Changes
1218
+
1219
+ - Features and bug fixes
1220
+ - 30232c0: Ensure actions can be discovered on state change
1221
+
1222
+ ## 1.3.2-mme-discover-actions.0
1223
+
1224
+ ### Patch Changes
1225
+
1226
+ - Ensure actions can be discovered on state change
1227
+
1228
+ ## 1.3.1
1229
+
1230
+ ### Patch Changes
1231
+
1232
+ - Revert CSS injection
1233
+
1234
+ ## 1.3.0
1235
+
1236
+ ### Minor Changes
1237
+
1238
+ - CoAgents and remote actions
1239
+
1240
+ ### Patch Changes
1241
+
1242
+ - 5b63f55: stream intermediate state
1243
+ - b6fd3d8: Better message grouping
1244
+ - 89420c6: Rename hooks and bugfixes
1245
+ - b6e8824: useCoAgent/useCoAgentAction
1246
+ - 91c35b9: useAgentState
1247
+ - 00be203: Remote actions preview
1248
+ - fb15f72: Reduce request size by skipping intermediate state
1249
+ - 8ecc3e4: Fix useCoAgent start/stop bug
1250
+
1251
+ ## 1.2.1
1252
+
1253
+ ### Patch Changes
1254
+
1255
+ - inject minified css in bundle
1256
+ - removes the need to import `styles.css` manually
1257
+ - empty `styles.css` included in the build for backwards compatibility
1258
+ - uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
1259
+ - 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
1260
+ - remove material-ui, and use `react-icons` for icons (same icons as before)
1261
+ - remove unused `IncludedFilesPreview` component
1262
+ - updated docs
1263
+
1264
+ ## 1.2.0
1265
+
1266
+ ### Minor Changes
1267
+
1268
+ - Fix errors related to crypto not being found, and other bug fixes
1269
+
1270
+ ### Patch Changes
1271
+
1272
+ - 638d51d: appendMessage fix 1
1273
+ - faccbe1: state-abuse resistance for useCopilotChat
1274
+ - b0cf700: remove unnecessary logging
1275
+
1276
+ ## 1.1.2
1277
+
1278
+ ### Patch Changes
1279
+
1280
+ - Pin headless-ui/react version to v2.1.1
1281
+
1282
+ ## 1.1.1
1283
+
1284
+ ### Patch Changes
1285
+
1286
+ - - improved documentation
1287
+ - center textarea popup
1288
+ - show/hide dev console
1289
+ - forward maxTokens, stop and force function calling
1290
+
1291
+ ## 1.1.0
1292
+
1293
+ ### Minor Changes
1294
+
1295
+ - Official support for Groq (`GroqAdapter`)
1296
+
1297
+ ## 1.0.9
1298
+
1299
+ ### Patch Changes
1300
+
1301
+ - Dev console, bugfixes
1302
+
1303
+ ## 1.0.8
1304
+
1305
+ ### Patch Changes
1306
+
1307
+ - Remove redundant console logs
1308
+
1309
+ ## 1.0.7
1310
+
1311
+ ### Patch Changes
1312
+
1313
+ - Add \_copilotkit internal properties to runtime
1314
+
1315
+ ## 1.0.6
1316
+
1317
+ ### Patch Changes
1318
+
1319
+ - - Proactively prevent race conditions
1320
+ - Improve token counting performance
1321
+
1322
+ ## 1.0.5
1323
+
1324
+ ### Patch Changes
1325
+
1326
+ - Include @copilotkit/runtime-client-gql NPM package version in request to Runtime
1327
+
1328
+ ## 1.0.4
1329
+
1330
+ ### Patch Changes
1331
+
1332
+ - Remove nanoid
1333
+
1334
+ ## 1.0.3
1335
+
1336
+ ### Patch Changes
1337
+
1338
+ - Add README.md to published packages and add keywords to package.json
1339
+
1340
+ ## 1.0.2
1341
+
1342
+ ### Patch Changes
1343
+
1344
+ - Add README.md and homepage/url to published packages
1345
+
1346
+ ## 1.0.1
1347
+
1348
+ ### Patch Changes
1349
+
1350
+ - Remove PostHog, use Segment Anonymous Telemetry instead
1351
+
1352
+ ## 1.0.0
1353
+
1354
+ ### Major Changes
1355
+
1356
+ - b6a4b6eb: V1.0 Release Candidate
1357
+ - A robust new protocol between the frontend and the Copilot Runtime
1358
+ - Support for Copilot Cloud
1359
+ - Generative UI
1360
+ - Support for LangChain universal tool calling
1361
+ - OpenAI assistant API streaming
1362
+
1363
+ - V1.0 Release
1364
+ - A robust new protocol between the frontend and the Copilot Runtime
1365
+ - Support for Copilot Cloud
1366
+ - Generative UI
1367
+ - Support for LangChain universal tool calling
1368
+ - OpenAI assistant API streaming
1369
+
1370
+ ### Patch Changes
1371
+
1372
+ - b6a4b6eb: Introduce anonymous telemetry
1373
+ - b6a4b6eb: Set default Copilot Cloud runtime URL to versioned URL (v1)
1374
+
1375
+ ## 1.0.0-beta.2
1376
+
1377
+ ### Patch Changes
1378
+
1379
+ - Set default Copilot Cloud runtime URL to versioned URL (v1)
1380
+
1381
+ ## 1.0.0-beta.1
1382
+
1383
+ ### Patch Changes
1384
+
1385
+ - Introduce anonymous telemetry
1386
+
1387
+ ## 1.0.0-beta.0
1388
+
1389
+ ### Major Changes
1390
+
1391
+ - V1.0 Release Candidate
1392
+ - A robust new protocol between the frontend and the Copilot Runtime
1393
+ - Support for Copilot Cloud
1394
+ - Generative UI
1395
+ - Support for LangChain universal tool calling
1396
+ - OpenAI assistant API streaming
1397
+
1398
+ ## 0.37.0
1399
+
1400
+ ### Minor Changes
1401
+
1402
+ - f771353: Fix: Stale CopilotReadable
1403
+ - 9df8d43: Remove unneeded tailwind components
1404
+ - CSS improvements, useCopilotChat, invisible messages
1405
+
1406
+ ## 0.37.0-mme-fix-textarea-css.1
1407
+
1408
+ ### Minor Changes
1409
+
1410
+ - Remove unneeded tailwind components
1411
+
1412
+ ## 0.37.0-mme-fix-feedback-readable.0
1413
+
1414
+ ### Minor Changes
1415
+
1416
+ - Fix: Stale CopilotReadable
1417
+
1418
+ ## 0.36.0
1419
+
1420
+ ### Minor Changes
1421
+
1422
+ - 8baa862: Add push to talk prototype
1423
+ - chat suggestions, standalone chat component, gemini adapter, push to talk
1424
+
1425
+ ## 0.36.0-mme-push-to-talk.0
1426
+
1427
+ ### Minor Changes
1428
+
1429
+ - Add push to talk prototype
1430
+
1431
+ ## 0.9.0
1432
+
1433
+ ### Minor Changes
1434
+
1435
+ - 718520b: gpt-4-turbo-april-2024 function calling fixes
1436
+ - 95bcbd8: streamline cloud configuration
1437
+ - 95bcbd8: Rename
1438
+ - 95bcbd8: Upgrade langchain
1439
+ - 95bcbd8: Support input guardrails (cloud)
1440
+ - 95bcbd8: Unify api key handling
1441
+ - CopilotCloud V1, useCopilotReadable and more...
1442
+ - 95bcbd8: Get api key from headers dict
1443
+ - 95bcbd8: Update comments
1444
+ - 95bcbd8: Include reason in guardrails response
1445
+ - 718520b: gpt-4-turbo-april-2024
1446
+ - 95bcbd8: Update comments
1447
+ - 5f6f57a: fix backend function calling return values
1448
+ - 95bcbd8: Retrieve public API key
1449
+
1450
+ ## 0.9.0-mme-cloud.7
1451
+
1452
+ ### Minor Changes
1453
+
1454
+ - Get api key from headers dict
1455
+
1456
+ ## 0.9.0-mme-cloud.6
1457
+
1458
+ ### Minor Changes
1459
+
1460
+ - Upgrade langchain
1461
+
1462
+ ## 0.9.0-mme-cloud.5
1463
+
1464
+ ### Minor Changes
1465
+
1466
+ - Update comments
1467
+
1468
+ ## 0.9.0-mme-cloud.4
1469
+
1470
+ ### Minor Changes
1471
+
1472
+ - Update comments
1473
+
1474
+ ## 0.9.0-mme-cloud.3
1475
+
1476
+ ### Minor Changes
1477
+
1478
+ - 85c029b: streamline cloud configuration
1479
+ - Rename
1480
+ - a5ade3b: Support input guardrails (cloud)
1481
+ - 12ff590: Unify api key handling
1482
+ - f0c4745: Include reason in guardrails response
1483
+ - 17f4b1b: Retrieve public API key
1484
+
1485
+ ## 0.9.0-function-calling-fixes.2
1486
+
1487
+ ### Minor Changes
1488
+
1489
+ - fix backend function calling return values
1490
+
1491
+ ## 0.9.0-function-calling-fixes.1
1492
+
1493
+ ### Minor Changes
1494
+
1495
+ - gpt-4-turbo-april-2024 function calling fixes
1496
+
1497
+ ## 0.9.0-alpha.0
1498
+
1499
+ ### Minor Changes
1500
+
1501
+ - gpt-4-turbo-april-2024
1502
+
1503
+ ## 0.8.0
1504
+
1505
+ ### Minor Changes
1506
+
1507
+ - 1f06d29: declare esm/cjs/types in export
1508
+ - fix esm error
1509
+ - 5a0b2cf: Inline codeblock style to avoid ESM error
1510
+ - e12b921: ESM by default
1511
+
1512
+ ## 0.8.0-mme-esm-error.2
1513
+
1514
+ ### Minor Changes
1515
+
1516
+ - Inline codeblock style to avoid ESM error
1517
+
1518
+ ## 0.8.0-mme-esm-error.1
1519
+
1520
+ ### Minor Changes
1521
+
1522
+ - declare esm/cjs/types in export
1523
+
1524
+ ## 0.8.0-mme-esm-error.0
1525
+
1526
+ ### Minor Changes
1527
+
1528
+ - ESM by default
1529
+
1530
+ ## 0.7.0
1531
+
1532
+ ### Minor Changes
1533
+
1534
+ - 899aa6e: Backend improvements for running on GCP
1535
+ - Improve streamHttpServerResponse for express and firebase apps
1536
+
1537
+ ## 0.7.0-mme-firebase-fixes.0
1538
+
1539
+ ### Minor Changes
1540
+
1541
+ - Backend improvements for running on GCP
1542
+
1543
+ ## 0.6.0
1544
+
1545
+ ### Minor Changes
1546
+
1547
+ - Improve Next.js support and action rendering
1548
+
1549
+ ## 0.5.0
1550
+
1551
+ ### Minor Changes
1552
+
1553
+ - c4010e7: Pre Release
1554
+ - be00d61: Alpha
1555
+ - ec8481c: Alpha
1556
+ - 3fbee5d: OpenAIAdapter-getter
1557
+ - e09dc44: Test backward compatibility of AnnotatedFunction on the backend
1558
+ - 3f5ad60: OpenAIAdapter: make openai instance gettable
1559
+ - 0dd6180: QA
1560
+ - 225812d: QA new action type
1561
+ - New actions: custom chat components, and typed arguments
1562
+
1563
+ ## 0.5.0-mme-deprecate-annotated-function.4
1564
+
1565
+ ### Minor Changes
1566
+
1567
+ - Test backward compatibility of AnnotatedFunction on the backend
1568
+
1569
+ ## 0.5.0-mme-pre-release.3
1570
+
1571
+ ### Minor Changes
1572
+
1573
+ - Pre Release
1574
+ - 3fbee5d: OpenAIAdapter-getter
1575
+ - 3f5ad60: OpenAIAdapter: make openai instance gettable
1576
+
1577
+ ## 0.5.0-mme-function-call-labels.2
1578
+
1579
+ ### Minor Changes
1580
+
1581
+ - be00d61: Alpha
1582
+ - QA
1583
+
1584
+ ## 0.5.0-mme-experimental-actions.1
1585
+
1586
+ ### Minor Changes
1587
+
1588
+ - Alpha
1589
+
1590
+ ## 0.5.0-mme-experimental-actions.0
1591
+
1592
+ ### Minor Changes
1593
+
1594
+ - QA new action type
1595
+
1596
+ ## 0.4.1
1597
+
1598
+ ### Patch Changes
1599
+
1600
+ - 5ec8ad4: fix- bring back removeBackendOnlyProps
1601
+ - 5a154d0: fix: bring back removeBackendOnlyProps
1602
+ - fix: bring back removeBackendOnlyProps
1603
+
1604
+ ## 0.4.1-atai-0223-fix-backendOnlyProps.1
1605
+
1606
+ ### Patch Changes
1607
+
1608
+ - fix- bring back removeBackendOnlyProps
1609
+
1610
+ ## 0.4.1-atai-0223-fix-backendOnlyProps.0
1611
+
1612
+ ### Patch Changes
1613
+
1614
+ - fix: bring back removeBackendOnlyProps
1615
+
1616
+ ## 0.4.0
1617
+
1618
+ ### Minor Changes
1619
+
1620
+ - CopilotTask, function return values, LangChain support, LangServe support
1621
+ - 401e474: Test the tools API
1622
+ - 2f3296e: Test automation
1623
+
1624
+ ## 0.4.0-beta-automation.1
1625
+
1626
+ ### Minor Changes
1627
+
1628
+ - Test automation
1629
+
1630
+ ## 0.4.0-tools.0
1631
+
1632
+ ### Minor Changes
1633
+
1634
+ - Test the tools API
1635
+
1636
+ ## 0.3.0
1637
+
1638
+ ### Minor Changes
1639
+
1640
+ - node CopilotBackend support
1641
+ - 58a8524: clean node example impl
1642
+ - a34a226: node-native backend support
1643
+
1644
+ ## 0.3.0-alpha.1
1645
+
1646
+ ### Minor Changes
1647
+
1648
+ - clean node example impl
1649
+
1650
+ ## 0.3.0-alpha.0
1651
+
1652
+ ### Minor Changes
1653
+
1654
+ - node-native backend support
1655
+
1656
+ ## 0.2.0
1657
+
1658
+ ### Minor Changes
1659
+
1660
+ - eba87c7: .4
1661
+ - 61168c7: no treeshake
1662
+ - fb32fe3: .2
1663
+ - eba87c7: .3
1664
+ - new chatbot ui, new component names, new build system, new docs
1665
+ - 61168c7: no treeshake take 2
1666
+ - 61168c7: remove treeshake in build
1667
+ - fb32fe3: build naming refactor
1668
+ - eba87c7: .5
1669
+ - 61168c7: cache clean
1670
+ - fb32fe3: .3
1671
+
1672
+ ## 0.2.0-alpha.8
1673
+
1674
+ ### Minor Changes
1675
+
1676
+ - cache clean
1677
+
1678
+ ## 0.2.0-alpha.7
1679
+
1680
+ ### Minor Changes
1681
+
1682
+ - no treeshake
1683
+
1684
+ ## 0.2.0-alpha.6
1685
+
1686
+ ### Minor Changes
1687
+
1688
+ - no treeshake take 2
1689
+
1690
+ ## 0.2.0-alpha.5
1691
+
1692
+ ### Minor Changes
1693
+
1694
+ - remove treeshake in build
1695
+
1696
+ ## 0.2.0-alpha.4
1697
+
1698
+ ### Minor Changes
1699
+
1700
+ - .5
1701
+
1702
+ ## 0.2.0-alpha.3
1703
+
1704
+ ### Minor Changes
1705
+
1706
+ - .4
1707
+
1708
+ ## 0.2.0-alpha.2
1709
+
1710
+ ### Minor Changes
1711
+
1712
+ - .3
1713
+
1714
+ ## 0.2.0-alpha.1
1715
+
1716
+ ### Minor Changes
1717
+
1718
+ - .2
1719
+ - .3
1720
+
1721
+ ## 0.2.0-alpha.0
1722
+
1723
+ ### Minor Changes
1724
+
1725
+ - build naming refactor
1726
+
1727
+ ## 0.1.1
1728
+
1729
+ ### Patch Changes
1730
+
1731
+ - stop generating button working
1732
+ - aa6bc5a: fix stop generate
1733
+ - cf0bde6: change order of operations on stop cleanup
1734
+
1735
+ ## 0.1.1-alpha.1
1736
+
1737
+ ### Patch Changes
1738
+
1739
+ - change order of operations on stop cleanup
1740
+
1741
+ ## 0.1.1-alpha.0
1742
+
1743
+ ### Patch Changes
1744
+
1745
+ - fix stop generate
1746
+
1747
+ ## 0.1.0
1748
+
1749
+ ### Minor Changes
1750
+
1751
+ - 8a5cecd: only forward functions if non-empty
1752
+ - 87f1fa0: rebase
1753
+ - 15d4afc: debugging
1754
+ - c40a0d1: Filter out empty function descriptions
1755
+ - prep for chat protocol v2
1756
+ - bbd152e: backend sdks prep
1757
+ - 8517bb1: trying again
1758
+ - 478840a: carry function propagation fix to chat v2
1759
+
1760
+ ## 0.1.0-alpha.6
1761
+
1762
+ ### Minor Changes
1763
+
1764
+ - rebase
1765
+
1766
+ ## 0.1.0-alpha.5
1767
+
1768
+ ### Minor Changes
1769
+
1770
+ - carry function propagation fix to chat v2
1771
+
1772
+ ## 0.1.0-alpha.4
1773
+
1774
+ ### Minor Changes
1775
+
1776
+ - only forward functions if non-empty
1777
+
1778
+ ## 0.1.0-alpha.3
1779
+
1780
+ ### Minor Changes
1781
+
1782
+ - debugging
1783
+
1784
+ ## 0.1.0-alpha.2
1785
+
1786
+ ### Minor Changes
1787
+
1788
+ - trying again
1789
+
1790
+ ## 0.1.0-alpha.1
1791
+
1792
+ ### Minor Changes
1793
+
1794
+ - Filter out empty function descriptions
1795
+
1796
+ ## 0.1.0-alpha.0
1797
+
1798
+ ### Minor Changes
1799
+
1800
+ - backend sdks prep