@copilotkit/react-core 1.75.1 → 1.76.0

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 (36) hide show
  1. package/dist/{copilotkit-CGlSOKHM.d.mts → copilotkit-B90cY0Zg.d.mts} +18 -17
  2. package/dist/copilotkit-B90cY0Zg.d.mts.map +1 -0
  3. package/dist/{copilotkit-DfsHZUuo.mjs → copilotkit-LD7Gp2aV.mjs} +75 -49
  4. package/dist/copilotkit-LD7Gp2aV.mjs.map +1 -0
  5. package/dist/{copilotkit-Cjj9wDI8.d.cts → copilotkit-W-bV_OSs.d.cts} +5 -4
  6. package/dist/copilotkit-W-bV_OSs.d.cts.map +1 -0
  7. package/dist/{copilotkit-DIudpHkM.cjs → copilotkit-dHdNF7H5.cjs} +71 -46
  8. package/dist/copilotkit-dHdNF7H5.cjs.map +1 -0
  9. package/dist/index.cjs +2 -2
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +1 -1
  12. package/dist/index.d.cts.map +1 -1
  13. package/dist/index.d.mts +1 -1
  14. package/dist/index.d.mts.map +1 -1
  15. package/dist/index.mjs +4 -4
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/index.umd.js +24 -43
  18. package/dist/index.umd.js.map +1 -1
  19. package/dist/v2/headless.cjs +20 -38
  20. package/dist/v2/headless.cjs.map +1 -1
  21. package/dist/v2/headless.d.cts.map +1 -1
  22. package/dist/v2/headless.d.mts +2 -2
  23. package/dist/v2/headless.d.mts.map +1 -1
  24. package/dist/v2/headless.mjs +21 -39
  25. package/dist/v2/headless.mjs.map +1 -1
  26. package/dist/v2/index.cjs +302 -121
  27. package/dist/v2/index.d.cts +2 -2
  28. package/dist/v2/index.d.mts +2 -2
  29. package/dist/v2/index.mjs +2 -2
  30. package/dist/v2/index.umd.js +373 -169
  31. package/dist/v2/index.umd.js.map +1 -1
  32. package/package.json +10 -10
  33. package/dist/copilotkit-CGlSOKHM.d.mts.map +0 -1
  34. package/dist/copilotkit-Cjj9wDI8.d.cts.map +0 -1
  35. package/dist/copilotkit-DIudpHkM.cjs.map +0 -1
  36. package/dist/copilotkit-DfsHZUuo.mjs.map +0 -1
package/dist/v2/index.cjs CHANGED
@@ -1,14 +1,21 @@
1
1
  "use client";
2
2
 
3
3
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
- const require_copilotkit = require('../copilotkit-DIudpHkM.cjs');
4
+ const require_copilotkit = require('../copilotkit-dHdNF7H5.cjs');
5
5
  require("./index.css");
6
6
  let _copilotkit_a2ui_renderer = require("@copilotkit/a2ui-renderer");
7
7
  let _copilotkit_core = require("@copilotkit/core");
8
+ let _ag_ui_core_schemas = require("@ag-ui/core/schemas");
8
9
  let _ag_ui_client = require("@ag-ui/client");
9
10
  let _copilotkit_mcp_apps_renderer_activity = require("@copilotkit/mcp-apps-renderer/activity");
10
11
  let _copilotkit_react_core_v2_context = require("@copilotkit/react-core/v2/context");
11
12
 
