@cat-factory/contracts 0.284.0 → 0.286.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.
Files changed (87) hide show
  1. package/dist/agent-presentation.d.ts +32 -2
  2. package/dist/agent-presentation.d.ts.map +1 -1
  3. package/dist/agent-presentation.js +15 -0
  4. package/dist/agent-presentation.js.map +1 -1
  5. package/dist/binary-candidates.d.ts +261 -0
  6. package/dist/binary-candidates.d.ts.map +1 -0
  7. package/dist/binary-candidates.js +202 -0
  8. package/dist/binary-candidates.js.map +1 -0
  9. package/dist/binary-capabilities.d.ts +393 -0
  10. package/dist/binary-capabilities.d.ts.map +1 -0
  11. package/dist/binary-capabilities.js +465 -0
  12. package/dist/binary-capabilities.js.map +1 -0
  13. package/dist/binary-generators.d.ts +27 -0
  14. package/dist/binary-generators.d.ts.map +1 -1
  15. package/dist/binary-generators.js +28 -0
  16. package/dist/binary-generators.js.map +1 -1
  17. package/dist/binary-modalities.d.ts +18 -0
  18. package/dist/binary-modalities.d.ts.map +1 -1
  19. package/dist/binary-modalities.js +28 -0
  20. package/dist/binary-modalities.js.map +1 -1
  21. package/dist/binary-outputs.d.ts +69 -0
  22. package/dist/binary-outputs.d.ts.map +1 -1
  23. package/dist/binary-outputs.js +46 -0
  24. package/dist/binary-outputs.js.map +1 -1
  25. package/dist/build-ladder.d.ts +37 -0
  26. package/dist/build-ladder.d.ts.map +1 -0
  27. package/dist/build-ladder.js +46 -0
  28. package/dist/build-ladder.js.map +1 -0
  29. package/dist/entities.d.ts +49 -0
  30. package/dist/entities.d.ts.map +1 -1
  31. package/dist/entities.js +26 -0
  32. package/dist/entities.js.map +1 -1
  33. package/dist/execution.d.ts +136 -6
  34. package/dist/execution.d.ts.map +1 -1
  35. package/dist/execution.js +30 -3
  36. package/dist/execution.js.map +1 -1
  37. package/dist/index.d.ts +5 -0
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +5 -0
  40. package/dist/index.js.map +1 -1
  41. package/dist/platform-agent-kinds.d.ts +19 -0
  42. package/dist/platform-agent-kinds.d.ts.map +1 -0
  43. package/dist/platform-agent-kinds.js +30 -0
  44. package/dist/platform-agent-kinds.js.map +1 -0
  45. package/dist/requests.d.ts +27 -0
  46. package/dist/requests.d.ts.map +1 -1
  47. package/dist/requests.js +10 -0
  48. package/dist/requests.js.map +1 -1
  49. package/dist/result-views.d.ts +1 -1
  50. package/dist/result-views.d.ts.map +1 -1
  51. package/dist/result-views.js +1 -0
  52. package/dist/result-views.js.map +1 -1
  53. package/dist/routes/agent-runs.d.ts +84 -0
  54. package/dist/routes/agent-runs.d.ts.map +1 -1
  55. package/dist/routes/binaryCandidates.d.ts +139 -0
  56. package/dist/routes/binaryCandidates.d.ts.map +1 -0
  57. package/dist/routes/binaryCandidates.js +31 -0
  58. package/dist/routes/binaryCandidates.js.map +1 -0
  59. package/dist/routes/bug-hunt.d.ts +84 -0
  60. package/dist/routes/bug-hunt.d.ts.map +1 -1
  61. package/dist/routes/execution.d.ts +1523 -0
  62. package/dist/routes/execution.d.ts.map +1 -1
  63. package/dist/routes/execution.js +13 -1
  64. package/dist/routes/execution.js.map +1 -1
  65. package/dist/routes/human-review.d.ts +42 -0
  66. package/dist/routes/human-review.d.ts.map +1 -1
  67. package/dist/routes/human-test.d.ts +210 -0
  68. package/dist/routes/human-test.d.ts.map +1 -1
  69. package/dist/routes/index.d.ts +1 -0
  70. package/dist/routes/index.d.ts.map +1 -1
  71. package/dist/routes/index.js +1 -0
  72. package/dist/routes/index.js.map +1 -1
  73. package/dist/routes/pipelines.d.ts +70 -0
  74. package/dist/routes/pipelines.d.ts.map +1 -1
  75. package/dist/routes/visual-confirm.d.ts +126 -0
  76. package/dist/routes/visual-confirm.d.ts.map +1 -1
  77. package/dist/routes/workspaces.d.ts +108 -2
  78. package/dist/routes/workspaces.d.ts.map +1 -1
  79. package/dist/snapshot.d.ts +72 -9
  80. package/dist/snapshot.d.ts.map +1 -1
  81. package/dist/snapshot.js +18 -8
  82. package/dist/snapshot.js.map +1 -1
  83. package/dist/step-conditions.d.ts +98 -0
  84. package/dist/step-conditions.d.ts.map +1 -0
  85. package/dist/step-conditions.js +109 -0
  86. package/dist/step-conditions.js.map +1 -0
  87. package/package.json +1 -1
