@copilotkit/shared 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.
- package/CHANGELOG.md +591 -8
- package/LICENSE +21 -0
- package/README.md +123 -28
- package/dist/chunk-2OJ5OJ2D.mjs +1 -0
- package/dist/{chunk-JP2M4U4G.mjs → chunk-64DYJ27R.mjs} +91 -2
- package/dist/chunk-64DYJ27R.mjs.map +1 -0
- package/dist/chunk-6W2UEO2M.mjs +94 -0
- package/dist/chunk-6W2UEO2M.mjs.map +1 -0
- package/dist/chunk-BOKE4OKY.mjs +41 -0
- package/dist/chunk-BOKE4OKY.mjs.map +1 -0
- package/dist/{chunk-FDYHD5WN.mjs → chunk-EXYUAYC3.mjs} +104 -39
- package/dist/chunk-EXYUAYC3.mjs.map +1 -0
- package/dist/chunk-N5EP5OD5.mjs +1 -0
- package/dist/chunk-N5EP5OD5.mjs.map +1 -0
- package/dist/{chunk-QFITLWYZ.mjs → chunk-PEN77NLM.mjs} +14 -3
- package/dist/chunk-PEN77NLM.mjs.map +1 -0
- package/dist/chunk-TJKDW3H3.mjs +38 -0
- package/dist/chunk-TJKDW3H3.mjs.map +1 -0
- package/dist/chunk-UYARLQNA.mjs +1 -0
- package/dist/chunk-UYARLQNA.mjs.map +1 -0
- package/dist/chunk-XEMZTHQZ.mjs +67 -0
- package/dist/chunk-XEMZTHQZ.mjs.map +1 -0
- package/dist/chunk-XTHC46M2.mjs +1 -0
- package/dist/chunk-XTHC46M2.mjs.map +1 -0
- package/dist/index.d.ts +10 -4
- package/dist/index.js +421 -41
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +48 -10
- package/dist/telemetry/events.d.ts +6 -0
- package/dist/telemetry/events.js.map +1 -1
- package/dist/telemetry/index.d.ts +1 -1
- package/dist/telemetry/index.js +48 -4
- package/dist/telemetry/index.js.map +1 -1
- package/dist/telemetry/index.mjs +6 -3
- package/dist/telemetry/scarf-client.d.ts +7 -0
- package/dist/telemetry/scarf-client.js +59 -0
- package/dist/telemetry/scarf-client.js.map +1 -0
- package/dist/telemetry/scarf-client.mjs +7 -0
- package/dist/telemetry/scarf-client.mjs.map +1 -0
- package/dist/telemetry/telemetry-client.d.ts +8 -1
- package/dist/telemetry/telemetry-client.js +48 -4
- package/dist/telemetry/telemetry-client.js.map +1 -1
- package/dist/telemetry/telemetry-client.mjs +6 -3
- package/dist/types/action.d.ts +1 -0
- package/dist/types/action.js.map +1 -1
- package/dist/types/error.d.ts +55 -0
- package/dist/types/error.js +19 -0
- package/dist/types/error.js.map +1 -0
- package/dist/types/error.mjs +2 -0
- package/dist/types/error.mjs.map +1 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/index.mjs +4 -2
- package/dist/types/message.d.ts +26 -0
- package/dist/types/message.js +19 -0
- package/dist/types/message.js.map +1 -0
- package/dist/types/message.mjs +2 -0
- package/dist/types/message.mjs.map +1 -0
- package/dist/utils/console-styling.d.ts +84 -0
- package/dist/utils/console-styling.js +123 -0
- package/dist/utils/console-styling.js.map +1 -0
- package/dist/utils/console-styling.mjs +17 -0
- package/dist/utils/console-styling.mjs.map +1 -0
- package/dist/utils/errors.d.ts +58 -4
- package/dist/utils/errors.js +102 -38
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/errors.mjs +22 -8
- package/dist/utils/index.d.ts +11 -3
- package/dist/utils/index.js +376 -37
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/index.mjs +45 -9
- package/dist/utils/json-schema.d.ts +3 -1
- package/dist/utils/json-schema.js +93 -2
- package/dist/utils/json-schema.js.map +1 -1
- package/dist/utils/json-schema.mjs +7 -3
- package/dist/utils/random-id.d.ts +1 -1
- package/dist/utils/random-id.js +18 -1
- package/dist/utils/random-id.js.map +1 -1
- package/dist/utils/random-id.mjs +1 -1
- package/dist/utils/requests.d.ts +10 -0
- package/dist/utils/requests.js +91 -0
- package/dist/utils/requests.js.map +1 -0
- package/dist/utils/requests.mjs +7 -0
- package/dist/utils/requests.mjs.map +1 -0
- package/dist/utils/types.d.ts +20 -0
- package/dist/utils/types.js +19 -0
- package/dist/utils/types.js.map +1 -0
- package/dist/utils/types.mjs +2 -0
- package/dist/utils/types.mjs.map +1 -0
- package/package.json +8 -5
- package/src/telemetry/events.ts +6 -0
- package/src/telemetry/scarf-client.ts +39 -0
- package/src/telemetry/telemetry-client.ts +23 -7
- package/src/types/action.ts +1 -0
- package/src/types/error.ts +70 -0
- package/src/types/index.ts +2 -0
- package/src/types/message.ts +37 -0
- package/src/utils/console-styling.ts +124 -0
- package/src/utils/errors.ts +112 -24
- package/src/utils/index.ts +11 -0
- package/src/utils/json-schema.test.ts +215 -1
- package/src/utils/json-schema.ts +104 -0
- package/src/utils/random-id.ts +24 -2
- package/src/utils/requests.ts +77 -0
- package/src/utils/types.ts +22 -0
- package/tsup.config.ts +1 -6
- package/dist/chunk-BANDZXMP.mjs +0 -1
- package/dist/chunk-FDYHD5WN.mjs.map +0 -1
- package/dist/chunk-JP2M4U4G.mjs.map +0 -1
- package/dist/chunk-QFITLWYZ.mjs.map +0 -1
- package/dist/chunk-VNNKZIFB.mjs +0 -24
- package/dist/chunk-VNNKZIFB.mjs.map +0 -1
- package/dist/utils/json-schema.test.d.ts +0 -2
- package/dist/utils/json-schema.test.js +0 -173
- package/dist/utils/json-schema.test.js.map +0 -1
- package/dist/utils/json-schema.test.mjs +0 -140
- package/dist/utils/json-schema.test.mjs.map +0 -1
- /package/dist/{chunk-BANDZXMP.mjs.map → chunk-2OJ5OJ2D.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,596 @@
|
|
|
1
1
|
# @copilotkit/shared
|
|
2
2
|
|
|
3
|
-
## 0.0.0-main-
|
|
3
|
+
## 0.0.0-main-20260126221712
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d655e75: fix: update ag-ui dependencies
|
|
8
|
+
|
|
9
|
+
## 1.51.3-next.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- d655e75: fix: update ag-ui dependencies
|
|
14
|
+
|
|
15
|
+
## 1.51.3-next.2
|
|
16
|
+
|
|
17
|
+
## 1.51.3-next.1
|
|
18
|
+
|
|
19
|
+
## 1.51.3-next.0
|
|
20
|
+
|
|
21
|
+
## 1.51.2
|
|
22
|
+
|
|
23
|
+
## 1.51.2-next.1
|
|
24
|
+
|
|
25
|
+
## 1.51.2-next.0
|
|
26
|
+
|
|
27
|
+
## 1.51.1
|
|
28
|
+
|
|
29
|
+
## 1.51.0
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- 2839a15: Update versioning strategy
|
|
34
|
+
- 2afd4e3: Fix CI
|
|
35
|
+
|
|
36
|
+
## 1.51.0-next.4
|
|
37
|
+
|
|
38
|
+
## 1.51.0-next.3
|
|
39
|
+
|
|
40
|
+
## 1.51.0-next.2
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- 2afd4e3: Fix CI
|
|
45
|
+
|
|
46
|
+
## 1.51.0-next.1
|
|
47
|
+
|
|
48
|
+
## 1.50.2-next.0
|
|
49
|
+
|
|
50
|
+
## 1.50.1
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- 80dffec: Updated the default model and API version for the Google GenAI adapter
|
|
55
|
+
|
|
56
|
+
## 1.50.1-next.3
|
|
57
|
+
|
|
58
|
+
## 1.50.1-next.2
|
|
59
|
+
|
|
60
|
+
## 1.50.1-next.1
|
|
61
|
+
|
|
62
|
+
## 1.50.1-next.0
|
|
63
|
+
|
|
64
|
+
### Patch Changes
|
|
65
|
+
|
|
66
|
+
- Updated the default model and API version for the Google GenAI adapter
|
|
67
|
+
|
|
68
|
+
## 1.50.0
|
|
69
|
+
|
|
70
|
+
### Minor Changes
|
|
71
|
+
|
|
72
|
+
- 0fc76d7: add new runner with telemetry baked in
|
|
73
|
+
- c942f9c: Minor fixes and stability improvements
|
|
74
|
+
- eed6021: Updating to the latest version of vnext
|
|
75
|
+
- 3b7367e: Improving general stability around LangChain
|
|
76
|
+
- 7ff9ca7: Minor fixes and improvements
|
|
77
|
+
- 974875e: Lint and format code to resolve Prettier errors
|
|
78
|
+
- 4942f62: - feat: create rerouting CopilotRuntime
|
|
79
|
+
- 3bd484f: Minor fixes and stability improvements
|
|
80
|
+
- 5a534bf: fix telemetry in v1.50 runtime
|
|
81
|
+
- 769a06c: Refactor suggestions to not always run
|
|
82
|
+
- 788292b: Improving langchain dependency resolution
|
|
83
|
+
- eab69a2: Enabling the new inspector
|
|
84
|
+
- 0a7bfe0: Updating dependency versions across all packages
|
|
85
|
+
|
|
86
|
+
### Patch Changes
|
|
87
|
+
|
|
88
|
+
- b0e3652: - chore: Update to latest of vnext
|
|
89
|
+
|
|
90
|
+
## 1.50.0-beta.19
|
|
91
|
+
|
|
92
|
+
### Minor Changes
|
|
93
|
+
|
|
94
|
+
- Improving langchain dependency resolution
|
|
95
|
+
|
|
96
|
+
## 1.50.0-beta.18
|
|
97
|
+
|
|
98
|
+
### Minor Changes
|
|
99
|
+
|
|
100
|
+
- Improving general stability around LangChain
|
|
101
|
+
|
|
102
|
+
## 1.50.0-beta.17
|
|
103
|
+
|
|
104
|
+
### Minor Changes
|
|
105
|
+
|
|
106
|
+
- Minor fixes and improvements
|
|
107
|
+
|
|
108
|
+
## 1.50.0-beta.16
|
|
109
|
+
|
|
110
|
+
### Minor Changes
|
|
111
|
+
|
|
112
|
+
- Minor fixes and stability improvements
|
|
113
|
+
|
|
114
|
+
## 1.50.0-beta.15
|
|
115
|
+
|
|
116
|
+
### Minor Changes
|
|
117
|
+
|
|
118
|
+
- Lint and format code to resolve Prettier errors
|
|
119
|
+
|
|
120
|
+
## 1.50.0-beta.14
|
|
121
|
+
|
|
122
|
+
### Minor Changes
|
|
123
|
+
|
|
124
|
+
- Minor fixes and stability improvements
|
|
125
|
+
|
|
126
|
+
## 1.50.0-beta.13
|
|
127
|
+
|
|
128
|
+
### Minor Changes
|
|
129
|
+
|
|
130
|
+
- Updating to the latest version of vnext
|
|
131
|
+
|
|
132
|
+
## 1.50.0-beta.12
|
|
133
|
+
|
|
134
|
+
### Minor Changes
|
|
135
|
+
|
|
136
|
+
- eab69a2: Enabling the new inspector
|
|
137
|
+
|
|
138
|
+
## 1.50.0-beta.11
|
|
139
|
+
|
|
140
|
+
### Minor Changes
|
|
141
|
+
|
|
142
|
+
- fix telemetry in v1.50 runtime
|
|
143
|
+
|
|
144
|
+
## 1.50.0-beta.10
|
|
145
|
+
|
|
146
|
+
### Minor Changes
|
|
147
|
+
|
|
148
|
+
- add new runner with telemetry baked in
|
|
149
|
+
|
|
150
|
+
## 1.50.0-beta.9
|
|
151
|
+
|
|
152
|
+
### Minor Changes
|
|
153
|
+
|
|
154
|
+
- Refactor suggestions to not always run
|
|
155
|
+
|
|
156
|
+
## 1.50.0-beta.8
|
|
157
|
+
|
|
158
|
+
## 1.50.0-beta.7
|
|
159
|
+
|
|
160
|
+
## 1.50.0-beta.6
|
|
161
|
+
|
|
162
|
+
### Minor Changes
|
|
163
|
+
|
|
164
|
+
- Updating dependency versions across all packages
|
|
165
|
+
|
|
166
|
+
## 1.50.0-beta.4
|
|
167
|
+
|
|
168
|
+
### Minor Changes
|
|
169
|
+
|
|
170
|
+
- 4942f62: - feat: create rerouting CopilotRuntime
|
|
171
|
+
|
|
172
|
+
### Patch Changes
|
|
173
|
+
|
|
174
|
+
- b0e3652: - chore: Update to latest of vnext
|
|
175
|
+
|
|
176
|
+
## 1.10.7-next.0
|
|
177
|
+
|
|
178
|
+
## 1.10.6
|
|
179
|
+
|
|
180
|
+
### Patch Changes
|
|
181
|
+
|
|
182
|
+
- e0dd5d5: - feat: allow additional config in direct to llm actions
|
|
183
|
+
|
|
184
|
+
## 1.10.6-next.6
|
|
185
|
+
|
|
186
|
+
## 1.10.6-next.5
|
|
187
|
+
|
|
188
|
+
### Patch Changes
|
|
189
|
+
|
|
190
|
+
- e0dd5d5: - feat: allow additional config in direct to llm actions
|
|
191
|
+
|
|
192
|
+
## 1.10.6-next.4
|
|
193
|
+
|
|
194
|
+
## 1.10.6-next.3
|
|
195
|
+
|
|
196
|
+
## 1.10.6-next.2
|
|
197
|
+
|
|
198
|
+
## 1.10.6-next.1
|
|
199
|
+
|
|
200
|
+
## 1.10.6-next.0
|
|
201
|
+
|
|
202
|
+
## 1.10.5
|
|
203
|
+
|
|
204
|
+
## 1.10.5-next.10
|
|
205
|
+
|
|
206
|
+
## 1.10.5-next.9
|
|
207
|
+
|
|
208
|
+
## 1.10.5-next.8
|
|
209
|
+
|
|
210
|
+
## 1.10.5-next.7
|
|
211
|
+
|
|
212
|
+
## 1.10.5-next.6
|
|
213
|
+
|
|
214
|
+
## 1.10.5-next.5
|
|
215
|
+
|
|
216
|
+
## 1.10.5-next.4
|
|
217
|
+
|
|
218
|
+
## 1.10.5-next.3
|
|
219
|
+
|
|
220
|
+
## 1.10.5-next.2
|
|
221
|
+
|
|
222
|
+
## 1.10.5-next.1
|
|
223
|
+
|
|
224
|
+
## 1.10.5-next.0
|
|
225
|
+
|
|
226
|
+
## 1.10.4
|
|
227
|
+
|
|
228
|
+
### Patch Changes
|
|
229
|
+
|
|
230
|
+
- a640d8e: - feat: update latest agui langgraph for subgraphs support
|
|
231
|
+
- feat: update latest agui core packages
|
|
232
|
+
|
|
233
|
+
## 1.10.4-next.3
|
|
234
|
+
|
|
235
|
+
## 1.10.4-next.2
|
|
236
|
+
|
|
237
|
+
## 1.10.4-next.1
|
|
238
|
+
|
|
239
|
+
### Patch Changes
|
|
240
|
+
|
|
241
|
+
- a640d8e: - feat: update latest agui langgraph for subgraphs support
|
|
242
|
+
- feat: update latest agui core packages
|
|
243
|
+
|
|
244
|
+
## 1.10.4-next.0
|
|
245
|
+
|
|
246
|
+
## 1.10.3
|
|
247
|
+
|
|
248
|
+
### Patch Changes
|
|
249
|
+
|
|
250
|
+
- ea74047: - fix: surface run errors from agui
|
|
251
|
+
|
|
252
|
+
## 1.10.3-next.3
|
|
253
|
+
|
|
254
|
+
## 1.10.3-next.2
|
|
255
|
+
|
|
256
|
+
## 1.10.3-next.1
|
|
257
|
+
|
|
258
|
+
## 1.10.3-next.0
|
|
259
|
+
|
|
260
|
+
### Patch Changes
|
|
261
|
+
|
|
262
|
+
- ea74047: - fix: surface run errors from agui
|
|
263
|
+
|
|
264
|
+
## 1.10.2
|
|
265
|
+
|
|
266
|
+
## 1.10.2-next.0
|
|
267
|
+
|
|
268
|
+
## 1.10.1
|
|
269
|
+
|
|
270
|
+
## 1.10.1-next.2
|
|
271
|
+
|
|
272
|
+
## 1.10.1-next.1
|
|
273
|
+
|
|
274
|
+
## 1.10.1-next.0
|
|
275
|
+
|
|
276
|
+
## 1.10.0
|
|
277
|
+
|
|
278
|
+
### Minor Changes
|
|
279
|
+
|
|
280
|
+
- 8674da1: - refactor(headless): completely overhaul headless ui to better support agentic features
|
|
281
|
+
|
|
282
|
+
Headless UI has been in a bad state for a bit now. When we added support for different
|
|
283
|
+
agentic runtimes we acquired tech-debt that, with this PR, is being alleviated.
|
|
284
|
+
|
|
285
|
+
As such, the following features have been updated to be completely functional with Headless UI.
|
|
286
|
+
- Generative UI
|
|
287
|
+
- Suggestions
|
|
288
|
+
- Agentic Generative UI
|
|
289
|
+
- Interrupts
|
|
290
|
+
|
|
291
|
+
In addition, a variety of QOL changes have been made.
|
|
292
|
+
- New AG-UI based message types
|
|
293
|
+
- Inline code rendering is fixed
|
|
294
|
+
|
|
295
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
296
|
+
|
|
297
|
+
### Patch Changes
|
|
298
|
+
|
|
299
|
+
- a8c0263: - feat: add event hooks system for chat components
|
|
300
|
+
- 6d1de58: - fix: address issues that would cause headless UI breaking changes in the next release
|
|
301
|
+
|
|
302
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
303
|
+
- fix: more fixes addressing breaking changes in new Headless UI
|
|
304
|
+
|
|
305
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
306
|
+
- chore: address linting issues
|
|
307
|
+
|
|
308
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
309
|
+
- chore: fixing branding and docs
|
|
310
|
+
|
|
311
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
312
|
+
- chore: more docs fixing
|
|
313
|
+
|
|
314
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
315
|
+
|
|
316
|
+
## 1.10.0-next.13
|
|
317
|
+
|
|
318
|
+
## 1.10.0-next.12
|
|
319
|
+
|
|
320
|
+
## 1.10.0-next.11
|
|
321
|
+
|
|
322
|
+
## 1.10.0-next.10
|
|
323
|
+
|
|
324
|
+
### Patch Changes
|
|
325
|
+
|
|
326
|
+
- 6d1de58: - fix: address issues that would cause headless UI breaking changes in the next release
|
|
327
|
+
|
|
328
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
329
|
+
- fix: more fixes addressing breaking changes in new Headless UI
|
|
330
|
+
|
|
331
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
332
|
+
- chore: address linting issues
|
|
333
|
+
|
|
334
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
335
|
+
- chore: fixing branding and docs
|
|
336
|
+
|
|
337
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
338
|
+
- chore: more docs fixing
|
|
339
|
+
|
|
340
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
341
|
+
|
|
342
|
+
## 1.10.0-next.9
|
|
343
|
+
|
|
344
|
+
## 1.10.0-next.8
|
|
345
|
+
|
|
346
|
+
## 1.10.0-next.7
|
|
347
|
+
|
|
348
|
+
## 1.10.0-next.6
|
|
349
|
+
|
|
350
|
+
## 1.10.0-next.5
|
|
351
|
+
|
|
352
|
+
### Patch Changes
|
|
353
|
+
|
|
354
|
+
- a8c0263: - feat: add event hooks system for chat components
|
|
355
|
+
|
|
356
|
+
## 1.10.0-next.4
|
|
357
|
+
|
|
358
|
+
## 1.10.0-next.3
|
|
359
|
+
|
|
360
|
+
## 1.10.0-next.2
|
|
361
|
+
|
|
362
|
+
## 1.10.0-next.1
|
|
363
|
+
|
|
364
|
+
## 1.10.0-next.0
|
|
365
|
+
|
|
366
|
+
### Minor Changes
|
|
367
|
+
|
|
368
|
+
- 8674da1: - refactor(headless): completely overhaul headless ui to better support agentic features
|
|
369
|
+
|
|
370
|
+
Headless UI has been in a bad state for a bit now. When we added support for different
|
|
371
|
+
agentic runtimes we acquired tech-debt that, with this PR, is being alleviated.
|
|
372
|
+
|
|
373
|
+
As such, the following features have been updated to be completely functional with Headless UI.
|
|
374
|
+
- Generative UI
|
|
375
|
+
- Suggestions
|
|
376
|
+
- Agentic Generative UI
|
|
377
|
+
- Interrupts
|
|
378
|
+
|
|
379
|
+
In addition, a variety of QOL changes have been made.
|
|
380
|
+
- New AG-UI based message types
|
|
381
|
+
- Inline code rendering is fixed
|
|
382
|
+
|
|
383
|
+
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
|
|
384
|
+
|
|
385
|
+
## 1.9.3
|
|
386
|
+
|
|
387
|
+
### Patch Changes
|
|
388
|
+
|
|
389
|
+
- 1bda332: - chore(telemetry): integrate Scarf for usage analytics
|
|
390
|
+
|
|
391
|
+
## 1.9.3-next.4
|
|
392
|
+
|
|
393
|
+
## 1.9.3-next.3
|
|
394
|
+
|
|
395
|
+
### Patch Changes
|
|
396
|
+
|
|
397
|
+
- 1bda332: - chore(telemetry): integrate Scarf for usage analytics
|
|
398
|
+
|
|
399
|
+
## 1.9.3-next.2
|
|
400
|
+
|
|
401
|
+
## 1.9.3-next.1
|
|
402
|
+
|
|
403
|
+
## 1.9.3-next.0
|
|
404
|
+
|
|
405
|
+
## 1.9.2
|
|
406
|
+
|
|
407
|
+
### Patch Changes
|
|
408
|
+
|
|
409
|
+
- fac89c2: - refactor: rename onTrace to onError throughout codebase
|
|
410
|
+
- Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
|
|
411
|
+
|
|
412
|
+
- 9169ad7: - feat: add onTrace handler for runtime and UI error/event tracking
|
|
413
|
+
- 1d1c51d: - feat: surface all errors in structured format
|
|
414
|
+
- 10345a5: - feat: structured error visibility system for streaming errors
|
|
415
|
+
- 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
|
|
416
|
+
- fix: extract publicApiKey for all requests + trace GraphQL errors
|
|
417
|
+
|
|
418
|
+
## 1.9.2-next.26
|
|
419
|
+
|
|
420
|
+
## 1.9.2-next.25
|
|
421
|
+
|
|
422
|
+
## 1.9.2-next.24
|
|
423
|
+
|
|
424
|
+
## 1.9.2-next.23
|
|
425
|
+
|
|
426
|
+
## 1.9.2-next.22
|
|
427
|
+
|
|
428
|
+
## 1.9.2-next.21
|
|
429
|
+
|
|
430
|
+
## 1.9.2-next.20
|
|
431
|
+
|
|
432
|
+
## 1.9.2-next.19
|
|
433
|
+
|
|
434
|
+
## 1.9.2-next.18
|
|
435
|
+
|
|
436
|
+
### Patch Changes
|
|
437
|
+
|
|
438
|
+
- fac89c2: - refactor: rename onTrace to onError throughout codebase
|
|
439
|
+
- Rename CopilotTraceEvent to CopilotErrorEvent and CopilotTraceHandler to CopilotErrorHandler
|
|
440
|
+
|
|
441
|
+
## 1.9.2-next.17
|
|
442
|
+
|
|
443
|
+
## 1.9.2-next.16
|
|
444
|
+
|
|
445
|
+
## 1.9.2-next.15
|
|
446
|
+
|
|
447
|
+
## 1.9.2-next.14
|
|
448
|
+
|
|
449
|
+
## 1.9.2-next.13
|
|
450
|
+
|
|
451
|
+
## 1.9.2-next.12
|
|
452
|
+
|
|
453
|
+
## 1.9.2-next.11
|
|
454
|
+
|
|
455
|
+
## 1.9.2-next.10
|
|
456
|
+
|
|
457
|
+
## 1.9.2-next.9
|
|
458
|
+
|
|
459
|
+
### Patch Changes
|
|
460
|
+
|
|
461
|
+
- 1d1c51d: - feat: surface all errors in structured format
|
|
462
|
+
|
|
463
|
+
## 1.9.2-next.8
|
|
464
|
+
|
|
465
|
+
## 1.9.2-next.7
|
|
466
|
+
|
|
467
|
+
## 1.9.2-next.6
|
|
468
|
+
|
|
469
|
+
## 1.9.2-next.5
|
|
470
|
+
|
|
471
|
+
## 1.9.2-next.4
|
|
472
|
+
|
|
473
|
+
### Patch Changes
|
|
474
|
+
|
|
475
|
+
- 9169ad7: - feat: add onTrace handler for runtime and UI error/event tracking
|
|
476
|
+
- 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
|
|
477
|
+
- fix: extract publicApiKey for all requests + trace GraphQL errors
|
|
478
|
+
|
|
479
|
+
## 1.9.2-next.3
|
|
480
|
+
|
|
481
|
+
## 1.9.2-next.2
|
|
482
|
+
|
|
483
|
+
## 1.9.2-next.1
|
|
484
|
+
|
|
485
|
+
## 1.9.2-next.0
|
|
486
|
+
|
|
487
|
+
### Patch Changes
|
|
488
|
+
|
|
489
|
+
- 10345a5: - feat: structured error visibility system for streaming errors
|
|
490
|
+
|
|
491
|
+
## 1.9.1
|
|
492
|
+
|
|
493
|
+
### Patch Changes
|
|
494
|
+
|
|
495
|
+
- deaeca0: - feat: Add public key
|
|
496
|
+
|
|
497
|
+
Signed-off-by: Luis Valdes <luis@copilotkit.ai>
|
|
498
|
+
|
|
499
|
+
## 1.9.1-next.0
|
|
500
|
+
|
|
501
|
+
### Patch Changes
|
|
502
|
+
|
|
503
|
+
- deaeca0: - feat: Add public key
|
|
504
|
+
|
|
505
|
+
Signed-off-by: Luis Valdes <luis@copilotkit.ai>
|
|
506
|
+
|
|
507
|
+
## 1.9.0
|
|
508
|
+
|
|
509
|
+
## 1.9.0-next.2
|
|
510
|
+
|
|
511
|
+
## 1.8.15-next.1
|
|
512
|
+
|
|
513
|
+
## 1.8.15-next.0
|
|
514
|
+
|
|
515
|
+
## 1.8.14
|
|
516
|
+
|
|
517
|
+
### Patch Changes
|
|
518
|
+
|
|
519
|
+
- 34a78d8: - jsonSchemaToActionParameters implementation
|
|
520
|
+
|
|
521
|
+
## 1.8.14-next.5
|
|
522
|
+
|
|
523
|
+
## 1.8.14-next.4
|
|
524
|
+
|
|
525
|
+
## 1.8.14-next.3
|
|
526
|
+
|
|
527
|
+
## 1.8.14-next.2
|
|
528
|
+
|
|
529
|
+
## 1.8.14-next.1
|
|
530
|
+
|
|
531
|
+
### Patch Changes
|
|
532
|
+
|
|
533
|
+
- 34a78d8: - jsonSchemaToActionParameters implementation
|
|
534
|
+
|
|
535
|
+
## 1.8.14-next.0
|
|
536
|
+
|
|
537
|
+
## 1.8.13
|
|
538
|
+
|
|
539
|
+
## 1.8.13-next.3
|
|
540
|
+
|
|
541
|
+
## 1.8.13-next.2
|
|
542
|
+
|
|
543
|
+
## 1.8.13-next.1
|
|
544
|
+
|
|
545
|
+
## 1.8.13-next.0
|
|
546
|
+
|
|
547
|
+
## 1.8.12
|
|
548
|
+
|
|
549
|
+
## 1.8.12-next.6
|
|
550
|
+
|
|
551
|
+
## 1.8.12-next.5
|
|
552
|
+
|
|
553
|
+
## 1.8.12-next.4
|
|
554
|
+
|
|
555
|
+
## 1.8.12-next.3
|
|
556
|
+
|
|
557
|
+
## 1.8.12-next.2
|
|
558
|
+
|
|
559
|
+
## 1.8.12-next.1
|
|
560
|
+
|
|
561
|
+
## 1.8.12-next.0
|
|
562
|
+
|
|
563
|
+
## 1.8.11
|
|
564
|
+
|
|
565
|
+
## 1.8.11-next.1
|
|
566
|
+
|
|
567
|
+
## 1.8.11-next.0
|
|
568
|
+
|
|
569
|
+
## 1.8.10
|
|
570
|
+
|
|
571
|
+
## 1.8.10-next.3
|
|
572
|
+
|
|
573
|
+
## 1.8.10-next.2
|
|
574
|
+
|
|
575
|
+
## 1.8.10-next.1
|
|
576
|
+
|
|
577
|
+
## 1.8.10-next.0
|
|
578
|
+
|
|
579
|
+
## 1.8.9
|
|
580
|
+
|
|
581
|
+
## 1.8.9-next.0
|
|
582
|
+
|
|
583
|
+
## 1.8.8
|
|
584
|
+
|
|
585
|
+
## 1.8.8-next.1
|
|
586
|
+
|
|
587
|
+
## 1.8.8-next.0
|
|
588
|
+
|
|
589
|
+
## 1.8.7
|
|
590
|
+
|
|
591
|
+
## 1.8.7-next.0
|
|
592
|
+
|
|
593
|
+
## 1.8.6
|
|
4
594
|
|
|
5
595
|
## 1.8.6-next.0
|
|
6
596
|
|
|
@@ -449,7 +1039,6 @@
|
|
|
449
1039
|
- e16d95e: New prerelease
|
|
450
1040
|
- 1721cbd: Add convertActionsToDynamicStructuredTools to sdk-js
|
|
451
1041
|
- CopilotKit Core:
|
|
452
|
-
|
|
453
1042
|
- Improved error messages and overall logs
|
|
454
1043
|
- `useCopilotAction.renderAndAwait` renamed to `.renderAndAwaitForResponse` (backwards compatible, will be deprecated in the future)
|
|
455
1044
|
- Improved scrolling behavior. It is now possible to scroll up during LLM response generation
|
|
@@ -457,7 +1046,6 @@
|
|
|
457
1046
|
- Updated interfaces for better developer ergonomics
|
|
458
1047
|
|
|
459
1048
|
CoAgents:
|
|
460
|
-
|
|
461
1049
|
- Renamed `remoteActions` to `remoteEndpoints` (backwards compatible, will be deprecated in the future)
|
|
462
1050
|
- Support for LangGraph Platform in Remote Endpoints
|
|
463
1051
|
- LangGraph JS Support for CoAgents (locally via `langgraph dev`, `langgraph up` or deployed to LangGraph Platform)
|
|
@@ -465,7 +1053,6 @@
|
|
|
465
1053
|
- Enhanced state management and message handling
|
|
466
1054
|
|
|
467
1055
|
CopilotKid Back-end SDK:
|
|
468
|
-
|
|
469
1056
|
- Released a whole-new `@copilotkit/sdk-js` for building agents with LangGraph JS Support
|
|
470
1057
|
|
|
471
1058
|
- 8d0144f: bump
|
|
@@ -705,7 +1292,6 @@ CopilotKid Back-end SDK:
|
|
|
705
1292
|
### Patch Changes
|
|
706
1293
|
|
|
707
1294
|
- inject minified css in bundle
|
|
708
|
-
|
|
709
1295
|
- removes the need to import `styles.css` manually
|
|
710
1296
|
- empty `styles.css` included in the build for backwards compatibility
|
|
711
1297
|
- uses tsup's `injectStyles` with `postcss` to bundle and minify the CSS, then inject it as a style tag
|
|
@@ -807,7 +1393,6 @@ CopilotKid Back-end SDK:
|
|
|
807
1393
|
### Major Changes
|
|
808
1394
|
|
|
809
1395
|
- b6a4b6eb: V1.0 Release Candidate
|
|
810
|
-
|
|
811
1396
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
812
1397
|
- Support for Copilot Cloud
|
|
813
1398
|
- Generative UI
|
|
@@ -815,7 +1400,6 @@ CopilotKid Back-end SDK:
|
|
|
815
1400
|
- OpenAI assistant API streaming
|
|
816
1401
|
|
|
817
1402
|
- V1.0 Release
|
|
818
|
-
|
|
819
1403
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
820
1404
|
- Support for Copilot Cloud
|
|
821
1405
|
- Generative UI
|
|
@@ -844,7 +1428,6 @@ CopilotKid Back-end SDK:
|
|
|
844
1428
|
### Major Changes
|
|
845
1429
|
|
|
846
1430
|
- V1.0 Release Candidate
|
|
847
|
-
|
|
848
1431
|
- A robust new protocol between the frontend and the Copilot Runtime
|
|
849
1432
|
- Support for Copilot Cloud
|
|
850
1433
|
- Generative UI
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Atai Barkai
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|