@bendyline/gezel 1.0.5 → 1.0.7
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/dist/checks/index.d.ts +101 -2
- package/dist/checks/index.js +433 -21
- package/dist/{index-CiHSDsBv.d.ts → index-BgRfJ_Pt.d.ts} +13833 -905
- package/dist/index.d.ts +1131 -15
- package/dist/index.js +19787 -5857
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +1301 -868
- package/dist/native/index.d.ts +121 -11
- package/dist/native/index.js +80 -7
- package/dist/paths.d.ts +133 -5
- package/dist/paths.js +396 -2
- package/dist/{report-action-BUinEFPt.d.ts → report-action-Kt6W23xy.d.ts} +1021 -4
- package/dist/schemas/index.d.ts +2 -2
- package/dist/schemas/index.js +9855 -5599
- package/package.json +1 -1
|
@@ -35,6 +35,10 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
35
35
|
}, z.core.$strip>, z.ZodObject<{
|
|
36
36
|
kind: z.ZodLiteral<"non-main-branch">;
|
|
37
37
|
}, z.core.$strip>], "kind">>>;
|
|
38
|
+
recommends: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
39
|
+
kind: z.ZodLiteral<"external-services">;
|
|
40
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>], "kind">>>;
|
|
38
42
|
runModes: z.ZodOptional<z.ZodObject<{
|
|
39
43
|
scheduled: z.ZodOptional<z.ZodEnum<{
|
|
40
44
|
supported: "supported";
|
|
@@ -53,6 +57,16 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
53
57
|
autoAllow: z.ZodOptional<z.ZodBoolean>;
|
|
54
58
|
reason: z.ZodOptional<z.ZodString>;
|
|
55
59
|
}, z.core.$strip>>>;
|
|
60
|
+
commands: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
|
+
scope: z.ZodEnum<{
|
|
62
|
+
script: "script";
|
|
63
|
+
npx: "npx";
|
|
64
|
+
}>;
|
|
65
|
+
name: z.ZodString;
|
|
66
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
67
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
68
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
+
}, z.core.$strip>>>;
|
|
56
70
|
connectors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
57
71
|
typeId: z.ZodString;
|
|
58
72
|
sourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -117,6 +131,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
117
131
|
large: "large";
|
|
118
132
|
cloud: "cloud";
|
|
119
133
|
}>>;
|
|
134
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
mode: z.ZodEnum<{
|
|
136
|
+
off: "off";
|
|
137
|
+
lean: "lean";
|
|
138
|
+
balanced: "balanced";
|
|
139
|
+
deep: "deep";
|
|
140
|
+
}>;
|
|
141
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
143
|
+
workspace: "workspace";
|
|
144
|
+
artifacts: "artifacts";
|
|
145
|
+
"project-memory": "project-memory";
|
|
146
|
+
"gezel-memory": "gezel-memory";
|
|
147
|
+
shared: "shared";
|
|
148
|
+
knowledge: "knowledge";
|
|
149
|
+
}>>>;
|
|
150
|
+
}, z.core.$strip>>;
|
|
120
151
|
assignee: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
121
152
|
kind: z.ZodLiteral<"gezel">;
|
|
122
153
|
gezelId: z.ZodString;
|
|
@@ -273,16 +304,19 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
273
304
|
kind: z.ZodLiteral<"totalMinBytes">;
|
|
274
305
|
files: z.ZodArray<z.ZodString>;
|
|
275
306
|
bytes: z.ZodNumber;
|
|
307
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
276
308
|
}, z.core.$strip>, z.ZodObject<{
|
|
277
309
|
kind: z.ZodLiteral<"fileCount">;
|
|
278
310
|
ext: z.ZodArray<z.ZodString>;
|
|
279
311
|
min: z.ZodNumber;
|
|
280
312
|
dir: z.ZodOptional<z.ZodString>;
|
|
281
313
|
verifyImageBytes: z.ZodOptional<z.ZodBoolean>;
|
|
314
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
282
315
|
}, z.core.$strip>, z.ZodObject<{
|
|
283
316
|
kind: z.ZodLiteral<"cssMinBytes">;
|
|
284
317
|
bytes: z.ZodNumber;
|
|
285
318
|
file: z.ZodOptional<z.ZodString>;
|
|
319
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
286
320
|
}, z.core.$strip>, z.ZodObject<{
|
|
287
321
|
kind: z.ZodLiteral<"sniff">;
|
|
288
322
|
file: z.ZodString;
|
|
@@ -300,6 +334,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
300
334
|
path: z.ZodString;
|
|
301
335
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
302
336
|
label: z.ZodOptional<z.ZodString>;
|
|
337
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
303
338
|
}, z.core.$strip>, z.ZodObject<{
|
|
304
339
|
kind: z.ZodLiteral<"csvShape">;
|
|
305
340
|
file: z.ZodString;
|
|
@@ -308,6 +343,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
308
343
|
minRows: z.ZodOptional<z.ZodNumber>;
|
|
309
344
|
consistentColumns: z.ZodOptional<z.ZodBoolean>;
|
|
310
345
|
allowedValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
346
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
311
347
|
}, z.core.$strip>, z.ZodObject<{
|
|
312
348
|
kind: z.ZodLiteral<"contains">;
|
|
313
349
|
file: z.ZodString;
|
|
@@ -331,18 +367,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
331
367
|
label: z.ZodOptional<z.ZodString>;
|
|
332
368
|
}, z.core.$strip>>;
|
|
333
369
|
flags: z.ZodOptional<z.ZodString>;
|
|
370
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
334
371
|
}, z.core.$strip>, z.ZodObject<{
|
|
335
372
|
kind: z.ZodLiteral<"jsParses">;
|
|
336
373
|
file: z.ZodOptional<z.ZodString>;
|
|
374
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
337
375
|
}, z.core.$strip>, z.ZodObject<{
|
|
338
376
|
kind: z.ZodLiteral<"htmlLint">;
|
|
339
377
|
file: z.ZodString;
|
|
378
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
340
379
|
}, z.core.$strip>, z.ZodObject<{
|
|
341
380
|
kind: z.ZodLiteral<"esmImports">;
|
|
342
381
|
file: z.ZodString;
|
|
382
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
343
383
|
}, z.core.$strip>, z.ZodObject<{
|
|
344
384
|
kind: z.ZodLiteral<"sourceParses">;
|
|
345
385
|
file: z.ZodString;
|
|
386
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
346
387
|
}, z.core.$strip>, z.ZodObject<{
|
|
347
388
|
kind: z.ZodLiteral<"tableShape">;
|
|
348
389
|
file: z.ZodString;
|
|
@@ -364,6 +405,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
364
405
|
csv: "csv";
|
|
365
406
|
auto: "auto";
|
|
366
407
|
}>>;
|
|
408
|
+
allowExtraFields: z.ZodOptional<z.ZodBoolean>;
|
|
367
409
|
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
368
410
|
}, z.core.$strip>, z.ZodObject<{
|
|
369
411
|
kind: z.ZodLiteral<"nodeRuns">;
|
|
@@ -382,17 +424,44 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
382
424
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
383
425
|
tools: z.ZodArray<z.ZodString>;
|
|
384
426
|
minSuccessful: z.ZodOptional<z.ZodNumber>;
|
|
427
|
+
externalOptional: z.ZodOptional<z.ZodBoolean>;
|
|
428
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
429
|
+
kind: z.ZodLiteral<"commandEvidence">;
|
|
430
|
+
script: z.ZodOptional<z.ZodString>;
|
|
431
|
+
bin: z.ZodOptional<z.ZodString>;
|
|
432
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
433
|
+
expect: z.ZodEnum<{
|
|
434
|
+
pass: "pass";
|
|
435
|
+
fail: "fail";
|
|
436
|
+
}>;
|
|
437
|
+
minRuns: z.ZodOptional<z.ZodNumber>;
|
|
438
|
+
onDraft: z.ZodOptional<z.ZodEnum<{
|
|
439
|
+
defer: "defer";
|
|
440
|
+
require: "require";
|
|
441
|
+
}>>;
|
|
442
|
+
label: z.ZodOptional<z.ZodString>;
|
|
385
443
|
}, z.core.$strip>, z.ZodObject<{
|
|
386
444
|
kind: z.ZodLiteral<"corpusCoverage">;
|
|
387
445
|
file: z.ZodString;
|
|
388
446
|
corpusDir: z.ZodString;
|
|
389
447
|
reviewedField: z.ZodOptional<z.ZodString>;
|
|
390
448
|
recordField: z.ZodOptional<z.ZodString>;
|
|
449
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
450
|
+
expectPaths: z.ZodOptional<z.ZodString>;
|
|
451
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
452
|
+
kind: z.ZodLiteral<"corpusBatches">;
|
|
453
|
+
file: z.ZodString;
|
|
454
|
+
corpusDir: z.ZodString;
|
|
455
|
+
manifestSuffix: z.ZodOptional<z.ZodString>;
|
|
456
|
+
itemsField: z.ZodOptional<z.ZodString>;
|
|
457
|
+
totalField: z.ZodOptional<z.ZodString>;
|
|
458
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
391
459
|
}, z.core.$strip>, z.ZodObject<{
|
|
392
460
|
kind: z.ZodLiteral<"markdownHeadingsMatch">;
|
|
393
461
|
file: z.ZodString;
|
|
394
462
|
outlineFile: z.ZodString;
|
|
395
463
|
outlineArtifact: z.ZodOptional<z.ZodBoolean>;
|
|
464
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
396
465
|
}, z.core.$strip>, z.ZodObject<{
|
|
397
466
|
kind: z.ZodLiteral<"valueGrounding">;
|
|
398
467
|
file: z.ZodString;
|
|
@@ -455,16 +524,19 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
455
524
|
kind: z.ZodLiteral<"totalMinBytes">;
|
|
456
525
|
files: z.ZodArray<z.ZodString>;
|
|
457
526
|
bytes: z.ZodNumber;
|
|
527
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
458
528
|
}, z.core.$strip>, z.ZodObject<{
|
|
459
529
|
kind: z.ZodLiteral<"fileCount">;
|
|
460
530
|
ext: z.ZodArray<z.ZodString>;
|
|
461
531
|
min: z.ZodNumber;
|
|
462
532
|
dir: z.ZodOptional<z.ZodString>;
|
|
463
533
|
verifyImageBytes: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
464
535
|
}, z.core.$strip>, z.ZodObject<{
|
|
465
536
|
kind: z.ZodLiteral<"cssMinBytes">;
|
|
466
537
|
bytes: z.ZodNumber;
|
|
467
538
|
file: z.ZodOptional<z.ZodString>;
|
|
539
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
468
540
|
}, z.core.$strip>, z.ZodObject<{
|
|
469
541
|
kind: z.ZodLiteral<"sniff">;
|
|
470
542
|
file: z.ZodString;
|
|
@@ -482,6 +554,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
482
554
|
path: z.ZodString;
|
|
483
555
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
484
556
|
label: z.ZodOptional<z.ZodString>;
|
|
557
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
485
558
|
}, z.core.$strip>, z.ZodObject<{
|
|
486
559
|
kind: z.ZodLiteral<"csvShape">;
|
|
487
560
|
file: z.ZodString;
|
|
@@ -490,6 +563,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
490
563
|
minRows: z.ZodOptional<z.ZodNumber>;
|
|
491
564
|
consistentColumns: z.ZodOptional<z.ZodBoolean>;
|
|
492
565
|
allowedValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
566
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
493
567
|
}, z.core.$strip>, z.ZodObject<{
|
|
494
568
|
kind: z.ZodLiteral<"contains">;
|
|
495
569
|
file: z.ZodString;
|
|
@@ -513,18 +587,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
513
587
|
label: z.ZodOptional<z.ZodString>;
|
|
514
588
|
}, z.core.$strip>>;
|
|
515
589
|
flags: z.ZodOptional<z.ZodString>;
|
|
590
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
516
591
|
}, z.core.$strip>, z.ZodObject<{
|
|
517
592
|
kind: z.ZodLiteral<"jsParses">;
|
|
518
593
|
file: z.ZodOptional<z.ZodString>;
|
|
594
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
519
595
|
}, z.core.$strip>, z.ZodObject<{
|
|
520
596
|
kind: z.ZodLiteral<"htmlLint">;
|
|
521
597
|
file: z.ZodString;
|
|
598
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
522
599
|
}, z.core.$strip>, z.ZodObject<{
|
|
523
600
|
kind: z.ZodLiteral<"esmImports">;
|
|
524
601
|
file: z.ZodString;
|
|
602
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
525
603
|
}, z.core.$strip>, z.ZodObject<{
|
|
526
604
|
kind: z.ZodLiteral<"sourceParses">;
|
|
527
605
|
file: z.ZodString;
|
|
606
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
528
607
|
}, z.core.$strip>, z.ZodObject<{
|
|
529
608
|
kind: z.ZodLiteral<"tableShape">;
|
|
530
609
|
file: z.ZodString;
|
|
@@ -546,6 +625,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
546
625
|
csv: "csv";
|
|
547
626
|
auto: "auto";
|
|
548
627
|
}>>;
|
|
628
|
+
allowExtraFields: z.ZodOptional<z.ZodBoolean>;
|
|
549
629
|
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
550
630
|
}, z.core.$strip>, z.ZodObject<{
|
|
551
631
|
kind: z.ZodLiteral<"nodeRuns">;
|
|
@@ -564,17 +644,44 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
564
644
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
565
645
|
tools: z.ZodArray<z.ZodString>;
|
|
566
646
|
minSuccessful: z.ZodOptional<z.ZodNumber>;
|
|
647
|
+
externalOptional: z.ZodOptional<z.ZodBoolean>;
|
|
648
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
649
|
+
kind: z.ZodLiteral<"commandEvidence">;
|
|
650
|
+
script: z.ZodOptional<z.ZodString>;
|
|
651
|
+
bin: z.ZodOptional<z.ZodString>;
|
|
652
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
653
|
+
expect: z.ZodEnum<{
|
|
654
|
+
pass: "pass";
|
|
655
|
+
fail: "fail";
|
|
656
|
+
}>;
|
|
657
|
+
minRuns: z.ZodOptional<z.ZodNumber>;
|
|
658
|
+
onDraft: z.ZodOptional<z.ZodEnum<{
|
|
659
|
+
defer: "defer";
|
|
660
|
+
require: "require";
|
|
661
|
+
}>>;
|
|
662
|
+
label: z.ZodOptional<z.ZodString>;
|
|
567
663
|
}, z.core.$strip>, z.ZodObject<{
|
|
568
664
|
kind: z.ZodLiteral<"corpusCoverage">;
|
|
569
665
|
file: z.ZodString;
|
|
570
666
|
corpusDir: z.ZodString;
|
|
571
667
|
reviewedField: z.ZodOptional<z.ZodString>;
|
|
572
668
|
recordField: z.ZodOptional<z.ZodString>;
|
|
669
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
670
|
+
expectPaths: z.ZodOptional<z.ZodString>;
|
|
671
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
672
|
+
kind: z.ZodLiteral<"corpusBatches">;
|
|
673
|
+
file: z.ZodString;
|
|
674
|
+
corpusDir: z.ZodString;
|
|
675
|
+
manifestSuffix: z.ZodOptional<z.ZodString>;
|
|
676
|
+
itemsField: z.ZodOptional<z.ZodString>;
|
|
677
|
+
totalField: z.ZodOptional<z.ZodString>;
|
|
678
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
573
679
|
}, z.core.$strip>, z.ZodObject<{
|
|
574
680
|
kind: z.ZodLiteral<"markdownHeadingsMatch">;
|
|
575
681
|
file: z.ZodString;
|
|
576
682
|
outlineFile: z.ZodString;
|
|
577
683
|
outlineArtifact: z.ZodOptional<z.ZodBoolean>;
|
|
684
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
578
685
|
}, z.core.$strip>, z.ZodObject<{
|
|
579
686
|
kind: z.ZodLiteral<"valueGrounding">;
|
|
580
687
|
file: z.ZodString;
|
|
@@ -692,6 +799,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
692
799
|
large: "large";
|
|
693
800
|
cloud: "cloud";
|
|
694
801
|
}>>;
|
|
802
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
803
|
+
mode: z.ZodEnum<{
|
|
804
|
+
off: "off";
|
|
805
|
+
lean: "lean";
|
|
806
|
+
balanced: "balanced";
|
|
807
|
+
deep: "deep";
|
|
808
|
+
}>;
|
|
809
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
810
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
811
|
+
workspace: "workspace";
|
|
812
|
+
artifacts: "artifacts";
|
|
813
|
+
"project-memory": "project-memory";
|
|
814
|
+
"gezel-memory": "gezel-memory";
|
|
815
|
+
shared: "shared";
|
|
816
|
+
knowledge: "knowledge";
|
|
817
|
+
}>>>;
|
|
818
|
+
}, z.core.$strip>>;
|
|
695
819
|
assignee: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
696
820
|
kind: z.ZodLiteral<"gezel">;
|
|
697
821
|
gezelId: z.ZodString;
|
|
@@ -848,16 +972,19 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
848
972
|
kind: z.ZodLiteral<"totalMinBytes">;
|
|
849
973
|
files: z.ZodArray<z.ZodString>;
|
|
850
974
|
bytes: z.ZodNumber;
|
|
975
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
851
976
|
}, z.core.$strip>, z.ZodObject<{
|
|
852
977
|
kind: z.ZodLiteral<"fileCount">;
|
|
853
978
|
ext: z.ZodArray<z.ZodString>;
|
|
854
979
|
min: z.ZodNumber;
|
|
855
980
|
dir: z.ZodOptional<z.ZodString>;
|
|
856
981
|
verifyImageBytes: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
857
983
|
}, z.core.$strip>, z.ZodObject<{
|
|
858
984
|
kind: z.ZodLiteral<"cssMinBytes">;
|
|
859
985
|
bytes: z.ZodNumber;
|
|
860
986
|
file: z.ZodOptional<z.ZodString>;
|
|
987
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
861
988
|
}, z.core.$strip>, z.ZodObject<{
|
|
862
989
|
kind: z.ZodLiteral<"sniff">;
|
|
863
990
|
file: z.ZodString;
|
|
@@ -875,6 +1002,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
875
1002
|
path: z.ZodString;
|
|
876
1003
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
877
1004
|
label: z.ZodOptional<z.ZodString>;
|
|
1005
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
878
1006
|
}, z.core.$strip>, z.ZodObject<{
|
|
879
1007
|
kind: z.ZodLiteral<"csvShape">;
|
|
880
1008
|
file: z.ZodString;
|
|
@@ -883,6 +1011,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
883
1011
|
minRows: z.ZodOptional<z.ZodNumber>;
|
|
884
1012
|
consistentColumns: z.ZodOptional<z.ZodBoolean>;
|
|
885
1013
|
allowedValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1014
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
886
1015
|
}, z.core.$strip>, z.ZodObject<{
|
|
887
1016
|
kind: z.ZodLiteral<"contains">;
|
|
888
1017
|
file: z.ZodString;
|
|
@@ -906,18 +1035,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
906
1035
|
label: z.ZodOptional<z.ZodString>;
|
|
907
1036
|
}, z.core.$strip>>;
|
|
908
1037
|
flags: z.ZodOptional<z.ZodString>;
|
|
1038
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
909
1039
|
}, z.core.$strip>, z.ZodObject<{
|
|
910
1040
|
kind: z.ZodLiteral<"jsParses">;
|
|
911
1041
|
file: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
912
1043
|
}, z.core.$strip>, z.ZodObject<{
|
|
913
1044
|
kind: z.ZodLiteral<"htmlLint">;
|
|
914
1045
|
file: z.ZodString;
|
|
1046
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
915
1047
|
}, z.core.$strip>, z.ZodObject<{
|
|
916
1048
|
kind: z.ZodLiteral<"esmImports">;
|
|
917
1049
|
file: z.ZodString;
|
|
1050
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
918
1051
|
}, z.core.$strip>, z.ZodObject<{
|
|
919
1052
|
kind: z.ZodLiteral<"sourceParses">;
|
|
920
1053
|
file: z.ZodString;
|
|
1054
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
921
1055
|
}, z.core.$strip>, z.ZodObject<{
|
|
922
1056
|
kind: z.ZodLiteral<"tableShape">;
|
|
923
1057
|
file: z.ZodString;
|
|
@@ -939,6 +1073,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
939
1073
|
csv: "csv";
|
|
940
1074
|
auto: "auto";
|
|
941
1075
|
}>>;
|
|
1076
|
+
allowExtraFields: z.ZodOptional<z.ZodBoolean>;
|
|
942
1077
|
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
943
1078
|
}, z.core.$strip>, z.ZodObject<{
|
|
944
1079
|
kind: z.ZodLiteral<"nodeRuns">;
|
|
@@ -957,17 +1092,44 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
957
1092
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
958
1093
|
tools: z.ZodArray<z.ZodString>;
|
|
959
1094
|
minSuccessful: z.ZodOptional<z.ZodNumber>;
|
|
1095
|
+
externalOptional: z.ZodOptional<z.ZodBoolean>;
|
|
1096
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1097
|
+
kind: z.ZodLiteral<"commandEvidence">;
|
|
1098
|
+
script: z.ZodOptional<z.ZodString>;
|
|
1099
|
+
bin: z.ZodOptional<z.ZodString>;
|
|
1100
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1101
|
+
expect: z.ZodEnum<{
|
|
1102
|
+
pass: "pass";
|
|
1103
|
+
fail: "fail";
|
|
1104
|
+
}>;
|
|
1105
|
+
minRuns: z.ZodOptional<z.ZodNumber>;
|
|
1106
|
+
onDraft: z.ZodOptional<z.ZodEnum<{
|
|
1107
|
+
defer: "defer";
|
|
1108
|
+
require: "require";
|
|
1109
|
+
}>>;
|
|
1110
|
+
label: z.ZodOptional<z.ZodString>;
|
|
960
1111
|
}, z.core.$strip>, z.ZodObject<{
|
|
961
1112
|
kind: z.ZodLiteral<"corpusCoverage">;
|
|
962
1113
|
file: z.ZodString;
|
|
963
1114
|
corpusDir: z.ZodString;
|
|
964
1115
|
reviewedField: z.ZodOptional<z.ZodString>;
|
|
965
1116
|
recordField: z.ZodOptional<z.ZodString>;
|
|
1117
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1118
|
+
expectPaths: z.ZodOptional<z.ZodString>;
|
|
1119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1120
|
+
kind: z.ZodLiteral<"corpusBatches">;
|
|
1121
|
+
file: z.ZodString;
|
|
1122
|
+
corpusDir: z.ZodString;
|
|
1123
|
+
manifestSuffix: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
itemsField: z.ZodOptional<z.ZodString>;
|
|
1125
|
+
totalField: z.ZodOptional<z.ZodString>;
|
|
1126
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
966
1127
|
}, z.core.$strip>, z.ZodObject<{
|
|
967
1128
|
kind: z.ZodLiteral<"markdownHeadingsMatch">;
|
|
968
1129
|
file: z.ZodString;
|
|
969
1130
|
outlineFile: z.ZodString;
|
|
970
1131
|
outlineArtifact: z.ZodOptional<z.ZodBoolean>;
|
|
1132
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
971
1133
|
}, z.core.$strip>, z.ZodObject<{
|
|
972
1134
|
kind: z.ZodLiteral<"valueGrounding">;
|
|
973
1135
|
file: z.ZodString;
|
|
@@ -1030,16 +1192,19 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
1030
1192
|
kind: z.ZodLiteral<"totalMinBytes">;
|
|
1031
1193
|
files: z.ZodArray<z.ZodString>;
|
|
1032
1194
|
bytes: z.ZodNumber;
|
|
1195
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1033
1196
|
}, z.core.$strip>, z.ZodObject<{
|
|
1034
1197
|
kind: z.ZodLiteral<"fileCount">;
|
|
1035
1198
|
ext: z.ZodArray<z.ZodString>;
|
|
1036
1199
|
min: z.ZodNumber;
|
|
1037
1200
|
dir: z.ZodOptional<z.ZodString>;
|
|
1038
1201
|
verifyImageBytes: z.ZodOptional<z.ZodBoolean>;
|
|
1202
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1039
1203
|
}, z.core.$strip>, z.ZodObject<{
|
|
1040
1204
|
kind: z.ZodLiteral<"cssMinBytes">;
|
|
1041
1205
|
bytes: z.ZodNumber;
|
|
1042
1206
|
file: z.ZodOptional<z.ZodString>;
|
|
1207
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1043
1208
|
}, z.core.$strip>, z.ZodObject<{
|
|
1044
1209
|
kind: z.ZodLiteral<"sniff">;
|
|
1045
1210
|
file: z.ZodString;
|
|
@@ -1057,6 +1222,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
1057
1222
|
path: z.ZodString;
|
|
1058
1223
|
value: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
|
|
1059
1224
|
label: z.ZodOptional<z.ZodString>;
|
|
1225
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1060
1226
|
}, z.core.$strip>, z.ZodObject<{
|
|
1061
1227
|
kind: z.ZodLiteral<"csvShape">;
|
|
1062
1228
|
file: z.ZodString;
|
|
@@ -1065,6 +1231,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
1065
1231
|
minRows: z.ZodOptional<z.ZodNumber>;
|
|
1066
1232
|
consistentColumns: z.ZodOptional<z.ZodBoolean>;
|
|
1067
1233
|
allowedValues: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
1234
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1068
1235
|
}, z.core.$strip>, z.ZodObject<{
|
|
1069
1236
|
kind: z.ZodLiteral<"contains">;
|
|
1070
1237
|
file: z.ZodString;
|
|
@@ -1088,18 +1255,23 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
1088
1255
|
label: z.ZodOptional<z.ZodString>;
|
|
1089
1256
|
}, z.core.$strip>>;
|
|
1090
1257
|
flags: z.ZodOptional<z.ZodString>;
|
|
1258
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1091
1259
|
}, z.core.$strip>, z.ZodObject<{
|
|
1092
1260
|
kind: z.ZodLiteral<"jsParses">;
|
|
1093
1261
|
file: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1094
1263
|
}, z.core.$strip>, z.ZodObject<{
|
|
1095
1264
|
kind: z.ZodLiteral<"htmlLint">;
|
|
1096
1265
|
file: z.ZodString;
|
|
1266
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1097
1267
|
}, z.core.$strip>, z.ZodObject<{
|
|
1098
1268
|
kind: z.ZodLiteral<"esmImports">;
|
|
1099
1269
|
file: z.ZodString;
|
|
1270
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1100
1271
|
}, z.core.$strip>, z.ZodObject<{
|
|
1101
1272
|
kind: z.ZodLiteral<"sourceParses">;
|
|
1102
1273
|
file: z.ZodString;
|
|
1274
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1103
1275
|
}, z.core.$strip>, z.ZodObject<{
|
|
1104
1276
|
kind: z.ZodLiteral<"tableShape">;
|
|
1105
1277
|
file: z.ZodString;
|
|
@@ -1121,6 +1293,7 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
1121
1293
|
csv: "csv";
|
|
1122
1294
|
auto: "auto";
|
|
1123
1295
|
}>>;
|
|
1296
|
+
allowExtraFields: z.ZodOptional<z.ZodBoolean>;
|
|
1124
1297
|
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1125
1298
|
}, z.core.$strip>, z.ZodObject<{
|
|
1126
1299
|
kind: z.ZodLiteral<"nodeRuns">;
|
|
@@ -1139,17 +1312,44 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
1139
1312
|
sourcePath: z.ZodOptional<z.ZodString>;
|
|
1140
1313
|
tools: z.ZodArray<z.ZodString>;
|
|
1141
1314
|
minSuccessful: z.ZodOptional<z.ZodNumber>;
|
|
1315
|
+
externalOptional: z.ZodOptional<z.ZodBoolean>;
|
|
1316
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1317
|
+
kind: z.ZodLiteral<"commandEvidence">;
|
|
1318
|
+
script: z.ZodOptional<z.ZodString>;
|
|
1319
|
+
bin: z.ZodOptional<z.ZodString>;
|
|
1320
|
+
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1321
|
+
expect: z.ZodEnum<{
|
|
1322
|
+
pass: "pass";
|
|
1323
|
+
fail: "fail";
|
|
1324
|
+
}>;
|
|
1325
|
+
minRuns: z.ZodOptional<z.ZodNumber>;
|
|
1326
|
+
onDraft: z.ZodOptional<z.ZodEnum<{
|
|
1327
|
+
defer: "defer";
|
|
1328
|
+
require: "require";
|
|
1329
|
+
}>>;
|
|
1330
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1142
1331
|
}, z.core.$strip>, z.ZodObject<{
|
|
1143
1332
|
kind: z.ZodLiteral<"corpusCoverage">;
|
|
1144
1333
|
file: z.ZodString;
|
|
1145
1334
|
corpusDir: z.ZodString;
|
|
1146
1335
|
reviewedField: z.ZodOptional<z.ZodString>;
|
|
1147
1336
|
recordField: z.ZodOptional<z.ZodString>;
|
|
1337
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1338
|
+
expectPaths: z.ZodOptional<z.ZodString>;
|
|
1339
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1340
|
+
kind: z.ZodLiteral<"corpusBatches">;
|
|
1341
|
+
file: z.ZodString;
|
|
1342
|
+
corpusDir: z.ZodString;
|
|
1343
|
+
manifestSuffix: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
itemsField: z.ZodOptional<z.ZodString>;
|
|
1345
|
+
totalField: z.ZodOptional<z.ZodString>;
|
|
1346
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1148
1347
|
}, z.core.$strip>, z.ZodObject<{
|
|
1149
1348
|
kind: z.ZodLiteral<"markdownHeadingsMatch">;
|
|
1150
1349
|
file: z.ZodString;
|
|
1151
1350
|
outlineFile: z.ZodString;
|
|
1152
1351
|
outlineArtifact: z.ZodOptional<z.ZodBoolean>;
|
|
1352
|
+
artifact: z.ZodOptional<z.ZodBoolean>;
|
|
1153
1353
|
}, z.core.$strip>, z.ZodObject<{
|
|
1154
1354
|
kind: z.ZodLiteral<"valueGrounding">;
|
|
1155
1355
|
file: z.ZodString;
|
|
@@ -1220,6 +1420,14 @@ declare const CraftbookDocSchema: z.ZodObject<{
|
|
|
1220
1420
|
spawnFanout: z.ZodOptional<z.ZodBoolean>;
|
|
1221
1421
|
}, z.core.$strip>>;
|
|
1222
1422
|
}, z.core.$strip>>;
|
|
1423
|
+
diffpackCapable: z.ZodOptional<z.ZodBoolean>;
|
|
1424
|
+
capabilityFloor: z.ZodOptional<z.ZodEnum<{
|
|
1425
|
+
tiny: "tiny";
|
|
1426
|
+
small: "small";
|
|
1427
|
+
medium: "medium";
|
|
1428
|
+
large: "large";
|
|
1429
|
+
cloud: "cloud";
|
|
1430
|
+
}>>;
|
|
1223
1431
|
scripts: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1224
1432
|
version: z.ZodOptional<z.ZodString>;
|
|
1225
1433
|
releasedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1455,8 +1663,8 @@ declare const GezelFrontmatterSchema: z.ZodObject<{
|
|
|
1455
1663
|
swaFull: z.ZodOptional<z.ZodBoolean>;
|
|
1456
1664
|
flashAttn: z.ZodOptional<z.ZodEnum<{
|
|
1457
1665
|
auto: "auto";
|
|
1458
|
-
on: "on";
|
|
1459
1666
|
off: "off";
|
|
1667
|
+
on: "on";
|
|
1460
1668
|
}>>;
|
|
1461
1669
|
ubatchSize: z.ZodOptional<z.ZodNumber>;
|
|
1462
1670
|
contextSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1565,6 +1773,23 @@ declare const GezelFrontmatterSchema: z.ZodObject<{
|
|
|
1565
1773
|
}, z.core.$strip>>;
|
|
1566
1774
|
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
1567
1775
|
autoRecall: z.ZodOptional<z.ZodBoolean>;
|
|
1776
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
1777
|
+
mode: z.ZodEnum<{
|
|
1778
|
+
off: "off";
|
|
1779
|
+
lean: "lean";
|
|
1780
|
+
balanced: "balanced";
|
|
1781
|
+
deep: "deep";
|
|
1782
|
+
}>;
|
|
1783
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
1784
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1785
|
+
workspace: "workspace";
|
|
1786
|
+
artifacts: "artifacts";
|
|
1787
|
+
"project-memory": "project-memory";
|
|
1788
|
+
"gezel-memory": "gezel-memory";
|
|
1789
|
+
shared: "shared";
|
|
1790
|
+
knowledge: "knowledge";
|
|
1791
|
+
}>>>;
|
|
1792
|
+
}, z.core.$strip>>;
|
|
1568
1793
|
font: z.ZodOptional<z.ZodString>;
|
|
1569
1794
|
voice: z.ZodOptional<z.ZodString>;
|
|
1570
1795
|
templateId: z.ZodOptional<z.ZodString>;
|
|
@@ -1720,8 +1945,8 @@ declare const ParsedGezelSchema: z.ZodObject<{
|
|
|
1720
1945
|
swaFull: z.ZodOptional<z.ZodBoolean>;
|
|
1721
1946
|
flashAttn: z.ZodOptional<z.ZodEnum<{
|
|
1722
1947
|
auto: "auto";
|
|
1723
|
-
on: "on";
|
|
1724
1948
|
off: "off";
|
|
1949
|
+
on: "on";
|
|
1725
1950
|
}>>;
|
|
1726
1951
|
ubatchSize: z.ZodOptional<z.ZodNumber>;
|
|
1727
1952
|
contextSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1830,6 +2055,23 @@ declare const ParsedGezelSchema: z.ZodObject<{
|
|
|
1830
2055
|
}, z.core.$strip>>;
|
|
1831
2056
|
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
1832
2057
|
autoRecall: z.ZodOptional<z.ZodBoolean>;
|
|
2058
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
2059
|
+
mode: z.ZodEnum<{
|
|
2060
|
+
off: "off";
|
|
2061
|
+
lean: "lean";
|
|
2062
|
+
balanced: "balanced";
|
|
2063
|
+
deep: "deep";
|
|
2064
|
+
}>;
|
|
2065
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
2066
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2067
|
+
workspace: "workspace";
|
|
2068
|
+
artifacts: "artifacts";
|
|
2069
|
+
"project-memory": "project-memory";
|
|
2070
|
+
"gezel-memory": "gezel-memory";
|
|
2071
|
+
shared: "shared";
|
|
2072
|
+
knowledge: "knowledge";
|
|
2073
|
+
}>>>;
|
|
2074
|
+
}, z.core.$strip>>;
|
|
1833
2075
|
font: z.ZodOptional<z.ZodString>;
|
|
1834
2076
|
voice: z.ZodOptional<z.ZodString>;
|
|
1835
2077
|
templateId: z.ZodOptional<z.ZodString>;
|
|
@@ -1905,6 +2147,23 @@ declare const GezelSummarySchema: z.ZodObject<{
|
|
|
1905
2147
|
suggestedTuningProfile: z.ZodOptional<z.ZodString>;
|
|
1906
2148
|
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
1907
2149
|
autoRecall: z.ZodOptional<z.ZodBoolean>;
|
|
2150
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
2151
|
+
mode: z.ZodEnum<{
|
|
2152
|
+
off: "off";
|
|
2153
|
+
lean: "lean";
|
|
2154
|
+
balanced: "balanced";
|
|
2155
|
+
deep: "deep";
|
|
2156
|
+
}>;
|
|
2157
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
2158
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2159
|
+
workspace: "workspace";
|
|
2160
|
+
artifacts: "artifacts";
|
|
2161
|
+
"project-memory": "project-memory";
|
|
2162
|
+
"gezel-memory": "gezel-memory";
|
|
2163
|
+
shared: "shared";
|
|
2164
|
+
knowledge: "knowledge";
|
|
2165
|
+
}>>>;
|
|
2166
|
+
}, z.core.$strip>>;
|
|
1908
2167
|
font: z.ZodOptional<z.ZodString>;
|
|
1909
2168
|
voice: z.ZodOptional<z.ZodString>;
|
|
1910
2169
|
templateId: z.ZodOptional<z.ZodString>;
|
|
@@ -2090,6 +2349,23 @@ declare const GezelDetailSchema: z.ZodObject<{
|
|
|
2090
2349
|
suggestedTuningProfile: z.ZodOptional<z.ZodString>;
|
|
2091
2350
|
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
2092
2351
|
autoRecall: z.ZodOptional<z.ZodBoolean>;
|
|
2352
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
2353
|
+
mode: z.ZodEnum<{
|
|
2354
|
+
off: "off";
|
|
2355
|
+
lean: "lean";
|
|
2356
|
+
balanced: "balanced";
|
|
2357
|
+
deep: "deep";
|
|
2358
|
+
}>;
|
|
2359
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
2360
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2361
|
+
workspace: "workspace";
|
|
2362
|
+
artifacts: "artifacts";
|
|
2363
|
+
"project-memory": "project-memory";
|
|
2364
|
+
"gezel-memory": "gezel-memory";
|
|
2365
|
+
shared: "shared";
|
|
2366
|
+
knowledge: "knowledge";
|
|
2367
|
+
}>>>;
|
|
2368
|
+
}, z.core.$strip>>;
|
|
2093
2369
|
font: z.ZodOptional<z.ZodString>;
|
|
2094
2370
|
voice: z.ZodOptional<z.ZodString>;
|
|
2095
2371
|
templateId: z.ZodOptional<z.ZodString>;
|
|
@@ -2349,8 +2625,8 @@ declare const GezelDetailSchema: z.ZodObject<{
|
|
|
2349
2625
|
swaFull: z.ZodOptional<z.ZodBoolean>;
|
|
2350
2626
|
flashAttn: z.ZodOptional<z.ZodEnum<{
|
|
2351
2627
|
auto: "auto";
|
|
2352
|
-
on: "on";
|
|
2353
2628
|
off: "off";
|
|
2629
|
+
on: "on";
|
|
2354
2630
|
}>>;
|
|
2355
2631
|
ubatchSize: z.ZodOptional<z.ZodNumber>;
|
|
2356
2632
|
contextSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2459,6 +2735,23 @@ declare const GezelDetailSchema: z.ZodObject<{
|
|
|
2459
2735
|
}, z.core.$strip>>;
|
|
2460
2736
|
numCtx: z.ZodOptional<z.ZodNumber>;
|
|
2461
2737
|
autoRecall: z.ZodOptional<z.ZodBoolean>;
|
|
2738
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
2739
|
+
mode: z.ZodEnum<{
|
|
2740
|
+
off: "off";
|
|
2741
|
+
lean: "lean";
|
|
2742
|
+
balanced: "balanced";
|
|
2743
|
+
deep: "deep";
|
|
2744
|
+
}>;
|
|
2745
|
+
maxTokens: z.ZodOptional<z.ZodNumber>;
|
|
2746
|
+
sources: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
2747
|
+
workspace: "workspace";
|
|
2748
|
+
artifacts: "artifacts";
|
|
2749
|
+
"project-memory": "project-memory";
|
|
2750
|
+
"gezel-memory": "gezel-memory";
|
|
2751
|
+
shared: "shared";
|
|
2752
|
+
knowledge: "knowledge";
|
|
2753
|
+
}>>>;
|
|
2754
|
+
}, z.core.$strip>>;
|
|
2462
2755
|
font: z.ZodOptional<z.ZodString>;
|
|
2463
2756
|
voice: z.ZodOptional<z.ZodString>;
|
|
2464
2757
|
templateId: z.ZodOptional<z.ZodString>;
|
|
@@ -2563,6 +2856,127 @@ declare const ToolCallVideoSchema: z.ZodObject<{
|
|
|
2563
2856
|
posterPath: z.ZodOptional<z.ZodString>;
|
|
2564
2857
|
}, z.core.$strip>;
|
|
2565
2858
|
type ToolCallVideo = z.infer<typeof ToolCallVideoSchema>;
|
|
2859
|
+
/**
|
|
2860
|
+
* One step in a tool card's roadmap snapshot. Status is resolved
|
|
2861
|
+
* server-side at event time from the task's step lifecycle
|
|
2862
|
+
* (`completedAt` / `activeStepId`) — never from step order, which lies
|
|
2863
|
+
* for craftbooks whose review steps loop back.
|
|
2864
|
+
*/
|
|
2865
|
+
declare const ToolCardStepSchema: z.ZodObject<{
|
|
2866
|
+
id: z.ZodString;
|
|
2867
|
+
name: z.ZodString;
|
|
2868
|
+
status: z.ZodEnum<{
|
|
2869
|
+
pending: "pending";
|
|
2870
|
+
done: "done";
|
|
2871
|
+
active: "active";
|
|
2872
|
+
}>;
|
|
2873
|
+
}, z.core.$strip>;
|
|
2874
|
+
type ToolCardStep = z.infer<typeof ToolCardStepSchema>;
|
|
2875
|
+
/**
|
|
2876
|
+
* Rich inline card for an `invoke_craftbook` tool call: the chat
|
|
2877
|
+
* transcript's "a craftbook just started" receipt — craftbook identity,
|
|
2878
|
+
* the created task, and the step roadmap at that moment.
|
|
2879
|
+
*/
|
|
2880
|
+
declare const CraftbookStartCardSchema: z.ZodObject<{
|
|
2881
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
2882
|
+
craftbookId: z.ZodString;
|
|
2883
|
+
craftbookName: z.ZodString;
|
|
2884
|
+
taskRef: z.ZodString;
|
|
2885
|
+
projectId: z.ZodString;
|
|
2886
|
+
status: z.ZodString;
|
|
2887
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
2888
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2889
|
+
id: z.ZodString;
|
|
2890
|
+
name: z.ZodString;
|
|
2891
|
+
status: z.ZodEnum<{
|
|
2892
|
+
pending: "pending";
|
|
2893
|
+
done: "done";
|
|
2894
|
+
active: "active";
|
|
2895
|
+
}>;
|
|
2896
|
+
}, z.core.$strip>>;
|
|
2897
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
2898
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
2899
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
}, z.core.$strip>>;
|
|
2901
|
+
}, z.core.$strip>;
|
|
2902
|
+
type CraftbookStartCard = z.infer<typeof CraftbookStartCardSchema>;
|
|
2903
|
+
/**
|
|
2904
|
+
* Slimmer inline card for an `advance_task_step` tool call: which step
|
|
2905
|
+
* completed, which is now active, and the roadmap moved forward.
|
|
2906
|
+
*/
|
|
2907
|
+
declare const TaskStepAdvanceCardSchema: z.ZodObject<{
|
|
2908
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
2909
|
+
craftbookId: z.ZodString;
|
|
2910
|
+
craftbookName: z.ZodString;
|
|
2911
|
+
taskRef: z.ZodString;
|
|
2912
|
+
projectId: z.ZodString;
|
|
2913
|
+
status: z.ZodString;
|
|
2914
|
+
completedStepId: z.ZodString;
|
|
2915
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
2916
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
2917
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
2918
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2919
|
+
id: z.ZodString;
|
|
2920
|
+
name: z.ZodString;
|
|
2921
|
+
status: z.ZodEnum<{
|
|
2922
|
+
pending: "pending";
|
|
2923
|
+
done: "done";
|
|
2924
|
+
active: "active";
|
|
2925
|
+
}>;
|
|
2926
|
+
}, z.core.$strip>>;
|
|
2927
|
+
}, z.core.$strip>;
|
|
2928
|
+
type TaskStepAdvanceCard = z.infer<typeof TaskStepAdvanceCardSchema>;
|
|
2929
|
+
/**
|
|
2930
|
+
* Typed payload behind the rich inline cards the chat transcript renders
|
|
2931
|
+
* for specific tools, extracted server-side from MCP `structuredContent`
|
|
2932
|
+
* (chat/tool-cards.ts). A card is a SNAPSHOT-AT-EVENT-TIME receipt: it
|
|
2933
|
+
* records what was true when the tool completed and never claims to be
|
|
2934
|
+
* live — the task rail/tab is the live view, one click away. Add new
|
|
2935
|
+
* card kinds here as more tools earn rich renderings.
|
|
2936
|
+
*/
|
|
2937
|
+
declare const ToolCallCardSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2938
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
2939
|
+
craftbookId: z.ZodString;
|
|
2940
|
+
craftbookName: z.ZodString;
|
|
2941
|
+
taskRef: z.ZodString;
|
|
2942
|
+
projectId: z.ZodString;
|
|
2943
|
+
status: z.ZodString;
|
|
2944
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
2945
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2946
|
+
id: z.ZodString;
|
|
2947
|
+
name: z.ZodString;
|
|
2948
|
+
status: z.ZodEnum<{
|
|
2949
|
+
pending: "pending";
|
|
2950
|
+
done: "done";
|
|
2951
|
+
active: "active";
|
|
2952
|
+
}>;
|
|
2953
|
+
}, z.core.$strip>>;
|
|
2954
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
2955
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
2956
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2957
|
+
}, z.core.$strip>>;
|
|
2958
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2959
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
2960
|
+
craftbookId: z.ZodString;
|
|
2961
|
+
craftbookName: z.ZodString;
|
|
2962
|
+
taskRef: z.ZodString;
|
|
2963
|
+
projectId: z.ZodString;
|
|
2964
|
+
status: z.ZodString;
|
|
2965
|
+
completedStepId: z.ZodString;
|
|
2966
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
2967
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
2968
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
2969
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
2970
|
+
id: z.ZodString;
|
|
2971
|
+
name: z.ZodString;
|
|
2972
|
+
status: z.ZodEnum<{
|
|
2973
|
+
pending: "pending";
|
|
2974
|
+
done: "done";
|
|
2975
|
+
active: "active";
|
|
2976
|
+
}>;
|
|
2977
|
+
}, z.core.$strip>>;
|
|
2978
|
+
}, z.core.$strip>], "kind">;
|
|
2979
|
+
type ToolCallCard = z.infer<typeof ToolCallCardSchema>;
|
|
2566
2980
|
declare const ChatMessageToolCallSchema: z.ZodObject<{
|
|
2567
2981
|
name: z.ZodString;
|
|
2568
2982
|
durationMs: z.ZodNumber;
|
|
@@ -2592,8 +3006,92 @@ declare const ChatMessageToolCallSchema: z.ZodObject<{
|
|
|
2592
3006
|
diff: z.ZodOptional<z.ZodString>;
|
|
2593
3007
|
addedLines: z.ZodOptional<z.ZodNumber>;
|
|
2594
3008
|
removedLines: z.ZodOptional<z.ZodNumber>;
|
|
3009
|
+
card: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3010
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
3011
|
+
craftbookId: z.ZodString;
|
|
3012
|
+
craftbookName: z.ZodString;
|
|
3013
|
+
taskRef: z.ZodString;
|
|
3014
|
+
projectId: z.ZodString;
|
|
3015
|
+
status: z.ZodString;
|
|
3016
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3017
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3018
|
+
id: z.ZodString;
|
|
3019
|
+
name: z.ZodString;
|
|
3020
|
+
status: z.ZodEnum<{
|
|
3021
|
+
pending: "pending";
|
|
3022
|
+
done: "done";
|
|
3023
|
+
active: "active";
|
|
3024
|
+
}>;
|
|
3025
|
+
}, z.core.$strip>>;
|
|
3026
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
3027
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
3028
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3029
|
+
}, z.core.$strip>>;
|
|
3030
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3031
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
3032
|
+
craftbookId: z.ZodString;
|
|
3033
|
+
craftbookName: z.ZodString;
|
|
3034
|
+
taskRef: z.ZodString;
|
|
3035
|
+
projectId: z.ZodString;
|
|
3036
|
+
status: z.ZodString;
|
|
3037
|
+
completedStepId: z.ZodString;
|
|
3038
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
3039
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3040
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
3041
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3042
|
+
id: z.ZodString;
|
|
3043
|
+
name: z.ZodString;
|
|
3044
|
+
status: z.ZodEnum<{
|
|
3045
|
+
pending: "pending";
|
|
3046
|
+
done: "done";
|
|
3047
|
+
active: "active";
|
|
3048
|
+
}>;
|
|
3049
|
+
}, z.core.$strip>>;
|
|
3050
|
+
}, z.core.$strip>], "kind">>;
|
|
3051
|
+
afterReasoningChars: z.ZodOptional<z.ZodNumber>;
|
|
2595
3052
|
}, z.core.$strip>;
|
|
2596
3053
|
type ChatMessageToolCall = z.infer<typeof ChatMessageToolCallSchema>;
|
|
3054
|
+
/**
|
|
3055
|
+
* Provenance for a chat thread whose interaction loop is owned by another
|
|
3056
|
+
* application. Gezel mirrors these threads for visibility, history, and
|
|
3057
|
+
* memory extraction, but must never accept composer sends into them.
|
|
3058
|
+
*/
|
|
3059
|
+
declare const ChatSessionSourceSchema: z.ZodObject<{
|
|
3060
|
+
kind: z.ZodLiteral<"external">;
|
|
3061
|
+
appId: z.ZodString;
|
|
3062
|
+
appName: z.ZodString;
|
|
3063
|
+
externalConversationId: z.ZodString;
|
|
3064
|
+
readOnly: z.ZodLiteral<true>;
|
|
3065
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
3066
|
+
projectHint: z.ZodOptional<z.ZodString>;
|
|
3067
|
+
}, z.core.$strip>;
|
|
3068
|
+
type ChatSessionSource = z.infer<typeof ChatSessionSourceSchema>;
|
|
3069
|
+
/**
|
|
3070
|
+
* Which store a referenced file lives in. Documents are deliberately not a
|
|
3071
|
+
* third kind: the shared library is a project (ADR 0006), so its files
|
|
3072
|
+
* arrive as that project's `workspace`.
|
|
3073
|
+
*/
|
|
3074
|
+
declare const ReferencedFileKindSchema: z.ZodEnum<{
|
|
3075
|
+
artifact: "artifact";
|
|
3076
|
+
workspace: "workspace";
|
|
3077
|
+
}>;
|
|
3078
|
+
type ReferencedFileKind = z.infer<typeof ReferencedFileKindSchema>;
|
|
3079
|
+
/**
|
|
3080
|
+
* One real file an assistant reply named in its body text. `path` is
|
|
3081
|
+
* relative to the store named by `kind` — the project's `artifacts/`
|
|
3082
|
+
* drawer or its workspace root — and is always the canonical on-disk
|
|
3083
|
+
* spelling, never the model's. Any `:line` / `#Lnn` locator the model
|
|
3084
|
+
* wrote is stripped before matching; the inline link keeps it as label
|
|
3085
|
+
* text, but nothing downstream resolves a path with one attached.
|
|
3086
|
+
*/
|
|
3087
|
+
declare const ReferencedFileSchema: z.ZodObject<{
|
|
3088
|
+
kind: z.ZodEnum<{
|
|
3089
|
+
artifact: "artifact";
|
|
3090
|
+
workspace: "workspace";
|
|
3091
|
+
}>;
|
|
3092
|
+
path: z.ZodString;
|
|
3093
|
+
}, z.core.$strip>;
|
|
3094
|
+
type ReferencedFile = z.infer<typeof ReferencedFileSchema>;
|
|
2597
3095
|
/**
|
|
2598
3096
|
* A single turn in an agent chat. Stored in memory while a chat session is
|
|
2599
3097
|
* active; dropped when the session ends or the daemon restarts.
|
|
@@ -2614,8 +3112,32 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2614
3112
|
gezelId: z.ZodString;
|
|
2615
3113
|
gezelName: z.ZodString;
|
|
2616
3114
|
}, z.core.$strip>>;
|
|
3115
|
+
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3116
|
+
kind: z.ZodEnum<{
|
|
3117
|
+
artifact: "artifact";
|
|
3118
|
+
workspace: "workspace";
|
|
3119
|
+
}>;
|
|
3120
|
+
path: z.ZodString;
|
|
3121
|
+
}, z.core.$strip>>>;
|
|
2617
3122
|
referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2618
3123
|
referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3124
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
3125
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
3126
|
+
source: z.ZodEnum<{
|
|
3127
|
+
workspace: "workspace";
|
|
3128
|
+
artifacts: "artifacts";
|
|
3129
|
+
"project-memory": "project-memory";
|
|
3130
|
+
"gezel-memory": "gezel-memory";
|
|
3131
|
+
shared: "shared";
|
|
3132
|
+
knowledge: "knowledge";
|
|
3133
|
+
}>;
|
|
3134
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3135
|
+
path: z.ZodOptional<z.ZodString>;
|
|
3136
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3137
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
3138
|
+
score: z.ZodNumber;
|
|
3139
|
+
}, z.core.$strip>>;
|
|
3140
|
+
}, z.core.$strip>>;
|
|
2619
3141
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2620
3142
|
name: z.ZodString;
|
|
2621
3143
|
durationMs: z.ZodNumber;
|
|
@@ -2645,6 +3167,49 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2645
3167
|
diff: z.ZodOptional<z.ZodString>;
|
|
2646
3168
|
addedLines: z.ZodOptional<z.ZodNumber>;
|
|
2647
3169
|
removedLines: z.ZodOptional<z.ZodNumber>;
|
|
3170
|
+
card: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3171
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
3172
|
+
craftbookId: z.ZodString;
|
|
3173
|
+
craftbookName: z.ZodString;
|
|
3174
|
+
taskRef: z.ZodString;
|
|
3175
|
+
projectId: z.ZodString;
|
|
3176
|
+
status: z.ZodString;
|
|
3177
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3178
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3179
|
+
id: z.ZodString;
|
|
3180
|
+
name: z.ZodString;
|
|
3181
|
+
status: z.ZodEnum<{
|
|
3182
|
+
pending: "pending";
|
|
3183
|
+
done: "done";
|
|
3184
|
+
active: "active";
|
|
3185
|
+
}>;
|
|
3186
|
+
}, z.core.$strip>>;
|
|
3187
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
3188
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
3189
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3190
|
+
}, z.core.$strip>>;
|
|
3191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3192
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
3193
|
+
craftbookId: z.ZodString;
|
|
3194
|
+
craftbookName: z.ZodString;
|
|
3195
|
+
taskRef: z.ZodString;
|
|
3196
|
+
projectId: z.ZodString;
|
|
3197
|
+
status: z.ZodString;
|
|
3198
|
+
completedStepId: z.ZodString;
|
|
3199
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
3200
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3201
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
3202
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3203
|
+
id: z.ZodString;
|
|
3204
|
+
name: z.ZodString;
|
|
3205
|
+
status: z.ZodEnum<{
|
|
3206
|
+
pending: "pending";
|
|
3207
|
+
done: "done";
|
|
3208
|
+
active: "active";
|
|
3209
|
+
}>;
|
|
3210
|
+
}, z.core.$strip>>;
|
|
3211
|
+
}, z.core.$strip>], "kind">>;
|
|
3212
|
+
afterReasoningChars: z.ZodOptional<z.ZodNumber>;
|
|
2648
3213
|
}, z.core.$strip>>>;
|
|
2649
3214
|
intents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2650
3215
|
label: z.ZodString;
|
|
@@ -2660,6 +3225,9 @@ declare const ChatMessageSchema: z.ZodObject<{
|
|
|
2660
3225
|
}>>;
|
|
2661
3226
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2662
3227
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3228
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3229
|
+
system: "system";
|
|
3230
|
+
}>>;
|
|
2663
3231
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2664
3232
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
2665
3233
|
reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2743,8 +3311,32 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2743
3311
|
gezelId: z.ZodString;
|
|
2744
3312
|
gezelName: z.ZodString;
|
|
2745
3313
|
}, z.core.$strip>>;
|
|
3314
|
+
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3315
|
+
kind: z.ZodEnum<{
|
|
3316
|
+
artifact: "artifact";
|
|
3317
|
+
workspace: "workspace";
|
|
3318
|
+
}>;
|
|
3319
|
+
path: z.ZodString;
|
|
3320
|
+
}, z.core.$strip>>>;
|
|
2746
3321
|
referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2747
3322
|
referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3323
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
3324
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
3325
|
+
source: z.ZodEnum<{
|
|
3326
|
+
workspace: "workspace";
|
|
3327
|
+
artifacts: "artifacts";
|
|
3328
|
+
"project-memory": "project-memory";
|
|
3329
|
+
"gezel-memory": "gezel-memory";
|
|
3330
|
+
shared: "shared";
|
|
3331
|
+
knowledge: "knowledge";
|
|
3332
|
+
}>;
|
|
3333
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3334
|
+
path: z.ZodOptional<z.ZodString>;
|
|
3335
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3336
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
3337
|
+
score: z.ZodNumber;
|
|
3338
|
+
}, z.core.$strip>>;
|
|
3339
|
+
}, z.core.$strip>>;
|
|
2748
3340
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2749
3341
|
name: z.ZodString;
|
|
2750
3342
|
durationMs: z.ZodNumber;
|
|
@@ -2774,6 +3366,49 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2774
3366
|
diff: z.ZodOptional<z.ZodString>;
|
|
2775
3367
|
addedLines: z.ZodOptional<z.ZodNumber>;
|
|
2776
3368
|
removedLines: z.ZodOptional<z.ZodNumber>;
|
|
3369
|
+
card: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3370
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
3371
|
+
craftbookId: z.ZodString;
|
|
3372
|
+
craftbookName: z.ZodString;
|
|
3373
|
+
taskRef: z.ZodString;
|
|
3374
|
+
projectId: z.ZodString;
|
|
3375
|
+
status: z.ZodString;
|
|
3376
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3377
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3378
|
+
id: z.ZodString;
|
|
3379
|
+
name: z.ZodString;
|
|
3380
|
+
status: z.ZodEnum<{
|
|
3381
|
+
pending: "pending";
|
|
3382
|
+
done: "done";
|
|
3383
|
+
active: "active";
|
|
3384
|
+
}>;
|
|
3385
|
+
}, z.core.$strip>>;
|
|
3386
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
3387
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
3388
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3389
|
+
}, z.core.$strip>>;
|
|
3390
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3391
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
3392
|
+
craftbookId: z.ZodString;
|
|
3393
|
+
craftbookName: z.ZodString;
|
|
3394
|
+
taskRef: z.ZodString;
|
|
3395
|
+
projectId: z.ZodString;
|
|
3396
|
+
status: z.ZodString;
|
|
3397
|
+
completedStepId: z.ZodString;
|
|
3398
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
3399
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3400
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
3401
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3402
|
+
id: z.ZodString;
|
|
3403
|
+
name: z.ZodString;
|
|
3404
|
+
status: z.ZodEnum<{
|
|
3405
|
+
pending: "pending";
|
|
3406
|
+
done: "done";
|
|
3407
|
+
active: "active";
|
|
3408
|
+
}>;
|
|
3409
|
+
}, z.core.$strip>>;
|
|
3410
|
+
}, z.core.$strip>], "kind">>;
|
|
3411
|
+
afterReasoningChars: z.ZodOptional<z.ZodNumber>;
|
|
2777
3412
|
}, z.core.$strip>>>;
|
|
2778
3413
|
intents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2779
3414
|
label: z.ZodString;
|
|
@@ -2789,6 +3424,9 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2789
3424
|
}>>;
|
|
2790
3425
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2791
3426
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3427
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3428
|
+
system: "system";
|
|
3429
|
+
}>>;
|
|
2792
3430
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2793
3431
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
2794
3432
|
reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2832,8 +3470,32 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2832
3470
|
gezelId: z.ZodString;
|
|
2833
3471
|
gezelName: z.ZodString;
|
|
2834
3472
|
}, z.core.$strip>>;
|
|
3473
|
+
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3474
|
+
kind: z.ZodEnum<{
|
|
3475
|
+
artifact: "artifact";
|
|
3476
|
+
workspace: "workspace";
|
|
3477
|
+
}>;
|
|
3478
|
+
path: z.ZodString;
|
|
3479
|
+
}, z.core.$strip>>>;
|
|
2835
3480
|
referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2836
3481
|
referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3482
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
3483
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
3484
|
+
source: z.ZodEnum<{
|
|
3485
|
+
workspace: "workspace";
|
|
3486
|
+
artifacts: "artifacts";
|
|
3487
|
+
"project-memory": "project-memory";
|
|
3488
|
+
"gezel-memory": "gezel-memory";
|
|
3489
|
+
shared: "shared";
|
|
3490
|
+
knowledge: "knowledge";
|
|
3491
|
+
}>;
|
|
3492
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
3493
|
+
path: z.ZodOptional<z.ZodString>;
|
|
3494
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
3495
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
3496
|
+
score: z.ZodNumber;
|
|
3497
|
+
}, z.core.$strip>>;
|
|
3498
|
+
}, z.core.$strip>>;
|
|
2837
3499
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2838
3500
|
name: z.ZodString;
|
|
2839
3501
|
durationMs: z.ZodNumber;
|
|
@@ -2863,6 +3525,49 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2863
3525
|
diff: z.ZodOptional<z.ZodString>;
|
|
2864
3526
|
addedLines: z.ZodOptional<z.ZodNumber>;
|
|
2865
3527
|
removedLines: z.ZodOptional<z.ZodNumber>;
|
|
3528
|
+
card: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3529
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
3530
|
+
craftbookId: z.ZodString;
|
|
3531
|
+
craftbookName: z.ZodString;
|
|
3532
|
+
taskRef: z.ZodString;
|
|
3533
|
+
projectId: z.ZodString;
|
|
3534
|
+
status: z.ZodString;
|
|
3535
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3536
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3537
|
+
id: z.ZodString;
|
|
3538
|
+
name: z.ZodString;
|
|
3539
|
+
status: z.ZodEnum<{
|
|
3540
|
+
pending: "pending";
|
|
3541
|
+
done: "done";
|
|
3542
|
+
active: "active";
|
|
3543
|
+
}>;
|
|
3544
|
+
}, z.core.$strip>>;
|
|
3545
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
3546
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
3547
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3548
|
+
}, z.core.$strip>>;
|
|
3549
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3550
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
3551
|
+
craftbookId: z.ZodString;
|
|
3552
|
+
craftbookName: z.ZodString;
|
|
3553
|
+
taskRef: z.ZodString;
|
|
3554
|
+
projectId: z.ZodString;
|
|
3555
|
+
status: z.ZodString;
|
|
3556
|
+
completedStepId: z.ZodString;
|
|
3557
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
3558
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3559
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
3560
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3561
|
+
id: z.ZodString;
|
|
3562
|
+
name: z.ZodString;
|
|
3563
|
+
status: z.ZodEnum<{
|
|
3564
|
+
pending: "pending";
|
|
3565
|
+
done: "done";
|
|
3566
|
+
active: "active";
|
|
3567
|
+
}>;
|
|
3568
|
+
}, z.core.$strip>>;
|
|
3569
|
+
}, z.core.$strip>], "kind">>;
|
|
3570
|
+
afterReasoningChars: z.ZodOptional<z.ZodNumber>;
|
|
2866
3571
|
}, z.core.$strip>>>;
|
|
2867
3572
|
intents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2868
3573
|
label: z.ZodString;
|
|
@@ -2878,6 +3583,9 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2878
3583
|
}>>;
|
|
2879
3584
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2880
3585
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
3586
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
3587
|
+
system: "system";
|
|
3588
|
+
}>>;
|
|
2881
3589
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2882
3590
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
2883
3591
|
reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2935,6 +3643,48 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2935
3643
|
diff: z.ZodOptional<z.ZodString>;
|
|
2936
3644
|
addedLines: z.ZodOptional<z.ZodNumber>;
|
|
2937
3645
|
removedLines: z.ZodOptional<z.ZodNumber>;
|
|
3646
|
+
card: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3647
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
3648
|
+
craftbookId: z.ZodString;
|
|
3649
|
+
craftbookName: z.ZodString;
|
|
3650
|
+
taskRef: z.ZodString;
|
|
3651
|
+
projectId: z.ZodString;
|
|
3652
|
+
status: z.ZodString;
|
|
3653
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3654
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3655
|
+
id: z.ZodString;
|
|
3656
|
+
name: z.ZodString;
|
|
3657
|
+
status: z.ZodEnum<{
|
|
3658
|
+
pending: "pending";
|
|
3659
|
+
done: "done";
|
|
3660
|
+
active: "active";
|
|
3661
|
+
}>;
|
|
3662
|
+
}, z.core.$strip>>;
|
|
3663
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
3664
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
3665
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
3666
|
+
}, z.core.$strip>>;
|
|
3667
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3668
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
3669
|
+
craftbookId: z.ZodString;
|
|
3670
|
+
craftbookName: z.ZodString;
|
|
3671
|
+
taskRef: z.ZodString;
|
|
3672
|
+
projectId: z.ZodString;
|
|
3673
|
+
status: z.ZodString;
|
|
3674
|
+
completedStepId: z.ZodString;
|
|
3675
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
3676
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
3677
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
3678
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
3679
|
+
id: z.ZodString;
|
|
3680
|
+
name: z.ZodString;
|
|
3681
|
+
status: z.ZodEnum<{
|
|
3682
|
+
pending: "pending";
|
|
3683
|
+
done: "done";
|
|
3684
|
+
active: "active";
|
|
3685
|
+
}>;
|
|
3686
|
+
}, z.core.$strip>>;
|
|
3687
|
+
}, z.core.$strip>], "kind">>;
|
|
2938
3688
|
}, z.core.$strip>, z.ZodObject<{
|
|
2939
3689
|
type: z.ZodLiteral<"error">;
|
|
2940
3690
|
error: z.ZodString;
|
|
@@ -3051,6 +3801,15 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3051
3801
|
kind: z.ZodLiteral<"tool-permission">;
|
|
3052
3802
|
toolName: z.ZodString;
|
|
3053
3803
|
toolInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3804
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3805
|
+
kind: z.ZodLiteral<"claude-user-question">;
|
|
3806
|
+
header: z.ZodOptional<z.ZodString>;
|
|
3807
|
+
options: z.ZodArray<z.ZodObject<{
|
|
3808
|
+
label: z.ZodString;
|
|
3809
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3810
|
+
}, z.core.$strip>>;
|
|
3811
|
+
questionIndex: z.ZodNumber;
|
|
3812
|
+
questionCount: z.ZodNumber;
|
|
3054
3813
|
}, z.core.$strip>, z.ZodObject<{
|
|
3055
3814
|
kind: z.ZodLiteral<"toolset-install-approval">;
|
|
3056
3815
|
toolsetId: z.ZodString;
|
|
@@ -3161,6 +3920,15 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3161
3920
|
kind: z.ZodLiteral<"tool-permission">;
|
|
3162
3921
|
toolName: z.ZodString;
|
|
3163
3922
|
toolInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3923
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3924
|
+
kind: z.ZodLiteral<"claude-user-question">;
|
|
3925
|
+
header: z.ZodOptional<z.ZodString>;
|
|
3926
|
+
options: z.ZodArray<z.ZodObject<{
|
|
3927
|
+
label: z.ZodString;
|
|
3928
|
+
description: z.ZodOptional<z.ZodString>;
|
|
3929
|
+
}, z.core.$strip>>;
|
|
3930
|
+
questionIndex: z.ZodNumber;
|
|
3931
|
+
questionCount: z.ZodNumber;
|
|
3164
3932
|
}, z.core.$strip>, z.ZodObject<{
|
|
3165
3933
|
kind: z.ZodLiteral<"toolset-install-approval">;
|
|
3166
3934
|
toolsetId: z.ZodString;
|
|
@@ -3262,9 +4030,12 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3262
4030
|
generating: "generating";
|
|
3263
4031
|
ready: "ready";
|
|
3264
4032
|
}>;
|
|
4033
|
+
activity: z.ZodOptional<z.ZodString>;
|
|
3265
4034
|
detail: z.ZodOptional<z.ZodString>;
|
|
3266
4035
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
3267
4036
|
ttftMs: z.ZodOptional<z.ZodNumber>;
|
|
4037
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
4038
|
+
tokensPerSec: z.ZodOptional<z.ZodNumber>;
|
|
3268
4039
|
}, z.core.$strip>, z.ZodObject<{
|
|
3269
4040
|
type: z.ZodLiteral<"turn_stats">;
|
|
3270
4041
|
provider: z.ZodEnum<{
|
|
@@ -3273,6 +4044,7 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3273
4044
|
ollama: "ollama";
|
|
3274
4045
|
ds4: "ds4";
|
|
3275
4046
|
}>;
|
|
4047
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3276
4048
|
promptTokens: z.ZodNumber;
|
|
3277
4049
|
completionTokens: z.ZodNumber;
|
|
3278
4050
|
durationMs: z.ZodNumber;
|
|
@@ -3337,6 +4109,15 @@ declare const ChatEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3337
4109
|
ended: "ended";
|
|
3338
4110
|
}>;
|
|
3339
4111
|
generatedAt: z.ZodOptional<z.ZodString>;
|
|
4112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4113
|
+
type: z.ZodLiteral<"ambient_dashboard">;
|
|
4114
|
+
state: z.ZodEnum<{
|
|
4115
|
+
failed: "failed";
|
|
4116
|
+
started: "started";
|
|
4117
|
+
ended: "ended";
|
|
4118
|
+
}>;
|
|
4119
|
+
generatedAt: z.ZodOptional<z.ZodString>;
|
|
4120
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
3340
4121
|
}, z.core.$strip>, z.ZodObject<{
|
|
3341
4122
|
type: z.ZodLiteral<"index_progress">;
|
|
3342
4123
|
phase: z.ZodEnum<{
|
|
@@ -3368,6 +4149,29 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3368
4149
|
sessionId: z.ZodString;
|
|
3369
4150
|
gezelId: z.ZodString;
|
|
3370
4151
|
projectId: z.ZodString;
|
|
4152
|
+
parentSession: z.ZodOptional<z.ZodObject<{
|
|
4153
|
+
sessionId: z.ZodString;
|
|
4154
|
+
gezelId: z.ZodString;
|
|
4155
|
+
kind: z.ZodEnum<{
|
|
4156
|
+
delegation: "delegation";
|
|
4157
|
+
consultation: "consultation";
|
|
4158
|
+
"task-entry": "task-entry";
|
|
4159
|
+
"task-handoff": "task-handoff";
|
|
4160
|
+
}>;
|
|
4161
|
+
}, z.core.$strip>>;
|
|
4162
|
+
handoffFrom: z.ZodOptional<z.ZodObject<{
|
|
4163
|
+
sessionId: z.ZodString;
|
|
4164
|
+
gezelId: z.ZodString;
|
|
4165
|
+
}, z.core.$strip>>;
|
|
4166
|
+
sessionSource: z.ZodOptional<z.ZodObject<{
|
|
4167
|
+
kind: z.ZodLiteral<"external">;
|
|
4168
|
+
appId: z.ZodString;
|
|
4169
|
+
appName: z.ZodString;
|
|
4170
|
+
externalConversationId: z.ZodString;
|
|
4171
|
+
readOnly: z.ZodLiteral<true>;
|
|
4172
|
+
workingDirectory: z.ZodOptional<z.ZodString>;
|
|
4173
|
+
projectHint: z.ZodOptional<z.ZodString>;
|
|
4174
|
+
}, z.core.$strip>>;
|
|
3371
4175
|
event: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3372
4176
|
type: z.ZodLiteral<"delta">;
|
|
3373
4177
|
content: z.ZodString;
|
|
@@ -3387,8 +4191,32 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3387
4191
|
gezelId: z.ZodString;
|
|
3388
4192
|
gezelName: z.ZodString;
|
|
3389
4193
|
}, z.core.$strip>>;
|
|
4194
|
+
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4195
|
+
kind: z.ZodEnum<{
|
|
4196
|
+
artifact: "artifact";
|
|
4197
|
+
workspace: "workspace";
|
|
4198
|
+
}>;
|
|
4199
|
+
path: z.ZodString;
|
|
4200
|
+
}, z.core.$strip>>>;
|
|
3390
4201
|
referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3391
4202
|
referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4203
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
4204
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
4205
|
+
source: z.ZodEnum<{
|
|
4206
|
+
workspace: "workspace";
|
|
4207
|
+
artifacts: "artifacts";
|
|
4208
|
+
"project-memory": "project-memory";
|
|
4209
|
+
"gezel-memory": "gezel-memory";
|
|
4210
|
+
shared: "shared";
|
|
4211
|
+
knowledge: "knowledge";
|
|
4212
|
+
}>;
|
|
4213
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4214
|
+
path: z.ZodOptional<z.ZodString>;
|
|
4215
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
4216
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
4217
|
+
score: z.ZodNumber;
|
|
4218
|
+
}, z.core.$strip>>;
|
|
4219
|
+
}, z.core.$strip>>;
|
|
3392
4220
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3393
4221
|
name: z.ZodString;
|
|
3394
4222
|
durationMs: z.ZodNumber;
|
|
@@ -3418,6 +4246,49 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3418
4246
|
diff: z.ZodOptional<z.ZodString>;
|
|
3419
4247
|
addedLines: z.ZodOptional<z.ZodNumber>;
|
|
3420
4248
|
removedLines: z.ZodOptional<z.ZodNumber>;
|
|
4249
|
+
card: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4250
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
4251
|
+
craftbookId: z.ZodString;
|
|
4252
|
+
craftbookName: z.ZodString;
|
|
4253
|
+
taskRef: z.ZodString;
|
|
4254
|
+
projectId: z.ZodString;
|
|
4255
|
+
status: z.ZodString;
|
|
4256
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
4257
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
4258
|
+
id: z.ZodString;
|
|
4259
|
+
name: z.ZodString;
|
|
4260
|
+
status: z.ZodEnum<{
|
|
4261
|
+
pending: "pending";
|
|
4262
|
+
done: "done";
|
|
4263
|
+
active: "active";
|
|
4264
|
+
}>;
|
|
4265
|
+
}, z.core.$strip>>;
|
|
4266
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
4267
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
4268
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4269
|
+
}, z.core.$strip>>;
|
|
4270
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4271
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
4272
|
+
craftbookId: z.ZodString;
|
|
4273
|
+
craftbookName: z.ZodString;
|
|
4274
|
+
taskRef: z.ZodString;
|
|
4275
|
+
projectId: z.ZodString;
|
|
4276
|
+
status: z.ZodString;
|
|
4277
|
+
completedStepId: z.ZodString;
|
|
4278
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
4279
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
4280
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
4281
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
4282
|
+
id: z.ZodString;
|
|
4283
|
+
name: z.ZodString;
|
|
4284
|
+
status: z.ZodEnum<{
|
|
4285
|
+
pending: "pending";
|
|
4286
|
+
done: "done";
|
|
4287
|
+
active: "active";
|
|
4288
|
+
}>;
|
|
4289
|
+
}, z.core.$strip>>;
|
|
4290
|
+
}, z.core.$strip>], "kind">>;
|
|
4291
|
+
afterReasoningChars: z.ZodOptional<z.ZodNumber>;
|
|
3421
4292
|
}, z.core.$strip>>>;
|
|
3422
4293
|
intents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3423
4294
|
label: z.ZodString;
|
|
@@ -3433,6 +4304,9 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3433
4304
|
}>>;
|
|
3434
4305
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3435
4306
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
4307
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
4308
|
+
system: "system";
|
|
4309
|
+
}>>;
|
|
3436
4310
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3437
4311
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
3438
4312
|
reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3476,8 +4350,32 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3476
4350
|
gezelId: z.ZodString;
|
|
3477
4351
|
gezelName: z.ZodString;
|
|
3478
4352
|
}, z.core.$strip>>;
|
|
4353
|
+
referencedFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4354
|
+
kind: z.ZodEnum<{
|
|
4355
|
+
artifact: "artifact";
|
|
4356
|
+
workspace: "workspace";
|
|
4357
|
+
}>;
|
|
4358
|
+
path: z.ZodString;
|
|
4359
|
+
}, z.core.$strip>>>;
|
|
3479
4360
|
referencedArtifacts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3480
4361
|
referencedTasks: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4362
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
4363
|
+
hits: z.ZodArray<z.ZodObject<{
|
|
4364
|
+
source: z.ZodEnum<{
|
|
4365
|
+
workspace: "workspace";
|
|
4366
|
+
artifacts: "artifacts";
|
|
4367
|
+
"project-memory": "project-memory";
|
|
4368
|
+
"gezel-memory": "gezel-memory";
|
|
4369
|
+
shared: "shared";
|
|
4370
|
+
knowledge: "knowledge";
|
|
4371
|
+
}>;
|
|
4372
|
+
projectId: z.ZodOptional<z.ZodString>;
|
|
4373
|
+
path: z.ZodOptional<z.ZodString>;
|
|
4374
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
4375
|
+
lineEnd: z.ZodOptional<z.ZodNumber>;
|
|
4376
|
+
score: z.ZodNumber;
|
|
4377
|
+
}, z.core.$strip>>;
|
|
4378
|
+
}, z.core.$strip>>;
|
|
3481
4379
|
toolCalls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3482
4380
|
name: z.ZodString;
|
|
3483
4381
|
durationMs: z.ZodNumber;
|
|
@@ -3507,6 +4405,49 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3507
4405
|
diff: z.ZodOptional<z.ZodString>;
|
|
3508
4406
|
addedLines: z.ZodOptional<z.ZodNumber>;
|
|
3509
4407
|
removedLines: z.ZodOptional<z.ZodNumber>;
|
|
4408
|
+
card: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4409
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
4410
|
+
craftbookId: z.ZodString;
|
|
4411
|
+
craftbookName: z.ZodString;
|
|
4412
|
+
taskRef: z.ZodString;
|
|
4413
|
+
projectId: z.ZodString;
|
|
4414
|
+
status: z.ZodString;
|
|
4415
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
4416
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
4417
|
+
id: z.ZodString;
|
|
4418
|
+
name: z.ZodString;
|
|
4419
|
+
status: z.ZodEnum<{
|
|
4420
|
+
pending: "pending";
|
|
4421
|
+
done: "done";
|
|
4422
|
+
active: "active";
|
|
4423
|
+
}>;
|
|
4424
|
+
}, z.core.$strip>>;
|
|
4425
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
4426
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
4427
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4428
|
+
}, z.core.$strip>>;
|
|
4429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4430
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
4431
|
+
craftbookId: z.ZodString;
|
|
4432
|
+
craftbookName: z.ZodString;
|
|
4433
|
+
taskRef: z.ZodString;
|
|
4434
|
+
projectId: z.ZodString;
|
|
4435
|
+
status: z.ZodString;
|
|
4436
|
+
completedStepId: z.ZodString;
|
|
4437
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
4438
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
4439
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
4440
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
4441
|
+
id: z.ZodString;
|
|
4442
|
+
name: z.ZodString;
|
|
4443
|
+
status: z.ZodEnum<{
|
|
4444
|
+
pending: "pending";
|
|
4445
|
+
done: "done";
|
|
4446
|
+
active: "active";
|
|
4447
|
+
}>;
|
|
4448
|
+
}, z.core.$strip>>;
|
|
4449
|
+
}, z.core.$strip>], "kind">>;
|
|
4450
|
+
afterReasoningChars: z.ZodOptional<z.ZodNumber>;
|
|
3510
4451
|
}, z.core.$strip>>>;
|
|
3511
4452
|
intents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3512
4453
|
label: z.ZodString;
|
|
@@ -3522,6 +4463,9 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3522
4463
|
}>>;
|
|
3523
4464
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3524
4465
|
nudge: z.ZodOptional<z.ZodBoolean>;
|
|
4466
|
+
origin: z.ZodOptional<z.ZodEnum<{
|
|
4467
|
+
system: "system";
|
|
4468
|
+
}>>;
|
|
3525
4469
|
warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3526
4470
|
reasoning: z.ZodOptional<z.ZodString>;
|
|
3527
4471
|
reasoningDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3579,6 +4523,48 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3579
4523
|
diff: z.ZodOptional<z.ZodString>;
|
|
3580
4524
|
addedLines: z.ZodOptional<z.ZodNumber>;
|
|
3581
4525
|
removedLines: z.ZodOptional<z.ZodNumber>;
|
|
4526
|
+
card: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4527
|
+
kind: z.ZodLiteral<"craftbook-start">;
|
|
4528
|
+
craftbookId: z.ZodString;
|
|
4529
|
+
craftbookName: z.ZodString;
|
|
4530
|
+
taskRef: z.ZodString;
|
|
4531
|
+
projectId: z.ZodString;
|
|
4532
|
+
status: z.ZodString;
|
|
4533
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
4534
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
4535
|
+
id: z.ZodString;
|
|
4536
|
+
name: z.ZodString;
|
|
4537
|
+
status: z.ZodEnum<{
|
|
4538
|
+
pending: "pending";
|
|
4539
|
+
done: "done";
|
|
4540
|
+
active: "active";
|
|
4541
|
+
}>;
|
|
4542
|
+
}, z.core.$strip>>;
|
|
4543
|
+
reused: z.ZodOptional<z.ZodBoolean>;
|
|
4544
|
+
recommendsExternalServices: z.ZodOptional<z.ZodObject<{
|
|
4545
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4546
|
+
}, z.core.$strip>>;
|
|
4547
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4548
|
+
kind: z.ZodLiteral<"task-step-advance">;
|
|
4549
|
+
craftbookId: z.ZodString;
|
|
4550
|
+
craftbookName: z.ZodString;
|
|
4551
|
+
taskRef: z.ZodString;
|
|
4552
|
+
projectId: z.ZodString;
|
|
4553
|
+
status: z.ZodString;
|
|
4554
|
+
completedStepId: z.ZodString;
|
|
4555
|
+
completedStepName: z.ZodOptional<z.ZodString>;
|
|
4556
|
+
activeStepId: z.ZodOptional<z.ZodString>;
|
|
4557
|
+
activeStepName: z.ZodOptional<z.ZodString>;
|
|
4558
|
+
steps: z.ZodArray<z.ZodObject<{
|
|
4559
|
+
id: z.ZodString;
|
|
4560
|
+
name: z.ZodString;
|
|
4561
|
+
status: z.ZodEnum<{
|
|
4562
|
+
pending: "pending";
|
|
4563
|
+
done: "done";
|
|
4564
|
+
active: "active";
|
|
4565
|
+
}>;
|
|
4566
|
+
}, z.core.$strip>>;
|
|
4567
|
+
}, z.core.$strip>], "kind">>;
|
|
3582
4568
|
}, z.core.$strip>, z.ZodObject<{
|
|
3583
4569
|
type: z.ZodLiteral<"error">;
|
|
3584
4570
|
error: z.ZodString;
|
|
@@ -3695,6 +4681,15 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3695
4681
|
kind: z.ZodLiteral<"tool-permission">;
|
|
3696
4682
|
toolName: z.ZodString;
|
|
3697
4683
|
toolInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4684
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4685
|
+
kind: z.ZodLiteral<"claude-user-question">;
|
|
4686
|
+
header: z.ZodOptional<z.ZodString>;
|
|
4687
|
+
options: z.ZodArray<z.ZodObject<{
|
|
4688
|
+
label: z.ZodString;
|
|
4689
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4690
|
+
}, z.core.$strip>>;
|
|
4691
|
+
questionIndex: z.ZodNumber;
|
|
4692
|
+
questionCount: z.ZodNumber;
|
|
3698
4693
|
}, z.core.$strip>, z.ZodObject<{
|
|
3699
4694
|
kind: z.ZodLiteral<"toolset-install-approval">;
|
|
3700
4695
|
toolsetId: z.ZodString;
|
|
@@ -3805,6 +4800,15 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3805
4800
|
kind: z.ZodLiteral<"tool-permission">;
|
|
3806
4801
|
toolName: z.ZodString;
|
|
3807
4802
|
toolInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
4803
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4804
|
+
kind: z.ZodLiteral<"claude-user-question">;
|
|
4805
|
+
header: z.ZodOptional<z.ZodString>;
|
|
4806
|
+
options: z.ZodArray<z.ZodObject<{
|
|
4807
|
+
label: z.ZodString;
|
|
4808
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4809
|
+
}, z.core.$strip>>;
|
|
4810
|
+
questionIndex: z.ZodNumber;
|
|
4811
|
+
questionCount: z.ZodNumber;
|
|
3808
4812
|
}, z.core.$strip>, z.ZodObject<{
|
|
3809
4813
|
kind: z.ZodLiteral<"toolset-install-approval">;
|
|
3810
4814
|
toolsetId: z.ZodString;
|
|
@@ -3906,9 +4910,12 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3906
4910
|
generating: "generating";
|
|
3907
4911
|
ready: "ready";
|
|
3908
4912
|
}>;
|
|
4913
|
+
activity: z.ZodOptional<z.ZodString>;
|
|
3909
4914
|
detail: z.ZodOptional<z.ZodString>;
|
|
3910
4915
|
progress: z.ZodOptional<z.ZodNumber>;
|
|
3911
4916
|
ttftMs: z.ZodOptional<z.ZodNumber>;
|
|
4917
|
+
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
4918
|
+
tokensPerSec: z.ZodOptional<z.ZodNumber>;
|
|
3912
4919
|
}, z.core.$strip>, z.ZodObject<{
|
|
3913
4920
|
type: z.ZodLiteral<"turn_stats">;
|
|
3914
4921
|
provider: z.ZodEnum<{
|
|
@@ -3917,6 +4924,7 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3917
4924
|
ollama: "ollama";
|
|
3918
4925
|
ds4: "ds4";
|
|
3919
4926
|
}>;
|
|
4927
|
+
model: z.ZodOptional<z.ZodString>;
|
|
3920
4928
|
promptTokens: z.ZodNumber;
|
|
3921
4929
|
completionTokens: z.ZodNumber;
|
|
3922
4930
|
durationMs: z.ZodNumber;
|
|
@@ -3981,6 +4989,15 @@ declare const ChatEventEnvelopeSchema: z.ZodObject<{
|
|
|
3981
4989
|
ended: "ended";
|
|
3982
4990
|
}>;
|
|
3983
4991
|
generatedAt: z.ZodOptional<z.ZodString>;
|
|
4992
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4993
|
+
type: z.ZodLiteral<"ambient_dashboard">;
|
|
4994
|
+
state: z.ZodEnum<{
|
|
4995
|
+
failed: "failed";
|
|
4996
|
+
started: "started";
|
|
4997
|
+
ended: "ended";
|
|
4998
|
+
}>;
|
|
4999
|
+
generatedAt: z.ZodOptional<z.ZodString>;
|
|
5000
|
+
filename: z.ZodOptional<z.ZodString>;
|
|
3984
5001
|
}, z.core.$strip>, z.ZodObject<{
|
|
3985
5002
|
type: z.ZodLiteral<"index_progress">;
|
|
3986
5003
|
phase: z.ZodEnum<{
|
|
@@ -4334,4 +5351,4 @@ declare const DismissReportActionRequestSchema: z.ZodObject<{
|
|
|
4334
5351
|
}, z.core.$strip>;
|
|
4335
5352
|
type DismissReportActionRequest = z.infer<typeof DismissReportActionRequestSchema>;
|
|
4336
5353
|
|
|
4337
|
-
export {
|
|
5354
|
+
export { ReferencedFileSchema as $, type ApplyEditsAction as A, FireReportActionResponseSchema as B, type ChatTurnErrorDetail as C, type DismissReportActionRequest as D, type FixedFunctionConfig as E, type FireCraftbookAction as F, type GezelSummary as G, FixedFunctionConfigSchema as H, type GezelDetail as I, GezelDetailSchema as J, type GezelFrontmatter as K, GezelFrontmatterSchema as L, GezelGenderSchema as M, type GezelSection as N, GezelSectionSchema as O, type ProviderName as P, GezelSummarySchema as Q, type GezelTrait as R, GezelTraitSchema as S, LOCAL_PROVIDER_NAMES as T, type ParsedGezel as U, ParsedGezelSchema as V, type ParsedReportAction as W, ProviderNameSchema as X, type ReferencedFile as Y, type ReferencedFileKind as Z, ReferencedFileKindSchema as _, type GezelGender as a, type ReportAction as a0, type ReportActionKind as a1, ReportActionKindSchema as a2, type ReportActionParseIssue as a3, ReportActionParseIssueSchema as a4, type ReportActionRecord as a5, ReportActionRecordSchema as a6, ReportActionSchema as a7, type ReportActionState as a8, ReportActionStateSchema as a9, type ReportActionView as aa, ReportActionViewSchema as ab, type ReportActionsResponse as ac, ReportActionsResponseSchema as ad, type TaskStepAdvanceCard as ae, TaskStepAdvanceCardSchema as af, type ToolCallAudio as ag, ToolCallAudioSchema as ah, type ToolCallCard as ai, ToolCallCardSchema as aj, type ToolCallImage as ak, ToolCallImageSchema as al, type ToolCallVideo as am, ToolCallVideoSchema as an, type ToolCardStep as ao, ToolCardStepSchema as ap, craftbookDocFormatFromEnv as aq, editDistance as ar, formatCraftbookDocErrors as as, isLocalProvider as at, nearestMatch as au, sniffCraftbookDocFormat as av, zodIssuesToDocErrors as aw, 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 CraftbookStartCard as r, CraftbookStartCardSchema as s, type CreateTaskAction as t, CreateTaskActionSchema as u, DismissReportActionRequestSchema as v, FireCraftbookActionSchema as w, type FireReportActionRequest as x, FireReportActionRequestSchema as y, type FireReportActionResponse as z };
|