@@ -739,6 +739,1198 @@ export declare const startExecutionContract: {
739
739
  readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
740
740
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
741
741
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
742
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
743
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
744
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
745
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
746
+ }, undefined>, undefined>;
747
+ }, undefined>, undefined>;
748
+ readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
749
+ readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
750
+ readonly approvers: v.OptionalSchema<v.ObjectSchema<{
751
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
752
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
753
+ }, undefined>, undefined>;
754
+ readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
755
+ readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
756
+ }, undefined>, undefined>;
757
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
758
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
759
+ }, undefined>, undefined>;
760
+ }, undefined>, undefined>, undefined>;
761
+ readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
762
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
763
+ readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
764
+ readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
765
+ readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
766
+ readonly outputIsRendered: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
767
+ readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
768
+ readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
769
+ readonly subscriptionTokenId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
770
+ readonly initiatedByUserId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
771
+ readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
772
+ readonly fragmentAdherence: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
773
+ readonly fragmentId: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
774
+ readonly title: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
775
+ readonly rating: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
776
+ readonly assessment: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
777
+ readonly relatedFindings: v.SchemaWithFallback<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
778
+ }, undefined>, undefined>, undefined>;
779
+ readonly effortReport: v.OptionalSchema<v.ObjectSchema<{
780
+ readonly difficulty: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, 5>;
781
+ readonly summary: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
782
+ readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
783
+ readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
784
+ }, undefined>, undefined>;
785
+ readonly skillVersions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
786
+ readonly skillId: v.StringSchema<undefined>;
787
+ readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
788
+ readonly sha: v.StringSchema<undefined>;
789
+ }, undefined>, undefined>, undefined>;
790
+ readonly toolServers: v.OptionalSchema<v.ObjectSchema<{
791
+ readonly wired: v.ArraySchema<v.ObjectSchema<{
792
+ readonly id: v.StringSchema<undefined>;
793
+ readonly label: v.StringSchema<undefined>;
794
+ readonly transport: v.PicklistSchema<["stdio", "http"], undefined>;
795
+ readonly tools: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
796
+ }, undefined>, undefined>;
797
+ readonly unavailable: v.ArraySchema<v.ObjectSchema<{
798
+ readonly id: v.StringSchema<undefined>;
799
+ readonly label: v.StringSchema<undefined>;
800
+ readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
801
+ }, undefined>, undefined>;
802
+ readonly agentKind: v.StringSchema<undefined>;
803
+ readonly observed: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
804
+ readonly id: v.StringSchema<undefined>;
805
+ readonly status: v.PicklistSchema<["ready", "failed", "needs_auth", "unknown"], undefined>;
806
+ readonly toolCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
807
+ }, undefined>, undefined>, undefined>;
808
+ }, undefined>, undefined>;
809
+ readonly contextDocuments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
810
+ readonly title: v.StringSchema<undefined>;
811
+ readonly externalId: v.StringSchema<undefined>;
812
+ readonly url: v.StringSchema<undefined>;
813
+ readonly origin: v.PicklistSchema<["confluence", "notion", "github", "figma", "zeplin", "linear", "upload"], undefined>;
814
+ readonly freshness: v.OptionalSchema<v.VariantSchema<"status", [v.ObjectSchema<{
815
+ readonly status: v.LiteralSchema<"confirmed", undefined>;
816
+ readonly version: v.StringSchema<undefined>;
817
+ readonly change: v.PicklistSchema<["unchanged", "reimported", "revision_only"], undefined>;
818
+ }, undefined>, v.ObjectSchema<{
819
+ readonly status: v.LiteralSchema<"not-applicable", undefined>;
820
+ }, undefined>, v.ObjectSchema<{
821
+ readonly status: v.LiteralSchema<"unconfirmed", undefined>;
822
+ readonly reason: v.PicklistSchema<["not_connected", "credentials_unreadable", "unversioned", "source_unreachable"], undefined>;
823
+ }, undefined>], undefined>, undefined>;
824
+ }, undefined>, undefined>, undefined>;
825
+ readonly promptRevision: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
826
+ readonly promptVariant: v.OptionalSchema<v.ObjectSchema<{
827
+ readonly id: v.StringSchema<undefined>;
828
+ readonly applied: v.PicklistSchema<["full", "addition-only", "superseded", "withdrawn"], undefined>;
829
+ readonly fingerprint: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
830
+ }, undefined>, undefined>;
831
+ readonly foundationalServices: v.OptionalSchema<v.ObjectSchema<{
832
+ readonly declared: v.ArraySchema<v.StringSchema<undefined>, undefined>;
833
+ readonly unknown: v.ArraySchema<v.StringSchema<undefined>, undefined>;
834
+ }, undefined>, undefined>;
835
+ readonly binaryOutputs: v.OptionalSchema<v.ObjectSchema<{
836
+ readonly stored: v.ArraySchema<v.ObjectSchema<{
837
+ readonly service: v.StringSchema<undefined>;
838
+ readonly location: v.StringSchema<undefined>;
839
+ readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
840
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
841
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
842
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
843
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
844
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
845
+ }, undefined>, undefined>;
846
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
847
+ readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
848
+ }, undefined>, undefined>;
849
+ readonly unknownServices: v.ArraySchema<v.StringSchema<undefined>, undefined>;
850
+ readonly unknownGenerators: v.ArraySchema<v.StringSchema<undefined>, undefined>;
851
+ readonly generatorsUnverified: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
852
+ readonly invalidEntries: v.NumberSchema<undefined>;
853
+ readonly omitted: v.NumberSchema<undefined>;
854
+ readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
855
+ readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
856
+ }, undefined>, undefined>;
857
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
858
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
859
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
860
+ readonly id: v.StringSchema<undefined>;
861
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
862
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
863
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
864
+ readonly service: v.StringSchema<undefined>;
865
+ readonly location: v.StringSchema<undefined>;
866
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
867
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
868
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
869
+ }, undefined>, undefined>, readonly []>;
870
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
871
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
872
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
873
+ readonly candidateId: v.StringSchema<undefined>;
874
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
875
+ }, undefined>, undefined>;
876
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
877
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
878
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
879
+ readonly at: v.NumberSchema<undefined>;
880
+ }, undefined>, undefined>, undefined>;
881
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
882
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
883
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
884
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
885
+ }, undefined>, undefined>, undefined>;
886
+ readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
887
+ readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
888
+ readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
889
+ readonly firstStartedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
890
+ readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
891
+ readonly dispatches: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
892
+ readonly agentKind: v.StringSchema<undefined>;
893
+ readonly count: v.NumberSchema<undefined>;
894
+ }, undefined>, undefined>, undefined>;
895
+ readonly lastActivityAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
896
+ readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
897
+ readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
898
+ readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
899
+ readonly firstEvictionDetail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
900
+ readonly deployProvisioning: v.OptionalSchema<v.ObjectSchema<{
901
+ readonly type: v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>;
902
+ readonly manifestSource: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
903
+ readonly type: v.LiteralSchema<"colocated", undefined>;
904
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
905
+ readonly renderer: v.OptionalSchema<v.PicklistSchema<["raw", "kustomize"], undefined>, undefined>;
906
+ }, undefined>, v.ObjectSchema<{
907
+ readonly type: v.LiteralSchema<"separate", undefined>;
908
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
909
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>]>, undefined>;
910
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
911
+ readonly renderer: v.OptionalSchema<v.PicklistSchema<["raw", "kustomize"], undefined>, undefined>;
912
+ }, undefined>], undefined>, undefined>;
913
+ readonly composePath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
914
+ readonly localDevOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
915
+ readonly composeBuild: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
916
+ readonly recipe: v.OptionalSchema<v.ObjectSchema<{
917
+ readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, v.VariantSchema<"kind", [v.ObjectSchema<{
918
+ readonly kind: v.LiteralSchema<"path", undefined>;
919
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
920
+ }, undefined>, v.ObjectSchema<{
921
+ readonly kind: v.LiteralSchema<"inline", undefined>;
922
+ readonly content: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 262144, undefined>]>;
923
+ readonly path: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
924
+ }, undefined>, v.ObjectSchema<{
925
+ readonly kind: v.LiteralSchema<"repo", undefined>;
926
+ readonly repo: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>;
927
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
928
+ readonly ref: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
929
+ readonly provider: v.OptionalSchema<v.PicklistSchema<["github", "gitlab"], undefined>, undefined>;
930
+ }, undefined>], undefined>], undefined>, undefined>, v.MinLengthAction<(string | {
931
+ kind: "path";
932
+ path: string;
933
+ } | {
934
+ kind: "inline";
935
+ content: string;
936
+ path?: string | undefined;
937
+ } | {
938
+ kind: "repo";
939
+ repo: string;
940
+ path: string;
941
+ ref?: string | undefined;
942
+ provider?: "github" | "gitlab" | undefined;
943
+ })[], 1, undefined>]>, undefined>;
944
+ readonly composeProfiles: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
945
+ readonly envFiles: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
946
+ readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
947
+ readonly target: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
948
+ }, undefined>, undefined>, undefined>;
949
+ readonly externalNetworks: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
950
+ readonly sharedStackRefs: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
951
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
952
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
953
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
954
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
955
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
956
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
957
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
958
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
959
+ readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
960
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
961
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
962
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
963
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
964
+ }, undefined>, undefined>;
965
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
966
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
967
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
968
+ }, undefined>, undefined>, undefined>;
969
+ readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
970
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
971
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
972
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
973
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
974
+ readonly stdinFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
975
+ readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
976
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
977
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
978
+ }, undefined>, v.ObjectSchema<{
979
+ readonly kind: v.LiteralSchema<"copy-file", undefined>;
980
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
981
+ readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
982
+ readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
983
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
984
+ }, undefined>, v.ObjectSchema<{
985
+ readonly kind: v.LiteralSchema<"wait-http", undefined>;
986
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
987
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
988
+ readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
989
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
990
+ readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
991
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
992
+ }, undefined>, v.ObjectSchema<{
993
+ readonly kind: v.LiteralSchema<"wait-file", undefined>;
994
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
995
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
996
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
997
+ readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
998
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
999
+ }, undefined>, v.ObjectSchema<{
1000
+ readonly kind: v.LiteralSchema<"host-command", undefined>;
1001
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
1002
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1003
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1004
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
1005
+ }, undefined>], undefined>, undefined>, undefined>;
1006
+ readonly healthGate: v.OptionalSchema<v.VariantSchema<"kind", [v.ObjectSchema<{
1007
+ readonly kind: v.LiteralSchema<"compose-healthy", undefined>;
1008
+ }, undefined>, v.ObjectSchema<{
1009
+ readonly kind: v.LiteralSchema<"http", undefined>;
1010
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1011
+ readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
1012
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1013
+ readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
1014
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
1015
+ }, undefined>, v.ObjectSchema<{
1016
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
1017
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1018
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1019
+ readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
1020
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
1021
+ }, undefined>], undefined>, undefined>;
1022
+ readonly teardownSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
1023
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
1024
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
1025
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1026
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1027
+ readonly stdinFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1028
+ readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1029
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1030
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
1031
+ }, undefined>, v.ObjectSchema<{
1032
+ readonly kind: v.LiteralSchema<"copy-file", undefined>;
1033
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
1034
+ readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1035
+ readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1036
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
1037
+ }, undefined>, v.ObjectSchema<{
1038
+ readonly kind: v.LiteralSchema<"wait-http", undefined>;
1039
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
1040
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
1041
+ readonly expectStatus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 100, undefined>, v.MaxValueAction<number, 599, undefined>]>, undefined>;
1042
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1043
+ readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
1044
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
1045
+ }, undefined>, v.ObjectSchema<{
1046
+ readonly kind: v.LiteralSchema<"wait-file", undefined>;
1047
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
1048
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1049
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
1050
+ readonly intervalMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 250, undefined>, v.MaxValueAction<number, 60000, undefined>]>, undefined>;
1051
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
1052
+ }, undefined>, v.ObjectSchema<{
1053
+ readonly kind: v.LiteralSchema<"host-command", undefined>;
1054
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
1055
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
1056
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1057
+ readonly timeoutMs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1000, undefined>, v.MaxValueAction<number, 3600000, undefined>]>, undefined>;
1058
+ }, undefined>], undefined>, undefined>, undefined>;
1059
+ }, undefined>, undefined>;
1060
+ readonly manifestId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
1061
+ readonly manifestPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1062
+ readonly images: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1063
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1064
+ readonly newNameTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1065
+ readonly newTagTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1066
+ readonly digestTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1067
+ }, undefined>, v.CheckAction<{
1068
+ name: string;
1069
+ newNameTemplate?: string | undefined;
1070
+ newTagTemplate?: string | undefined;
1071
+ digestTemplate?: string | undefined;
1072
+ }, "an image override must set at least one of newNameTemplate, newTagTemplate, or digestTemplate.">, v.CheckAction<{
1073
+ name: string;
1074
+ newNameTemplate?: string | undefined;
1075
+ newTagTemplate?: string | undefined;
1076
+ digestTemplate?: string | undefined;
1077
+ }, "newTagTemplate and digestTemplate are mutually exclusive on an image override.">]>, undefined>, undefined>;
1078
+ readonly helmReleases: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1079
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1080
+ readonly chart: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1081
+ readonly repo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1082
+ readonly version: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "version must be a pinned semver (e.g. 1.2.3), not a floating tag like latest or ^1.0.">]>;
1083
+ readonly namespaceTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1084
+ readonly values: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
1085
+ readonly set: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1086
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1087
+ readonly valueTemplate: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 2000, undefined>]>;
1088
+ }, undefined>, undefined>, undefined>;
1089
+ readonly valuesSecretRefs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1090
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1091
+ readonly secretRef: v.ObjectSchema<{
1092
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
1093
+ }, undefined>;
1094
+ }, undefined>, undefined>, undefined>;
1095
+ readonly scope: v.OptionalSchema<v.PicklistSchema<["per-environment", "shared"], undefined>, undefined>;
1096
+ }, undefined>, undefined>, undefined>;
1097
+ readonly secretInjections: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"mode", [v.ObjectSchema<{
1098
+ readonly mode: v.LiteralSchema<"secret", undefined>;
1099
+ readonly secretName: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1100
+ readonly secretType: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
1101
+ readonly entries: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1102
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 256, undefined>]>;
1103
+ readonly secretRef: v.OptionalSchema<v.ObjectSchema<{
1104
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
1105
+ }, undefined>, undefined>;
1106
+ readonly valueTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1107
+ }, undefined>, v.CheckAction<{
1108
+ key: string;
1109
+ secretRef?: {
1110
+ key: string;
1111
+ } | undefined;
1112
+ valueTemplate?: string | undefined;
1113
+ }, "a secret entry must set exactly one of secretRef or valueTemplate.">]>, undefined>;
1114
+ }, undefined>, v.ObjectSchema<{
1115
+ readonly mode: v.LiteralSchema<"generatorEnvFile", undefined>;
1116
+ readonly envFilePath: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
1117
+ readonly entries: v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1118
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 256, undefined>]>;
1119
+ readonly secretRef: v.OptionalSchema<v.ObjectSchema<{
1120
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>;
1121
+ }, undefined>, undefined>;
1122
+ readonly valueTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1123
+ }, undefined>, v.CheckAction<{
1124
+ key: string;
1125
+ secretRef?: {
1126
+ key: string;
1127
+ } | undefined;
1128
+ valueTemplate?: string | undefined;
1129
+ }, "a secret entry must set exactly one of secretRef or valueTemplate.">]>, undefined>;
1130
+ }, undefined>], undefined>, undefined>, undefined>;
1131
+ }, undefined>, undefined>;
1132
+ readonly deployEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
1133
+ readonly status: v.PicklistSchema<["ready", "failed", "skipped"], undefined>;
1134
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1135
+ readonly environmentId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1136
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1137
+ }, undefined>, undefined>, undefined>;
1138
+ readonly deployFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1139
+ readonly deployPrimaryFrameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1140
+ readonly disposeEnvs: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
1141
+ readonly status: v.PicklistSchema<["reclaimed", "failed", "none"], undefined>;
1142
+ readonly environmentId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1143
+ readonly confirmation: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["confirmed", "still_standing", "unverifiable", "unconfirmed"], undefined>, undefined>, undefined>;
1144
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1145
+ }, undefined>, undefined>, undefined>;
1146
+ }, undefined>, undefined>;
1147
+ readonly currentStep: v.NumberSchema<undefined>;
1148
+ readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
1149
+ readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1150
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1151
+ readonly message: v.StringSchema<undefined>;
1152
+ readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1153
+ readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1154
+ readonly reason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1155
+ readonly occurredAt: v.NumberSchema<undefined>;
1156
+ readonly lastSubtasks: v.NullableSchema<v.ObjectSchema<{
1157
+ readonly completed: v.NumberSchema<undefined>;
1158
+ readonly inProgress: v.NumberSchema<undefined>;
1159
+ readonly total: v.NumberSchema<undefined>;
1160
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1161
+ readonly label: v.StringSchema<undefined>;
1162
+ readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1163
+ }, undefined>, undefined>, undefined>;
1164
+ }, undefined>, undefined>;
1165
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1166
+ }, undefined>, undefined>, undefined>;
1167
+ readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1168
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
1169
+ readonly message: v.StringSchema<undefined>;
1170
+ readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1171
+ readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1172
+ readonly reason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1173
+ readonly occurredAt: v.NumberSchema<undefined>;
1174
+ readonly lastSubtasks: v.NullableSchema<v.ObjectSchema<{
1175
+ readonly completed: v.NumberSchema<undefined>;
1176
+ readonly inProgress: v.NumberSchema<undefined>;
1177
+ readonly total: v.NumberSchema<undefined>;
1178
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1179
+ readonly label: v.StringSchema<undefined>;
1180
+ readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1181
+ }, undefined>, undefined>, undefined>;
1182
+ }, undefined>, undefined>;
1183
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1184
+ }, undefined>, undefined>, undefined>;
1185
+ readonly outputHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1186
+ readonly stepIndex: v.NumberSchema<undefined>;
1187
+ readonly occurredAt: v.NumberSchema<undefined>;
1188
+ readonly output: v.StringSchema<undefined>;
1189
+ readonly truncated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1190
+ }, undefined>, undefined>, undefined>;
1191
+ readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1192
+ readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1193
+ readonly envVar: v.StringSchema<undefined>;
1194
+ readonly serviceUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1195
+ }, undefined>, undefined>, undefined>;
1196
+ readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1197
+ readonly initiatedByRole: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
1198
+ readonly initiatedByExternalIdentity: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1199
+ readonly mode: v.OptionalSchema<v.PicklistSchema<["live", "dry_run"], undefined>, undefined>;
1200
+ readonly intakeOrigin: v.OptionalSchema<v.PicklistSchema<["ui", "public-api", "tracker", "schedule"], undefined>, undefined>;
1201
+ readonly createdAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1202
+ readonly rev: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1203
+ readonly diagnostics: v.OptionalSchema<v.ObjectSchema<{
1204
+ readonly lastDispatch: v.OptionalSchema<v.ObjectSchema<{
1205
+ readonly stepIndex: v.NumberSchema<undefined>;
1206
+ readonly agentKind: v.StringSchema<undefined>;
1207
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1208
+ readonly executionBackend: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1209
+ readonly failure: v.OptionalSchema<v.ObjectSchema<{
1210
+ readonly kind: v.StringSchema<undefined>;
1211
+ readonly reason: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1212
+ readonly at: v.NumberSchema<undefined>;
1213
+ }, undefined>, undefined>;
1214
+ readonly repo: v.OptionalSchema<v.ObjectSchema<{
1215
+ readonly owner: v.StringSchema<undefined>;
1216
+ readonly name: v.StringSchema<undefined>;
1217
+ readonly baseBranch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1218
+ readonly provider: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1219
+ }, undefined>, undefined>;
1220
+ readonly at: v.NumberSchema<undefined>;
1221
+ }, undefined>, undefined>;
1222
+ readonly host: v.OptionalSchema<v.ObjectSchema<{
1223
+ readonly platform: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1224
+ }, undefined>, undefined>;
1225
+ }, undefined>, undefined>;
1226
+ readonly inputGate: v.OptionalSchema<v.ObjectSchema<{
1227
+ readonly status: v.PicklistSchema<["off", "not_applicable", "passed", "blocked", "overridden"], undefined>;
1228
+ readonly mode: v.PicklistSchema<["standard", "advisory", "off"], undefined>;
1229
+ readonly issues: v.ArraySchema<v.ObjectSchema<{
1230
+ readonly code: v.PicklistSchema<readonly ["description_missing", "description_placeholder", "description_thin", "reproduction_missing", "review_target_missing", "success_criteria_missing", "required_field_missing"], undefined>;
1231
+ readonly severity: v.PicklistSchema<["blocking", "advisory"], undefined>;
1232
+ readonly field: v.OptionalSchema<v.ObjectSchema<{
1233
+ readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1234
+ readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
1235
+ }, undefined>, undefined>;
1236
+ }, undefined>, undefined>;
1237
+ readonly checkedAt: v.NumberSchema<undefined>;
1238
+ readonly overriddenBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1239
+ readonly overriddenAt: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1240
+ }, undefined>, undefined>;
1241
+ }, undefined>;
1242
+ };
1243
+ };
1244
+ /**
1245
+ * The single-kind run door. A path of its own rather than a variant body on
1246
+ * `startExecutionContract`, matching the split in the request schemas: what is being started is a
1247
+ * different KIND of thing, and the response is the same ordinary run either way.
1248
+ */
1249
+ export declare const startAgentKindExecutionContract: {
1250
+ readonly method: "post";
1251
+ readonly requestPathParamsSchema: v.ObjectSchema<{
1252
+ blockId: v.StringSchema<undefined>;
1253
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
1254
+ readonly pathResolver: ({ blockId }: {
1255
+ blockId: string;
1256
+ }) => string;
1257
+ readonly requestBodySchema: v.ObjectSchema<{
1258
+ readonly agentKind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
1259
+ }, undefined>;
1260
+ readonly responsesByStatusCode: {
1261
+ readonly '4xx': v.ObjectSchema<{
1262
+ readonly error: v.ObjectSchema<{
1263
+ readonly code: v.StringSchema<undefined>;
1264
+ readonly message: v.StringSchema<undefined>;
1265
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1266
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1267
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1268
+ readonly message: v.StringSchema<undefined>;
1269
+ }, undefined>, undefined>, undefined>;
1270
+ }, undefined>;
1271
+ }, undefined>;
1272
+ readonly '5xx': v.ObjectSchema<{
1273
+ readonly error: v.ObjectSchema<{
1274
+ readonly code: v.StringSchema<undefined>;
1275
+ readonly message: v.StringSchema<undefined>;
1276
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
1277
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1278
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1279
+ readonly message: v.StringSchema<undefined>;
1280
+ }, undefined>, undefined>, undefined>;
1281
+ }, undefined>;
1282
+ }, undefined>;
1283
+ readonly 201: v.ObjectSchema<{
1284
+ readonly id: v.StringSchema<undefined>;
1285
+ readonly blockId: v.StringSchema<undefined>;
1286
+ readonly pipelineId: v.StringSchema<undefined>;
1287
+ readonly pipelineName: v.StringSchema<undefined>;
1288
+ readonly steps: v.ArraySchema<v.ObjectSchema<{
1289
+ readonly runId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1290
+ readonly agentKind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
1291
+ readonly state: v.PicklistSchema<["pending", "working", "waiting_decision", "done"], undefined>;
1292
+ readonly progress: v.NumberSchema<undefined>;
1293
+ readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1294
+ readonly calls: v.NumberSchema<undefined>;
1295
+ readonly promptTokens: v.NumberSchema<undefined>;
1296
+ readonly cacheReadTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1297
+ readonly cacheWriteTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1298
+ readonly completionTokens: v.NumberSchema<undefined>;
1299
+ readonly peakCompletionTokens: v.NumberSchema<undefined>;
1300
+ readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
1301
+ readonly truncatedCalls: v.NumberSchema<undefined>;
1302
+ readonly upstreamMs: v.NumberSchema<undefined>;
1303
+ readonly overheadMs: v.NumberSchema<undefined>;
1304
+ readonly errors: v.NumberSchema<undefined>;
1305
+ readonly warnings: v.NumberSchema<undefined>;
1306
+ readonly carryCostTokens: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1307
+ readonly costEstimate: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1308
+ readonly costCurrency: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1309
+ readonly byPhase: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1310
+ readonly phase: v.StringSchema<undefined>;
1311
+ readonly calls: v.NumberSchema<undefined>;
1312
+ readonly promptTokens: v.NumberSchema<undefined>;
1313
+ readonly cacheReadTokens: v.NumberSchema<undefined>;
1314
+ readonly cacheWriteTokens: v.NumberSchema<undefined>;
1315
+ readonly completionTokens: v.NumberSchema<undefined>;
1316
+ readonly carryCostTokens: v.NumberSchema<undefined>;
1317
+ readonly errors: v.NumberSchema<undefined>;
1318
+ readonly costEstimate: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1319
+ }, undefined>, undefined>, undefined>;
1320
+ }, undefined>, undefined>, undefined>;
1321
+ readonly gate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1322
+ readonly phase: v.PicklistSchema<["checking", "working"], undefined>;
1323
+ readonly attempts: v.NumberSchema<undefined>;
1324
+ readonly maxAttempts: v.NumberSchema<undefined>;
1325
+ readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1326
+ readonly headShas: v.OptionalSchema<v.NullableSchema<v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>, undefined>, undefined>;
1327
+ readonly conflictTarget: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1328
+ readonly repo: v.StringSchema<undefined>;
1329
+ readonly frameId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1330
+ readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1331
+ }, undefined>, undefined>, undefined>;
1332
+ readonly lastVerdict: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
1333
+ readonly config: v.OptionalSchema<v.NullableSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>, undefined>;
1334
+ readonly lastFailureSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1335
+ readonly failingChecks: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1336
+ readonly name: v.StringSchema<undefined>;
1337
+ readonly conclusion: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1338
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1339
+ readonly repo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1340
+ }, undefined>, undefined>, undefined>, undefined>;
1341
+ readonly lastDispatchedInstructions: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1342
+ readonly watchSince: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1343
+ readonly watchWindowMinutes: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1344
+ readonly regressedSignals: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1345
+ readonly kind: v.PicklistSchema<["monitor", "slo"], undefined>;
1346
+ readonly id: v.StringSchema<undefined>;
1347
+ readonly name: v.StringSchema<undefined>;
1348
+ readonly state: v.PicklistSchema<["ok", "warn", "alert", "no_data"], undefined>;
1349
+ readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1350
+ }, undefined>, undefined>, undefined>, undefined>;
1351
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1352
+ readonly attempt: v.NumberSchema<undefined>;
1353
+ readonly at: v.NumberSchema<undefined>;
1354
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
1355
+ readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1356
+ readonly instructions: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1357
+ readonly failingChecks: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1358
+ readonly name: v.StringSchema<undefined>;
1359
+ readonly conclusion: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1360
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1361
+ readonly repo: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1362
+ }, undefined>, undefined>, undefined>, undefined>;
1363
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1364
+ }, undefined>, undefined>, undefined>, undefined>;
1365
+ readonly lastApprovals: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1366
+ readonly requiredApprovingReviewCount: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1367
+ readonly pendingThreadIds: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
1368
+ readonly lastAddressedCommentAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1369
+ readonly humanReviewGraceMinutes: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1370
+ readonly pendingFix: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1371
+ readonly instructions: v.StringSchema<undefined>;
1372
+ readonly at: v.NumberSchema<undefined>;
1373
+ }, undefined>, undefined>, undefined>;
1374
+ }, undefined>, undefined>, undefined>;
1375
+ readonly test: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1376
+ readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
1377
+ readonly attempts: v.NumberSchema<undefined>;
1378
+ readonly maxAttempts: v.NumberSchema<undefined>;
1379
+ readonly lastReport: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1380
+ readonly greenlight: v.BooleanSchema<undefined>;
1381
+ readonly summary: v.StringSchema<undefined>;
1382
+ readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1383
+ readonly outcomes: v.ArraySchema<v.ObjectSchema<{
1384
+ readonly name: v.StringSchema<undefined>;
1385
+ readonly status: v.PicklistSchema<["passed", "failed", "skipped"], undefined>;
1386
+ readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1387
+ }, undefined>, undefined>;
1388
+ readonly concerns: v.ArraySchema<v.ObjectSchema<{
1389
+ readonly title: v.StringSchema<undefined>;
1390
+ readonly detail: v.StringSchema<undefined>;
1391
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
1392
+ }, undefined>, undefined>;
1393
+ readonly requirementVerdicts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1394
+ readonly requirementId: v.StringSchema<undefined>;
1395
+ readonly status: v.PicklistSchema<["met", "not_met", "not_covered"], undefined>;
1396
+ readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1397
+ }, undefined>, undefined>, undefined>;
1398
+ readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
1399
+ readonly screenshots: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1400
+ readonly view: v.StringSchema<undefined>;
1401
+ readonly artifactId: v.StringSchema<undefined>;
1402
+ readonly hash: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1403
+ readonly width: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1404
+ readonly height: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1405
+ readonly referenceArtifactId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1406
+ }, undefined>, undefined>, undefined>;
1407
+ readonly abort: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1408
+ readonly reason: v.StringSchema<undefined>;
1409
+ }, undefined>, undefined>, undefined>;
1410
+ }, undefined>, v.TransformAction<{
1411
+ greenlight: boolean;
1412
+ summary: string;
1413
+ tested: string[];
1414
+ outcomes: {
1415
+ name: string;
1416
+ status: "failed" | "passed" | "skipped";
1417
+ detail?: string | undefined;
1418
+ }[];
1419
+ concerns: {
1420
+ title: string;
1421
+ detail: string;
1422
+ severity: "critical" | "high" | "low" | "medium";
1423
+ }[];
1424
+ requirementVerdicts?: {
1425
+ requirementId: string;
1426
+ status: "met" | "not_covered" | "not_met";
1427
+ detail?: string | undefined;
1428
+ }[] | undefined;
1429
+ environment?: "ephemeral" | "local" | undefined;
1430
+ screenshots?: {
1431
+ view: string;
1432
+ artifactId: string;
1433
+ hash?: string | undefined;
1434
+ width?: number | undefined;
1435
+ height?: number | undefined;
1436
+ referenceArtifactId?: string | undefined;
1437
+ }[] | undefined;
1438
+ abort?: {
1439
+ reason: string;
1440
+ } | null | undefined;
1441
+ }, {
1442
+ greenlight: boolean;
1443
+ summary: string;
1444
+ tested: string[];
1445
+ outcomes: {
1446
+ name: string;
1447
+ status: "failed" | "passed" | "skipped";
1448
+ detail?: string | undefined;
1449
+ }[];
1450
+ concerns: {
1451
+ title: string;
1452
+ detail: string;
1453
+ severity: "critical" | "high" | "low" | "medium";
1454
+ }[];
1455
+ requirementVerdicts?: {
1456
+ requirementId: string;
1457
+ status: "met" | "not_covered" | "not_met";
1458
+ detail?: string | undefined;
1459
+ }[] | undefined;
1460
+ environment?: "ephemeral" | "local" | undefined;
1461
+ screenshots?: {
1462
+ view: string;
1463
+ artifactId: string;
1464
+ hash?: string | undefined;
1465
+ width?: number | undefined;
1466
+ height?: number | undefined;
1467
+ referenceArtifactId?: string | undefined;
1468
+ }[] | undefined;
1469
+ abort?: {
1470
+ reason: string;
1471
+ } | null | undefined;
1472
+ }>]>, undefined>, undefined>;
1473
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1474
+ readonly attempt: v.NumberSchema<undefined>;
1475
+ readonly at: v.NumberSchema<undefined>;
1476
+ readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
1477
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1478
+ readonly concerns: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1479
+ readonly title: v.StringSchema<undefined>;
1480
+ readonly detail: v.StringSchema<undefined>;
1481
+ readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
1482
+ }, undefined>, undefined>, undefined>, undefined>;
1483
+ }, undefined>, undefined>, undefined>, undefined>;
1484
+ readonly infraSetup: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1485
+ readonly started: v.BooleanSchema<undefined>;
1486
+ readonly composePath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1487
+ readonly at: v.NumberSchema<undefined>;
1488
+ readonly durationMs: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1489
+ readonly logs: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1490
+ readonly error: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1491
+ }, undefined>, undefined>, undefined>;
1492
+ }, undefined>, undefined>, undefined>;
1493
+ readonly testerQuality: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1494
+ readonly enabled: v.BooleanSchema<undefined>;
1495
+ readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1496
+ readonly maxAttempts: v.NumberSchema<undefined>;
1497
+ readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1498
+ readonly enabled: v.BooleanSchema<undefined>;
1499
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1500
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1501
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1502
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
1503
+ }, undefined>, undefined>, undefined>;
1504
+ readonly verdicts: v.ArraySchema<v.ObjectSchema<{
1505
+ readonly adequate: v.BooleanSchema<undefined>;
1506
+ readonly feedback: v.StringSchema<undefined>;
1507
+ readonly gaps: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1508
+ readonly at: v.NumberSchema<undefined>;
1509
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1510
+ }, undefined>, undefined>;
1511
+ readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1512
+ }, undefined>, undefined>, undefined>;
1513
+ readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1514
+ readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
1515
+ readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1516
+ readonly id: v.StringSchema<undefined>;
1517
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1518
+ readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
1519
+ readonly expiresAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1520
+ }, undefined>, undefined>, undefined>;
1521
+ readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1522
+ readonly attempts: v.NumberSchema<undefined>;
1523
+ readonly maxAttempts: v.NumberSchema<undefined>;
1524
+ readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1525
+ readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1526
+ readonly kind: v.PicklistSchema<["fix", "pull-main"], undefined>;
1527
+ readonly findings: v.StringSchema<undefined>;
1528
+ readonly helperKind: v.StringSchema<undefined>;
1529
+ readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1530
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
1531
+ readonly at: v.NumberSchema<undefined>;
1532
+ }, undefined>, undefined>, undefined>;
1533
+ readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1534
+ readonly type: v.PicklistSchema<["confirm", "request-fix", "pull-main", "recreate"], undefined>;
1535
+ readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1536
+ }, undefined>, undefined>, undefined>;
1537
+ }, undefined>, undefined>, undefined>;
1538
+ readonly visualConfirm: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1539
+ readonly phase: v.PicklistSchema<["awaiting_human", "fixing", "approved"], undefined>;
1540
+ readonly pairs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1541
+ readonly view: v.StringSchema<undefined>;
1542
+ readonly actualArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1543
+ readonly referenceArtifactId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1544
+ readonly referenceOrigin: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["upload", "design"], undefined>, undefined>, undefined>;
1545
+ }, undefined>, undefined>, undefined>;
1546
+ readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1547
+ readonly designReferences: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1548
+ readonly documents: v.NumberSchema<undefined>;
1549
+ readonly images: v.NumberSchema<undefined>;
1550
+ readonly dropped: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1551
+ readonly gaps: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1552
+ readonly title: v.StringSchema<undefined>;
1553
+ readonly reason: v.NullableSchema<v.PicklistSchema<["partial", "failed", "none", "storage_unavailable", "not_retained"], undefined>, undefined>;
1554
+ readonly dropped: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1555
+ }, undefined>, undefined>, undefined>;
1556
+ }, undefined>, undefined>, undefined>;
1557
+ readonly attempts: v.NumberSchema<undefined>;
1558
+ readonly maxAttempts: v.NumberSchema<undefined>;
1559
+ readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1560
+ readonly findings: v.StringSchema<undefined>;
1561
+ readonly helperKind: v.StringSchema<undefined>;
1562
+ readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1563
+ readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
1564
+ readonly at: v.NumberSchema<undefined>;
1565
+ }, undefined>, undefined>, undefined>;
1566
+ readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1567
+ readonly type: v.PicklistSchema<["approve", "request-fix", "recapture"], undefined>;
1568
+ readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1569
+ }, undefined>, undefined>, undefined>;
1570
+ }, undefined>, undefined>, undefined>;
1571
+ readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1572
+ readonly id: v.StringSchema<undefined>;
1573
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1574
+ readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
1575
+ readonly expiresAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1576
+ readonly lastError: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1577
+ readonly provisionType: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>, undefined>;
1578
+ readonly engine: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["local-docker", "local-k3s", "remote-kubernetes", "cloudflare", "remote-custom", "none"], undefined>, undefined>, undefined>;
1579
+ }, undefined>, undefined>, undefined>;
1580
+ readonly subtasks: v.OptionalSchema<v.ObjectSchema<{
1581
+ readonly completed: v.NumberSchema<undefined>;
1582
+ readonly inProgress: v.NumberSchema<undefined>;
1583
+ readonly total: v.NumberSchema<undefined>;
1584
+ readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1585
+ readonly label: v.StringSchema<undefined>;
1586
+ readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1587
+ }, undefined>, undefined>, undefined>;
1588
+ }, undefined>, undefined>;
1589
+ readonly container: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1590
+ readonly status: v.PicklistSchema<["starting", "up", "errored", "destroyed"], undefined>;
1591
+ readonly phase: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1592
+ readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1593
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1594
+ }, undefined>, undefined>, undefined>;
1595
+ readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1596
+ readonly available: v.BooleanSchema<undefined>;
1597
+ readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
1598
+ }, undefined>, undefined>, undefined>;
1599
+ readonly decision: v.NullableSchema<v.ObjectSchema<{
1600
+ readonly id: v.StringSchema<undefined>;
1601
+ readonly question: v.StringSchema<undefined>;
1602
+ readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1603
+ readonly chosen: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1604
+ }, undefined>, undefined>;
1605
+ readonly requiresApproval: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1606
+ readonly approval: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1607
+ readonly id: v.StringSchema<undefined>;
1608
+ readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
1609
+ readonly proposal: v.StringSchema<undefined>;
1610
+ readonly feedback: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1611
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1612
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1613
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1614
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1615
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1616
+ readonly body: v.StringSchema<undefined>;
1617
+ }, undefined>, undefined>, undefined>;
1618
+ readonly requiredApprovals: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1619
+ readonly approverPolicy: v.OptionalSchema<v.ObjectSchema<{
1620
+ readonly roles: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<readonly ["admin", "member", "viewer"], undefined>, undefined>, undefined>;
1621
+ readonly userIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1622
+ }, undefined>, undefined>;
1623
+ readonly approvals: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1624
+ readonly actorId: v.StringSchema<undefined>;
1625
+ readonly actorLabel: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1626
+ readonly at: v.NumberSchema<undefined>;
1627
+ }, undefined>, undefined>, undefined>;
1628
+ }, undefined>, undefined>, undefined>;
1629
+ readonly companion: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1630
+ readonly threshold: v.NumberSchema<undefined>;
1631
+ readonly maxAttempts: v.NumberSchema<undefined>;
1632
+ readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1633
+ readonly verdicts: v.ArraySchema<v.ObjectSchema<{
1634
+ readonly rating: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1635
+ readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
1636
+ readonly passed: v.BooleanSchema<undefined>;
1637
+ readonly feedback: v.StringSchema<undefined>;
1638
+ }, undefined>, undefined>;
1639
+ readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1640
+ }, undefined>, undefined>, undefined>;
1641
+ readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1642
+ readonly enabled: v.BooleanSchema<undefined>;
1643
+ readonly items: v.ArraySchema<v.ObjectSchema<{
1644
+ readonly id: v.StringSchema<undefined>;
1645
+ readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
1646
+ readonly title: v.StringSchema<undefined>;
1647
+ readonly detail: v.StringSchema<undefined>;
1648
+ readonly suggestedAction: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1649
+ readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
1650
+ readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1651
+ readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1652
+ readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1653
+ readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1654
+ readonly createdAt: v.NumberSchema<undefined>;
1655
+ readonly updatedAt: v.NumberSchema<undefined>;
1656
+ }, undefined>, undefined>;
1657
+ readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1658
+ readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
1659
+ }, undefined>, undefined>, undefined>;
1660
+ readonly forkDecision: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1661
+ readonly status: v.PicklistSchema<["proposing", "awaiting_choice", "answering", "chosen", "single_path", "skipped"], undefined>;
1662
+ readonly seamSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1663
+ readonly forks: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1664
+ readonly id: v.StringSchema<undefined>;
1665
+ readonly title: v.StringSchema<undefined>;
1666
+ readonly summary: v.StringSchema<undefined>;
1667
+ readonly approach: v.StringSchema<undefined>;
1668
+ readonly tradeoffs: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1669
+ readonly riskNotes: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1670
+ readonly recommended: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1671
+ }, undefined>, undefined>, readonly []>;
1672
+ readonly singlePathReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1673
+ readonly chat: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1674
+ readonly id: v.StringSchema<undefined>;
1675
+ readonly role: v.PicklistSchema<["human", "assistant"], undefined>;
1676
+ readonly text: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>;
1677
+ readonly createdAt: v.NumberSchema<undefined>;
1678
+ }, undefined>, undefined>, readonly []>;
1679
+ readonly maxChatTurns: v.OptionalSchema<v.NumberSchema<undefined>, 15>;
1680
+ readonly chosen: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
1681
+ readonly forkId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1682
+ readonly custom: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1683
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1684
+ readonly at: v.NumberSchema<undefined>;
1685
+ }, undefined>, v.CheckAction<{
1686
+ forkId?: string | null | undefined;
1687
+ custom?: string | null | undefined;
1688
+ note?: string | null | undefined;
1689
+ at: number;
1690
+ }, "Provide exactly one of forkId or custom.">]>, undefined>, undefined>;
1691
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1692
+ }, undefined>, undefined>, undefined>;
1693
+ readonly judge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1694
+ readonly status: v.PicklistSchema<["evaluating", "awaiting_decision", "bouncing", "passed", "failed", "skipped"], undefined>;
1695
+ readonly rubricId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1696
+ readonly rubricName: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1697
+ readonly rubricOverridden: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
1698
+ readonly verdict: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1699
+ readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
1700
+ readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
1701
+ readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
1702
+ readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
1703
+ readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1704
+ readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
1705
+ readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1706
+ }, undefined>, undefined>, readonly []>, readonly []>;
1707
+ }, undefined>, undefined>, undefined>;
1708
+ readonly threshold: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1709
+ readonly disposition: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["pass", "park", "bounce", "fail"], undefined>, undefined>, undefined>;
1710
+ readonly bounces: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1711
+ readonly maxBounces: v.OptionalSchema<v.NumberSchema<undefined>, 1>;
1712
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1713
+ readonly modelPin: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1714
+ readonly requested: v.StringSchema<undefined>;
1715
+ readonly status: v.PicklistSchema<["applied", "overridden", "unavailable"], undefined>;
1716
+ }, undefined>, undefined>, undefined>;
1717
+ readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1718
+ readonly round: v.NumberSchema<undefined>;
1719
+ readonly at: v.NumberSchema<undefined>;
1720
+ readonly verdict: v.ObjectSchema<{
1721
+ readonly score: v.SchemaWithFallback<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, 0>;
1722
+ readonly summary: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
1723
+ readonly findings: v.OptionalSchema<v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
1724
+ readonly title: v.SchemaWithFallback<v.StringSchema<undefined>, "Untitled finding">;
1725
+ readonly detail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1726
+ readonly severity: v.SchemaWithFallback<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, "medium">;
1727
+ readonly where: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1728
+ }, undefined>, undefined>, readonly []>, readonly []>;
1729
+ }, undefined>;
1730
+ readonly disposition: v.PicklistSchema<["pass", "park", "bounce", "fail"], undefined>;
1731
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1732
+ }, undefined>, undefined>, readonly []>;
1733
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1734
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1735
+ readonly choice: v.PicklistSchema<["proceed", "bounce", "stop"], undefined>;
1736
+ readonly feedback: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1737
+ readonly at: v.NumberSchema<undefined>;
1738
+ }, undefined>, undefined>, undefined>;
1739
+ }, undefined>, undefined>, undefined>;
1740
+ readonly ralph: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1741
+ readonly phase: v.PicklistSchema<["iterating"], undefined>;
1742
+ readonly attempts: v.NumberSchema<undefined>;
1743
+ readonly maxIterations: v.NumberSchema<undefined>;
1744
+ readonly validationCommand: v.StringSchema<undefined>;
1745
+ readonly progressPath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1746
+ readonly lastExitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1747
+ readonly lastValidationTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1748
+ readonly noProgressStreak: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1749
+ readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
1750
+ readonly attempt: v.NumberSchema<undefined>;
1751
+ readonly at: v.NumberSchema<undefined>;
1752
+ readonly validationPassed: v.BooleanSchema<undefined>;
1753
+ readonly exitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1754
+ readonly outputTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1755
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1756
+ readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1757
+ }, undefined>, undefined>, undefined>, undefined>;
1758
+ readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1759
+ }, undefined>, undefined>, undefined>;
1760
+ readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1761
+ readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
1762
+ readonly attempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
1763
+ readonly maxAttempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 3>;
1764
+ readonly outcomes: v.SchemaWithFallback<v.ArraySchema<v.ObjectSchema<{
1765
+ readonly label: v.SchemaWithFallback<v.StringSchema<undefined>, "check">;
1766
+ readonly command: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
1767
+ readonly exitCode: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
1768
+ readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
1769
+ readonly outputTail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1770
+ readonly durationMs: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1771
+ readonly timedOut: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1772
+ }, undefined>, undefined>, readonly []>;
1773
+ readonly at: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1774
+ }, undefined>, undefined>, undefined>;
1775
+ readonly validationConfigUnreadable: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1776
+ readonly reproduction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1777
+ readonly status: v.SchemaWithFallback<v.PicklistSchema<["reproduced", "inconclusive", "declared_infeasible"], undefined>, "inconclusive">;
1778
+ readonly command: v.SchemaWithFallback<v.StringSchema<undefined>, "">;
1779
+ readonly testPaths: v.SchemaWithFallback<v.ArraySchema<v.SchemaWithFallback<v.StringSchema<undefined>, "">, undefined>, readonly []>;
1780
+ readonly omittedTestPaths: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1781
+ readonly base: v.SchemaWithFallback<v.OptionalSchema<v.ObjectSchema<{
1782
+ readonly exitCode: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
1783
+ readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
1784
+ readonly outputTail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1785
+ readonly durationMs: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1786
+ readonly timedOut: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1787
+ readonly setupFailed: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1788
+ }, undefined>, undefined>, undefined>;
1789
+ readonly final: v.SchemaWithFallback<v.OptionalSchema<v.ObjectSchema<{
1790
+ readonly exitCode: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
1791
+ readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
1792
+ readonly outputTail: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1793
+ readonly durationMs: v.SchemaWithFallback<v.OptionalSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1794
+ readonly timedOut: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1795
+ readonly setupFailed: v.SchemaWithFallback<v.OptionalSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1796
+ }, undefined>, undefined>, undefined>;
1797
+ readonly attempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 1>;
1798
+ readonly maxAttempts: v.SchemaWithFallback<v.NumberSchema<undefined>, 3>;
1799
+ readonly reason: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1800
+ readonly alternativeVerification: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1801
+ readonly note: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
1802
+ readonly at: v.SchemaWithFallback<v.NumberSchema<undefined>, 0>;
1803
+ }, undefined>, undefined>, undefined>;
1804
+ readonly pendingForkChat: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1805
+ readonly messageId: v.StringSchema<undefined>;
1806
+ }, undefined>, undefined>, undefined>;
1807
+ readonly prReview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1808
+ readonly status: v.PicklistSchema<["reviewing", "awaiting_selection", "challenging", "fixing", "posting", "done", "skipped"], undefined>;
1809
+ readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1810
+ readonly slices: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1811
+ readonly id: v.StringSchema<undefined>;
1812
+ readonly title: v.StringSchema<undefined>;
1813
+ readonly rationale: v.StringSchema<undefined>;
1814
+ readonly paths: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1815
+ }, undefined>, undefined>, readonly []>;
1816
+ readonly sliceReviews: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1817
+ readonly label: v.StringSchema<undefined>;
1818
+ readonly status: v.PicklistSchema<["in_progress", "completed"], undefined>;
1819
+ readonly report: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1820
+ }, undefined>, undefined>, readonly []>;
1821
+ readonly resumeAttempts: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1822
+ readonly resumePendingSlices: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1823
+ readonly findings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1824
+ readonly id: v.StringSchema<undefined>;
1825
+ readonly sliceId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1826
+ readonly path: v.StringSchema<undefined>;
1827
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1828
+ readonly side: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["LEFT", "RIGHT"], undefined>, undefined>, undefined>;
1829
+ readonly severity: v.PicklistSchema<["blocker", "high", "medium", "low", "nit"], undefined>;
1830
+ readonly category: v.PicklistSchema<["correctness", "security", "performance", "maintainability", "style", "test", "other"], undefined>;
1831
+ readonly title: v.StringSchema<undefined>;
1832
+ readonly detail: v.StringSchema<undefined>;
1833
+ readonly suggestedFix: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1834
+ readonly challenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1835
+ readonly status: v.PicklistSchema<["investigating", "upheld", "amended", "retracted", "failed"], undefined>;
1836
+ readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1837
+ readonly justification: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1838
+ }, undefined>, undefined>, undefined>;
1839
+ }, undefined>, undefined>, readonly []>;
1840
+ readonly selectedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
1841
+ readonly resolution: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["finish", "fix", "post"], undefined>, undefined>, undefined>;
1842
+ readonly prUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1843
+ readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1844
+ readonly reviewedHeadSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1845
+ readonly postReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1846
+ readonly attempted: v.NumberSchema<undefined>;
1847
+ readonly posted: v.NumberSchema<undefined>;
1848
+ readonly folded: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1849
+ readonly bodyPosted: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1850
+ readonly bodyError: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1851
+ readonly failures: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1852
+ readonly findingId: v.StringSchema<undefined>;
1853
+ readonly path: v.StringSchema<undefined>;
1854
+ readonly line: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1855
+ readonly reason: v.StringSchema<undefined>;
1856
+ }, undefined>, undefined>, readonly []>;
1857
+ }, undefined>, undefined>, undefined>;
1858
+ readonly postedFindingIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
1859
+ readonly postedBody: v.OptionalSchema<v.BooleanSchema<undefined>, false>;
1860
+ }, undefined>, undefined>, undefined>;
1861
+ readonly pendingPrReviewPost: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
1862
+ readonly pendingChallenge: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1863
+ readonly findingId: v.StringSchema<undefined>;
1864
+ readonly question: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1865
+ }, undefined>, undefined>, undefined>;
1866
+ readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1867
+ readonly previousProposal: v.StringSchema<undefined>;
1868
+ readonly feedback: v.StringSchema<undefined>;
1869
+ readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1870
+ readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1871
+ readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1872
+ readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1873
+ readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1874
+ readonly body: v.StringSchema<undefined>;
1875
+ }, undefined>, undefined>, undefined>;
1876
+ }, undefined>, undefined>, undefined>;
1877
+ readonly pendingIncorporation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1878
+ readonly feedback: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1879
+ }, undefined>, undefined>, undefined>;
1880
+ readonly pendingRecommendation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1881
+ readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1882
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1883
+ }, undefined>, undefined>, undefined>;
1884
+ readonly pendingInterview: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1885
+ readonly proceed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1886
+ }, undefined>, undefined>, undefined>;
1887
+ readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1888
+ readonly enabled: v.BooleanSchema<undefined>;
1889
+ readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
1890
+ readonly participants: v.ArraySchema<v.ObjectSchema<{
1891
+ readonly id: v.StringSchema<undefined>;
1892
+ readonly role: v.StringSchema<undefined>;
1893
+ readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1894
+ readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1895
+ }, undefined>, undefined>;
1896
+ readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1897
+ readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
1898
+ readonly gating: v.OptionalSchema<v.ObjectSchema<{
1899
+ readonly enabled: v.BooleanSchema<undefined>;
1900
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1901
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1902
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1903
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
1904
+ }, undefined>, undefined>;
1905
+ readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1906
+ readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
1907
+ readonly id: v.StringSchema<undefined>;
1908
+ readonly name: v.StringSchema<undefined>;
1909
+ }, undefined>, undefined>;
1910
+ }, undefined>, undefined>, undefined>;
1911
+ readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1912
+ readonly enabled: v.BooleanSchema<undefined>;
1913
+ readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1914
+ readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1915
+ readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
1916
+ readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
1917
+ }, undefined>, undefined>, undefined>;
1918
+ readonly stepOptions: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1919
+ readonly autoRecommend: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1920
+ readonly skillId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1921
+ readonly maxOutputTokens: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 256, undefined>, v.MaxValueAction<number, 200000, undefined>]>, undefined>;
1922
+ readonly agentVariantId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1923
+ readonly binaryOutput: v.OptionalSchema<v.ObjectSchema<{
1924
+ readonly storageServiceId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>;
1925
+ readonly contextServiceIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
1926
+ readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
1927
+ readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
1928
+ readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
1929
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
1930
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
1931
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
1932
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
1933
+ }, undefined>, undefined>;
742
1934
  }, undefined>, undefined>;
