@cat-factory/contracts 0.104.0 → 0.106.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 (63) hide show
  1. package/dist/bootstrap.d.ts +2 -0
  2. package/dist/bootstrap.d.ts.map +1 -1
  3. package/dist/entities.d.ts +120 -0
  4. package/dist/entities.d.ts.map +1 -1
  5. package/dist/entities.js +38 -0
  6. package/dist/entities.js.map +1 -1
  7. package/dist/env-config-repair.d.ts +1 -0
  8. package/dist/env-config-repair.d.ts.map +1 -1
  9. package/dist/environments.d.ts +36 -0
  10. package/dist/environments.d.ts.map +1 -1
  11. package/dist/index.d.ts +1 -0
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +1 -0
  14. package/dist/index.js.map +1 -1
  15. package/dist/observability.d.ts +18 -0
  16. package/dist/observability.d.ts.map +1 -1
  17. package/dist/observability.js +25 -0
  18. package/dist/observability.js.map +1 -1
  19. package/dist/preflights.d.ts +107 -0
  20. package/dist/preflights.d.ts.map +1 -0
  21. package/dist/preflights.js +114 -0
  22. package/dist/preflights.js.map +1 -0
  23. package/dist/requests.d.ts +130 -4
  24. package/dist/requests.d.ts.map +1 -1
  25. package/dist/routes/agent-runs.d.ts +52 -0
  26. package/dist/routes/agent-runs.d.ts.map +1 -1
  27. package/dist/routes/board.d.ts +310 -4
  28. package/dist/routes/board.d.ts.map +1 -1
  29. package/dist/routes/bootstrap.d.ts +3 -0
  30. package/dist/routes/bootstrap.d.ts.map +1 -1
  31. package/dist/routes/environments.d.ts +18 -0
  32. package/dist/routes/environments.d.ts.map +1 -1
  33. package/dist/routes/execution.d.ts +274 -0
  34. package/dist/routes/execution.d.ts.map +1 -1
  35. package/dist/routes/execution.js +14 -1
  36. package/dist/routes/execution.js.map +1 -1
  37. package/dist/routes/human-review.d.ts +24 -0
  38. package/dist/routes/human-review.d.ts.map +1 -1
  39. package/dist/routes/human-test.d.ts +120 -0
  40. package/dist/routes/human-test.d.ts.map +1 -1
  41. package/dist/routes/index.d.ts +1 -0
  42. package/dist/routes/index.d.ts.map +1 -1
  43. package/dist/routes/index.js +1 -0
  44. package/dist/routes/index.js.map +1 -1
  45. package/dist/routes/initiative.d.ts +18 -0
  46. package/dist/routes/initiative.d.ts.map +1 -1
  47. package/dist/routes/preflights.d.ts +63 -0
  48. package/dist/routes/preflights.d.ts.map +1 -0
  49. package/dist/routes/preflights.js +27 -0
  50. package/dist/routes/preflights.js.map +1 -0
  51. package/dist/routes/tasks.d.ts +54 -0
  52. package/dist/routes/tasks.d.ts.map +1 -1
  53. package/dist/routes/visual-confirm.d.ts +72 -0
  54. package/dist/routes/visual-confirm.d.ts.map +1 -1
  55. package/dist/routes/workspaces.d.ts +88 -0
  56. package/dist/routes/workspaces.d.ts.map +1 -1
  57. package/dist/snapshot.d.ts +44 -0
  58. package/dist/snapshot.d.ts.map +1 -1
  59. package/dist/stack-recipes.d.ts +24 -0
  60. package/dist/stack-recipes.d.ts.map +1 -1
  61. package/dist/stack-recipes.js +8 -0
  62. package/dist/stack-recipes.js.map +1 -1
  63. package/package.json +1 -1
