kiokuko-dsh 0.1.48 → 0.1.49
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/deep-thinker/acceptance.d.ts +4 -0
- package/dist/deep-thinker/acceptance.d.ts.map +1 -0
- package/dist/deep-thinker/acceptance.js +33 -0
- package/dist/deep-thinker/acceptance.js.map +1 -0
- package/dist/deep-thinker/configuration.d.ts.map +1 -1
- package/dist/deep-thinker/configuration.js +24 -3
- package/dist/deep-thinker/configuration.js.map +1 -1
- package/dist/deep-thinker/controller.d.ts.map +1 -1
- package/dist/deep-thinker/controller.js +16 -2
- package/dist/deep-thinker/controller.js.map +1 -1
- package/dist/deep-thinker/core/contracts.d.ts +773 -5
- package/dist/deep-thinker/core/contracts.d.ts.map +1 -1
- package/dist/deep-thinker/core/contracts.js +41 -4
- package/dist/deep-thinker/core/contracts.js.map +1 -1
- package/dist/deep-thinker/core/graph.d.ts +1 -0
- package/dist/deep-thinker/core/graph.d.ts.map +1 -1
- package/dist/deep-thinker/core/graph.js +17 -1
- package/dist/deep-thinker/core/graph.js.map +1 -1
- package/dist/deep-thinker/core/quality.d.ts +18 -0
- package/dist/deep-thinker/core/quality.d.ts.map +1 -0
- package/dist/deep-thinker/core/quality.js +173 -0
- package/dist/deep-thinker/core/quality.js.map +1 -0
- package/dist/deep-thinker/evidence.d.ts +7 -2
- package/dist/deep-thinker/evidence.d.ts.map +1 -1
- package/dist/deep-thinker/evidence.js +9 -1
- package/dist/deep-thinker/evidence.js.map +1 -1
- package/dist/deep-thinker/initial-state.d.ts.map +1 -1
- package/dist/deep-thinker/initial-state.js +3 -2
- package/dist/deep-thinker/initial-state.js.map +1 -1
- package/dist/deep-thinker/memory-finalizer.d.ts +284 -3
- package/dist/deep-thinker/memory-finalizer.d.ts.map +1 -1
- package/dist/deep-thinker/memory-finalizer.js +4 -3
- package/dist/deep-thinker/memory-finalizer.js.map +1 -1
- package/dist/deep-thinker/native-executor.js +2 -2
- package/dist/deep-thinker/native-executor.js.map +1 -1
- package/dist/deep-thinker/prompts.d.ts +88 -2
- package/dist/deep-thinker/prompts.d.ts.map +1 -1
- package/dist/deep-thinker/prompts.js +5 -2
- package/dist/deep-thinker/prompts.js.map +1 -1
- package/dist/deep-thinker/quality-prompts.d.ts +118 -0
- package/dist/deep-thinker/quality-prompts.d.ts.map +1 -0
- package/dist/deep-thinker/quality-prompts.js +65 -0
- package/dist/deep-thinker/quality-prompts.js.map +1 -0
- package/dist/deep-thinker/quality-report.d.ts +4 -0
- package/dist/deep-thinker/quality-report.d.ts.map +1 -0
- package/dist/deep-thinker/quality-report.js +28 -0
- package/dist/deep-thinker/quality-report.js.map +1 -0
- package/dist/deep-thinker/read-port.js +1 -1
- package/dist/deep-thinker/read-port.js.map +1 -1
- package/dist/deep-thinker/report.d.ts +145 -1
- package/dist/deep-thinker/report.d.ts.map +1 -1
- package/dist/deep-thinker/report.js +5 -2
- package/dist/deep-thinker/report.js.map +1 -1
- package/dist/deep-thinker/scheduler.d.ts.map +1 -1
- package/dist/deep-thinker/scheduler.js +35 -19
- package/dist/deep-thinker/scheduler.js.map +1 -1
- package/dist/deep-thinker/store.d.ts +9 -0
- package/dist/deep-thinker/store.d.ts.map +1 -1
- package/dist/dsh/execution-selection.d.ts +9 -0
- package/dist/dsh/execution-selection.d.ts.map +1 -1
- package/dist/enno-oduno/schemas.d.ts +1 -1
- package/dist/model-tools/contracts.d.ts +1 -1
- package/migrations/017_dsh_deep_quality.sql +2 -0
- package/package.json +1 -1
|
@@ -68,6 +68,15 @@ export declare const DeepConfigurationSchema: z.ZodObject<{
|
|
|
68
68
|
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
69
69
|
}, z.core.$strict>;
|
|
70
70
|
}, z.core.$strict>;
|
|
71
|
+
reasoningMode: z.ZodOptional<z.ZodEnum<{
|
|
72
|
+
standard: "standard";
|
|
73
|
+
quality: "quality";
|
|
74
|
+
}>>;
|
|
75
|
+
alternativeSolver: z.ZodOptional<z.ZodObject<{
|
|
76
|
+
provider: z.ZodString;
|
|
77
|
+
model: z.ZodString;
|
|
78
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, z.core.$strict>>;
|
|
71
80
|
budget: z.ZodPrefault<z.ZodObject<{
|
|
72
81
|
maxConcurrentAgents: z.ZodDefault<z.ZodNumber>;
|
|
73
82
|
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
@@ -264,6 +273,314 @@ export declare const ReplySchemas: {
|
|
|
264
273
|
unresolved: z.ZodArray<z.ZodString>;
|
|
265
274
|
}, z.core.$strict>;
|
|
266
275
|
};
|
|
276
|
+
export declare const QualityCheckSchema: z.ZodObject<{
|
|
277
|
+
id: z.ZodString;
|
|
278
|
+
key: z.ZodString;
|
|
279
|
+
requirementId: z.ZodString;
|
|
280
|
+
text: z.ZodString;
|
|
281
|
+
evidenceNeeded: z.ZodString;
|
|
282
|
+
}, z.core.$strict>;
|
|
283
|
+
export declare const QualityPlanSchema: z.ZodObject<{
|
|
284
|
+
kind: z.ZodLiteral<"quality-plan">;
|
|
285
|
+
decision: z.ZodEnum<{
|
|
286
|
+
blocked: "blocked";
|
|
287
|
+
leaf: "leaf";
|
|
288
|
+
decompose: "decompose";
|
|
289
|
+
}>;
|
|
290
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
291
|
+
text: z.ZodString;
|
|
292
|
+
key: z.ZodString;
|
|
293
|
+
requirementId: z.ZodString;
|
|
294
|
+
evidenceNeeded: z.ZodString;
|
|
295
|
+
}, z.core.$strict>>;
|
|
296
|
+
children: z.ZodArray<z.ZodObject<{
|
|
297
|
+
key: z.ZodString;
|
|
298
|
+
question: z.ZodString;
|
|
299
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
300
|
+
acceptanceCriteria: z.ZodArray<z.ZodString>;
|
|
301
|
+
assumptions: z.ZodArray<z.ZodString>;
|
|
302
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
303
|
+
checkKeys: z.ZodArray<z.ZodString>;
|
|
304
|
+
}, z.core.$strict>>;
|
|
305
|
+
reason: z.ZodString;
|
|
306
|
+
synthesis: z.ZodString;
|
|
307
|
+
}, z.core.$strict>;
|
|
308
|
+
export declare const QualityPlanReviewSchema: z.ZodObject<{
|
|
309
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
310
|
+
reason: z.ZodString;
|
|
311
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
312
|
+
artifactId: z.ZodString;
|
|
313
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
314
|
+
}, z.core.$strict>>;
|
|
315
|
+
kind: z.ZodLiteral<"quality-plan-review">;
|
|
316
|
+
verdict: z.ZodEnum<{
|
|
317
|
+
unresolved: "unresolved";
|
|
318
|
+
supported: "supported";
|
|
319
|
+
reconsider: "reconsider";
|
|
320
|
+
}>;
|
|
321
|
+
checkIds: z.ZodArray<z.ZodString>;
|
|
322
|
+
}, z.core.$strict>;
|
|
323
|
+
export declare const QualityCandidateSchema: z.ZodObject<{
|
|
324
|
+
answer: z.ZodString;
|
|
325
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
326
|
+
artifactId: z.ZodString;
|
|
327
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
328
|
+
}, z.core.$strict>>;
|
|
329
|
+
assumptions: z.ZodArray<z.ZodString>;
|
|
330
|
+
unresolved: z.ZodArray<z.ZodString>;
|
|
331
|
+
kind: z.ZodLiteral<"quality-candidate">;
|
|
332
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
333
|
+
checkId: z.ZodString;
|
|
334
|
+
conclusion: z.ZodString;
|
|
335
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
336
|
+
artifactId: z.ZodString;
|
|
337
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
338
|
+
}, z.core.$strict>>;
|
|
339
|
+
unresolved: z.ZodBoolean;
|
|
340
|
+
}, z.core.$strict>>;
|
|
341
|
+
}, z.core.$strict>;
|
|
342
|
+
export declare const QualityIssueSchema: z.ZodObject<{
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
checkId: z.ZodString;
|
|
345
|
+
text: z.ZodString;
|
|
346
|
+
}, z.core.$strict>;
|
|
347
|
+
export declare const QualityReviewSchema: z.ZodObject<{
|
|
348
|
+
kind: z.ZodLiteral<"quality-review">;
|
|
349
|
+
action: z.ZodEnum<{
|
|
350
|
+
unresolved: "unresolved";
|
|
351
|
+
select: "select";
|
|
352
|
+
repair: "repair";
|
|
353
|
+
synthesize: "synthesize";
|
|
354
|
+
replan: "replan";
|
|
355
|
+
}>;
|
|
356
|
+
selectedCandidateId: z.ZodNullable<z.ZodString>;
|
|
357
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
358
|
+
reason: z.ZodString;
|
|
359
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
360
|
+
artifactId: z.ZodString;
|
|
361
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, z.core.$strict>>;
|
|
363
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
364
|
+
candidateId: z.ZodString;
|
|
365
|
+
checkId: z.ZodString;
|
|
366
|
+
verdict: z.ZodEnum<{
|
|
367
|
+
unresolved: "unresolved";
|
|
368
|
+
supported: "supported";
|
|
369
|
+
contradicted: "contradicted";
|
|
370
|
+
}>;
|
|
371
|
+
reason: z.ZodString;
|
|
372
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
373
|
+
artifactId: z.ZodString;
|
|
374
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strict>>;
|
|
376
|
+
}, z.core.$strict>>;
|
|
377
|
+
agreement: z.ZodArray<z.ZodObject<{
|
|
378
|
+
checkId: z.ZodString;
|
|
379
|
+
kind: z.ZodEnum<{
|
|
380
|
+
unknown: "unknown";
|
|
381
|
+
agreement: "agreement";
|
|
382
|
+
contradiction: "contradiction";
|
|
383
|
+
complementary: "complementary";
|
|
384
|
+
}>;
|
|
385
|
+
reason: z.ZodString;
|
|
386
|
+
}, z.core.$strict>>;
|
|
387
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
388
|
+
checkId: z.ZodString;
|
|
389
|
+
text: z.ZodString;
|
|
390
|
+
}, z.core.$strict>>;
|
|
391
|
+
resolutions: z.ZodArray<z.ZodObject<{
|
|
392
|
+
issueId: z.ZodString;
|
|
393
|
+
status: z.ZodEnum<{
|
|
394
|
+
resolved: "resolved";
|
|
395
|
+
unresolved: "unresolved";
|
|
396
|
+
}>;
|
|
397
|
+
reason: z.ZodString;
|
|
398
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
399
|
+
artifactId: z.ZodString;
|
|
400
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
401
|
+
}, z.core.$strict>>;
|
|
402
|
+
}, z.core.$strict>>;
|
|
403
|
+
}, z.core.$strict>;
|
|
404
|
+
export declare const QualityPhaseSchema: z.ZodEnum<{
|
|
405
|
+
repair: "repair";
|
|
406
|
+
synthesize: "synthesize";
|
|
407
|
+
plan: "plan";
|
|
408
|
+
"plan-review": "plan-review";
|
|
409
|
+
"draft-a": "draft-a";
|
|
410
|
+
"draft-b": "draft-b";
|
|
411
|
+
compare: "compare";
|
|
412
|
+
compose: "compose";
|
|
413
|
+
"final-review": "final-review";
|
|
414
|
+
}>;
|
|
415
|
+
export declare const QualityNodeSchema: z.ZodObject<{
|
|
416
|
+
phase: z.ZodEnum<{
|
|
417
|
+
repair: "repair";
|
|
418
|
+
synthesize: "synthesize";
|
|
419
|
+
plan: "plan";
|
|
420
|
+
"plan-review": "plan-review";
|
|
421
|
+
"draft-a": "draft-a";
|
|
422
|
+
"draft-b": "draft-b";
|
|
423
|
+
compare: "compare";
|
|
424
|
+
compose: "compose";
|
|
425
|
+
"final-review": "final-review";
|
|
426
|
+
}>;
|
|
427
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
428
|
+
id: z.ZodString;
|
|
429
|
+
key: z.ZodString;
|
|
430
|
+
requirementId: z.ZodString;
|
|
431
|
+
text: z.ZodString;
|
|
432
|
+
evidenceNeeded: z.ZodString;
|
|
433
|
+
}, z.core.$strict>>;
|
|
434
|
+
inheritedChecks: z.ZodArray<z.ZodObject<{
|
|
435
|
+
id: z.ZodString;
|
|
436
|
+
key: z.ZodString;
|
|
437
|
+
requirementId: z.ZodString;
|
|
438
|
+
text: z.ZodString;
|
|
439
|
+
evidenceNeeded: z.ZodString;
|
|
440
|
+
}, z.core.$strict>>;
|
|
441
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
442
|
+
kind: z.ZodLiteral<"quality-plan">;
|
|
443
|
+
decision: z.ZodEnum<{
|
|
444
|
+
blocked: "blocked";
|
|
445
|
+
leaf: "leaf";
|
|
446
|
+
decompose: "decompose";
|
|
447
|
+
}>;
|
|
448
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
449
|
+
text: z.ZodString;
|
|
450
|
+
key: z.ZodString;
|
|
451
|
+
requirementId: z.ZodString;
|
|
452
|
+
evidenceNeeded: z.ZodString;
|
|
453
|
+
}, z.core.$strict>>;
|
|
454
|
+
children: z.ZodArray<z.ZodObject<{
|
|
455
|
+
key: z.ZodString;
|
|
456
|
+
question: z.ZodString;
|
|
457
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
458
|
+
acceptanceCriteria: z.ZodArray<z.ZodString>;
|
|
459
|
+
assumptions: z.ZodArray<z.ZodString>;
|
|
460
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
461
|
+
checkKeys: z.ZodArray<z.ZodString>;
|
|
462
|
+
}, z.core.$strict>>;
|
|
463
|
+
reason: z.ZodString;
|
|
464
|
+
synthesis: z.ZodString;
|
|
465
|
+
}, z.core.$strict>>;
|
|
466
|
+
correctionUsed: z.ZodBoolean;
|
|
467
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
468
|
+
id: z.ZodString;
|
|
469
|
+
attemptId: z.ZodString;
|
|
470
|
+
model: z.ZodObject<{
|
|
471
|
+
provider: z.ZodString;
|
|
472
|
+
model: z.ZodString;
|
|
473
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
474
|
+
}, z.core.$strict>;
|
|
475
|
+
reply: z.ZodObject<{
|
|
476
|
+
answer: z.ZodString;
|
|
477
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
478
|
+
artifactId: z.ZodString;
|
|
479
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
480
|
+
}, z.core.$strict>>;
|
|
481
|
+
assumptions: z.ZodArray<z.ZodString>;
|
|
482
|
+
unresolved: z.ZodArray<z.ZodString>;
|
|
483
|
+
kind: z.ZodLiteral<"quality-candidate">;
|
|
484
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
485
|
+
checkId: z.ZodString;
|
|
486
|
+
conclusion: z.ZodString;
|
|
487
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
488
|
+
artifactId: z.ZodString;
|
|
489
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
490
|
+
}, z.core.$strict>>;
|
|
491
|
+
unresolved: z.ZodBoolean;
|
|
492
|
+
}, z.core.$strict>>;
|
|
493
|
+
}, z.core.$strict>;
|
|
494
|
+
}, z.core.$strict>>;
|
|
495
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
496
|
+
id: z.ZodString;
|
|
497
|
+
checkId: z.ZodString;
|
|
498
|
+
text: z.ZodString;
|
|
499
|
+
}, z.core.$strict>>;
|
|
500
|
+
review: z.ZodNullable<z.ZodObject<{
|
|
501
|
+
kind: z.ZodLiteral<"quality-review">;
|
|
502
|
+
action: z.ZodEnum<{
|
|
503
|
+
unresolved: "unresolved";
|
|
504
|
+
select: "select";
|
|
505
|
+
repair: "repair";
|
|
506
|
+
synthesize: "synthesize";
|
|
507
|
+
replan: "replan";
|
|
508
|
+
}>;
|
|
509
|
+
selectedCandidateId: z.ZodNullable<z.ZodString>;
|
|
510
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
511
|
+
reason: z.ZodString;
|
|
512
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
513
|
+
artifactId: z.ZodString;
|
|
514
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
515
|
+
}, z.core.$strict>>;
|
|
516
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
517
|
+
candidateId: z.ZodString;
|
|
518
|
+
checkId: z.ZodString;
|
|
519
|
+
verdict: z.ZodEnum<{
|
|
520
|
+
unresolved: "unresolved";
|
|
521
|
+
supported: "supported";
|
|
522
|
+
contradicted: "contradicted";
|
|
523
|
+
}>;
|
|
524
|
+
reason: z.ZodString;
|
|
525
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
526
|
+
artifactId: z.ZodString;
|
|
527
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
528
|
+
}, z.core.$strict>>;
|
|
529
|
+
}, z.core.$strict>>;
|
|
530
|
+
agreement: z.ZodArray<z.ZodObject<{
|
|
531
|
+
checkId: z.ZodString;
|
|
532
|
+
kind: z.ZodEnum<{
|
|
533
|
+
unknown: "unknown";
|
|
534
|
+
agreement: "agreement";
|
|
535
|
+
contradiction: "contradiction";
|
|
536
|
+
complementary: "complementary";
|
|
537
|
+
}>;
|
|
538
|
+
reason: z.ZodString;
|
|
539
|
+
}, z.core.$strict>>;
|
|
540
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
541
|
+
checkId: z.ZodString;
|
|
542
|
+
text: z.ZodString;
|
|
543
|
+
}, z.core.$strict>>;
|
|
544
|
+
resolutions: z.ZodArray<z.ZodObject<{
|
|
545
|
+
issueId: z.ZodString;
|
|
546
|
+
status: z.ZodEnum<{
|
|
547
|
+
resolved: "resolved";
|
|
548
|
+
unresolved: "unresolved";
|
|
549
|
+
}>;
|
|
550
|
+
reason: z.ZodString;
|
|
551
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
552
|
+
artifactId: z.ZodString;
|
|
553
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
554
|
+
}, z.core.$strict>>;
|
|
555
|
+
}, z.core.$strict>>;
|
|
556
|
+
}, z.core.$strict>>;
|
|
557
|
+
commonArtifactIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
558
|
+
}, z.core.$strict>;
|
|
559
|
+
export type QualityNode = z.infer<typeof QualityNodeSchema>;
|
|
560
|
+
export type QualityReply = z.infer<typeof QualityPlanSchema> | z.infer<typeof QualityPlanReviewSchema> | z.infer<typeof QualityCandidateSchema> | z.infer<typeof QualityReviewSchema>;
|
|
561
|
+
export declare const QualityJobSchema: z.ZodObject<{
|
|
562
|
+
protocolVersion: z.ZodLiteral<2>;
|
|
563
|
+
phase: z.ZodEnum<{
|
|
564
|
+
repair: "repair";
|
|
565
|
+
synthesize: "synthesize";
|
|
566
|
+
plan: "plan";
|
|
567
|
+
"plan-review": "plan-review";
|
|
568
|
+
"draft-a": "draft-a";
|
|
569
|
+
"draft-b": "draft-b";
|
|
570
|
+
compare: "compare";
|
|
571
|
+
compose: "compose";
|
|
572
|
+
"final-review": "final-review";
|
|
573
|
+
}>;
|
|
574
|
+
model: z.ZodObject<{
|
|
575
|
+
provider: z.ZodString;
|
|
576
|
+
model: z.ZodString;
|
|
577
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
578
|
+
}, z.core.$strict>;
|
|
579
|
+
candidateId: z.ZodNullable<z.ZodString>;
|
|
580
|
+
poolDigest: z.ZodString;
|
|
581
|
+
commonArtifactIds: z.ZodArray<z.ZodString>;
|
|
582
|
+
}, z.core.$strict>;
|
|
583
|
+
export type QualityJob = z.infer<typeof QualityJobSchema>;
|
|
267
584
|
export declare const GoalNodeSchema: z.ZodObject<{
|
|
268
585
|
id: z.ZodString;
|
|
269
586
|
parentId: z.ZodNullable<z.ZodString>;
|
|
@@ -316,7 +633,151 @@ export declare const GoalNodeSchema: z.ZodObject<{
|
|
|
316
633
|
reason: z.ZodString;
|
|
317
634
|
}, z.core.$strict>], "kind">>;
|
|
318
635
|
reason: z.ZodString;
|
|
319
|
-
|
|
636
|
+
quality: z.ZodOptional<z.ZodObject<{
|
|
637
|
+
phase: z.ZodEnum<{
|
|
638
|
+
repair: "repair";
|
|
639
|
+
synthesize: "synthesize";
|
|
640
|
+
plan: "plan";
|
|
641
|
+
"plan-review": "plan-review";
|
|
642
|
+
"draft-a": "draft-a";
|
|
643
|
+
"draft-b": "draft-b";
|
|
644
|
+
compare: "compare";
|
|
645
|
+
compose: "compose";
|
|
646
|
+
"final-review": "final-review";
|
|
647
|
+
}>;
|
|
648
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
649
|
+
id: z.ZodString;
|
|
650
|
+
key: z.ZodString;
|
|
651
|
+
requirementId: z.ZodString;
|
|
652
|
+
text: z.ZodString;
|
|
653
|
+
evidenceNeeded: z.ZodString;
|
|
654
|
+
}, z.core.$strict>>;
|
|
655
|
+
inheritedChecks: z.ZodArray<z.ZodObject<{
|
|
656
|
+
id: z.ZodString;
|
|
657
|
+
key: z.ZodString;
|
|
658
|
+
requirementId: z.ZodString;
|
|
659
|
+
text: z.ZodString;
|
|
660
|
+
evidenceNeeded: z.ZodString;
|
|
661
|
+
}, z.core.$strict>>;
|
|
662
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
663
|
+
kind: z.ZodLiteral<"quality-plan">;
|
|
664
|
+
decision: z.ZodEnum<{
|
|
665
|
+
blocked: "blocked";
|
|
666
|
+
leaf: "leaf";
|
|
667
|
+
decompose: "decompose";
|
|
668
|
+
}>;
|
|
669
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
670
|
+
text: z.ZodString;
|
|
671
|
+
key: z.ZodString;
|
|
672
|
+
requirementId: z.ZodString;
|
|
673
|
+
evidenceNeeded: z.ZodString;
|
|
674
|
+
}, z.core.$strict>>;
|
|
675
|
+
children: z.ZodArray<z.ZodObject<{
|
|
676
|
+
key: z.ZodString;
|
|
677
|
+
question: z.ZodString;
|
|
678
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
679
|
+
acceptanceCriteria: z.ZodArray<z.ZodString>;
|
|
680
|
+
assumptions: z.ZodArray<z.ZodString>;
|
|
681
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
682
|
+
checkKeys: z.ZodArray<z.ZodString>;
|
|
683
|
+
}, z.core.$strict>>;
|
|
684
|
+
reason: z.ZodString;
|
|
685
|
+
synthesis: z.ZodString;
|
|
686
|
+
}, z.core.$strict>>;
|
|
687
|
+
correctionUsed: z.ZodBoolean;
|
|
688
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
689
|
+
id: z.ZodString;
|
|
690
|
+
attemptId: z.ZodString;
|
|
691
|
+
model: z.ZodObject<{
|
|
692
|
+
provider: z.ZodString;
|
|
693
|
+
model: z.ZodString;
|
|
694
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
695
|
+
}, z.core.$strict>;
|
|
696
|
+
reply: z.ZodObject<{
|
|
697
|
+
answer: z.ZodString;
|
|
698
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
699
|
+
artifactId: z.ZodString;
|
|
700
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
701
|
+
}, z.core.$strict>>;
|
|
702
|
+
assumptions: z.ZodArray<z.ZodString>;
|
|
703
|
+
unresolved: z.ZodArray<z.ZodString>;
|
|
704
|
+
kind: z.ZodLiteral<"quality-candidate">;
|
|
705
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
706
|
+
checkId: z.ZodString;
|
|
707
|
+
conclusion: z.ZodString;
|
|
708
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
709
|
+
artifactId: z.ZodString;
|
|
710
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
711
|
+
}, z.core.$strict>>;
|
|
712
|
+
unresolved: z.ZodBoolean;
|
|
713
|
+
}, z.core.$strict>>;
|
|
714
|
+
}, z.core.$strict>;
|
|
715
|
+
}, z.core.$strict>>;
|
|
716
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
717
|
+
id: z.ZodString;
|
|
718
|
+
checkId: z.ZodString;
|
|
719
|
+
text: z.ZodString;
|
|
720
|
+
}, z.core.$strict>>;
|
|
721
|
+
review: z.ZodNullable<z.ZodObject<{
|
|
722
|
+
kind: z.ZodLiteral<"quality-review">;
|
|
723
|
+
action: z.ZodEnum<{
|
|
724
|
+
unresolved: "unresolved";
|
|
725
|
+
select: "select";
|
|
726
|
+
repair: "repair";
|
|
727
|
+
synthesize: "synthesize";
|
|
728
|
+
replan: "replan";
|
|
729
|
+
}>;
|
|
730
|
+
selectedCandidateId: z.ZodNullable<z.ZodString>;
|
|
731
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
732
|
+
reason: z.ZodString;
|
|
733
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
734
|
+
artifactId: z.ZodString;
|
|
735
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
736
|
+
}, z.core.$strict>>;
|
|
737
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
738
|
+
candidateId: z.ZodString;
|
|
739
|
+
checkId: z.ZodString;
|
|
740
|
+
verdict: z.ZodEnum<{
|
|
741
|
+
unresolved: "unresolved";
|
|
742
|
+
supported: "supported";
|
|
743
|
+
contradicted: "contradicted";
|
|
744
|
+
}>;
|
|
745
|
+
reason: z.ZodString;
|
|
746
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
747
|
+
artifactId: z.ZodString;
|
|
748
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
749
|
+
}, z.core.$strict>>;
|
|
750
|
+
}, z.core.$strict>>;
|
|
751
|
+
agreement: z.ZodArray<z.ZodObject<{
|
|
752
|
+
checkId: z.ZodString;
|
|
753
|
+
kind: z.ZodEnum<{
|
|
754
|
+
unknown: "unknown";
|
|
755
|
+
agreement: "agreement";
|
|
756
|
+
contradiction: "contradiction";
|
|
757
|
+
complementary: "complementary";
|
|
758
|
+
}>;
|
|
759
|
+
reason: z.ZodString;
|
|
760
|
+
}, z.core.$strict>>;
|
|
761
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
762
|
+
checkId: z.ZodString;
|
|
763
|
+
text: z.ZodString;
|
|
764
|
+
}, z.core.$strict>>;
|
|
765
|
+
resolutions: z.ZodArray<z.ZodObject<{
|
|
766
|
+
issueId: z.ZodString;
|
|
767
|
+
status: z.ZodEnum<{
|
|
768
|
+
resolved: "resolved";
|
|
769
|
+
unresolved: "unresolved";
|
|
770
|
+
}>;
|
|
771
|
+
reason: z.ZodString;
|
|
772
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
773
|
+
artifactId: z.ZodString;
|
|
774
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
775
|
+
}, z.core.$strict>>;
|
|
776
|
+
}, z.core.$strict>>;
|
|
777
|
+
}, z.core.$strict>>;
|
|
778
|
+
commonArtifactIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
779
|
+
}, z.core.$strict>>;
|
|
780
|
+
receipt: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
320
781
|
inputDigest: z.ZodString;
|
|
321
782
|
evidenceDigest: z.ZodString;
|
|
322
783
|
verifierVersion: z.ZodLiteral<1>;
|
|
@@ -324,11 +785,87 @@ export declare const GoalNodeSchema: z.ZodObject<{
|
|
|
324
785
|
"source-supported": "source-supported";
|
|
325
786
|
analytical: "analytical";
|
|
326
787
|
}>;
|
|
327
|
-
}, z.core.$strict
|
|
788
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
789
|
+
inputDigest: z.ZodString;
|
|
790
|
+
evidenceDigest: z.ZodString;
|
|
791
|
+
assessment: z.ZodEnum<{
|
|
792
|
+
"source-supported": "source-supported";
|
|
793
|
+
analytical: "analytical";
|
|
794
|
+
}>;
|
|
795
|
+
verifierVersion: z.ZodLiteral<2>;
|
|
796
|
+
selectedCandidateId: z.ZodString;
|
|
797
|
+
poolDigest: z.ZodString;
|
|
798
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
799
|
+
id: z.ZodString;
|
|
800
|
+
attemptId: z.ZodString;
|
|
801
|
+
model: z.ZodObject<{
|
|
802
|
+
provider: z.ZodString;
|
|
803
|
+
model: z.ZodString;
|
|
804
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
805
|
+
}, z.core.$strict>;
|
|
806
|
+
}, z.core.$strict>>;
|
|
807
|
+
review: z.ZodObject<{
|
|
808
|
+
kind: z.ZodLiteral<"quality-review">;
|
|
809
|
+
action: z.ZodEnum<{
|
|
810
|
+
unresolved: "unresolved";
|
|
811
|
+
select: "select";
|
|
812
|
+
repair: "repair";
|
|
813
|
+
synthesize: "synthesize";
|
|
814
|
+
replan: "replan";
|
|
815
|
+
}>;
|
|
816
|
+
selectedCandidateId: z.ZodNullable<z.ZodString>;
|
|
817
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
818
|
+
reason: z.ZodString;
|
|
819
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
820
|
+
artifactId: z.ZodString;
|
|
821
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
822
|
+
}, z.core.$strict>>;
|
|
823
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
824
|
+
candidateId: z.ZodString;
|
|
825
|
+
checkId: z.ZodString;
|
|
826
|
+
verdict: z.ZodEnum<{
|
|
827
|
+
unresolved: "unresolved";
|
|
828
|
+
supported: "supported";
|
|
829
|
+
contradicted: "contradicted";
|
|
830
|
+
}>;
|
|
831
|
+
reason: z.ZodString;
|
|
832
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
833
|
+
artifactId: z.ZodString;
|
|
834
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
835
|
+
}, z.core.$strict>>;
|
|
836
|
+
}, z.core.$strict>>;
|
|
837
|
+
agreement: z.ZodArray<z.ZodObject<{
|
|
838
|
+
checkId: z.ZodString;
|
|
839
|
+
kind: z.ZodEnum<{
|
|
840
|
+
unknown: "unknown";
|
|
841
|
+
agreement: "agreement";
|
|
842
|
+
contradiction: "contradiction";
|
|
843
|
+
complementary: "complementary";
|
|
844
|
+
}>;
|
|
845
|
+
reason: z.ZodString;
|
|
846
|
+
}, z.core.$strict>>;
|
|
847
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
848
|
+
checkId: z.ZodString;
|
|
849
|
+
text: z.ZodString;
|
|
850
|
+
}, z.core.$strict>>;
|
|
851
|
+
resolutions: z.ZodArray<z.ZodObject<{
|
|
852
|
+
issueId: z.ZodString;
|
|
853
|
+
status: z.ZodEnum<{
|
|
854
|
+
resolved: "resolved";
|
|
855
|
+
unresolved: "unresolved";
|
|
856
|
+
}>;
|
|
857
|
+
reason: z.ZodString;
|
|
858
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
859
|
+
artifactId: z.ZodString;
|
|
860
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
861
|
+
}, z.core.$strict>>;
|
|
862
|
+
}, z.core.$strict>>;
|
|
863
|
+
}, z.core.$strict>;
|
|
864
|
+
}, z.core.$strict>]>>;
|
|
328
865
|
}, z.core.$strict>;
|
|
329
866
|
export type GoalNode = z.infer<typeof GoalNodeSchema>;
|
|
330
867
|
export declare const DeepStateSchema: z.ZodObject<{
|
|
331
|
-
protocolVersion: z.ZodLiteral<1>;
|
|
868
|
+
protocolVersion: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
332
869
|
runId: z.ZodString;
|
|
333
870
|
startId: z.ZodString;
|
|
334
871
|
workspace: z.ZodString;
|
|
@@ -376,6 +913,15 @@ export declare const DeepStateSchema: z.ZodObject<{
|
|
|
376
913
|
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
377
914
|
}, z.core.$strict>;
|
|
378
915
|
}, z.core.$strict>;
|
|
916
|
+
reasoningMode: z.ZodOptional<z.ZodEnum<{
|
|
917
|
+
standard: "standard";
|
|
918
|
+
quality: "quality";
|
|
919
|
+
}>>;
|
|
920
|
+
alternativeSolver: z.ZodOptional<z.ZodObject<{
|
|
921
|
+
provider: z.ZodString;
|
|
922
|
+
model: z.ZodString;
|
|
923
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
924
|
+
}, z.core.$strict>>;
|
|
379
925
|
budget: z.ZodPrefault<z.ZodObject<{
|
|
380
926
|
maxConcurrentAgents: z.ZodDefault<z.ZodNumber>;
|
|
381
927
|
maxDepth: z.ZodDefault<z.ZodNumber>;
|
|
@@ -475,7 +1021,151 @@ export declare const DeepStateSchema: z.ZodObject<{
|
|
|
475
1021
|
reason: z.ZodString;
|
|
476
1022
|
}, z.core.$strict>], "kind">>;
|
|
477
1023
|
reason: z.ZodString;
|
|
478
|
-
|
|
1024
|
+
quality: z.ZodOptional<z.ZodObject<{
|
|
1025
|
+
phase: z.ZodEnum<{
|
|
1026
|
+
repair: "repair";
|
|
1027
|
+
synthesize: "synthesize";
|
|
1028
|
+
plan: "plan";
|
|
1029
|
+
"plan-review": "plan-review";
|
|
1030
|
+
"draft-a": "draft-a";
|
|
1031
|
+
"draft-b": "draft-b";
|
|
1032
|
+
compare: "compare";
|
|
1033
|
+
compose: "compose";
|
|
1034
|
+
"final-review": "final-review";
|
|
1035
|
+
}>;
|
|
1036
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
1037
|
+
id: z.ZodString;
|
|
1038
|
+
key: z.ZodString;
|
|
1039
|
+
requirementId: z.ZodString;
|
|
1040
|
+
text: z.ZodString;
|
|
1041
|
+
evidenceNeeded: z.ZodString;
|
|
1042
|
+
}, z.core.$strict>>;
|
|
1043
|
+
inheritedChecks: z.ZodArray<z.ZodObject<{
|
|
1044
|
+
id: z.ZodString;
|
|
1045
|
+
key: z.ZodString;
|
|
1046
|
+
requirementId: z.ZodString;
|
|
1047
|
+
text: z.ZodString;
|
|
1048
|
+
evidenceNeeded: z.ZodString;
|
|
1049
|
+
}, z.core.$strict>>;
|
|
1050
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
1051
|
+
kind: z.ZodLiteral<"quality-plan">;
|
|
1052
|
+
decision: z.ZodEnum<{
|
|
1053
|
+
blocked: "blocked";
|
|
1054
|
+
leaf: "leaf";
|
|
1055
|
+
decompose: "decompose";
|
|
1056
|
+
}>;
|
|
1057
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
1058
|
+
text: z.ZodString;
|
|
1059
|
+
key: z.ZodString;
|
|
1060
|
+
requirementId: z.ZodString;
|
|
1061
|
+
evidenceNeeded: z.ZodString;
|
|
1062
|
+
}, z.core.$strict>>;
|
|
1063
|
+
children: z.ZodArray<z.ZodObject<{
|
|
1064
|
+
key: z.ZodString;
|
|
1065
|
+
question: z.ZodString;
|
|
1066
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
1067
|
+
acceptanceCriteria: z.ZodArray<z.ZodString>;
|
|
1068
|
+
assumptions: z.ZodArray<z.ZodString>;
|
|
1069
|
+
dependsOn: z.ZodArray<z.ZodString>;
|
|
1070
|
+
checkKeys: z.ZodArray<z.ZodString>;
|
|
1071
|
+
}, z.core.$strict>>;
|
|
1072
|
+
reason: z.ZodString;
|
|
1073
|
+
synthesis: z.ZodString;
|
|
1074
|
+
}, z.core.$strict>>;
|
|
1075
|
+
correctionUsed: z.ZodBoolean;
|
|
1076
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
1077
|
+
id: z.ZodString;
|
|
1078
|
+
attemptId: z.ZodString;
|
|
1079
|
+
model: z.ZodObject<{
|
|
1080
|
+
provider: z.ZodString;
|
|
1081
|
+
model: z.ZodString;
|
|
1082
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
1083
|
+
}, z.core.$strict>;
|
|
1084
|
+
reply: z.ZodObject<{
|
|
1085
|
+
answer: z.ZodString;
|
|
1086
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1087
|
+
artifactId: z.ZodString;
|
|
1088
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
}, z.core.$strict>>;
|
|
1090
|
+
assumptions: z.ZodArray<z.ZodString>;
|
|
1091
|
+
unresolved: z.ZodArray<z.ZodString>;
|
|
1092
|
+
kind: z.ZodLiteral<"quality-candidate">;
|
|
1093
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
1094
|
+
checkId: z.ZodString;
|
|
1095
|
+
conclusion: z.ZodString;
|
|
1096
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1097
|
+
artifactId: z.ZodString;
|
|
1098
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1099
|
+
}, z.core.$strict>>;
|
|
1100
|
+
unresolved: z.ZodBoolean;
|
|
1101
|
+
}, z.core.$strict>>;
|
|
1102
|
+
}, z.core.$strict>;
|
|
1103
|
+
}, z.core.$strict>>;
|
|
1104
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
1105
|
+
id: z.ZodString;
|
|
1106
|
+
checkId: z.ZodString;
|
|
1107
|
+
text: z.ZodString;
|
|
1108
|
+
}, z.core.$strict>>;
|
|
1109
|
+
review: z.ZodNullable<z.ZodObject<{
|
|
1110
|
+
kind: z.ZodLiteral<"quality-review">;
|
|
1111
|
+
action: z.ZodEnum<{
|
|
1112
|
+
unresolved: "unresolved";
|
|
1113
|
+
select: "select";
|
|
1114
|
+
repair: "repair";
|
|
1115
|
+
synthesize: "synthesize";
|
|
1116
|
+
replan: "replan";
|
|
1117
|
+
}>;
|
|
1118
|
+
selectedCandidateId: z.ZodNullable<z.ZodString>;
|
|
1119
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
1120
|
+
reason: z.ZodString;
|
|
1121
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1122
|
+
artifactId: z.ZodString;
|
|
1123
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
}, z.core.$strict>>;
|
|
1125
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
1126
|
+
candidateId: z.ZodString;
|
|
1127
|
+
checkId: z.ZodString;
|
|
1128
|
+
verdict: z.ZodEnum<{
|
|
1129
|
+
unresolved: "unresolved";
|
|
1130
|
+
supported: "supported";
|
|
1131
|
+
contradicted: "contradicted";
|
|
1132
|
+
}>;
|
|
1133
|
+
reason: z.ZodString;
|
|
1134
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1135
|
+
artifactId: z.ZodString;
|
|
1136
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1137
|
+
}, z.core.$strict>>;
|
|
1138
|
+
}, z.core.$strict>>;
|
|
1139
|
+
agreement: z.ZodArray<z.ZodObject<{
|
|
1140
|
+
checkId: z.ZodString;
|
|
1141
|
+
kind: z.ZodEnum<{
|
|
1142
|
+
unknown: "unknown";
|
|
1143
|
+
agreement: "agreement";
|
|
1144
|
+
contradiction: "contradiction";
|
|
1145
|
+
complementary: "complementary";
|
|
1146
|
+
}>;
|
|
1147
|
+
reason: z.ZodString;
|
|
1148
|
+
}, z.core.$strict>>;
|
|
1149
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
1150
|
+
checkId: z.ZodString;
|
|
1151
|
+
text: z.ZodString;
|
|
1152
|
+
}, z.core.$strict>>;
|
|
1153
|
+
resolutions: z.ZodArray<z.ZodObject<{
|
|
1154
|
+
issueId: z.ZodString;
|
|
1155
|
+
status: z.ZodEnum<{
|
|
1156
|
+
resolved: "resolved";
|
|
1157
|
+
unresolved: "unresolved";
|
|
1158
|
+
}>;
|
|
1159
|
+
reason: z.ZodString;
|
|
1160
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1161
|
+
artifactId: z.ZodString;
|
|
1162
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1163
|
+
}, z.core.$strict>>;
|
|
1164
|
+
}, z.core.$strict>>;
|
|
1165
|
+
}, z.core.$strict>>;
|
|
1166
|
+
commonArtifactIds: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
1167
|
+
}, z.core.$strict>>;
|
|
1168
|
+
receipt: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
479
1169
|
inputDigest: z.ZodString;
|
|
480
1170
|
evidenceDigest: z.ZodString;
|
|
481
1171
|
verifierVersion: z.ZodLiteral<1>;
|
|
@@ -483,7 +1173,83 @@ export declare const DeepStateSchema: z.ZodObject<{
|
|
|
483
1173
|
"source-supported": "source-supported";
|
|
484
1174
|
analytical: "analytical";
|
|
485
1175
|
}>;
|
|
486
|
-
}, z.core.$strict
|
|
1176
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1177
|
+
inputDigest: z.ZodString;
|
|
1178
|
+
evidenceDigest: z.ZodString;
|
|
1179
|
+
assessment: z.ZodEnum<{
|
|
1180
|
+
"source-supported": "source-supported";
|
|
1181
|
+
analytical: "analytical";
|
|
1182
|
+
}>;
|
|
1183
|
+
verifierVersion: z.ZodLiteral<2>;
|
|
1184
|
+
selectedCandidateId: z.ZodString;
|
|
1185
|
+
poolDigest: z.ZodString;
|
|
1186
|
+
candidates: z.ZodArray<z.ZodObject<{
|
|
1187
|
+
id: z.ZodString;
|
|
1188
|
+
attemptId: z.ZodString;
|
|
1189
|
+
model: z.ZodObject<{
|
|
1190
|
+
provider: z.ZodString;
|
|
1191
|
+
model: z.ZodString;
|
|
1192
|
+
reasoningEffort: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
}, z.core.$strict>;
|
|
1194
|
+
}, z.core.$strict>>;
|
|
1195
|
+
review: z.ZodObject<{
|
|
1196
|
+
kind: z.ZodLiteral<"quality-review">;
|
|
1197
|
+
action: z.ZodEnum<{
|
|
1198
|
+
unresolved: "unresolved";
|
|
1199
|
+
select: "select";
|
|
1200
|
+
repair: "repair";
|
|
1201
|
+
synthesize: "synthesize";
|
|
1202
|
+
replan: "replan";
|
|
1203
|
+
}>;
|
|
1204
|
+
selectedCandidateId: z.ZodNullable<z.ZodString>;
|
|
1205
|
+
requirementIds: z.ZodArray<z.ZodString>;
|
|
1206
|
+
reason: z.ZodString;
|
|
1207
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1208
|
+
artifactId: z.ZodString;
|
|
1209
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
}, z.core.$strict>>;
|
|
1211
|
+
evaluations: z.ZodArray<z.ZodObject<{
|
|
1212
|
+
candidateId: z.ZodString;
|
|
1213
|
+
checkId: z.ZodString;
|
|
1214
|
+
verdict: z.ZodEnum<{
|
|
1215
|
+
unresolved: "unresolved";
|
|
1216
|
+
supported: "supported";
|
|
1217
|
+
contradicted: "contradicted";
|
|
1218
|
+
}>;
|
|
1219
|
+
reason: z.ZodString;
|
|
1220
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1221
|
+
artifactId: z.ZodString;
|
|
1222
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
}, z.core.$strict>>;
|
|
1224
|
+
}, z.core.$strict>>;
|
|
1225
|
+
agreement: z.ZodArray<z.ZodObject<{
|
|
1226
|
+
checkId: z.ZodString;
|
|
1227
|
+
kind: z.ZodEnum<{
|
|
1228
|
+
unknown: "unknown";
|
|
1229
|
+
agreement: "agreement";
|
|
1230
|
+
contradiction: "contradiction";
|
|
1231
|
+
complementary: "complementary";
|
|
1232
|
+
}>;
|
|
1233
|
+
reason: z.ZodString;
|
|
1234
|
+
}, z.core.$strict>>;
|
|
1235
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
1236
|
+
checkId: z.ZodString;
|
|
1237
|
+
text: z.ZodString;
|
|
1238
|
+
}, z.core.$strict>>;
|
|
1239
|
+
resolutions: z.ZodArray<z.ZodObject<{
|
|
1240
|
+
issueId: z.ZodString;
|
|
1241
|
+
status: z.ZodEnum<{
|
|
1242
|
+
resolved: "resolved";
|
|
1243
|
+
unresolved: "unresolved";
|
|
1244
|
+
}>;
|
|
1245
|
+
reason: z.ZodString;
|
|
1246
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
1247
|
+
artifactId: z.ZodString;
|
|
1248
|
+
quote: z.ZodOptional<z.ZodString>;
|
|
1249
|
+
}, z.core.$strict>>;
|
|
1250
|
+
}, z.core.$strict>>;
|
|
1251
|
+
}, z.core.$strict>;
|
|
1252
|
+
}, z.core.$strict>]>>;
|
|
487
1253
|
}, z.core.$strict>>;
|
|
488
1254
|
pendingInputs: z.ZodArray<z.ZodObject<{
|
|
489
1255
|
id: z.ZodString;
|
|
@@ -505,9 +1271,11 @@ export interface DeepJob {
|
|
|
505
1271
|
readonly inputDigest: string;
|
|
506
1272
|
readonly prompt: string;
|
|
507
1273
|
readonly inputArtifactIds: readonly string[];
|
|
1274
|
+
readonly quality?: QualityJob;
|
|
508
1275
|
}
|
|
509
1276
|
export declare const DeepArtifactSchema: z.ZodObject<{
|
|
510
1277
|
id: z.ZodString;
|
|
1278
|
+
attemptId: z.ZodOptional<z.ZodString>;
|
|
511
1279
|
runId: z.ZodString;
|
|
512
1280
|
nodeId: z.ZodString;
|
|
513
1281
|
nodeRevision: z.ZodNumber;
|