@cat-factory/contracts 0.283.1 → 0.285.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 (76) hide show
  1. package/dist/agent-presentation.d.ts +2 -2
  2. package/dist/binary-candidates.d.ts +261 -0
  3. package/dist/binary-candidates.d.ts.map +1 -0
  4. package/dist/binary-candidates.js +202 -0
  5. package/dist/binary-candidates.js.map +1 -0
  6. package/dist/binary-capabilities.d.ts +328 -0
  7. package/dist/binary-capabilities.d.ts.map +1 -0
  8. package/dist/binary-capabilities.js +361 -0
  9. package/dist/binary-capabilities.js.map +1 -0
  10. package/dist/binary-generators.d.ts +27 -0
  11. package/dist/binary-generators.d.ts.map +1 -1
  12. package/dist/binary-generators.js +28 -0
  13. package/dist/binary-generators.js.map +1 -1
  14. package/dist/binary-outputs.d.ts +31 -0
  15. package/dist/binary-outputs.d.ts.map +1 -1
  16. package/dist/binary-outputs.js +30 -0
  17. package/dist/binary-outputs.js.map +1 -1
  18. package/dist/entities.d.ts +10 -0
  19. package/dist/entities.d.ts.map +1 -1
  20. package/dist/environments-kubernetes.d.ts +720 -0
  21. package/dist/environments-kubernetes.d.ts.map +1 -0
  22. package/dist/environments-kubernetes.js +306 -0
  23. package/dist/environments-kubernetes.js.map +1 -0
  24. package/dist/environments.d.ts +113 -1517
  25. package/dist/environments.d.ts.map +1 -1
  26. package/dist/environments.js +41 -267
  27. package/dist/environments.js.map +1 -1
  28. package/dist/execution.d.ts +90 -0
  29. package/dist/execution.d.ts.map +1 -1
  30. package/dist/execution.js +13 -0
  31. package/dist/execution.js.map +1 -1
  32. package/dist/index.d.ts +3 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +3 -0
  35. package/dist/index.js.map +1 -1
  36. package/dist/primitives.d.ts +12 -0
  37. package/dist/primitives.d.ts.map +1 -1
  38. package/dist/primitives.js +11 -0
  39. package/dist/primitives.js.map +1 -1
  40. package/dist/requests.d.ts +10 -0
  41. package/dist/requests.d.ts.map +1 -1
  42. package/dist/result-views.d.ts +1 -1
  43. package/dist/result-views.d.ts.map +1 -1
  44. package/dist/result-views.js +1 -0
  45. package/dist/result-views.js.map +1 -1
  46. package/dist/routes/agent-runs.d.ts +68 -0
  47. package/dist/routes/agent-runs.d.ts.map +1 -1
  48. package/dist/routes/binaryCandidates.d.ts +139 -0
  49. package/dist/routes/binaryCandidates.d.ts.map +1 -0
  50. package/dist/routes/binaryCandidates.js +31 -0
  51. package/dist/routes/binaryCandidates.js.map +1 -0
  52. package/dist/routes/bug-hunt.d.ts +68 -0
  53. package/dist/routes/bug-hunt.d.ts.map +1 -1
  54. package/dist/routes/environmentUserHandlers.d.ts +3 -3
  55. package/dist/routes/environments.d.ts +20 -20
  56. package/dist/routes/execution.d.ts +272 -0
  57. package/dist/routes/execution.d.ts.map +1 -1
  58. package/dist/routes/human-review.d.ts +34 -0
  59. package/dist/routes/human-review.d.ts.map +1 -1
  60. package/dist/routes/human-test.d.ts +170 -0
  61. package/dist/routes/human-test.d.ts.map +1 -1
  62. package/dist/routes/index.d.ts +1 -0
  63. package/dist/routes/index.d.ts.map +1 -1
  64. package/dist/routes/index.js +1 -0
  65. package/dist/routes/index.js.map +1 -1
  66. package/dist/routes/pipelines.d.ts +40 -0
  67. package/dist/routes/pipelines.d.ts.map +1 -1
  68. package/dist/routes/visual-confirm.d.ts +102 -0
  69. package/dist/routes/visual-confirm.d.ts.map +1 -1
  70. package/dist/routes/workspaces.d.ts +82 -2
  71. package/dist/routes/workspaces.d.ts.map +1 -1
  72. package/dist/runners.js +2 -2
  73. package/dist/runners.js.map +1 -1
  74. package/dist/snapshot.d.ts +41 -1
  75. package/dist/snapshot.d.ts.map +1 -1
  76. package/package.json +1 -1
