@cat-factory/contracts 0.193.0 → 0.195.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-presentation.d.ts +40 -0
- package/dist/agent-presentation.d.ts.map +1 -1
- package/dist/agent-presentation.js +44 -0
- package/dist/agent-presentation.js.map +1 -1
- package/dist/consensus.d.ts +149 -0
- package/dist/consensus.d.ts.map +1 -1
- package/dist/consensus.js +94 -1
- package/dist/consensus.js.map +1 -1
- package/dist/entities.d.ts +17 -14
- package/dist/entities.d.ts.map +1 -1
- package/dist/entities.js +6 -7
- package/dist/entities.js.map +1 -1
- package/dist/execution.d.ts +10 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/fragment-library.d.ts +4 -0
- package/dist/fragment-library.d.ts.map +1 -1
- package/dist/fragment-library.js +11 -0
- package/dist/fragment-library.js.map +1 -1
- package/dist/requests.d.ts +10 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/routes/agent-runs.d.ts +10 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +10 -0
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/consensus.d.ts +252 -0
- package/dist/routes/consensus.d.ts.map +1 -1
- package/dist/routes/consensus.js +35 -7
- package/dist/routes/consensus.js.map +1 -1
- package/dist/routes/execution.d.ts +40 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/fragment-library.d.ts +2 -0
- package/dist/routes/fragment-library.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +5 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +25 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +40 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +15 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +66 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +39 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/snapshot.js +8 -0
- package/dist/snapshot.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
1
2
|
import * as v from 'valibot';
|
|
2
3
|
export declare const getConsensusSessionContract: {
|
|
3
4
|
readonly method: "get";
|
|
@@ -39,6 +40,8 @@ export declare const getConsensusSessionContract: {
|
|
|
39
40
|
readonly agentKind: v.StringSchema<undefined>;
|
|
40
41
|
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
41
42
|
readonly status: v.PicklistSchema<["running", "synthesizing", "done", "failed"], undefined>;
|
|
43
|
+
readonly groupId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
44
|
+
readonly groupName: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
42
45
|
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
43
46
|
readonly id: v.StringSchema<undefined>;
|
|
44
47
|
readonly role: v.StringSchema<undefined>;
|
|
@@ -68,4 +71,253 @@ export declare const getConsensusSessionContract: {
|
|
|
68
71
|
}, undefined>;
|
|
69
72
|
};
|
|
70
73
|
};
|
|
74
|
+
export declare const listConsensusGroupsContract: {
|
|
75
|
+
readonly method: "get";
|
|
76
|
+
readonly pathResolver: () => string;
|
|
77
|
+
readonly responsesByStatusCode: {
|
|
78
|
+
readonly '4xx': v.ObjectSchema<{
|
|
79
|
+
readonly error: v.ObjectSchema<{
|
|
80
|
+
readonly code: v.StringSchema<undefined>;
|
|
81
|
+
readonly message: v.StringSchema<undefined>;
|
|
82
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
83
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
84
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
85
|
+
readonly message: v.StringSchema<undefined>;
|
|
86
|
+
}, undefined>, undefined>, undefined>;
|
|
87
|
+
}, undefined>;
|
|
88
|
+
}, undefined>;
|
|
89
|
+
readonly '5xx': v.ObjectSchema<{
|
|
90
|
+
readonly error: v.ObjectSchema<{
|
|
91
|
+
readonly code: v.StringSchema<undefined>;
|
|
92
|
+
readonly message: v.StringSchema<undefined>;
|
|
93
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
94
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
95
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
96
|
+
readonly message: v.StringSchema<undefined>;
|
|
97
|
+
}, undefined>, undefined>, undefined>;
|
|
98
|
+
}, undefined>;
|
|
99
|
+
}, undefined>;
|
|
100
|
+
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
101
|
+
readonly id: v.StringSchema<undefined>;
|
|
102
|
+
readonly name: v.StringSchema<undefined>;
|
|
103
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
105
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
106
|
+
readonly id: v.StringSchema<undefined>;
|
|
107
|
+
readonly role: v.StringSchema<undefined>;
|
|
108
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
110
|
+
}, undefined>, undefined>;
|
|
111
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
112
|
+
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>;
|
|
113
|
+
readonly gating: v.ObjectSchema<{
|
|
114
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
115
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
116
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
117
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
118
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
119
|
+
}, undefined>;
|
|
120
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
121
|
+
}, undefined>, undefined>;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export declare const createConsensusGroupContract: {
|
|
125
|
+
readonly method: "post";
|
|
126
|
+
readonly pathResolver: () => string;
|
|
127
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
128
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>;
|
|
129
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
130
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
131
|
+
readonly participants: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
132
|
+
readonly id: v.StringSchema<undefined>;
|
|
133
|
+
readonly role: v.StringSchema<undefined>;
|
|
134
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
135
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
136
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
137
|
+
id: string;
|
|
138
|
+
role: string;
|
|
139
|
+
systemFraming?: string | undefined;
|
|
140
|
+
modelId?: string | undefined;
|
|
141
|
+
}[], 2, undefined>, v.MaxLengthAction<{
|
|
142
|
+
id: string;
|
|
143
|
+
role: string;
|
|
144
|
+
systemFraming?: string | undefined;
|
|
145
|
+
modelId?: string | undefined;
|
|
146
|
+
}[], 8, undefined>]>;
|
|
147
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
148
|
+
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>;
|
|
149
|
+
readonly gating: v.OptionalSchema<v.ObjectSchema<{
|
|
150
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
151
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
152
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
153
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
154
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
155
|
+
}, undefined>, undefined>;
|
|
156
|
+
}, undefined>;
|
|
157
|
+
readonly responsesByStatusCode: {
|
|
158
|
+
readonly '4xx': v.ObjectSchema<{
|
|
159
|
+
readonly error: v.ObjectSchema<{
|
|
160
|
+
readonly code: v.StringSchema<undefined>;
|
|
161
|
+
readonly message: v.StringSchema<undefined>;
|
|
162
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
163
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
164
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
165
|
+
readonly message: v.StringSchema<undefined>;
|
|
166
|
+
}, undefined>, undefined>, undefined>;
|
|
167
|
+
}, undefined>;
|
|
168
|
+
}, undefined>;
|
|
169
|
+
readonly '5xx': v.ObjectSchema<{
|
|
170
|
+
readonly error: v.ObjectSchema<{
|
|
171
|
+
readonly code: v.StringSchema<undefined>;
|
|
172
|
+
readonly message: v.StringSchema<undefined>;
|
|
173
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
174
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
175
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
176
|
+
readonly message: v.StringSchema<undefined>;
|
|
177
|
+
}, undefined>, undefined>, undefined>;
|
|
178
|
+
}, undefined>;
|
|
179
|
+
}, undefined>;
|
|
180
|
+
readonly 201: v.ObjectSchema<{
|
|
181
|
+
readonly id: v.StringSchema<undefined>;
|
|
182
|
+
readonly name: v.StringSchema<undefined>;
|
|
183
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
184
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
185
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
186
|
+
readonly id: v.StringSchema<undefined>;
|
|
187
|
+
readonly role: v.StringSchema<undefined>;
|
|
188
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
189
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
+
}, undefined>, undefined>;
|
|
191
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
192
|
+
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>;
|
|
193
|
+
readonly gating: v.ObjectSchema<{
|
|
194
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
195
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
196
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
197
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
198
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
199
|
+
}, undefined>;
|
|
200
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
201
|
+
}, undefined>;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
export declare const updateConsensusGroupContract: {
|
|
205
|
+
readonly method: "patch";
|
|
206
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
207
|
+
groupId: v.StringSchema<undefined>;
|
|
208
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
209
|
+
readonly pathResolver: ({ groupId }: {
|
|
210
|
+
groupId: string;
|
|
211
|
+
}) => string;
|
|
212
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
213
|
+
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
214
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
215
|
+
readonly strategy: v.OptionalSchema<v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>, undefined>;
|
|
216
|
+
readonly participants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
217
|
+
readonly id: v.StringSchema<undefined>;
|
|
218
|
+
readonly role: v.StringSchema<undefined>;
|
|
219
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
220
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
221
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
222
|
+
id: string;
|
|
223
|
+
role: string;
|
|
224
|
+
systemFraming?: string | undefined;
|
|
225
|
+
modelId?: string | undefined;
|
|
226
|
+
}[], 2, undefined>, v.MaxLengthAction<{
|
|
227
|
+
id: string;
|
|
228
|
+
role: string;
|
|
229
|
+
systemFraming?: string | undefined;
|
|
230
|
+
modelId?: string | undefined;
|
|
231
|
+
}[], 8, undefined>]>, undefined>;
|
|
232
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
233
|
+
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>;
|
|
234
|
+
readonly gating: v.OptionalSchema<v.ObjectSchema<{
|
|
235
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
236
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
237
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
238
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
239
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
240
|
+
}, undefined>, undefined>;
|
|
241
|
+
}, undefined>;
|
|
242
|
+
readonly responsesByStatusCode: {
|
|
243
|
+
readonly '4xx': v.ObjectSchema<{
|
|
244
|
+
readonly error: v.ObjectSchema<{
|
|
245
|
+
readonly code: v.StringSchema<undefined>;
|
|
246
|
+
readonly message: v.StringSchema<undefined>;
|
|
247
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
248
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
249
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
250
|
+
readonly message: v.StringSchema<undefined>;
|
|
251
|
+
}, undefined>, undefined>, undefined>;
|
|
252
|
+
}, undefined>;
|
|
253
|
+
}, undefined>;
|
|
254
|
+
readonly '5xx': v.ObjectSchema<{
|
|
255
|
+
readonly error: v.ObjectSchema<{
|
|
256
|
+
readonly code: v.StringSchema<undefined>;
|
|
257
|
+
readonly message: v.StringSchema<undefined>;
|
|
258
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
259
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
260
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
261
|
+
readonly message: v.StringSchema<undefined>;
|
|
262
|
+
}, undefined>, undefined>, undefined>;
|
|
263
|
+
}, undefined>;
|
|
264
|
+
}, undefined>;
|
|
265
|
+
readonly 200: v.ObjectSchema<{
|
|
266
|
+
readonly id: v.StringSchema<undefined>;
|
|
267
|
+
readonly name: v.StringSchema<undefined>;
|
|
268
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
269
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
270
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
271
|
+
readonly id: v.StringSchema<undefined>;
|
|
272
|
+
readonly role: v.StringSchema<undefined>;
|
|
273
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
274
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
275
|
+
}, undefined>, undefined>;
|
|
276
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
277
|
+
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>;
|
|
278
|
+
readonly gating: v.ObjectSchema<{
|
|
279
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
280
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
281
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
282
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
283
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
284
|
+
}, undefined>;
|
|
285
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
export declare const deleteConsensusGroupContract: {
|
|
290
|
+
readonly method: "delete";
|
|
291
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
292
|
+
groupId: v.StringSchema<undefined>;
|
|
293
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
294
|
+
readonly pathResolver: ({ groupId }: {
|
|
295
|
+
groupId: string;
|
|
296
|
+
}) => string;
|
|
297
|
+
readonly responsesByStatusCode: {
|
|
298
|
+
readonly '4xx': v.ObjectSchema<{
|
|
299
|
+
readonly error: v.ObjectSchema<{
|
|
300
|
+
readonly code: v.StringSchema<undefined>;
|
|
301
|
+
readonly message: v.StringSchema<undefined>;
|
|
302
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
303
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
304
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
305
|
+
readonly message: v.StringSchema<undefined>;
|
|
306
|
+
}, undefined>, undefined>, undefined>;
|
|
307
|
+
}, undefined>;
|
|
308
|
+
}, undefined>;
|
|
309
|
+
readonly '5xx': v.ObjectSchema<{
|
|
310
|
+
readonly error: v.ObjectSchema<{
|
|
311
|
+
readonly code: v.StringSchema<undefined>;
|
|
312
|
+
readonly message: v.StringSchema<undefined>;
|
|
313
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
314
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
315
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
316
|
+
readonly message: v.StringSchema<undefined>;
|
|
317
|
+
}, undefined>, undefined>, undefined>;
|
|
318
|
+
}, undefined>;
|
|
319
|
+
}, undefined>;
|
|
320
|
+
readonly 204: typeof ContractNoBody;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
71
323
|
//# sourceMappingURL=consensus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consensus.d.ts","sourceRoot":"","sources":["../../src/routes/consensus.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"consensus.d.ts","sourceRoot":"","sources":["../../src/routes/consensus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA0B5B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAMF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA"}
|
package/dist/routes/consensus.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { defineApiContract } from '@toad-contracts/valibot';
|
|
1
|
+
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
-
import { consensusSessionSchema } from '../consensus.js';
|
|
3
|
+
import { consensusGroupSchema, consensusSessionSchema, createConsensusGroupSchema, updateConsensusGroupSchema, } from '../consensus.js';
|
|
4
4
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
6
|
+
// Consensus route contracts. Mounted under `/workspaces/:workspaceId`, so the
|
|
7
|
+
// paths here are relative to that prefix. Two surfaces: the read-only session
|
|
8
|
+
// transcript (always 200s with `{ session: null }` when consensus is off or no
|
|
9
|
+
// session has run), and CRUD over the workspace's consensus-GROUP library — the
|
|
10
|
+
// reusable, estimate-gated panels a pipeline step escalates to. See
|
|
11
|
+
// ConsensusController / ConsensusGroupController in @cat-factory/server.
|
|
11
12
|
// ---------------------------------------------------------------------------
|
|
12
13
|
const blockIdParams = singleStringParam('blockId');
|
|
14
|
+
const groupIdParams = singleStringParam('groupId');
|
|
13
15
|
/** The `{ session }` envelope the read route returns (session null when none). */
|
|
14
16
|
const consensusSessionResponseSchema = v.object({
|
|
15
17
|
session: v.nullable(consensusSessionSchema),
|
|
@@ -20,4 +22,30 @@ export const getConsensusSessionContract = defineApiContract({
|
|
|
20
22
|
pathResolver: ({ blockId }) => `/blocks/${blockId}/consensus-session`,
|
|
21
23
|
responsesByStatusCode: { 200: consensusSessionResponseSchema, ...errorResponses },
|
|
22
24
|
});
|
|
25
|
+
// ---- The consensus-group library ------------------------------------------
|
|
26
|
+
const consensusGroupListSchema = v.array(consensusGroupSchema);
|
|
27
|
+
export const listConsensusGroupsContract = defineApiContract({
|
|
28
|
+
method: 'get',
|
|
29
|
+
pathResolver: () => '/consensus-groups',
|
|
30
|
+
responsesByStatusCode: { 200: consensusGroupListSchema, ...errorResponses },
|
|
31
|
+
});
|
|
32
|
+
export const createConsensusGroupContract = defineApiContract({
|
|
33
|
+
method: 'post',
|
|
34
|
+
pathResolver: () => '/consensus-groups',
|
|
35
|
+
requestBodySchema: createConsensusGroupSchema,
|
|
36
|
+
responsesByStatusCode: { 201: consensusGroupSchema, ...errorResponses },
|
|
37
|
+
});
|
|
38
|
+
export const updateConsensusGroupContract = defineApiContract({
|
|
39
|
+
method: 'patch',
|
|
40
|
+
requestPathParamsSchema: groupIdParams,
|
|
41
|
+
pathResolver: ({ groupId }) => `/consensus-groups/${groupId}`,
|
|
42
|
+
requestBodySchema: updateConsensusGroupSchema,
|
|
43
|
+
responsesByStatusCode: { 200: consensusGroupSchema, ...errorResponses },
|
|
44
|
+
});
|
|
45
|
+
export const deleteConsensusGroupContract = defineApiContract({
|
|
46
|
+
method: 'delete',
|
|
47
|
+
requestPathParamsSchema: groupIdParams,
|
|
48
|
+
pathResolver: ({ groupId }) => `/consensus-groups/${groupId}`,
|
|
49
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
50
|
+
});
|
|
23
51
|
//# sourceMappingURL=consensus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consensus.js","sourceRoot":"","sources":["../../src/routes/consensus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"consensus.js","sourceRoot":"","sources":["../../src/routes/consensus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,8EAA8E;AAC9E,8EAA8E;AAC9E,+EAA+E;AAC/E,gFAAgF;AAChF,oEAAoE;AACpE,yEAAyE;AACzE,8EAA8E;AAE9E,MAAM,aAAa,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAA;AAClD,MAA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,EAAE,EAAE,GAAG,EAAE,oBAAoB,EAAE,GAAG,cAAc,EAAE;CACxE,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;IAC5D,MAAM,EAAE,QAAQ;IAChB,uBAAuB,EAAE,aAAa;IACtC,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,qBAAqB,OAAO,EAAE;IAC7D,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA"}
|
|
@@ -619,6 +619,11 @@ export declare const startExecutionContract: {
|
|
|
619
619
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
620
620
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
621
621
|
}, undefined>, undefined>;
|
|
622
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
623
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
624
|
+
readonly id: v.StringSchema<undefined>;
|
|
625
|
+
readonly name: v.StringSchema<undefined>;
|
|
626
|
+
}, undefined>, undefined>;
|
|
622
627
|
}, undefined>, undefined>, undefined>;
|
|
623
628
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
624
629
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -2362,6 +2367,11 @@ export declare const resumeSpendContract: {
|
|
|
2362
2367
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
2363
2368
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
2364
2369
|
}, undefined>, undefined>;
|
|
2370
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2371
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
2372
|
+
readonly id: v.StringSchema<undefined>;
|
|
2373
|
+
readonly name: v.StringSchema<undefined>;
|
|
2374
|
+
}, undefined>, undefined>;
|
|
2365
2375
|
}, undefined>, undefined>, undefined>;
|
|
2366
2376
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2367
2377
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -3638,6 +3648,11 @@ export declare const resolveDecisionContract: {
|
|
|
3638
3648
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
3639
3649
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
3640
3650
|
}, undefined>, undefined>;
|
|
3651
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3652
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
3653
|
+
readonly id: v.StringSchema<undefined>;
|
|
3654
|
+
readonly name: v.StringSchema<undefined>;
|
|
3655
|
+
}, undefined>, undefined>;
|
|
3641
3656
|
}, undefined>, undefined>, undefined>;
|
|
3642
3657
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3643
3658
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -4596,6 +4611,11 @@ export declare const approveStepContract: {
|
|
|
4596
4611
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
4597
4612
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
4598
4613
|
}, undefined>, undefined>;
|
|
4614
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4615
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
4616
|
+
readonly id: v.StringSchema<undefined>;
|
|
4617
|
+
readonly name: v.StringSchema<undefined>;
|
|
4618
|
+
}, undefined>, undefined>;
|
|
4599
4619
|
}, undefined>, undefined>, undefined>;
|
|
4600
4620
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4601
4621
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -5568,6 +5588,11 @@ export declare const requestStepChangesContract: {
|
|
|
5568
5588
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
5569
5589
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
5570
5590
|
}, undefined>, undefined>;
|
|
5591
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5592
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
5593
|
+
readonly id: v.StringSchema<undefined>;
|
|
5594
|
+
readonly name: v.StringSchema<undefined>;
|
|
5595
|
+
}, undefined>, undefined>;
|
|
5571
5596
|
}, undefined>, undefined>, undefined>;
|
|
5572
5597
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
5573
5598
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -6526,6 +6551,11 @@ export declare const resolveStepExceededContract: {
|
|
|
6526
6551
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
6527
6552
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
6528
6553
|
}, undefined>, undefined>;
|
|
6554
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6555
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
6556
|
+
readonly id: v.StringSchema<undefined>;
|
|
6557
|
+
readonly name: v.StringSchema<undefined>;
|
|
6558
|
+
}, undefined>, undefined>;
|
|
6529
6559
|
}, undefined>, undefined>, undefined>;
|
|
6530
6560
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
6531
6561
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -7482,6 +7512,11 @@ export declare const restartExecutionContract: {
|
|
|
7482
7512
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
7483
7513
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
7484
7514
|
}, undefined>, undefined>;
|
|
7515
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7516
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
7517
|
+
readonly id: v.StringSchema<undefined>;
|
|
7518
|
+
readonly name: v.StringSchema<undefined>;
|
|
7519
|
+
}, undefined>, undefined>;
|
|
7485
7520
|
}, undefined>, undefined>, undefined>;
|
|
7486
7521
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
7487
7522
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -8440,6 +8475,11 @@ export declare const rejectStepContract: {
|
|
|
8440
8475
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
8441
8476
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
8442
8477
|
}, undefined>, undefined>;
|
|
8478
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8479
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
8480
|
+
readonly id: v.StringSchema<undefined>;
|
|
8481
|
+
readonly name: v.StringSchema<undefined>;
|
|
8482
|
+
}, undefined>, undefined>;
|
|
8443
8483
|
}, undefined>, undefined>, undefined>;
|
|
8444
8484
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
8445
8485
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/routes/execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmD5B,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"execution.d.ts","sourceRoot":"","sources":["../../src/routes/execution.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAmD5B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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v.TrimAction, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
|
|
62
62
|
readonly summary: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
63
63
|
readonly body: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 20000, undefined>]>;
|
|
64
|
+
readonly brief: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
64
65
|
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
|
|
65
66
|
readonly appliesTo: v.OptionalSchema<v.ObjectSchema<{
|
|
66
67
|
readonly blockTypes: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["frontend", "service", "library", "document", "api", "database", "queue", "integration", "external", "environment"], undefined>, undefined>, undefined>;
|
|
@@ -130,6 +131,7 @@ export declare const updatePromptFragmentContract: {
|
|
|
130
131
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 100, undefined>]>, undefined>;
|
|
131
132
|
readonly summary: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
132
133
|
readonly body: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 20000, undefined>]>, undefined>;
|
|
134
|
+
readonly brief: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
133
135
|
readonly tags: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>, undefined>, undefined>;
|
|
134
136
|
readonly appliesTo: v.OptionalSchema<v.ObjectSchema<{
|
|
135
137
|
readonly blockTypes: v.OptionalSchema<v.ArraySchema<v.PicklistSchema<["frontend", "service", "library", "document", "api", "database", "queue", "integration", "external", "environment"], undefined>, undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fragment-library.d.ts","sourceRoot":"","sources":["../../src/routes/fragment-library.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqC5B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"fragment-library.d.ts","sourceRoot":"","sources":["../../src/routes/fragment-library.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqC5B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,oFAAoF;AACpF,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQ9C,CAAA;AAIF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKzC,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASxC,CAAA;AAIF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKrC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMrC,CAAA;AAIF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpC,CAAA"}
|
|
@@ -617,6 +617,11 @@ export declare const requestHumanReviewFixContract: {
|
|
|
617
617
|
readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
618
618
|
readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
619
619
|
}, undefined>, undefined>;
|
|
620
|
+
readonly groupIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
621
|
+
readonly selectedGroup: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
622
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
623
|
+
readonly name: import("valibot").StringSchema<undefined>;
|
|
624
|
+
}, undefined>, undefined>;
|
|
620
625
|
}, undefined>, undefined>, undefined>;
|
|
621
626
|
readonly gating: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
622
627
|
readonly enabled: import("valibot").BooleanSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"human-review.d.ts","sourceRoot":"","sources":["../../src/routes/human-review.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"human-review.d.ts","sourceRoot":"","sources":["../../src/routes/human-review.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMxC,CAAA"}
|
|
@@ -616,6 +616,11 @@ export declare const confirmHumanTestContract: {
|
|
|
616
616
|
readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
617
617
|
readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
618
618
|
}, undefined>, undefined>;
|
|
619
|
+
readonly groupIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
620
|
+
readonly selectedGroup: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
621
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
622
|
+
readonly name: import("valibot").StringSchema<undefined>;
|
|
623
|
+
}, undefined>, undefined>;
|
|
619
624
|
}, undefined>, undefined>, undefined>;
|
|
620
625
|
readonly gating: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
621
626
|
readonly enabled: import("valibot").BooleanSchema<undefined>;
|
|
@@ -1572,6 +1577,11 @@ export declare const requestHumanTestFixContract: {
|
|
|
1572
1577
|
readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1573
1578
|
readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
1574
1579
|
}, undefined>, undefined>;
|
|
1580
|
+
readonly groupIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
1581
|
+
readonly selectedGroup: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
1582
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
1583
|
+
readonly name: import("valibot").StringSchema<undefined>;
|
|
1584
|
+
}, undefined>, undefined>;
|
|
1575
1585
|
}, undefined>, undefined>, undefined>;
|
|
1576
1586
|
readonly gating: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
1577
1587
|
readonly enabled: import("valibot").BooleanSchema<undefined>;
|
|
@@ -2526,6 +2536,11 @@ export declare const pullMainHumanTestContract: {
|
|
|
2526
2536
|
readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
2527
2537
|
readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
2528
2538
|
}, undefined>, undefined>;
|
|
2539
|
+
readonly groupIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
2540
|
+
readonly selectedGroup: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
2541
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
2542
|
+
readonly name: import("valibot").StringSchema<undefined>;
|
|
2543
|
+
}, undefined>, undefined>;
|
|
2529
2544
|
}, undefined>, undefined>, undefined>;
|
|
2530
2545
|
readonly gating: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
2531
2546
|
readonly enabled: import("valibot").BooleanSchema<undefined>;
|
|
@@ -3480,6 +3495,11 @@ export declare const recreateHumanTestEnvContract: {
|
|
|
3480
3495
|
readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
3481
3496
|
readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
3482
3497
|
}, undefined>, undefined>;
|
|
3498
|
+
readonly groupIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
3499
|
+
readonly selectedGroup: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
3500
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
3501
|
+
readonly name: import("valibot").StringSchema<undefined>;
|
|
3502
|
+
}, undefined>, undefined>;
|
|
3483
3503
|
}, undefined>, undefined>, undefined>;
|
|
3484
3504
|
readonly gating: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
3485
3505
|
readonly enabled: import("valibot").BooleanSchema<undefined>;
|
|
@@ -4434,6 +4454,11 @@ export declare const destroyHumanTestEnvContract: {
|
|
|
4434
4454
|
readonly minImpact: import("valibot").OptionalSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>, import("valibot").MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
4435
4455
|
readonly onMissingEstimate: import("valibot").OptionalSchema<import("valibot").PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
4436
4456
|
}, undefined>, undefined>;
|
|
4457
|
+
readonly groupIds: import("valibot").OptionalSchema<import("valibot").ArraySchema<import("valibot").StringSchema<undefined>, undefined>, undefined>;
|
|
4458
|
+
readonly selectedGroup: import("valibot").OptionalSchema<import("valibot").ObjectSchema<{
|
|
4459
|
+
readonly id: import("valibot").StringSchema<undefined>;
|
|
4460
|
+
readonly name: import("valibot").StringSchema<undefined>;
|
|
4461
|
+
}, undefined>, undefined>;
|
|
4437
4462
|
}, undefined>, undefined>, undefined>;
|
|
4438
4463
|
readonly gating: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").ObjectSchema<{
|
|
4439
4464
|
readonly enabled: import("valibot").BooleanSchema<undefined>;
|