@cat-factory/contracts 0.226.0 → 0.229.0
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/errors.d.ts +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +15 -0
- package/dist/errors.js.map +1 -1
- package/dist/execution.d.ts +24 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +15 -0
- package/dist/execution.js.map +1 -1
- package/dist/github.d.ts +17 -1
- package/dist/github.d.ts.map +1 -1
- package/dist/github.js +18 -1
- package/dist/github.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/input-gate.d.ts +115 -0
- package/dist/input-gate.d.ts.map +1 -0
- package/dist/input-gate.js +131 -0
- package/dist/input-gate.js.map +1 -0
- package/dist/public-decisions.d.ts +65 -1
- package/dist/public-decisions.d.ts.map +1 -1
- package/dist/public-decisions.js +45 -6
- package/dist/public-decisions.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +22 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +22 -0
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +88 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/github.d.ts +2 -0
- package/dist/routes/github.d.ts.map +1 -1
- package/dist/routes/gitlab.d.ts +2 -0
- package/dist/routes/gitlab.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +11 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +55 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/index.d.ts +1 -0
- package/dist/routes/index.d.ts.map +1 -1
- package/dist/routes/index.js +1 -0
- package/dist/routes/index.js.map +1 -1
- package/dist/routes/input-gate.d.ts +48 -0
- package/dist/routes/input-gate.d.ts.map +1 -0
- package/dist/routes/input-gate.js +24 -0
- package/dist/routes/input-gate.js.map +1 -0
- package/dist/routes/public-decisions.d.ts +193 -0
- package/dist/routes/public-decisions.d.ts.map +1 -1
- package/dist/routes/public-decisions.js +20 -1
- package/dist/routes/public-decisions.js.map +1 -1
- package/dist/routes/visual-confirm.d.ts +33 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspace-settings.d.ts +3 -0
- package/dist/routes/workspace-settings.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +28 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +14 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/task-types.d.ts +27 -0
- package/dist/task-types.d.ts.map +1 -1
- package/dist/task-types.js +20 -0
- package/dist/task-types.js.map +1 -1
- package/dist/workspace-settings.d.ts +13 -0
- package/dist/workspace-settings.d.ts.map +1 -1
- package/dist/workspace-settings.js +14 -0
- package/dist/workspace-settings.js.map +1 -1
- package/package.json +1 -1
|
@@ -86,6 +86,15 @@ export declare const listPublicRunDecisionsContract: {
|
|
|
86
86
|
}, undefined>, undefined>;
|
|
87
87
|
readonly bounces: v.NumberSchema<undefined>;
|
|
88
88
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
89
|
+
}, undefined>, v.ObjectSchema<{
|
|
90
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
91
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
92
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
93
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
94
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
95
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
96
|
+
}, undefined>, undefined>;
|
|
97
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
89
98
|
}, undefined>], undefined>, undefined>;
|
|
90
99
|
}, undefined>;
|
|
91
100
|
};
|
|
@@ -181,6 +190,15 @@ export declare const replyPublicRunFindingContract: {
|
|
|
181
190
|
}, undefined>, undefined>;
|
|
182
191
|
readonly bounces: v.NumberSchema<undefined>;
|
|
183
192
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
193
|
+
}, undefined>, v.ObjectSchema<{
|
|
194
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
195
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
196
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
197
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
198
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
199
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
200
|
+
}, undefined>, undefined>;
|
|
201
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
184
202
|
}, undefined>], undefined>, undefined>;
|
|
185
203
|
}, undefined>;
|
|
186
204
|
};
|
|
@@ -276,6 +294,15 @@ export declare const setPublicRunFindingStatusContract: {
|
|
|
276
294
|
}, undefined>, undefined>;
|
|
277
295
|
readonly bounces: v.NumberSchema<undefined>;
|
|
278
296
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
297
|
+
}, undefined>, v.ObjectSchema<{
|
|
298
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
299
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
300
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
301
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
302
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
303
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
304
|
+
}, undefined>, undefined>;
|
|
305
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
279
306
|
}, undefined>], undefined>, undefined>;
|
|
280
307
|
}, undefined>;
|
|
281
308
|
};
|
|
@@ -373,6 +400,15 @@ export declare const incorporatePublicRunRequirementsContract: {
|
|
|
373
400
|
}, undefined>, undefined>;
|
|
374
401
|
readonly bounces: v.NumberSchema<undefined>;
|
|
375
402
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
403
|
+
}, undefined>, v.ObjectSchema<{
|
|
404
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
405
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
406
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
407
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
408
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
409
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
410
|
+
}, undefined>, undefined>;
|
|
411
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
376
412
|
}, undefined>], undefined>, undefined>;
|
|
377
413
|
}, undefined>;
|
|
378
414
|
};
|
|
@@ -464,6 +500,15 @@ export declare const reReviewPublicRunRequirementsContract: {
|
|
|
464
500
|
}, undefined>, undefined>;
|
|
465
501
|
readonly bounces: v.NumberSchema<undefined>;
|
|
466
502
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
503
|
+
}, undefined>, v.ObjectSchema<{
|
|
504
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
505
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
506
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
507
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
508
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
509
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
510
|
+
}, undefined>, undefined>;
|
|
511
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
467
512
|
}, undefined>], undefined>, undefined>;
|
|
468
513
|
}, undefined>;
|
|
469
514
|
};
|
|
@@ -555,6 +600,15 @@ export declare const proceedPublicRunRequirementsContract: {
|
|
|
555
600
|
}, undefined>, undefined>;
|
|
556
601
|
readonly bounces: v.NumberSchema<undefined>;
|
|
557
602
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
603
|
+
}, undefined>, v.ObjectSchema<{
|
|
604
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
605
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
606
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
607
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
608
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
609
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
610
|
+
}, undefined>, undefined>;
|
|
611
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
558
612
|
}, undefined>], undefined>, undefined>;
|
|
559
613
|
}, undefined>;
|
|
560
614
|
};
|
|
@@ -648,6 +702,15 @@ export declare const resolvePublicRunRequirementsExceededContract: {
|
|
|
648
702
|
}, undefined>, undefined>;
|
|
649
703
|
readonly bounces: v.NumberSchema<undefined>;
|
|
650
704
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
705
|
+
}, undefined>, v.ObjectSchema<{
|
|
706
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
707
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
708
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
709
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
710
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
711
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
712
|
+
}, undefined>, undefined>;
|
|
713
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
651
714
|
}, undefined>], undefined>, undefined>;
|
|
652
715
|
}, undefined>;
|
|
653
716
|
};
|
|
@@ -747,6 +810,15 @@ export declare const choosePublicRunForkContract: {
|
|
|
747
810
|
}, undefined>, undefined>;
|
|
748
811
|
readonly bounces: v.NumberSchema<undefined>;
|
|
749
812
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
813
|
+
}, undefined>, v.ObjectSchema<{
|
|
814
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
815
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
816
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
817
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
818
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
819
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
820
|
+
}, undefined>, undefined>;
|
|
821
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
750
822
|
}, undefined>], undefined>, undefined>;
|
|
751
823
|
}, undefined>;
|
|
752
824
|
};
|
|
@@ -841,6 +913,127 @@ export declare const resolvePublicRunJudgeContract: {
|
|
|
841
913
|
}, undefined>, undefined>;
|
|
842
914
|
readonly bounces: v.NumberSchema<undefined>;
|
|
843
915
|
readonly maxBounces: v.NumberSchema<undefined>;
|
|
916
|
+
}, undefined>, v.ObjectSchema<{
|
|
917
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
918
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
919
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
920
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
921
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
922
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
923
|
+
}, undefined>, undefined>;
|
|
924
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
925
|
+
}, undefined>], undefined>, undefined>;
|
|
926
|
+
}, undefined>;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
* Resolve a run parked on the PRE-TOKEN INPUT GATE: `recheck` re-evaluates the task as it now
|
|
931
|
+
* stands, `proceed` waives the findings.
|
|
932
|
+
*
|
|
933
|
+
* The one park that is a property of the TASK rather than the pipeline, so unlike the three above
|
|
934
|
+
* it can hold a run whose pipeline `canParkOnHuman` calls unparking. Without this route such a run
|
|
935
|
+
* reported `parked: true` with nothing to answer and `POST /api/v1/jobs/:id/cancel` as its only
|
|
936
|
+
* exit. A caller that means to FIX the task edits it over `PATCH /api/v1/tasks/:taskId` first;
|
|
937
|
+
* `recheck` then verifies rather than takes the claim on trust, and a still-blocked verdict comes
|
|
938
|
+
* back as an ordinary 200 with refreshed findings, because nothing went wrong.
|
|
939
|
+
*/
|
|
940
|
+
export declare const resolvePublicRunInputGateContract: {
|
|
941
|
+
readonly method: "post";
|
|
942
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
943
|
+
runId: v.StringSchema<undefined>;
|
|
944
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
945
|
+
readonly pathResolver: ({ runId }: {
|
|
946
|
+
runId: string;
|
|
947
|
+
}) => string;
|
|
948
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
949
|
+
readonly choice: v.PicklistSchema<["recheck", "proceed"], undefined>;
|
|
950
|
+
}, undefined>;
|
|
951
|
+
readonly responsesByStatusCode: {
|
|
952
|
+
readonly '4xx': v.ObjectSchema<{
|
|
953
|
+
readonly error: v.ObjectSchema<{
|
|
954
|
+
readonly code: v.StringSchema<undefined>;
|
|
955
|
+
readonly message: v.StringSchema<undefined>;
|
|
956
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
957
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
958
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
959
|
+
readonly message: v.StringSchema<undefined>;
|
|
960
|
+
}, undefined>, undefined>, undefined>;
|
|
961
|
+
}, undefined>;
|
|
962
|
+
}, undefined>;
|
|
963
|
+
readonly '5xx': v.ObjectSchema<{
|
|
964
|
+
readonly error: v.ObjectSchema<{
|
|
965
|
+
readonly code: v.StringSchema<undefined>;
|
|
966
|
+
readonly message: v.StringSchema<undefined>;
|
|
967
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
968
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
969
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
970
|
+
readonly message: v.StringSchema<undefined>;
|
|
971
|
+
}, undefined>, undefined>, undefined>;
|
|
972
|
+
}, undefined>;
|
|
973
|
+
}, undefined>;
|
|
974
|
+
readonly 200: v.ObjectSchema<{
|
|
975
|
+
readonly runId: v.StringSchema<undefined>;
|
|
976
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
977
|
+
readonly status: v.PicklistSchema<["running", "blocked", "paused", "done", "failed"], undefined>;
|
|
978
|
+
readonly parked: v.BooleanSchema<undefined>;
|
|
979
|
+
readonly decisions: v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
|
|
980
|
+
readonly kind: v.LiteralSchema<"requirements-review", undefined>;
|
|
981
|
+
readonly reviewId: v.StringSchema<undefined>;
|
|
982
|
+
readonly taskId: v.StringSchema<undefined>;
|
|
983
|
+
readonly status: v.PicklistSchema<["ready", "incorporating", "reviewing", "merged", "exceeded", "incorporated"], undefined>;
|
|
984
|
+
readonly iteration: v.NumberSchema<undefined>;
|
|
985
|
+
readonly maxIterations: v.NumberSchema<undefined>;
|
|
986
|
+
readonly findings: v.ArraySchema<v.ObjectSchema<{
|
|
987
|
+
readonly itemId: v.StringSchema<undefined>;
|
|
988
|
+
readonly category: v.PicklistSchema<["gap", "clarification", "assumption", "risk", "question"], undefined>;
|
|
989
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high"], undefined>;
|
|
990
|
+
readonly title: v.StringSchema<undefined>;
|
|
991
|
+
readonly detail: v.StringSchema<undefined>;
|
|
992
|
+
readonly status: v.PicklistSchema<["open", "answered", "resolved", "dismissed", "recommend_requested"], undefined>;
|
|
993
|
+
readonly reply: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
994
|
+
}, undefined>, undefined>;
|
|
995
|
+
readonly incorporatedRequirements: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
996
|
+
}, undefined>, v.ObjectSchema<{
|
|
997
|
+
readonly kind: v.LiteralSchema<"fork", undefined>;
|
|
998
|
+
readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
|
|
999
|
+
readonly seamSummary: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1000
|
+
readonly forks: v.ArraySchema<v.ObjectSchema<{
|
|
1001
|
+
readonly id: v.StringSchema<undefined>;
|
|
1002
|
+
readonly title: v.StringSchema<undefined>;
|
|
1003
|
+
readonly summary: v.StringSchema<undefined>;
|
|
1004
|
+
readonly approach: v.StringSchema<undefined>;
|
|
1005
|
+
readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1006
|
+
readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1007
|
+
readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1008
|
+
}, undefined>, undefined>;
|
|
1009
|
+
}, undefined>, v.ObjectSchema<{
|
|
1010
|
+
readonly kind: v.LiteralSchema<"judge", undefined>;
|
|
1011
|
+
readonly stepKind: v.StringSchema<undefined>;
|
|
1012
|
+
readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
|
|
1013
|
+
readonly rubricId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1014
|
+
readonly rubricName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1015
|
+
readonly threshold: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1016
|
+
readonly verdict: v.NullableSchema<v.ObjectSchema<{
|
|
1017
|
+
readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
|
|
1018
|
+
readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
|
|
1019
|
+
readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
|
|
1020
|
+
readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
|
|
1021
|
+
readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1022
|
+
readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
|
|
1023
|
+
readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1024
|
+
}, undefined>, undefined>, readonly []>, readonly []>;
|
|
1025
|
+
}, undefined>, undefined>;
|
|
1026
|
+
readonly bounces: v.NumberSchema<undefined>;
|
|
1027
|
+
readonly maxBounces: v.NumberSchema<undefined>;
|
|
1028
|
+
}, undefined>, v.ObjectSchema<{
|
|
1029
|
+
readonly kind: v.LiteralSchema<"input-gate", undefined>;
|
|
1030
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
1031
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
1032
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
1033
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
1034
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
1035
|
+
}, undefined>, undefined>;
|
|
1036
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
844
1037
|
}, undefined>], undefined>, undefined>;
|
|
845
1038
|
}, undefined>;
|
|
846
1039
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-decisions.d.ts","sourceRoot":"","sources":["../../src/routes/public-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"public-decisions.d.ts","sourceRoot":"","sources":["../../src/routes/public-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA+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AAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMtC,CAAA;AAIF,yFAAyF;AACzF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA;AAIF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5C,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ContractNoBody, defineApiContract, withObjectKeys } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
-
import { publicChooseForkSchema, publicResolveJudgeSchema, publicDecisionListSchema, publicIncorporateSchema, publicReplyFindingSchema, publicResolveExceededSchema, publicSetFindingStatusSchema, } from '../public-decisions.js';
|
|
3
|
+
import { publicChooseForkSchema, publicResolveInputGateSchema, publicResolveJudgeSchema, publicDecisionListSchema, publicIncorporateSchema, publicReplyFindingSchema, publicResolveExceededSchema, publicSetFindingStatusSchema, } from '../public-decisions.js';
|
|
4
4
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
6
|
// Public-API route contracts for a run's PARKED HUMAN DECISIONS — the external counterpart of
|
|
@@ -96,4 +96,23 @@ export const resolvePublicRunJudgeContract = defineApiContract({
|
|
|
96
96
|
requestBodySchema: publicResolveJudgeSchema,
|
|
97
97
|
responsesByStatusCode: { 200: publicDecisionListSchema, ...errorResponses },
|
|
98
98
|
});
|
|
99
|
+
// ---- pre-token input gate ---------------------------------------------------
|
|
100
|
+
/**
|
|
101
|
+
* Resolve a run parked on the PRE-TOKEN INPUT GATE: `recheck` re-evaluates the task as it now
|
|
102
|
+
* stands, `proceed` waives the findings.
|
|
103
|
+
*
|
|
104
|
+
* The one park that is a property of the TASK rather than the pipeline, so unlike the three above
|
|
105
|
+
* it can hold a run whose pipeline `canParkOnHuman` calls unparking. Without this route such a run
|
|
106
|
+
* reported `parked: true` with nothing to answer and `POST /api/v1/jobs/:id/cancel` as its only
|
|
107
|
+
* exit. A caller that means to FIX the task edits it over `PATCH /api/v1/tasks/:taskId` first;
|
|
108
|
+
* `recheck` then verifies rather than takes the claim on trust, and a still-blocked verdict comes
|
|
109
|
+
* back as an ordinary 200 with refreshed findings, because nothing went wrong.
|
|
110
|
+
*/
|
|
111
|
+
export const resolvePublicRunInputGateContract = defineApiContract({
|
|
112
|
+
method: 'post',
|
|
113
|
+
requestPathParamsSchema: runIdParams,
|
|
114
|
+
pathResolver: ({ runId }) => `/api/v1/runs/${runId}/decisions/input-gate/resolve`,
|
|
115
|
+
requestBodySchema: publicResolveInputGateSchema,
|
|
116
|
+
responsesByStatusCode: { 200: publicDecisionListSchema, ...errorResponses },
|
|
117
|
+
});
|
|
99
118
|
//# sourceMappingURL=public-decisions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-decisions.js","sourceRoot":"","sources":["../../src/routes/public-decisions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC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A+B;IACjF,iBAAiB,EAAE,4BAA4B;IAC/C,qBAAqB,EAAE,EAAE,GAAG,EAAE,wBAAwB,EAAE,GAAG,cAAc,EAAE;CAC5E,CAAC,CAAA"}
|
|
@@ -1036,6 +1036,17 @@ export declare const approveVisualConfirmContract: {
|
|
|
1036
1036
|
readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1037
1037
|
}, undefined>, undefined>;
|
|
1038
1038
|
}, undefined>, undefined>;
|
|
1039
|
+
readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
|
|
1040
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
1041
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
1042
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
1043
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
1044
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
1045
|
+
}, undefined>, undefined>;
|
|
1046
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
1047
|
+
readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1048
|
+
readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1049
|
+
}, undefined>, undefined>;
|
|
1039
1050
|
}, undefined>;
|
|
1040
1051
|
};
|
|
1041
1052
|
};
|
|
@@ -2077,6 +2088,17 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
2077
2088
|
readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2078
2089
|
}, undefined>, undefined>;
|
|
2079
2090
|
}, undefined>, undefined>;
|
|
2091
|
+
readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
|
|
2092
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
2093
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
2094
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
2095
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
2096
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
2097
|
+
}, undefined>, undefined>;
|
|
2098
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
2099
|
+
readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2100
|
+
readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
2101
|
+
}, undefined>, undefined>;
|
|
2080
2102
|
}, undefined>;
|
|
2081
2103
|
};
|
|
2082
2104
|
};
|
|
@@ -3116,6 +3138,17 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
3116
3138
|
readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3117
3139
|
}, undefined>, undefined>;
|
|
3118
3140
|
}, undefined>, undefined>;
|
|
3141
|
+
readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
|
|
3142
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
3143
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
3144
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
3145
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
3146
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
3147
|
+
}, undefined>, undefined>;
|
|
3148
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
3149
|
+
readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3150
|
+
readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
3151
|
+
}, undefined>, undefined>;
|
|
3119
3152
|
}, undefined>;
|
|
3120
3153
|
};
|
|
3121
3154
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
|
|
@@ -34,6 +34,7 @@ export declare const getWorkspaceSettingsContract: {
|
|
|
34
34
|
readonly artifactRetentionDays: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>;
|
|
35
35
|
readonly kaizenEnabled: import("valibot").BooleanSchema<undefined>;
|
|
36
36
|
readonly delegateAgentsToRunnerPool: import("valibot").BooleanSchema<undefined>;
|
|
37
|
+
readonly inputGateMode: import("valibot").PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
37
38
|
readonly reviewFrictionMode: import("valibot").PicklistSchema<["off", "warn", "enforce"], undefined>;
|
|
38
39
|
readonly reviewFrictionWarnCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>;
|
|
39
40
|
readonly reviewFrictionBlockCount: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
@@ -62,6 +63,7 @@ export declare const updateWorkspaceSettingsContract: {
|
|
|
62
63
|
readonly artifactRetentionDays: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>, undefined>;
|
|
63
64
|
readonly kaizenEnabled: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
64
65
|
readonly delegateAgentsToRunnerPool: import("valibot").OptionalSchema<import("valibot").BooleanSchema<undefined>, undefined>;
|
|
66
|
+
readonly inputGateMode: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["standard", "advisory", "off"], undefined>, undefined>;
|
|
65
67
|
readonly reviewFrictionMode: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["off", "warn", "enforce"], undefined>, undefined>;
|
|
66
68
|
readonly reviewFrictionWarnCount: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
67
69
|
readonly reviewFrictionBlockCount: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
@@ -108,6 +110,7 @@ export declare const updateWorkspaceSettingsContract: {
|
|
|
108
110
|
readonly artifactRetentionDays: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 3650, undefined>]>;
|
|
109
111
|
readonly kaizenEnabled: import("valibot").BooleanSchema<undefined>;
|
|
110
112
|
readonly delegateAgentsToRunnerPool: import("valibot").BooleanSchema<undefined>;
|
|
113
|
+
readonly inputGateMode: import("valibot").PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
111
114
|
readonly reviewFrictionMode: import("valibot").PicklistSchema<["off", "warn", "enforce"], undefined>;
|
|
112
115
|
readonly reviewFrictionWarnCount: import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>;
|
|
113
116
|
readonly reviewFrictionBlockCount: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../../src/routes/workspace-settings.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../../src/routes/workspace-settings.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1C,CAAA"}
|
|
@@ -1539,6 +1539,17 @@ export declare const createWorkspaceContract: {
|
|
|
1539
1539
|
readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1540
1540
|
}, undefined>, undefined>;
|
|
1541
1541
|
}, undefined>, undefined>;
|
|
1542
|
+
readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
|
|
1543
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
1544
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
1545
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
1546
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
1547
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
1548
|
+
}, undefined>, undefined>;
|
|
1549
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
1550
|
+
readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1551
|
+
readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1552
|
+
}, undefined>, undefined>;
|
|
1542
1553
|
}, undefined>, undefined>;
|
|
1543
1554
|
readonly bootstrapJobs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1544
1555
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -2937,6 +2948,7 @@ export declare const createWorkspaceContract: {
|
|
|
2937
2948
|
readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
|
|
2938
2949
|
readonly kaizenEnabled: v.BooleanSchema<undefined>;
|
|
2939
2950
|
readonly delegateAgentsToRunnerPool: v.BooleanSchema<undefined>;
|
|
2951
|
+
readonly inputGateMode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
2940
2952
|
readonly reviewFrictionMode: v.PicklistSchema<["off", "warn", "enforce"], undefined>;
|
|
2941
2953
|
readonly reviewFrictionWarnCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>;
|
|
2942
2954
|
readonly reviewFrictionBlockCount: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
@@ -2977,6 +2989,7 @@ export declare const createWorkspaceContract: {
|
|
|
2977
2989
|
readonly icon: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
2978
2990
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
2979
2991
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
2992
|
+
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
2980
2993
|
}, undefined>;
|
|
2981
2994
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2982
2995
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -2992,6 +3005,7 @@ export declare const createWorkspaceContract: {
|
|
|
2992
3005
|
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>, undefined>;
|
|
2993
3006
|
}, undefined>, undefined>, undefined>;
|
|
2994
3007
|
readonly defaultPipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3008
|
+
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
2995
3009
|
readonly formPanel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
2996
3010
|
}, undefined>, undefined>, undefined>;
|
|
2997
3011
|
readonly binaryGenerators: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -4784,6 +4798,17 @@ export declare const getWorkspaceContract: {
|
|
|
4784
4798
|
readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
4785
4799
|
}, undefined>, undefined>;
|
|
4786
4800
|
}, undefined>, undefined>;
|
|
4801
|
+
readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
|
|
4802
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
4803
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
4804
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
4805
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
4806
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
4807
|
+
}, undefined>, undefined>;
|
|
4808
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
4809
|
+
readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4810
|
+
readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
4811
|
+
}, undefined>, undefined>;
|
|
4787
4812
|
}, undefined>, undefined>;
|
|
4788
4813
|
readonly bootstrapJobs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4789
4814
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -6182,6 +6207,7 @@ export declare const getWorkspaceContract: {
|
|
|
6182
6207
|
readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
|
|
6183
6208
|
readonly kaizenEnabled: v.BooleanSchema<undefined>;
|
|
6184
6209
|
readonly delegateAgentsToRunnerPool: v.BooleanSchema<undefined>;
|
|
6210
|
+
readonly inputGateMode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
6185
6211
|
readonly reviewFrictionMode: v.PicklistSchema<["off", "warn", "enforce"], undefined>;
|
|
6186
6212
|
readonly reviewFrictionWarnCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>;
|
|
6187
6213
|
readonly reviewFrictionBlockCount: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
@@ -6222,6 +6248,7 @@ export declare const getWorkspaceContract: {
|
|
|
6222
6248
|
readonly icon: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6223
6249
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
6224
6250
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
6251
|
+
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
6225
6252
|
}, undefined>;
|
|
6226
6253
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6227
6254
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -6237,6 +6264,7 @@ export declare const getWorkspaceContract: {
|
|
|
6237
6264
|
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>, undefined>;
|
|
6238
6265
|
}, undefined>, undefined>, undefined>;
|
|
6239
6266
|
readonly defaultPipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6267
|
+
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
6240
6268
|
readonly formPanel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
6241
6269
|
}, undefined>, undefined>, undefined>;
|
|
6242
6270
|
readonly binaryGenerators: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -1477,6 +1477,17 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1477
1477
|
readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1478
1478
|
}, undefined>, undefined>;
|
|
1479
1479
|
}, undefined>, undefined>;
|
|
1480
|
+
readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
|
|
1481
|
+
readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
|
|
1482
|
+
readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
1483
|
+
readonly issues: v.ArraySchema<v.ObjectSchema<{
|
|
1484
|
+
readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing"], undefined>;
|
|
1485
|
+
readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
|
|
1486
|
+
}, undefined>, undefined>;
|
|
1487
|
+
readonly checkedAt: v.NumberSchema<undefined>;
|
|
1488
|
+
readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1489
|
+
readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1490
|
+
}, undefined>, undefined>;
|
|
1480
1491
|
}, undefined>, undefined>;
|
|
1481
1492
|
/**
|
|
1482
1493
|
* Bootstrap runs for this workspace (the unified `agent_runs` table's bootstrap
|
|
@@ -2998,6 +3009,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2998
3009
|
readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
|
|
2999
3010
|
readonly kaizenEnabled: v.BooleanSchema<undefined>;
|
|
3000
3011
|
readonly delegateAgentsToRunnerPool: v.BooleanSchema<undefined>;
|
|
3012
|
+
readonly inputGateMode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
|
|
3001
3013
|
readonly reviewFrictionMode: v.PicklistSchema<["off", "warn", "enforce"], undefined>;
|
|
3002
3014
|
readonly reviewFrictionWarnCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>;
|
|
3003
3015
|
readonly reviewFrictionBlockCount: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
@@ -3060,6 +3072,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3060
3072
|
readonly icon: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3061
3073
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
3062
3074
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
3075
|
+
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
3063
3076
|
}, undefined>;
|
|
3064
3077
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3065
3078
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
@@ -3075,6 +3088,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3075
3088
|
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10000, undefined>]>, undefined>;
|
|
3076
3089
|
}, undefined>, undefined>, undefined>;
|
|
3077
3090
|
readonly defaultPipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3091
|
+
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
3078
3092
|
readonly formPanel: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>, undefined>;
|
|
3079
3093
|
}, undefined>, undefined>, undefined>;
|
|
3080
3094
|
/**
|