@@ -0,0 +1,63 @@
1
+ import * as v from 'valibot';
2
+ /**
3
+ * Run the given preflight checks and return one {@link preflightResultSchema} per ref (pass / fail /
4
+ * warn + a probe detail + remediation on a non-pass). Requires the host-probe runtime (local
5
+ * facade); 503 otherwise.
6
+ */
7
+ export declare const runPreflightsContract: {
8
+ readonly method: "post";
9
+ readonly pathResolver: () => string;
10
+ readonly requestBodySchema: v.ObjectSchema<{
11
+ readonly prerequisites: v.ArraySchema<v.ObjectSchema<{
12
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
13
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
14
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
15
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
16
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
17
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
18
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
19
+ 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>;
20
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
21
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
22
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
23
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
24
+ }, undefined>, undefined>;
25
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
26
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
27
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
28
+ }, undefined>, undefined>;
29
+ }, undefined>;
30
+ readonly responsesByStatusCode: {
31
+ readonly '4xx': v.ObjectSchema<{
32
+ readonly error: v.ObjectSchema<{
33
+ readonly code: v.StringSchema<undefined>;
34
+ readonly message: v.StringSchema<undefined>;
35
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
36
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
37
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
38
+ readonly message: v.StringSchema<undefined>;
39
+ }, undefined>, undefined>, undefined>;
40
+ }, undefined>;
41
+ }, undefined>;
42
+ readonly '5xx': v.ObjectSchema<{
43
+ readonly error: v.ObjectSchema<{
44
+ readonly code: v.StringSchema<undefined>;
45
+ readonly message: v.StringSchema<undefined>;
46
+ readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
47
+ readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
48
+ readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
49
+ readonly message: v.StringSchema<undefined>;
50
+ }, undefined>, undefined>, undefined>;
51
+ }, undefined>;
52
+ }, undefined>;
53
+ readonly 200: v.ArraySchema<v.ObjectSchema<{
54
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
55
+ readonly title: v.StringSchema<undefined>;
56
+ readonly status: v.PicklistSchema<["pass", "fail", "warn"], undefined>;
57
+ readonly required: v.BooleanSchema<undefined>;
58
+ readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
59
+ readonly remediation: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
60
+ }, undefined>, undefined>;
61
+ };
62
+ };
63
+ //# sourceMappingURL=preflights.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preflights.d.ts","sourceRoot":"","sources":["../../src/routes/preflights.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAiB5B;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKhC,CAAA"}
@@ -0,0 +1,27 @@
1
+ import { defineApiContract } from '@toad-contracts/valibot';
2
+ import * as v from 'valibot';
3
+ import { preflightRefSchema, preflightResultSchema } from '../preflights.js';
4
+ import { errorResponses } from './_shared.js';
5
+ // ---------------------------------------------------------------------------
6
+ // Preflight route contract. Mounted under `/workspaces/:workspaceId`, so the
7
+ // path here is relative to that prefix. One action: run a set of preflight
8
+ // checks and return their verdicts (for the setup wizard's live re-check button
9
+ // — slice 7 — and any ad-hoc "am I ready to provision?" probe). The checks run
10
+ // only on the local (host) facade; elsewhere the controller 503s. See
11
+ // PreflightController in @cat-factory/server.
12
+ // ---------------------------------------------------------------------------
13
+ const runPreflightsRequestSchema = v.object({
14
+ prerequisites: v.array(preflightRefSchema),
15
+ });
16
+ /**
17
+ * Run the given preflight checks and return one {@link preflightResultSchema} per ref (pass / fail /
18
+ * warn + a probe detail + remediation on a non-pass). Requires the host-probe runtime (local
19
+ * facade); 503 otherwise.
20
+ */
21
+ export const runPreflightsContract = defineApiContract({
22
+ method: 'post',
23
+ pathResolver: () => '/preflights/run',
24
+ requestBodySchema: runPreflightsRequestSchema,
25
+ responsesByStatusCode: { 200: v.array(preflightResultSchema), ...errorResponses },
26
+ });
27
+ //# sourceMappingURL=preflights.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preflights.js","sourceRoot":"","sources":["../../src/routes/preflights.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE7C,8EAA8E;AAC9E,6EAA6E;AAC7E,2EAA2E;AAC3E,gFAAgF;AAChF,+EAA+E;AAC/E,sEAAsE;AACtE,8CAA8C;AAC9C,8EAA8E;AAE9E,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC1C,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC;CAC3C,CAAC,CAAA;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;IACrD,MAAM,EAAE,MAAM;IACd,YAAY,EAAE,GAAG,EAAE,CAAC,iBAAiB;IACrC,iBAAiB,EAAE,0BAA0B;IAC7C,qBAAqB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,EAAE,GAAG,cAAc,EAAE;CAClF,CAAC,CAAA"}
@@ -624,6 +624,24 @@ export declare const createTaskFromIssueContract: {
624
624
  }, undefined>, undefined>, undefined>;
625
625
  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>;
626
626
  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>;
627
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
628
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
629
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
630
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
631
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
632
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
633
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
634
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
635
+ 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>;
636
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
637
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
638
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
639
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
640
+ }, undefined>, undefined>;
641
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
642
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
643
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
644
+ }, undefined>, undefined>, undefined>;
627
645
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
628
646
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
629
647
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -1002,6 +1020,24 @@ export declare const spawnEpicContract: {
1002
1020
  }, undefined>, undefined>, undefined>;