743
1935
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
744
1936
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -749,8 +1941,12 @@ export declare const startExecutionContract: {
749
1941
  readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
750
1942
  readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
751
1943
  }, undefined>, undefined>;
1944
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
1945
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
1946
+ }, undefined>, undefined>;
752
1947
  }, undefined>, undefined>, undefined>;
753
1948
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1949
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
754
1950
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
755
1951
  readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
756
1952
  readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -830,6 +2026,10 @@ export declare const startExecutionContract: {
830
2026
  readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
831
2027
  readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
832
2028
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2029
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
2030
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
2031
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
2032
+ }, undefined>, undefined>;
833
2033
  readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
834
2034
  readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
835
2035
  }, undefined>, undefined>;
@@ -841,6 +2041,35 @@ export declare const startExecutionContract: {
841
2041
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
842
2042
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
843
2043
  }, undefined>, undefined>;
2044
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2045
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
2046
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2047
+ readonly id: v.StringSchema<undefined>;
2048
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2049
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2050
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2051
+ readonly service: v.StringSchema<undefined>;
2052
+ readonly location: v.StringSchema<undefined>;
2053
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2054
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2055
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2056
+ }, undefined>, undefined>, readonly []>;
2057
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
2058
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2059
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
2060
+ readonly candidateId: v.StringSchema<undefined>;
2061
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
2062
+ }, undefined>, undefined>;
2063
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2064
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2065
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
2066
+ readonly at: v.NumberSchema<undefined>;
2067
+ }, undefined>, undefined>, undefined>;
2068
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2069
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2070
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2071
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2072
+ }, undefined>, undefined>, undefined>;
844
2073
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
845
2074
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
846
2075
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -2718,6 +3947,11 @@ export declare const resumeSpendContract: {
2718
3947
  readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
2719
3948
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
2720
3949
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
3950
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
3951
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
3952
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
3953
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
3954
+ }, undefined>, undefined>;
2721
3955
  }, undefined>, undefined>;
