@vibes.diy/api-types 2.0.1 → 2.0.6

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/chat.d.ts CHANGED
@@ -23,6 +23,7 @@ export declare const reqOpenChat: import("arktype/internal/variants/object.ts").
23
23
  appSlug?: string | undefined;
24
24
  userSlug?: string | undefined;
25
25
  chatId?: string | undefined;
26
+ prompt?: string | undefined;
26
27
  mode: "app" | "chat" | "fs-set" | "fs-update" | "img";
27
28
  }, {}>;
28
29
  export type ReqOpenChat = typeof reqOpenChat.infer;
@@ -63,6 +64,7 @@ export declare const reqCreationPromptChatSection: import("arktype/internal/vari
63
64
  presence_penalty?: number | undefined;
64
65
  stop?: string | string[] | undefined;
65
66
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
67
+ modalities?: string[] | undefined;
66
68
  };
67
69
  }, {}>;
68
70
  export declare function isReqCreationPromptChatSection(obj: unknown): obj is typeof reqCreationPromptChatSection.infer;
@@ -94,6 +96,7 @@ export declare const reqPromptApplicationChatSection: import("arktype/internal/v
94
96
  presence_penalty?: number | undefined;
95
97
  stop?: string | string[] | undefined;
96
98
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
99
+ modalities?: string[] | undefined;
97
100
  };
98
101
  }, {}>;
99
102
  export declare function isReqPromptApplicationChatSection(obj: unknown): obj is typeof reqPromptApplicationChatSection.infer;
@@ -125,7 +128,9 @@ export declare const reqPromptImageChatSection: import("arktype/internal/variant
125
128
  presence_penalty?: number | undefined;
126
129
  stop?: string | string[] | undefined;
127
130
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
131
+ modalities?: string[] | undefined;
128
132
  };
133
+ inputImageBase64?: string | undefined;
129
134
  }, {}>;
130
135
  export declare function isReqPromptImageChatSection(obj: unknown): obj is typeof reqPromptImageChatSection.infer;
131
136
  export declare const FSUpdate: import("arktype/internal/variants/object.ts").ObjectType<{
@@ -307,6 +312,7 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
307
312
  presence_penalty?: number | undefined;
308
313
  stop?: string | string[] | undefined;
309
314
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
315
+ modalities?: string[] | undefined;
310
316
  };
311
317
  } | {
312
318
  type: "vibes.diy.req-prompt-chat-section";
@@ -336,6 +342,7 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
336
342
  presence_penalty?: number | undefined;
337
343
  stop?: string | string[] | undefined;
338
344
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
345
+ modalities?: string[] | undefined;
339
346
  };
340
347
  } | {
341
348
  type: "vibes.diy.req-prompt-chat-section";
@@ -365,7 +372,9 @@ export declare const reqPromptLLMChatSection: import("arktype/internal/variants/
365
372
  presence_penalty?: number | undefined;
366
373
  stop?: string | string[] | undefined;
367
374
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
375
+ modalities?: string[] | undefined;
368
376
  };
377
+ inputImageBase64?: string | undefined;
369
378
  }, {}>;
370
379
  export type ReqPromptLLMChatSection = typeof reqPromptLLMChatSection.infer;
371
380
  export declare function isReqPromptLLMChatSection(obj: unknown): obj is ReqPromptLLMChatSection;
@@ -500,6 +509,7 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
500
509
  presence_penalty?: number | undefined;
501
510
  stop?: string | string[] | undefined;
502
511
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
512
+ modalities?: string[] | undefined;
503
513
  };
504
514
  } | {
505
515
  type: "vibes.diy.req-prompt-chat-section";
@@ -529,6 +539,7 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
529
539
  presence_penalty?: number | undefined;
530
540
  stop?: string | string[] | undefined;
531
541
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
542
+ modalities?: string[] | undefined;
532
543
  };