1003
1021
  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>;
1004
1022
  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>;
1023
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1024
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
1025
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
1026
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
1027
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1028
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1029
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
1030
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1031
+ 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>;
1032
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1033
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
1034
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1035
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1036
+ }, undefined>, undefined>;
1037
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1038
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1039
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1040
+ }, undefined>, undefined>, undefined>;
1005
1041
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
1006
1042
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
1007
1043
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -1317,6 +1353,24 @@ export declare const spawnEpicContract: {
1317
1353
  }, undefined>, undefined>, undefined>;
1318
1354
  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>;
1319
1355
  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>;
1356
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1357
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
1358
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
1359
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
1360
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1361
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1362
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
1363
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1364
+ 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>;
1365
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1366
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
1367
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1368
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1369
+ }, undefined>, undefined>;
1370
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1371
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1372
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1373
+ }, undefined>, undefined>, undefined>;
1320
1374
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
1321
1375
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
1322
1376
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -1 +1 @@
1
- {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/routes/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAuD5B,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIlC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMpC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,0BAA0B;;;;;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B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA"}
@@ -302,6 +302,10 @@ export declare const approveVisualConfirmContract: {
302
302
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
303
303
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
304
304
  }, undefined>, undefined>, undefined>;
305
+ readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
306
+ readonly available: v.BooleanSchema<undefined>;
307
+ readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
308
+ }, undefined>, undefined>, undefined>;
305
309
  readonly decision: v.NullableSchema<v.ObjectSchema<{
306
310
  readonly id: v.StringSchema<undefined>;
307
311
  readonly question: v.StringSchema<undefined>;
@@ -438,6 +442,24 @@ export declare const approveVisualConfirmContract: {
438
442
  }, undefined>, undefined>, undefined>;
439
443
  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>;
440
444
  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>;
445
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
446
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
447
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
448
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
449
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
450
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
451
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
452
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
453
+ 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>;
454
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
455
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
456
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
457
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
458
+ }, undefined>, undefined>;
459
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
460
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
461
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
462
+ }, undefined>, undefined>, undefined>;
441
463
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
442
464
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
443
465
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -626,6 +648,7 @@ export declare const approveVisualConfirmContract: {
626
648
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
627
649
  }, undefined>, undefined>, undefined>;
628
650
  }, undefined>, undefined>;
651
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
629
652
  }, undefined>, undefined>, undefined>;
630
653
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
631
654
  readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
@@ -642,6 +665,7 @@ export declare const approveVisualConfirmContract: {
642
665
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
643
666
  }, undefined>, undefined>, undefined>;
644
667
  }, undefined>, undefined>;
668
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
645
669
  }, undefined>, undefined>, undefined>;
646
670
  readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
647
671
  readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -958,6 +982,10 @@ export declare const requestVisualConfirmFixContract: {
958
982
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
959
983
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
960
984
  }, undefined>, undefined>, undefined>;
985
+ readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
986
+ readonly available: v.BooleanSchema<undefined>;
987
+ readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
988
+ }, undefined>, undefined>, undefined>;
961
989
  readonly decision: v.NullableSchema<v.ObjectSchema<{
962
990
  readonly id: v.StringSchema<undefined>;
963
991
  readonly question: v.StringSchema<undefined>;
@@ -1094,6 +1122,24 @@ export declare const requestVisualConfirmFixContract: {
1094
1122
  }, undefined>, undefined>, undefined>;
1095
1123
  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>;
1096
1124
  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>;
1125
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1126
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
1127
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
1128
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
1129
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1130
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1131
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
1132
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1133
+ 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>;
1134
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1135
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
1136
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1137
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1138
+ }, undefined>, undefined>;
1139
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1140
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1141
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1142
+ }, undefined>, undefined>, undefined>;
1097
1143
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
1098
1144
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
1099
1145
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -1282,6 +1328,7 @@ export declare const requestVisualConfirmFixContract: {
1282
1328
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1283
1329
  }, undefined>, undefined>, undefined>;
1284
1330
  }, undefined>, undefined>;
1331
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1285
1332
  }, undefined>, undefined>, undefined>;
1286
1333
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1287
1334
  readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
@@ -1298,6 +1345,7 @@ export declare const requestVisualConfirmFixContract: {
1298
1345
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1299
1346
  }, undefined>, undefined>, undefined>;
1300
1347
  }, undefined>, undefined>;