@@ -721,6 +721,11 @@ export declare const retryAgentRunContract: {
721
721
  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>;
722
722
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
723
723
  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>;
724
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
725
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
726
+ 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>;
727
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
728
+ }, undefined>, undefined>;
724
729
  }, undefined>, undefined>;
725
730
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
726
731
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -823,6 +828,35 @@ export declare const retryAgentRunContract: {
823
828
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
824
829
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
825
830
  }, undefined>, undefined>;
831
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
832
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
833
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
834
+ readonly id: v.StringSchema<undefined>;
835
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
836
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
837
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
838
+ readonly service: v.StringSchema<undefined>;
839
+ readonly location: v.StringSchema<undefined>;
840
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
841
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
842
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
843
+ }, undefined>, undefined>, readonly []>;
844
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
845
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
846
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
847
+ readonly candidateId: v.StringSchema<undefined>;
848
+ 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>;
849
+ }, undefined>, undefined>;
850
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
851
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
852
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
853
+ readonly at: v.NumberSchema<undefined>;
854
+ }, undefined>, undefined>, undefined>;
855
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
856
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
857
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
858
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
859
+ }, undefined>, undefined>, undefined>;
826
860
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
827
861
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
828
862
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1946,6 +1980,11 @@ export declare const stopAgentRunContract: {
1946
1980
  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>;
1947
1981
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
1948
1982
  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>;
1983
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
1984
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
1985
+ 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>;
1986
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
1987
+ }, undefined>, undefined>;
1949
1988
  }, undefined>, undefined>;
1950
1989
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1951
1990
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -2048,6 +2087,35 @@ export declare const stopAgentRunContract: {
2048
2087
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2049
2088
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2050
2089
  }, undefined>, undefined>;
