@cat-factory/contracts 0.98.0 → 0.99.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 (55) hide show
  1. package/dist/accounts.js +1 -1
  2. package/dist/accounts.js.map +1 -1
  3. package/dist/{provisioning.d.ts → compute-provisioning.d.ts} +1 -1
  4. package/dist/compute-provisioning.d.ts.map +1 -0
  5. package/dist/{provisioning.js → compute-provisioning.js} +5 -2
  6. package/dist/compute-provisioning.js.map +1 -0
  7. package/dist/entities.d.ts +300 -0
  8. package/dist/entities.d.ts.map +1 -1
  9. package/dist/entities.js +1 -1
  10. package/dist/entities.js.map +1 -1
  11. package/dist/environments.d.ts +334 -10
  12. package/dist/environments.d.ts.map +1 -1
  13. package/dist/environments.js +93 -12
  14. package/dist/environments.js.map +1 -1
  15. package/dist/index.d.ts +2 -1
  16. package/dist/index.d.ts.map +1 -1
  17. package/dist/index.js +2 -1
  18. package/dist/index.js.map +1 -1
  19. package/dist/primitives.d.ts +4 -0
  20. package/dist/primitives.d.ts.map +1 -1
  21. package/dist/primitives.js +4 -0
  22. package/dist/primitives.js.map +1 -1
  23. package/dist/requests.d.ts +702 -2
  24. package/dist/requests.d.ts.map +1 -1
  25. package/dist/requests.js +1 -1
  26. package/dist/requests.js.map +1 -1
  27. package/dist/routes/agent-runs.d.ts +200 -0
  28. package/dist/routes/agent-runs.d.ts.map +1 -1
  29. package/dist/routes/board.d.ts +1702 -2
  30. package/dist/routes/board.d.ts.map +1 -1
  31. package/dist/routes/environments.d.ts +119 -0
  32. package/dist/routes/environments.d.ts.map +1 -1
  33. package/dist/routes/execution.d.ts +1000 -0
  34. package/dist/routes/execution.d.ts.map +1 -1
  35. package/dist/routes/human-review.d.ts +100 -0
  36. package/dist/routes/human-review.d.ts.map +1 -1
  37. package/dist/routes/human-test.d.ts +500 -0
  38. package/dist/routes/human-test.d.ts.map +1 -1
  39. package/dist/routes/initiative.d.ts +100 -0
  40. package/dist/routes/initiative.d.ts.map +1 -1
  41. package/dist/routes/tasks.d.ts +300 -0
  42. package/dist/routes/tasks.d.ts.map +1 -1
  43. package/dist/routes/visual-confirm.d.ts +300 -0
  44. package/dist/routes/visual-confirm.d.ts.map +1 -1
  45. package/dist/routes/workspaces.d.ts +400 -0
  46. package/dist/routes/workspaces.d.ts.map +1 -1
  47. package/dist/snapshot.d.ts +200 -0
  48. package/dist/snapshot.d.ts.map +1 -1
  49. package/dist/stack-recipes.d.ts +245 -0
  50. package/dist/stack-recipes.d.ts.map +1 -0
  51. package/dist/stack-recipes.js +175 -0
  52. package/dist/stack-recipes.js.map +1 -0
  53. package/package.json +1 -1
  54. package/dist/provisioning.d.ts.map +0 -1
  55. package/dist/provisioning.js.map +0 -1
@@ -161,6 +161,106 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
161
161
  readonly composePath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
162
162
  readonly localDevOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
163
163
  readonly composeBuild: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
