@copilotkit/runtime 0.0.0-main-20250416144141 → 0.0.0-main-20260126221712

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 (174) hide show
  1. package/CHANGELOG.md +1392 -19
  2. package/LICENSE +21 -0
  3. package/README.md +55 -100
  4. package/__snapshots__/schema/schema.graphql +25 -1
  5. package/dist/index.d.ts +1514 -24
  6. package/dist/index.js +3128 -4249
  7. package/dist/index.js.map +1 -1
  8. package/dist/index.mjs +5606 -84
  9. package/dist/index.mjs.map +1 -1
  10. package/dist/langgraph.d.ts +284 -0
  11. package/dist/langgraph.js +211 -0
  12. package/dist/langgraph.js.map +1 -0
  13. package/dist/langgraph.mjs +206 -0
  14. package/dist/langgraph.mjs.map +1 -0
  15. package/dist/v2/index.d.ts +2 -0
  16. package/dist/v2/index.js +22 -0
  17. package/dist/v2/index.js.map +1 -0
  18. package/dist/v2/index.mjs +5 -0
  19. package/dist/v2/index.mjs.map +1 -0
  20. package/jest.config.js +8 -3
  21. package/package.json +75 -22
  22. package/src/agents/langgraph/event-source.ts +38 -31
  23. package/src/agents/langgraph/events.ts +19 -1
  24. package/src/graphql/inputs/agent-state.input.ts +1 -1
  25. package/src/graphql/inputs/copilot-context.input.ts +10 -0
  26. package/src/graphql/inputs/generate-copilot-response.input.ts +4 -0
  27. package/src/graphql/inputs/message.input.ts +18 -0
  28. package/src/graphql/message-conversion/agui-to-gql.test.ts +1263 -0
  29. package/src/graphql/message-conversion/agui-to-gql.ts +333 -0
  30. package/src/graphql/message-conversion/gql-to-agui.test.ts +1580 -0
  31. package/src/graphql/message-conversion/gql-to-agui.ts +278 -0
  32. package/src/graphql/message-conversion/index.ts +2 -0
  33. package/src/graphql/message-conversion/roundtrip-conversion.test.ts +526 -0
  34. package/src/graphql/resolvers/copilot.resolver.ts +100 -42
  35. package/src/graphql/resolvers/state.resolver.ts +10 -11
  36. package/src/graphql/types/converted/index.ts +47 -7
  37. package/src/graphql/types/copilot-response.type.ts +17 -0
  38. package/src/graphql/types/enums.ts +2 -2
  39. package/src/graphql/types/message-status.type.ts +3 -1
  40. package/src/langgraph.ts +1 -0
  41. package/src/lib/error-messages.ts +200 -0
  42. package/src/lib/index.ts +42 -0
  43. package/src/lib/integrations/nest/index.ts +1 -4
  44. package/src/lib/integrations/nextjs/app-router.ts +16 -16
  45. package/src/lib/integrations/nextjs/pages-router.ts +5 -15
  46. package/src/lib/integrations/node-express/index.ts +1 -4
  47. package/src/lib/integrations/node-http/index.ts +121 -10
  48. package/src/lib/integrations/node-http/request-handler.ts +111 -0
  49. package/src/lib/integrations/shared.ts +64 -1
  50. package/src/lib/observability.ts +87 -0
  51. package/src/lib/runtime/__tests__/copilot-runtime-error.test.ts +169 -0
  52. package/src/lib/runtime/__tests__/mcp-tools-utils.test.ts +464 -0
  53. package/src/lib/runtime/agent-integrations/langgraph/agent.ts +209 -0
  54. package/src/lib/runtime/agent-integrations/langgraph/consts.ts +34 -0
  55. package/src/lib/runtime/agent-integrations/langgraph/index.ts +2 -0
  56. package/src/lib/runtime/copilot-runtime.ts +442 -949
  57. package/src/lib/runtime/mcp-tools-utils.ts +150 -13
  58. package/src/lib/runtime/retry-utils.ts +96 -0
  59. package/src/lib/runtime/telemetry-agent-runner.ts +139 -0
  60. package/src/lib/runtime/types.ts +49 -0
  61. package/src/lib/runtime/utils.ts +87 -0
  62. package/src/lib/streaming.ts +145 -2
  63. package/src/lib/telemetry-client.ts +17 -7
  64. package/src/service-adapters/anthropic/anthropic-adapter.ts +317 -69
  65. package/src/service-adapters/anthropic/utils.ts +35 -27
  66. package/src/service-adapters/bedrock/bedrock-adapter.ts +73 -0
  67. package/src/service-adapters/conversion.ts +10 -0
  68. package/src/service-adapters/empty/empty-adapter.ts +3 -0
  69. package/src/service-adapters/events.ts +65 -220
  70. package/src/service-adapters/experimental/ollama/ollama-adapter.ts +7 -2
  71. package/src/service-adapters/google/google-genai-adapter.test.ts +104 -0
  72. package/src/service-adapters/google/google-genai-adapter.ts +54 -5
  73. package/src/service-adapters/groq/groq-adapter.ts +86 -59
  74. package/src/service-adapters/index.ts +2 -0
  75. package/src/service-adapters/langchain/langchain-adapter.ts +8 -3
  76. package/src/service-adapters/langchain/langserve.ts +2 -1
  77. package/src/service-adapters/langchain/utils.ts +8 -1
  78. package/src/service-adapters/openai/openai-adapter.ts +144 -72
  79. package/src/service-adapters/openai/openai-assistant-adapter.ts +41 -12
  80. package/src/service-adapters/openai/utils.ts +12 -0
  81. package/src/service-adapters/service-adapter.ts +3 -0
  82. package/src/service-adapters/shared/error-utils.ts +61 -0
  83. package/src/service-adapters/shared/index.ts +1 -0
  84. package/src/service-adapters/unify/unify-adapter.ts +9 -2
  85. package/src/utils/failed-response-status-reasons.ts +23 -1
  86. package/src/v2/index.ts +3 -0
  87. package/tests/global.d.ts +13 -0
  88. package/tests/service-adapters/anthropic/allowlist-approach.test.ts +226 -0
  89. package/tests/service-adapters/anthropic/anthropic-adapter.test.ts +389 -0
  90. package/tests/service-adapters/openai/allowlist-approach.test.ts +238 -0
  91. package/tests/service-adapters/openai/openai-adapter.test.ts +301 -0
  92. package/tests/setup.jest.ts +21 -0
  93. package/tests/tsconfig.json +10 -0
  94. package/tsconfig.json +1 -1
  95. package/tsup.config.ts +6 -2
  96. package/dist/chunk-2OZAGFV3.mjs +0 -43
  97. package/dist/chunk-2OZAGFV3.mjs.map +0 -1
  98. package/dist/chunk-3KFMOJC6.mjs +0 -25
  99. package/dist/chunk-3KFMOJC6.mjs.map +0 -1
  100. package/dist/chunk-5BIEM2UU.mjs +0 -152
  101. package/dist/chunk-5BIEM2UU.mjs.map +0 -1
  102. package/dist/chunk-D4R6RNSD.mjs +0 -80
  103. package/dist/chunk-D4R6RNSD.mjs.map +0 -1
  104. package/dist/chunk-DNI7KA7Y.mjs +0 -1455
  105. package/dist/chunk-DNI7KA7Y.mjs.map +0 -1
  106. package/dist/chunk-FHD4JECV.mjs +0 -33
  107. package/dist/chunk-FHD4JECV.mjs.map +0 -1
  108. package/dist/chunk-H2VC34X7.mjs +0 -4897
  109. package/dist/chunk-H2VC34X7.mjs.map +0 -1
  110. package/dist/chunk-NKMMHPPX.mjs +0 -25
  111. package/dist/chunk-NKMMHPPX.mjs.map +0 -1
  112. package/dist/chunk-Q6JA6YY3.mjs +0 -1
  113. package/dist/chunk-Q6JA6YY3.mjs.map +0 -1
  114. package/dist/chunk-RTFJTJMA.mjs +0 -129
  115. package/dist/chunk-RTFJTJMA.mjs.map +0 -1
  116. package/dist/graphql/types/base/index.d.ts +0 -6
  117. package/dist/graphql/types/base/index.js +0 -63
  118. package/dist/graphql/types/base/index.js.map +0 -1
  119. package/dist/graphql/types/base/index.mjs +0 -8
  120. package/dist/graphql/types/base/index.mjs.map +0 -1
  121. package/dist/graphql/types/converted/index.d.ts +0 -2
  122. package/dist/graphql/types/converted/index.js +0 -187
  123. package/dist/graphql/types/converted/index.js.map +0 -1
  124. package/dist/graphql/types/converted/index.mjs +0 -17
  125. package/dist/graphql/types/converted/index.mjs.map +0 -1
  126. package/dist/groq-adapter-fb9aa3ab.d.ts +0 -301
  127. package/dist/index-5bec5424.d.ts +0 -104
  128. package/dist/langserve-6f7af8d3.d.ts +0 -245
  129. package/dist/lib/cloud/index.d.ts +0 -6
  130. package/dist/lib/cloud/index.js +0 -18
  131. package/dist/lib/cloud/index.js.map +0 -1
  132. package/dist/lib/cloud/index.mjs +0 -1
  133. package/dist/lib/cloud/index.mjs.map +0 -1
  134. package/dist/lib/index.d.ts +0 -21
  135. package/dist/lib/index.js +0 -6428
  136. package/dist/lib/index.js.map +0 -1
  137. package/dist/lib/index.mjs +0 -66
  138. package/dist/lib/index.mjs.map +0 -1
  139. package/dist/lib/integrations/index.d.ts +0 -34
  140. package/dist/lib/integrations/index.js +0 -2794
  141. package/dist/lib/integrations/index.js.map +0 -1
  142. package/dist/lib/integrations/index.mjs +0 -36
  143. package/dist/lib/integrations/index.mjs.map +0 -1
  144. package/dist/lib/integrations/nest/index.d.ts +0 -15
  145. package/dist/lib/integrations/nest/index.js +0 -2701
  146. package/dist/lib/integrations/nest/index.js.map +0 -1
  147. package/dist/lib/integrations/nest/index.mjs +0 -13
  148. package/dist/lib/integrations/nest/index.mjs.map +0 -1
  149. package/dist/lib/integrations/node-express/index.d.ts +0 -15
  150. package/dist/lib/integrations/node-express/index.js +0 -2701
  151. package/dist/lib/integrations/node-express/index.js.map +0 -1
  152. package/dist/lib/integrations/node-express/index.mjs +0 -13
  153. package/dist/lib/integrations/node-express/index.mjs.map +0 -1
  154. package/dist/lib/integrations/node-http/index.d.ts +0 -15
  155. package/dist/lib/integrations/node-http/index.js +0 -2687
  156. package/dist/lib/integrations/node-http/index.js.map +0 -1
  157. package/dist/lib/integrations/node-http/index.mjs +0 -12
  158. package/dist/lib/integrations/node-http/index.mjs.map +0 -1
  159. package/dist/service-adapters/index.d.ts +0 -85
  160. package/dist/service-adapters/index.js +0 -1496
  161. package/dist/service-adapters/index.js.map +0 -1
  162. package/dist/service-adapters/index.mjs +0 -28
  163. package/dist/service-adapters/index.mjs.map +0 -1
  164. package/dist/shared-93687488.d.ts +0 -404
  165. package/dist/utils/index.d.ts +0 -49
  166. package/dist/utils/index.js +0 -174
  167. package/dist/utils/index.js.map +0 -1
  168. package/dist/utils/index.mjs +0 -12
  169. package/dist/utils/index.mjs.map +0 -1
  170. package/src/lib/runtime/__tests__/remote-action-constructors.test.ts +0 -246
  171. package/src/lib/runtime/agentwire-action.ts +0 -123
  172. package/src/lib/runtime/remote-action-constructors.ts +0 -295
  173. package/src/lib/runtime/remote-actions.ts +0 -209
  174. package/src/lib/runtime/remote-lg-action.ts +0 -824