2090
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2091
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
2092
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2093
+ readonly id: v.StringSchema<undefined>;
2094
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2095
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2096
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2097
+ readonly service: v.StringSchema<undefined>;
2098
+ readonly location: v.StringSchema<undefined>;
2099
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2100
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2101
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2102
+ }, undefined>, undefined>, readonly []>;
2103
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
2104
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2105
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
2106
+ readonly candidateId: v.StringSchema<undefined>;
2107
+ 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>;
2108
+ }, undefined>, undefined>;
2109
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2110
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2111
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
2112
+ readonly at: v.NumberSchema<undefined>;
2113
+ }, undefined>, undefined>, undefined>;
2114
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2115
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2116
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2117
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2118
+ }, undefined>, undefined>, undefined>;
2051
2119
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2052
2120
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2053
2121
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM/B,CAAA"}
@@ -0,0 +1,139 @@
1
+ import * as v from 'valibot';
2
+ export declare const getBinaryCandidatesContract: {
3
+ readonly method: "get";
4
+ readonly requestPathParamsSchema: v.ObjectSchema<{
5
+ executionId: v.StringSchema<undefined>;
6
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
7
+ readonly pathResolver: ({ executionId }: {
8
+ executionId: string;
9
+ }) => string;
10
+ readonly responsesByStatusCode: {
11
+ readonly '4xx': v.ObjectSchema<{
12
+ readonly error: v.ObjectSchema<{
13
+ readonly code: v.StringSchema<undefined>;
14
+ readonly message: v.StringSchema<undefined>;
15
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
16
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
17
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
18
+ readonly message: v.StringSchema<undefined>;
19
+ }, undefined>, undefined>, undefined>;
20
+ }, undefined>;
21
+ }, undefined>;
22
+ readonly '5xx': v.ObjectSchema<{
23
+ readonly error: v.ObjectSchema<{
24
+ readonly code: v.StringSchema<undefined>;
25
+ readonly message: v.StringSchema<undefined>;
26
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
27
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
28
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
29
+ readonly message: v.StringSchema<undefined>;
30
+ }, undefined>, undefined>, undefined>;
31
+ }, undefined>;
32
+ }, undefined>;
33
+ readonly 200: v.NullableSchema<v.ObjectSchema<{
34
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
35
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
36
+ readonly id: v.StringSchema<undefined>;
37
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
38
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
39
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
40
+ readonly service: v.StringSchema<undefined>;
41
+ readonly location: v.StringSchema<undefined>;
42
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
43
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
44
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
45
+ }, undefined>, undefined>, readonly []>;
46
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
47
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
48
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
49
+ readonly candidateId: v.StringSchema<undefined>;
50
+ 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>;
51
+ }, undefined>, undefined>;
52
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
53
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
54
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
55
+ readonly at: v.NumberSchema<undefined>;
56
+ }, undefined>, undefined>, undefined>;
57
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
58
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
59
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
60
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
61
+ }, undefined>, undefined>;
62
+ };
63
+ };
64
+ export declare const keepBinaryCandidatesContract: {
65
+ readonly method: "post";
66
+ readonly requestPathParamsSchema: v.ObjectSchema<{
67
+ executionId: v.StringSchema<undefined>;
68
+ }, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
69
+ readonly pathResolver: ({ executionId }: {
70
+ executionId: string;
71
+ }) => string;
72
+ readonly requestBodySchema: v.ObjectSchema<{
73
+ readonly keep: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
74
+ readonly candidateId: v.StringSchema<undefined>;
75
+ 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>;
76
+ }, undefined>, undefined>, v.MinLengthAction<{
77
+ candidateId: string;
78
+ storeAs?: string | undefined;
79
+ }[], 1, undefined>, v.MaxLengthAction<{
80
+ candidateId: string;
81
+ storeAs?: string | undefined;
82
+ }[], 16, undefined>]>;
83
+ readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
84
+ }, undefined>;
85
+ readonly responsesByStatusCode: {
86
+ readonly '4xx': v.ObjectSchema<{
87
+ readonly error: v.ObjectSchema<{
88
+ readonly code: v.StringSchema<undefined>;
89
+ readonly message: v.StringSchema<undefined>;
90
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
91
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
92
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
93
+ readonly message: v.StringSchema<undefined>;
94
+ }, undefined>, undefined>, undefined>;
95
+ }, undefined>;
96
+ }, undefined>;
97
+ readonly '5xx': v.ObjectSchema<{
98
+ readonly error: v.ObjectSchema<{
99
+ readonly code: v.StringSchema<undefined>;
100
+ readonly message: v.StringSchema<undefined>;
101
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
102
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
103
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
104
+ readonly message: v.StringSchema<undefined>;
105
+ }, undefined>, undefined>, undefined>;
106
+ }, undefined>;
107
+ }, undefined>;
108
+ readonly 200: v.ObjectSchema<{
109
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
110
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
111
+ readonly id: v.StringSchema<undefined>;
112
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
113
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
114
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
115
+ readonly service: v.StringSchema<undefined>;
116
+ readonly location: v.StringSchema<undefined>;
117
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
118
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
119
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
120
+ }, undefined>, undefined>, readonly []>;
121
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
122
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
123
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
124
+ readonly candidateId: v.StringSchema<undefined>;
125
+ 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>;
126
+ }, undefined>, undefined>;
127
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
128
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
129
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
130
+ readonly at: v.NumberSchema<undefined>;
131
+ }, undefined>, undefined>, undefined>;
132
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
133
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
134
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
135
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
136
+ }, undefined>;
137
+ };
138
+ };
139
+ //# sourceMappingURL=binaryCandidates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binaryCandidates.d.ts","sourceRoot":"","sources":["../../src/routes/binaryCandidates.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmB5B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA"}
@@ -0,0 +1,31 @@
1
+ import { defineApiContract } from '@toad-contracts/valibot';
2
+ import * as v from 'valibot';
3
+ import { binaryCandidateStepStateSchema, keepBinaryCandidatesSchema } from '../binary-candidates.js';
4
+ import { errorResponses, singleStringParam } from './_shared.js';
5
+ // ---------------------------------------------------------------------------
6
+ // Generated-candidate comparison route contracts. Mounted under `/workspaces/:workspaceId`, so
7
+ // the paths here are relative to that prefix. The read returns the run's active candidate state
8
+ // (or null when no step carries one); `keep` records which candidates survive, under which
9
+ // alternate ids, and re-runs the step to deliver exactly those. See BinaryCandidatesController in
10
+ // @cat-factory/server.
11
+ //
12
+ // Two verbs rather than three: there is no `discard`, because keeping nothing is not a decision
13
+ // this surface can carry out. A step whose every candidate is bad is retried or reworked through
14
+ // the surfaces that already exist for that, and answering it here would re-run the step to store
15
+ // nothing while recording a completed choice.
16
+ // ---------------------------------------------------------------------------
17
+ const executionIdParams = singleStringParam('executionId');
18
+ export const getBinaryCandidatesContract = defineApiContract({
19
+ method: 'get',
20
+ requestPathParamsSchema: executionIdParams,
21
+ pathResolver: ({ executionId }) => `/executions/${executionId}/binary-candidates`,
22
+ responsesByStatusCode: { 200: v.nullable(binaryCandidateStepStateSchema), ...errorResponses },
23
+ });
24
+ export const keepBinaryCandidatesContract = defineApiContract({
25
+ method: 'post',
26
+ requestPathParamsSchema: executionIdParams,
27
+ pathResolver: ({ executionId }) => `/executions/${executionId}/binary-candidates/keep`,
28
+ requestBodySchema: keepBinaryCandidatesSchema,
29
+ responsesByStatusCode: { 200: binaryCandidateStepStateSchema, ...errorResponses },
30
+ });
31
+ //# sourceMappingURL=binaryCandidates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binaryCandidates.js","sourceRoot":"","sources":["../../src/routes/binaryCandidates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,8BAA8B,EAAE,0BAA0B,EAAE,MAAM,yBAAyB,CAAA;AACpG,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,+FAA+F;AAC/F,gGAAgG;AAChG,2FAA2F;AAC3F,kGAAkG;AAClG,uBAAuB;AACvB,EAAE;AACF,gGAAgG;AAChG,iGAAiG;AACjG,iGAAiG;AACjG,8CAA8C;AAC9C,8EAA8E;AAE9E,MAAM,iBAAiB,GAAG,iBAAiB,CAAC,aAAa,CAAC,CAAA;AAE1D,MAAM,CAAC,MAAM,2BAA2B,GAAG,iBAAiB,CAAC;IAC3D,MAAM,EAAE,KAAK;IACb,uBAAuB,EAAE,iBAAiB;IAC1C,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,eAAe,WAAW,oBAAoB;IACjF,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,QAAQ,CAAC,8BAA8B,CAAC,EAAE,GAAG,cAAc,EAAE;CAC9F,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;IAC5D,MAAM,EAAE,MAAM;IACd,uBAAuB,EAAE,iBAAiB;IAC1C,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,eAAe,WAAW,yBAAyB;IACtF,iBAAiB,EAAE,0BAA0B;IAC7C,qBAAqB,EAAE,EAAE,GAAG,EAAE,8BAA8B,EAAE,GAAG,cAAc,EAAE;CAClF,CAAC,CAAA"}
@@ -1036,6 +1036,11 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
1036
1036
  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>;