164
+ readonly recipe: v.OptionalSchema<v.ObjectSchema<{
165
+ readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
166
+ 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>;
167
+ readonly envFiles: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
168
+ readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
169
+ readonly target: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
170
+ }, undefined>, undefined>, undefined>;
171
+ 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>;
172
+ 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>;
173
+ readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
174
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
175
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
176
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
177
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
178
+ readonly stdinFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
179
+ readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
180
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
181
+ 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>;
182
+ }, undefined>, v.ObjectSchema<{
183
+ readonly kind: v.LiteralSchema<"copy-file", undefined>;
184
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
185
+ readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
186
+ readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
187
+ 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>;
188
+ }, undefined>, v.ObjectSchema<{
189
+ readonly kind: v.LiteralSchema<"wait-http", undefined>;
190
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
191
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
192
+ 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>;
193
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
194
+ 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>;
195
+ 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>;
196
+ }, undefined>, v.ObjectSchema<{
197
+ readonly kind: v.LiteralSchema<"wait-file", undefined>;
198
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
199
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
200
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
201
+ 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>;
202
+ 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>;
203
+ }, undefined>, v.ObjectSchema<{
204
+ readonly kind: v.LiteralSchema<"host-command", undefined>;
205
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
206
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
207
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
208
+ 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>;
209
+ }, undefined>], undefined>, undefined>, undefined>;
210
+ readonly healthGate: v.OptionalSchema<v.VariantSchema<"kind", [v.ObjectSchema<{
211
+ readonly kind: v.LiteralSchema<"compose-healthy", undefined>;
212
+ }, undefined>, v.ObjectSchema<{
213
+ readonly kind: v.LiteralSchema<"http", undefined>;
214
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
215
+ 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>;
216
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
217
+ 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>;
218
+ 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>;
219
+ }, undefined>, v.ObjectSchema<{
220
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
221
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
222
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
223
+ 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>;
224
+ 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>;
225
+ }, undefined>], undefined>, undefined>;
226
+ readonly teardownSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
227
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
228
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
229
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
230
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
231
+ readonly stdinFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
232
+ readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
233
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
234
+ 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>;
235
+ }, undefined>, v.ObjectSchema<{
236
+ readonly kind: v.LiteralSchema<"copy-file", undefined>;
237
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
238
+ readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
239
+ readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
240
+ 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>;
241
+ }, undefined>, v.ObjectSchema<{
242
+ readonly kind: v.LiteralSchema<"wait-http", undefined>;
243
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
244
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
245
+ 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>;
246
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
247
+ 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>;
248
+ 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>;
249
+ }, undefined>, v.ObjectSchema<{
250
+ readonly kind: v.LiteralSchema<"wait-file", undefined>;
251
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
252
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
253
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
254
+ 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>;
255
+ 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>;
256
+ }, undefined>, v.ObjectSchema<{
257
+ readonly kind: v.LiteralSchema<"host-command", undefined>;
258
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
259
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
260
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
261
+ 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>;
262
+ }, undefined>], undefined>, undefined>, undefined>;
263
+ }, undefined>, undefined>;
164
264
  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>;
165
265
  readonly manifestPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
166
266
  readonly images: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
@@ -313,6 +413,106 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
313
413
  readonly composePath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
314
414
  readonly localDevOnly: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
315
415
  readonly composeBuild: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