1348
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1301
1349
  }, undefined>, undefined>, undefined>;
1302
1350
  readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1303
1351
  readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1612,6 +1660,10 @@ export declare const recaptureVisualConfirmContract: {
1612
1660
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1613
1661
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
1614
1662
  }, undefined>, undefined>, undefined>;
1663
+ readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
1664
+ readonly available: v.BooleanSchema<undefined>;
1665
+ readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
1666
+ }, undefined>, undefined>, undefined>;
1615
1667
  readonly decision: v.NullableSchema<v.ObjectSchema<{
1616
1668
  readonly id: v.StringSchema<undefined>;
1617
1669
  readonly question: v.StringSchema<undefined>;
@@ -1748,6 +1800,24 @@ export declare const recaptureVisualConfirmContract: {
1748
1800
  }, undefined>, undefined>, undefined>;
1749
1801
  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>;
1750
1802
  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>;
1803
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1804
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
1805
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
1806
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
1807
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1808
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1809
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
1810
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1811
+ 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>;
1812
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1813
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
1814
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1815
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1816
+ }, undefined>, undefined>;
1817
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1818
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1819
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1820
+ }, undefined>, undefined>, undefined>;
1751
1821
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
1752
1822
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
1753
1823
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -1936,6 +2006,7 @@ export declare const recaptureVisualConfirmContract: {
1936
2006
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1937
2007
  }, undefined>, undefined>, undefined>;
1938
2008
  }, undefined>, undefined>;
2009
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1939
2010
  }, undefined>, undefined>, undefined>;
1940
2011
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1941
2012
  readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
@@ -1952,6 +2023,7 @@ export declare const recaptureVisualConfirmContract: {
1952
2023
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1953
2024
  }, undefined>, undefined>, undefined>;
1954
2025
  }, undefined>, undefined>;
2026
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1955
2027
  }, undefined>, undefined>, undefined>;
1956
2028
  readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1957
2029
  readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1 +1 @@
1
- {"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
160
160
  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>;
161
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
162
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
163
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
164
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
165
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
166
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
167
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
168
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
169
+ 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>;
170
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
171
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
172
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
173
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
174
+ }, undefined>, undefined>;
175
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
176
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
177
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
178
+ }, undefined>, undefined>, undefined>;
161
179
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
162
180
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
163
181
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -711,6 +729,10 @@ export declare const createWorkspaceContract: {
711
729
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
712
730
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
713
731
  }, undefined>, undefined>, undefined>;
732
+ readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
733
+ readonly available: v.BooleanSchema<undefined>;
734
+ readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
735
+ }, undefined>, undefined>, undefined>;
714
736
  readonly decision: v.NullableSchema<v.ObjectSchema<{
715
737
  readonly id: v.StringSchema<undefined>;
716
738
  readonly question: v.StringSchema<undefined>;
@@ -847,6 +869,24 @@ export declare const createWorkspaceContract: {
847
869
  }, undefined>, undefined>, undefined>;
848
870
  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>;
849
871
  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>;
872
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
873
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
874
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
875
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
876
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
877
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
878
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
879
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
880
+ 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>;
881
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
882
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
883
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
884
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
885
+ }, undefined>, undefined>;
886
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
887
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
888
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
889
+ }, undefined>, undefined>, undefined>;
850
890
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
851
891
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
852
892
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -1035,6 +1075,7 @@ export declare const createWorkspaceContract: {
1035
1075
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1036
1076
  }, undefined>, undefined>, undefined>;
1037
1077
  }, undefined>, undefined>;
1078
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1038
1079
  }, undefined>, undefined>, undefined>;
1039
1080
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1040
1081
  readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
@@ -1051,6 +1092,7 @@ export declare const createWorkspaceContract: {
1051
1092
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1052
1093
  }, undefined>, undefined>, undefined>;
1053
1094
  }, undefined>, undefined>;
1095
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1054
1096
  }, undefined>, undefined>, undefined>;
1055
1097
  readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
1056
1098
  readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -1097,6 +1139,7 @@ export declare const createWorkspaceContract: {
1097
1139
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1098
1140
  }, undefined>, undefined>, undefined>;
1099
1141
  }, undefined>, undefined>;
1142
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1100
1143
  }, undefined>, undefined>;
1101
1144
  readonly createdAt: v.NumberSchema<undefined>;
1102
1145
  readonly updatedAt: v.NumberSchema<undefined>;
@@ -1139,6 +1182,7 @@ export declare const createWorkspaceContract: {
1139
1182
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
1140
1183
  }, undefined>, undefined>, undefined>;