2722
3956
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2723
3957
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -2728,8 +3962,12 @@ export declare const resumeSpendContract: {
2728
3962
  readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
2729
3963
  readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
2730
3964
  }, undefined>, undefined>;
3965
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
3966
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
3967
+ }, undefined>, undefined>;
2731
3968
  }, undefined>, undefined>, undefined>;
2732
3969
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3970
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
2733
3971
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2734
3972
  readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2735
3973
  readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -2809,6 +4047,10 @@ export declare const resumeSpendContract: {
2809
4047
  readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2810
4048
  readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2811
4049
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4050
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
4051
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
4052
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
4053
+ }, undefined>, undefined>;
2812
4054
  readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2813
4055
  readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
2814
4056
  }, undefined>, undefined>;
@@ -2820,6 +4062,35 @@ export declare const resumeSpendContract: {
2820
4062
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2821
4063
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2822
4064
  }, undefined>, undefined>;
4065
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
4066
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
4067
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
4068
+ readonly id: v.StringSchema<undefined>;
4069
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4070
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4071
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4072
+ readonly service: v.StringSchema<undefined>;
4073
+ readonly location: v.StringSchema<undefined>;
4074
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4075
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4076
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4077
+ }, undefined>, undefined>, readonly []>;
4078
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
4079
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
4080
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
4081
+ readonly candidateId: v.StringSchema<undefined>;
4082
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
4083
+ }, undefined>, undefined>;
4084
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
4085
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
4086
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
4087
+ readonly at: v.NumberSchema<undefined>;
4088
+ }, undefined>, undefined>, undefined>;
4089
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4090
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
4091
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
4092
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
4093
+ }, undefined>, undefined>, undefined>;
2823
4094
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2824
4095
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2825
4096
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -4298,6 +5569,11 @@ export declare const resolveDecisionContract: {
4298
5569
  readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
4299
5570
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
4300
5571
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
5572
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
5573
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
5574
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
5575
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
5576
+ }, undefined>, undefined>;
4301
5577
  }, undefined>, undefined>;