416
+ readonly recipe: v.OptionalSchema<v.ObjectSchema<{
417
+ readonly composeFiles: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>, undefined>;
418
+ 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>;
419
+ readonly envFiles: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
420
+ readonly template: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
421
+ readonly target: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
422
+ }, undefined>, undefined>, undefined>;
423
+ 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>;
424
+ 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>;
425
+ readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
426
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
427
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
428
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
429
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
430
+ readonly stdinFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
431
+ readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
432
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
433
+ 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>;
434
+ }, undefined>, v.ObjectSchema<{
435
+ readonly kind: v.LiteralSchema<"copy-file", undefined>;
436
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
437
+ readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
438
+ readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
439
+ 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>;
440
+ }, undefined>, v.ObjectSchema<{
441
+ readonly kind: v.LiteralSchema<"wait-http", undefined>;
442
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
443
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
444
+ 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>;
445
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
446
+ 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>;
447
+ 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>;
448
+ }, undefined>, v.ObjectSchema<{
449
+ readonly kind: v.LiteralSchema<"wait-file", undefined>;
450
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
451
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
452
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
453
+ 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>;
454
+ 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>;
455
+ }, undefined>, v.ObjectSchema<{
456
+ readonly kind: v.LiteralSchema<"host-command", undefined>;
457
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
458
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
459
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
460
+ 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>;
461
+ }, undefined>], undefined>, undefined>, undefined>;
462
+ readonly healthGate: v.OptionalSchema<v.VariantSchema<"kind", [v.ObjectSchema<{
463
+ readonly kind: v.LiteralSchema<"compose-healthy", undefined>;
464
+ }, undefined>, v.ObjectSchema<{
465
+ readonly kind: v.LiteralSchema<"http", undefined>;
466
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
467
+ 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>;
468
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
469
+ 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>;
470
+ 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>;
471
+ }, undefined>, v.ObjectSchema<{
472
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
473
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
474
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
475
+ 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>;
476
+ 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>;
477
+ }, undefined>], undefined>, undefined>;
478
+ readonly teardownSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
479
+ readonly kind: v.LiteralSchema<"compose-exec", undefined>;
480
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
481
+ readonly service: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>;
482
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
483
+ readonly stdinFile: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
484
+ readonly user: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
485
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
486
+ 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>;
487
+ }, undefined>, v.ObjectSchema<{
488
+ readonly kind: v.LiteralSchema<"copy-file", undefined>;
489
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
490
+ readonly from: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
491
+ readonly to: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
492
+ 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>;
493
+ }, undefined>, v.ObjectSchema<{
494
+ readonly kind: v.LiteralSchema<"wait-http", undefined>;
495
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
496
+ readonly url: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>;
497
+ 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>;
498
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
499
+ 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>;
500
+ 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>;
501
+ }, undefined>, v.ObjectSchema<{
502
+ readonly kind: v.LiteralSchema<"wait-file", undefined>;
503
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
504
+ readonly path: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
505
+ readonly service: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
506
+ 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>;
507
+ 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>;
508
+ }, undefined>, v.ObjectSchema<{
509
+ readonly kind: v.LiteralSchema<"host-command", undefined>;
510
+ readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
511
+ readonly command: v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, v.MinLengthAction<string[], 1, undefined>]>;
512
+ readonly workdir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
513
+ 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>;
514
+ }, undefined>], undefined>, undefined>, undefined>;
515
+ }, undefined>, undefined>;
316
516
  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>;
317
517
  readonly manifestPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
318
518
  readonly images: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
@@ -467,6 +667,106 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
467
667
  composePath?: string | undefined;
468
668
  localDevOnly?: boolean | undefined;
469
669
  composeBuild?: boolean | undefined;
670
+ recipe?: {
671
+ composeFiles?: string[] | undefined;
672
+ composeProfiles?: string[] | undefined;
673
+ envFiles?: {
674
+ template: string;
675
+ target: string;
676
+ }[] | undefined;
677
+ externalNetworks?: string[] | undefined;
678
+ sharedStackRefs?: string[] | undefined;
679
+ setupSteps?: ({
680
+ kind: "compose-exec";
681
+ name: string;
682
+ service: string;
683
+ command: string[];
684
+ stdinFile?: string | undefined;
685
+ user?: string | undefined;
686
+ workdir?: string | undefined;
687
+ timeoutMs?: number | undefined;
688
+ } | {
689
+ kind: "copy-file";
690
+ name: string;
691
+ from: string;
692
+ to: string;
693
+ timeoutMs?: number | undefined;
694
+ } | {
695
+ kind: "wait-http";
696
+ name: string;
697
+ url: string;
698
+ expectStatus?: number | undefined;
699
+ expectBodyContains?: string | undefined;
700
+ intervalMs?: number | undefined;
701
+ timeoutMs?: number | undefined;
702
+ } | {
703
+ kind: "wait-file";
704
+ name: string;
705
+ path: string;
706
+ service?: string | undefined;
707
+ intervalMs?: number | undefined;
708
+ timeoutMs?: number | undefined;
709
+ } | {
710
+ kind: "host-command";
711
+ name: string;
712
+ command: string[];
713
+ workdir?: string | undefined;
714
+ timeoutMs?: number | undefined;
715
+ })[] | undefined;
716
+ healthGate?: {
717
+ kind: "compose-healthy";
718
+ } | {
719
+ kind: "http";
720
+ url: string;
721
+ expectStatus?: number | undefined;
722
+ expectBodyContains?: string | undefined;
723
+ intervalMs?: number | undefined;
724
+ timeoutMs?: number | undefined;
725
+ } | {
726
+ kind: "compose-exec";
727
+ service: string;
728
+ command: string[];
729
+ intervalMs?: number | undefined;
730
+ timeoutMs?: number | undefined;
731
+ } | undefined;
732
+ teardownSteps?: ({
733
+ kind: "compose-exec";
734
+ name: string;
735
+ service: string;
736
+ command: string[];
737
+ stdinFile?: string | undefined;
738
+ user?: string | undefined;
739
+ workdir?: string | undefined;
740
+ timeoutMs?: number | undefined;
741
+ } | {
742
+ kind: "copy-file";
743
+ name: string;
744
+ from: string;
745
+ to: string;
746
+ timeoutMs?: number | undefined;
747
+ } | {
748
+ kind: "wait-http";
749
+ name: string;
750
+ url: string;
751
+ expectStatus?: number | undefined;
752
+ expectBodyContains?: string | undefined;
753
+ intervalMs?: number | undefined;
754
+ timeoutMs?: number | undefined;
755
+ } | {
756
+ kind: "wait-file";
757
+ name: string;
758
+ path: string;
759
+ service?: string | undefined;
760
+ intervalMs?: number | undefined;
761
+ timeoutMs?: number | undefined;
762
+ } | {
763
+ kind: "host-command";
764
+ name: string;
765
+ command: string[];
766
+ workdir?: string | undefined;
767
+ timeoutMs?: number | undefined;
768
+ })[] | undefined;
769
+ } | undefined;
470
770
  manifestId?: string | undefined;