13
+ Object.defineProperty(exports, 'ACTIVITY_HISTORY_METADATA', {
14
+ enumerable: true,
15
+ get: function () {
16
+ return _ag_ui_client.ACTIVITY_HISTORY_METADATA;
17
+ }
18
+ });
12
19
  Object.defineProperty(exports, 'AGUIConnectNotImplementedError', {
13
20
  enumerable: true,
14
21
  get: function () {
@@ -36,25 +43,31 @@ Object.defineProperty(exports, 'AbstractAgent', {
36
43
  Object.defineProperty(exports, 'ActivityDeltaEventSchema', {
37
44
  enumerable: true,
38
45
  get: function () {
39
- return _ag_ui_client.ActivityDeltaEventSchema;
46
+ return _ag_ui_core_schemas.ActivityDeltaEventSchema;
40
47
  }
41
48
  });
42
49
  Object.defineProperty(exports, 'ActivityMessageSchema', {
43
50
  enumerable: true,
44
51
  get: function () {
45
- return _ag_ui_client.ActivityMessageSchema;
52
+ return _ag_ui_core_schemas.ActivityMessageSchema;
46
53
  }
47
54
  });
48
55
  Object.defineProperty(exports, 'ActivitySnapshotEventSchema', {
49
56
  enumerable: true,
50
57
  get: function () {
51
- return _ag_ui_client.ActivitySnapshotEventSchema;
58
+ return _ag_ui_core_schemas.ActivitySnapshotEventSchema;
59
+ }
60
+ });
61
+ Object.defineProperty(exports, 'AddOperationSchema', {
62
+ enumerable: true,
63
+ get: function () {
64
+ return _ag_ui_core_schemas.AddOperationSchema;
52
65
  }
53
66
  });
54
67
  Object.defineProperty(exports, 'AgentCapabilitiesSchema', {
55
68
  enumerable: true,
56
69
  get: function () {
57
- return _ag_ui_client.AgentCapabilitiesSchema;
70
+ return _ag_ui_core_schemas.AgentCapabilitiesSchema;
58
71
  }
59
72
  });
60
73
  Object.defineProperty(exports, 'AgentRegistry', {
@@ -72,19 +85,31 @@ Object.defineProperty(exports, 'AgentThreadLockedError', {
72
85
  Object.defineProperty(exports, 'AssistantMessageSchema', {
73
86
  enumerable: true,
74
87
  get: function () {
75
- return _ag_ui_client.AssistantMessageSchema;
88
+ return _ag_ui_core_schemas.AssistantMessageSchema;
89
+ }
90
+ });
91
+ Object.defineProperty(exports, 'AttributableSchema', {
92
+ enumerable: true,
93
+ get: function () {
94
+ return _ag_ui_core_schemas.AttributableSchema;
76
95
  }
77
96
  });
78
97
  Object.defineProperty(exports, 'AudioInputContentSchema', {
79
98
  enumerable: true,
80
99
  get: function () {
81
- return _ag_ui_client.AudioInputContentSchema;
100
+ return _ag_ui_core_schemas.AudioInputContentSchema;
82
101
  }
83
102
  });
84
103
  Object.defineProperty(exports, 'AudioInputPartSchema', {
85
104
  enumerable: true,
86
105
  get: function () {
87
- return _ag_ui_client.AudioInputPartSchema;
106
+ return _ag_ui_core_schemas.AudioInputPartSchema;
107
+ }
108
+ });
109
+ Object.defineProperty(exports, 'AudioPartSchema', {
110
+ enumerable: true,
111
+ get: function () {
112
+ return _ag_ui_core_schemas.AudioPartSchema;
88
113
  }
89
114
  });
90
115
  exports.AudioRecorderError = require_copilotkit.AudioRecorderError;
@@ -100,12 +125,6 @@ Object.defineProperty(exports, 'BackwardCompatibility_0_0_45', {
100
125
  return _ag_ui_client.BackwardCompatibility_0_0_45;
101
126
  }
102
127
  });
103
- Object.defineProperty(exports, 'BackwardCompatibility_0_0_47', {
104
- enumerable: true,
105
- get: function () {
106
- return _ag_ui_client.BackwardCompatibility_0_0_47;
107
- }
108
- });
109
128
  Object.defineProperty(exports, 'BackwardCompatibility_0_0_57', {
110
129
  enumerable: true,
111
130
  get: function () {
@@ -115,25 +134,31 @@ Object.defineProperty(exports, 'BackwardCompatibility_0_0_57', {
115
134
  Object.defineProperty(exports, 'BaseEventSchema', {
116
135
  enumerable: true,
117
136
  get: function () {
118
- return _ag_ui_client.BaseEventSchema;
137
+ return _ag_ui_core_schemas.BaseEventSchema;
119
138
  }
120
139
  });
121
140
  Object.defineProperty(exports, 'BaseMessageSchema', {
122
141
  enumerable: true,
123
142
  get: function () {
124
- return _ag_ui_client.BaseMessageSchema;
143
+ return _ag_ui_core_schemas.BaseMessageSchema;
125
144
  }
126
145
  });
127
- Object.defineProperty(exports, 'BinaryInputContentSchema', {
146
+ Object.defineProperty(exports, 'CompatibilityBoundary', {
128
147
  enumerable: true,
129
148
  get: function () {
130
- return _ag_ui_client.BinaryInputContentSchema;
149
+ return _ag_ui_client.CompatibilityBoundary;
150
+ }
151
+ });
152
+ Object.defineProperty(exports, 'ContentPartSchema', {
153
+ enumerable: true,
154
+ get: function () {
155
+ return _ag_ui_core_schemas.ContentPartSchema;
131
156
  }
132
157
  });
133
158
  Object.defineProperty(exports, 'ContextSchema', {
134
159
  enumerable: true,
135
160
  get: function () {
136
- return _ag_ui_client.ContextSchema;
161
+ return _ag_ui_core_schemas.ContextSchema;
137
162
  }
138
163
  });
139
164
  Object.defineProperty(exports, 'ContextStore', {
@@ -207,10 +232,22 @@ Object.defineProperty(exports, 'CopilotSidebarView', {
207
232
  }
208
233
  });
209
234
  exports.CopilotThreadsDrawer = require_copilotkit.CopilotThreadsDrawer;
235
+ Object.defineProperty(exports, 'CopyOperationSchema', {
236
+ enumerable: true,
237
+ get: function () {
238
+ return _ag_ui_core_schemas.CopyOperationSchema;
239
+ }
240
+ });
210
241
  Object.defineProperty(exports, 'CustomEventSchema', {
211
242
  enumerable: true,
212
243
  get: function () {
213
- return _ag_ui_client.CustomEventSchema;
244
+ return _ag_ui_core_schemas.CustomEventSchema;
245
+ }
246
+ });
247
+ Object.defineProperty(exports, 'DataSourceSchema', {
248
+ enumerable: true,
249
+ get: function () {
250
+ return _ag_ui_core_schemas.DataSourceSchema;
214
251
  }
215
252
  });
216
253
  Object.defineProperty(exports, 'DebugLogger', {
@@ -222,25 +259,37 @@ Object.defineProperty(exports, 'DebugLogger', {
222
259
  Object.defineProperty(exports, 'DeveloperMessageSchema', {
223
260
  enumerable: true,
224
261
  get: function () {
225
- return _ag_ui_client.DeveloperMessageSchema;
262
+ return _ag_ui_core_schemas.DeveloperMessageSchema;
226
263
  }
227
264
  });
228
265
  Object.defineProperty(exports, 'DocumentInputContentSchema', {
229
266
  enumerable: true,
230
267
  get: function () {
231
- return _ag_ui_client.DocumentInputContentSchema;
268
+ return _ag_ui_core_schemas.DocumentInputContentSchema;
232
269
  }
233
270
  });
234
271
  Object.defineProperty(exports, 'DocumentInputPartSchema', {
235
272
  enumerable: true,
236
273
  get: function () {
237
- return _ag_ui_client.DocumentInputPartSchema;
274
+ return _ag_ui_core_schemas.DocumentInputPartSchema;
275
+ }
276
+ });
277
+ Object.defineProperty(exports, 'DocumentPartSchema', {
278
+ enumerable: true,
279
+ get: function () {
280
+ return _ag_ui_core_schemas.DocumentPartSchema;
281
+ }
282
+ });
283
+ Object.defineProperty(exports, 'EventSchema', {
284
+ enumerable: true,
285
+ get: function () {
286
+ return _ag_ui_core_schemas.EventSchema;
238
287
  }
239
288
  });
240
289
  Object.defineProperty(exports, 'EventSchemas', {
241
290
  enumerable: true,
242
291
  get: function () {
243
- return _ag_ui_client.EventSchemas;
292
+ return _ag_ui_core_schemas.EventSchemas;
244
293
  }
245
294
  });
246
295
  Object.defineProperty(exports, 'EventType', {
@@ -249,10 +298,22 @@ Object.defineProperty(exports, 'EventType', {
249
298
  return _ag_ui_client.EventType;
250
299
  }
251
300
  });
301
+ Object.defineProperty(exports, 'EventTypeSchema', {
302
+ enumerable: true,
303
+ get: function () {
304
+ return _ag_ui_core_schemas.EventTypeSchema;
305
+ }
306
+ });
252
307
  Object.defineProperty(exports, 'ExecutionCapabilitiesSchema', {
253
308
  enumerable: true,
254
309
  get: function () {
255
- return _ag_ui_client.ExecutionCapabilitiesSchema;
310
+ return _ag_ui_core_schemas.ExecutionCapabilitiesSchema;
311
+ }
312
+ });
313
+ Object.defineProperty(exports, 'FileSourceSchema', {
314
+ enumerable: true,
315
+ get: function () {
316
+ return _ag_ui_core_schemas.FileSourceSchema;
256
317
  }
257
318
  });
258
319
  Object.defineProperty(exports, 'FilterToolCallsMiddleware', {
@@ -264,7 +325,7 @@ Object.defineProperty(exports, 'FilterToolCallsMiddleware', {
264
325
  Object.defineProperty(exports, 'FunctionCallSchema', {
265
326
  enumerable: true,
266
327
  get: function () {
267
- return _ag_ui_client.FunctionCallSchema;
328
+ return _ag_ui_core_schemas.FunctionCallSchema;
268
329
  }
269
330
  });
270
331
  Object.defineProperty(exports, 'FunctionMiddleware', {
@@ -283,7 +344,7 @@ Object.defineProperty(exports, 'HttpAgent', {
283
344
  Object.defineProperty(exports, 'HumanInTheLoopCapabilitiesSchema', {
284
345
  enumerable: true,
285
346
  get: function () {
286
- return _ag_ui_client.HumanInTheLoopCapabilitiesSchema;
347
+ return _ag_ui_core_schemas.HumanInTheLoopCapabilitiesSchema;
287
348
  }
288
349
  });
289
350
  Object.defineProperty(exports, 'INSPECTOR_THREAD_BRIDGE_PLUGIN_ID', {
@@ -297,43 +358,49 @@ exports.INTERRUPT_EVENT_NAME = require_copilotkit.INTERRUPT_EVENT_NAME;
297
358
  Object.defineProperty(exports, 'IdentityCapabilitiesSchema', {
298
359
  enumerable: true,
299
360
  get: function () {
300
- return _ag_ui_client.IdentityCapabilitiesSchema;
361
+ return _ag_ui_core_schemas.IdentityCapabilitiesSchema;
301
362
  }
302
363
  });
303
364
  Object.defineProperty(exports, 'ImageInputContentSchema', {
304
365
  enumerable: true,
305
366
  get: function () {
306
- return _ag_ui_client.ImageInputContentSchema;
367
+ return _ag_ui_core_schemas.ImageInputContentSchema;
307
368
  }
308
369
  });
309
370
  Object.defineProperty(exports, 'ImageInputPartSchema', {
310
371
  enumerable: true,
311
372
  get: function () {
312
- return _ag_ui_client.ImageInputPartSchema;
373
+ return _ag_ui_core_schemas.ImageInputPartSchema;
374
+ }
375
+ });
376
+ Object.defineProperty(exports, 'ImagePartSchema', {
377
+ enumerable: true,
378
+ get: function () {
379
+ return _ag_ui_core_schemas.ImagePartSchema;
313
380
  }
314
381
  });
315
382
  Object.defineProperty(exports, 'InputContentDataSourceSchema', {
316
383
  enumerable: true,
317
384
  get: function () {
318
- return _ag_ui_client.InputContentDataSourceSchema;
385
+ return _ag_ui_core_schemas.InputContentDataSourceSchema;
319
386
  }
320
387
  });
321
388
  Object.defineProperty(exports, 'InputContentSchema', {
322
389
  enumerable: true,
323
390
  get: function () {
324
- return _ag_ui_client.InputContentSchema;
391
+ return _ag_ui_core_schemas.InputContentSchema;
325
392
  }
326
393
  });
327
394
  Object.defineProperty(exports, 'InputContentSourceSchema', {
328
395
  enumerable: true,
329
396
  get: function () {
330
- return _ag_ui_client.InputContentSourceSchema;
397
+ return _ag_ui_core_schemas.InputContentSourceSchema;
331
398
  }
332
399
  });
333
400
  Object.defineProperty(exports, 'InputContentUrlSourceSchema', {
334
401
  enumerable: true,
335
402
  get: function () {
336
- return _ag_ui_client.InputContentUrlSourceSchema;
403
+ return _ag_ui_core_schemas.InputContentUrlSourceSchema;
337
404
  }
338
405
  });
339
406
  Object.defineProperty(exports, 'IntelligenceAgent', {
@@ -347,7 +414,25 @@ exports.IntelligenceIndicatorView = require_copilotkit.IntelligenceIndicatorView
347
414
  Object.defineProperty(exports, 'InterruptSchema', {
348
415
  enumerable: true,
349
416
  get: function () {
350
- return _ag_ui_client.InterruptSchema;
417
+ return _ag_ui_core_schemas.InterruptSchema;
418
+ }
419
+ });
420
+ Object.defineProperty(exports, 'JsonPatchOperationSchema', {
421
+ enumerable: true,
422
+ get: function () {
423
+ return _ag_ui_core_schemas.JsonPatchOperationSchema;
424
+ }
425
+ });
426
+ Object.defineProperty(exports, 'JsonPatchSchema', {
427
+ enumerable: true,
428
+ get: function () {
429
+ return _ag_ui_core_schemas.JsonPatchSchema;
430
+ }
431
+ });
432
+ Object.defineProperty(exports, 'JsonPointerSchema', {
433
+ enumerable: true,
434
+ get: function () {
435
+ return _ag_ui_core_schemas.JsonPointerSchema;
351
436
  }
352
437
  });
353
438
  Object.defineProperty(exports, 'MCPAppsActivityContentSchema', {
@@ -378,19 +463,19 @@ Object.defineProperty(exports, 'MemoryError', {
378
463
  Object.defineProperty(exports, 'MessageSchema', {
379
464
  enumerable: true,
380
465
  get: function () {
381
- return _ag_ui_client.MessageSchema;
466
+ return _ag_ui_core_schemas.MessageSchema;
382
467
  }
383
468
  });
384
469
  Object.defineProperty(exports, 'MessagesSnapshotEventSchema', {
385
470
  enumerable: true,
386
471
  get: function () {
387
- return _ag_ui_client.MessagesSnapshotEventSchema;
472
+ return _ag_ui_core_schemas.MessagesSnapshotEventSchema;
388
473
  }
389
474
  });
390
475
  Object.defineProperty(exports, 'MetadataSchema', {
391
476
  enumerable: true,
392
477
  get: function () {
393
- return _ag_ui_client.MetadataSchema;
478
+ return _ag_ui_core_schemas.MetadataSchema;
394
479
  }
395
480
  });
396
481
  Object.defineProperty(exports, 'Middleware', {
@@ -399,28 +484,34 @@ Object.defineProperty(exports, 'Middleware', {
399
484
  return _ag_ui_client.Middleware;
400
485
  }
401
486
  });
487
+ Object.defineProperty(exports, 'MoveOperationSchema', {
488
+ enumerable: true,
489
+ get: function () {
490
+ return _ag_ui_core_schemas.MoveOperationSchema;
491
+ }
492
+ });
402
493
  Object.defineProperty(exports, 'MultiAgentCapabilitiesSchema', {
403
494
  enumerable: true,
404
495
  get: function () {
405
- return _ag_ui_client.MultiAgentCapabilitiesSchema;
496
+ return _ag_ui_core_schemas.MultiAgentCapabilitiesSchema;
406
497
  }
407
498
  });
408
499
  Object.defineProperty(exports, 'MultimodalCapabilitiesSchema', {
409
500
  enumerable: true,
410
501
  get: function () {
411
- return _ag_ui_client.MultimodalCapabilitiesSchema;
502
+ return _ag_ui_core_schemas.MultimodalCapabilitiesSchema;
412
503
  }
413
504
  });
414
505
  Object.defineProperty(exports, 'MultimodalInputCapabilitiesSchema', {
415
506
  enumerable: true,
416
507
  get: function () {
417
- return _ag_ui_client.MultimodalInputCapabilitiesSchema;
508
+ return _ag_ui_core_schemas.MultimodalInputCapabilitiesSchema;
418
509
  }
419
510
  });
420
511
  Object.defineProperty(exports, 'MultimodalOutputCapabilitiesSchema', {
421
512
  enumerable: true,
422
513
  get: function () {
423
- return _ag_ui_client.MultimodalOutputCapabilitiesSchema;
514
+ return _ag_ui_core_schemas.MultimodalOutputCapabilitiesSchema;
424
515
  }
425
516
  });
426
517
  exports.OpenGenerativeUIActivityRenderer = require_copilotkit.OpenGenerativeUIActivityRenderer;
@@ -430,13 +521,25 @@ exports.OpenGenerativeUIToolRenderer = require_copilotkit.OpenGenerativeUIToolRe
430
521
  Object.defineProperty(exports, 'OptionalMetadataSchema', {
431
522
  enumerable: true,
432
523
  get: function () {
433
- return _ag_ui_client.OptionalMetadataSchema;
524
+ return _ag_ui_core_schemas.OptionalMetadataSchema;
434
525
  }
435
526
  });
436
527
  Object.defineProperty(exports, 'OutputCapabilitiesSchema', {
437
528
  enumerable: true,
438
529
  get: function () {
439
- return _ag_ui_client.OutputCapabilitiesSchema;
530
+ return _ag_ui_core_schemas.OutputCapabilitiesSchema;
531
+ }
532
+ });
533
+ Object.defineProperty(exports, 'PROTOCOL_VERSION', {
534
+ enumerable: true,
535
+ get: function () {
536
+ return _ag_ui_client.PROTOCOL_VERSION;
537
+ }
538
+ });
539
+ Object.defineProperty(exports, 'PartSourceSchema', {
540
+ enumerable: true,
541
+ get: function () {
542
+ return _ag_ui_core_schemas.PartSourceSchema;
440
543
  }
441
544
  });
442
545
  Object.defineProperty(exports, 'ProxiedCopilotRuntimeAgent', {
@@ -448,115 +551,133 @@ Object.defineProperty(exports, 'ProxiedCopilotRuntimeAgent', {
448
551
  Object.defineProperty(exports, 'RawEventSchema', {
449
552
  enumerable: true,
450
553
  get: function () {
451
- return _ag_ui_client.RawEventSchema;
554
+ return _ag_ui_core_schemas.RawEventSchema;
452
555
  }
453
556
  });
454
557
  Object.defineProperty(exports, 'ReasoningCapabilitiesSchema', {
455
558
  enumerable: true,
456
559
  get: function () {
457
- return _ag_ui_client.ReasoningCapabilitiesSchema;
560
+ return _ag_ui_core_schemas.ReasoningCapabilitiesSchema;
458
561
  }
459
562
  });
460
563
  Object.defineProperty(exports, 'ReasoningEncryptedValueEventSchema', {
461
564
  enumerable: true,
462
565
  get: function () {
463
- return _ag_ui_client.ReasoningEncryptedValueEventSchema;
566
+ return _ag_ui_core_schemas.ReasoningEncryptedValueEventSchema;
464
567
  }
465
568
  });
466
569
  Object.defineProperty(exports, 'ReasoningEncryptedValueSubtypeSchema', {
467
570
  enumerable: true,
468
571
  get: function () {
469
- return _ag_ui_client.ReasoningEncryptedValueSubtypeSchema;
572
+ return _ag_ui_core_schemas.ReasoningEncryptedValueSubtypeSchema;
470
573
  }
471
574
  });
472
575
  Object.defineProperty(exports, 'ReasoningEndEventSchema', {
473
576
  enumerable: true,
474
577
  get: function () {
475
- return _ag_ui_client.ReasoningEndEventSchema;
578
+ return _ag_ui_core_schemas.ReasoningEndEventSchema;
476
579
  }
477
580
  });
478
581
  Object.defineProperty(exports, 'ReasoningMessageChunkEventSchema', {
479
582
  enumerable: true,
480
583
  get: function () {
481
- return _ag_ui_client.ReasoningMessageChunkEventSchema;
584
+ return _ag_ui_core_schemas.ReasoningMessageChunkEventSchema;
482
585
  }
483
586
  });
484
587
  Object.defineProperty(exports, 'ReasoningMessageContentEventSchema', {
485
588
  enumerable: true,
486
589
  get: function () {
487
- return _ag_ui_client.ReasoningMessageContentEventSchema;
590
+ return _ag_ui_core_schemas.ReasoningMessageContentEventSchema;
488
591
  }
489
592
  });
490
593
  Object.defineProperty(exports, 'ReasoningMessageEndEventSchema', {
491
594
  enumerable: true,
492
595
  get: function () {
493
- return _ag_ui_client.ReasoningMessageEndEventSchema;
596
+ return _ag_ui_core_schemas.ReasoningMessageEndEventSchema;
494
597
  }
495
598
  });
496
599
  Object.defineProperty(exports, 'ReasoningMessageSchema', {
497
600
  enumerable: true,
498
601
  get: function () {
499
- return _ag_ui_client.ReasoningMessageSchema;
602
+ return _ag_ui_core_schemas.ReasoningMessageSchema;
500
603
  }
501
604
  });
502
605
  Object.defineProperty(exports, 'ReasoningMessageStartEventSchema', {
503
606
  enumerable: true,
504
607
  get: function () {
505
- return _ag_ui_client.ReasoningMessageStartEventSchema;
608
+ return _ag_ui_core_schemas.ReasoningMessageStartEventSchema;
506
609
  }
507
610
  });
508
611
  Object.defineProperty(exports, 'ReasoningStartEventSchema', {
509
612
  enumerable: true,
510
613
  get: function () {
511
- return _ag_ui_client.ReasoningStartEventSchema;
614
+ return _ag_ui_core_schemas.ReasoningStartEventSchema;
615
+ }
616
+ });
617
+ Object.defineProperty(exports, 'RemoveOperationSchema', {
618
+ enumerable: true,
619
+ get: function () {
620
+ return _ag_ui_core_schemas.RemoveOperationSchema;
621
+ }
622
+ });
623
+ Object.defineProperty(exports, 'ReplaceOperationSchema', {
624
+ enumerable: true,
625
+ get: function () {
626
+ return _ag_ui_core_schemas.ReplaceOperationSchema;
512
627
  }
513
628
  });
514
629
  Object.defineProperty(exports, 'ResumeEntrySchema', {
515
630
  enumerable: true,
516
631
  get: function () {
517
- return _ag_ui_client.ResumeEntrySchema;
632
+ return _ag_ui_core_schemas.ResumeEntrySchema;
518
633
  }
519
634
  });
520
635
  Object.defineProperty(exports, 'RoleSchema', {
521
636
  enumerable: true,
522
637
  get: function () {
523
- return _ag_ui_client.RoleSchema;
638
+ return _ag_ui_core_schemas.RoleSchema;
524
639
  }
525
640
  });
526
641
  Object.defineProperty(exports, 'RunAgentInputSchema', {
527
642
  enumerable: true,
528
643
  get: function () {
529
- return _ag_ui_client.RunAgentInputSchema;
644
+ return _ag_ui_core_schemas.RunAgentInputSchema;
530
645
  }
531
646
  });
532
647
  Object.defineProperty(exports, 'RunErrorEventSchema', {
533
648
  enumerable: true,
534
649
  get: function () {
535
- return _ag_ui_client.RunErrorEventSchema;
650
+ return _ag_ui_core_schemas.RunErrorEventSchema;
651
+ }
652
+ });
653
+ Object.defineProperty(exports, 'RunFinishedCancelledOutcomeSchema', {
654
+ enumerable: true,
655
+ get: function () {
656
+ return _ag_ui_core_schemas.RunFinishedCancelledOutcomeSchema;
536
657
  }
537
658
  });
538
659
  Object.defineProperty(exports, 'RunFinishedEventSchema', {
539
660
  enumerable: true,
540
661
  get: function () {
541
- return _ag_ui_client.RunFinishedEventSchema;
662
+ return _ag_ui_core_schemas.RunFinishedEventSchema;
542
663
  }
543
664
  });
544
665
  Object.defineProperty(exports, 'RunFinishedInterruptOutcomeSchema', {
545
666
  enumerable: true,
546
667
  get: function () {
547
- return _ag_ui_client.RunFinishedInterruptOutcomeSchema;
668
+ return _ag_ui_core_schemas.RunFinishedInterruptOutcomeSchema;
548
669
  }
549
670
  });
550
671
  Object.defineProperty(exports, 'RunFinishedOutcomeSchema', {
551
672
  enumerable: true,
552
673
  get: function () {
553
- return _ag_ui_client.RunFinishedOutcomeSchema;
674
+ return _ag_ui_core_schemas.RunFinishedOutcomeSchema;
554
675
  }
555
676
  });
556
677
  Object.defineProperty(exports, 'RunFinishedSuccessOutcomeSchema', {
557
678
  enumerable: true,
558
679
  get: function () {
559
- return _ag_ui_client.RunFinishedSuccessOutcomeSchema;
680
+ return _ag_ui_core_schemas.RunFinishedSuccessOutcomeSchema;
560
681
  }
561
682
  });
562
683
  Object.defineProperty(exports, 'RunHandler', {
@@ -568,20 +689,20 @@ Object.defineProperty(exports, 'RunHandler', {
568
689
  Object.defineProperty(exports, 'RunStartedEventSchema', {
569
690
  enumerable: true,
570
691
  get: function () {
571
- return _ag_ui_client.RunStartedEventSchema;
692
+ return _ag_ui_core_schemas.RunStartedEventSchema;
572
693
  }
573
694
  });
574
695
  exports.SandboxFunctionsContext = require_copilotkit.SandboxFunctionsContext;
575
696
  Object.defineProperty(exports, 'StateCapabilitiesSchema', {
576
697
  enumerable: true,
577
698
  get: function () {
578
- return _ag_ui_client.StateCapabilitiesSchema;
699
+ return _ag_ui_core_schemas.StateCapabilitiesSchema;
579
700
  }
580
701
  });
581
702
  Object.defineProperty(exports, 'StateDeltaEventSchema', {
582
703
  enumerable: true,
583
704
  get: function () {
584
- return _ag_ui_client.StateDeltaEventSchema;
705
+ return _ag_ui_core_schemas.StateDeltaEventSchema;
585
706
  }
586
707
  });
587
708
  Object.defineProperty(exports, 'StateManager', {
@@ -593,181 +714,175 @@ Object.defineProperty(exports, 'StateManager', {
593
714
  Object.defineProperty(exports, 'StateSchema', {
594
715
  enumerable: true,
595
716
  get: function () {
596
- return _ag_ui_client.StateSchema;
717
+ return _ag_ui_core_schemas.StateSchema;
597
718
  }
598
719
  });
599
720
  Object.defineProperty(exports, 'StateSnapshotEventSchema', {
600
721
  enumerable: true,
601
722
  get: function () {
602
- return _ag_ui_client.StateSnapshotEventSchema;
723
+ return _ag_ui_core_schemas.StateSnapshotEventSchema;
603
724
  }
604
725
  });
605
726
  Object.defineProperty(exports, 'StepFinishedEventSchema', {
606
727
  enumerable: true,
607
728
  get: function () {
608
- return _ag_ui_client.StepFinishedEventSchema;
729
+ return _ag_ui_core_schemas.StepFinishedEventSchema;
609
730
  }
610
731
  });
611
732
  Object.defineProperty(exports, 'StepStartedEventSchema', {
612
733
  enumerable: true,
613
734
  get: function () {
614
- return _ag_ui_client.StepStartedEventSchema;
615
- }
616
- });
617
- Object.defineProperty(exports, 'SubAgentInfoSchema', {
618
- enumerable: true,
619
- get: function () {
620
- return _ag_ui_client.SubAgentInfoSchema;
735
+ return _ag_ui_core_schemas.StepStartedEventSchema;
621
736
  }
622
737
  });
623
738
  Object.defineProperty(exports, 'SubagentErrorEventSchema', {
624
739
  enumerable: true,
625
740
  get: function () {
626
- return _ag_ui_client.SubagentErrorEventSchema;
741
+ return _ag_ui_core_schemas.SubagentErrorEventSchema;
627
742
  }
628
743
  });
629
744
  Object.defineProperty(exports, 'SubagentFinishedEventSchema', {
630
745
  enumerable: true,
631
746
  get: function () {
632
- return _ag_ui_client.SubagentFinishedEventSchema;
747
+ return _ag_ui_core_schemas.SubagentFinishedEventSchema;
633
748
  }
634
749
  });
635
750
  Object.defineProperty(exports, 'SubagentFinishedOutcomeSchema', {
636
751
  enumerable: true,
637
752
  get: function () {
638
- return _ag_ui_client.SubagentFinishedOutcomeSchema;
753
+ return _ag_ui_core_schemas.SubagentFinishedOutcomeSchema;
639
754
  }
640
755
  });
641
756
  Object.defineProperty(exports, 'SubagentFinishedSuccessOutcomeSchema', {
642
757
  enumerable: true,
643
758
  get: function () {
644
- return _ag_ui_client.SubagentFinishedSuccessOutcomeSchema;
759
+ return _ag_ui_core_schemas.SubagentFinishedSuccessOutcomeSchema;
645
760
  }
646
761
  });
647
762
  Object.defineProperty(exports, 'SubagentFinishedSuspendedOutcomeSchema', {
648
763
  enumerable: true,
649
764
  get: function () {
650
- return _ag_ui_client.SubagentFinishedSuspendedOutcomeSchema;
765
+ return _ag_ui_core_schemas.SubagentFinishedSuspendedOutcomeSchema;
651
766
  }
652
767
  });
653
- Object.defineProperty(exports, 'SubagentStartedEventSchema', {
768
+ Object.defineProperty(exports, 'SubagentInfoSchema', {
654
769
  enumerable: true,
655
770
  get: function () {
656
- return _ag_ui_client.SubagentStartedEventSchema;
771
+ return _ag_ui_core_schemas.SubagentInfoSchema;
657
772
  }
658
773
  });
659
- Object.defineProperty(exports, 'SuggestionEngine', {
774
+ Object.defineProperty(exports, 'SubagentRunIdSchema', {
660
775
  enumerable: true,
661
776
  get: function () {
662
- return _copilotkit_core.SuggestionEngine;
777
+ return _ag_ui_core_schemas.SubagentRunIdSchema;
663
778
  }
664
779
  });
665
- Object.defineProperty(exports, 'SystemMessageSchema', {
780
+ Object.defineProperty(exports, 'SubagentStartedEventSchema', {
666
781
  enumerable: true,
667
782
  get: function () {
668
- return _ag_ui_client.SystemMessageSchema;
783
+ return _ag_ui_core_schemas.SubagentStartedEventSchema;
669
784
  }
670
785
  });
671
- Object.defineProperty(exports, 'TextInputContentSchema', {
786
+ Object.defineProperty(exports, 'SuggestionEngine', {
672
787
  enumerable: true,
673
788
  get: function () {
674
- return _ag_ui_client.TextInputContentSchema;
789
+ return _copilotkit_core.SuggestionEngine;
675
790
  }
676
791
  });
677
- Object.defineProperty(exports, 'TextMessageChunkEventSchema', {
792
+ Object.defineProperty(exports, 'SystemMessageSchema', {
678
793
  enumerable: true,
679
794
  get: function () {
680
- return _ag_ui_client.TextMessageChunkEventSchema;
795
+ return _ag_ui_core_schemas.SystemMessageSchema;
681
796
  }
682
797
  });
683
- Object.defineProperty(exports, 'TextMessageContentEventSchema', {
798
+ Object.defineProperty(exports, 'TestOperationSchema', {
684
799
  enumerable: true,
685
800
  get: function () {
686
- return _ag_ui_client.TextMessageContentEventSchema;
801
+ return _ag_ui_core_schemas.TestOperationSchema;
687
802
  }
688
803
  });
689
- Object.defineProperty(exports, 'TextMessageEndEventSchema', {
804
+ Object.defineProperty(exports, 'TextInputContentSchema', {
690
805
  enumerable: true,
691
806
  get: function () {
692
- return _ag_ui_client.TextMessageEndEventSchema;
807
+ return _ag_ui_core_schemas.TextInputContentSchema;
693
808
  }
694
809
  });
695
- Object.defineProperty(exports, 'TextMessageStartEventSchema', {
810
+ Object.defineProperty(exports, 'TextMessageChunkEventSchema', {
696
811
  enumerable: true,
697
812
  get: function () {
698
- return _ag_ui_client.TextMessageStartEventSchema;
813
+ return _ag_ui_core_schemas.TextMessageChunkEventSchema;
699
814
  }
700
815
  });
701
- Object.defineProperty(exports, 'ThinkingEndEventSchema', {
816
+ Object.defineProperty(exports, 'TextMessageContentEventSchema', {
702
817
  enumerable: true,
703
818
  get: function () {
704
- return _ag_ui_client.ThinkingEndEventSchema;
819
+ return _ag_ui_core_schemas.TextMessageContentEventSchema;
705
820
  }
706
821
  });
707
- Object.defineProperty(exports, 'ThinkingStartEventSchema', {
822
+ Object.defineProperty(exports, 'TextMessageEndEventSchema', {
708
823
  enumerable: true,
709
824
  get: function () {
710
- return _ag_ui_client.ThinkingStartEventSchema;
825
+ return _ag_ui_core_schemas.TextMessageEndEventSchema;
711
826
  }
712
827
  });
713
- Object.defineProperty(exports, 'ThinkingTextMessageContentEventSchema', {
828
+ Object.defineProperty(exports, 'TextMessageRoleSchema', {
714
829
  enumerable: true,
715
830
  get: function () {
716
- return _ag_ui_client.ThinkingTextMessageContentEventSchema;
831
+ return _ag_ui_core_schemas.TextMessageRoleSchema;
717
832
  }
718
833
  });
719
- Object.defineProperty(exports, 'ThinkingTextMessageEndEventSchema', {
834
+ Object.defineProperty(exports, 'TextMessageStartEventSchema', {
720
835
  enumerable: true,
721
836
  get: function () {
722
- return _ag_ui_client.ThinkingTextMessageEndEventSchema;
837
+ return _ag_ui_core_schemas.TextMessageStartEventSchema;
723
838
  }
724
839
  });
725
- Object.defineProperty(exports, 'ThinkingTextMessageStartEventSchema', {
840
+ Object.defineProperty(exports, 'TextPartSchema', {
726
841
  enumerable: true,
727
842
  get: function () {
728
- return _ag_ui_client.ThinkingTextMessageStartEventSchema;
843
+ return _ag_ui_core_schemas.TextPartSchema;
729
844
  }
730
845
  });
731
846
  Object.defineProperty(exports, 'TokenUsageSchema', {
732
847
  enumerable: true,
733
848
  get: function () {
734
- return _ag_ui_client.TokenUsageSchema;
849
+ return _ag_ui_core_schemas.TokenUsageSchema;
735
850
  }
736
851
  });
737
852
  Object.defineProperty(exports, 'ToolCallArgsEventSchema', {
738
853
  enumerable: true,
739
854
  get: function () {
740
- return _ag_ui_client.ToolCallArgsEventSchema;
855
+ return _ag_ui_core_schemas.ToolCallArgsEventSchema;
741
856
  }
742
857
  });
743
858
  Object.defineProperty(exports, 'ToolCallChunkEventSchema', {
744
859
  enumerable: true,
745
860
  get: function () {
746
- return _ag_ui_client.ToolCallChunkEventSchema;
861
+ return _ag_ui_core_schemas.ToolCallChunkEventSchema;
747
862
  }
748
863
  });
749
864
  Object.defineProperty(exports, 'ToolCallEndEventSchema', {
750
865
  enumerable: true,
751
866
  get: function () {
752
- return _ag_ui_client.ToolCallEndEventSchema;
867
+ return _ag_ui_core_schemas.ToolCallEndEventSchema;
753
868
  }
754
869
  });
755
870
  Object.defineProperty(exports, 'ToolCallResultEventSchema', {
756
871
  enumerable: true,
757
872
  get: function () {
758
- return _ag_ui_client.ToolCallResultEventSchema;
873
+ return _ag_ui_core_schemas.ToolCallResultEventSchema;
759
874
  }
760
875
  });
761
876
  Object.defineProperty(exports, 'ToolCallSchema', {
762
877
  enumerable: true,
763
878
  get: function () {
764
- return _ag_ui_client.ToolCallSchema;
879
+ return _ag_ui_core_schemas.ToolCallSchema;
765
880
  }
766
881
  });
767
882
  Object.defineProperty(exports, 'ToolCallStartEventSchema', {
768
883
  enumerable: true,
769
884
  get: function () {
770
- return _ag_ui_client.ToolCallStartEventSchema;
885
+ return _ag_ui_core_schemas.ToolCallStartEventSchema;
771
886
  }
772
887
  });
773
888
  Object.defineProperty(exports, 'ToolCallStatus', {
@@ -779,44 +894,56 @@ Object.defineProperty(exports, 'ToolCallStatus', {
779
894
  Object.defineProperty(exports, 'ToolMessageSchema', {
780
895
  enumerable: true,
781
896
  get: function () {
782
- return _ag_ui_client.ToolMessageSchema;
897
+ return _ag_ui_core_schemas.ToolMessageSchema;
783
898
  }
784
899
  });
785
900
  Object.defineProperty(exports, 'ToolSchema', {
786
901
  enumerable: true,
787
902
  get: function () {
788
- return _ag_ui_client.ToolSchema;
903
+ return _ag_ui_core_schemas.ToolSchema;
789
904
  }
790
905
  });
791
906
  Object.defineProperty(exports, 'ToolsCapabilitiesSchema', {
792
907
  enumerable: true,
793
908
  get: function () {
794
- return _ag_ui_client.ToolsCapabilitiesSchema;
909
+ return _ag_ui_core_schemas.ToolsCapabilitiesSchema;
795
910
  }
796
911
  });
797
912
  Object.defineProperty(exports, 'TransportCapabilitiesSchema', {
798
913
  enumerable: true,
799
914
  get: function () {
800
- return _ag_ui_client.TransportCapabilitiesSchema;
915
+ return _ag_ui_core_schemas.TransportCapabilitiesSchema;
916
+ }
917
+ });
918
+ Object.defineProperty(exports, 'UrlSourceSchema', {
919
+ enumerable: true,
920
+ get: function () {
921
+ return _ag_ui_core_schemas.UrlSourceSchema;
801
922
  }
802
923
  });
803
924
  exports.UseAgentUpdate = require_copilotkit.UseAgentUpdate;
804
925
  Object.defineProperty(exports, 'UserMessageSchema', {
805
926
  enumerable: true,
806
927
  get: function () {
807
- return _ag_ui_client.UserMessageSchema;
928
+ return _ag_ui_core_schemas.UserMessageSchema;
808
929
  }
809
930
  });
810
931
  Object.defineProperty(exports, 'VideoInputContentSchema', {
811
932
  enumerable: true,
812
933
  get: function () {
813
- return _ag_ui_client.VideoInputContentSchema;
934
+ return _ag_ui_core_schemas.VideoInputContentSchema;
814
935
  }
815
936
  });
816
937
  Object.defineProperty(exports, 'VideoInputPartSchema', {
817
938
  enumerable: true,
818
939
  get: function () {
819
- return _ag_ui_client.VideoInputPartSchema;
940
+ return _ag_ui_core_schemas.VideoInputPartSchema;
941
+ }
942
+ });
943
+ Object.defineProperty(exports, 'VideoPartSchema', {
944
+ enumerable: true,
945
+ get: function () {
946
+ return _ag_ui_core_schemas.VideoPartSchema;
820
947
  }
821
948
  });
822
949
  Object.defineProperty(exports, 'WebMCPRegistry', {
@@ -838,6 +965,12 @@ Object.defineProperty(exports, 'aggregateTokenUsage', {
838
965
  return _ag_ui_client.aggregateTokenUsage;
839
966
  }
840
967
  });
968
+ Object.defineProperty(exports, 'authoritativeActivityTypes', {
969
+ enumerable: true,
970
+ get: function () {
971
+ return _ag_ui_client.authoritativeActivityTypes;
972
+ }
973
+ });
841
974
  Object.defineProperty(exports, 'buildResumeArray', {
842
975
  enumerable: true,
843
976
  get: function () {
@@ -856,6 +989,18 @@ Object.defineProperty(exports, 'completePartialMarkdown', {
856
989
  return _copilotkit_core.completePartialMarkdown;
857
990
  }
858
991
  });
992
+ Object.defineProperty(exports, 'contentHasMedia', {
993
+ enumerable: true,
994
+ get: function () {
995
+ return _ag_ui_client.contentHasMedia;
996
+ }
997
+ });
998
+ Object.defineProperty(exports, 'contentToText', {
999
+ enumerable: true,
1000
+ get: function () {
1001
+ return _ag_ui_client.contentToText;
1002
+ }
1003
+ });
859
1004
  Object.defineProperty(exports, 'convertToLegacyEvents', {
860
1005
  enumerable: true,
861
1006
  get: function () {
@@ -942,6 +1087,18 @@ Object.defineProperty(exports, 'empty', {
942
1087
  return _copilotkit_core.empty;
943
1088
  }
944
1089
  });
1090
+ Object.defineProperty(exports, 'enforceEvents', {
1091
+ enumerable: true,
1092
+ get: function () {
1093
+ return _ag_ui_client.enforceEvents;
1094
+ }
1095
+ });
1096
+ Object.defineProperty(exports, 'enforceOutgoingInput', {
1097
+ enumerable: true,
1098
+ get: function () {
1099
+ return _ag_ui_client.enforceOutgoingInput;
1100
+ }
1101
+ });
945
1102
  Object.defineProperty(exports, 'ensureObjectArgs', {
946
1103
  enumerable: true,
947
1104
  get: function () {
@@ -979,6 +1136,12 @@ Object.defineProperty(exports, 'isInterruptExpired', {
979
1136
  return _ag_ui_client.isInterruptExpired;
980
1137
  }
981
1138
  });
1139
+ Object.defineProperty(exports, 'isRecognizedEvent', {
1140
+ enumerable: true,
1141
+ get: function () {
1142
+ return _ag_ui_client.isRecognizedEvent;
1143
+ }
1144
+ });
982
1145
  Object.defineProperty(exports, 'isRunCompletionAware', {
983
1146
  enumerable: true,
984
1147
  get: function () {
@@ -997,6 +1160,12 @@ Object.defineProperty(exports, 'ofType', {
997
1160
  return _copilotkit_core.ofType;
998
1161
  }
999
1162
  });
1163
+ Object.defineProperty(exports, 'omitOptionalNulls', {
1164
+ enumerable: true,
1165
+ get: function () {
1166
+ return _ag_ui_client.omitOptionalNulls;
1167
+ }
1168
+ });
1000
1169
  Object.defineProperty(exports, 'on', {
1001
1170
  enumerable: true,
1002
1171
  get: function () {
@@ -1153,6 +1322,12 @@ Object.defineProperty(exports, 'verifyEvents', {
1153
1322
  return _ag_ui_client.verifyEvents;
1154
1323
  }
1155
1324
  });
1325
+ Object.defineProperty(exports, 'withAuthoritativeActivityTypes', {
1326
+ enumerable: true,
1327
+ get: function () {
1328
+ return _ag_ui_client.withAuthoritativeActivityTypes;
1329
+ }
1330
+ });
1156
1331
  Object.defineProperty(exports, 'ɵCOPILOTKIT_FEATURES', {
1157
1332
  enumerable: true,
1158
1333
  get: function () {
@@ -1207,6 +1382,12 @@ Object.defineProperty(exports, 'ɵisCopilotKitFeature', {
1207
1382
  return _copilotkit_core.ɵisCopilotKitFeature;
1208
1383
  }
1209
1384
  });
1385
+ Object.defineProperty(exports, 'ɵisHttpAgent', {
1386
+ enumerable: true,
1387
+ get: function () {
1388
+ return _copilotkit_core.ɵisHttpAgent;
1389
+ }
1390
+ });
1210
1391
  Object.defineProperty(exports, 'ɵisRetryableMemoryStatus', {
1211
1392
  enumerable: true,
1212
1393
  get: function () {