4302
5578
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4303
5579
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -4308,8 +5584,12 @@ export declare const resolveDecisionContract: {
4308
5584
  readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
4309
5585
  readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
4310
5586
  }, undefined>, undefined>;
5587
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
5588
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
5589
+ }, undefined>, undefined>;
4311
5590
  }, undefined>, undefined>, undefined>;
4312
5591
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
5592
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
4313
5593
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4314
5594
  readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4315
5595
  readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -4389,6 +5669,10 @@ export declare const resolveDecisionContract: {
4389
5669
  readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4390
5670
  readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4391
5671
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5672
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
5673
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
5674
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
5675
+ }, undefined>, undefined>;
4392
5676
  readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4393
5677
  readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
4394
5678
  }, undefined>, undefined>;
@@ -4400,6 +5684,35 @@ export declare const resolveDecisionContract: {
4400
5684
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4401
5685
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
4402
5686
  }, undefined>, undefined>;
5687
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5688
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
5689
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
5690
+ readonly id: v.StringSchema<undefined>;
5691
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5692
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5693
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5694
+ readonly service: v.StringSchema<undefined>;
5695
+ readonly location: v.StringSchema<undefined>;
5696
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5697
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5698
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5699
+ }, undefined>, undefined>, readonly []>;
5700
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
5701
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
5702
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
5703
+ readonly candidateId: v.StringSchema<undefined>;
5704
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
5705
+ }, undefined>, undefined>;
5706
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
5707
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
5708
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
5709
+ readonly at: v.NumberSchema<undefined>;
5710
+ }, undefined>, undefined>, undefined>;
5711
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
5712
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
5713
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
5714
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
5715
+ }, undefined>, undefined>, undefined>;
4403
5716
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4404
5717
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
4405
5718
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -5440,6 +6753,11 @@ export declare const approveStepContract: {
5440
6753
  readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
5441
6754
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
5442
6755
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
6756
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
6757
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
6758
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
6759
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
6760
+ }, undefined>, undefined>;
5443
6761
  }, undefined>, undefined>;