1141
1184
  }, undefined>, undefined>;
1185
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
1142
1186
  }, undefined>, undefined>;
1143
1187
  readonly createdAt: v.NumberSchema<undefined>;
1144
1188
  readonly updatedAt: v.NumberSchema<undefined>;
@@ -1660,6 +1704,24 @@ export declare const getWorkspaceContract: {
1660
1704
  }, undefined>, undefined>, undefined>;
1661
1705
  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>;
1662
1706
  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>;
1707
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
1708
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
1709
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
1710
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
1711
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1712
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1713
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
1714
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
1715
+ 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>;
1716
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1717
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
1718
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1719
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1720
+ }, undefined>, undefined>;
1721
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
1722
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
1723
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
1724
+ }, undefined>, undefined>, undefined>;
1663
1725
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
1664
1726
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
1665
1727
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -2213,6 +2275,10 @@ export declare const getWorkspaceContract: {
2213
2275
  readonly id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2214
2276
  readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2215
2277
  }, undefined>, undefined>, undefined>;
2278
+ readonly search: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2279
+ readonly available: v.BooleanSchema<undefined>;
2280
+ readonly provider: v.NullableSchema<v.PicklistSchema<["brave", "searxng"], undefined>, undefined>;
2281
+ }, undefined>, undefined>, undefined>;
2216
2282
  readonly decision: v.NullableSchema<v.ObjectSchema<{
2217
2283
  readonly id: v.StringSchema<undefined>;
2218
2284
  readonly question: v.StringSchema<undefined>;
@@ -2349,6 +2415,24 @@ export declare const getWorkspaceContract: {
2349
2415
  }, undefined>, undefined>, undefined>;
2350
2416
  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>;
2351
2417
  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>;
2418
+ readonly prerequisites: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2419
+ readonly check: v.PicklistSchema<["docker-daemon", "disk-space", "memory", "registry-auth", "tcp-reachable", "http-reachable", "mkcert-ca", "hosts-entries", "env-secrets-marker"], undefined>;
2420
+ readonly params: v.OptionalSchema<v.ObjectSchema<{
2421
+ readonly minGib: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1024, undefined>]>, undefined>;
2422
+ readonly registry: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2423
+ readonly host: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2424
+ readonly port: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
2425
+ readonly url: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
2426
+ 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>;
2427
+ readonly expectBodyContains: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2428
+ readonly hostnames: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
2429
+ readonly file: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2430
+ readonly marker: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2431
+ }, undefined>, undefined>;
2432
+ readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2433
+ readonly remediation: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
2434
+ readonly label: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
2435
+ }, undefined>, undefined>, undefined>;
2352
2436
  readonly setupSteps: v.OptionalSchema<v.ArraySchema<v.VariantSchema<"kind", [v.ObjectSchema<{
2353
2437
  readonly kind: v.LiteralSchema<"compose-exec", undefined>;
2354
2438
  readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
@@ -2537,6 +2621,7 @@ export declare const getWorkspaceContract: {
2537
2621
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
2538
2622
  }, undefined>, undefined>, undefined>;
2539
2623
  }, undefined>, undefined>;
2624
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2540
2625
  }, undefined>, undefined>, undefined>;
2541
2626
  readonly failureHistory: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
2542
2627
  readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
@@ -2553,6 +2638,7 @@ export declare const getWorkspaceContract: {
2553
2638
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
2554
2639
  }, undefined>, undefined>, undefined>;
2555
2640
  }, undefined>, undefined>;
2641
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2556
2642
  }, undefined>, undefined>, undefined>;
2557
2643
  readonly notes: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
2558
2644
  readonly frontendBindings: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
@@ -2599,6 +2685,7 @@ export declare const getWorkspaceContract: {
2599
2685
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
2600
2686
  }, undefined>, undefined>, undefined>;
2601
2687
  }, undefined>, undefined>;
2688
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2602
2689
  }, undefined>, undefined>;
2603
2690
  readonly createdAt: v.NumberSchema<undefined>;
2604
2691
  readonly updatedAt: v.NumberSchema<undefined>;
@@ -2641,6 +2728,7 @@ export declare const getWorkspaceContract: {
2641
2728
  readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
2642
2729
  }, undefined>, undefined>, undefined>;
2643
2730
  }, undefined>, undefined>;
2731
+ readonly stepIndex: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
2644
2732
  }, undefined>, undefined>;
2645
2733
  readonly createdAt: v.NumberSchema<undefined>;
2646
2734
  readonly updatedAt: v.NumberSchema<undefined>;