package/CHANGELOG.md CHANGED
@@ -1,13 +1,1403 @@
1
1
  # @copilotkit/runtime
2
2
 
3
- ## 0.0.0-main-20250416144141
3
+ ## 0.0.0-main-20260126221712
4
+
5
+ ### Patch Changes
6
+
7
+ - d655e75: fix: update ag-ui dependencies
8
+ - d268c49: fix: add apiKey parameter to BuiltInAgentConfiguration
9
+ - Updated dependencies [d655e75]
10
+ - Updated dependencies [d268c49]
11
+ - Updated dependencies [29d70a5]
12
+ - @copilotkit/shared@0.0.0-main-20260126221712
13
+ - @copilotkitnext/agent@0.0.0-main-20260126221712
14
+ - @copilotkitnext/runtime@0.0.0-main-20260126221712
15
+
16
+ ## 1.51.3-next.3
17
+
18
+ ### Patch Changes
19
+
20
+ - d655e75: fix: update ag-ui dependencies
21
+ - Updated dependencies [d655e75]
22
+ - @copilotkit/shared@1.51.3-next.3
23
+ - @copilotkitnext/agent@1.51.3-next.3
24
+ - @copilotkitnext/runtime@1.51.3-next.3
25
+
26
+ ## 1.51.3-next.2
27
+
28
+ ### Patch Changes
29
+
30
+ - @copilotkit/shared@1.51.3-next.2
31
+ - @copilotkitnext/agent@1.51.3-next.2
32
+ - @copilotkitnext/runtime@1.51.3-next.2
33
+
34
+ ## 1.51.3-next.1
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [29d70a5]
39
+ - @copilotkitnext/agent@1.51.3-next.1
40
+ - @copilotkit/shared@1.51.3-next.1
41
+ - @copilotkitnext/runtime@1.51.3-next.1
42
+
43
+ ## 1.51.3-next.0
44
+
45
+ ### Patch Changes
46
+
47
+ - d268c49: fix: add apiKey parameter to BuiltInAgentConfiguration
48
+ - Updated dependencies [d268c49]
49
+ - @copilotkitnext/agent@1.51.3-next.0
50
+ - @copilotkit/shared@1.51.3-next.0
51
+ - @copilotkitnext/runtime@1.51.3-next.0
52
+
53
+ ## 1.51.2
54
+
55
+ ### Patch Changes
56
+
57
+ - e59d23f: Use deps instead of peerdeps
58
+ - e59d23f: Move in-repo deps from peerdeps to actual deps
59
+ - Updated dependencies [e59d23f]
60
+ - Updated dependencies [f36b6b1]
61
+ - @copilotkitnext/runtime@1.51.2
62
+ - @copilotkitnext/agent@1.51.2
63
+ - @copilotkit/shared@1.51.2
64
+
65
+ ## 1.51.2-next.1
66
+
67
+ ### Patch Changes
68
+
69
+ - e59d23f: Use deps instead of peerdeps
70
+ - e59d23f: Move in-repo deps from peerdeps to actual deps
71
+ - Updated dependencies [e59d23f]
72
+ - @copilotkitnext/runtime@1.51.2-next.1
73
+ - @copilotkitnext/agent@1.51.2-next.1
74
+ - @copilotkit/shared@1.51.2-next.1
75
+
76
+ ## 1.51.2-next.0
77
+
78
+ ### Patch Changes
79
+
80
+ - Updated dependencies [f36b6b1]
81
+ - @copilotkitnext/agent@1.51.2-next.0
82
+ - @copilotkit/shared@1.51.2-next.0
83
+ - @copilotkitnext/runtime@1.51.2-next.0
84
+
85
+ ## 1.51.1
86
+
87
+ ### Patch Changes
88
+
89
+ - Updated dependencies [329653b]
90
+ - @copilotkitnext/agent@1.51.1
91
+ - @copilotkit/shared@1.51.1
92
+ - @copilotkitnext/runtime@1.51.1
93
+
94
+ ## 1.51.0
95
+
96
+ ### Patch Changes
97
+
98
+ - 2839a15: fix: restore and fix handle method in node http
99
+ - 2839a15: Update versioning strategy
100
+ - 2839a15: fix: use direct hono node integration on node-http integration
101
+ - 4addb72: Fix ci again but really for real this time
102
+ - Updated dependencies [2793a11]
103
+ - Updated dependencies [73f196f]
104
+ - Updated dependencies [2839a15]
105
+ - Updated dependencies [2afd4e3]
106
+ - @copilotkitnext/runtime@1.51.0
107
+ - @copilotkit/shared@1.51.0
108
+ - @copilotkitnext/agent@1.51.0
109
+
110
+ ## 1.51.0-next.4
111
+
112
+ ### Patch Changes
113
+
114
+ - Updated dependencies [2793a11]
115
+ - @copilotkitnext/runtime@1.51.0-next.4
116
+ - @copilotkit/shared@1.51.0-next.4
117
+ - @copilotkitnext/agent@1.51.0-next.4
118
+
119
+ ## 1.51.0-next.3
120
+
121
+ ### Patch Changes
122
+
123
+ - Updated dependencies [73f196f]
124
+ - @copilotkitnext/runtime@1.51.0-next.3
125
+ - @copilotkit/shared@1.51.0-next.3
126
+ - @copilotkitnext/agent@1.51.0-next.3
127
+
128
+ ## 1.51.0-next.2
129
+
130
+ ### Patch Changes
131
+
132
+ - 4addb72: Fix ci again but really for real this time
133
+ - Updated dependencies [2afd4e3]
134
+ - @copilotkit/shared@1.51.0-next.2
135
+ - @copilotkitnext/agent@1.51.0-next.2
136
+ - @copilotkitnext/runtime@1.51.0-next.2
137
+
138
+ ## 1.51.0-next.1
139
+
140
+ ### Patch Changes
141
+
142
+ - @copilotkit/shared@1.51.0-next.1
143
+ - @copilotkitnext/agent@1.51.0-next.1
144
+ - @copilotkitnext/runtime@1.51.0-next.1
145
+
146
+ ## 1.50.2-next.0
147
+
148
+ ### Patch Changes
149
+
150
+ - cf245a6: fix: restore and fix handle method in node http
151
+ - cf245a6: fix: use direct hono node integration on node-http integration
152
+ - @copilotkit/shared@1.50.2-next.0
153
+
154
+ ## 1.50.1
155
+
156
+ ### Patch Changes
157
+
158
+ - 80dffec: Updated the default model and API version for the Google GenAI adapter
159
+ - eac8b20: - fix: use latest vnext
160
+ - Updated dependencies [80dffec]
161
+ - @copilotkit/shared@1.50.1
162
+
163
+ ## 1.50.1-next.3
164
+
165
+ ### Patch Changes
166
+
167
+ - eac8b20: - fix: use latest vnext
168
+ - @copilotkit/shared@1.50.1-next.3
169
+
170
+ ## 1.50.1-next.2
171
+
172
+ ### Patch Changes
173
+
174
+ - @copilotkit/shared@1.50.1-next.2
175
+
176
+ ## 1.50.1-next.1
177
+
178
+ ### Patch Changes
179
+
180
+ - @copilotkit/shared@1.50.1-next.1
181
+
182
+ ## 1.50.1-next.0
183
+
184
+ ### Patch Changes
185
+
186
+ - Updated the default model and API version for the Google GenAI adapter
187
+ - Updated dependencies
188
+ - @copilotkit/shared@1.50.1-next.0
189
+
190
+ ## 1.50.0
191
+
192
+ ### Minor Changes
193
+
194
+ - 0fc76d7: add new runner with telemetry baked in
195
+ - c942f9c: Minor fixes and stability improvements
196
+ - bad5f06: - feat: port old endpoint creators to 2.0
197
+ - eed6021: Updating to the latest version of vnext
198
+ - 3b7367e: Improving general stability around LangChain
199
+ - 7ff9ca7: Minor fixes and improvements
200
+ - 5a6029e: - fix(runtime): Update method for merging tools in assignToolsToAgent
201
+ - feat(runtime): Export v2 of the runtime as a subpackage
202
+ - 974875e: Lint and format code to resolve Prettier errors
203
+ - 4942f62: - feat: create rerouting CopilotRuntime
204
+ - 3bd484f: Minor fixes and stability improvements
205
+ - 5a534bf: fix telemetry in v1.50 runtime
206
+ - 769a06c: Refactor suggestions to not always run
207
+ - 788292b: Improving langchain dependency resolution
208
+ - eab69a2: Enabling the new inspector
209
+ - 0a7bfe0: Updating dependency versions across all packages
210
+
211
+ ### Patch Changes
212
+
213
+ - b780092: - fix: treeshake and make providers optional
214
+ - b0e3652: - chore: Update to latest of vnext
215
+ - d55a8bd: - feat(runtime): export v2 of the runtime as a subpackage
216
+ - fix(runtime): update method for merging tools in assignToolsToAgent
217
+ - fix: remove redundant agent instantiation code
218
+ - aee1e42: - fix: use hono node directly instead of express for the node http integration
219
+ - 18ba908: - fix: unpack and set agents as promise, to avoid delaying runtime instantiation
220
+ - c70210e: - feat: use copilotnext's single endpoint
221
+ - Updated dependencies [0fc76d7]
222
+ - Updated dependencies [c942f9c]
223
+ - Updated dependencies [b0e3652]
224
+ - Updated dependencies [eed6021]
225
+ - Updated dependencies [3b7367e]
226
+ - Updated dependencies [7ff9ca7]
227
+ - Updated dependencies [974875e]
228
+ - Updated dependencies [4942f62]
229
+ - Updated dependencies [3bd484f]
230
+ - Updated dependencies [5a534bf]
231
+ - Updated dependencies [769a06c]
232
+ - Updated dependencies [788292b]
233
+ - Updated dependencies [eab69a2]
234
+ - Updated dependencies [0a7bfe0]
235
+ - @copilotkit/shared@1.50.0
236
+
237
+ ## 1.50.0-beta.19
238
+
239
+ ### Minor Changes
240
+
241
+ - Improving langchain dependency resolution
242
+
243
+ ### Patch Changes
244
+
245
+ - Updated dependencies
246
+ - @copilotkit/shared@1.50.0-beta.19
247
+
248
+ ## 1.50.0-beta.18
249
+
250
+ ### Minor Changes
251
+
252
+ - Improving general stability around LangChain
253
+
254
+ ### Patch Changes
255
+
256
+ - Updated dependencies
257
+ - @copilotkit/shared@1.50.0-beta.18
258
+
259
+ ## 1.50.0-beta.17
260
+
261
+ ### Minor Changes
262
+
263
+ - Minor fixes and improvements
264
+
265
+ ### Patch Changes
266
+
267
+ - Updated dependencies
268
+ - @copilotkit/shared@1.50.0-beta.17
269
+
270
+ ## 1.50.0-beta.16
271
+
272
+ ### Minor Changes
273
+
274
+ - Minor fixes and stability improvements
275
+
276
+ ### Patch Changes
277
+
278
+ - Updated dependencies
279
+ - @copilotkit/shared@1.50.0-beta.16
280
+
281
+ ## 1.50.0-beta.15
282
+
283
+ ### Minor Changes
284
+
285
+ - Lint and format code to resolve Prettier errors
286
+
287
+ ### Patch Changes
288
+
289
+ - Updated dependencies
290
+ - @copilotkit/shared@1.50.0-beta.15
291
+
292
+ ## 1.50.0-beta.14
293
+
294
+ ### Minor Changes
295
+
296
+ - Minor fixes and stability improvements
297
+
298
+ ### Patch Changes
299
+
300
+ - Updated dependencies
301
+ - @copilotkit/shared@1.50.0-beta.14
302
+
303
+ ## 1.50.0-beta.13
304
+
305
+ ### Minor Changes
306
+
307
+ - Updating to the latest version of vnext
308
+
309
+ ### Patch Changes
310
+
311
+ - Updated dependencies
312
+ - @copilotkit/shared@1.50.0-beta.13
313
+
314
+ ## 1.50.0-beta.12
315
+
316
+ ### Minor Changes
317
+
318
+ - eab69a2: Enabling the new inspector
319
+
320
+ ### Patch Changes
321
+
322
+ - Updated dependencies [eab69a2]
323
+ - @copilotkit/shared@1.50.0-beta.12
324
+
325
+ ## 1.50.0-beta.11
326
+
327
+ ### Minor Changes
328
+
329
+ - fix telemetry in v1.50 runtime
330
+
331
+ ### Patch Changes
332
+
333
+ - Updated dependencies
334
+ - @copilotkit/shared@1.50.0-beta.11
335
+
336
+ ## 1.50.0-beta.10
337
+
338
+ ### Minor Changes
339
+
340
+ - add new runner with telemetry baked in
341
+
342
+ ### Patch Changes
343
+
344
+ - Updated dependencies
345
+ - @copilotkit/shared@1.50.0-beta.10
346
+
347
+ ## 1.50.0-beta.9
348
+
349
+ ### Minor Changes
350
+
351
+ - Refactor suggestions to not always run
352
+
353
+ ### Patch Changes
354
+
355
+ - Updated dependencies
356
+ - @copilotkit/shared@1.50.0-beta.9
357
+
358
+ ## 1.50.0-beta.8
359
+
360
+ ### Patch Changes
361
+
362
+ - @copilotkit/shared@1.50.0-beta.8
363
+
364
+ ## 1.50.0-beta.7
365
+
366
+ ### Patch Changes
367
+
368
+ - @copilotkit/shared@1.50.0-beta.7
369
+
370
+ ## 1.50.0-beta.6
371
+
372
+ ### Minor Changes
373
+
374
+ - Updating dependency versions across all packages
375
+
376
+ ### Patch Changes
377
+
378
+ - Updated dependencies
379
+ - @copilotkit/shared@1.50.0-beta.6
380
+
381
+ ## 1.50.0-beta.4
382
+
383
+ ### Minor Changes
384
+
385
+ - bad5f06: - feat: port old endpoint creators to 2.0
386
+ - 5a6029e: - fix(runtime): Update method for merging tools in assignToolsToAgent
387
+ - feat(runtime): Export v2 of the runtime as a subpackage
388
+ - 4942f62: - feat: create rerouting CopilotRuntime
389
+
390
+ ### Patch Changes
391
+
392
+ - b780092: - fix: treeshake and make providers optional
393
+ - b0e3652: - chore: Update to latest of vnext
394
+ - d55a8bd: - feat(runtime): export v2 of the runtime as a subpackage
395
+ - fix(runtime): update method for merging tools in assignToolsToAgent
396
+ - fix: remove redundant agent instantiation code
397
+ - aee1e42: - fix: use hono node directly instead of express for the node http integration
398
+ - 18ba908: - fix: unpack and set agents as promise, to avoid delaying runtime instantiation
399
+ - c70210e: - feat: use copilotnext's single endpoint
400
+ - Updated dependencies [b0e3652]
401
+ - Updated dependencies [4942f62]
402
+ - @copilotkit/shared@1.50.0-beta.4
403
+
404
+ ## 1.10.7-next.0
405
+
406
+ ### Patch Changes
407
+
408
+ - @copilotkit/shared@1.10.7-next.0
409
+
410
+ ## 1.10.6
411
+
412
+ ### Patch Changes
413
+
414
+ - 01e0a4b: - fix: use all AGUI as peer dependencies
415
+ - e0dd5d5: - feat: allow additional config in direct to llm actions
416
+ - 7455309: - feat: use latest agui langgraph integration packages
417
+ - Updated dependencies [e0dd5d5]
418
+ - @copilotkit/shared@1.10.6
419
+
420
+ ## 1.10.6-next.6
421
+
422
+ ### Patch Changes
423
+
424
+ - 7455309: - feat: use latest agui langgraph integration packages
425
+ - @copilotkit/shared@1.10.6-next.6
426
+
427
+ ## 1.10.6-next.5
428
+
429
+ ### Patch Changes
430
+
431
+ - e0dd5d5: - feat: allow additional config in direct to llm actions
432
+ - Updated dependencies [e0dd5d5]
433
+ - @copilotkit/shared@1.10.6-next.5
434
+
435
+ ## 1.10.6-next.4
436
+
437
+ ### Patch Changes
438
+
439
+ - @copilotkit/shared@1.10.6-next.4
440
+
441
+ ## 1.10.6-next.3
442
+
443
+ ### Patch Changes
444
+
445
+ - 01e0a4b: - fix: use all AGUI as peer dependencies
446
+ - @copilotkit/shared@1.10.6-next.3
447
+
448
+ ## 1.10.6-next.2
449
+
450
+ ### Patch Changes
451
+
452
+ - @copilotkit/shared@1.10.6-next.2
453
+
454
+ ## 1.10.6-next.1
455
+
456
+ ### Patch Changes
457
+
458
+ - @copilotkit/shared@1.10.6-next.1
459
+
460
+ ## 1.10.6-next.0
461
+
462
+ ### Patch Changes
463
+
464
+ - @copilotkit/shared@1.10.6-next.0
465
+
466
+ ## 1.10.5
467
+
468
+ ### Patch Changes
469
+
470
+ - b7bc3a0: - feat: pass copilot readable context to agui agents
471
+ - f199c94: - feat: update agui packages
472
+ - 7467f97: - feat: add stop generation callback and call abort agui agent
473
+ - e730369: - feat: use latest agui langgraph package
474
+ - feat: use latest agui fastapi langgraph package and dependencies
475
+ - c9e32b0: - fix: upgrade agui langgraph version
476
+ - 23fe6a1: - chore: publish python sdk using latest agui
477
+ - feat: use latest agui packages
478
+ - @copilotkit/shared@1.10.5
479
+
480
+ ## 1.10.5-next.10
481
+
482
+ ### Patch Changes
483
+
484
+ - @copilotkit/shared@1.10.5-next.10
485
+
486
+ ## 1.10.5-next.9
487
+
488
+ ### Patch Changes
489
+
490
+ - f199c94: - feat: update agui packages
491
+ - @copilotkit/shared@1.10.5-next.9
492
+
493
+ ## 1.10.5-next.8
494
+
495
+ ### Patch Changes
496
+
497
+ - @copilotkit/shared@1.10.5-next.8
498
+
499
+ ## 1.10.5-next.7
500
+
501
+ ### Patch Changes
502
+
503
+ - c9e32b0: - fix: upgrade agui langgraph version
504
+ - @copilotkit/shared@1.10.5-next.7
505
+
506
+ ## 1.10.5-next.6
507
+
508
+ ### Patch Changes
509
+
510
+ - @copilotkit/shared@1.10.5-next.6
511
+
512
+ ## 1.10.5-next.5
513
+
514
+ ### Patch Changes
515
+
516
+ - @copilotkit/shared@1.10.5-next.5
517
+
518
+ ## 1.10.5-next.4
519
+
520
+ ### Patch Changes
521
+
522
+ - e730369: - feat: use latest agui langgraph package
523
+ - feat: use latest agui fastapi langgraph package and dependencies
524
+ - @copilotkit/shared@1.10.5-next.4
525
+
526
+ ## 1.10.5-next.3
527
+
528
+ ### Patch Changes
529
+
530
+ - 23fe6a1: - chore: publish python sdk using latest agui
531
+ - feat: use latest agui packages
532
+ - @copilotkit/shared@1.10.5-next.3
533
+
534
+ ## 1.10.5-next.2
535
+
536
+ ### Patch Changes
537
+
538
+ - 7467f97: - feat: add stop generation callback and call abort agui agent
539
+ - @copilotkit/shared@1.10.5-next.2
540
+
541
+ ## 1.10.5-next.1
542
+
543
+ ### Patch Changes
544
+
545
+ - b7bc3a0: - feat: pass copilot readable context to agui agents
546
+ - @copilotkit/shared@1.10.5-next.1
547
+
548
+ ## 1.10.5-next.0
549
+
550
+ ### Patch Changes
551
+
552
+ - @copilotkit/shared@1.10.5-next.0
553
+
554
+ ## 1.10.4
555
+
556
+ ### Patch Changes
557
+
558
+ - a640d8e: - feat: update latest agui langgraph for subgraphs support
559
+ - feat: update latest agui core packages
560
+ - Updated dependencies [a640d8e]
561
+ - @copilotkit/shared@1.10.4
562
+
563
+ ## 1.10.4-next.3
564
+
565
+ ### Patch Changes
566
+
567
+ - @copilotkit/shared@1.10.4-next.3
568
+
569
+ ## 1.10.4-next.2
570
+
571
+ ### Patch Changes
572
+
573
+ - @copilotkit/shared@1.10.4-next.2
574
+
575
+ ## 1.10.4-next.1
576
+
577
+ ### Patch Changes
578
+
579
+ - a640d8e: - feat: update latest agui langgraph for subgraphs support
580
+ - feat: update latest agui core packages
581
+ - Updated dependencies [a640d8e]
582
+ - @copilotkit/shared@1.10.4-next.1
583
+
584
+ ## 1.10.4-next.0
585
+
586
+ ### Patch Changes
587
+
588
+ - @copilotkit/shared@1.10.4-next.0
589
+
590
+ ## 1.10.3
591
+
592
+ ### Patch Changes
593
+
594
+ - ea74047: - fix: surface run errors from agui
595
+ - a7bb2f0: - fix: fix how node names are read to support newer langgraph versions
596
+ - 21e12af: - feat: send streamSubgraphs forwarded prop to AGUI
597
+ - Updated dependencies [ea74047]
598
+ - @copilotkit/shared@1.10.3
599
+
600
+ ## 1.10.3-next.3
601
+
602
+ ### Patch Changes
603
+
604
+ - 21e12af: - feat: send streamSubgraphs forwarded prop to AGUI
605
+ - @copilotkit/shared@1.10.3-next.3
606
+
607
+ ## 1.10.3-next.2
608
+
609
+ ### Patch Changes
610
+
611
+ - a7bb2f0: - fix: fix how node names are read to support newer langgraph versions
612
+ - @copilotkit/shared@1.10.3-next.2
613
+
614
+ ## 1.10.3-next.1
615
+
616
+ ### Patch Changes
617
+
618
+ - @copilotkit/shared@1.10.3-next.1
619
+
620
+ ## 1.10.3-next.0
621
+
622
+ ### Patch Changes
623
+
624
+ - ea74047: - fix: surface run errors from agui
625
+ - Updated dependencies [ea74047]
626
+ - @copilotkit/shared@1.10.3-next.0
627
+
628
+ ## 1.10.2
629
+
630
+ ### Patch Changes
631
+
632
+ - @copilotkit/shared@1.10.2
633
+
634
+ ## 1.10.2-next.0
635
+
636
+ ### Patch Changes
637
+
638
+ - @copilotkit/shared@1.10.2-next.0
639
+
640
+ ## 1.10.1
641
+
642
+ ### Patch Changes
643
+
644
+ - @copilotkit/shared@1.10.1
645
+
646
+ ## 1.10.1-next.2
647
+
648
+ ### Patch Changes
649
+
650
+ - @copilotkit/shared@1.10.1-next.2
651
+
652
+ ## 1.10.1-next.1
653
+
654
+ ### Patch Changes
655
+
656
+ - @copilotkit/shared@1.10.1-next.1
657
+
658
+ ## 1.10.1-next.0
659
+
660
+ ### Patch Changes
661
+
662
+ - @copilotkit/shared@1.10.1-next.0
663
+
664
+ ## 1.10.0
665
+
666
+ ### Patch Changes
667
+
668
+ - 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
669
+ - Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
670
+ - Modified setupRemoteActions to include graphqlContext in the parameters.
671
+
672
+ - 6f2f54b: - fix(openai): update maxTokens parameter to max_completion_tokens in OpenAIAdapter
673
+ - b5b94b9: - fix: throw errors when they happen with agui streams
674
+ - 824fb69: - fix: pass config to the forwarded props of an agui agent
675
+ - 59b0e16: - feat: add native prompt caching support to AnthropicAdapter
676
+ - a31443c: removed unused dependency on ip module
677
+ - dc6df18: - feat: use latest agui langgraph package
678
+ - chore: release python sdk 0.1.58
679
+ - Updated dependencies [a8c0263]
680
+ - Updated dependencies [8674da1]
681
+ - Updated dependencies [6d1de58]
682
+ - @copilotkit/shared@1.10.0
683
+
684
+ ## 1.10.0-next.13
685
+
686
+ ### Patch Changes
687
+
688
+ - b5b94b9: - fix: throw errors when they happen with agui streams
689
+ - @copilotkit/shared@1.10.0-next.13
690
+
691
+ ## 1.10.0-next.12
692
+
693
+ ### Patch Changes
694
+
695
+ - @copilotkit/shared@1.10.0-next.12
696
+
697
+ ## 1.10.0-next.11
698
+
699
+ ### Patch Changes
700
+
701
+ - dc6df18: - feat: use latest agui langgraph package
702
+ - chore: release python sdk 0.1.58
703
+ - @copilotkit/shared@1.10.0-next.11
704
+
705
+ ## 1.10.0-next.10
706
+
707
+ ### Patch Changes
708
+
709
+ - Updated dependencies [6d1de58]
710
+ - @copilotkit/shared@1.10.0-next.10
711
+
712
+ ## 1.10.0-next.9
713
+
714
+ ### Patch Changes
715
+
716
+ - @copilotkit/shared@1.10.0-next.9
717
+
718
+ ## 1.10.0-next.8
719
+
720
+ ### Patch Changes
721
+
722
+ - @copilotkit/shared@1.10.0-next.8
723
+
724
+ ## 1.10.0-next.7
725
+
726
+ ### Patch Changes
727
+
728
+ - 59b0e16: - feat: add native prompt caching support to AnthropicAdapter
729
+ - @copilotkit/shared@1.10.0-next.7
730
+
731
+ ## 1.10.0-next.6
732
+
733
+ ### Patch Changes
734
+
735
+ - 6f2f54b: - fix(openai): update maxTokens parameter to max_completion_tokens in OpenAIAdapter
736
+ - @copilotkit/shared@1.10.0-next.6
737
+
738
+ ## 1.10.0-next.5
739
+
740
+ ### Patch Changes
741
+
742
+ - Updated dependencies [a8c0263]
743
+ - @copilotkit/shared@1.10.0-next.5
744
+
745
+ ## 1.10.0-next.4
746
+
747
+ ### Patch Changes
748
+
749
+ - @copilotkit/shared@1.10.0-next.4
750
+
751
+ ## 1.10.0-next.3
752
+
753
+ ### Patch Changes
754
+
755
+ - 824fb69: - fix: pass config to the forwarded props of an agui agent
756
+ - @copilotkit/shared@1.10.0-next.3
757
+
758
+ ## 1.10.0-next.2
759
+
760
+ ### Patch Changes
761
+
762
+ - a31443c: removed unused dependency on ip module
763
+ - @copilotkit/shared@1.10.0-next.2
764
+
765
+ ## 1.10.0-next.1
766
+
767
+ ### Patch Changes
768
+
769
+ - 1abcecf: - fix: add graphqlContext to constructAGUIRemoteAction for enhanced agent properties
770
+ - Updated constructAGUIRemoteAction to accept graphqlContext, allowing forwarding of properties like Authorization token to the agent.
771
+ - Modified setupRemoteActions to include graphqlContext in the parameters.
772
+ - @copilotkit/shared@1.10.0-next.1
773
+
774
+ ## 1.10.0-next.0
775
+
776
+ ### Patch Changes
777
+
778
+ - Updated dependencies [8674da1]
779
+ - @copilotkit/shared@1.10.0-next.0
780
+
781
+ ## 1.9.3
782
+
783
+ ### Patch Changes
784
+
785
+ - 1bda332: - chore(telemetry): integrate Scarf for usage analytics
786
+ - df25f34: - feat: add agui fastAPI compatible langgraph agent
787
+ - chore: release 0.1.55 with agui langgraph fastapi support
788
+ - 589ae52: - adds scarf deps to runtime
789
+ - 88ceae2: - upgrade AG-UI packages
790
+ - Updated dependencies [1bda332]
791
+ - @copilotkit/shared@1.9.3
792
+
793
+ ## 1.9.3-next.4
794
+
795
+ ### Patch Changes
796
+
797
+ - @copilotkit/shared@1.9.3-next.4
798
+
799
+ ## 1.9.3-next.3
800
+
801
+ ### Patch Changes
802
+
803
+ - 1bda332: - chore(telemetry): integrate Scarf for usage analytics
804
+ - Updated dependencies [1bda332]
805
+ - @copilotkit/shared@1.9.3-next.3
806
+
807
+ ## 1.9.3-next.2
808
+
809
+ ### Patch Changes
810
+
811
+ - df25f34: - feat: add agui fastAPI compatible langgraph agent
812
+ - chore: release 0.1.55 with agui langgraph fastapi support
813
+ - @copilotkit/shared@1.9.3-next.2
814
+
815
+ ## 1.9.3-next.1
816
+
817
+ ### Patch Changes
818
+
819
+ - 589ae52: - adds scarf deps to runtime
820
+ - @copilotkit/shared@1.9.3-next.1
821
+
822
+ ## 1.9.3-next.0
823
+
824
+ ### Patch Changes
825
+
826
+ - 88ceae2: - upgrade AG-UI packages
827
+ - @copilotkit/shared@1.9.3-next.0
828
+
829
+ ## 1.9.2
830
+
831
+ ### Patch Changes
832
+
833
+ - f3f0181: - fix: connect streaming errors to runtime onError handler
834
+ - remove request logging
835
+ - 3a7f45f: - fix: resolve agui agents only after all other endpoints
836
+ - fac89c2: - refactor: rename onTrace to onError throughout codebase
837
+ - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
838
+
839
+ - 7ca7023: - feat: send node name to agui agent
840
+ - 54b62f0: - fix: add default schema keys for input and output of agui langgraph
841
+ - 4fd92d1: - fix: enable resolving of langgraph agents when cpk starts
842
+ - 1f4949a: - fix: remove agent discovery for agui agents
843
+ - 9169ad7: - feat: add onTrace handler for runtime and UI error/event tracking
844
+ - f3f0181: - fix: connect streaming errors to runtime onError handler
845
+ - 8e67158: - fixes gemini adapter
846
+ - 83822d2: - fix: do not show error on state loading if thread does not exist
847
+ - fe9009c: - feat(langgraph): new thread metadata
848
+ - f295375: - fix: remove all agents as tools when there is an active agent session
849
+ - fix formatting
850
+ - 9b986ba: - fix: use active interrupt from thread instead of saving to global state
851
+ - 1d1c51d: - feat: surface all errors in structured format
852
+ - dec5527: - fix: only fetch agent state for langgraph agents
853
+ - 9b81464: - fix: use latest langgraph agui
854
+ - 10345a5: - feat: structured error visibility system for streaming errors
855
+ - 8ef8199: - fix: use latest agui dependencies to include required fixes
856
+ - 20e8c3c: - fix(anthropic-adapter): resolve infinite loop caused by duplicate result messages
857
+ - 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
858
+ - fix: extract publicApiKey for all requests + trace GraphQL errors
859
+ - fc6b653: - Fix extract toolParameters in extractParametersFromSchema
860
+ - Ensures consistency in how parameters are passed to the execute function across the codebase.
861
+ - fc6b653: - Fix extract toolParameters in extractParametersFromSchema
862
+ - Fixed generateMcpToolInstructions to properly extract parameters from schema.parameters.properties
863
+ - fix: enhance MCP schema support for complex types and remove duplicate headers
864
+ - fc6b653: - Fix extract toolParameters in extractParametersFromSchema
865
+ - Updated dependencies [fac89c2]
866
+ - Updated dependencies [9169ad7]
867
+ - Updated dependencies [1d1c51d]
868
+ - Updated dependencies [10345a5]
869
+ - Updated dependencies [9169ad7]
870
+ - @copilotkit/shared@1.9.2
871
+
872
+ ## 1.9.2-next.26
873
+
874
+ ### Patch Changes
875
+
876
+ - 83822d2: - fix: do not show error on state loading if thread does not exist
877
+ - @copilotkit/shared@1.9.2-next.26
878
+
879
+ ## 1.9.2-next.25
880
+
881
+ ### Patch Changes
882
+
883
+ - f3f0181: - fix: connect streaming errors to runtime onError handler
884
+ - remove request logging
885
+ - f3f0181: - fix: connect streaming errors to runtime onError handler
886
+ - @copilotkit/shared@1.9.2-next.25
887
+
888
+ ## 1.9.2-next.24
889
+
890
+ ### Patch Changes
891
+
892
+ - 8ef8199: - fix: use latest agui dependencies to include required fixes
893
+ - @copilotkit/shared@1.9.2-next.24
894
+
895
+ ## 1.9.2-next.23
896
+
897
+ ### Patch Changes
898
+
899
+ - fc6b653: - Fix extract toolParameters in extractParametersFromSchema
900
+ - Ensures consistency in how parameters are passed to the execute function across the codebase.
901
+ - fc6b653: - Fix extract toolParameters in extractParametersFromSchema
902
+ - Fixed generateMcpToolInstructions to properly extract parameters from schema.parameters.properties
903
+ - fix: enhance MCP schema support for complex types and remove duplicate headers
904
+ - fc6b653: - Fix extract toolParameters in extractParametersFromSchema
905
+ - @copilotkit/shared@1.9.2-next.23
906
+
907
+ ## 1.9.2-next.22
908
+
909
+ ### Patch Changes
910
+
911
+ - @copilotkit/shared@1.9.2-next.22
912
+
913
+ ## 1.9.2-next.21
914
+
915
+ ### Patch Changes
916
+
917
+ - @copilotkit/shared@1.9.2-next.21
918
+
919
+ ## 1.9.2-next.20
920
+
921
+ ### Patch Changes
922
+
923
+ - @copilotkit/shared@1.9.2-next.20
924
+
925
+ ## 1.9.2-next.19
926
+
927
+ ### Patch Changes
928
+
929
+ - 8e67158: - fixes gemini adapter
930
+ - @copilotkit/shared@1.9.2-next.19
931
+
932
+ ## 1.9.2-next.18
933
+
934
+ ### Patch Changes
935
+
936
+ - fac89c2: - refactor: rename onTrace to onError throughout codebase
937
+ - Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
938
+
939
+ - Updated dependencies [fac89c2]
940
+ - @copilotkit/shared@1.9.2-next.18
941
+
942
+ ## 1.9.2-next.17
943
+
944
+ ### Patch Changes
945
+
946
+ - 7ca7023: - feat: send node name to agui agent
947
+ - @copilotkit/shared@1.9.2-next.17
948
+
949
+ ## 1.9.2-next.16
950
+
951
+ ### Patch Changes
952
+
953
+ - fe9009c: - feat(langgraph): new thread metadata
954
+ - @copilotkit/shared@1.9.2-next.16
955
+
956
+ ## 1.9.2-next.15
957
+
958
+ ### Patch Changes
959
+
960
+ - @copilotkit/shared@1.9.2-next.15
961
+
962
+ ## 1.9.2-next.14
963
+
964
+ ### Patch Changes
965
+
966
+ - 3a7f45f: - fix: resolve agui agents only after all other endpoints
967
+ - @copilotkit/shared@1.9.2-next.14
968
+
969
+ ## 1.9.2-next.13
970
+
971
+ ### Patch Changes
972
+
973
+ - dec5527: - fix: only fetch agent state for langgraph agents
974
+ - @copilotkit/shared@1.9.2-next.13
975
+
976
+ ## 1.9.2-next.12
977
+
978
+ ### Patch Changes
979
+
980
+ - @copilotkit/shared@1.9.2-next.12
981
+
982
+ ## 1.9.2-next.11
983
+
984
+ ### Patch Changes
985
+
986
+ - 1f4949a: - fix: remove agent discovery for agui agents
987
+ - @copilotkit/shared@1.9.2-next.11
988
+
989
+ ## 1.9.2-next.10
990
+
991
+ ### Patch Changes
992
+
993
+ - 20e8c3c: - fix(anthropic-adapter): resolve infinite loop caused by duplicate result messages
994
+ - @copilotkit/shared@1.9.2-next.10
995
+
996
+ ## 1.9.2-next.9
997
+
998
+ ### Patch Changes
999
+
1000
+ - 1d1c51d: - feat: surface all errors in structured format
1001
+ - Updated dependencies [1d1c51d]
1002
+ - @copilotkit/shared@1.9.2-next.9
1003
+
1004
+ ## 1.9.2-next.8
1005
+
1006
+ ### Patch Changes
1007
+
1008
+ - 9b986ba: - fix: use active interrupt from thread instead of saving to global state
1009
+ - @copilotkit/shared@1.9.2-next.8
1010
+
1011
+ ## 1.9.2-next.7
1012
+
1013
+ ### Patch Changes
1014
+
1015
+ - 54b62f0: - fix: add default schema keys for input and output of agui langgraph
1016
+ - @copilotkit/shared@1.9.2-next.7
1017
+
1018
+ ## 1.9.2-next.6
1019
+
1020
+ ### Patch Changes
1021
+
1022
+ - 4fd92d1: - fix: enable resolving of langgraph agents when cpk starts
1023
+ - @copilotkit/shared@1.9.2-next.6
1024
+
1025
+ ## 1.9.2-next.5
1026
+
1027
+ ### Patch Changes
1028
+
1029
+ - @copilotkit/shared@1.9.2-next.5
1030
+
1031
+ ## 1.9.2-next.4
1032
+
1033
+ ### Patch Changes
1034
+
1035
+ - 9169ad7: - feat: add onTrace handler for runtime and UI error/event tracking
1036
+ - 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
1037
+ - fix: extract publicApiKey for all requests + trace GraphQL errors
1038
+ - Updated dependencies [9169ad7]
1039
+ - Updated dependencies [9169ad7]
1040
+ - @copilotkit/shared@1.9.2-next.4
1041
+
1042
+ ## 1.9.2-next.3
1043
+
1044
+ ### Patch Changes
1045
+
1046
+ - @copilotkit/shared@1.9.2-next.3
1047
+
1048
+ ## 1.9.2-next.2
1049
+
1050
+ ### Patch Changes
1051
+
1052
+ - 9b81464: - fix: use latest langgraph agui
1053
+ - @copilotkit/shared@1.9.2-next.2
1054
+
1055
+ ## 1.9.2-next.1
1056
+
1057
+ ### Patch Changes
1058
+
1059
+ - f295375: - fix: remove all agents as tools when there is an active agent session
1060
+ - fix formatting
1061
+ - @copilotkit/shared@1.9.2-next.1
1062
+
1063
+ ## 1.9.2-next.0
1064
+
1065
+ ### Patch Changes
1066
+
1067
+ - 10345a5: - feat: structured error visibility system for streaming errors
1068
+ - Updated dependencies [10345a5]
1069
+ - @copilotkit/shared@1.9.2-next.0
1070
+
1071
+ ## 1.9.1
1072
+
1073
+ ### Patch Changes
1074
+
1075
+ - deaeca0: - feat: Add public key
1076
+
1077
+ Signed-off-by: Luis Valdes <luis@copilotkit.ai>
1078
+
1079
+ - Updated dependencies [deaeca0]
1080
+ - @copilotkit/shared@1.9.1
1081
+
1082
+ ## 1.9.1-next.0
1083
+
1084
+ ### Patch Changes
1085
+
1086
+ - deaeca0: - feat: Add public key
1087
+
1088
+ Signed-off-by: Luis Valdes <luis@copilotkit.ai>
1089
+
1090
+ - Updated dependencies [deaeca0]
1091
+ - @copilotkit/shared@1.9.1-next.0
1092
+
1093
+ ## 1.9.0
1094
+
1095
+ ### Minor Changes
1096
+
1097
+ - 8408d58: - feat: create copilotkit agui langgraph agent
1098
+ - docs: replace remote endpoint with AGUI agent
1099
+
1100
+ ### Patch Changes
1101
+
1102
+ - c120e07: - refactor(react-ui): pass full message to onThumbsUp and onThumbsDown handlers
1103
+ - 54cae30: - fix(react-core): allow custom toolChoice in forwardedParameters to override default
1104
+ - fix: move react-dom to peerDependencies in @copilotkit/react-textarea
1105
+ - feat: add amazon bedrock adapter support
1106
+ - @copilotkit/shared@1.9.0
1107
+
1108
+ ## 1.9.0-next.2
1109
+
1110
+ ### Minor Changes
1111
+
1112
+ - 8408d58: - feat: create copilotkit agui langgraph agent
1113
+ - docs: replace remote endpoint with AGUI agent
1114
+
1115
+ ### Patch Changes
1116
+
1117
+ - @copilotkit/shared@1.9.0-next.2
1118
+
1119
+ ## 1.8.15-next.1
1120
+
1121
+ ### Patch Changes
1122
+
1123
+ - 54cae30: - fix(react-core): allow custom toolChoice in forwardedParameters to override default
1124
+ - fix: move react-dom to peerDependencies in @copilotkit/react-textarea
1125
+ - feat: add amazon bedrock adapter support
1126
+ - @copilotkit/shared@1.8.15-next.1
1127
+
1128
+ ## 1.8.15-next.0
1129
+
1130
+ ### Patch Changes
1131
+
1132
+ - c120e07: - refactor(react-ui): pass full message to onThumbsUp and onThumbsDown handlers
1133
+ - @copilotkit/shared@1.8.15-next.0
1134
+
1135
+ ## 1.8.14
1136
+
1137
+ ### Patch Changes
1138
+
1139
+ - ddd4165: - fix(runtime): filter empty AIMessages in GoogleGenerativeAIAdapter
1140
+ - fix(runtime): filter empty text messages in AnthropicAdapter
1141
+ - 9d33836: - fix: prepare cpk agui wiring for ag-ui langgraph support
1142
+ - 12b8ca8: - fix: fix cpk agui wiring for langgraph
1143
+ - ddd4165: - fix(runtime): filter empty AIMessages in GoogleGenerativeAIAdapter
1144
+ - 1af7333: - docs: updates ag-ui agent interface
1145
+ - Updated dependencies [34a78d8]
1146
+ - @copilotkit/shared@1.8.14
1147
+
1148
+ ## 1.8.14-next.5
1149
+
1150
+ ### Patch Changes
1151
+
1152
+ - ddd4165: - fix(runtime): filter empty AIMessages in GoogleGenerativeAIAdapter
1153
+ - fix(runtime): filter empty text messages in AnthropicAdapter
1154
+ - ddd4165: - fix(runtime): filter empty AIMessages in GoogleGenerativeAIAdapter
1155
+ - @copilotkit/shared@1.8.14-next.5
1156
+
1157
+ ## 1.8.14-next.4
1158
+
1159
+ ### Patch Changes
1160
+
1161
+ - 12b8ca8: - fix: fix cpk agui wiring for langgraph
1162
+ - @copilotkit/shared@1.8.14-next.4
1163
+
1164
+ ## 1.8.14-next.3
1165
+
1166
+ ### Patch Changes
1167
+
1168
+ - 9d33836: - fix: prepare cpk agui wiring for ag-ui langgraph support
1169
+ - @copilotkit/shared@1.8.14-next.3
1170
+
1171
+ ## 1.8.14-next.2
1172
+
1173
+ ### Patch Changes
1174
+
1175
+ - 1af7333: - docs: updates ag-ui agent interface
1176
+ - @copilotkit/shared@1.8.14-next.2
1177
+
1178
+ ## 1.8.14-next.1
1179
+
1180
+ ### Patch Changes
1181
+
1182
+ - Updated dependencies [34a78d8]
1183
+ - @copilotkit/shared@1.8.14-next.1
1184
+
1185
+ ## 1.8.14-next.0
1186
+
1187
+ ### Patch Changes
1188
+
1189
+ - @copilotkit/shared@1.8.14-next.0
1190
+
1191
+ ## 1.8.13
1192
+
1193
+ ### Patch Changes
1194
+
1195
+ - 6ed54f4: - AG-UI 0.0.28
1196
+ - @copilotkit/shared@1.8.13
1197
+
1198
+ ## 1.8.13-next.3
1199
+
1200
+ ### Patch Changes
1201
+
1202
+ - @copilotkit/shared@1.8.13-next.3
1203
+
1204
+ ## 1.8.13-next.2
1205
+
1206
+ ### Patch Changes
1207
+
1208
+ - @copilotkit/shared@1.8.13-next.2
1209
+
1210
+ ## 1.8.13-next.1
1211
+
1212
+ ### Patch Changes
1213
+
1214
+ - @copilotkit/shared@1.8.13-next.1
1215
+
1216
+ ## 1.8.13-next.0
1217
+
1218
+ ### Patch Changes
1219
+
1220
+ - 6ed54f4: - AG-UI 0.0.28
1221
+ - @copilotkit/shared@1.8.13-next.0
1222
+
1223
+ ## 1.8.12
1224
+
1225
+ ### Patch Changes
1226
+
1227
+ - 54838cb: - feat: allow keeping system role for openai adapters
1228
+ - 2b89ad7: - fix: use latest claude 3.5 as default model instead of specific
1229
+ - chore: add missing variable assignment in llm provider docs
1230
+ - chore: add missing call to fetch azure api key in docs
1231
+ - f419d99: - fix: Implement allowlist approach to prevent duplicate tool_result blocks in API calls to OpenAI and Anthropic
1232
+ - @copilotkit/shared@1.8.12
1233
+
1234
+ ## 1.8.12-next.6
1235
+
1236
+ ### Patch Changes
1237
+
1238
+ - @copilotkit/shared@1.8.12-next.6
1239
+
1240
+ ## 1.8.12-next.5
1241
+
1242
+ ### Patch Changes
1243
+
1244
+ - @copilotkit/shared@1.8.12-next.5
1245
+
1246
+ ## 1.8.12-next.4
1247
+
1248
+ ### Patch Changes
1249
+
1250
+ - f419d99: - fix: Implement allowlist approach to prevent duplicate tool_result blocks in API calls to OpenAI and Anthropic
1251
+ - @copilotkit/shared@1.8.12-next.4
1252
+
1253
+ ## 1.8.12-next.3
1254
+
1255
+ ### Patch Changes
1256
+
1257
+ - @copilotkit/shared@1.8.12-next.3
1258
+
1259
+ ## 1.8.12-next.2
1260
+
1261
+ ### Patch Changes
1262
+
1263
+ - @copilotkit/shared@1.8.12-next.2
1264
+
1265
+ ## 1.8.12-next.1
1266
+
1267
+ ### Patch Changes
1268
+
1269
+ - 54838cb: - feat: allow keeping system role for openai adapters
1270
+ - @copilotkit/shared@1.8.12-next.1
1271
+
1272
+ ## 1.8.12-next.0
1273
+
1274
+ ### Patch Changes
1275
+
1276
+ - 2b89ad7: - fix: use latest claude 3.5 as default model instead of specific
1277
+ - chore: add missing variable assignment in llm provider docs
1278
+ - chore: add missing call to fetch azure api key in docs
1279
+ - @copilotkit/shared@1.8.12-next.0
1280
+
1281
+ ## 1.8.11
1282
+
1283
+ ### Patch Changes
1284
+
1285
+ - 52d0bb5: - fix: do not attempt to hash lgc key if it doesnt exist
1286
+ - fix: accept null on langsmith api key
1287
+ - @copilotkit/shared@1.8.11
1288
+
1289
+ ## 1.8.11-next.1
1290
+
1291
+ ### Patch Changes
1292
+
1293
+ - 52d0bb5: - fix: do not attempt to hash lgc key if it doesnt exist
1294
+ - fix: accept null on langsmith api key
1295
+ - @copilotkit/shared@1.8.11-next.1
1296
+
1297
+ ## 1.8.11-next.0
1298
+
1299
+ ### Patch Changes
1300
+
1301
+ - @copilotkit/shared@1.8.11-next.0
1302
+
1303
+ ## 1.8.10
1304
+
1305
+ ### Patch Changes
1306
+
1307
+ - f3a0a33: - updates ag-ui deps
1308
+ - 742efbb: - feat: enable setting langgraph config from ui
1309
+ - chore: document usage of new config
1310
+ - @copilotkit/shared@1.8.10
1311
+
1312
+ ## 1.8.10-next.3
1313
+
1314
+ ### Patch Changes
1315
+
1316
+ - @copilotkit/shared@1.8.10-next.3
1317
+
1318
+ ## 1.8.10-next.2
1319
+
1320
+ ### Patch Changes
1321
+
1322
+ - f3a0a33: - updates ag-ui deps
1323
+ - @copilotkit/shared@1.8.10-next.2
1324
+
1325
+ ## 1.8.10-next.1
1326
+
1327
+ ### Patch Changes
1328
+
1329
+ - @copilotkit/shared@1.8.10-next.1
1330
+
1331
+ ## 1.8.10-next.0
1332
+
1333
+ ### Patch Changes
1334
+
1335
+ - 742efbb: - feat: enable setting langgraph config from ui
1336
+ - chore: document usage of new config
1337
+ - @copilotkit/shared@1.8.10-next.0
1338
+
1339
+ ## 1.8.9
1340
+
1341
+ ### Patch Changes
1342
+
1343
+ - f81a526: - Fix MCP tool schema structure to match interface requirements
1344
+ - add utils
1345
+ - @copilotkit/shared@1.8.9
1346
+
1347
+ ## 1.8.9-next.0
1348
+
1349
+ ### Patch Changes
1350
+
1351
+ - f81a526: - Fix MCP tool schema structure to match interface requirements
1352
+ - add utils
1353
+ - @copilotkit/shared@1.8.9-next.0
1354
+
1355
+ ## 1.8.8
1356
+
1357
+ ### Patch Changes
1358
+
1359
+ - 8c26335: - fix: update MCP tool parameter extraction to handle full tool objects
1360
+ - dfb67c3: - refactor: rename mcpEndpoints to mcpServers for naming consistency
1361
+ - doc changes
1362
+ - @copilotkit/shared@1.8.8
1363
+
1364
+ ## 1.8.8-next.1
1365
+
1366
+ ### Patch Changes
1367
+
1368
+ - 8c26335: - fix: update MCP tool parameter extraction to handle full tool objects
1369
+ - @copilotkit/shared@1.8.8-next.1
1370
+
1371
+ ## 1.8.8-next.0
1372
+
1373
+ ### Patch Changes
1374
+
1375
+ - dfb67c3: - refactor: rename mcpEndpoints to mcpServers for naming consistency
1376
+ - doc changes
1377
+ - @copilotkit/shared@1.8.8-next.0
1378
+
1379
+ ## 1.8.7
1380
+
1381
+ ### Patch Changes
1382
+
1383
+ - 8b8474f: - feat: add image input support with multi-model compatibility, pasting, and UX improvements
1384
+ - @copilotkit/shared@1.8.7
1385
+
1386
+ ## 1.8.7-next.0
1387
+
1388
+ ### Patch Changes
1389
+
1390
+ - 8b8474f: - feat: add image input support with multi-model compatibility, pasting, and UX improvements
1391
+ - @copilotkit/shared@1.8.7-next.0
1392
+
1393
+ ## 1.8.6
4
1394
 