5444
6762
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
5445
6763
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -5450,8 +6768,12 @@ export declare const approveStepContract: {
5450
6768
  readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
5451
6769
  readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
5452
6770
  }, undefined>, undefined>;
6771
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
6772
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
6773
+ }, undefined>, undefined>;
5453
6774
  }, undefined>, undefined>, undefined>;
5454
6775
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6776
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
5455
6777
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
5456
6778
  readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
5457
6779
  readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -5531,6 +6853,10 @@ export declare const approveStepContract: {
5531
6853
  readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5532
6854
  readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5533
6855
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6856
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
6857
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
6858
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
6859
+ }, undefined>, undefined>;
5534
6860
  readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5535
6861
  readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
5536
6862
  }, undefined>, undefined>;
@@ -5542,6 +6868,35 @@ export declare const approveStepContract: {
5542
6868
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
5543
6869
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
5544
6870
  }, undefined>, undefined>;
6871
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
6872
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
6873
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
6874
+ readonly id: v.StringSchema<undefined>;
6875
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6876
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6877
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6878
+ readonly service: v.StringSchema<undefined>;
6879
+ readonly location: v.StringSchema<undefined>;
6880
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6881
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6882
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6883
+ }, undefined>, undefined>, readonly []>;
6884
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
6885
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
6886
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
6887
+ readonly candidateId: v.StringSchema<undefined>;
6888
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
6889
+ }, undefined>, undefined>;
6890
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
6891
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
6892
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
6893
+ readonly at: v.NumberSchema<undefined>;
6894
+ }, undefined>, undefined>, undefined>;
6895
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6896
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
6897
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
6898
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
6899
+ }, undefined>, undefined>, undefined>;
5545
6900
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5546
6901
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
5547
6902
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -6596,6 +7951,11 @@ export declare const requestStepChangesContract: {
6596
7951
  readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
6597
7952
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
6598
7953
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
7954
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
7955
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
7956
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
7957
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
7958
+ }, undefined>, undefined>;
6599
7959
  }, undefined>, undefined>;
