@cossistant/types 0.0.32 → 0.1.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.
- package/api/ai-agent-capabilities.d.ts +37 -0
- package/api/ai-agent-capabilities.d.ts.map +1 -0
- package/api/ai-agent-capabilities.js +432 -0
- package/api/ai-agent-capabilities.js.map +1 -0
- package/api/ai-agent.d.ts +224 -1
- package/api/ai-agent.d.ts.map +1 -1
- package/api/ai-agent.js +55 -1
- package/api/ai-agent.js.map +1 -1
- package/api/common.d.ts.map +1 -1
- package/api/contact.d.ts.map +1 -1
- package/api/conversation.d.ts +400 -25
- package/api/conversation.d.ts.map +1 -1
- package/api/index.d.ts +4 -3
- package/api/index.js +3 -2
- package/api/timeline-item.d.ts +507 -30
- package/api/timeline-item.d.ts.map +1 -1
- package/api/timeline-item.js +14 -1
- package/api/timeline-item.js.map +1 -1
- package/api/website.d.ts +4 -4
- package/index.d.ts +6 -3
- package/index.d.ts.map +1 -1
- package/index.js +5 -2
- package/package.json +1 -1
- package/realtime-events.d.ts +242 -17
- package/realtime-events.d.ts.map +1 -1
- package/schemas.d.ts +80 -5
- package/schemas.d.ts.map +1 -1
- package/skill-file-format.d.ts +24 -0
- package/skill-file-format.d.ts.map +1 -0
- package/skill-file-format.js +119 -0
- package/skill-file-format.js.map +1 -0
- package/tool-timeline-policy.d.ts +13 -0
- package/tool-timeline-policy.d.ts.map +1 -0
- package/tool-timeline-policy.js +24 -0
- package/tool-timeline-policy.js.map +1 -0
- package/trpc/conversation.d.ts +320 -20
- package/trpc/conversation.d.ts.map +1 -1
package/realtime-events.d.ts
CHANGED
|
@@ -88,8 +88,8 @@ declare const realtimeSchema: {
|
|
|
88
88
|
conversationId: z.ZodString;
|
|
89
89
|
organizationId: z.ZodString;
|
|
90
90
|
visibility: z.ZodEnum<{
|
|
91
|
-
public: "public";
|
|
92
91
|
private: "private";
|
|
92
|
+
public: "public";
|
|
93
93
|
}>;
|
|
94
94
|
type: z.ZodEnum<{
|
|
95
95
|
message: "message";
|
|
@@ -134,8 +134,8 @@ declare const realtimeSchema: {
|
|
|
134
134
|
conversationId: z.ZodString;
|
|
135
135
|
organizationId: z.ZodString;
|
|
136
136
|
visibility: z.ZodEnum<{
|
|
137
|
-
public: "public";
|
|
138
137
|
private: "private";
|
|
138
|
+
public: "public";
|
|
139
139
|
}>;
|
|
140
140
|
type: z.ZodEnum<{
|
|
141
141
|
message: "message";
|
|
@@ -162,11 +162,24 @@ declare const realtimeSchema: {
|
|
|
162
162
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
163
163
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
164
164
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
165
|
-
public: "public";
|
|
166
165
|
private: "private";
|
|
166
|
+
public: "public";
|
|
167
167
|
}>>;
|
|
168
168
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
169
169
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
170
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
171
|
+
logType: z.ZodEnum<{
|
|
172
|
+
customer_facing: "customer_facing";
|
|
173
|
+
log: "log";
|
|
174
|
+
decision: "decision";
|
|
175
|
+
}>;
|
|
176
|
+
triggerMessageId: z.ZodString;
|
|
177
|
+
workflowRunId: z.ZodString;
|
|
178
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
179
|
+
private: "private";
|
|
180
|
+
public: "public";
|
|
181
|
+
}>>;
|
|
182
|
+
}, z.core.$strip>>;
|
|
170
183
|
}, z.core.$strip>>;
|
|
171
184
|
}, z.core.$loose>>;
|
|
172
185
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -181,14 +194,50 @@ declare const realtimeSchema: {
|
|
|
181
194
|
result: "result";
|
|
182
195
|
}>;
|
|
183
196
|
errorText: z.ZodOptional<z.ZodString>;
|
|
184
|
-
|
|
197
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
185
198
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
186
199
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
private: "private";
|
|
187
201
|
public: "public";
|
|
202
|
+
}>>;
|
|
203
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
204
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
205
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
206
|
+
logType: z.ZodEnum<{
|
|
207
|
+
customer_facing: "customer_facing";
|
|
208
|
+
log: "log";
|
|
209
|
+
decision: "decision";
|
|
210
|
+
}>;
|
|
211
|
+
triggerMessageId: z.ZodString;
|
|
212
|
+
workflowRunId: z.ZodString;
|
|
213
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
214
|
+
private: "private";
|
|
215
|
+
public: "public";
|
|
216
|
+
}>>;
|
|
217
|
+
}, z.core.$strip>>;
|
|
218
|
+
}, z.core.$strip>>;
|
|
219
|
+
}, z.core.$loose>>;
|
|
220
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
222
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
188
223
|
private: "private";
|
|
224
|
+
public: "public";
|
|
189
225
|
}>>;
|
|
190
226
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
191
227
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
228
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
logType: z.ZodEnum<{
|
|
230
|
+
customer_facing: "customer_facing";
|
|
231
|
+
log: "log";
|
|
232
|
+
decision: "decision";
|
|
233
|
+
}>;
|
|
234
|
+
triggerMessageId: z.ZodString;
|
|
235
|
+
workflowRunId: z.ZodString;
|
|
236
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
237
|
+
private: "private";
|
|
238
|
+
public: "public";
|
|
239
|
+
}>>;
|
|
240
|
+
}, z.core.$strip>>;
|
|
192
241
|
}, z.core.$strip>>;
|
|
193
242
|
}, z.core.$loose>>;
|
|
194
243
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -199,11 +248,24 @@ declare const realtimeSchema: {
|
|
|
199
248
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
200
249
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
201
250
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
202
|
-
public: "public";
|
|
203
251
|
private: "private";
|
|
252
|
+
public: "public";
|
|
204
253
|
}>>;
|
|
205
254
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
206
255
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
256
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
257
|
+
logType: z.ZodEnum<{
|
|
258
|
+
customer_facing: "customer_facing";
|
|
259
|
+
log: "log";
|
|
260
|
+
decision: "decision";
|
|
261
|
+
}>;
|
|
262
|
+
triggerMessageId: z.ZodString;
|
|
263
|
+
workflowRunId: z.ZodString;
|
|
264
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
265
|
+
private: "private";
|
|
266
|
+
public: "public";
|
|
267
|
+
}>>;
|
|
268
|
+
}, z.core.$strip>>;
|
|
207
269
|
}, z.core.$strip>>;
|
|
208
270
|
}, z.core.$loose>>;
|
|
209
271
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -215,11 +277,24 @@ declare const realtimeSchema: {
|
|
|
215
277
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
216
278
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
217
279
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
218
|
-
public: "public";
|
|
219
280
|
private: "private";
|
|
281
|
+
public: "public";
|
|
220
282
|
}>>;
|
|
221
283
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
222
284
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
285
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
286
|
+
logType: z.ZodEnum<{
|
|
287
|
+
customer_facing: "customer_facing";
|
|
288
|
+
log: "log";
|
|
289
|
+
decision: "decision";
|
|
290
|
+
}>;
|
|
291
|
+
triggerMessageId: z.ZodString;
|
|
292
|
+
workflowRunId: z.ZodString;
|
|
293
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
294
|
+
private: "private";
|
|
295
|
+
public: "public";
|
|
296
|
+
}>>;
|
|
297
|
+
}, z.core.$strip>>;
|
|
223
298
|
}, z.core.$strip>>;
|
|
224
299
|
}, z.core.$loose>>;
|
|
225
300
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -332,8 +407,8 @@ declare const realtimeSchema: {
|
|
|
332
407
|
conversationId: z.ZodString;
|
|
333
408
|
organizationId: z.ZodString;
|
|
334
409
|
visibility: z.ZodEnum<{
|
|
335
|
-
public: "public";
|
|
336
410
|
private: "private";
|
|
411
|
+
public: "public";
|
|
337
412
|
}>;
|
|
338
413
|
type: z.ZodEnum<{
|
|
339
414
|
message: "message";
|
|
@@ -360,11 +435,24 @@ declare const realtimeSchema: {
|
|
|
360
435
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
361
436
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
362
437
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
363
|
-
public: "public";
|
|
364
438
|
private: "private";
|
|
439
|
+
public: "public";
|
|
365
440
|
}>>;
|
|
366
441
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
367
442
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
443
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
444
|
+
logType: z.ZodEnum<{
|
|
445
|
+
customer_facing: "customer_facing";
|
|
446
|
+
log: "log";
|
|
447
|
+
decision: "decision";
|
|
448
|
+
}>;
|
|
449
|
+
triggerMessageId: z.ZodString;
|
|
450
|
+
workflowRunId: z.ZodString;
|
|
451
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
452
|
+
private: "private";
|
|
453
|
+
public: "public";
|
|
454
|
+
}>>;
|
|
455
|
+
}, z.core.$strip>>;
|
|
368
456
|
}, z.core.$strip>>;
|
|
369
457
|
}, z.core.$loose>>;
|
|
370
458
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -379,14 +467,50 @@ declare const realtimeSchema: {
|
|
|
379
467
|
result: "result";
|
|
380
468
|
}>;
|
|
381
469
|
errorText: z.ZodOptional<z.ZodString>;
|
|
382
|
-
|
|
470
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
383
471
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
384
472
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
473
|
+
private: "private";
|
|
385
474
|
public: "public";
|
|
475
|
+
}>>;
|
|
476
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
477
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
478
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
479
|
+
logType: z.ZodEnum<{
|
|
480
|
+
customer_facing: "customer_facing";
|
|
481
|
+
log: "log";
|
|
482
|
+
decision: "decision";
|
|
483
|
+
}>;
|
|
484
|
+
triggerMessageId: z.ZodString;
|
|
485
|
+
workflowRunId: z.ZodString;
|
|
486
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
487
|
+
private: "private";
|
|
488
|
+
public: "public";
|
|
489
|
+
}>>;
|
|
490
|
+
}, z.core.$strip>>;
|
|
491
|
+
}, z.core.$strip>>;
|
|
492
|
+
}, z.core.$loose>>;
|
|
493
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
494
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
495
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
386
496
|
private: "private";
|
|
497
|
+
public: "public";
|
|
387
498
|
}>>;
|
|
388
499
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
389
500
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
501
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
502
|
+
logType: z.ZodEnum<{
|
|
503
|
+
customer_facing: "customer_facing";
|
|
504
|
+
log: "log";
|
|
505
|
+
decision: "decision";
|
|
506
|
+
}>;
|
|
507
|
+
triggerMessageId: z.ZodString;
|
|
508
|
+
workflowRunId: z.ZodString;
|
|
509
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
510
|
+
private: "private";
|
|
511
|
+
public: "public";
|
|
512
|
+
}>>;
|
|
513
|
+
}, z.core.$strip>>;
|
|
390
514
|
}, z.core.$strip>>;
|
|
391
515
|
}, z.core.$loose>>;
|
|
392
516
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -397,11 +521,24 @@ declare const realtimeSchema: {
|
|
|
397
521
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
398
522
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
399
523
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
400
|
-
public: "public";
|
|
401
524
|
private: "private";
|
|
525
|
+
public: "public";
|
|
402
526
|
}>>;
|
|
403
527
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
404
528
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
529
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
530
|
+
logType: z.ZodEnum<{
|
|
531
|
+
customer_facing: "customer_facing";
|
|
532
|
+
log: "log";
|
|
533
|
+
decision: "decision";
|
|
534
|
+
}>;
|
|
535
|
+
triggerMessageId: z.ZodString;
|
|
536
|
+
workflowRunId: z.ZodString;
|
|
537
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
538
|
+
private: "private";
|
|
539
|
+
public: "public";
|
|
540
|
+
}>>;
|
|
541
|
+
}, z.core.$strip>>;
|
|
405
542
|
}, z.core.$strip>>;
|
|
406
543
|
}, z.core.$loose>>;
|
|
407
544
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -413,11 +550,24 @@ declare const realtimeSchema: {
|
|
|
413
550
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
414
551
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
415
552
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
416
|
-
public: "public";
|
|
417
553
|
private: "private";
|
|
554
|
+
public: "public";
|
|
418
555
|
}>>;
|
|
419
556
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
420
557
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
558
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
559
|
+
logType: z.ZodEnum<{
|
|
560
|
+
customer_facing: "customer_facing";
|
|
561
|
+
log: "log";
|
|
562
|
+
decision: "decision";
|
|
563
|
+
}>;
|
|
564
|
+
triggerMessageId: z.ZodString;
|
|
565
|
+
workflowRunId: z.ZodString;
|
|
566
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
567
|
+
private: "private";
|
|
568
|
+
public: "public";
|
|
569
|
+
}>>;
|
|
570
|
+
}, z.core.$strip>>;
|
|
421
571
|
}, z.core.$strip>>;
|
|
422
572
|
}, z.core.$loose>>;
|
|
423
573
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -478,8 +628,8 @@ declare const realtimeSchema: {
|
|
|
478
628
|
conversationId: z.ZodString;
|
|
479
629
|
organizationId: z.ZodString;
|
|
480
630
|
visibility: z.ZodEnum<{
|
|
481
|
-
public: "public";
|
|
482
631
|
private: "private";
|
|
632
|
+
public: "public";
|
|
483
633
|
}>;
|
|
484
634
|
type: z.ZodEnum<{
|
|
485
635
|
message: "message";
|
|
@@ -506,11 +656,24 @@ declare const realtimeSchema: {
|
|
|
506
656
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
507
657
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
508
658
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
509
|
-
public: "public";
|
|
510
659
|
private: "private";
|
|
660
|
+
public: "public";
|
|
511
661
|
}>>;
|
|
512
662
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
513
663
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
664
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
665
|
+
logType: z.ZodEnum<{
|
|
666
|
+
customer_facing: "customer_facing";
|
|
667
|
+
log: "log";
|
|
668
|
+
decision: "decision";
|
|
669
|
+
}>;
|
|
670
|
+
triggerMessageId: z.ZodString;
|
|
671
|
+
workflowRunId: z.ZodString;
|
|
672
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
673
|
+
private: "private";
|
|
674
|
+
public: "public";
|
|
675
|
+
}>>;
|
|
676
|
+
}, z.core.$strip>>;
|
|
514
677
|
}, z.core.$strip>>;
|
|
515
678
|
}, z.core.$loose>>;
|
|
516
679
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -525,14 +688,50 @@ declare const realtimeSchema: {
|
|
|
525
688
|
result: "result";
|
|
526
689
|
}>;
|
|
527
690
|
errorText: z.ZodOptional<z.ZodString>;
|
|
528
|
-
|
|
691
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
529
692
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
530
693
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
694
|
+
private: "private";
|
|
531
695
|
public: "public";
|
|
696
|
+
}>>;
|
|
697
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
698
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
699
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
700
|
+
logType: z.ZodEnum<{
|
|
701
|
+
customer_facing: "customer_facing";
|
|
702
|
+
log: "log";
|
|
703
|
+
decision: "decision";
|
|
704
|
+
}>;
|
|
705
|
+
triggerMessageId: z.ZodString;
|
|
706
|
+
workflowRunId: z.ZodString;
|
|
707
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
708
|
+
private: "private";
|
|
709
|
+
public: "public";
|
|
710
|
+
}>>;
|
|
711
|
+
}, z.core.$strip>>;
|
|
712
|
+
}, z.core.$strip>>;
|
|
713
|
+
}, z.core.$loose>>;
|
|
714
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
715
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
716
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
532
717
|
private: "private";
|
|
718
|
+
public: "public";
|
|
533
719
|
}>>;
|
|
534
720
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
535
721
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
722
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
723
|
+
logType: z.ZodEnum<{
|
|
724
|
+
customer_facing: "customer_facing";
|
|
725
|
+
log: "log";
|
|
726
|
+
decision: "decision";
|
|
727
|
+
}>;
|
|
728
|
+
triggerMessageId: z.ZodString;
|
|
729
|
+
workflowRunId: z.ZodString;
|
|
730
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
731
|
+
private: "private";
|
|
732
|
+
public: "public";
|
|
733
|
+
}>>;
|
|
734
|
+
}, z.core.$strip>>;
|
|
536
735
|
}, z.core.$strip>>;
|
|
537
736
|
}, z.core.$loose>>;
|
|
538
737
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -543,11 +742,24 @@ declare const realtimeSchema: {
|
|
|
543
742
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
544
743
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
545
744
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
546
|
-
public: "public";
|
|
547
745
|
private: "private";
|
|
746
|
+
public: "public";
|
|
548
747
|
}>>;
|
|
549
748
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
550
749
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
750
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
751
|
+
logType: z.ZodEnum<{
|
|
752
|
+
customer_facing: "customer_facing";
|
|
753
|
+
log: "log";
|
|
754
|
+
decision: "decision";
|
|
755
|
+
}>;
|
|
756
|
+
triggerMessageId: z.ZodString;
|
|
757
|
+
workflowRunId: z.ZodString;
|
|
758
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
759
|
+
private: "private";
|
|
760
|
+
public: "public";
|
|
761
|
+
}>>;
|
|
762
|
+
}, z.core.$strip>>;
|
|
551
763
|
}, z.core.$strip>>;
|
|
552
764
|
}, z.core.$loose>>;
|
|
553
765
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -559,11 +771,24 @@ declare const realtimeSchema: {
|
|
|
559
771
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
560
772
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
561
773
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
562
|
-
public: "public";
|
|
563
774
|
private: "private";
|
|
775
|
+
public: "public";
|
|
564
776
|
}>>;
|
|
565
777
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
566
778
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
779
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
780
|
+
logType: z.ZodEnum<{
|
|
781
|
+
customer_facing: "customer_facing";
|
|
782
|
+
log: "log";
|
|
783
|
+
decision: "decision";
|
|
784
|
+
}>;
|
|
785
|
+
triggerMessageId: z.ZodString;
|
|
786
|
+
workflowRunId: z.ZodString;
|
|
787
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
788
|
+
private: "private";
|
|
789
|
+
public: "public";
|
|
790
|
+
}>>;
|
|
791
|
+
}, z.core.$strip>>;
|
|
567
792
|
}, z.core.$strip>>;
|
|
568
793
|
}, z.core.$loose>>;
|
|
569
794
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -845,8 +1070,8 @@ declare const realtimeSchema: {
|
|
|
845
1070
|
conversationId: z.ZodString;
|
|
846
1071
|
organizationId: z.ZodString;
|
|
847
1072
|
visibility: z.ZodEnum<{
|
|
848
|
-
public: "public";
|
|
849
1073
|
private: "private";
|
|
1074
|
+
public: "public";
|
|
850
1075
|
}>;
|
|
851
1076
|
type: z.ZodEnum<{
|
|
852
1077
|
message: "message";
|
package/realtime-events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"realtime-events.d.ts","names":[],"sources":["../src/realtime-events.ts"],"sourcesContent":[],"mappings":";;;cAWa,mBAAiB,CAAA,CAAA;;EAAjB,cAAA,aAKX;;;;;;;;AAL4B,cAWjB,cAXiB,EAAA;EAAA,SAAA,aAAA,aAAA,CAAA;IAWjB,SAAA,aA2WH
|
|
1
|
+
{"version":3,"file":"realtime-events.d.ts","names":[],"sources":["../src/realtime-events.ts"],"sourcesContent":[],"mappings":";;;cAWa,mBAAiB,CAAA,CAAA;;EAAjB,cAAA,aAKX;;;;;;;;AAL4B,cAWjB,cAXiB,EAAA;EAAA,SAAA,aAAA,aAAA,CAAA;IAWjB,SAAA,aA2WH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEE,iBAAA,gBAAiC;KAEjC,+BAA+B,qBAAqB,CAAA,CAAE,cACzD,gBAAgB;KAGb,wBAAwB;QAC7B;WACG,qBAAqB;;KAGnB,gBAAA,WACL,oBAAoB,cAAc,KACvC;KAEU,4BAA4B,qBACvC,qBAAqB;;;;iBAKN,gCAAgC,yBACzC,mBAEJ,qBAAqB;;;;iBAQR,gBAAA,yBAAyC;iBAIzC,0BAA0B,0BAClC,cAAc,KACnB,qBAAqB"}
|
package/schemas.d.ts
CHANGED
|
@@ -34,8 +34,8 @@ declare const conversationSchema: z.ZodObject<{
|
|
|
34
34
|
conversationId: z.ZodString;
|
|
35
35
|
organizationId: z.ZodString;
|
|
36
36
|
visibility: z.ZodEnum<{
|
|
37
|
-
public: "public";
|
|
38
37
|
private: "private";
|
|
38
|
+
public: "public";
|
|
39
39
|
}>;
|
|
40
40
|
type: z.ZodEnum<{
|
|
41
41
|
message: "message";
|
|
@@ -62,11 +62,24 @@ declare const conversationSchema: z.ZodObject<{
|
|
|
62
62
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
63
63
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
64
64
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
65
|
-
public: "public";
|
|
66
65
|
private: "private";
|
|
66
|
+
public: "public";
|
|
67
67
|
}>>;
|
|
68
68
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
69
69
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
70
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
logType: z.ZodEnum<{
|
|
72
|
+
customer_facing: "customer_facing";
|
|
73
|
+
log: "log";
|
|
74
|
+
decision: "decision";
|
|
75
|
+
}>;
|
|
76
|
+
triggerMessageId: z.ZodString;
|
|
77
|
+
workflowRunId: z.ZodString;
|
|
78
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
79
|
+
private: "private";
|
|
80
|
+
public: "public";
|
|
81
|
+
}>>;
|
|
82
|
+
}, z.core.$strip>>;
|
|
70
83
|
}, z.core.$strip>>;
|
|
71
84
|
}, z.core.$loose>>;
|
|
72
85
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -81,14 +94,50 @@ declare const conversationSchema: z.ZodObject<{
|
|
|
81
94
|
result: "result";
|
|
82
95
|
}>;
|
|
83
96
|
errorText: z.ZodOptional<z.ZodString>;
|
|
84
|
-
|
|
97
|
+
callProviderMetadata: z.ZodOptional<z.ZodObject<{
|
|
85
98
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
86
99
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
100
|
+
private: "private";
|
|
87
101
|
public: "public";
|
|
102
|
+
}>>;
|
|
103
|
+
progressMessage: z.ZodOptional<z.ZodString>;
|
|
104
|
+
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
105
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
logType: z.ZodEnum<{
|
|
107
|
+
customer_facing: "customer_facing";
|
|
108
|
+
log: "log";
|
|
109
|
+
decision: "decision";
|
|
110
|
+
}>;
|
|
111
|
+
triggerMessageId: z.ZodString;
|
|
112
|
+
workflowRunId: z.ZodString;
|
|
113
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
114
|
+
private: "private";
|
|
115
|
+
public: "public";
|
|
116
|
+
}>>;
|
|
117
|
+
}, z.core.$strip>>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
}, z.core.$loose>>;
|
|
120
|
+
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
121
|
+
cossistant: z.ZodOptional<z.ZodObject<{
|
|
122
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
88
123
|
private: "private";
|
|
124
|
+
public: "public";
|
|
89
125
|
}>>;
|
|
90
126
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
91
127
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
128
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
129
|
+
logType: z.ZodEnum<{
|
|
130
|
+
customer_facing: "customer_facing";
|
|
131
|
+
log: "log";
|
|
132
|
+
decision: "decision";
|
|
133
|
+
}>;
|
|
134
|
+
triggerMessageId: z.ZodString;
|
|
135
|
+
workflowRunId: z.ZodString;
|
|
136
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
private: "private";
|
|
138
|
+
public: "public";
|
|
139
|
+
}>>;
|
|
140
|
+
}, z.core.$strip>>;
|
|
92
141
|
}, z.core.$strip>>;
|
|
93
142
|
}, z.core.$loose>>;
|
|
94
143
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -99,11 +148,24 @@ declare const conversationSchema: z.ZodObject<{
|
|
|
99
148
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
100
149
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
101
150
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
102
|
-
public: "public";
|
|
103
151
|
private: "private";
|
|
152
|
+
public: "public";
|
|
104
153
|
}>>;
|
|
105
154
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
106
155
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
156
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
157
|
+
logType: z.ZodEnum<{
|
|
158
|
+
customer_facing: "customer_facing";
|
|
159
|
+
log: "log";
|
|
160
|
+
decision: "decision";
|
|
161
|
+
}>;
|
|
162
|
+
triggerMessageId: z.ZodString;
|
|
163
|
+
workflowRunId: z.ZodString;
|
|
164
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
165
|
+
private: "private";
|
|
166
|
+
public: "public";
|
|
167
|
+
}>>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
107
169
|
}, z.core.$strip>>;
|
|
108
170
|
}, z.core.$loose>>;
|
|
109
171
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -115,11 +177,24 @@ declare const conversationSchema: z.ZodObject<{
|
|
|
115
177
|
providerMetadata: z.ZodOptional<z.ZodObject<{
|
|
116
178
|
cossistant: z.ZodOptional<z.ZodObject<{
|
|
117
179
|
visibility: z.ZodOptional<z.ZodEnum<{
|
|
118
|
-
public: "public";
|
|
119
180
|
private: "private";
|
|
181
|
+
public: "public";
|
|
120
182
|
}>>;
|
|
121
183
|
progressMessage: z.ZodOptional<z.ZodString>;
|
|
122
184
|
knowledgeId: z.ZodOptional<z.ZodString>;
|
|
185
|
+
toolTimeline: z.ZodOptional<z.ZodObject<{
|
|
186
|
+
logType: z.ZodEnum<{
|
|
187
|
+
customer_facing: "customer_facing";
|
|
188
|
+
log: "log";
|
|
189
|
+
decision: "decision";
|
|
190
|
+
}>;
|
|
191
|
+
triggerMessageId: z.ZodString;
|
|
192
|
+
workflowRunId: z.ZodString;
|
|
193
|
+
triggerVisibility: z.ZodOptional<z.ZodEnum<{
|
|
194
|
+
private: "private";
|
|
195
|
+
public: "public";
|
|
196
|
+
}>>;
|
|
197
|
+
}, z.core.$strip>>;
|
|
123
198
|
}, z.core.$strip>>;
|
|
124
199
|
}, z.core.$loose>>;
|
|
125
200
|
}, z.core.$strip>, z.ZodObject<{
|
package/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","names":[],"sources":["../src/schemas.ts"],"sourcesContent":[],"mappings":";;;cAIa,YAAU,CAAA,CAAA;;EAAV,IAAA,aAUX;;;;;;;;;KAEU,SAAA,GAAY,CAAA,CAAE,aAAa;cAE1B,oBAAkB,CAAA,CAAA;;;;EAdR,SAAA,aAAA;EAAA,SAAA,aAAA;EAYX,SAAA,aAAS;EAER,MAAA,cAAA,UAmBX,CAAA
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","names":[],"sources":["../src/schemas.ts"],"sourcesContent":[],"mappings":";;;cAIa,YAAU,CAAA,CAAA;;EAAV,IAAA,aAUX;;;;;;;;;KAEU,SAAA,GAAY,CAAA,CAAE,aAAa;cAE1B,oBAAkB,CAAA,CAAA;;;;EAdR,SAAA,aAAA;EAAA,SAAA,aAAA;EAYX,SAAA,aAAS;EAER,MAAA,cAAA,UAmBX,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAEU,YAAA,GAAe,CAAA,CAAE,aAAa;cAE7B,wBAAsB,CAAA,CAAA;EAvBJ,EAAA,aAAA;EAAA,cAAA,aAAA;EAqBnB,MAAA,eAAY,YAAkB,CAAA;EAE7B,SAAA,eAAA,YAUX,CAAA;;;;;;;KAEU,gBAAA,GAAmB,CAAA,CAAE,aAAa"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//#region src/skill-file-format.d.ts
|
|
2
|
+
type ParseSkillFileContentInput = {
|
|
3
|
+
content: string;
|
|
4
|
+
canonicalFileName: string;
|
|
5
|
+
fallbackDescription?: string;
|
|
6
|
+
};
|
|
7
|
+
type ParsedSkillFileContent = {
|
|
8
|
+
name: string;
|
|
9
|
+
description: string;
|
|
10
|
+
body: string;
|
|
11
|
+
hasFrontmatter: boolean;
|
|
12
|
+
};
|
|
13
|
+
type SerializeSkillFileContentInput = {
|
|
14
|
+
name: string;
|
|
15
|
+
description: string;
|
|
16
|
+
body: string;
|
|
17
|
+
};
|
|
18
|
+
declare function stripSkillMarkdownExtension(value: string): string;
|
|
19
|
+
declare function deriveSkillDescriptionFromBody(body: string): string;
|
|
20
|
+
declare function parseSkillFileContent(input: ParseSkillFileContentInput): ParsedSkillFileContent;
|
|
21
|
+
declare function serializeSkillFileContent(input: SerializeSkillFileContentInput): string;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { ParseSkillFileContentInput, ParsedSkillFileContent, SerializeSkillFileContentInput, deriveSkillDescriptionFromBody, parseSkillFileContent, serializeSkillFileContent, stripSkillMarkdownExtension };
|
|
24
|
+
//# sourceMappingURL=skill-file-format.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"skill-file-format.d.ts","names":[],"sources":["../src/skill-file-format.ts"],"sourcesContent":[],"mappings":";KAIY,0BAAA;EAAA,OAAA,EAAA,MAAA;EAMA,iBAAA,EAAA,MAAsB;EAOtB,mBAAA,CAAA,EAAA,MAAA;AA4FZ,CAAA;AAIgB,KAvGJ,sBAAA,GAuGkC;EAiC9B,IAAA,EAAA,MAAA;EA6CA,WAAA,EAAA,MAAA;;;;KA9KJ,8BAAA;;;;;iBA4FI,2BAAA;iBAIA,8BAAA;iBAiCA,qBAAA,QACR,6BACL;iBA2Ca,yBAAA,QACR"}
|