@bendyline/gezel 1.0.4 → 1.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.
@@ -273,16 +273,19 @@ declare const CraftbookDocSchema: z.ZodObject<{
273
273
  kind: z.ZodLiteral<"totalMinBytes">;
274
274
  files: z.ZodArray<z.ZodString>;
275
275
  bytes: z.ZodNumber;
276
+ artifact: z.ZodOptional<z.ZodBoolean>;
276
277
  }, z.core.$strip>, z.ZodObject<{
277
278
  kind: z.ZodLiteral<"fileCount">;
278
279
  ext: z.ZodArray<z.ZodString>;
279
280
  min: z.ZodNumber;
280
281
  dir: z.ZodOptional<z.ZodString>;
281
282
  verifyImageBytes: z.ZodOptional<z.ZodBoolean>;
283
+ artifact: z.ZodOptional<z.ZodBoolean>;
282
284
  }, z.core.$strip>, z.ZodObject<{
283
285
  kind: z.ZodLiteral<"cssMinBytes">;
284
286
  bytes: z.ZodNumber;
285
287
  file: z.ZodOptional<z.ZodString>;
288
+ artifact: z.ZodOptional<z.ZodBoolean>;
286
289
  }, z.core.$strip>, z.ZodObject<{
287
290
  kind: z.ZodLiteral<"sniff">;
288
291
  file: z.ZodString;
@@ -300,6 +303,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
300
303
  path: z.ZodString;
301
304
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
302
305
  label: z.ZodOptional<z.ZodString>;
306
+ artifact: z.ZodOptional<z.ZodBoolean>;
303
307
  }, z.core.$strip>, z.ZodObject<{
304
308
  kind: z.ZodLiteral<"csvShape">;
305
309
  file: z.ZodString;
@@ -308,6 +312,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
308
312
  minRows: z.ZodOptional<z.ZodNumber>;
309
313
  consistentColumns: z.ZodOptional<z.ZodBoolean>;
310
314
  allowedValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
315
+ artifact: z.ZodOptional<z.ZodBoolean>;
311
316
  }, z.core.$strip>, z.ZodObject<{
312
317
  kind: z.ZodLiteral<"contains">;
313
318
  file: z.ZodString;
@@ -331,18 +336,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
331
336
  label: z.ZodOptional<z.ZodString>;
332
337
  }, z.core.$strip>>;
333
338
  flags: z.ZodOptional<z.ZodString>;