1037
1037
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
1038
1038
  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>;
1039
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
1040
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
1041
+ 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>;
1042
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
1043
+ }, undefined>, undefined>;
1039
1044
  }, undefined>, undefined>;
1040
1045
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1041
1046
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -1138,6 +1143,35 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
1138
1143
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1139
1144
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1140
1145
  }, undefined>, undefined>;
1146
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1147
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
1148
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1149
+ readonly id: v.StringSchema<undefined>;
1150
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1151
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1152
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1153
+ readonly service: v.StringSchema<undefined>;
1154
+ readonly location: v.StringSchema<undefined>;
1155
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1156
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1157
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1158
+ }, undefined>, undefined>, readonly []>;
1159
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
1160
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1161
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
1162
+ readonly candidateId: v.StringSchema<undefined>;
1163
+ 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>;
1164
+ }, undefined>, undefined>;
1165
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1166
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1167
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
1168
+ readonly at: v.NumberSchema<undefined>;
1169
+ }, undefined>, undefined>, undefined>;
1170
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1171
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1172
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1173
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
1174
+ }, undefined>, undefined>, undefined>;
1141
1175
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1142
1176
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
1143
1177
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -2678,6 +2712,11 @@ export declare const adoptBugHuntCandidateContract: {
2678
2712
  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>;
2679
2713
  readonly modalities: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["image", "audio", "video", "3d-model", "3d-scene", "document"], undefined>, undefined>, undefined>;
2680
2714
  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>;
2715
+ readonly generation: v.OptionalSchema<v.GenericSchema<unknown, import("../binary-capabilities.js").BinaryGenerationOptions>, undefined>;
2716
+ readonly comparison: v.OptionalSchema<v.ObjectSchema<{
2717
+ 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>;
2718
+ readonly multiSelect: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
2719
+ }, undefined>, undefined>;
2681
2720
  }, undefined>, undefined>;
2682
2721
  readonly retainEnvironment: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2683