533
544
  } | {
534
545
  type: "vibes.diy.req-prompt-chat-section";
@@ -558,7 +569,9 @@ export declare const reqPromptChatSection: import("arktype/internal/variants/obj
558
569
  presence_penalty?: number | undefined;
559
570
  stop?: string | string[] | undefined;
560
571
  verbosity?: "high" | "low" | "max" | "medium" | undefined;
572
+ modalities?: string[] | undefined;
561
573
  };
574
+ inputImageBase64?: string | undefined;
562
575
  } | {
563
576
  type: "vibes.diy.req-prompt-chat-section";
564
577
  mode: "fs-update";
@@ -673,6 +686,96 @@ export declare const resPromptChatSection: import("arktype/internal/variants/obj
673
686
  export type ResPromptChatSection = typeof resPromptChatSection.infer;
674
687
  export declare function isResPromptChatSection(obj: unknown): obj is ResPromptChatSection;
675
688
  export declare const PromptAndBlockMsgs: import("arktype/internal/variants/object.ts").ObjectType<{
689
+ streamId: string;
690
+ chatId: string;
691
+ seq: number;
692
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
693
+ type: "prompt.block-begin";
694
+ } | {
695
+ streamId: string;
696
+ chatId: string;
697
+ seq: number;
698
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
699
+ type: "prompt.block-end";
700
+ } | {
701
+ streamId: string;
702
+ chatId: string;
703
+ seq: number;
704
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
705
+ type: "prompt.req";
706
+ request: {
707
+ model?: string | undefined;
708
+ messages: {
709
+ role: "assistant" | "system" | "user";
710
+ content: {
711
+ type: "text";
712
+ text: string;
713
+ }[];
714
+ }[];
715
+ stream?: boolean | undefined;
716
+ temperature?: number | undefined;
717
+ max_tokens?: number | undefined;
718
+ top_p?: number | undefined;
719
+ logprobs?: boolean | undefined;
720
+ top_logsprobs?: number | undefined;
721
+ frequency_penalty?: number | undefined;
722
+ presence_penalty?: number | undefined;
723
+ stop?: string | string[] | undefined;
724
+ verbosity?: "high" | "low" | "max" | "medium" | undefined;
725
+ modalities?: string[] | undefined;
726
+ };
727
+ } | {
728
+ streamId: string;
729
+ chatId: string;
730
+ seq: number;
731
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
732
+ type: "prompt.error";
733
+ error: string;
734
+ } | {
735
+ streamId: string;
736
+ chatId: string;
737
+ seq: number;
738
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
739
+ type: "prompt.fs";
740
+ fileSystem: ({
741
+ filename: string;
742
+ entryPoint?: boolean | undefined;
743
+ mimetype?: string | undefined;
744
+ type: "code-block";
745
+ lang: string;
746
+ content: string;
747
+ } | {
748
+ filename: string;
749
+ entryPoint?: boolean | undefined;
750
+ mimetype?: string | undefined;
751
+ type: "code-ref";
752
+ refId: string;
753
+ } | {
754
+ filename: string;
755
+ entryPoint?: boolean | undefined;
756
+ mimetype?: string | undefined;
757
+ type: "str-asset-block";
758
+ content: string;
759
+ } | {
760
+ filename: string;
761
+ entryPoint?: boolean | undefined;
762
+ mimetype?: string | undefined;
763
+ type: "str-asset-ref";
764
+ refId: string;
765
+ } | {
766
+ filename: string;
767
+ entryPoint?: boolean | undefined;
768
+ mimetype?: string | undefined;
769
+ type: "uint8-asset-block";
770
+ content: Uint8Array<ArrayBuffer>;
771
+ } | {
772
+ filename: string;
773
+ entryPoint?: boolean | undefined;
774
+ mimetype?: string | undefined;
775
+ type: "uint8-asset-ref";
776
+ refId: string;
777
+ })[];
778
+ } | {
676
779
  blockId: string;
677
780
  streamId: string;
678
781
  seq: number;
@@ -732,18 +835,34 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
732
835
  seq: number;
733
836
  blockNr: number;
734
837
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
735
- type: "block.toplevel.begin";
736
- sectionId: string;
737
- } | {
738
- blockId: string;
739
- streamId: string;
740
- seq: number;
741
- blockNr: number;
742
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
743
- lineNr: number;
744
- line: string;
745
- type: "block.toplevel.line";
746
- sectionId: string;
838
+ type: "block.stats";
839
+ stats: {
840
+ toplevel: {
841
+ lines: number;
842
+ bytes: number;
843
+ cnt?: number | undefined;
844
+ };
845
+ code: {
846
+ lines: number;
847
+ bytes: number;
848
+ cnt?: number | undefined;
849
+ };
850
+ image: {
851
+ lines: number;
852
+ bytes: number;
853
+ cnt?: number | undefined;
854
+ };
855
+ total: {
856
+ lines: number;
857
+ bytes: number;
858
+ cnt?: number | undefined;
859
+ };
860
+ };
861
+ usage: {
862
+ prompt_tokens: number;
863
+ completion_tokens: number;
864
+ total_tokens: number;
865
+ };
747
866
  } | {
748
867
  blockId: string;
749
868
  streamId: string;
@@ -755,8 +874,9 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
755
874
  bytes: number;
756
875
  cnt?: number | undefined;
757
876
  };
758
- type: "block.toplevel.end";
877
+ type: "block.image";
759
878
  sectionId: string;
879
+ url: string;
760
880
  } | {
761
881
  blockId: string;
762
882
  streamId: string;
@@ -797,146 +917,130 @@ export declare const PromptAndBlockMsgs: import("arktype/internal/variants/objec
797
917
  seq: number;
798
918
  blockNr: number;
799
919
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
800
- stats: {
801
- lines: number;
802
- bytes: number;
803
- cnt?: number | undefined;
804
- };
805
- type: "block.image";
920
+ type: "block.toplevel.begin";
806
921
  sectionId: string;
807
- url: string;
808
922
  } | {
809
923
  blockId: string;
810
924
  streamId: string;
811
925
  seq: number;
812
926
  blockNr: number;
813
927
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
814
- type: "block.stats";
815
- stats: {
816
- toplevel: {
817
- lines: number;
818
- bytes: number;
819
- cnt?: number | undefined;
820
- };
821
- code: {
822
- lines: number;
823
- bytes: number;
824
- cnt?: number | undefined;
825
- };
826
- image: {
827
- lines: number;
828
- bytes: number;
829
- cnt?: number | undefined;
830
- };
831
- total: {
832
- lines: number;
833
- bytes: number;
834
- cnt?: number | undefined;
835
- };
836
- };
837
- usage: {
838
- prompt_tokens: number;
839
- completion_tokens: number;
840
- total_tokens: number;
841
- };
842
- } | {
843
- streamId: string;
844
- chatId: string;
845
- seq: number;
846
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
847
- type: "prompt.block-begin";
848
- } | {
849
- streamId: string;
850
- chatId: string;
851
- seq: number;
852
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
853
- type: "prompt.block-end";
928
+ lineNr: number;
929
+ line: string;
930
+ type: "block.toplevel.line";
931
+ sectionId: string;
854
932
  } | {
933
+ blockId: string;
855
934
  streamId: string;
856
- chatId: string;
857
935
  seq: number;
936
+ blockNr: number;
858
937
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
859
- type: "prompt.req";
860
- request: {
861
- model?: string | undefined;
862
- messages: {
863
- role: "assistant" | "system" | "user";
864
- content: {
865
- type: "text";
866
- text: string;
867
- }[];
868
- }[];
869
- stream?: boolean | undefined;
870
- temperature?: number | undefined;
871
- max_tokens?: number | undefined;
872
- top_p?: number | undefined;
873
- logprobs?: boolean | undefined;
874
- top_logsprobs?: number | undefined;
875
- frequency_penalty?: number | undefined;
876
- presence_penalty?: number | undefined;
877
- stop?: string | string[] | undefined;
878
- verbosity?: "high" | "low" | "max" | "medium" | undefined;
938
+ stats: {
939
+ lines: number;
940
+ bytes: number;
941
+ cnt?: number | undefined;
879
942
  };
880
- } | {
881
- streamId: string;
882
- chatId: string;
883
- seq: number;
884
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
885
- type: "prompt.error";
886
- error: string;
887
- } | {
888
- streamId: string;
943
+ type: "block.toplevel.end";
944
+ sectionId: string;
945
+ }, {}>;
946
+ export type PromptAndBlockMsgs = typeof PromptAndBlockMsgs.infer;
947
+ export declare const sectionEvent: import("arktype/internal/variants/object.ts").ObjectType<{
948
+ type: "vibes.diy.section-event";
889
949
  chatId: string;
890
- seq: number;
950
+ promptId: string;
951
+ blockSeq: number;
891
952
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
892
- type: "prompt.fs";
893
- fileSystem: ({
894
- filename: string;
895
- entryPoint?: boolean | undefined;
896
- mimetype?: string | undefined;
897
- type: "code-block";
898
- lang: string;
899
- content: string;
953
+ blocks: ({
954
+ streamId: string;
955
+ chatId: string;
956
+ seq: number;
957
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
958
+ type: "prompt.block-begin";
900
959
  } | {
901
- filename: string;
902
- entryPoint?: boolean | undefined;
903
- mimetype?: string | undefined;
904
- type: "code-ref";
905
- refId: string;
960
+ streamId: string;
961
+ chatId: string;
962
+ seq: number;
963
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
964
+ type: "prompt.block-end";
906
965
  } | {
907
- filename: string;
908
- entryPoint?: boolean | undefined;
909
- mimetype?: string | undefined;
910
- type: "str-asset-block";
911
- content: string;
966
+ streamId: string;
967
+ chatId: string;
968
+ seq: number;
969
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
970
+ type: "prompt.req";
971
+ request: {
972
+ model?: string | undefined;
973
+ messages: {
974
+ role: "assistant" | "system" | "user";
975
+ content: {
976
+ type: "text";
977
+ text: string;
978
+ }[];
979
+ }[];
980
+ stream?: boolean | undefined;
981
+ temperature?: number | undefined;
982
+ max_tokens?: number | undefined;
983
+ top_p?: number | undefined;
984
+ logprobs?: boolean | undefined;
985
+ top_logsprobs?: number | undefined;
986
+ frequency_penalty?: number | undefined;
987
+ presence_penalty?: number | undefined;
988
+ stop?: string | string[] | undefined;
989
+ verbosity?: "high" | "low" | "max" | "medium" | undefined;
990
+ modalities?: string[] | undefined;
991
+ };
912
992
  } | {
913
- filename: string;
914
- entryPoint?: boolean | undefined;
915
- mimetype?: string | undefined;
916
- type: "str-asset-ref";
917
- refId: string;
993
+ streamId: string;
994
+ chatId: string;
995
+ seq: number;
996
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
997
+ type: "prompt.error";
998
+ error: string;
918
999
  } | {
919
- filename: string;
920
- entryPoint?: boolean | undefined;
921
- mimetype?: string | undefined;
922
- type: "uint8-asset-block";
923
- content: Uint8Array<ArrayBuffer>;
1000
+ streamId: string;
1001
+ chatId: string;
1002
+ seq: number;
1003
+ timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1004
+ type: "prompt.fs";
1005
+ fileSystem: ({
1006
+ filename: string;
1007
+ entryPoint?: boolean | undefined;
1008
+ mimetype?: string | undefined;
1009
+ type: "code-block";
1010
+ lang: string;
1011
+ content: string;
1012
+ } | {
1013
+ filename: string;
1014
+ entryPoint?: boolean | undefined;
1015
+ mimetype?: string | undefined;
1016
+ type: "code-ref";
1017
+ refId: string;
1018
+ } | {
1019
+ filename: string;
1020
+ entryPoint?: boolean | undefined;
1021
+ mimetype?: string | undefined;
1022
+ type: "str-asset-block";
1023
+ content: string;
1024
+ } | {
1025
+ filename: string;
1026
+ entryPoint?: boolean | undefined;
1027
+ mimetype?: string | undefined;
1028
+ type: "str-asset-ref";
1029
+ refId: string;
1030
+ } | {
1031
+ filename: string;
1032
+ entryPoint?: boolean | undefined;
1033
+ mimetype?: string | undefined;
1034
+ type: "uint8-asset-block";
1035
+ content: Uint8Array<ArrayBuffer>;
1036
+ } | {
1037
+ filename: string;
1038
+ entryPoint?: boolean | undefined;
1039
+ mimetype?: string | undefined;
1040
+ type: "uint8-asset-ref";
1041
+ refId: string;
1042
+ })[];
924
1043
  } | {
925
- filename: string;
926
- entryPoint?: boolean | undefined;
927
- mimetype?: string | undefined;
928
- type: "uint8-asset-ref";
929
- refId: string;
930
- })[];
931
- }, {}>;
932
- export type PromptAndBlockMsgs = typeof PromptAndBlockMsgs.infer;
933
- export declare const sectionEvent: import("arktype/internal/variants/object.ts").ObjectType<{
934
- type: "vibes.diy.section-event";
935
- chatId: string;
936
- promptId: string;
937
- blockSeq: number;
938
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
939
- blocks: ({
940
1044
  blockId: string;
941
1045
  streamId: string;
942
1046
  seq: number;
@@ -996,18 +1100,34 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
996
1100
  seq: number;
997
1101
  blockNr: number;
998
1102
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
999
- type: "block.toplevel.begin";
1000
- sectionId: string;
1001
- } | {
1002
- blockId: string;
1003
- streamId: string;
1004
- seq: number;
1005
- blockNr: number;
1006
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1007
- lineNr: number;
1008
- line: string;
1009
- type: "block.toplevel.line";
1010
- sectionId: string;
1103
+ type: "block.stats";
1104
+ stats: {
1105
+ toplevel: {
1106
+ lines: number;
1107
+ bytes: number;
1108
+ cnt?: number | undefined;
1109
+ };
1110
+ code: {
1111
+ lines: number;
1112
+ bytes: number;
1113
+ cnt?: number | undefined;
1114
+ };
1115
+ image: {
1116
+ lines: number;
1117
+ bytes: number;
1118
+ cnt?: number | undefined;
1119
+ };
1120
+ total: {
1121
+ lines: number;
1122
+ bytes: number;
1123
+ cnt?: number | undefined;
1124
+ };
1125
+ };
1126
+ usage: {
1127
+ prompt_tokens: number;
1128
+ completion_tokens: number;
1129
+ total_tokens: number;
1130
+ };
1011
1131
  } | {
1012
1132
  blockId: string;
1013
1133
  streamId: string;
@@ -1019,8 +1139,9 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
1019
1139
  bytes: number;
1020
1140
  cnt?: number | undefined;
1021
1141
  };
1022
- type: "block.toplevel.end";
1142
+ type: "block.image";
1023
1143
  sectionId: string;
1144
+ url: string;
1024
1145
  } | {
1025
1146
  blockId: string;
1026
1147
  streamId: string;
@@ -1061,137 +1182,31 @@ export declare const sectionEvent: import("arktype/internal/variants/object.ts")
1061
1182
  seq: number;
1062
1183
  blockNr: number;
1063
1184
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1064
- stats: {
1065
- lines: number;
1066
- bytes: number;
1067
- cnt?: number | undefined;
1068
- };
1069
- type: "block.image";
1185
+ type: "block.toplevel.begin";
1070
1186
  sectionId: string;
1071
- url: string;
1072
1187
  } | {
1073
1188
  blockId: string;
1074
1189
  streamId: string;
1075
1190
  seq: number;
1076
1191
  blockNr: number;
1077
1192
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1078
- type: "block.stats";
1079
- stats: {
1080
- toplevel: {
1081
- lines: number;
1082
- bytes: number;
1083
- cnt?: number | undefined;
1084
- };
1085
- code: {
1086
- lines: number;
1087
- bytes: number;
1088
- cnt?: number | undefined;
1089
- };
1090
- image: {
1091
- lines: number;
1092
- bytes: number;
1093
- cnt?: number | undefined;
1094
- };
1095
- total: {
1096
- lines: number;
1097
- bytes: number;
1098
- cnt?: number | undefined;
1099
- };
1100
- };
1101
- usage: {
1102
- prompt_tokens: number;
1103
- completion_tokens: number;
1104
- total_tokens: number;
1105
- };
1106
- } | {
1107
- streamId: string;
1108
- chatId: string;
1109
- seq: number;
1110
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1111
- type: "prompt.block-begin";
1112
- } | {
1113
- streamId: string;
1114
- chatId: string;
1115
- seq: number;
1116
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1117
- type: "prompt.block-end";
1193
+ lineNr: number;
1194
+ line: string;
1195
+ type: "block.toplevel.line";
1196
+ sectionId: string;
1118
1197
  } | {
1198
+ blockId: string;
1119
1199
  streamId: string;
1120
- chatId: string;
1121
1200
  seq: number;
1201
+ blockNr: number;
1122
1202
  timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1123
- type: "prompt.req";
1124
- request: {
1125
- model?: string | undefined;
1126
- messages: {
1127
- role: "assistant" | "system" | "user";
1128
- content: {
1129
- type: "text";
1130
- text: string;
1131
- }[];
1132
- }[];
1133
- stream?: boolean | undefined;
1134
- temperature?: number | undefined;
1135
- max_tokens?: number | undefined;
1136
- top_p?: number | undefined;
1137
- logprobs?: boolean | undefined;
1138
- top_logsprobs?: number | undefined;
1139
- frequency_penalty?: number | undefined;
1140
- presence_penalty?: number | undefined;
1141
- stop?: string | string[] | undefined;
1142
- verbosity?: "high" | "low" | "max" | "medium" | undefined;
1203
+ stats: {
1204
+ lines: number;
1205
+ bytes: number;
1206
+ cnt?: number | undefined;
1143
1207
  };
1144
- } | {
1145
- streamId: string;
1146
- chatId: string;
1147
- seq: number;
1148
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1149
- type: "prompt.error";
1150
- error: string;
1151
- } | {
1152
- streamId: string;
1153
- chatId: string;
1154
- seq: number;
1155
- timestamp: Date | ((In: string) => import("arktype/internal/attributes.ts").To<Date>);
1156
- type: "prompt.fs";
1157
- fileSystem: ({
1158
- filename: string;
1159
- entryPoint?: boolean | undefined;
1160
- mimetype?: string | undefined;
1161
- type: "code-block";
1162
- lang: string;
1163
- content: string;
1164
- } | {
1165
- filename: string;
1166
- entryPoint?: boolean | undefined;
1167
- mimetype?: string | undefined;
1168
- type: "code-ref";
1169
- refId: string;
1170
- } | {
1171
- filename: string;
1172
- entryPoint?: boolean | undefined;
1173
- mimetype?: string | undefined;
1174
- type: "str-asset-block";
1175
- content: string;
1176
- } | {
1177
- filename: string;
1178
- entryPoint?: boolean | undefined;
1179
- mimetype?: string | undefined;
1180
- type: "str-asset-ref";
1181
- refId: string;
1182
- } | {
1183
- filename: string;
1184
- entryPoint?: boolean | undefined;
1185
- mimetype?: string | undefined;
1186
- type: "uint8-asset-block";
1187
- content: Uint8Array<ArrayBuffer>;
1188
- } | {
1189
- filename: string;
1190
- entryPoint?: boolean | undefined;
1191
- mimetype?: string | undefined;
1192
- type: "uint8-asset-ref";
1193
- refId: string;
1194
- })[];
1208
+ type: "block.toplevel.end";
1209
+ sectionId: string;
1195
1210
  })[];
1196
1211
  }, {}>;
1197
1212
  export type SectionEvent = typeof sectionEvent.infer;