6600
7960
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6601
7961
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -6606,8 +7966,12 @@ export declare const requestStepChangesContract: {
6606
7966
  readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
6607
7967
  readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
6608
7968
  }, undefined>, undefined>;
7969
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
7970
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
7971
+ }, undefined>, undefined>;
6609
7972
  }, undefined>, undefined>, undefined>;
6610
7973
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7974
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
6611
7975
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6612
7976
  readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6613
7977
  readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -6687,6 +8051,10 @@ export declare const requestStepChangesContract: {
6687
8051
  readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6688
8052
  readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6689
8053
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8054
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
8055
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
8056
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
8057
+ }, undefined>, undefined>;
6690
8058
  readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6691
8059
  readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
6692
8060
  }, undefined>, undefined>;
@@ -6698,6 +8066,35 @@ export declare const requestStepChangesContract: {
6698
8066
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6699
8067
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
6700
8068
  }, undefined>, undefined>;
8069
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8070
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
8071
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
8072
+ readonly id: v.StringSchema<undefined>;
8073
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8074
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8075
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8076
+ readonly service: v.StringSchema<undefined>;
8077
+ readonly location: v.StringSchema<undefined>;
8078
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8079
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8080
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8081
+ }, undefined>, undefined>, readonly []>;
8082
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
8083
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
8084
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
8085
+ readonly candidateId: v.StringSchema<undefined>;
8086
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
8087
+ }, undefined>, undefined>;
8088
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
8089
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
8090
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
8091
+ readonly at: v.NumberSchema<undefined>;
8092
+ }, undefined>, undefined>, undefined>;
8093
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
8094
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
8095
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
8096
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
8097
+ }, undefined>, undefined>, undefined>;
6701
8098
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
6702
8099
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
6703
8100
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -7738,6 +9135,11 @@ export declare const resolveStepExceededContract: {
7738
9135
  readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
7739
9136
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
7740
9137
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
9138
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
9139
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
9140
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
9141
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
9142
+ }, undefined>, undefined>;
7741
9143
  }, undefined>, undefined>;