2722
  readonly gateConfig: v.OptionalSchema<v.ObjectSchema<{
@@ -2780,6 +2819,35 @@ export declare const adoptBugHuntCandidateContract: {
2780
2819
  readonly parseFailed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2781
2820
  readonly undeclared: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2782
2821
  }, undefined>, undefined>;
2822
+ readonly binaryCandidates: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2823
+ readonly status: v.PicklistSchema<["awaiting_choice", "chosen", "no_choice"], undefined>;
2824
+ readonly candidates: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2825
+ readonly id: v.StringSchema<undefined>;
2826
+ readonly label: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2827
+ readonly generator: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2828
+ readonly subject: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2829
+ readonly service: v.StringSchema<undefined>;
2830
+ readonly location: v.StringSchema<undefined>;
2831
+ readonly contentType: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2832
+ readonly previewUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2833
+ readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2834
+ }, undefined>, undefined>, readonly []>;
2835
+ readonly noChoiceReason: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["undeclared", "parse_failed", "no_candidates"], undefined>, undefined>, undefined>;
2836
+ readonly choice: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2837
+ readonly kept: v.ArraySchema<v.ObjectSchema<{
2838
+ readonly candidateId: v.StringSchema<undefined>;
2839
+ 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>;
2840
+ }, undefined>, undefined>;
2841
+ readonly discarded: v.ArraySchema<v.StringSchema<undefined>, undefined>;
2842
+ readonly note: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2843
+ readonly automatic: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
2844
+ readonly at: v.NumberSchema<undefined>;
2845
+ }, undefined>, undefined>, undefined>;
2846
+ readonly multiSelect: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2847
+ readonly invalidEntries: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2848
+ readonly omitted: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2849
+ readonly unusablePreviews: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
2850
+ }, undefined>, undefined>, undefined>;
2783
2851
  readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2784
2852
  readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
2785
2853
  readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"bug-hunt.d.ts","sourceRoot":"","sources":["../../src/routes/bug-hunt.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,QAAA,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA"}
@@ -267,9 +267,9 @@ export declare const listEnvironmentUserHandlersContract: {
267
267
  }, undefined>, v.ObjectSchema<{
268
268
  readonly engine: v.LiteralSchema<"cloudflare", undefined>;
269
269
  readonly cloudflare: v.ObjectSchema<{
270
+ readonly apiBaseUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
270
271
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
271
272
  readonly workersSubdomain: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 63, undefined>, v.RegexAction<string, "must be a bare workers.dev subdomain label, e.g. \"my-account\"">]>;
272
- readonly apiBaseUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
273
273
  readonly repo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>, undefined>;
274
274
  readonly workerNameTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>, v.RegexAction<string, "may contain only lowercase letters, digits, hyphens and {{placeholders}}">]>, undefined>;
275
275
  readonly environmentNameTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>, v.RegexAction<string, "may contain only lowercase letters, digits, hyphens and {{placeholders}}">]>, undefined>;
@@ -628,9 +628,9 @@ export declare const upsertEnvironmentUserHandlerContract: {
628
628
  }, undefined>, v.ObjectSchema<{
629
629
  readonly engine: v.LiteralSchema<"cloudflare", undefined>;
630
630
  readonly cloudflare: v.ObjectSchema<{
631
+ readonly apiBaseUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
631
632
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
632
633
  readonly workersSubdomain: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 63, undefined>, v.RegexAction<string, "must be a bare workers.dev subdomain label, e.g. \"my-account\"">]>;
633
- readonly apiBaseUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
634
634
  readonly repo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>, undefined>;
635
635
  readonly workerNameTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>, v.RegexAction<string, "may contain only lowercase letters, digits, hyphens and {{placeholders}}">]>, undefined>;
636
636
  readonly environmentNameTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>, v.RegexAction<string, "may contain only lowercase letters, digits, hyphens and {{placeholders}}">]>, undefined>;
@@ -1010,9 +1010,9 @@ export declare const upsertEnvironmentUserHandlerContract: {
1010
1010
  }, undefined>, v.ObjectSchema<{
1011
1011
  readonly engine: v.LiteralSchema<"cloudflare", undefined>;
1012
1012
  readonly cloudflare: v.ObjectSchema<{
1013
+ readonly apiBaseUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1013
1014
  readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
1014
1015
  readonly workersSubdomain: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 63, undefined>, v.RegexAction<string, "must be a bare workers.dev subdomain label, e.g. \"my-account\"">]>;
1015
- readonly apiBaseUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1016
1016
  readonly repo: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.RegexAction<string, "must be \"owner/repo\"">]>, undefined>;
1017
1017
  readonly workerNameTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>, v.RegexAction<string, "may contain only lowercase letters, digits, hyphens and {{placeholders}}">]>, undefined>;
1018
1018
  readonly environmentNameTemplate: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>, v.RegexAction<string, "may contain only lowercase letters, digits, hyphens and {{placeholders}}">]>, undefined>;