5
1395
  ### Patch Changes
6
1396
 
7
1397
  - 7a04bd1: - fix: fix how results are communicated back on interrupt
8
1398
  - fix: do not allow followup for interrupt actions
9
1399
  - chore: improve TS docs for interrupt
10
- - @copilotkit/shared@0.0.0-main-20250416144141
1400
+ - @copilotkit/shared@1.8.6
11
1401
 
12
1402
  ## 1.8.6-next.0
13
1403
 
@@ -25,11 +1415,9 @@
25
1415
  - c0d3261: - full AWP support
26
1416
 
27
1417
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
28
-
29
1418
  - refactor: address linter issues with the new pages
30
1419
 
31
1420
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
32
-
33
1421
  - Merge branch 'mme/acp' into mme/mastra
34
1422
  - add sse example
35
1423
  - Create small-turkeys-agree.md
@@ -46,17 +1434,14 @@
46
1434
  - 77a7457: - feat: Add Model Context Protocol (MCP) support
47
1435
  - 76d9ef9: - fix: handle langgraph client specific errors when running lgc stream
48
1436
  - c0d3261: - add AWP support
49
-
50
1437
  - make it work
51
1438
  - update docs
52
1439
  - refactor: move UI files to be normal NextJS pages and update generation
53
1440
 
