@cossistant/react 0.0.32 → 0.0.33
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/hooks/index.d.ts +2 -2
- package/hooks/index.js +2 -2
- package/hooks/private/use-grouped-messages.d.ts +27 -2
- package/hooks/private/use-grouped-messages.d.ts.map +1 -1
- package/hooks/private/use-grouped-messages.js +154 -106
- package/hooks/private/use-grouped-messages.js.map +1 -1
- package/hooks/use-new-message-sound.d.ts.map +1 -1
- package/hooks/use-new-message-sound.js +2 -2
- package/hooks/use-new-message-sound.js.map +1 -1
- package/hooks/use-typing-sound.d.ts.map +1 -1
- package/hooks/use-typing-sound.js +2 -2
- package/hooks/use-typing-sound.js.map +1 -1
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +3 -5
- package/packages/tiny-markdown/src/context/index.d.ts +1 -0
- package/packages/tiny-markdown/src/context/tiny-markdown-context.d.ts +3 -0
- package/packages/tiny-markdown/src/hooks/index.d.ts +4 -0
- package/packages/tiny-markdown/src/hooks/use-caret-position.d.ts +1 -0
- package/packages/tiny-markdown/src/hooks/use-tiny-markdown.d.ts +1 -0
- package/packages/tiny-markdown/src/hooks/use-tiny-mention.d.ts +1 -0
- package/packages/tiny-markdown/src/hooks/use-tiny-shortcuts.d.ts +1 -0
- package/packages/tiny-markdown/src/index.d.ts +4 -0
- package/packages/tiny-markdown/src/types.d.ts +75 -0
- package/packages/tiny-markdown/src/types.d.ts.map +1 -0
- package/packages/tiny-markdown/src/utils/index.d.ts +3 -0
- package/packages/tiny-markdown/src/utils/markdown-parser.d.ts +1 -0
- package/packages/tiny-markdown/src/utils/mention-parser.d.ts +1 -0
- package/packages/tiny-markdown/src/utils/merge-refs.d.ts +1 -0
- package/packages/types/src/api/conversation.d.ts +304 -4
- package/packages/types/src/api/conversation.d.ts.map +1 -1
- package/packages/types/src/api/timeline-item.d.ts +228 -3
- package/packages/types/src/api/timeline-item.d.ts.map +1 -1
- package/packages/types/src/realtime-events.d.ts +229 -4
- package/packages/types/src/realtime-events.d.ts.map +1 -1
- package/packages/types/src/schemas.d.ts +76 -1
- package/packages/types/src/schemas.d.ts.map +1 -1
- package/primitives/command-block-utils.d.ts +26 -0
- package/primitives/command-block-utils.d.ts.map +1 -0
- package/primitives/command-block-utils.js +310 -0
- package/primitives/command-block-utils.js.map +1 -0
- package/primitives/index.d.ts +7 -3
- package/primitives/index.js +11 -2
- package/primitives/index.parts.d.ts +6 -2
- package/primitives/index.parts.js +5 -1
- package/primitives/multimodal-input.d.ts +2 -2
- package/primitives/multimodal-input.d.ts.map +1 -1
- package/primitives/timeline-code-block.d.ts +32 -0
- package/primitives/timeline-code-block.d.ts.map +1 -0
- package/primitives/timeline-code-block.js +66 -0
- package/primitives/timeline-code-block.js.map +1 -0
- package/primitives/timeline-command-block.d.ts +29 -0
- package/primitives/timeline-command-block.d.ts.map +1 -0
- package/primitives/timeline-command-block.js +97 -0
- package/primitives/timeline-command-block.js.map +1 -0
- package/primitives/timeline-item-group.d.ts.map +1 -1
- package/primitives/timeline-item-group.js +5 -15
- package/primitives/timeline-item-group.js.map +1 -1
- package/primitives/timeline-item.d.ts +21 -1
- package/primitives/timeline-item.d.ts.map +1 -1
- package/primitives/timeline-item.js +148 -83
- package/primitives/timeline-item.js.map +1 -1
- package/primitives/timeline-message-layout.d.ts +9 -0
- package/primitives/timeline-message-layout.d.ts.map +1 -0
- package/primitives/timeline-message-layout.js +20 -0
- package/primitives/timeline-message-layout.js.map +1 -0
- package/realtime/event-filter.js +4 -3
- package/realtime/event-filter.js.map +1 -1
- package/sounds/sound-data.d.ts +6 -0
- package/sounds/sound-data.d.ts.map +1 -0
- package/sounds/sound-data.js +7 -0
- package/sounds/sound-data.js.map +1 -0
- package/support/components/button.d.ts +2 -2
- package/support/components/button.d.ts.map +1 -1
- package/support/components/button.js +1 -0
- package/support/components/button.js.map +1 -1
- package/support/components/conversation-event.d.ts +3 -0
- package/support/components/conversation-event.d.ts.map +1 -1
- package/support/components/conversation-event.js +46 -15
- package/support/components/conversation-event.js.map +1 -1
- package/support/components/conversation-timeline.d.ts.map +1 -1
- package/support/components/conversation-timeline.js +12 -0
- package/support/components/conversation-timeline.js.map +1 -1
- package/support/components/index.d.ts +2 -1
- package/support/components/index.js +2 -1
- package/support/components/timeline-activity-group.d.ts +25 -0
- package/support/components/timeline-activity-group.d.ts.map +1 -0
- package/support/components/timeline-activity-group.js +104 -0
- package/support/components/timeline-activity-group.js.map +1 -0
- package/support/components/timeline-code-block.d.ts +14 -0
- package/support/components/timeline-code-block.d.ts.map +1 -0
- package/support/components/timeline-code-block.js +44 -0
- package/support/components/timeline-code-block.js.map +1 -0
- package/support/components/timeline-command-block.d.ts +12 -0
- package/support/components/timeline-command-block.d.ts.map +1 -0
- package/support/components/timeline-command-block.js +42 -0
- package/support/components/timeline-command-block.js.map +1 -0
- package/support/components/timeline-message-item.d.ts +2 -1
- package/support/components/timeline-message-item.d.ts.map +1 -1
- package/support/components/timeline-message-item.js +23 -3
- package/support/components/timeline-message-item.js.map +1 -1
- package/support/index.d.ts +4 -4
- package/support/store/support-store.d.ts +5 -5
- package/utils/metadata-hash.d.ts +1 -1
- package/utils/metadata-hash.js +9 -4
- package/utils/metadata-hash.js.map +1 -1
- package/utils/timeline-item-sender.d.ts +17 -0
- package/utils/timeline-item-sender.d.ts.map +1 -0
- package/utils/timeline-item-sender.js +43 -0
- package/utils/timeline-item-sender.js.map +1 -0
- package/utils/use-render-element.d.ts.map +1 -1
|
@@ -164,6 +164,19 @@ declare const realtimeSchema: {
|
|
|
164
164
|
}>>;
|
|
165
165
|
progressMessage: ZodOptional<ZodString>;
|
|
166
166
|
knowledgeId: ZodOptional<ZodString>;
|
|
167
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
168
|
+
logType: ZodEnum<{
|
|
169
|
+
log: "log";
|
|
170
|
+
customer_facing: "customer_facing";
|
|
171
|
+
decision: "decision";
|
|
172
|
+
}>;
|
|
173
|
+
triggerMessageId: ZodString;
|
|
174
|
+
workflowRunId: ZodString;
|
|
175
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
176
|
+
public: "public";
|
|
177
|
+
private: "private";
|
|
178
|
+
}>>;
|
|
179
|
+
}, $strip>>;
|
|
167
180
|
}, $strip>>;
|
|
168
181
|
}, $loose>>;
|
|
169
182
|
}, $strip>, ZodObject<{
|
|
@@ -173,11 +186,34 @@ declare const realtimeSchema: {
|
|
|
173
186
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
174
187
|
output: ZodOptional<ZodUnknown>;
|
|
175
188
|
state: ZodEnum<{
|
|
176
|
-
error: "error";
|
|
177
189
|
result: "result";
|
|
190
|
+
error: "error";
|
|
178
191
|
partial: "partial";
|
|
179
192
|
}>;
|
|
180
193
|
errorText: ZodOptional<ZodString>;
|
|
194
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
195
|
+
cossistant: ZodOptional<ZodObject<{
|
|
196
|
+
visibility: ZodOptional<ZodEnum<{
|
|
197
|
+
public: "public";
|
|
198
|
+
private: "private";
|
|
199
|
+
}>>;
|
|
200
|
+
progressMessage: ZodOptional<ZodString>;
|
|
201
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
202
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
203
|
+
logType: ZodEnum<{
|
|
204
|
+
log: "log";
|
|
205
|
+
customer_facing: "customer_facing";
|
|
206
|
+
decision: "decision";
|
|
207
|
+
}>;
|
|
208
|
+
triggerMessageId: ZodString;
|
|
209
|
+
workflowRunId: ZodString;
|
|
210
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
211
|
+
public: "public";
|
|
212
|
+
private: "private";
|
|
213
|
+
}>>;
|
|
214
|
+
}, $strip>>;
|
|
215
|
+
}, $strip>>;
|
|
216
|
+
}, $loose>>;
|
|
181
217
|
providerMetadata: ZodOptional<ZodObject<{
|
|
182
218
|
cossistant: ZodOptional<ZodObject<{
|
|
183
219
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -186,6 +222,19 @@ declare const realtimeSchema: {
|
|
|
186
222
|
}>>;
|
|
187
223
|
progressMessage: ZodOptional<ZodString>;
|
|
188
224
|
knowledgeId: ZodOptional<ZodString>;
|
|
225
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
226
|
+
logType: ZodEnum<{
|
|
227
|
+
log: "log";
|
|
228
|
+
customer_facing: "customer_facing";
|
|
229
|
+
decision: "decision";
|
|
230
|
+
}>;
|
|
231
|
+
triggerMessageId: ZodString;
|
|
232
|
+
workflowRunId: ZodString;
|
|
233
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
234
|
+
public: "public";
|
|
235
|
+
private: "private";
|
|
236
|
+
}>>;
|
|
237
|
+
}, $strip>>;
|
|
189
238
|
}, $strip>>;
|
|
190
239
|
}, $loose>>;
|
|
191
240
|
}, $strip>, ZodObject<{
|
|
@@ -201,6 +250,19 @@ declare const realtimeSchema: {
|
|
|
201
250
|
}>>;
|
|
202
251
|
progressMessage: ZodOptional<ZodString>;
|
|
203
252
|
knowledgeId: ZodOptional<ZodString>;
|
|
253
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
254
|
+
logType: ZodEnum<{
|
|
255
|
+
log: "log";
|
|
256
|
+
customer_facing: "customer_facing";
|
|
257
|
+
decision: "decision";
|
|
258
|
+
}>;
|
|
259
|
+
triggerMessageId: ZodString;
|
|
260
|
+
workflowRunId: ZodString;
|
|
261
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
262
|
+
public: "public";
|
|
263
|
+
private: "private";
|
|
264
|
+
}>>;
|
|
265
|
+
}, $strip>>;
|
|
204
266
|
}, $strip>>;
|
|
205
267
|
}, $loose>>;
|
|
206
268
|
}, $strip>, ZodObject<{
|
|
@@ -217,6 +279,19 @@ declare const realtimeSchema: {
|
|
|
217
279
|
}>>;
|
|
218
280
|
progressMessage: ZodOptional<ZodString>;
|
|
219
281
|
knowledgeId: ZodOptional<ZodString>;
|
|
282
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
283
|
+
logType: ZodEnum<{
|
|
284
|
+
log: "log";
|
|
285
|
+
customer_facing: "customer_facing";
|
|
286
|
+
decision: "decision";
|
|
287
|
+
}>;
|
|
288
|
+
triggerMessageId: ZodString;
|
|
289
|
+
workflowRunId: ZodString;
|
|
290
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
291
|
+
public: "public";
|
|
292
|
+
private: "private";
|
|
293
|
+
}>>;
|
|
294
|
+
}, $strip>>;
|
|
220
295
|
}, $strip>>;
|
|
221
296
|
}, $loose>>;
|
|
222
297
|
}, $strip>, ZodObject<{
|
|
@@ -362,6 +437,19 @@ declare const realtimeSchema: {
|
|
|
362
437
|
}>>;
|
|
363
438
|
progressMessage: ZodOptional<ZodString>;
|
|
364
439
|
knowledgeId: ZodOptional<ZodString>;
|
|
440
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
441
|
+
logType: ZodEnum<{
|
|
442
|
+
log: "log";
|
|
443
|
+
customer_facing: "customer_facing";
|
|
444
|
+
decision: "decision";
|
|
445
|
+
}>;
|
|
446
|
+
triggerMessageId: ZodString;
|
|
447
|
+
workflowRunId: ZodString;
|
|
448
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
449
|
+
public: "public";
|
|
450
|
+
private: "private";
|
|
451
|
+
}>>;
|
|
452
|
+
}, $strip>>;
|
|
365
453
|
}, $strip>>;
|
|
366
454
|
}, $loose>>;
|
|
367
455
|
}, $strip>, ZodObject<{
|
|
@@ -371,11 +459,34 @@ declare const realtimeSchema: {
|
|
|
371
459
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
372
460
|
output: ZodOptional<ZodUnknown>;
|
|
373
461
|
state: ZodEnum<{
|
|
374
|
-
error: "error";
|
|
375
462
|
result: "result";
|
|
463
|
+
error: "error";
|
|
376
464
|
partial: "partial";
|
|
377
465
|
}>;
|
|
378
466
|
errorText: ZodOptional<ZodString>;
|
|
467
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
468
|
+
cossistant: ZodOptional<ZodObject<{
|
|
469
|
+
visibility: ZodOptional<ZodEnum<{
|
|
470
|
+
public: "public";
|
|
471
|
+
private: "private";
|
|
472
|
+
}>>;
|
|
473
|
+
progressMessage: ZodOptional<ZodString>;
|
|
474
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
475
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
476
|
+
logType: ZodEnum<{
|
|
477
|
+
log: "log";
|
|
478
|
+
customer_facing: "customer_facing";
|
|
479
|
+
decision: "decision";
|
|
480
|
+
}>;
|
|
481
|
+
triggerMessageId: ZodString;
|
|
482
|
+
workflowRunId: ZodString;
|
|
483
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
484
|
+
public: "public";
|
|
485
|
+
private: "private";
|
|
486
|
+
}>>;
|
|
487
|
+
}, $strip>>;
|
|
488
|
+
}, $strip>>;
|
|
489
|
+
}, $loose>>;
|
|
379
490
|
providerMetadata: ZodOptional<ZodObject<{
|
|
380
491
|
cossistant: ZodOptional<ZodObject<{
|
|
381
492
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -384,6 +495,19 @@ declare const realtimeSchema: {
|
|
|
384
495
|
}>>;
|
|
385
496
|
progressMessage: ZodOptional<ZodString>;
|
|
386
497
|
knowledgeId: ZodOptional<ZodString>;
|
|
498
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
499
|
+
logType: ZodEnum<{
|
|
500
|
+
log: "log";
|
|
501
|
+
customer_facing: "customer_facing";
|
|
502
|
+
decision: "decision";
|
|
503
|
+
}>;
|
|
504
|
+
triggerMessageId: ZodString;
|
|
505
|
+
workflowRunId: ZodString;
|
|
506
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
507
|
+
public: "public";
|
|
508
|
+
private: "private";
|
|
509
|
+
}>>;
|
|
510
|
+
}, $strip>>;
|
|
387
511
|
}, $strip>>;
|
|
388
512
|
}, $loose>>;
|
|
389
513
|
}, $strip>, ZodObject<{
|
|
@@ -399,6 +523,19 @@ declare const realtimeSchema: {
|
|
|
399
523
|
}>>;
|
|
400
524
|
progressMessage: ZodOptional<ZodString>;
|
|
401
525
|
knowledgeId: ZodOptional<ZodString>;
|
|
526
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
527
|
+
logType: ZodEnum<{
|
|
528
|
+
log: "log";
|
|
529
|
+
customer_facing: "customer_facing";
|
|
530
|
+
decision: "decision";
|
|
531
|
+
}>;
|
|
532
|
+
triggerMessageId: ZodString;
|
|
533
|
+
workflowRunId: ZodString;
|
|
534
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
535
|
+
public: "public";
|
|
536
|
+
private: "private";
|
|
537
|
+
}>>;
|
|
538
|
+
}, $strip>>;
|
|
402
539
|
}, $strip>>;
|
|
403
540
|
}, $loose>>;
|
|
404
541
|
}, $strip>, ZodObject<{
|
|
@@ -415,6 +552,19 @@ declare const realtimeSchema: {
|
|
|
415
552
|
}>>;
|
|
416
553
|
progressMessage: ZodOptional<ZodString>;
|
|
417
554
|
knowledgeId: ZodOptional<ZodString>;
|
|
555
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
556
|
+
logType: ZodEnum<{
|
|
557
|
+
log: "log";
|
|
558
|
+
customer_facing: "customer_facing";
|
|
559
|
+
decision: "decision";
|
|
560
|
+
}>;
|
|
561
|
+
triggerMessageId: ZodString;
|
|
562
|
+
workflowRunId: ZodString;
|
|
563
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
564
|
+
public: "public";
|
|
565
|
+
private: "private";
|
|
566
|
+
}>>;
|
|
567
|
+
}, $strip>>;
|
|
418
568
|
}, $strip>>;
|
|
419
569
|
}, $loose>>;
|
|
420
570
|
}, $strip>, ZodObject<{
|
|
@@ -508,6 +658,19 @@ declare const realtimeSchema: {
|
|
|
508
658
|
}>>;
|
|
509
659
|
progressMessage: ZodOptional<ZodString>;
|
|
510
660
|
knowledgeId: ZodOptional<ZodString>;
|
|
661
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
662
|
+
logType: ZodEnum<{
|
|
663
|
+
log: "log";
|
|
664
|
+
customer_facing: "customer_facing";
|
|
665
|
+
decision: "decision";
|
|
666
|
+
}>;
|
|
667
|
+
triggerMessageId: ZodString;
|
|
668
|
+
workflowRunId: ZodString;
|
|
669
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
670
|
+
public: "public";
|
|
671
|
+
private: "private";
|
|
672
|
+
}>>;
|
|
673
|
+
}, $strip>>;
|
|
511
674
|
}, $strip>>;
|
|
512
675
|
}, $loose>>;
|
|
513
676
|
}, $strip>, ZodObject<{
|
|
@@ -517,11 +680,34 @@ declare const realtimeSchema: {
|
|
|
517
680
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
518
681
|
output: ZodOptional<ZodUnknown>;
|
|
519
682
|
state: ZodEnum<{
|
|
520
|
-
error: "error";
|
|
521
683
|
result: "result";
|
|
684
|
+
error: "error";
|
|
522
685
|
partial: "partial";
|
|
523
686
|
}>;
|
|
524
687
|
errorText: ZodOptional<ZodString>;
|
|
688
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
689
|
+
cossistant: ZodOptional<ZodObject<{
|
|
690
|
+
visibility: ZodOptional<ZodEnum<{
|
|
691
|
+
public: "public";
|
|
692
|
+
private: "private";
|
|
693
|
+
}>>;
|
|
694
|
+
progressMessage: ZodOptional<ZodString>;
|
|
695
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
696
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
697
|
+
logType: ZodEnum<{
|
|
698
|
+
log: "log";
|
|
699
|
+
customer_facing: "customer_facing";
|
|
700
|
+
decision: "decision";
|
|
701
|
+
}>;
|
|
702
|
+
triggerMessageId: ZodString;
|
|
703
|
+
workflowRunId: ZodString;
|
|
704
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
705
|
+
public: "public";
|
|
706
|
+
private: "private";
|
|
707
|
+
}>>;
|
|
708
|
+
}, $strip>>;
|
|
709
|
+
}, $strip>>;
|
|
710
|
+
}, $loose>>;
|
|
525
711
|
providerMetadata: ZodOptional<ZodObject<{
|
|
526
712
|
cossistant: ZodOptional<ZodObject<{
|
|
527
713
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -530,6 +716,19 @@ declare const realtimeSchema: {
|
|
|
530
716
|
}>>;
|
|
531
717
|
progressMessage: ZodOptional<ZodString>;
|
|
532
718
|
knowledgeId: ZodOptional<ZodString>;
|
|
719
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
720
|
+
logType: ZodEnum<{
|
|
721
|
+
log: "log";
|
|
722
|
+
customer_facing: "customer_facing";
|
|
723
|
+
decision: "decision";
|
|
724
|
+
}>;
|
|
725
|
+
triggerMessageId: ZodString;
|
|
726
|
+
workflowRunId: ZodString;
|
|
727
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
728
|
+
public: "public";
|
|
729
|
+
private: "private";
|
|
730
|
+
}>>;
|
|
731
|
+
}, $strip>>;
|
|
533
732
|
}, $strip>>;
|
|
534
733
|
}, $loose>>;
|
|
535
734
|
}, $strip>, ZodObject<{
|
|
@@ -545,6 +744,19 @@ declare const realtimeSchema: {
|
|
|
545
744
|
}>>;
|
|
546
745
|
progressMessage: ZodOptional<ZodString>;
|
|
547
746
|
knowledgeId: ZodOptional<ZodString>;
|
|
747
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
748
|
+
logType: ZodEnum<{
|
|
749
|
+
log: "log";
|
|
750
|
+
customer_facing: "customer_facing";
|
|
751
|
+
decision: "decision";
|
|
752
|
+
}>;
|
|
753
|
+
triggerMessageId: ZodString;
|
|
754
|
+
workflowRunId: ZodString;
|
|
755
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
756
|
+
public: "public";
|
|
757
|
+
private: "private";
|
|
758
|
+
}>>;
|
|
759
|
+
}, $strip>>;
|
|
548
760
|
}, $strip>>;
|
|
549
761
|
}, $loose>>;
|
|
550
762
|
}, $strip>, ZodObject<{
|
|
@@ -561,6 +773,19 @@ declare const realtimeSchema: {
|
|
|
561
773
|
}>>;
|
|
562
774
|
progressMessage: ZodOptional<ZodString>;
|
|
563
775
|
knowledgeId: ZodOptional<ZodString>;
|
|
776
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
777
|
+
logType: ZodEnum<{
|
|
778
|
+
log: "log";
|
|
779
|
+
customer_facing: "customer_facing";
|
|
780
|
+
decision: "decision";
|
|
781
|
+
}>;
|
|
782
|
+
triggerMessageId: ZodString;
|
|
783
|
+
workflowRunId: ZodString;
|
|
784
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
785
|
+
public: "public";
|
|
786
|
+
private: "private";
|
|
787
|
+
}>>;
|
|
788
|
+
}, $strip>>;
|
|
564
789
|
}, $strip>>;
|
|
565
790
|
}, $loose>>;
|
|
566
791
|
}, $strip>, ZodObject<{
|
|
@@ -800,8 +1025,8 @@ declare const realtimeSchema: {
|
|
|
800
1025
|
toolCallId: ZodString;
|
|
801
1026
|
toolName: ZodString;
|
|
802
1027
|
state: ZodEnum<{
|
|
803
|
-
error: "error";
|
|
804
1028
|
result: "result";
|
|
1029
|
+
error: "error";
|
|
805
1030
|
partial: "partial";
|
|
806
1031
|
}>;
|
|
807
1032
|
}, $strip>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime-events.d.ts","names":[],"sources":["../../../../../types/src/realtime-events.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;cAsBa
|
|
1
|
+
{"version":3,"file":"realtime-events.d.ts","names":[],"sources":["../../../../../types/src/realtime-events.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;cAsBa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6WD,iBAAA,gBAAiC;KAEjC,+BAA+B,qBAAqB,eACvD,gBAAgB;KAGb,wBAAwB;QAC7B;WACG,qBAAqB;;KAGnB,gBAAA,WACL,oBAAoB,cAAc,KACvC;KAEU,4BAA4B,qBACvC,qBAAqB"}
|
|
@@ -58,6 +58,19 @@ declare const conversationSchema: ZodObject<{
|
|
|
58
58
|
}>>;
|
|
59
59
|
progressMessage: ZodOptional<ZodString>;
|
|
60
60
|
knowledgeId: ZodOptional<ZodString>;
|
|
61
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
62
|
+
logType: ZodEnum<{
|
|
63
|
+
log: "log";
|
|
64
|
+
customer_facing: "customer_facing";
|
|
65
|
+
decision: "decision";
|
|
66
|
+
}>;
|
|
67
|
+
triggerMessageId: ZodString;
|
|
68
|
+
workflowRunId: ZodString;
|
|
69
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
70
|
+
public: "public";
|
|
71
|
+
private: "private";
|
|
72
|
+
}>>;
|
|
73
|
+
}, $strip>>;
|
|
61
74
|
}, $strip>>;
|
|
62
75
|
}, $loose>>;
|
|
63
76
|
}, $strip>, ZodObject<{
|
|
@@ -67,11 +80,34 @@ declare const conversationSchema: ZodObject<{
|
|
|
67
80
|
input: ZodRecord<ZodString, ZodUnknown>;
|
|
68
81
|
output: ZodOptional<ZodUnknown>;
|
|
69
82
|
state: ZodEnum<{
|
|
70
|
-
error: "error";
|
|
71
83
|
result: "result";
|
|
84
|
+
error: "error";
|
|
72
85
|
partial: "partial";
|
|
73
86
|
}>;
|
|
74
87
|
errorText: ZodOptional<ZodString>;
|
|
88
|
+
callProviderMetadata: ZodOptional<ZodObject<{
|
|
89
|
+
cossistant: ZodOptional<ZodObject<{
|
|
90
|
+
visibility: ZodOptional<ZodEnum<{
|
|
91
|
+
public: "public";
|
|
92
|
+
private: "private";
|
|
93
|
+
}>>;
|
|
94
|
+
progressMessage: ZodOptional<ZodString>;
|
|
95
|
+
knowledgeId: ZodOptional<ZodString>;
|
|
96
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
97
|
+
logType: ZodEnum<{
|
|
98
|
+
log: "log";
|
|
99
|
+
customer_facing: "customer_facing";
|
|
100
|
+
decision: "decision";
|
|
101
|
+
}>;
|
|
102
|
+
triggerMessageId: ZodString;
|
|
103
|
+
workflowRunId: ZodString;
|
|
104
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
105
|
+
public: "public";
|
|
106
|
+
private: "private";
|
|
107
|
+
}>>;
|
|
108
|
+
}, $strip>>;
|
|
109
|
+
}, $strip>>;
|
|
110
|
+
}, $loose>>;
|
|
75
111
|
providerMetadata: ZodOptional<ZodObject<{
|
|
76
112
|
cossistant: ZodOptional<ZodObject<{
|
|
77
113
|
visibility: ZodOptional<ZodEnum<{
|
|
@@ -80,6 +116,19 @@ declare const conversationSchema: ZodObject<{
|
|
|
80
116
|
}>>;
|
|
81
117
|
progressMessage: ZodOptional<ZodString>;
|
|
82
118
|
knowledgeId: ZodOptional<ZodString>;
|
|
119
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
120
|
+
logType: ZodEnum<{
|
|
121
|
+
log: "log";
|
|
122
|
+
customer_facing: "customer_facing";
|
|
123
|
+
decision: "decision";
|
|
124
|
+
}>;
|
|
125
|
+
triggerMessageId: ZodString;
|
|
126
|
+
workflowRunId: ZodString;
|
|
127
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
128
|
+
public: "public";
|
|
129
|
+
private: "private";
|
|
130
|
+
}>>;
|
|
131
|
+
}, $strip>>;
|
|
83
132
|
}, $strip>>;
|
|
84
133
|
}, $loose>>;
|
|
85
134
|
}, $strip>, ZodObject<{
|
|
@@ -95,6 +144,19 @@ declare const conversationSchema: ZodObject<{
|
|
|
95
144
|
}>>;
|
|
96
145
|
progressMessage: ZodOptional<ZodString>;
|
|
97
146
|
knowledgeId: ZodOptional<ZodString>;
|
|
147
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
148
|
+
logType: ZodEnum<{
|
|
149
|
+
log: "log";
|
|
150
|
+
customer_facing: "customer_facing";
|
|
151
|
+
decision: "decision";
|
|
152
|
+
}>;
|
|
153
|
+
triggerMessageId: ZodString;
|
|
154
|
+
workflowRunId: ZodString;
|
|
155
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
156
|
+
public: "public";
|
|
157
|
+
private: "private";
|
|
158
|
+
}>>;
|
|
159
|
+
}, $strip>>;
|
|
98
160
|
}, $strip>>;
|
|
99
161
|
}, $loose>>;
|
|
100
162
|
}, $strip>, ZodObject<{
|
|
@@ -111,6 +173,19 @@ declare const conversationSchema: ZodObject<{
|
|
|
111
173
|
}>>;
|
|
112
174
|
progressMessage: ZodOptional<ZodString>;
|
|
113
175
|
knowledgeId: ZodOptional<ZodString>;
|
|
176
|
+
toolTimeline: ZodOptional<ZodObject<{
|
|
177
|
+
logType: ZodEnum<{
|
|
178
|
+
log: "log";
|
|
179
|
+
customer_facing: "customer_facing";
|
|
180
|
+
decision: "decision";
|
|
181
|
+
}>;
|
|
182
|
+
triggerMessageId: ZodString;
|
|
183
|
+
workflowRunId: ZodString;
|
|
184
|
+
triggerVisibility: ZodOptional<ZodEnum<{
|
|
185
|
+
public: "public";
|
|
186
|
+
private: "private";
|
|
187
|
+
}>>;
|
|
188
|
+
}, $strip>>;
|
|
114
189
|
}, $strip>>;
|
|
115
190
|
}, $loose>>;
|
|
116
191
|
}, $strip>, ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","names":[],"sources":["../../../../../types/src/schemas.ts"],"sourcesContent":[],"mappings":";;;;;;cAkBa,oBAAkB
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","names":[],"sources":["../../../../../types/src/schemas.ts"],"sourcesContent":[],"mappings":";;;;;;cAkBa,oBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAA,MAAA,SAAA,CAAA;QAAA,KAAA,EAAA,OAAA;QAqBnB,MAAY,EAAA,QAAkB;QAE7B,GAAA,EAAA,KAAA;;;;;;;;;;KAFD,YAAA,GAAe,cAAe;cAE7B,wBAAsB;;;;EAAA,SAAA,aAAA,UAAA,CAAA;EAAA,SAAA,aAAA,UAAA,CAAA;EAYvB,UAAA,WAAgB;;;;;KAAhB,gBAAA,GAAmB,cAAe"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { MarkdownToken } from "../packages/tiny-markdown/src/types.js";
|
|
2
|
+
import "../packages/tiny-markdown/src/index.js";
|
|
3
|
+
|
|
4
|
+
//#region src/primitives/command-block-utils.d.ts
|
|
5
|
+
declare const COMMAND_PREFERENCE_STORAGE_KEY = "cossistant:package-manager";
|
|
6
|
+
declare const COMMAND_PREFERENCE_EVENT = "cossistant:package-manager-change";
|
|
7
|
+
declare const DEFAULT_PACKAGE_MANAGER: "npm";
|
|
8
|
+
declare const COMMAND_PACKAGE_MANAGERS: readonly ["npm", "yarn", "pnpm", "bun"];
|
|
9
|
+
type CommandPackageManager = (typeof COMMAND_PACKAGE_MANAGERS)[number];
|
|
10
|
+
type CommandVariants = Record<CommandPackageManager, string>;
|
|
11
|
+
declare function isCommandPackageManager(value: string): value is CommandPackageManager;
|
|
12
|
+
type StandaloneInlineCommand = {
|
|
13
|
+
command: string;
|
|
14
|
+
variants: CommandVariants;
|
|
15
|
+
};
|
|
16
|
+
type InlineParagraphCommand = {
|
|
17
|
+
command: string;
|
|
18
|
+
variants: CommandVariants;
|
|
19
|
+
index: number;
|
|
20
|
+
};
|
|
21
|
+
declare function mapCommandVariants(input: string): CommandVariants | null;
|
|
22
|
+
declare function mapStandaloneInlineCommandFromParagraphChildren(children: MarkdownToken[]): StandaloneInlineCommand | null;
|
|
23
|
+
declare function mapInlineCommandFromParagraphChildren(children: MarkdownToken[]): InlineParagraphCommand | null;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { COMMAND_PACKAGE_MANAGERS, COMMAND_PREFERENCE_EVENT, COMMAND_PREFERENCE_STORAGE_KEY, CommandPackageManager, CommandVariants, DEFAULT_PACKAGE_MANAGER, InlineParagraphCommand, StandaloneInlineCommand, isCommandPackageManager, mapCommandVariants, mapInlineCommandFromParagraphChildren, mapStandaloneInlineCommandFromParagraphChildren };
|
|
26
|
+
//# sourceMappingURL=command-block-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command-block-utils.d.ts","names":[],"sources":["../../src/primitives/command-block-utils.ts"],"sourcesContent":[],"mappings":";;;;cAEa,8BAAA;cACA,wBAAA;cACA;AAFA,cAIA,wBAJ8B,EAAA,SAAA,CAAA,KAAA,EAAA,MAAA,EAAA,MAAA,EAAA,KAAA,CAAA;AAC9B,KAKD,qBAAA,GALyB,CAAA,OAKO,wBALP,CAAA,CAAA,MAAA,CAAA;AACxB,KAMD,eAAA,GAAkB,MANuB,CAMhB,qBANgB,EAAA,MAAA,CAAA;AAExC,iBAMG,uBAAA,CAN+D,KAAA,EAAA,MAAA,CAAA,EAAA,KAAA,IAQnE,qBARmE;AAEnE,KAiBA,uBAAA,GAjBqB;EAErB,OAAA,EAAA,MAAA;EAEI,QAAA,EAeL,eAfK;AAahB,CAAA;AAKY,KAAA,sBAAA,GAAsB;EAiTlB,OAAA,EAAA,MAAA;EASA,QAAA,EAxTL,eAwTK;EAqCA,KAAA,EAAA,MAAA;;iBA9CA,kBAAA,iBAAmC;iBASnC,+CAAA,WACL,kBACR;iBAmCa,qCAAA,WACL,kBACR"}
|