7742
9144
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7743
9145
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -7748,8 +9150,12 @@ export declare const resolveStepExceededContract: {
7748
9150
  readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
7749
9151
  readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
7750
9152
  }, undefined>, undefined>;
9153
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
9154
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
9155
+ }, undefined>, undefined>;
7751
9156
  }, undefined>, undefined>, undefined>;
7752
9157
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
9158
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
7753
9159
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7754
9160
  readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7755
9161
  readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -7829,6 +9235,10 @@ export declare const resolveStepExceededContract: {
7829
9235
  readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7830
9236
  readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7831
9237
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9238
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
9239
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
9240
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
9241
+ }, undefined>, undefined>;
7832
9242
  readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7833
9243
  readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
7834
9244
  }, undefined>, undefined>;
@@ -7840,6 +9250,35 @@ export declare const resolveStepExceededContract: {
7840
9250
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7841
9251
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
7842
9252
  }, undefined>, undefined>;
9253
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9254
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
9255
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
9256
+ readonly id: v.StringSchema<undefined>;
9257
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9258
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9259
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9260
+ readonly service: v.StringSchema<undefined>;
9261
+ readonly location: v.StringSchema<undefined>;
9262
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9263
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9264
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
9265
+ }, undefined>, undefined>, readonly []>;
9266
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
9267
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
9268
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
9269
+ readonly candidateId: v.StringSchema<undefined>;
9270
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
9271
+ }, undefined>, undefined>;
9272
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
9273
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
9274
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
9275
+ readonly at: v.NumberSchema<undefined>;
9276
+ }, undefined>, undefined>, undefined>;
9277
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
9278
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
9279
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
9280
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
9281
+ }, undefined>, undefined>, undefined>;
7843
9282
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
7844
9283
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
7845
9284
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -8878,6 +10317,11 @@ export declare const restartExecutionContract: {
8878
10317
  readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
8879
10318
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
8880
10319
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
10320
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
10321
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
10322
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
10323
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
10324
+ }, undefined>, undefined>;
8881
10325
  }, undefined>, undefined>;
8882
10326
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
8883
10327
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -8888,8 +10332,12 @@ export declare const restartExecutionContract: {
8888
10332
  readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
8889
10333
  readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
8890
10334
  }, undefined>, undefined>;
10335
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
10336
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
10337
+ }, undefined>, undefined>;
8891
10338
  }, undefined>, undefined>, undefined>;
8892
10339
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10340
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
8893
10341
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
8894
10342
  readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
8895
10343
  readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -8969,6 +10417,10 @@ export declare const restartExecutionContract: {
8969
10417
  readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8970
10418
  readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8971
10419
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10420
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
10421
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
10422
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
10423
+ }, undefined>, undefined>;
8972
10424
  readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8973
10425
  readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
8974
10426
  }, undefined>, undefined>;
@@ -8980,6 +10432,35 @@ export declare const restartExecutionContract: {
8980
10432
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
8981
10433
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
8982
10434
  }, undefined>, undefined>;
10435
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
10436
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
10437
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
10438
+ readonly id: v.StringSchema<undefined>;
10439
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10440
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10441
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10442
+ readonly service: v.StringSchema<undefined>;
10443
+ readonly location: v.StringSchema<undefined>;
10444
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10445
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10446
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10447
+ }, undefined>, undefined>, readonly []>;
10448
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
10449
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
10450
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
10451
+ readonly candidateId: v.StringSchema<undefined>;
10452
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
10453
+ }, undefined>, undefined>;
10454
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
10455
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
10456
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
10457
+ readonly at: v.NumberSchema<undefined>;
10458
+ }, undefined>, undefined>, undefined>;
10459
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10460
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
10461
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
10462
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
10463
+ }, undefined>, undefined>, undefined>;
8983
10464
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
8984
10465
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
8985
10466
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -10020,6 +11501,11 @@ export declare const rejectStepContract: {
10020
11501
  readonly generatorIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a lower-kebab slug">]>, undefined>, undefined>;
10021
11502
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
10022
11503
  readonly mediaTypes: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToLowerCaseAction, v.MinLengthAction<string, 3, undefined>, v.MaxLengthAction<string, 128, undefined>, v.RegexAction<string, "must be a media type of the form type/subtype">]>, undefined>, undefined>;
11504
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
11505
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
11506
+ readonly perGenerator: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 4, undefined>]>, undefined>;
11507
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
11508
+ }, undefined>, undefined>;
10023
11509
  }, undefined>, undefined>;
10024
11510
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10025
11511
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -10030,8 +11516,12 @@ export declare const rejectStepContract: {
10030
11516
  readonly minApprovals: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 10, undefined>]>, undefined>;
10031
11517
  readonly fields: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
10032
11518
  }, undefined>, undefined>;
11519
+ readonly condition: v.OptionalSchema<v.ObjectSchema<{
11520
+ readonly serviceScope: v.PicklistSchema<["frontend", "backend"], undefined>;
11521
+ }, undefined>, undefined>;
10033
11522
  }, undefined>, undefined>, undefined>;
10034
11523
  readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
11524
+ readonly skipReason: v.OptionalSchema<v.PicklistSchema<["gated", "condition", "producer_skipped", "run_complete"], undefined>, undefined>;
10035
11525
  readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10036
11526
  readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10037
11527
  readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -10111,6 +11601,10 @@ export declare const rejectStepContract: {
10111
11601
  readonly entity: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10112
11602
  readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10113
11603
  readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11604
+ readonly dimensions: v.OptionalSchema<v.ObjectSchema<{
11605
+ readonly width: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
11606
+ readonly height: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 16384, undefined>]>;
11607
+ }, undefined>, undefined>;
10114
11608
  readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10115
11609
  readonly modality: v.OptionalSchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>;
10116
11610
  }, undefined>, undefined>;
@@ -10122,6 +11616,35 @@ export declare const rejectStepContract: {
10122
11616
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10123
11617
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
10124
11618
  }, undefined>, undefined>;
11619
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11620
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
11621
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
11622
+ readonly id: v.StringSchema<undefined>;
11623
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11624
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11625
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11626
+ readonly service: v.StringSchema<undefined>;
11627
+ readonly location: v.StringSchema<undefined>;
11628
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11629
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11630
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11631
+ }, undefined>, undefined>, readonly []>;
11632
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
11633
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
11634
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
11635
+ readonly candidateId: v.StringSchema<undefined>;
11636
+ readonly storeAs: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>, v.RegexAction<string, "must be a plain id (letters, digits, . _ -)">]>, undefined>;
11637
+ }, undefined>, undefined>;
11638
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
11639
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
11640
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
11641
+ readonly at: v.NumberSchema<undefined>;
11642
+ }, undefined>, undefined>, undefined>;
11643
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
11644
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
11645
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
11646
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
11647
+ }, undefined>, undefined>, undefined>;
10125
11648
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
10126
11649
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
10127
11650
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;