54
1441
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
55
-
56
1442
  - refactor: address linter issues with the new pages
57
1443
 
58
1444
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
59
-
60
1445
  - Merge branch 'mme/acp' into mme/mastra
61
1446
  - add sse example
62
1447
 
@@ -70,11 +1455,9 @@
70
1455
  - c0d3261: - full AWP support
71
1456
 
72
1457
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
73
-
74
1458
  - refactor: address linter issues with the new pages
75
1459
 
76
1460
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
77
-
78
1461
  - Merge branch 'mme/acp' into mme/mastra
79
1462
  - add sse example
80
1463
  - Create small-turkeys-agree.md
@@ -89,17 +1472,14 @@
89
1472
  - fix missing tool call ids
90
1473
 
91
1474
  - c0d3261: - add AWP support
92
-
93
1475
  - make it work
94
1476
  - update docs
95
1477
  - refactor: move UI files to be normal NextJS pages and update generation
96
1478
 
97
1479
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
98
-
99
1480
  - refactor: address linter issues with the new pages
100
1481
 
101
1482
  Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
102
-
103
1483
  - Merge branch 'mme/acp' into mme/mastra
104
1484
  - add sse example
105
1485
  - @copilotkit/shared@1.8.5-next.5
@@ -1104,7 +2484,6 @@
1104
2484
  - e16d95e: New prerelease
