@goodtiming/baton-sdk 0.5.8 → 0.6.1
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/README.md +12 -2
- package/dist/index.cjs +165 -91
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +260 -7
- package/dist/index.d.ts +260 -7
- package/dist/index.js +165 -91
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
-
declare const SDK_VERSION = "ts-0.
|
|
3
|
+
declare const SDK_VERSION = "ts-0.6.1";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Zod schemas + TS types for the Baton event stream per SPEC §11.4.
|
|
@@ -339,6 +339,12 @@ declare const ToolCallStartEventSchema: z.ZodObject<{
|
|
|
339
339
|
form: z.ZodString;
|
|
340
340
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
341
341
|
}, z.core.$strict>>>;
|
|
342
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
source: z.ZodString;
|
|
345
|
+
form: z.ZodString;
|
|
346
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
347
|
+
}, z.core.$strict>>>;
|
|
342
348
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
343
349
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
344
350
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -378,6 +384,12 @@ declare const ToolCallEndEventSchema: z.ZodObject<{
|
|
|
378
384
|
form: z.ZodString;
|
|
379
385
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
386
|
}, z.core.$strict>>>;
|
|
387
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
388
|
+
id: z.ZodString;
|
|
389
|
+
source: z.ZodString;
|
|
390
|
+
form: z.ZodString;
|
|
391
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
392
|
+
}, z.core.$strict>>>;
|
|
381
393
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
382
394
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
383
395
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -420,6 +432,12 @@ declare const ToolCallErrorEventSchema: z.ZodObject<{
|
|
|
420
432
|
form: z.ZodString;
|
|
421
433
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
422
434
|
}, z.core.$strict>>>;
|
|
435
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
436
|
+
id: z.ZodString;
|
|
437
|
+
source: z.ZodString;
|
|
438
|
+
form: z.ZodString;
|
|
439
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
440
|
+
}, z.core.$strict>>>;
|
|
423
441
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
424
442
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
425
443
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -462,6 +480,12 @@ declare const AnnotationEventSchema: z.ZodObject<{
|
|
|
462
480
|
form: z.ZodString;
|
|
463
481
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
464
482
|
}, z.core.$strict>>>;
|
|
483
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
484
|
+
id: z.ZodString;
|
|
485
|
+
source: z.ZodString;
|
|
486
|
+
form: z.ZodString;
|
|
487
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
488
|
+
}, z.core.$strict>>>;
|
|
465
489
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
466
490
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
467
491
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -503,6 +527,12 @@ declare const SurfaceSnapshotEventSchema: z.ZodObject<{
|
|
|
503
527
|
form: z.ZodString;
|
|
504
528
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
505
529
|
}, z.core.$strict>>>;
|
|
530
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
531
|
+
id: z.ZodString;
|
|
532
|
+
source: z.ZodString;
|
|
533
|
+
form: z.ZodString;
|
|
534
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
535
|
+
}, z.core.$strict>>>;
|
|
506
536
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
507
537
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
508
538
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -537,6 +567,12 @@ declare const ResourceListStartEventSchema: z.ZodObject<{
|
|
|
537
567
|
form: z.ZodString;
|
|
538
568
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
539
569
|
}, z.core.$strict>>>;
|
|
570
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
571
|
+
id: z.ZodString;
|
|
572
|
+
source: z.ZodString;
|
|
573
|
+
form: z.ZodString;
|
|
574
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
575
|
+
}, z.core.$strict>>>;
|
|
540
576
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
541
577
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
542
578
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -574,6 +610,12 @@ declare const ResourceListEndEventSchema: z.ZodObject<{
|
|
|
574
610
|
form: z.ZodString;
|
|
575
611
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
576
612
|
}, z.core.$strict>>>;
|
|
613
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
614
|
+
id: z.ZodString;
|
|
615
|
+
source: z.ZodString;
|
|
616
|
+
form: z.ZodString;
|
|
617
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
618
|
+
}, z.core.$strict>>>;
|
|
577
619
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
578
620
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
579
621
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -612,6 +654,12 @@ declare const ResourceListErrorEventSchema: z.ZodObject<{
|
|
|
612
654
|
form: z.ZodString;
|
|
613
655
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
656
|
}, z.core.$strict>>>;
|
|
657
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
658
|
+
id: z.ZodString;
|
|
659
|
+
source: z.ZodString;
|
|
660
|
+
form: z.ZodString;
|
|
661
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
662
|
+
}, z.core.$strict>>>;
|
|
615
663
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
616
664
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
617
665
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -649,6 +697,12 @@ declare const ResourceReadStartEventSchema: z.ZodObject<{
|
|
|
649
697
|
form: z.ZodString;
|
|
650
698
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
651
699
|
}, z.core.$strict>>>;
|
|
700
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
701
|
+
id: z.ZodString;
|
|
702
|
+
source: z.ZodString;
|
|
703
|
+
form: z.ZodString;
|
|
704
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
705
|
+
}, z.core.$strict>>>;
|
|
652
706
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
653
707
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
654
708
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -686,6 +740,12 @@ declare const ResourceReadEndEventSchema: z.ZodObject<{
|
|
|
686
740
|
form: z.ZodString;
|
|
687
741
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
688
742
|
}, z.core.$strict>>>;
|
|
743
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
744
|
+
id: z.ZodString;
|
|
745
|
+
source: z.ZodString;
|
|
746
|
+
form: z.ZodString;
|
|
747
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
748
|
+
}, z.core.$strict>>>;
|
|
689
749
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
690
750
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
691
751
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -725,6 +785,12 @@ declare const ResourceReadErrorEventSchema: z.ZodObject<{
|
|
|
725
785
|
form: z.ZodString;
|
|
726
786
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
727
787
|
}, z.core.$strict>>>;
|
|
788
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
789
|
+
id: z.ZodString;
|
|
790
|
+
source: z.ZodString;
|
|
791
|
+
form: z.ZodString;
|
|
792
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
793
|
+
}, z.core.$strict>>>;
|
|
728
794
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
729
795
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
730
796
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -759,6 +825,12 @@ declare const PromptListStartEventSchema: z.ZodObject<{
|
|
|
759
825
|
form: z.ZodString;
|
|
760
826
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
761
827
|
}, z.core.$strict>>>;
|
|
828
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
829
|
+
id: z.ZodString;
|
|
830
|
+
source: z.ZodString;
|
|
831
|
+
form: z.ZodString;
|
|
832
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
833
|
+
}, z.core.$strict>>>;
|
|
762
834
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
763
835
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
764
836
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -796,6 +868,12 @@ declare const PromptListEndEventSchema: z.ZodObject<{
|
|
|
796
868
|
form: z.ZodString;
|
|
797
869
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
798
870
|
}, z.core.$strict>>>;
|
|
871
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
872
|
+
id: z.ZodString;
|
|
873
|
+
source: z.ZodString;
|
|
874
|
+
form: z.ZodString;
|
|
875
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
876
|
+
}, z.core.$strict>>>;
|
|
799
877
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
800
878
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
801
879
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -834,6 +912,12 @@ declare const PromptListErrorEventSchema: z.ZodObject<{
|
|
|
834
912
|
form: z.ZodString;
|
|
835
913
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
836
914
|
}, z.core.$strict>>>;
|
|
915
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
916
|
+
id: z.ZodString;
|
|
917
|
+
source: z.ZodString;
|
|
918
|
+
form: z.ZodString;
|
|
919
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
920
|
+
}, z.core.$strict>>>;
|
|
837
921
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
838
922
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
839
923
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -871,6 +955,12 @@ declare const PromptGetStartEventSchema: z.ZodObject<{
|
|
|
871
955
|
form: z.ZodString;
|
|
872
956
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
873
957
|
}, z.core.$strict>>>;
|
|
958
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
959
|
+
id: z.ZodString;
|
|
960
|
+
source: z.ZodString;
|
|
961
|
+
form: z.ZodString;
|
|
962
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
963
|
+
}, z.core.$strict>>>;
|
|
874
964
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
875
965
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
876
966
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -908,6 +998,12 @@ declare const PromptGetEndEventSchema: z.ZodObject<{
|
|
|
908
998
|
form: z.ZodString;
|
|
909
999
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
910
1000
|
}, z.core.$strict>>>;
|
|
1001
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1002
|
+
id: z.ZodString;
|
|
1003
|
+
source: z.ZodString;
|
|
1004
|
+
form: z.ZodString;
|
|
1005
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1006
|
+
}, z.core.$strict>>>;
|
|
911
1007
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
912
1008
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
913
1009
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -947,6 +1043,12 @@ declare const PromptGetErrorEventSchema: z.ZodObject<{
|
|
|
947
1043
|
form: z.ZodString;
|
|
948
1044
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
949
1045
|
}, z.core.$strict>>>;
|
|
1046
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1047
|
+
id: z.ZodString;
|
|
1048
|
+
source: z.ZodString;
|
|
1049
|
+
form: z.ZodString;
|
|
1050
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1051
|
+
}, z.core.$strict>>>;
|
|
950
1052
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
951
1053
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
952
1054
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -981,6 +1083,12 @@ declare const ToolListStartEventSchema: z.ZodObject<{
|
|
|
981
1083
|
form: z.ZodString;
|
|
982
1084
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
983
1085
|
}, z.core.$strict>>>;
|
|
1086
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1087
|
+
id: z.ZodString;
|
|
1088
|
+
source: z.ZodString;
|
|
1089
|
+
form: z.ZodString;
|
|
1090
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1091
|
+
}, z.core.$strict>>>;
|
|
984
1092
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
985
1093
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
986
1094
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1018,6 +1126,12 @@ declare const ToolListEndEventSchema: z.ZodObject<{
|
|
|
1018
1126
|
form: z.ZodString;
|
|
1019
1127
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1020
1128
|
}, z.core.$strict>>>;
|
|
1129
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1130
|
+
id: z.ZodString;
|
|
1131
|
+
source: z.ZodString;
|
|
1132
|
+
form: z.ZodString;
|
|
1133
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1134
|
+
}, z.core.$strict>>>;
|
|
1021
1135
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1022
1136
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1023
1137
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1056,6 +1170,12 @@ declare const ToolListErrorEventSchema: z.ZodObject<{
|
|
|
1056
1170
|
form: z.ZodString;
|
|
1057
1171
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1058
1172
|
}, z.core.$strict>>>;
|
|
1173
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
source: z.ZodString;
|
|
1176
|
+
form: z.ZodString;
|
|
1177
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1178
|
+
}, z.core.$strict>>>;
|
|
1059
1179
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1060
1180
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1061
1181
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1098,6 +1218,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1098
1218
|
form: z.ZodString;
|
|
1099
1219
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1100
1220
|
}, z.core.$strict>>>;
|
|
1221
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1222
|
+
id: z.ZodString;
|
|
1223
|
+
source: z.ZodString;
|
|
1224
|
+
form: z.ZodString;
|
|
1225
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1226
|
+
}, z.core.$strict>>>;
|
|
1101
1227
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1102
1228
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1103
1229
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1135,6 +1261,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1135
1261
|
form: z.ZodString;
|
|
1136
1262
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1137
1263
|
}, z.core.$strict>>>;
|
|
1264
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1265
|
+
id: z.ZodString;
|
|
1266
|
+
source: z.ZodString;
|
|
1267
|
+
form: z.ZodString;
|
|
1268
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1269
|
+
}, z.core.$strict>>>;
|
|
1138
1270
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1139
1271
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1140
1272
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1175,6 +1307,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1175
1307
|
form: z.ZodString;
|
|
1176
1308
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1177
1309
|
}, z.core.$strict>>>;
|
|
1310
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1311
|
+
id: z.ZodString;
|
|
1312
|
+
source: z.ZodString;
|
|
1313
|
+
form: z.ZodString;
|
|
1314
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1315
|
+
}, z.core.$strict>>>;
|
|
1178
1316
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1179
1317
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1180
1318
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1215,6 +1353,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1215
1353
|
form: z.ZodString;
|
|
1216
1354
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1217
1355
|
}, z.core.$strict>>>;
|
|
1356
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1357
|
+
id: z.ZodString;
|
|
1358
|
+
source: z.ZodString;
|
|
1359
|
+
form: z.ZodString;
|
|
1360
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1361
|
+
}, z.core.$strict>>>;
|
|
1218
1362
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1219
1363
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1220
1364
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1254,6 +1398,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1254
1398
|
form: z.ZodString;
|
|
1255
1399
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1256
1400
|
}, z.core.$strict>>>;
|
|
1401
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1402
|
+
id: z.ZodString;
|
|
1403
|
+
source: z.ZodString;
|
|
1404
|
+
form: z.ZodString;
|
|
1405
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1406
|
+
}, z.core.$strict>>>;
|
|
1257
1407
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1258
1408
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1259
1409
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1286,6 +1436,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1286
1436
|
form: z.ZodString;
|
|
1287
1437
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1288
1438
|
}, z.core.$strict>>>;
|
|
1439
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1440
|
+
id: z.ZodString;
|
|
1441
|
+
source: z.ZodString;
|
|
1442
|
+
form: z.ZodString;
|
|
1443
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1444
|
+
}, z.core.$strict>>>;
|
|
1289
1445
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1290
1446
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1291
1447
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1321,6 +1477,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1321
1477
|
form: z.ZodString;
|
|
1322
1478
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1323
1479
|
}, z.core.$strict>>>;
|
|
1480
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1481
|
+
id: z.ZodString;
|
|
1482
|
+
source: z.ZodString;
|
|
1483
|
+
form: z.ZodString;
|
|
1484
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1485
|
+
}, z.core.$strict>>>;
|
|
1324
1486
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1325
1487
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1326
1488
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1357,6 +1519,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1357
1519
|
form: z.ZodString;
|
|
1358
1520
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1359
1521
|
}, z.core.$strict>>>;
|
|
1522
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1523
|
+
id: z.ZodString;
|
|
1524
|
+
source: z.ZodString;
|
|
1525
|
+
form: z.ZodString;
|
|
1526
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1527
|
+
}, z.core.$strict>>>;
|
|
1360
1528
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1361
1529
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1362
1530
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1392,6 +1560,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1392
1560
|
form: z.ZodString;
|
|
1393
1561
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
1562
|
}, z.core.$strict>>>;
|
|
1563
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1564
|
+
id: z.ZodString;
|
|
1565
|
+
source: z.ZodString;
|
|
1566
|
+
form: z.ZodString;
|
|
1567
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1568
|
+
}, z.core.$strict>>>;
|
|
1395
1569
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1396
1570
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1397
1571
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1427,6 +1601,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1427
1601
|
form: z.ZodString;
|
|
1428
1602
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1429
1603
|
}, z.core.$strict>>>;
|
|
1604
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1605
|
+
id: z.ZodString;
|
|
1606
|
+
source: z.ZodString;
|
|
1607
|
+
form: z.ZodString;
|
|
1608
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1609
|
+
}, z.core.$strict>>>;
|
|
1430
1610
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1431
1611
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1432
1612
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1464,6 +1644,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1464
1644
|
form: z.ZodString;
|
|
1465
1645
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1466
1646
|
}, z.core.$strict>>>;
|
|
1647
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1648
|
+
id: z.ZodString;
|
|
1649
|
+
source: z.ZodString;
|
|
1650
|
+
form: z.ZodString;
|
|
1651
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1652
|
+
}, z.core.$strict>>>;
|
|
1467
1653
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1468
1654
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1469
1655
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1496,6 +1682,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1496
1682
|
form: z.ZodString;
|
|
1497
1683
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1498
1684
|
}, z.core.$strict>>>;
|
|
1685
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1686
|
+
id: z.ZodString;
|
|
1687
|
+
source: z.ZodString;
|
|
1688
|
+
form: z.ZodString;
|
|
1689
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1690
|
+
}, z.core.$strict>>>;
|
|
1499
1691
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1500
1692
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1501
1693
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1531,6 +1723,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1531
1723
|
form: z.ZodString;
|
|
1532
1724
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1533
1725
|
}, z.core.$strict>>>;
|
|
1726
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1727
|
+
id: z.ZodString;
|
|
1728
|
+
source: z.ZodString;
|
|
1729
|
+
form: z.ZodString;
|
|
1730
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1731
|
+
}, z.core.$strict>>>;
|
|
1534
1732
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1535
1733
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1536
1734
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1567,6 +1765,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1567
1765
|
form: z.ZodString;
|
|
1568
1766
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1569
1767
|
}, z.core.$strict>>>;
|
|
1768
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1769
|
+
id: z.ZodString;
|
|
1770
|
+
source: z.ZodString;
|
|
1771
|
+
form: z.ZodString;
|
|
1772
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1773
|
+
}, z.core.$strict>>>;
|
|
1570
1774
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1571
1775
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1572
1776
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1602,6 +1806,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1602
1806
|
form: z.ZodString;
|
|
1603
1807
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1604
1808
|
}, z.core.$strict>>>;
|
|
1809
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1810
|
+
id: z.ZodString;
|
|
1811
|
+
source: z.ZodString;
|
|
1812
|
+
form: z.ZodString;
|
|
1813
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1814
|
+
}, z.core.$strict>>>;
|
|
1605
1815
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1606
1816
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1607
1817
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1637,6 +1847,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1637
1847
|
form: z.ZodString;
|
|
1638
1848
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1639
1849
|
}, z.core.$strict>>>;
|
|
1850
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1851
|
+
id: z.ZodString;
|
|
1852
|
+
source: z.ZodString;
|
|
1853
|
+
form: z.ZodString;
|
|
1854
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1855
|
+
}, z.core.$strict>>>;
|
|
1640
1856
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1641
1857
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1642
1858
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1674,6 +1890,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1674
1890
|
form: z.ZodString;
|
|
1675
1891
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1676
1892
|
}, z.core.$strict>>>;
|
|
1893
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1894
|
+
id: z.ZodString;
|
|
1895
|
+
source: z.ZodString;
|
|
1896
|
+
form: z.ZodString;
|
|
1897
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1898
|
+
}, z.core.$strict>>>;
|
|
1677
1899
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1678
1900
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1679
1901
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1706,6 +1928,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1706
1928
|
form: z.ZodString;
|
|
1707
1929
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1708
1930
|
}, z.core.$strict>>>;
|
|
1931
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1932
|
+
id: z.ZodString;
|
|
1933
|
+
source: z.ZodString;
|
|
1934
|
+
form: z.ZodString;
|
|
1935
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1936
|
+
}, z.core.$strict>>>;
|
|
1709
1937
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1710
1938
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1711
1939
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1741,6 +1969,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1741
1969
|
form: z.ZodString;
|
|
1742
1970
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1743
1971
|
}, z.core.$strict>>>;
|
|
1972
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
1973
|
+
id: z.ZodString;
|
|
1974
|
+
source: z.ZodString;
|
|
1975
|
+
form: z.ZodString;
|
|
1976
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1977
|
+
}, z.core.$strict>>>;
|
|
1744
1978
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1745
1979
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1746
1980
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -1777,6 +2011,12 @@ declare const EventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1777
2011
|
form: z.ZodString;
|
|
1778
2012
|
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1779
2013
|
}, z.core.$strict>>>;
|
|
2014
|
+
organization: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
2015
|
+
id: z.ZodString;
|
|
2016
|
+
source: z.ZodString;
|
|
2017
|
+
form: z.ZodString;
|
|
2018
|
+
display_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2019
|
+
}, z.core.$strict>>>;
|
|
1780
2020
|
transport_observed: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1781
2021
|
session_id_origin: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
1782
2022
|
client_observed: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
@@ -2051,6 +2291,17 @@ interface Principal {
|
|
|
2051
2291
|
* show, and it is personal data whatever `form` says. An unusable value is
|
|
2052
2292
|
* dropped alone — see `wireDisplayName`. */
|
|
2053
2293
|
displayName?: string | null | undefined;
|
|
2294
|
+
/** The company this principal belongs to. Sent as `organization`, and
|
|
2295
|
+
* dropped alone when unusable (SPEC §11.4). */
|
|
2296
|
+
organization?: Organization | null | undefined;
|
|
2297
|
+
}
|
|
2298
|
+
/** The company or workspace the caller belongs to, as the vendor sees it.
|
|
2299
|
+
* Sent as `organization` (SPEC §11.4), beside `principal` or alone. It is
|
|
2300
|
+
* never counted as a person. `form` describes `organizationId` alone. */
|
|
2301
|
+
interface Organization {
|
|
2302
|
+
organizationId: string;
|
|
2303
|
+
form?: PrincipalForm | undefined;
|
|
2304
|
+
displayName?: string | null | undefined;
|
|
2054
2305
|
}
|
|
2055
2306
|
|
|
2056
2307
|
/** A validated access token, as both majors declare it
|
|
@@ -2117,7 +2368,7 @@ interface PrincipalResolutionContext {
|
|
|
2117
2368
|
}
|
|
2118
2369
|
/** A vendor's per-request identity resolver. Sync or async; returning `null`
|
|
2119
2370
|
* means "no opinion about this caller", which is not an error. */
|
|
2120
|
-
type ResolvePrincipalHook = (context: PrincipalResolutionContext) => Principal | null | Promise<Principal | null>;
|
|
2371
|
+
type ResolvePrincipalHook = (context: PrincipalResolutionContext) => Principal | Organization | null | Promise<Principal | Organization | null>;
|
|
2121
2372
|
|
|
2122
2373
|
/** The registered values of `resultCaptureMode` (SPEC §11.4), and the single
|
|
2123
2374
|
* source of truth for them.
|
|
@@ -2239,8 +2490,7 @@ interface BatonConfig {
|
|
|
2239
2490
|
* `tools/list`, without enforcing it: a call that omits it still reaches
|
|
2240
2491
|
* your handler, and its event simply carries no intent. `"optional"` injects
|
|
2241
2492
|
* the same param and does not advertise it as required. There is no
|
|
2242
|
-
* `"off"`:
|
|
2243
|
-
* what the user is trying to do. The param is stripped before the vendor
|
|
2493
|
+
* `"off"`: nothing else would capture what the user is trying to do. The param is stripped before the vendor
|
|
2244
2494
|
* handler runs, so the tool never sees it.
|
|
2245
2495
|
* This is what captures intent on runtimes that drop `instructions`
|
|
2246
2496
|
* (notably Claude Desktop) — where the annotation tool alone yields
|
|
@@ -2533,8 +2783,11 @@ interface ClientOptions {
|
|
|
2533
2783
|
interface SessionOptions {
|
|
2534
2784
|
/** The vendor's own id for the conversation; without one, the block mints one. */
|
|
2535
2785
|
sessionId?: string;
|
|
2536
|
-
/** Who the vendor says is calling
|
|
2537
|
-
|
|
2786
|
+
/** Who the vendor says is calling: a `Principal`, which may carry its
|
|
2787
|
+
* `organization`, or an `Organization` alone when only the company is known.
|
|
2788
|
+
* A block with only a company and no `sessionId` is never joined to another
|
|
2789
|
+
* (SPEC §11.5.1), so pass your own `sessionId` then. */
|
|
2790
|
+
principal?: Principal | Organization;
|
|
2538
2791
|
/** What the calling client said about itself. */
|
|
2539
2792
|
clientInfo?: {
|
|
2540
2793
|
name?: string;
|
|
@@ -2627,4 +2880,4 @@ interface IntentParam {
|
|
|
2627
2880
|
}
|
|
2628
2881
|
declare const INTENT_PARAMS: readonly IntentParam[];
|
|
2629
2882
|
|
|
2630
|
-
export { type AnnotateOptions, type AnnotationEvent, AnnotationEventSchema, type AnnotationPayload, AnnotationPayloadSchema, type AuthInfo, type Baton, type BatonConfig, BatonHandle, Client, type ClientOptions, DEFAULT_CONSENT_TOKEN, DEPTH_LIMIT, type Event, EventSchema, type EventType, EventTypeSchema, type HeaderInput, HttpSink, type HttpSinkOptions, INTENT_INSTRUCTIONS, INTENT_PARAMS, type IntentParam, type ObservedError, PRINCIPAL_FORM_HASHED, PRINCIPAL_FORM_RAW, PRINCIPAL_SOURCE_ASSERTED, type Principal, type PrincipalForm, type PrincipalResolutionContext, PrincipalWireSchema, type PromptGetEndEvent, PromptGetEndEventSchema, type PromptGetEndPayload, PromptGetEndPayloadSchema, type PromptGetErrorEvent, PromptGetErrorEventSchema, type PromptGetErrorPayload, PromptGetErrorPayloadSchema, type PromptGetStartEvent, PromptGetStartEventSchema, type PromptGetStartPayload, PromptGetStartPayloadSchema, type PromptListEndEvent, PromptListEndEventSchema, type PromptListEndPayload, PromptListEndPayloadSchema, type PromptListErrorEvent, PromptListErrorEventSchema, type PromptListErrorPayload, PromptListErrorPayloadSchema, type PromptListStartEvent, PromptListStartEventSchema, type PromptListStartPayload, PromptListStartPayloadSchema, type ResolvePrincipalHook, type ResourceListEndEvent, ResourceListEndEventSchema, type ResourceListEndPayload, ResourceListEndPayloadSchema, type ResourceListErrorEvent, ResourceListErrorEventSchema, type ResourceListErrorPayload, ResourceListErrorPayloadSchema, type ResourceListStartEvent, ResourceListStartEventSchema, type ResourceListStartPayload, ResourceListStartPayloadSchema, type ResourceReadEndEvent, ResourceReadEndEventSchema, type ResourceReadEndPayload, ResourceReadEndPayloadSchema, type ResourceReadErrorEvent, ResourceReadErrorEventSchema, type ResourceReadErrorPayload, ResourceReadErrorPayloadSchema, type ResourceReadStartEvent, ResourceReadStartEventSchema, type ResourceReadStartPayload, ResourceReadStartPayloadSchema, type ResultCaptureMode, SDK_VERSION, Scrubber, type SessionOptions, type Sink, StdoutSink, type StdoutSinkOptions, type SupportedMcpServer, type SurfaceSnapshotEvent, SurfaceSnapshotEventSchema, type SurfaceSnapshotPayload, SurfaceSnapshotPayloadSchema, type ToolCallEndEvent, ToolCallEndEventSchema, type ToolCallEndPayload, ToolCallEndPayloadSchema, type ToolCallErrorEvent, ToolCallErrorEventSchema, type ToolCallErrorPayload, ToolCallErrorPayloadSchema, type ToolCallStartEvent, ToolCallStartEventSchema, type ToolCallStartPayload, ToolCallStartPayloadSchema, type ToolListEndEvent, ToolListEndEventSchema, type ToolListEndPayload, ToolListEndPayloadSchema, type ToolListErrorEvent, ToolListErrorEventSchema, type ToolListErrorPayload, ToolListErrorPayloadSchema, type ToolListStartEvent, ToolListStartEventSchema, type ToolListStartPayload, ToolListStartPayloadSchema, Trace, type TraceOptions, createBaton, identityScrub, principalFromOAuthEmail, principalFromOAuthSub, safeWrite, withBaton };
|
|
2883
|
+
export { type AnnotateOptions, type AnnotationEvent, AnnotationEventSchema, type AnnotationPayload, AnnotationPayloadSchema, type AuthInfo, type Baton, type BatonConfig, BatonHandle, Client, type ClientOptions, DEFAULT_CONSENT_TOKEN, DEPTH_LIMIT, type Event, EventSchema, type EventType, EventTypeSchema, type HeaderInput, HttpSink, type HttpSinkOptions, INTENT_INSTRUCTIONS, INTENT_PARAMS, type IntentParam, type ObservedError, type Organization, PRINCIPAL_FORM_HASHED, PRINCIPAL_FORM_RAW, PRINCIPAL_SOURCE_ASSERTED, type Principal, type PrincipalForm, type PrincipalResolutionContext, PrincipalWireSchema, type PromptGetEndEvent, PromptGetEndEventSchema, type PromptGetEndPayload, PromptGetEndPayloadSchema, type PromptGetErrorEvent, PromptGetErrorEventSchema, type PromptGetErrorPayload, PromptGetErrorPayloadSchema, type PromptGetStartEvent, PromptGetStartEventSchema, type PromptGetStartPayload, PromptGetStartPayloadSchema, type PromptListEndEvent, PromptListEndEventSchema, type PromptListEndPayload, PromptListEndPayloadSchema, type PromptListErrorEvent, PromptListErrorEventSchema, type PromptListErrorPayload, PromptListErrorPayloadSchema, type PromptListStartEvent, PromptListStartEventSchema, type PromptListStartPayload, PromptListStartPayloadSchema, type ResolvePrincipalHook, type ResourceListEndEvent, ResourceListEndEventSchema, type ResourceListEndPayload, ResourceListEndPayloadSchema, type ResourceListErrorEvent, ResourceListErrorEventSchema, type ResourceListErrorPayload, ResourceListErrorPayloadSchema, type ResourceListStartEvent, ResourceListStartEventSchema, type ResourceListStartPayload, ResourceListStartPayloadSchema, type ResourceReadEndEvent, ResourceReadEndEventSchema, type ResourceReadEndPayload, ResourceReadEndPayloadSchema, type ResourceReadErrorEvent, ResourceReadErrorEventSchema, type ResourceReadErrorPayload, ResourceReadErrorPayloadSchema, type ResourceReadStartEvent, ResourceReadStartEventSchema, type ResourceReadStartPayload, ResourceReadStartPayloadSchema, type ResultCaptureMode, SDK_VERSION, Scrubber, type SessionOptions, type Sink, StdoutSink, type StdoutSinkOptions, type SupportedMcpServer, type SurfaceSnapshotEvent, SurfaceSnapshotEventSchema, type SurfaceSnapshotPayload, SurfaceSnapshotPayloadSchema, type ToolCallEndEvent, ToolCallEndEventSchema, type ToolCallEndPayload, ToolCallEndPayloadSchema, type ToolCallErrorEvent, ToolCallErrorEventSchema, type ToolCallErrorPayload, ToolCallErrorPayloadSchema, type ToolCallStartEvent, ToolCallStartEventSchema, type ToolCallStartPayload, ToolCallStartPayloadSchema, type ToolListEndEvent, ToolListEndEventSchema, type ToolListEndPayload, ToolListEndPayloadSchema, type ToolListErrorEvent, ToolListErrorEventSchema, type ToolListErrorPayload, ToolListErrorPayloadSchema, type ToolListStartEvent, ToolListStartEventSchema, type ToolListStartPayload, ToolListStartPayloadSchema, Trace, type TraceOptions, createBaton, identityScrub, principalFromOAuthEmail, principalFromOAuthSub, safeWrite, withBaton };
|