339
+ artifact: z.ZodOptional<z.ZodBoolean>;
334
340
  }, z.core.$strip>, z.ZodObject<{
335
341
  kind: z.ZodLiteral<"jsParses">;
336
342
  file: z.ZodOptional<z.ZodString>;
343
+ artifact: z.ZodOptional<z.ZodBoolean>;
337
344
  }, z.core.$strip>, z.ZodObject<{
338
345
  kind: z.ZodLiteral<"htmlLint">;
339
346
  file: z.ZodString;
347
+ artifact: z.ZodOptional<z.ZodBoolean>;
340
348
  }, z.core.$strip>, z.ZodObject<{
341
349
  kind: z.ZodLiteral<"esmImports">;
342
350
  file: z.ZodString;
351
+ artifact: z.ZodOptional<z.ZodBoolean>;
343
352
  }, z.core.$strip>, z.ZodObject<{
344
353
  kind: z.ZodLiteral<"sourceParses">;
345
354
  file: z.ZodString;
355
+ artifact: z.ZodOptional<z.ZodBoolean>;
346
356
  }, z.core.$strip>, z.ZodObject<{
347
357
  kind: z.ZodLiteral<"tableShape">;
348
358
  file: z.ZodString;
@@ -388,11 +398,22 @@ declare const CraftbookDocSchema: z.ZodObject<{
388
398
  corpusDir: z.ZodString;
389
399
  reviewedField: z.ZodOptional<z.ZodString>;
390
400
  recordField: z.ZodOptional<z.ZodString>;
401
+ artifact: z.ZodOptional<z.ZodBoolean>;
402
+ expectPaths: z.ZodOptional<z.ZodString>;
403
+ }, z.core.$strip>, z.ZodObject<{
404
+ kind: z.ZodLiteral<"corpusBatches">;
405
+ file: z.ZodString;
406
+ corpusDir: z.ZodString;
407
+ manifestSuffix: z.ZodOptional<z.ZodString>;
408
+ itemsField: z.ZodOptional<z.ZodString>;
409
+ totalField: z.ZodOptional<z.ZodString>;
410
+ artifact: z.ZodOptional<z.ZodBoolean>;
391
411
  }, z.core.$strip>, z.ZodObject<{
392
412
  kind: z.ZodLiteral<"markdownHeadingsMatch">;
393
413
  file: z.ZodString;
394
414
  outlineFile: z.ZodString;
395
415
  outlineArtifact: z.ZodOptional<z.ZodBoolean>;
416
+ artifact: z.ZodOptional<z.ZodBoolean>;
396
417
  }, z.core.$strip>, z.ZodObject<{
397
418
  kind: z.ZodLiteral<"valueGrounding">;
398
419
  file: z.ZodString;
@@ -455,16 +476,19 @@ declare const CraftbookDocSchema: z.ZodObject<{
455
476
  kind: z.ZodLiteral<"totalMinBytes">;
456
477
  files: z.ZodArray<z.ZodString>;
457
478
  bytes: z.ZodNumber;
479
+ artifact: z.ZodOptional<z.ZodBoolean>;
458
480
  }, z.core.$strip>, z.ZodObject<{
459
481
  kind: z.ZodLiteral<"fileCount">;
460
482
  ext: z.ZodArray<z.ZodString>;
461
483
  min: z.ZodNumber;
462
484
  dir: z.ZodOptional<z.ZodString>;
463
485
  verifyImageBytes: z.ZodOptional<z.ZodBoolean>;
486
+ artifact: z.ZodOptional<z.ZodBoolean>;
464
487
  }, z.core.$strip>, z.ZodObject<{
465
488
  kind: z.ZodLiteral<"cssMinBytes">;
466
489
  bytes: z.ZodNumber;
467
490
  file: z.ZodOptional<z.ZodString>;
491
+ artifact: z.ZodOptional<z.ZodBoolean>;
468
492
  }, z.core.$strip>, z.ZodObject<{
469
493
  kind: z.ZodLiteral<"sniff">;
470
494
  file: z.ZodString;
@@ -482,6 +506,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
482
506
  path: z.ZodString;
483
507
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
484
508
  label: z.ZodOptional<z.ZodString>;
509
+ artifact: z.ZodOptional<z.ZodBoolean>;
485
510
  }, z.core.$strip>, z.ZodObject<{
486
511
  kind: z.ZodLiteral<"csvShape">;
487
512
  file: z.ZodString;
@@ -490,6 +515,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
490
515
  minRows: z.ZodOptional<z.ZodNumber>;
491
516
  consistentColumns: z.ZodOptional<z.ZodBoolean>;
492
517
  allowedValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
518
+ artifact: z.ZodOptional<z.ZodBoolean>;
493
519
  }, z.core.$strip>, z.ZodObject<{
494
520
  kind: z.ZodLiteral<"contains">;
495
521
  file: z.ZodString;
@@ -513,18 +539,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
513
539
  label: z.ZodOptional<z.ZodString>;
514
540
  }, z.core.$strip>>;
515
541
  flags: z.ZodOptional<z.ZodString>;
542
+ artifact: z.ZodOptional<z.ZodBoolean>;
516
543
  }, z.core.$strip>, z.ZodObject<{
517
544
  kind: z.ZodLiteral<"jsParses">;
518
545
  file: z.ZodOptional<z.ZodString>;
546
+ artifact: z.ZodOptional<z.ZodBoolean>;
519
547
  }, z.core.$strip>, z.ZodObject<{
520
548
  kind: z.ZodLiteral<"htmlLint">;
521
549
  file: z.ZodString;
550
+ artifact: z.ZodOptional<z.ZodBoolean>;
522
551
  }, z.core.$strip>, z.ZodObject<{
523
552
  kind: z.ZodLiteral<"esmImports">;
524
553
  file: z.ZodString;
554
+ artifact: z.ZodOptional<z.ZodBoolean>;
525
555
  }, z.core.$strip>, z.ZodObject<{
526
556
  kind: z.ZodLiteral<"sourceParses">;
527
557
  file: z.ZodString;
558
+ artifact: z.ZodOptional<z.ZodBoolean>;
528
559
  }, z.core.$strip>, z.ZodObject<{
529
560
  kind: z.ZodLiteral<"tableShape">;
530
561
  file: z.ZodString;
@@ -570,11 +601,22 @@ declare const CraftbookDocSchema: z.ZodObject<{
570
601
  corpusDir: z.ZodString;
571
602
  reviewedField: z.ZodOptional<z.ZodString>;
572
603
  recordField: z.ZodOptional<z.ZodString>;
604
+ artifact: z.ZodOptional<z.ZodBoolean>;
605
+ expectPaths: z.ZodOptional<z.ZodString>;
606
+ }, z.core.$strip>, z.ZodObject<{
607
+ kind: z.ZodLiteral<"corpusBatches">;
608
+ file: z.ZodString;
609
+ corpusDir: z.ZodString;
610
+ manifestSuffix: z.ZodOptional<z.ZodString>;
611
+ itemsField: z.ZodOptional<z.ZodString>;
612
+ totalField: z.ZodOptional<z.ZodString>;
613
+ artifact: z.ZodOptional<z.ZodBoolean>;
573
614
  }, z.core.$strip>, z.ZodObject<{
574
615
  kind: z.ZodLiteral<"markdownHeadingsMatch">;
575
616
  file: z.ZodString;
576
617
  outlineFile: z.ZodString;
577
618
  outlineArtifact: z.ZodOptional<z.ZodBoolean>;
619
+ artifact: z.ZodOptional<z.ZodBoolean>;
578
620
  }, z.core.$strip>, z.ZodObject<{
579
621
  kind: z.ZodLiteral<"valueGrounding">;
580
622
  file: z.ZodString;
@@ -848,16 +890,19 @@ declare const CraftbookDocSchema: z.ZodObject<{
848
890
  kind: z.ZodLiteral<"totalMinBytes">;
849
891
  files: z.ZodArray<z.ZodString>;
850
892
  bytes: z.ZodNumber;
893
+ artifact: z.ZodOptional<z.ZodBoolean>;
851
894
  }, z.core.$strip>, z.ZodObject<{
852
895
  kind: z.ZodLiteral<"fileCount">;
853
896
  ext: z.ZodArray<z.ZodString>;
854
897
  min: z.ZodNumber;
855
898
  dir: z.ZodOptional<z.ZodString>;
856
899
  verifyImageBytes: z.ZodOptional<z.ZodBoolean>;
900
+ artifact: z.ZodOptional<z.ZodBoolean>;
857
901
  }, z.core.$strip>, z.ZodObject<{
858
902
  kind: z.ZodLiteral<"cssMinBytes">;
859
903
  bytes: z.ZodNumber;
860
904
  file: z.ZodOptional<z.ZodString>;
905
+ artifact: z.ZodOptional<z.ZodBoolean>;
861
906
  }, z.core.$strip>, z.ZodObject<{
862
907
  kind: z.ZodLiteral<"sniff">;
863
908
  file: z.ZodString;
@@ -875,6 +920,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
875
920
  path: z.ZodString;
876
921
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
877
922
  label: z.ZodOptional<z.ZodString>;
923
+ artifact: z.ZodOptional<z.ZodBoolean>;
878
924
  }, z.core.$strip>, z.ZodObject<{
879
925
  kind: z.ZodLiteral<"csvShape">;
880
926
  file: z.ZodString;
@@ -883,6 +929,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
883
929
  minRows: z.ZodOptional<z.ZodNumber>;
884
930
  consistentColumns: z.ZodOptional<z.ZodBoolean>;
885
931
  allowedValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
932
+ artifact: z.ZodOptional<z.ZodBoolean>;
886
933
  }, z.core.$strip>, z.ZodObject<{
887
934
  kind: z.ZodLiteral<"contains">;
888
935
  file: z.ZodString;
@@ -906,18 +953,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
906
953
  label: z.ZodOptional<z.ZodString>;
907
954
  }, z.core.$strip>>;
908
955
  flags: z.ZodOptional<z.ZodString>;
956
+ artifact: z.ZodOptional<z.ZodBoolean>;
909
957
  }, z.core.$strip>, z.ZodObject<{
910
958
  kind: z.ZodLiteral<"jsParses">;
911
959
  file: z.ZodOptional<z.ZodString>;
960
+ artifact: z.ZodOptional<z.ZodBoolean>;
912
961
  }, z.core.$strip>, z.ZodObject<{
913
962
  kind: z.ZodLiteral<"htmlLint">;
914
963
  file: z.ZodString;
964
+ artifact: z.ZodOptional<z.ZodBoolean>;
915
965
  }, z.core.$strip>, z.ZodObject<{
916
966
  kind: z.ZodLiteral<"esmImports">;
917
967
  file: z.ZodString;
968
+ artifact: z.ZodOptional<z.ZodBoolean>;
918
969
  }, z.core.$strip>, z.ZodObject<{
919
970
  kind: z.ZodLiteral<"sourceParses">;
920
971
  file: z.ZodString;
972
+ artifact: z.ZodOptional<z.ZodBoolean>;
921
973
  }, z.core.$strip>, z.ZodObject<{
922
974
  kind: z.ZodLiteral<"tableShape">;
923
975
  file: z.ZodString;
@@ -963,11 +1015,22 @@ declare const CraftbookDocSchema: z.ZodObject<{
963
1015
  corpusDir: z.ZodString;
964
1016
  reviewedField: z.ZodOptional<z.ZodString>;
965
1017
  recordField: z.ZodOptional<z.ZodString>;
1018
+ artifact: z.ZodOptional<z.ZodBoolean>;
1019
+ expectPaths: z.ZodOptional<z.ZodString>;
1020
+ }, z.core.$strip>, z.ZodObject<{
1021
+ kind: z.ZodLiteral<"corpusBatches">;
1022
+ file: z.ZodString;
1023
+ corpusDir: z.ZodString;
1024
+ manifestSuffix: z.ZodOptional<z.ZodString>;
1025
+ itemsField: z.ZodOptional<z.ZodString>;
1026
+ totalField: z.ZodOptional<z.ZodString>;
1027
+ artifact: z.ZodOptional<z.ZodBoolean>;
966
1028
  }, z.core.$strip>, z.ZodObject<{
967
1029
  kind: z.ZodLiteral<"markdownHeadingsMatch">;
968
1030
  file: z.ZodString;
969
1031
  outlineFile: z.ZodString;
970
1032
  outlineArtifact: z.ZodOptional<z.ZodBoolean>;
1033
+ artifact: z.ZodOptional<z.ZodBoolean>;
971
1034
  }, z.core.$strip>, z.ZodObject<{
972
1035
  kind: z.ZodLiteral<"valueGrounding">;
973
1036
  file: z.ZodString;
@@ -1030,16 +1093,19 @@ declare const CraftbookDocSchema: z.ZodObject<{
1030
1093
  kind: z.ZodLiteral<"totalMinBytes">;
1031
1094
  files: z.ZodArray<z.ZodString>;
1032
1095
  bytes: z.ZodNumber;
1096
+ artifact: z.ZodOptional<z.ZodBoolean>;
1033
1097
  }, z.core.$strip>, z.ZodObject<{
1034
1098
  kind: z.ZodLiteral<"fileCount">;
1035
1099
  ext: z.ZodArray<z.ZodString>;
1036
1100
  min: z.ZodNumber;
1037
1101
  dir: z.ZodOptional<z.ZodString>;
1038
1102
  verifyImageBytes: z.ZodOptional<z.ZodBoolean>;
1103
+ artifact: z.ZodOptional<z.ZodBoolean>;
1039
1104
  }, z.core.$strip>, z.ZodObject<{
1040
1105
  kind: z.ZodLiteral<"cssMinBytes">;
1041
1106
  bytes: z.ZodNumber;
1042
1107
  file: z.ZodOptional<z.ZodString>;
1108
+ artifact: z.ZodOptional<z.ZodBoolean>;
1043
1109
  }, z.core.$strip>, z.ZodObject<{
1044
1110
  kind: z.ZodLiteral<"sniff">;
1045
1111
  file: z.ZodString;
@@ -1057,6 +1123,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
1057
1123
  path: z.ZodString;
1058
1124
  value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
1059
1125
  label: z.ZodOptional<z.ZodString>;
1126
+ artifact: z.ZodOptional<z.ZodBoolean>;
1060
1127
  }, z.core.$strip>, z.ZodObject<{
1061
1128
  kind: z.ZodLiteral<"csvShape">;
1062
1129
  file: z.ZodString;
@@ -1065,6 +1132,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
1065
1132
  minRows: z.ZodOptional<z.ZodNumber>;
1066
1133
  consistentColumns: z.ZodOptional<z.ZodBoolean>;
1067
1134
  allowedValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
1135
+ artifact: z.ZodOptional<z.ZodBoolean>;
1068
1136
  }, z.core.$strip>, z.ZodObject<{
1069
1137
  kind: z.ZodLiteral<"contains">;
1070
1138
  file: z.ZodString;
@@ -1088,18 +1156,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
1088
1156
  label: z.ZodOptional<z.ZodString>;
1089
1157
  }, z.core.$strip>>;
1090
1158
  flags: z.ZodOptional<z.ZodString>;
1159
+ artifact: z.ZodOptional<z.ZodBoolean>;
1091
1160
  }, z.core.$strip>, z.ZodObject<{
1092
1161
  kind: z.ZodLiteral<"jsParses">;
1093
1162
  file: z.ZodOptional<z.ZodString>;
1163
+ artifact: z.ZodOptional<z.ZodBoolean>;
1094
1164
  }, z.core.$strip>, z.ZodObject<{
1095
1165
  kind: z.ZodLiteral<"htmlLint">;
1096
1166
  file: z.ZodString;
1167
+ artifact: z.ZodOptional<z.ZodBoolean>;
1097
1168
  }, z.core.$strip>, z.ZodObject<{
1098
1169
  kind: z.ZodLiteral<"esmImports">;
1099
1170
  file: z.ZodString;
1171
+ artifact: z.ZodOptional<z.ZodBoolean>;
1100
1172
  }, z.core.$strip>, z.ZodObject<{
1101
1173
  kind: z.ZodLiteral<"sourceParses">;
1102
1174
  file: z.ZodString;
1175
+ artifact: z.ZodOptional<z.ZodBoolean>;
1103
1176
  }, z.core.$strip>, z.ZodObject<{
1104
1177
  kind: z.ZodLiteral<"tableShape">;
1105
1178
  file: z.ZodString;
@@ -1145,11 +1218,22 @@ declare const CraftbookDocSchema: z.ZodObject<{
1145
1218
  corpusDir: z.ZodString;
1146
1219
  reviewedField: z.ZodOptional<z.ZodString>;
1147
1220
  recordField: z.ZodOptional<z.ZodString>;
1221
+ artifact: z.ZodOptional<z.ZodBoolean>;
1222
+ expectPaths: z.ZodOptional<z.ZodString>;
1223
+ }, z.core.$strip>, z.ZodObject<{
1224
+ kind: z.ZodLiteral<"corpusBatches">;
1225
+ file: z.ZodString;
1226
+ corpusDir: z.ZodString;
1227
+ manifestSuffix: z.ZodOptional<z.ZodString>;
1228
+ itemsField: z.ZodOptional<z.ZodString>;
1229
+ totalField: z.ZodOptional<z.ZodString>;
1230
+ artifact: z.ZodOptional<z.ZodBoolean>;
1148
1231
  }, z.core.$strip>, z.ZodObject<{
1149
1232
  kind: z.ZodLiteral<"markdownHeadingsMatch">;
1150
1233
  file: z.ZodString;
1151
1234
  outlineFile: z.ZodString;
1152
1235
  outlineArtifact: z.ZodOptional<z.ZodBoolean>;
1236
+ artifact: z.ZodOptional<z.ZodBoolean>;
1153
1237
  }, z.core.$strip>, z.ZodObject<{
1154
1238
  kind: z.ZodLiteral<"valueGrounding">;
1155
1239
  file: z.ZodString;
@@ -2594,6 +2678,47 @@ declare const ChatMessageToolCallSchema: z.ZodObject<{
2594
2678
  removedLines: z.ZodOptional<z.ZodNumber>;
2595
2679
  }, z.core.$strip>;
2596
2680
  type ChatMessageToolCall = z.infer<typeof ChatMessageToolCallSchema>;
2681
+ /**
2682
+ * Provenance for a chat thread whose interaction loop is owned by another
2683
+ * application. Gezel mirrors these threads for visibility, history, and
2684
+ * memory extraction, but must never accept composer sends into them.
2685
+ */
2686
+ declare const ChatSessionSourceSchema: z.ZodObject<{
2687
+ kind: z.ZodLiteral<"external">;
2688
+ appId: z.ZodString;
2689
+ appName: z.ZodString;
2690
+ externalConversationId: z.ZodString;
2691
+ readOnly: z.ZodLiteral<true>;
2692
+ workingDirectory: z.ZodOptional<z.ZodString>;
2693
+ projectHint: z.ZodOptional<z.ZodString>;
2694
+ }, z.core.$strip>;
2695
+ type ChatSessionSource = z.infer<typeof ChatSessionSourceSchema>;
2696
+ /**
2697
+ * Which store a referenced file lives in. Documents are deliberately not a
2698
+ * third kind: the shared library is a project (ADR 0006), so its files
2699
+ * arrive as that project's `workspace`.
2700
+ */
2701
+ declare const ReferencedFileKindSchema: z.ZodEnum<{
2702
+ artifact: "artifact";
2703
+ workspace: "workspace";
2704
+ }>;
2705
+ type ReferencedFileKind = z.infer<typeof ReferencedFileKindSchema>;
2706
+ /**
2707
+ * One real file an assistant reply named in its body text. `path` is
2708
+ * relative to the store named by `kind` — the project's `artifacts/`
2709
+ * drawer or its workspace root — and is always the canonical on-disk
2710
+ * spelling, never the model's. Any `:line` / `#Lnn` locator the model
2711
+ * wrote is stripped before matching; the inline link keeps it as label
2712
+ * text, but nothing downstream resolves a path with one attached.
2713
+ */
2714
+ declare const ReferencedFileSchema: z.ZodObject<{
2715
+ kind: z.ZodEnum<{
2716
+ artifact: "artifact";
2717
+ workspace: "workspace";
2718
+ }>;
2719
+ path: z.ZodString;
2720
+ }, z.core.$strip>;
2721
+ type ReferencedFile = z.infer<typeof ReferencedFileSchema>;
2597
2722
  /**
2598
2723
  * A single turn in an agent chat. Stored in memory while a chat session is
2599
2724
  * active; dropped when the session ends or the daemon restarts.
@@ -2614,6 +2739,13 @@ declare const ChatMessageSchema: z.ZodObject<{
2614
2739
  gezelId: z.ZodString;
2615
2740
  gezelName: z.ZodString;
2616
2741
  }, z.core.$strip>>;
2742
+ referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
2743
+ kind: z.ZodEnum<{
2744
+ artifact: "artifact";
2745
+ workspace: "workspace";
2746
+ }>;
2747
+ path: z.ZodString;
2748
+ }, z.core.$strip>>>;
2617
2749
  referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2618
2750
  referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
2619
2751
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2660,6 +2792,9 @@ declare const ChatMessageSchema: z.ZodObject<{
2660
2792
  }>>;
2661
2793
  hidden: z.ZodOptional<z.ZodBoolean>;
2662
2794
  nudge: z.ZodOptional<z.ZodBoolean>;
2795
+ origin: z.ZodOptional<z.ZodEnum<{
2796
+ system: "system";
2797
+ }>>;
2663
2798
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2664
2799
  reasoning: z.ZodOptional<z.ZodString>;
2665
2800
  reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
@@ -2743,6 +2878,13 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2743
2878
  gezelId: z.ZodString;
2744
2879
  gezelName: z.ZodString;
2745
2880
  }, z.core.$strip>>;
2881
+ referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
2882
+ kind: z.ZodEnum<{
2883
+ artifact: "artifact";
2884
+ workspace: "workspace";
2885
+ }>;
2886
+ path: z.ZodString;
2887
+ }, z.core.$strip>>>;
2746
2888
  referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2747
2889
  referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
2748
2890
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2789,6 +2931,9 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2789
2931
  }>>;
2790
2932
  hidden: z.ZodOptional<z.ZodBoolean>;
2791
2933
  nudge: z.ZodOptional<z.ZodBoolean>;
2934
+ origin: z.ZodOptional<z.ZodEnum<{
2935
+ system: "system";
2936
+ }>>;
2792
2937
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2793
2938
  reasoning: z.ZodOptional<z.ZodString>;
2794
2939
  reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
@@ -2816,6 +2961,9 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2816
2961
  at: z.ZodString;
2817
2962
  }, z.core.$strip>>>;
2818
2963
  }, z.core.$strip>;
2964
+ }, z.core.$strip>, z.ZodObject<{
2965
+ type: z.ZodLiteral<"user_message_pending">;
2966
+ preview: z.ZodString;
2819
2967
  }, z.core.$strip>, z.ZodObject<{
2820
2968
  type: z.ZodLiteral<"user_message">;
2821
2969
  message: z.ZodObject<{
@@ -2829,6 +2977,13 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2829
2977
  gezelId: z.ZodString;
2830
2978
  gezelName: z.ZodString;
2831
2979
  }, z.core.$strip>>;
2980
+ referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
2981
+ kind: z.ZodEnum<{
2982
+ artifact: "artifact";
2983
+ workspace: "workspace";
2984
+ }>;
2985
+ path: z.ZodString;
2986
+ }, z.core.$strip>>>;
2832
2987
  referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
2833
2988
  referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
2834
2989
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2875,6 +3030,9 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2875
3030
  }>>;
2876
3031
  hidden: z.ZodOptional<z.ZodBoolean>;
2877
3032
  nudge: z.ZodOptional<z.ZodBoolean>;
3033
+ origin: z.ZodOptional<z.ZodEnum<{
3034
+ system: "system";
3035
+ }>>;
2878
3036
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
2879
3037
  reasoning: z.ZodOptional<z.ZodString>;
2880
3038
  reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
@@ -3262,6 +3420,8 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3262
3420
  detail: z.ZodOptional<z.ZodString>;
3263
3421
  progress: z.ZodOptional<z.ZodNumber>;
3264
3422
  ttftMs: z.ZodOptional<z.ZodNumber>;
3423
+ outputTokens: z.ZodOptional<z.ZodNumber>;
3424
+ tokensPerSec: z.ZodOptional<z.ZodNumber>;
3265
3425
  }, z.core.$strip>, z.ZodObject<{
3266
3426
  type: z.ZodLiteral<"turn_stats">;
3267
3427
  provider: z.ZodEnum<{
@@ -3270,6 +3430,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3270
3430
  ollama: "ollama";
3271
3431
  ds4: "ds4";
3272
3432
  }>;
3433
+ model: z.ZodOptional<z.ZodString>;
3273
3434
  promptTokens: z.ZodNumber;
3274
3435
  completionTokens: z.ZodNumber;
3275
3436
  durationMs: z.ZodNumber;
@@ -3334,6 +3495,15 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3334
3495
  ended: "ended";
3335
3496
  }>;
3336
3497
  generatedAt: z.ZodOptional<z.ZodString>;
3498
+ }, z.core.$strip>, z.ZodObject<{
3499
+ type: z.ZodLiteral<"ambient_dashboard">;
3500
+ state: z.ZodEnum<{
3501
+ failed: "failed";
3502
+ started: "started";
3503
+ ended: "ended";
3504
+ }>;
3505
+ generatedAt: z.ZodOptional<z.ZodString>;
3506
+ filename: z.ZodOptional<z.ZodString>;
3337
3507
  }, z.core.$strip>, z.ZodObject<{
3338
3508
  type: z.ZodLiteral<"index_progress">;
3339
3509
  phase: z.ZodEnum<{
@@ -3365,6 +3535,15 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3365
3535
  sessionId: z.ZodString;
3366
3536
  gezelId: z.ZodString;
3367
3537
  projectId: z.ZodString;
3538
+ sessionSource: z.ZodOptional<z.ZodObject<{
3539
+ kind: z.ZodLiteral<"external">;
3540
+ appId: z.ZodString;
3541
+ appName: z.ZodString;
3542
+ externalConversationId: z.ZodString;
3543
+ readOnly: z.ZodLiteral<true>;
3544
+ workingDirectory: z.ZodOptional<z.ZodString>;
3545
+ projectHint: z.ZodOptional<z.ZodString>;
3546
+ }, z.core.$strip>>;
3368
3547
  event: z.ZodDiscriminatedUnion<[z.ZodObject<{
3369
3548
  type: z.ZodLiteral<"delta">;
3370
3549
  content: z.ZodString;
@@ -3384,6 +3563,13 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3384
3563
  gezelId: z.ZodString;
3385
3564
  gezelName: z.ZodString;
3386
3565
  }, z.core.$strip>>;
3566
+ referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
3567
+ kind: z.ZodEnum<{
3568
+ artifact: "artifact";
3569
+ workspace: "workspace";
3570
+ }>;
3571
+ path: z.ZodString;
3572
+ }, z.core.$strip>>>;
3387
3573
  referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
3388
3574
  referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
3389
3575
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3430,6 +3616,9 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3430
3616
  }>>;
3431
3617
  hidden: z.ZodOptional<z.ZodBoolean>;
3432
3618
  nudge: z.ZodOptional<z.ZodBoolean>;
3619
+ origin: z.ZodOptional<z.ZodEnum<{
3620
+ system: "system";
3621
+ }>>;
3433
3622
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3434
3623
  reasoning: z.ZodOptional<z.ZodString>;
3435
3624
  reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
@@ -3457,6 +3646,9 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3457
3646
  at: z.ZodString;
3458
3647
  }, z.core.$strip>>>;
3459
3648
  }, z.core.$strip>;
3649
+ }, z.core.$strip>, z.ZodObject<{
3650
+ type: z.ZodLiteral<"user_message_pending">;
3651
+ preview: z.ZodString;
3460
3652
  }, z.core.$strip>, z.ZodObject<{
3461
3653
  type: z.ZodLiteral<"user_message">;
3462
3654
  message: z.ZodObject<{
@@ -3470,6 +3662,13 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3470
3662
  gezelId: z.ZodString;
3471
3663
  gezelName: z.ZodString;
3472
3664
  }, z.core.$strip>>;
3665
+ referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
3666
+ kind: z.ZodEnum<{
3667
+ artifact: "artifact";
3668
+ workspace: "workspace";
3669
+ }>;
3670
+ path: z.ZodString;
3671
+ }, z.core.$strip>>>;
3473
3672
  referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
3474
3673
  referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
3475
3674
  toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -3516,6 +3715,9 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3516
3715
  }>>;
3517
3716
  hidden: z.ZodOptional<z.ZodBoolean>;
3518
3717
  nudge: z.ZodOptional<z.ZodBoolean>;
3718
+ origin: z.ZodOptional<z.ZodEnum<{
3719
+ system: "system";
3720
+ }>>;
3519
3721
  warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
3520
3722
  reasoning: z.ZodOptional<z.ZodString>;
3521
3723
  reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
@@ -3903,6 +4105,8 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3903
4105
  detail: z.ZodOptional<z.ZodString>;
3904
4106
  progress: z.ZodOptional<z.ZodNumber>;
3905
4107
  ttftMs: z.ZodOptional<z.ZodNumber>;
4108
+ outputTokens: z.ZodOptional<z.ZodNumber>;
4109
+ tokensPerSec: z.ZodOptional<z.ZodNumber>;
3906
4110
  }, z.core.$strip>, z.ZodObject<{
3907
4111
  type: z.ZodLiteral<"turn_stats">;
3908
4112
  provider: z.ZodEnum<{
@@ -3911,6 +4115,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3911
4115
  ollama: "ollama";
3912
4116
  ds4: "ds4";
3913
4117
  }>;
4118
+ model: z.ZodOptional<z.ZodString>;
3914
4119
  promptTokens: z.ZodNumber;
3915
4120
  completionTokens: z.ZodNumber;
3916
4121
  durationMs: z.ZodNumber;
@@ -3975,6 +4180,15 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
3975
4180
  ended: "ended";
3976
4181
  }>;
3977
4182
  generatedAt: z.ZodOptional<z.ZodString>;
4183
+ }, z.core.$strip>, z.ZodObject<{
4184
+ type: z.ZodLiteral<"ambient_dashboard">;
4185
+ state: z.ZodEnum<{
4186
+ failed: "failed";
4187
+ started: "started";
4188
+ ended: "ended";
4189
+ }>;
4190
+ generatedAt: z.ZodOptional<z.ZodString>;
4191
+ filename: z.ZodOptional<z.ZodString>;
3978
4192
  }, z.core.$strip>, z.ZodObject<{
3979
4193
  type: z.ZodLiteral<"index_progress">;
3980
4194
  phase: z.ZodEnum<{
@@ -4328,4 +4542,4 @@ declare const DismissReportActionRequestSchema: z.ZodObject<{
4328
4542
  }, z.core.$strip>;
4329
4543
  type DismissReportActionRequest = z.infer<typeof DismissReportActionRequestSchema>;
4330
4544
 
4331
- export { ReportActionSchema as $, type ApplyEditsAction as A, GezelDetailSchema as B, type ChatTurnErrorDetail as C, type DismissReportActionRequest as D, type GezelFrontmatter as E, type FireCraftbookAction as F, type GezelSummary as G, GezelFrontmatterSchema as H, GezelGenderSchema as I, type GezelSection as J, GezelSectionSchema as K, GezelSummarySchema as L, type GezelTrait as M, GezelTraitSchema as N, LOCAL_PROVIDER_NAMES as O, type ProviderName as P, type ParsedGezel as Q, ParsedGezelSchema as R, type ParsedReportAction as S, ProviderNameSchema as T, type ReportAction as U, type ReportActionKind as V, ReportActionKindSchema as W, type ReportActionParseIssue as X, ReportActionParseIssueSchema as Y, type ReportActionRecord as Z, ReportActionRecordSchema as _, type GezelGender as a, type ReportActionState as a0, ReportActionStateSchema as a1, type ReportActionView as a2, ReportActionViewSchema as a3, type ReportActionsResponse as a4, ReportActionsResponseSchema as a5, type ToolCallAudio as a6, ToolCallAudioSchema as a7, type ToolCallImage as a8, ToolCallImageSchema as a9, type ToolCallVideo as aa, ToolCallVideoSchema as ab, craftbookDocFormatFromEnv as ac, editDistance as ad, formatCraftbookDocErrors as ae, isLocalProvider as af, nearestMatch as ag, sniffCraftbookDocFormat as ah, zodIssuesToDocErrors as ai, type CraftbookDocError as b, type CraftbookDoc as c, type CraftbookDocFormat as d, type ChatMessage as e, ApplyEditsActionSchema as f, type ChatEvent as g, type ChatEventEnvelope as h, ChatEventEnvelopeSchema as i, ChatEventSchema as j, ChatMessageSchema as k, type ChatMessageToolCall as l, ChatMessageToolCallSchema as m, ChatTurnErrorDetailSchema as n, CraftbookDocSchema as o, type CreateTaskAction as p, CreateTaskActionSchema as q, DismissReportActionRequestSchema as r, FireCraftbookActionSchema as s, type FireReportActionRequest as t, FireReportActionRequestSchema as u, type FireReportActionResponse as v, FireReportActionResponseSchema as w, type FixedFunctionConfig as x, FixedFunctionConfigSchema as y, type GezelDetail as z };
4545
+ export { type ReportActionKind as $, type ApplyEditsAction as A, FixedFunctionConfigSchema as B, type ChatTurnErrorDetail as C, type DismissReportActionRequest as D, type GezelDetail as E, type FireCraftbookAction as F, type GezelSummary as G, GezelDetailSchema as H, type GezelFrontmatter as I, GezelFrontmatterSchema as J, GezelGenderSchema as K, type GezelSection as L, GezelSectionSchema as M, GezelSummarySchema as N, type GezelTrait as O, type ProviderName as P, GezelTraitSchema as Q, LOCAL_PROVIDER_NAMES as R, type ParsedGezel as S, ParsedGezelSchema as T, type ParsedReportAction as U, ProviderNameSchema as V, type ReferencedFile as W, type ReferencedFileKind as X, ReferencedFileKindSchema as Y, ReferencedFileSchema as Z, type ReportAction as _, type GezelGender as a, ReportActionKindSchema as a0, type ReportActionParseIssue as a1, ReportActionParseIssueSchema as a2, type ReportActionRecord as a3, ReportActionRecordSchema as a4, ReportActionSchema as a5, type ReportActionState as a6, ReportActionStateSchema as a7, type ReportActionView as a8, ReportActionViewSchema as a9, type ReportActionsResponse as aa, ReportActionsResponseSchema as ab, type ToolCallAudio as ac, ToolCallAudioSchema as ad, type ToolCallImage as ae, ToolCallImageSchema as af, type ToolCallVideo as ag, ToolCallVideoSchema as ah, craftbookDocFormatFromEnv as ai, editDistance as aj, formatCraftbookDocErrors as ak, isLocalProvider as al, nearestMatch as am, sniffCraftbookDocFormat as an, zodIssuesToDocErrors as ao, type CraftbookDocError as b, type CraftbookDoc as c, type CraftbookDocFormat as d, type ChatMessage as e, ApplyEditsActionSchema as f, type ChatEvent as g, type ChatEventEnvelope as h, ChatEventEnvelopeSchema as i, ChatEventSchema as j, ChatMessageSchema as k, type ChatMessageToolCall as l, ChatMessageToolCallSchema as m, type ChatSessionSource as n, ChatSessionSourceSchema as o, ChatTurnErrorDetailSchema as p, CraftbookDocSchema as q, type CreateTaskAction as r, CreateTaskActionSchema as s, DismissReportActionRequestSchema as t, FireCraftbookActionSchema as u, type FireReportActionRequest as v, FireReportActionRequestSchema as w, type FireReportActionResponse as x, FireReportActionResponseSchema as y, type FixedFunctionConfig as z };