1105
2485
  - 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
1106
2486
  - CopilotKit Core:
1107
-
1108
2487
  - Improved error messages and overall logs
1109
2488
  - `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
1110
2489
  - Improved scrolling behavior. It is now possible to scroll up during LLM response generation
@@ -1112,7 +2491,6 @@
1112
2491
  - Updated interfaces for better developer ergonomics
1113
2492
 
1114
2493
  CoAgents:
1115
-
1116
2494
  - Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
1117
2495
  - Support for LangGraph Platform in Remote Endpoints
1118
2496
  - LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
@@ -1120,7 +2498,6 @@
1120
2498
  - Enhanced state management and message handling
1121
2499
 
1122
2500
  CopilotKid Back-end SDK:
1123
-
1124
2501
  - Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
1125
2502
 
1126
2503
  - 8d0144f: bump
@@ -1467,7 +2844,6 @@ CopilotKid Back-end SDK:
1467
2844
  ### Patch Changes
1468
2845
 
1469
2846
  - inject minified css in bundle
1470
-
1471
2847
  - removes the need to import `styles.css` manually
1472
2848
  - empty `styles.css` included in the build for backwards compatibility
1473
2849
  - uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
@@ -1604,7 +2980,6 @@ CopilotKid Back-end SDK:
1604
2980
  ### Major Changes
1605
2981
 
1606
2982
  - b6a4b6eb: V1.0 Release Candidate
1607
-
1608
2983
  - A robust new protocol between the frontend and the Copilot Runtime
1609
2984
  - Support for Copilot Cloud
1610
2985
  - Generative UI
@@ -1612,7 +2987,6 @@ CopilotKid Back-end SDK:
1612
2987
  - OpenAI assistant API streaming
1613
2988
 
1614
2989
  - V1.0 Release
1615
-
1616
2990
  - A robust new protocol between the frontend and the Copilot Runtime
1617
2991
  - Support for Copilot Cloud
1618
2992
  - Generative UI
@@ -1650,7 +3024,6 @@ CopilotKid Back-end SDK:
1650
3024
  ### Major Changes
1651
3025
 
1652
3026
  - V1.0 Release Candidate
1653
-
1654
3027
  - A robust new protocol between the frontend and the Copilot Runtime
1655
3028
  - Support for Copilot Cloud
1656
3029
  - Generative UI