471
771
  manifestPath?: string | undefined;
472
772
  images?: {
@@ -597,6 +897,106 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
597
897
  composePath?: string | undefined;
598
898
  localDevOnly?: boolean | undefined;
599
899
  composeBuild?: boolean | undefined;
900
+ recipe?: {
901
+ composeFiles?: string[] | undefined;
902
+ composeProfiles?: string[] | undefined;
903
+ envFiles?: {
904
+ template: string;
905
+ target: string;
906
+ }[] | undefined;
907
+ externalNetworks?: string[] | undefined;
908
+ sharedStackRefs?: string[] | undefined;
909
+ setupSteps?: ({
910
+ kind: "compose-exec";
911
+ name: string;
912
+ service: string;
913
+ command: string[];
914
+ stdinFile?: string | undefined;
915
+ user?: string | undefined;
916
+ workdir?: string | undefined;
917
+ timeoutMs?: number | undefined;
918
+ } | {
919
+ kind: "copy-file";
920
+ name: string;
921
+ from: string;
922
+ to: string;
923
+ timeoutMs?: number | undefined;
924
+ } | {
925
+ kind: "wait-http";
926
+ name: string;
927
+ url: string;
928
+ expectStatus?: number | undefined;
929
+ expectBodyContains?: string | undefined;
930
+ intervalMs?: number | undefined;
931
+ timeoutMs?: number | undefined;
932
+ } | {
933
+ kind: "wait-file";
934
+ name: string;
935
+ path: string;
936
+ service?: string | undefined;
937
+ intervalMs?: number | undefined;
938
+ timeoutMs?: number | undefined;
939
+ } | {
940
+ kind: "host-command";
941
+ name: string;
942
+ command: string[];
943
+ workdir?: string | undefined;
944
+ timeoutMs?: number | undefined;
945
+ })[] | undefined;
946
+ healthGate?: {
947
+ kind: "compose-healthy";
948
+ } | {
949
+ kind: "http";
950
+ url: string;
951
+ expectStatus?: number | undefined;
952
+ expectBodyContains?: string | undefined;
953
+ intervalMs?: number | undefined;
954
+ timeoutMs?: number | undefined;
955
+ } | {
956
+ kind: "compose-exec";
957
+ service: string;
958
+ command: string[];
959
+ intervalMs?: number | undefined;
960
+ timeoutMs?: number | undefined;
961
+ } | undefined;
962
+ teardownSteps?: ({
963
+ kind: "compose-exec";
964
+ name: string;
965
+ service: string;
966
+ command: string[];
967
+ stdinFile?: string | undefined;
968
+ user?: string | undefined;
969
+ workdir?: string | undefined;
970
+ timeoutMs?: number | undefined;
971
+ } | {
972
+ kind: "copy-file";
973
+ name: string;
974
+ from: string;
975
+ to: string;
976
+ timeoutMs?: number | undefined;
977
+ } | {
978
+ kind: "wait-http";
979
+ name: string;
980
+ url: string;
981
+ expectStatus?: number | undefined;
982
+ expectBodyContains?: string | undefined;
983
+ intervalMs?: number | undefined;
984
+ timeoutMs?: number | undefined;
985
+ } | {
986
+ kind: "wait-file";
987
+ name: string;
988
+ path: string;
989
+ service?: string | undefined;
990
+ intervalMs?: number | undefined;
991
+ timeoutMs?: number | undefined;
992
+ } | {
993
+ kind: "host-command";
994
+ name: string;
995
+ command: string[];
996
+ workdir?: string | undefined;
997
+ timeoutMs?: number | undefined;
998
+ })[] | undefined;
999
+ } | undefined;
600
1000
  manifestId?: string | undefined;
601
1001
  manifestPath?: string | undefined;
602
1002
  images?: {
@@ -728,6 +1128,106 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
728
1128
  composePath?: string | undefined;
729
1129
  localDevOnly?: boolean | undefined;
730
1130
  composeBuild?: boolean | undefined;
1131
+ recipe?: {
1132
+ composeFiles?: string[] | undefined;
1133
+ composeProfiles?: string[] | undefined;
1134
+ envFiles?: {
1135
+ template: string;
1136
+ target: string;
1137
+ }[] | undefined;
1138
+ externalNetworks?: string[] | undefined;
1139
+ sharedStackRefs?: string[] | undefined;
1140
+ setupSteps?: ({
1141
+ kind: "compose-exec";
1142
+ name: string;
1143
+ service: string;
1144
+ command: string[];
1145
+ stdinFile?: string | undefined;
1146
+ user?: string | undefined;
1147
+ workdir?: string | undefined;
1148
+ timeoutMs?: number | undefined;
1149
+ } | {
1150
+ kind: "copy-file";
1151
+ name: string;
1152
+ from: string;
1153
+ to: string;
1154
+ timeoutMs?: number | undefined;
1155
+ } | {
1156
+ kind: "wait-http";
1157
+ name: string;
1158
+ url: string;
1159
+ expectStatus?: number | undefined;
1160
+ expectBodyContains?: string | undefined;
1161
+ intervalMs?: number | undefined;
1162
+ timeoutMs?: number | undefined;
1163
+ } | {
1164
+ kind: "wait-file";
1165
+ name: string;
1166
+ path: string;
1167
+ service?: string | undefined;
1168
+ intervalMs?: number | undefined;
1169
+ timeoutMs?: number | undefined;
1170
+ } | {
1171
+ kind: "host-command";
1172
+ name: string;
1173
+ command: string[];
1174
+ workdir?: string | undefined;
1175
+ timeoutMs?: number | undefined;
1176
+ })[] | undefined;
1177
+ healthGate?: {
1178
+ kind: "compose-healthy";
1179
+ } | {
1180
+ kind: "http";
1181
+ url: string;
1182
+ expectStatus?: number | undefined;
1183
+ expectBodyContains?: string | undefined;
1184
+ intervalMs?: number | undefined;
1185
+ timeoutMs?: number | undefined;
1186
+ } | {
1187
+ kind: "compose-exec";
1188
+ service: string;
1189
+ command: string[];
1190
+ intervalMs?: number | undefined;
1191
+ timeoutMs?: number | undefined;
1192
+ } | undefined;
1193
+ teardownSteps?: ({
1194
+ kind: "compose-exec";
1195
+ name: string;
1196
+ service: string;
1197
+ command: string[];
1198
+ stdinFile?: string | undefined;
1199
+ user?: string | undefined;
1200
+ workdir?: string | undefined;
1201
+ timeoutMs?: number | undefined;
1202
+ } | {
1203
+ kind: "copy-file";
1204
+ name: string;
1205
+ from: string;
1206
+ to: string;
1207
+ timeoutMs?: number | undefined;
1208
+ } | {
1209
+ kind: "wait-http";
1210
+ name: string;
1211
+ url: string;
1212
+ expectStatus?: number | undefined;
1213
+ expectBodyContains?: string | undefined;
1214
+ intervalMs?: number | undefined;
1215
+ timeoutMs?: number | undefined;
1216
+ } | {
1217
+ kind: "wait-file";
1218
+ name: string;
1219
+ path: string;
1220
+ service?: string | undefined;
1221
+ intervalMs?: number | undefined;
1222
+ timeoutMs?: number | undefined;
1223
+ } | {
1224
+ kind: "host-command";
1225
+ name: string;
1226
+ command: string[];
1227
+ workdir?: string | undefined;
1228
+ timeoutMs?: number | undefined;
1229
+ })[] | undefined;
1230
+ } | undefined;
731
1231
  manifestId?: string | undefined;
732
1232
  manifestPath?: string | undefined;
733
1233
  images?: {
@@ -835,7 +1335,7 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
835
1335
  }> | v.IntegerIssue<number> | v.LiteralIssue | v.MaxLengthIssue<string, 64> | v.MaxLengthIssue<string, 120> | v.MaxLengthIssue<string, 200> | v.MaxLengthIssue<string, 256> | v.MaxLengthIssue<string, 300> | v.MaxLengthIssue<string, 400> | v.MaxLengthIssue<string, 500> | v.MaxLengthIssue<string, 2000> | v.MaxLengthIssue<string[], 50> | v.MaxLengthIssue<{
836
1336
  serviceBlockId: string;
837
1337
  description?: string | undefined;
838
- }[], 50> | v.MaxValueIssue<number, 65535> | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 1> | v.NumberIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.RegexIssue<string> | v.StringIssue | v.VariantIssue>;
1338
+ }[], 50> | v.MaxValueIssue<number, 599> | v.MaxValueIssue<number, 60000> | v.MaxValueIssue<number, 65535> | v.MaxValueIssue<number, 3600000> | v.MinLengthIssue<string, 1> | v.MinLengthIssue<string[], 1> | v.MinValueIssue<number, 1> | v.MinValueIssue<number, 100> | v.MinValueIssue<number, 250> | v.MinValueIssue<number, 1000> | v.NumberIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.RegexIssue<string> | v.StringIssue | v.VariantIssue>;
839
1339
  readonly "~types"?: {
840
1340
  readonly input: {
841
1341
  title?: string | undefined;
@@ -874,6 +1374,106 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
874
1374
  composePath?: string | undefined;
875
1375
  localDevOnly?: boolean | undefined;
876
1376
  composeBuild?: boolean | undefined;
1377
+ recipe?: {
1378
+ composeFiles?: string[] | undefined;
1379
+ composeProfiles?: string[] | undefined;
1380
+ envFiles?: {
1381
+ template: string;
1382
+ target: string;
1383
+ }[] | undefined;
1384
+ externalNetworks?: string[] | undefined;
1385
+ sharedStackRefs?: string[] | undefined;
1386
+ setupSteps?: ({
1387
+ kind: "compose-exec";
1388
+ name: string;
1389
+ service: string;
1390
+ command: string[];
1391
+ stdinFile?: string | undefined;
1392
+ user?: string | undefined;
1393
+ workdir?: string | undefined;
1394
+ timeoutMs?: number | undefined;
1395
+ } | {
1396
+ kind: "copy-file";
1397
+ name: string;
1398
+ from: string;
1399
+ to: string;
1400
+ timeoutMs?: number | undefined;
1401
+ } | {
1402
+ kind: "wait-http";
1403
+ name: string;
1404
+ url: string;
1405
+ expectStatus?: number | undefined;
1406
+ expectBodyContains?: string | undefined;
1407
+ intervalMs?: number | undefined;
1408
+ timeoutMs?: number | undefined;
1409
+ } | {
1410
+ kind: "wait-file";
1411
+ name: string;
1412
+ path: string;
1413
+ service?: string | undefined;
1414
+ intervalMs?: number | undefined;
1415
+ timeoutMs?: number | undefined;
1416
+ } | {
1417
+ kind: "host-command";
1418
+ name: string;
1419
+ command: string[];
1420
+ workdir?: string | undefined;
1421
+ timeoutMs?: number | undefined;
1422
+ })[] | undefined;
1423
+ healthGate?: {
1424
+ kind: "compose-healthy";
1425
+ } | {
1426
+ kind: "http";
1427
+ url: string;
1428
+ expectStatus?: number | undefined;
1429
+ expectBodyContains?: string | undefined;
1430
+ intervalMs?: number | undefined;
1431
+ timeoutMs?: number | undefined;
1432
+ } | {
1433
+ kind: "compose-exec";
1434
+ service: string;
1435
+ command: string[];
1436
+ intervalMs?: number | undefined;
1437
+ timeoutMs?: number | undefined;
1438
+ } | undefined;
1439
+ teardownSteps?: ({
1440
+ kind: "compose-exec";
1441
+ name: string;
1442
+ service: string;
1443
+ command: string[];
1444
+ stdinFile?: string | undefined;
1445
+ user?: string | undefined;
1446
+ workdir?: string | undefined;
1447
+ timeoutMs?: number | undefined;
1448
+ } | {
1449
+ kind: "copy-file";
1450
+ name: string;
1451
+ from: string;
1452
+ to: string;
1453
+ timeoutMs?: number | undefined;
1454
+ } | {
1455
+ kind: "wait-http";
1456
+ name: string;
1457
+ url: string;
1458
+ expectStatus?: number | undefined;
1459
+ expectBodyContains?: string | undefined;
1460
+ intervalMs?: number | undefined;
1461
+ timeoutMs?: number | undefined;
1462
+ } | {
1463
+ kind: "wait-file";
1464
+ name: string;
1465
+ path: string;
1466
+ service?: string | undefined;
1467
+ intervalMs?: number | undefined;
1468
+ timeoutMs?: number | undefined;
1469
+ } | {
1470
+ kind: "host-command";
1471
+ name: string;
1472
+ command: string[];
1473
+ workdir?: string | undefined;
1474
+ timeoutMs?: number | undefined;
1475
+ })[] | undefined;
1476
+ } | undefined;
877
1477
  manifestId?: string | undefined;
878
1478
  manifestPath?: string | undefined;
879
1479
  images?: {
@@ -1005,6 +1605,106 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
1005
1605
  composePath?: string | undefined;
1006
1606
  localDevOnly?: boolean | undefined;
1007
1607
  composeBuild?: boolean | undefined;
1608
+ recipe?: {
1609
+ composeFiles?: string[] | undefined;
1610
+ composeProfiles?: string[] | undefined;
1611
+ envFiles?: {
1612
+ template: string;
1613
+ target: string;
1614
+ }[] | undefined;
1615
+ externalNetworks?: string[] | undefined;
1616
+ sharedStackRefs?: string[] | undefined;
1617
+ setupSteps?: ({
1618
+ kind: "compose-exec";
1619
+ name: string;
1620
+ service: string;
1621
+ command: string[];
1622
+ stdinFile?: string | undefined;
1623
+ user?: string | undefined;
1624
+ workdir?: string | undefined;
1625
+ timeoutMs?: number | undefined;
1626
+ } | {
1627
+ kind: "copy-file";
1628
+ name: string;
1629
+ from: string;
1630
+ to: string;
1631
+ timeoutMs?: number | undefined;
1632
+ } | {
1633
+ kind: "wait-http";
1634
+ name: string;
1635
+ url: string;
1636
+ expectStatus?: number | undefined;
1637
+ expectBodyContains?: string | undefined;
1638
+ intervalMs?: number | undefined;
1639
+ timeoutMs?: number | undefined;
1640
+ } | {
1641
+ kind: "wait-file";
1642
+ name: string;
1643
+ path: string;
1644
+ service?: string | undefined;
1645
+ intervalMs?: number | undefined;
1646
+ timeoutMs?: number | undefined;
1647
+ } | {
1648
+ kind: "host-command";
1649
+ name: string;
1650
+ command: string[];
1651
+ workdir?: string | undefined;
1652
+ timeoutMs?: number | undefined;
1653
+ })[] | undefined;
1654
+ healthGate?: {
1655
+ kind: "compose-healthy";
1656
+ } | {
1657
+ kind: "http";
1658
+ url: string;
1659
+ expectStatus?: number | undefined;
1660
+ expectBodyContains?: string | undefined;
1661
+ intervalMs?: number | undefined;
1662
+ timeoutMs?: number | undefined;
1663
+ } | {
1664
+ kind: "compose-exec";
1665
+ service: string;
1666
+ command: string[];
1667
+ intervalMs?: number | undefined;
1668
+ timeoutMs?: number | undefined;
1669
+ } | undefined;
1670
+ teardownSteps?: ({
1671
+ kind: "compose-exec";
1672
+ name: string;
1673
+ service: string;
1674
+ command: string[];
1675
+ stdinFile?: string | undefined;
1676
+ user?: string | undefined;
1677
+ workdir?: string | undefined;
1678
+ timeoutMs?: number | undefined;
1679
+ } | {
1680
+ kind: "copy-file";
1681
+ name: string;
1682
+ from: string;
1683
+ to: string;
1684
+ timeoutMs?: number | undefined;
1685
+ } | {
1686
+ kind: "wait-http";
1687
+ name: string;
1688
+ url: string;
1689
+ expectStatus?: number | undefined;
1690
+ expectBodyContains?: string | undefined;
1691
+ intervalMs?: number | undefined;
1692
+ timeoutMs?: number | undefined;
1693
+ } | {
1694
+ kind: "wait-file";
1695
+ name: string;
1696
+ path: string;
1697
+ service?: string | undefined;
1698
+ intervalMs?: number | undefined;
1699
+ timeoutMs?: number | undefined;
1700
+ } | {
1701
+ kind: "host-command";
1702
+ name: string;
1703
+ command: string[];
1704
+ workdir?: string | undefined;
1705
+ timeoutMs?: number | undefined;
1706
+ })[] | undefined;
1707
+ } | undefined;
1008
1708
  manifestId?: string | undefined;
1009
1709
  manifestPath?: string | undefined;
1010
1710
  images?: {
@@ -1113,7 +1813,7 @@ export declare const updateBlockSchema: Omit<v.ObjectSchema<{
1113
1813
  }> | v.IntegerIssue<number> | v.LiteralIssue | v.MaxLengthIssue<string, 64> | v.MaxLengthIssue<string, 120> | v.MaxLengthIssue<string, 200> | v.MaxLengthIssue<string, 256> | v.MaxLengthIssue<string, 300> | v.MaxLengthIssue<string, 400> | v.MaxLengthIssue<string, 500> | v.MaxLengthIssue<string, 2000> | v.MaxLengthIssue<string[], 50> | v.MaxLengthIssue<{
1114
1814
  serviceBlockId: string;
1115
1815
  description?: string | undefined;
1116
- }[], 50> | v.MaxValueIssue<number, 65535> | v.MinLengthIssue<string, 1> | v.MinValueIssue<number, 1> | v.NumberIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.RegexIssue<string> | v.StringIssue | v.VariantIssue;
1816
+ }[], 50> | v.MaxValueIssue<number, 599> | v.MaxValueIssue<number, 60000> | v.MaxValueIssue<number, 65535> | v.MaxValueIssue<number, 3600000> | v.MinLengthIssue<string, 1> | v.MinLengthIssue<string[], 1> | v.MinValueIssue<number, 1> | v.MinValueIssue<number, 100> | v.MinValueIssue<number, 250> | v.MinValueIssue<number, 1000> | v.NumberIssue | v.ObjectIssue | v.PicklistIssue | v.RecordIssue | v.RegexIssue<string> | v.StringIssue | v.VariantIssue;
1117
1817
  } | undefined;
1118
1818
  };
1119
1819
  export type UpdateBlockInput = v.InferOutput<typeof updateBlockSchema>;