@treeseed/sdk 0.13.0-rc.121 → 0.13.0-rc.123

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 (157) hide show
  1. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.d.ts +2365 -1275
  2. package/dist/agent-capacity/contracts/capacity/assignments/agent-execution.js +94 -28
  3. package/dist/agent-capacity/contracts/capacity/assignments/assignment-context-pack.d.ts +38 -38
  4. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.d.ts +2 -0
  5. package/dist/agent-capacity/contracts/capacity/assignments/assignment-path.js +13 -0
  6. package/dist/agent-capacity/contracts/capacity/assignments/assignment-records.d.ts +2 -59
  7. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.d.ts +126 -1
  8. package/dist/agent-capacity/contracts/capacity/providers/supply-policy.js +35 -1
  9. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.d.ts +2 -4
  10. package/dist/agent-capacity/contracts/capacity/workdays/assignment-allocation.js +22 -16
  11. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.d.ts +3 -42
  12. package/dist/agent-capacity/contracts/capacity/workdays/capability-accounting.js +8 -8
  13. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.d.ts +244 -85
  14. package/dist/agent-capacity/contracts/capacity/workdays/workday-allocation.js +54 -19
  15. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.d.ts +216 -70
  16. package/dist/agent-capacity/contracts/capacity/workdays/workday-records.js +19 -0
  17. package/dist/agent-capacity/contracts/configuration/configuration.d.ts +1 -1
  18. package/dist/agent-capacity/contracts/configuration/configuration.js +0 -2
  19. package/dist/agent-capacity/contracts/operations/agent-team-clone.d.ts +55 -55
  20. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.d.ts +119 -23
  21. package/dist/agent-capacity/contracts/projects/agents/project-agent-class.js +16 -0
  22. package/dist/agent-capacity/contracts/runtime/runtime-observability.d.ts +2 -154
  23. package/dist/agent-capacity/contracts/support/agent-atlas.d.ts +0 -13
  24. package/dist/agent-capacity/contracts/support/execution-graph.d.ts +496 -292
  25. package/dist/agent-capacity/contracts/support/execution-graph.js +21 -19
  26. package/dist/agent-capacity/contracts/support/financial-records.d.ts +3 -6
  27. package/dist/agent-capacity/contracts/support/planning-records.d.ts +1 -87
  28. package/dist/agent-capacity/grant.d.ts +34 -0
  29. package/dist/agent-capacity/grant.js +4 -0
  30. package/dist/agent-capacity/validation/agent-definition-schema.d.ts +1178 -1152
  31. package/dist/agent-capacity/validation/agent-definition-schema.js +21 -28
  32. package/dist/agent-capacity/validation/agent-lab-forensics-schema.d.ts +10 -10
  33. package/dist/agent-capacity/validation/agent-lab-forensics-schema.js +0 -1
  34. package/dist/agent-capacity/validation/assignment-records.d.ts +1 -6
  35. package/dist/agent-capacity/validation/assignment-records.js +49 -35
  36. package/dist/agent-capacity/validation/configuration.d.ts +1 -1
  37. package/dist/agent-capacity/validation/configuration.js +2 -6
  38. package/dist/agent-capacity/validation/grant.d.ts +11 -0
  39. package/dist/agent-capacity/validation/grant.js +31 -0
  40. package/dist/capacity/agents/agent-capacity.d.ts +3 -4
  41. package/dist/capacity/agents/agent-capacity.js +2 -3
  42. package/dist/capacity-provider/capability-ontology.d.ts +150 -150
  43. package/dist/capacity-provider/client.d.ts +15 -9
  44. package/dist/capacity-provider/client.js +1 -10
  45. package/dist/capacity-provider/contracts/capacity-facts.d.ts +0 -1
  46. package/dist/capacity-provider/contracts/environment-profiles.d.ts +44 -44
  47. package/dist/capacity-provider/contracts/governance.d.ts +2 -17
  48. package/dist/capacity-provider/contracts/index.d.ts +2 -0
  49. package/dist/capacity-provider/contracts/index.js +2 -0
  50. package/dist/capacity-provider/core-capability-catalog.d.ts +7 -7
  51. package/dist/capacity-provider/environment-catalog.d.ts +188 -188
  52. package/dist/capacity-provider/environment-catalog.js +1 -1
  53. package/dist/capacity-provider/install-configuration.d.ts +2 -2
  54. package/dist/capacity-provider/sandbox-contracts.d.ts +92 -92
  55. package/dist/capacity-provider/source-workspace.d.ts +166 -68
  56. package/dist/capacity-provider/source-workspace.js +5 -1
  57. package/dist/capacity-provider/validation.d.ts +10 -2
  58. package/dist/capacity-provider/validation.js +52 -22
  59. package/dist/content/validation/agent-operational-content-schemas.d.ts +144 -142
  60. package/dist/content/validation/agent-operational-content-schemas.js +2 -0
  61. package/dist/content/validation/auxiliary-content-schemas.d.ts +158 -158
  62. package/dist/content/validation/content-model-schemas.d.ts +9105 -5295
  63. package/dist/content/validation/content-model-schemas.js +192 -115
  64. package/dist/content/validation/portable-content-data.d.ts +411 -238
  65. package/dist/content/validation/portable-content-data.js +6 -1
  66. package/dist/content/validation/schema-constraints.d.ts +78 -0
  67. package/dist/content/validation/schema-constraints.js +149 -0
  68. package/dist/deployment/ai/storage.d.ts +24 -24
  69. package/dist/deployment/ai-hosting.d.ts +18 -18
  70. package/dist/deployment/ai-instance.d.ts +16 -16
  71. package/dist/deployment/ai-mode.d.ts +92 -92
  72. package/dist/deployment/hosted-topology-template.d.ts +44 -44
  73. package/dist/deployment/hosted-topology.d.ts +335 -335
  74. package/dist/deployment/postgres/contracts.d.ts +52 -52
  75. package/dist/deployment/postgres/transfer.d.ts +6 -6
  76. package/dist/deployment/schemas.d.ts +1114 -1114
  77. package/dist/development/schemas.d.ts +633 -633
  78. package/dist/graph/context-query-contracts.js +1 -1
  79. package/dist/guarantees/index.d.ts +26 -2
  80. package/dist/identity/contracts.js +6 -1
  81. package/dist/knowledge/contracts.d.ts +9 -2
  82. package/dist/knowledge/contracts.js +2 -2
  83. package/dist/model-registry/discussion-models.js +0 -1
  84. package/dist/operator-contracts/canonical-command-tree.js +25 -9
  85. package/dist/operator-contracts/catalog/agents/agent-team-clone-operations.d.ts +29 -29
  86. package/dist/operator-contracts/catalog/capability-ontology-operations.d.ts +30 -30
  87. package/dist/operator-contracts/catalog/commands/command-tree-builders.d.ts +15 -13
  88. package/dist/operator-contracts/catalog/communication-operations.d.ts +176 -158
  89. package/dist/operator-contracts/catalog/hosted-topology-operations.d.ts +67 -67
  90. package/dist/operator-contracts/catalog/inbox-operations.d.ts +65 -65
  91. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.d.ts +6 -6
  92. package/dist/operator-contracts/catalog/infrastructure/ai-instance-operations.js +2 -1
  93. package/dist/operator-contracts/catalog/knowledge-share-operations.d.ts +10 -10
  94. package/dist/operator-contracts/catalog/provider-environment-operations.d.ts +3 -3
  95. package/dist/operator-contracts/catalog/services/secret-operations.d.ts +16 -8
  96. package/dist/operator-contracts/catalog/services/secret-operations.js +2 -1
  97. package/dist/operator-contracts/catalog/workdays/profile-operations.d.ts +11 -11
  98. package/dist/operator-contracts/catalog/workdays/selection-commands.js +3 -0
  99. package/dist/operator-contracts/communication/contracts.d.ts +537 -395
  100. package/dist/operator-contracts/communication/contracts.js +6 -1
  101. package/dist/operator-contracts/control-plane-operation.d.ts +7 -0
  102. package/dist/operator-contracts/control-plane-operation.js +6 -0
  103. package/dist/operator-contracts/control-plane-operations.d.ts +631 -610
  104. package/dist/operator-contracts/control-plane-operations.js +26 -12
  105. package/dist/operator-contracts/inbox/contracts.d.ts +229 -229
  106. package/dist/operator-contracts/knowledge/contracts.d.ts +16 -16
  107. package/dist/operator-contracts/mcp.js +4 -3
  108. package/dist/operator-contracts/workday-lifecycle.d.ts +192 -0
  109. package/dist/operator-contracts/workday-lifecycle.js +109 -45
  110. package/dist/platform/agent-schema-verification.d.ts +3 -0
  111. package/dist/platform/agent-schema-verification.js +377 -0
  112. package/dist/platform/contracts.d.ts +72 -72
  113. package/dist/platform/schemas.d.ts +144 -36
  114. package/dist/platform/schemas.js +26 -0
  115. package/dist/platform/verification.js +10 -0
  116. package/dist/sdk-types/support/planning-policy.d.ts +1 -1
  117. package/dist/sdk-types/support/sdk-search-request.d.ts +2 -2
  118. package/dist/secrets-capability/secret-contracts.d.ts +2 -2
  119. package/dist/secrets-capability/shared-access.d.ts +3 -3
  120. package/dist/secrets-capability/shared-resources.d.ts +50 -50
  121. package/dist/secrets-capability/vault-contracts.d.ts +2 -2
  122. package/dist/security/encrypted-envelope.d.ts +14 -14
  123. package/dist/treedx/client.d.ts +4 -4
  124. package/dist/treedx/index.d.ts +1 -1
  125. package/dist/treedx/index.js +1 -0
  126. package/dist/treedx/types.d.ts +286 -0
  127. package/dist/treedx/types.js +44 -0
  128. package/guarantees/agent/golden/component-boundaries.guarantee.yaml +12 -0
  129. package/guarantees/agent/golden/product-custody.guarantee.yaml +12 -0
  130. package/guarantees/agent/golden/product.guarantee.yaml +12 -0
  131. package/guarantees/agent/golden/scenes/component-boundaries.scene.yaml +837 -0
  132. package/guarantees/agent/golden/scenes/product-custody.scene.yaml +53 -0
  133. package/guarantees/agent/golden/scenes/product.scene.yaml +8 -0
  134. package/guarantees/verifiers/golden.verifiers.yaml +1429 -0
  135. package/package.json +9 -3
  136. package/tests/acceptance/golden-product.test.ts +205 -0
  137. package/tests/acceptance/golden-product.ts +404 -0
  138. package/tests/acceptance/product/base-red.ts +73 -0
  139. package/tests/acceptance/product/documentation-examples.ts +68 -0
  140. package/tests/acceptance/product/intent-runtime.ts +145 -0
  141. package/tests/acceptance/product/release-output.ts +160 -0
  142. package/tests/acceptance/product/research-artifact.ts +87 -0
  143. package/tests/acceptance/product/research-revision.ts +82 -0
  144. package/tests/acceptance/product/research-source.ts +91 -0
  145. package/tests/acceptance/product/test-chain.ts +192 -0
  146. package/treeseed.package.yaml +147 -0
  147. package/dist/.treeseed-build-complete.json +0 -1
  148. package/dist/agent-capacity/allocation.d.ts +0 -183
  149. package/dist/agent-capacity/allocation.js +0 -5
  150. package/dist/agent-capacity/artifact-mutation-receipt.d.ts +0 -49
  151. package/dist/agent-capacity/artifact-mutation-receipt.js +0 -36
  152. package/dist/agent-capacity/artifacts.d.ts +0 -123
  153. package/dist/agent-capacity/artifacts.js +0 -39
  154. package/dist/agent-capacity/contracts/support/decision-work.d.ts +0 -227
  155. package/dist/agent-capacity/contracts/support/decision-work.js +0 -0
  156. package/dist/agent-capacity/validation/allocation.d.ts +0 -12
  157. package/dist/agent-capacity/validation/allocation.js +0 -115
@@ -20,16 +20,16 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
20
20
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
21
21
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
22
22
  }, "strict", z.ZodTypeAny, {
23
+ environment: Record<string, string>;
23
24
  command: string;
24
25
  args: string[];
25
- environment: Record<string, string>;
26
26
  timeoutSeconds: number;
27
27
  cwd?: string | undefined;
28
28
  }, {
29
29
  command: string;
30
+ environment?: Record<string, string> | undefined;
30
31
  args?: string[] | undefined;
31
32
  cwd?: string | undefined;
32
- environment?: Record<string, string> | undefined;
33
33
  timeoutSeconds?: number | undefined;
34
34
  }>>;
35
35
  watch: z.ZodOptional<z.ZodObject<{
@@ -39,16 +39,16 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
39
39
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
40
40
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
41
41
  }, "strict", z.ZodTypeAny, {
42
+ environment: Record<string, string>;
42
43
  command: string;
43
44
  args: string[];
44
- environment: Record<string, string>;
45
45
  timeoutSeconds: number;
46
46
  cwd?: string | undefined;
47
47
  }, {
48
48
  command: string;
49
+ environment?: Record<string, string> | undefined;
49
50
  args?: string[] | undefined;
50
51
  cwd?: string | undefined;
51
- environment?: Record<string, string> | undefined;
52
52
  timeoutSeconds?: number | undefined;
53
53
  }>>;
54
54
  build: z.ZodOptional<z.ZodObject<{
@@ -58,16 +58,16 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
58
58
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
59
59
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
60
60
  }, "strict", z.ZodTypeAny, {
61
+ environment: Record<string, string>;
61
62
  command: string;
62
63
  args: string[];
63
- environment: Record<string, string>;
64
64
  timeoutSeconds: number;
65
65
  cwd?: string | undefined;
66
66
  }, {
67
67
  command: string;
68
+ environment?: Record<string, string> | undefined;
68
69
  args?: string[] | undefined;
69
70
  cwd?: string | undefined;
70
- environment?: Record<string, string> | undefined;
71
71
  timeoutSeconds?: number | undefined;
72
72
  }>>;
73
73
  start: z.ZodOptional<z.ZodObject<{
@@ -77,16 +77,16 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
77
77
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
78
78
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
79
79
  }, "strict", z.ZodTypeAny, {
80
+ environment: Record<string, string>;
80
81
  command: string;
81
82
  args: string[];
82
- environment: Record<string, string>;
83
83
  timeoutSeconds: number;
84
84
  cwd?: string | undefined;
85
85
  }, {
86
86
  command: string;
87
+ environment?: Record<string, string> | undefined;
87
88
  args?: string[] | undefined;
88
89
  cwd?: string | undefined;
89
- environment?: Record<string, string> | undefined;
90
90
  timeoutSeconds?: number | undefined;
91
91
  }>>;
92
92
  stop: z.ZodOptional<z.ZodObject<{
@@ -96,16 +96,16 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
96
96
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
97
97
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
98
98
  }, "strict", z.ZodTypeAny, {
99
+ environment: Record<string, string>;
99
100
  command: string;
100
101
  args: string[];
101
- environment: Record<string, string>;
102
102
  timeoutSeconds: number;
103
103
  cwd?: string | undefined;
104
104
  }, {
105
105
  command: string;
106
+ environment?: Record<string, string> | undefined;
106
107
  args?: string[] | undefined;
107
108
  cwd?: string | undefined;
108
- environment?: Record<string, string> | undefined;
109
109
  timeoutSeconds?: number | undefined;
110
110
  }>>;
111
111
  verify: z.ZodOptional<z.ZodObject<{
@@ -115,16 +115,16 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
115
115
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
116
116
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
117
117
  }, "strict", z.ZodTypeAny, {
118
+ environment: Record<string, string>;
118
119
  command: string;
119
120
  args: string[];
120
- environment: Record<string, string>;
121
121
  timeoutSeconds: number;
122
122
  cwd?: string | undefined;
123
123
  }, {
124
124
  command: string;
125
+ environment?: Record<string, string> | undefined;
125
126
  args?: string[] | undefined;
126
127
  cwd?: string | undefined;
127
- environment?: Record<string, string> | undefined;
128
128
  timeoutSeconds?: number | undefined;
129
129
  }>>;
130
130
  cleanup: z.ZodOptional<z.ZodObject<{
@@ -134,116 +134,116 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
134
134
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
135
135
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
136
136
  }, "strict", z.ZodTypeAny, {
137
+ environment: Record<string, string>;
137
138
  command: string;
138
139
  args: string[];
139
- environment: Record<string, string>;
140
140
  timeoutSeconds: number;
141
141
  cwd?: string | undefined;
142
142
  }, {
143
143
  command: string;
144
+ environment?: Record<string, string> | undefined;
144
145
  args?: string[] | undefined;
145
146
  cwd?: string | undefined;
146
- environment?: Record<string, string> | undefined;
147
147
  timeoutSeconds?: number | undefined;
148
148
  }>>;
149
149
  }, "strict", z.ZodTypeAny, {
150
- setup?: {
150
+ build?: {
151
+ environment: Record<string, string>;
151
152
  command: string;
152
153
  args: string[];
153
- environment: Record<string, string>;
154
154
  timeoutSeconds: number;
155
155
  cwd?: string | undefined;
156
156
  } | undefined;
157
- watch?: {
157
+ setup?: {
158
+ environment: Record<string, string>;
158
159
  command: string;
159
160
  args: string[];
160
- environment: Record<string, string>;
161
161
  timeoutSeconds: number;
162
162
  cwd?: string | undefined;
163
163
  } | undefined;
164
- build?: {
164
+ watch?: {
165
+ environment: Record<string, string>;
165
166
  command: string;
166
167
  args: string[];
167
- environment: Record<string, string>;
168
168
  timeoutSeconds: number;
169
169
  cwd?: string | undefined;
170
170
  } | undefined;
171
171
  start?: {
172
+ environment: Record<string, string>;
172
173
  command: string;
173
174
  args: string[];
174
- environment: Record<string, string>;
175
175
  timeoutSeconds: number;
176
176
  cwd?: string | undefined;
177
177
  } | undefined;
178
178
  stop?: {
179
+ environment: Record<string, string>;
179
180
  command: string;
180
181
  args: string[];
181
- environment: Record<string, string>;
182
182
  timeoutSeconds: number;
183
183
  cwd?: string | undefined;
184
184
  } | undefined;
185
185
  verify?: {
186
+ environment: Record<string, string>;
186
187
  command: string;
187
188
  args: string[];
188
- environment: Record<string, string>;
189
189
  timeoutSeconds: number;
190
190
  cwd?: string | undefined;
191
191
  } | undefined;
192
192
  cleanup?: {
193
+ environment: Record<string, string>;
193
194
  command: string;
194
195
  args: string[];
195
- environment: Record<string, string>;
196
196
  timeoutSeconds: number;
197
197
  cwd?: string | undefined;
198
198
  } | undefined;
199
199
  }, {
200
- setup?: {
200
+ build?: {
201
201
  command: string;
202
+ environment?: Record<string, string> | undefined;
202
203
  args?: string[] | undefined;
203
204
  cwd?: string | undefined;
204
- environment?: Record<string, string> | undefined;
205
205
  timeoutSeconds?: number | undefined;
206
206
  } | undefined;
207
- watch?: {
207
+ setup?: {
208
208
  command: string;
209
+ environment?: Record<string, string> | undefined;
209
210
  args?: string[] | undefined;
210
211
  cwd?: string | undefined;
211
- environment?: Record<string, string> | undefined;
212
212
  timeoutSeconds?: number | undefined;
213
213
  } | undefined;
214
- build?: {
214
+ watch?: {
215
215
  command: string;
216
+ environment?: Record<string, string> | undefined;
216
217
  args?: string[] | undefined;
217
218
  cwd?: string | undefined;
218
- environment?: Record<string, string> | undefined;
219
219
  timeoutSeconds?: number | undefined;
220
220
  } | undefined;
221
221
  start?: {
222
222
  command: string;
223
+ environment?: Record<string, string> | undefined;
223
224
  args?: string[] | undefined;
224
225
  cwd?: string | undefined;
225
- environment?: Record<string, string> | undefined;
226
226
  timeoutSeconds?: number | undefined;
227
227
  } | undefined;
228
228
  stop?: {
229
229
  command: string;
230
+ environment?: Record<string, string> | undefined;
230
231
  args?: string[] | undefined;
231
232
  cwd?: string | undefined;
232
- environment?: Record<string, string> | undefined;
233
233
  timeoutSeconds?: number | undefined;
234
234
  } | undefined;
235
235
  verify?: {
236
236
  command: string;
237
+ environment?: Record<string, string> | undefined;
237
238
  args?: string[] | undefined;
238
239
  cwd?: string | undefined;
239
- environment?: Record<string, string> | undefined;
240
240
  timeoutSeconds?: number | undefined;
241
241
  } | undefined;
242
242
  cleanup?: {
243
243
  command: string;
244
+ environment?: Record<string, string> | undefined;
244
245
  args?: string[] | undefined;
245
246
  cwd?: string | undefined;
246
- environment?: Record<string, string> | undefined;
247
247
  timeoutSeconds?: number | undefined;
248
248
  } | undefined;
249
249
  }>;
@@ -354,15 +354,15 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
354
354
  }, "strict", z.ZodTypeAny, {
355
355
  id: string;
356
356
  target: string;
357
- locality: "remote" | "local" | "either";
358
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
357
+ locality: "local" | "remote" | "either";
358
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
359
359
  capability?: string | undefined;
360
360
  }, {
361
361
  id: string;
362
362
  target: string;
363
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
363
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
364
364
  capability?: string | undefined;
365
- locality?: "remote" | "local" | "either" | undefined;
365
+ locality?: "local" | "remote" | "either" | undefined;
366
366
  }>, "many">>;
367
367
  statePolicy: z.ZodEnum<["stateless", "ephemeral", "clone", "shared-compatible"]>;
368
368
  migrationPolicy: z.ZodEnum<["none", "explicit-review", "disposable-only"]>;
@@ -375,16 +375,16 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
375
375
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
376
376
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
377
377
  }, "strict", z.ZodTypeAny, {
378
+ environment: Record<string, string>;
378
379
  command: string;
379
380
  args: string[];
380
- environment: Record<string, string>;
381
381
  timeoutSeconds: number;
382
382
  cwd?: string | undefined;
383
383
  }, {
384
384
  command: string;
385
+ environment?: Record<string, string> | undefined;
385
386
  args?: string[] | undefined;
386
387
  cwd?: string | undefined;
387
- environment?: Record<string, string> | undefined;
388
388
  timeoutSeconds?: number | undefined;
389
389
  }>>;
390
390
  graceSeconds: z.ZodDefault<z.ZodNumber>;
@@ -393,9 +393,9 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
393
393
  graceSeconds: number;
394
394
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
395
395
  drainOperation?: {
396
+ environment: Record<string, string>;
396
397
  command: string;
397
398
  args: string[];
398
- environment: Record<string, string>;
399
399
  timeoutSeconds: number;
400
400
  cwd?: string | undefined;
401
401
  } | undefined;
@@ -403,9 +403,9 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
403
403
  graceSeconds?: number | undefined;
404
404
  drainOperation?: {
405
405
  command: string;
406
+ environment?: Record<string, string> | undefined;
406
407
  args?: string[] | undefined;
407
408
  cwd?: string | undefined;
408
- environment?: Record<string, string> | undefined;
409
409
  timeoutSeconds?: number | undefined;
410
410
  } | undefined;
411
411
  activeWorkPolicy?: "block" | "drain" | "cancel-authorized" | undefined;
@@ -434,16 +434,16 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
434
434
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
435
435
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
436
436
  }, "strict", z.ZodTypeAny, {
437
+ environment: Record<string, string>;
437
438
  command: string;
438
439
  args: string[];
439
- environment: Record<string, string>;
440
440
  timeoutSeconds: number;
441
441
  cwd?: string | undefined;
442
442
  }, {
443
443
  command: string;
444
+ environment?: Record<string, string> | undefined;
444
445
  args?: string[] | undefined;
445
446
  cwd?: string | undefined;
446
- environment?: Record<string, string> | undefined;
447
447
  timeoutSeconds?: number | undefined;
448
448
  }>;
449
449
  artifacts: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
@@ -454,50 +454,50 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
454
454
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
455
455
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
456
456
  }, "strict", z.ZodTypeAny, {
457
+ environment: Record<string, string>;
457
458
  command: string;
458
459
  args: string[];
459
- environment: Record<string, string>;
460
460
  timeoutSeconds: number;
461
461
  cwd?: string | undefined;
462
462
  }, {
463
463
  command: string;
464
+ environment?: Record<string, string> | undefined;
464
465
  args?: string[] | undefined;
465
466
  cwd?: string | undefined;
466
- environment?: Record<string, string> | undefined;
467
467
  timeoutSeconds?: number | undefined;
468
468
  }>, "many">>;
469
469
  }, "strict", z.ZodTypeAny, {
470
- kind: "npm-package" | "oci-image" | "archive" | "executable";
470
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
471
471
  operation: {
472
+ environment: Record<string, string>;
472
473
  command: string;
473
474
  args: string[];
474
- environment: Record<string, string>;
475
475
  timeoutSeconds: number;
476
476
  cwd?: string | undefined;
477
477
  };
478
478
  artifacts: string[];
479
479
  contractOperations: {
480
+ environment: Record<string, string>;
480
481
  command: string;
481
482
  args: string[];
482
- environment: Record<string, string>;
483
483
  timeoutSeconds: number;
484
484
  cwd?: string | undefined;
485
485
  }[];
486
486
  }, {
487
- kind: "npm-package" | "oci-image" | "archive" | "executable";
487
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
488
488
  operation: {
489
489
  command: string;
490
+ environment?: Record<string, string> | undefined;
490
491
  args?: string[] | undefined;
491
492
  cwd?: string | undefined;
492
- environment?: Record<string, string> | undefined;
493
493
  timeoutSeconds?: number | undefined;
494
494
  };
495
495
  artifacts: string[];
496
496
  contractOperations?: {
497
497
  command: string;
498
+ environment?: Record<string, string> | undefined;
498
499
  args?: string[] | undefined;
499
500
  cwd?: string | undefined;
500
- environment?: Record<string, string> | undefined;
501
501
  timeoutSeconds?: number | undefined;
502
502
  }[] | undefined;
503
503
  }>>;
@@ -514,11 +514,6 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
514
514
  }, "strict", z.ZodTypeAny, {
515
515
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
516
516
  id: string;
517
- resources: {
518
- cpuCores?: number | undefined;
519
- memoryBytes?: number | undefined;
520
- diskBytes?: number | undefined;
521
- };
522
517
  ready: {
523
518
  path: string;
524
519
  kind: "marker";
@@ -535,68 +530,80 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
535
530
  kind: "process";
536
531
  graceSeconds: number;
537
532
  };
538
- executionCustody: "caller" | "manager";
539
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
540
- runtimeRequirements: string[];
541
- sourceRoots: string[];
542
- ignoredPaths: string[];
533
+ outputs: {
534
+ path: string;
535
+ mediaType: string;
536
+ digestAlgorithm: "sha256";
537
+ completionMarker?: string | undefined;
538
+ }[];
543
539
  operations: {
544
- setup?: {
540
+ build?: {
541
+ environment: Record<string, string>;
545
542
  command: string;
546
543
  args: string[];
547
- environment: Record<string, string>;
548
544
  timeoutSeconds: number;
549
545
  cwd?: string | undefined;
550
546
  } | undefined;
551
- watch?: {
547
+ setup?: {
548
+ environment: Record<string, string>;
552
549
  command: string;
553
550
  args: string[];
554
- environment: Record<string, string>;
555
551
  timeoutSeconds: number;
556
552
  cwd?: string | undefined;
557
553
  } | undefined;
558
- build?: {
554
+ watch?: {
555
+ environment: Record<string, string>;
559
556
  command: string;
560
557
  args: string[];
561
- environment: Record<string, string>;
562
558
  timeoutSeconds: number;
563
559
  cwd?: string | undefined;
564
560
  } | undefined;
565
561
  start?: {
562
+ environment: Record<string, string>;
566
563
  command: string;
567
564
  args: string[];
568
- environment: Record<string, string>;
569
565
  timeoutSeconds: number;
570
566
  cwd?: string | undefined;
571
567
  } | undefined;
572
568
  stop?: {
569
+ environment: Record<string, string>;
573
570
  command: string;
574
571
  args: string[];
575
- environment: Record<string, string>;
576
572
  timeoutSeconds: number;
577
573
  cwd?: string | undefined;
578
574
  } | undefined;
579
575
  verify?: {
576
+ environment: Record<string, string>;
580
577
  command: string;
581
578
  args: string[];
582
- environment: Record<string, string>;
583
579
  timeoutSeconds: number;
584
580
  cwd?: string | undefined;
585
581
  } | undefined;
586
582
  cleanup?: {
583
+ environment: Record<string, string>;
587
584
  command: string;
588
585
  args: string[];
589
- environment: Record<string, string>;
590
586
  timeoutSeconds: number;
591
587
  cwd?: string | undefined;
592
588
  } | undefined;
593
589
  };
594
- outputs: {
595
- path: string;
596
- mediaType: string;
597
- digestAlgorithm: "sha256";
598
- completionMarker?: string | undefined;
590
+ resources: {
591
+ cpuCores?: number | undefined;
592
+ memoryBytes?: number | undefined;
593
+ diskBytes?: number | undefined;
594
+ };
595
+ dependencies: {
596
+ id: string;
597
+ target: string;
598
+ locality: "local" | "remote" | "either";
599
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
600
+ capability?: string | undefined;
599
601
  }[];
602
+ executionCustody: "caller" | "manager";
603
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
604
+ runtimeRequirements: string[];
605
+ sourceRoots: string[];
606
+ ignoredPaths: string[];
600
607
  endpoints: {
601
608
  id: string;
602
609
  visibility: "private" | "host" | "loopback";
@@ -605,13 +612,6 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
605
612
  authentication: "none" | "application" | "mtls";
606
613
  canonicalAlias?: string | undefined;
607
614
  }[];
608
- dependencies: {
609
- id: string;
610
- target: string;
611
- locality: "remote" | "local" | "either";
612
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
613
- capability?: string | undefined;
614
- }[];
615
615
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
616
616
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
617
617
  secretRefs: Record<string, string>;
@@ -619,9 +619,9 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
619
619
  graceSeconds: number;
620
620
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
621
621
  drainOperation?: {
622
+ environment: Record<string, string>;
622
623
  command: string;
623
624
  args: string[];
624
- environment: Record<string, string>;
625
625
  timeoutSeconds: number;
626
626
  cwd?: string | undefined;
627
627
  } | undefined;
@@ -633,19 +633,19 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
633
633
  candidateRequiresVerification: true;
634
634
  };
635
635
  freeze?: {
636
- kind: "npm-package" | "oci-image" | "archive" | "executable";
636
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
637
637
  operation: {
638
+ environment: Record<string, string>;
638
639
  command: string;
639
640
  args: string[];
640
- environment: Record<string, string>;
641
641
  timeoutSeconds: number;
642
642
  cwd?: string | undefined;
643
643
  };
644
644
  artifacts: string[];
645
645
  contractOperations: {
646
+ environment: Record<string, string>;
646
647
  command: string;
647
648
  args: string[];
648
- environment: Record<string, string>;
649
649
  timeoutSeconds: number;
650
650
  cwd?: string | undefined;
651
651
  }[];
@@ -669,68 +669,68 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
669
669
  kind: "process";
670
670
  graceSeconds?: number | undefined;
671
671
  };
672
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
673
- sourceRoots: string[];
674
672
  operations: {
675
- setup?: {
673
+ build?: {
676
674
  command: string;
675
+ environment?: Record<string, string> | undefined;
677
676
  args?: string[] | undefined;
678
677
  cwd?: string | undefined;
679
- environment?: Record<string, string> | undefined;
680
678
  timeoutSeconds?: number | undefined;
681
679
  } | undefined;
682
- watch?: {
680
+ setup?: {
683
681
  command: string;
682
+ environment?: Record<string, string> | undefined;
684
683
  args?: string[] | undefined;
685
684
  cwd?: string | undefined;
686
- environment?: Record<string, string> | undefined;
687
685
  timeoutSeconds?: number | undefined;
688
686
  } | undefined;
689
- build?: {
687
+ watch?: {
690
688
  command: string;
689
+ environment?: Record<string, string> | undefined;
691
690
  args?: string[] | undefined;
692
691
  cwd?: string | undefined;
693
- environment?: Record<string, string> | undefined;
694
692
  timeoutSeconds?: number | undefined;
695
693
  } | undefined;
696
694
  start?: {
697
695
  command: string;
696
+ environment?: Record<string, string> | undefined;
698
697
  args?: string[] | undefined;
699
698
  cwd?: string | undefined;
700
- environment?: Record<string, string> | undefined;
701
699
  timeoutSeconds?: number | undefined;
702
700
  } | undefined;
703
701
  stop?: {
704
702
  command: string;
703
+ environment?: Record<string, string> | undefined;
705
704
  args?: string[] | undefined;
706
705
  cwd?: string | undefined;
707
- environment?: Record<string, string> | undefined;
708
706
  timeoutSeconds?: number | undefined;
709
707
  } | undefined;
710
708
  verify?: {
711
709
  command: string;
710
+ environment?: Record<string, string> | undefined;
712
711
  args?: string[] | undefined;
713
712
  cwd?: string | undefined;
714
- environment?: Record<string, string> | undefined;
715
713
  timeoutSeconds?: number | undefined;
716
714
  } | undefined;
717
715
  cleanup?: {
718
716
  command: string;
717
+ environment?: Record<string, string> | undefined;
719
718
  args?: string[] | undefined;
720
719
  cwd?: string | undefined;
721
- environment?: Record<string, string> | undefined;
722
720
  timeoutSeconds?: number | undefined;
723
721
  } | undefined;
724
722
  };
723
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
724
+ sourceRoots: string[];
725
725
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
726
726
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
727
727
  shutdown: {
728
728
  graceSeconds?: number | undefined;
729
729
  drainOperation?: {
730
730
  command: string;
731
+ environment?: Record<string, string> | undefined;
731
732
  args?: string[] | undefined;
732
733
  cwd?: string | undefined;
733
- environment?: Record<string, string> | undefined;
734
734
  timeoutSeconds?: number | undefined;
735
735
  } | undefined;
736
736
  activeWorkPolicy?: "block" | "drain" | "cancel-authorized" | undefined;
@@ -739,20 +739,27 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
739
739
  liveAdmissible: false;
740
740
  candidateRequiresVerification: true;
741
741
  };
742
+ outputs?: {
743
+ path: string;
744
+ mediaType: string;
745
+ completionMarker?: string | undefined;
746
+ digestAlgorithm?: "sha256" | undefined;
747
+ }[] | undefined;
742
748
  resources?: {
743
749
  cpuCores?: number | undefined;
744
750
  memoryBytes?: number | undefined;
745
751
  diskBytes?: number | undefined;
746
752
  } | undefined;
753
+ dependencies?: {
754
+ id: string;
755
+ target: string;
756
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
757
+ capability?: string | undefined;
758
+ locality?: "local" | "remote" | "either" | undefined;
759
+ }[] | undefined;
747
760
  executionCustody?: "caller" | "manager" | undefined;
748
761
  runtimeRequirements?: string[] | undefined;
749
762
  ignoredPaths?: string[] | undefined;
750
- outputs?: {
751
- path: string;
752
- mediaType: string;
753
- completionMarker?: string | undefined;
754
- digestAlgorithm?: "sha256" | undefined;
755
- }[] | undefined;
756
763
  endpoints?: {
757
764
  id: string;
758
765
  visibility: "private" | "host" | "loopback";
@@ -761,42 +768,30 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
761
768
  canonicalAlias?: string | undefined;
762
769
  authentication?: "none" | "application" | "mtls" | undefined;
763
770
  }[] | undefined;
764
- dependencies?: {
765
- id: string;
766
- target: string;
767
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
768
- capability?: string | undefined;
769
- locality?: "remote" | "local" | "either" | undefined;
770
- }[] | undefined;
771
771
  secretRefs?: Record<string, string> | undefined;
772
772
  logs?: string[] | undefined;
773
773
  forbiddenOperations?: string[] | undefined;
774
774
  freeze?: {
775
- kind: "npm-package" | "oci-image" | "archive" | "executable";
775
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
776
776
  operation: {
777
777
  command: string;
778
+ environment?: Record<string, string> | undefined;
778
779
  args?: string[] | undefined;
779
780
  cwd?: string | undefined;
780
- environment?: Record<string, string> | undefined;
781
781
  timeoutSeconds?: number | undefined;
782
782
  };
783
783
  artifacts: string[];
784
784
  contractOperations?: {
785
785
  command: string;
786
+ environment?: Record<string, string> | undefined;
786
787
  args?: string[] | undefined;
787
788
  cwd?: string | undefined;
788
- environment?: Record<string, string> | undefined;
789
789
  timeoutSeconds?: number | undefined;
790
790
  }[] | undefined;
791
791
  } | undefined;
792
792
  }>, {
793
793
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
794
794
  id: string;
795
- resources: {
796
- cpuCores?: number | undefined;
797
- memoryBytes?: number | undefined;
798
- diskBytes?: number | undefined;
799
- };
800
795
  ready: {
801
796
  path: string;
802
797
  kind: "marker";
@@ -813,83 +808,88 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
813
808
  kind: "process";
814
809
  graceSeconds: number;
815
810
  };
816
- executionCustody: "caller" | "manager";
817
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
818
- runtimeRequirements: string[];
819
- sourceRoots: string[];
820
- ignoredPaths: string[];
811
+ outputs: {
812
+ path: string;
813
+ mediaType: string;
814
+ digestAlgorithm: "sha256";
815
+ completionMarker?: string | undefined;
816
+ }[];
821
817
  operations: {
822
- setup?: {
818
+ build?: {
819
+ environment: Record<string, string>;
823
820
  command: string;
824
821
  args: string[];
825
- environment: Record<string, string>;
826
822
  timeoutSeconds: number;
827
823
  cwd?: string | undefined;
828
824
  } | undefined;
829
- watch?: {
825
+ setup?: {
826
+ environment: Record<string, string>;
830
827
  command: string;
831
828
  args: string[];
832
- environment: Record<string, string>;
833
829
  timeoutSeconds: number;
834
830
  cwd?: string | undefined;
835
831
  } | undefined;
836
- build?: {
832
+ watch?: {
833
+ environment: Record<string, string>;
837
834
  command: string;
838
835
  args: string[];
839
- environment: Record<string, string>;
840
836
  timeoutSeconds: number;
841
837
  cwd?: string | undefined;
842
838
  } | undefined;
843
839
  start?: {
840
+ environment: Record<string, string>;
844
841
  command: string;
845
842
  args: string[];
846
- environment: Record<string, string>;
847
843
  timeoutSeconds: number;
848
844
  cwd?: string | undefined;
849
845
  } | undefined;
850
846
  stop?: {
847
+ environment: Record<string, string>;
851
848
  command: string;
852
849
  args: string[];
853
- environment: Record<string, string>;
854
850
  timeoutSeconds: number;
855
851
  cwd?: string | undefined;
856
852
  } | undefined;
857
853
  verify?: {
854
+ environment: Record<string, string>;
858
855
  command: string;
859
856
  args: string[];
860
- environment: Record<string, string>;
861
857
  timeoutSeconds: number;
862
858
  cwd?: string | undefined;
863
859
  } | undefined;
864
860
  cleanup?: {
861
+ environment: Record<string, string>;
865
862
  command: string;
866
863
  args: string[];
867
- environment: Record<string, string>;
868
864
  timeoutSeconds: number;
869
865
  cwd?: string | undefined;
870
866
  } | undefined;
871
867
  };
872
- outputs: {
873
- path: string;
874
- mediaType: string;
875
- digestAlgorithm: "sha256";
876
- completionMarker?: string | undefined;
877
- }[];
878
- endpoints: {
879
- id: string;
880
- visibility: "private" | "host" | "loopback";
881
- protocol: "http" | "tcp" | "https";
882
- port: number;
883
- authentication: "none" | "application" | "mtls";
884
- canonicalAlias?: string | undefined;
885
- }[];
868
+ resources: {
869
+ cpuCores?: number | undefined;
870
+ memoryBytes?: number | undefined;
871
+ diskBytes?: number | undefined;
872
+ };
886
873
  dependencies: {
887
874
  id: string;
888
875
  target: string;
889
- locality: "remote" | "local" | "either";
890
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
876
+ locality: "local" | "remote" | "either";
877
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
891
878
  capability?: string | undefined;
892
879
  }[];
880
+ executionCustody: "caller" | "manager";
881
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
882
+ runtimeRequirements: string[];
883
+ sourceRoots: string[];
884
+ ignoredPaths: string[];
885
+ endpoints: {
886
+ id: string;
887
+ visibility: "private" | "host" | "loopback";
888
+ protocol: "http" | "tcp" | "https";
889
+ port: number;
890
+ authentication: "none" | "application" | "mtls";
891
+ canonicalAlias?: string | undefined;
892
+ }[];
893
893
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
894
894
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
895
895
  secretRefs: Record<string, string>;
@@ -897,9 +897,9 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
897
897
  graceSeconds: number;
898
898
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
899
899
  drainOperation?: {
900
+ environment: Record<string, string>;
900
901
  command: string;
901
902
  args: string[];
902
- environment: Record<string, string>;
903
903
  timeoutSeconds: number;
904
904
  cwd?: string | undefined;
905
905
  } | undefined;
@@ -911,19 +911,19 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
911
911
  candidateRequiresVerification: true;
912
912
  };
913
913
  freeze?: {
914
- kind: "npm-package" | "oci-image" | "archive" | "executable";
914
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
915
915
  operation: {
916
+ environment: Record<string, string>;
916
917
  command: string;
917
918
  args: string[];
918
- environment: Record<string, string>;
919
919
  timeoutSeconds: number;
920
920
  cwd?: string | undefined;
921
921
  };
922
922
  artifacts: string[];
923
923
  contractOperations: {
924
+ environment: Record<string, string>;
924
925
  command: string;
925
926
  args: string[];
926
- environment: Record<string, string>;
927
927
  timeoutSeconds: number;
928
928
  cwd?: string | undefined;
929
929
  }[];
@@ -947,68 +947,68 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
947
947
  kind: "process";
948
948
  graceSeconds?: number | undefined;
949
949
  };
950
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
951
- sourceRoots: string[];
952
950
  operations: {
953
- setup?: {
951
+ build?: {
954
952
  command: string;
953
+ environment?: Record<string, string> | undefined;
955
954
  args?: string[] | undefined;
956
955
  cwd?: string | undefined;
957
- environment?: Record<string, string> | undefined;
958
956
  timeoutSeconds?: number | undefined;
959
957
  } | undefined;
960
- watch?: {
958
+ setup?: {
961
959
  command: string;
960
+ environment?: Record<string, string> | undefined;
962
961
  args?: string[] | undefined;
963
962
  cwd?: string | undefined;
964
- environment?: Record<string, string> | undefined;
965
963
  timeoutSeconds?: number | undefined;
966
964
  } | undefined;
967
- build?: {
965
+ watch?: {
968
966
  command: string;
967
+ environment?: Record<string, string> | undefined;
969
968
  args?: string[] | undefined;
970
969
  cwd?: string | undefined;
971
- environment?: Record<string, string> | undefined;
972
970
  timeoutSeconds?: number | undefined;
973
971
  } | undefined;
974
972
  start?: {
975
973
  command: string;
974
+ environment?: Record<string, string> | undefined;
976
975
  args?: string[] | undefined;
977
976
  cwd?: string | undefined;
978
- environment?: Record<string, string> | undefined;
979
977
  timeoutSeconds?: number | undefined;
980
978
  } | undefined;
981
979
  stop?: {
982
980
  command: string;
981
+ environment?: Record<string, string> | undefined;
983
982
  args?: string[] | undefined;
984
983
  cwd?: string | undefined;
985
- environment?: Record<string, string> | undefined;
986
984
  timeoutSeconds?: number | undefined;
987
985
  } | undefined;
988
986
  verify?: {
989
987
  command: string;
988
+ environment?: Record<string, string> | undefined;
990
989
  args?: string[] | undefined;
991
990
  cwd?: string | undefined;
992
- environment?: Record<string, string> | undefined;
993
991
  timeoutSeconds?: number | undefined;
994
992
  } | undefined;
995
993
  cleanup?: {
996
994
  command: string;
995
+ environment?: Record<string, string> | undefined;
997
996
  args?: string[] | undefined;
998
997
  cwd?: string | undefined;
999
- environment?: Record<string, string> | undefined;
1000
998
  timeoutSeconds?: number | undefined;
1001
999
  } | undefined;
1002
1000
  };
1001
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1002
+ sourceRoots: string[];
1003
1003
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1004
1004
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1005
1005
  shutdown: {
1006
1006
  graceSeconds?: number | undefined;
1007
1007
  drainOperation?: {
1008
1008
  command: string;
1009
+ environment?: Record<string, string> | undefined;
1009
1010
  args?: string[] | undefined;
1010
1011
  cwd?: string | undefined;
1011
- environment?: Record<string, string> | undefined;
1012
1012
  timeoutSeconds?: number | undefined;
1013
1013
  } | undefined;
1014
1014
  activeWorkPolicy?: "block" | "drain" | "cancel-authorized" | undefined;
@@ -1017,20 +1017,27 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
1017
1017
  liveAdmissible: false;
1018
1018
  candidateRequiresVerification: true;
1019
1019
  };
1020
+ outputs?: {
1021
+ path: string;
1022
+ mediaType: string;
1023
+ completionMarker?: string | undefined;
1024
+ digestAlgorithm?: "sha256" | undefined;
1025
+ }[] | undefined;
1020
1026
  resources?: {
1021
1027
  cpuCores?: number | undefined;
1022
1028
  memoryBytes?: number | undefined;
1023
1029
  diskBytes?: number | undefined;
1024
1030
  } | undefined;
1031
+ dependencies?: {
1032
+ id: string;
1033
+ target: string;
1034
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1035
+ capability?: string | undefined;
1036
+ locality?: "local" | "remote" | "either" | undefined;
1037
+ }[] | undefined;
1025
1038
  executionCustody?: "caller" | "manager" | undefined;
1026
1039
  runtimeRequirements?: string[] | undefined;
1027
1040
  ignoredPaths?: string[] | undefined;
1028
- outputs?: {
1029
- path: string;
1030
- mediaType: string;
1031
- completionMarker?: string | undefined;
1032
- digestAlgorithm?: "sha256" | undefined;
1033
- }[] | undefined;
1034
1041
  endpoints?: {
1035
1042
  id: string;
1036
1043
  visibility: "private" | "host" | "loopback";
@@ -1039,31 +1046,24 @@ export declare const developmentTargetSchema: z.ZodEffects<z.ZodObject<{
1039
1046
  canonicalAlias?: string | undefined;
1040
1047
  authentication?: "none" | "application" | "mtls" | undefined;
1041
1048
  }[] | undefined;
1042
- dependencies?: {
1043
- id: string;
1044
- target: string;
1045
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1046
- capability?: string | undefined;
1047
- locality?: "remote" | "local" | "either" | undefined;
1048
- }[] | undefined;
1049
1049
  secretRefs?: Record<string, string> | undefined;
1050
1050
  logs?: string[] | undefined;
1051
1051
  forbiddenOperations?: string[] | undefined;
1052
1052
  freeze?: {
1053
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1053
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1054
1054
  operation: {
1055
1055
  command: string;
1056
+ environment?: Record<string, string> | undefined;
1056
1057
  args?: string[] | undefined;
1057
1058
  cwd?: string | undefined;
1058
- environment?: Record<string, string> | undefined;
1059
1059
  timeoutSeconds?: number | undefined;
1060
1060
  };
1061
1061
  artifacts: string[];
1062
1062
  contractOperations?: {
1063
1063
  command: string;
1064
+ environment?: Record<string, string> | undefined;
1064
1065
  args?: string[] | undefined;
1065
1066
  cwd?: string | undefined;
1066
- environment?: Record<string, string> | undefined;
1067
1067
  timeoutSeconds?: number | undefined;
1068
1068
  }[] | undefined;
1069
1069
  } | undefined;
@@ -1103,16 +1103,16 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1103
1103
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1104
1104
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1105
1105
  }, "strict", z.ZodTypeAny, {
1106
+ environment: Record<string, string>;
1106
1107
  command: string;
1107
1108
  args: string[];
1108
- environment: Record<string, string>;
1109
1109
  timeoutSeconds: number;
1110
1110
  cwd?: string | undefined;
1111
1111
  }, {
1112
1112
  command: string;
1113
+ environment?: Record<string, string> | undefined;
1113
1114
  args?: string[] | undefined;
1114
1115
  cwd?: string | undefined;
1115
- environment?: Record<string, string> | undefined;
1116
1116
  timeoutSeconds?: number | undefined;
1117
1117
  }>>;
1118
1118
  watch: z.ZodOptional<z.ZodObject<{
@@ -1122,16 +1122,16 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1122
1122
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1123
1123
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1124
1124
  }, "strict", z.ZodTypeAny, {
1125
+ environment: Record<string, string>;
1125
1126
  command: string;
1126
1127
  args: string[];
1127
- environment: Record<string, string>;
1128
1128
  timeoutSeconds: number;
1129
1129
  cwd?: string | undefined;
1130
1130
  }, {
1131
1131
  command: string;
1132
+ environment?: Record<string, string> | undefined;
1132
1133
  args?: string[] | undefined;
1133
1134
  cwd?: string | undefined;
1134
- environment?: Record<string, string> | undefined;
1135
1135
  timeoutSeconds?: number | undefined;
1136
1136
  }>>;
1137
1137
  build: z.ZodOptional<z.ZodObject<{
@@ -1141,16 +1141,16 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1141
1141
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1142
1142
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1143
1143
  }, "strict", z.ZodTypeAny, {
1144
+ environment: Record<string, string>;
1144
1145
  command: string;
1145
1146
  args: string[];
1146
- environment: Record<string, string>;
1147
1147
  timeoutSeconds: number;
1148
1148
  cwd?: string | undefined;
1149
1149
  }, {
1150
1150
  command: string;
1151
+ environment?: Record<string, string> | undefined;
1151
1152
  args?: string[] | undefined;
1152
1153
  cwd?: string | undefined;
1153
- environment?: Record<string, string> | undefined;
1154
1154
  timeoutSeconds?: number | undefined;
1155
1155
  }>>;
1156
1156
  start: z.ZodOptional<z.ZodObject<{
@@ -1160,16 +1160,16 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1160
1160
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1161
1161
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1162
1162
  }, "strict", z.ZodTypeAny, {
1163
+ environment: Record<string, string>;
1163
1164
  command: string;
1164
1165
  args: string[];
1165
- environment: Record<string, string>;
1166
1166
  timeoutSeconds: number;
1167
1167
  cwd?: string | undefined;
1168
1168
  }, {
1169
1169
  command: string;
1170
+ environment?: Record<string, string> | undefined;
1170
1171
  args?: string[] | undefined;
1171
1172
  cwd?: string | undefined;
1172
- environment?: Record<string, string> | undefined;
1173
1173
  timeoutSeconds?: number | undefined;
1174
1174
  }>>;
1175
1175
  stop: z.ZodOptional<z.ZodObject<{
@@ -1179,16 +1179,16 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1179
1179
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1180
1180
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1181
1181
  }, "strict", z.ZodTypeAny, {
1182
+ environment: Record<string, string>;
1182
1183
  command: string;
1183
1184
  args: string[];
1184
- environment: Record<string, string>;
1185
1185
  timeoutSeconds: number;
1186
1186
  cwd?: string | undefined;
1187
1187
  }, {
1188
1188
  command: string;
1189
+ environment?: Record<string, string> | undefined;
1189
1190
  args?: string[] | undefined;
1190
1191
  cwd?: string | undefined;
1191
- environment?: Record<string, string> | undefined;
1192
1192
  timeoutSeconds?: number | undefined;
1193
1193
  }>>;
1194
1194
  verify: z.ZodOptional<z.ZodObject<{
@@ -1198,16 +1198,16 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1198
1198
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1199
1199
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1200
1200
  }, "strict", z.ZodTypeAny, {
1201
+ environment: Record<string, string>;
1201
1202
  command: string;
1202
1203
  args: string[];
1203
- environment: Record<string, string>;
1204
1204
  timeoutSeconds: number;
1205
1205
  cwd?: string | undefined;
1206
1206
  }, {
1207
1207
  command: string;
1208
+ environment?: Record<string, string> | undefined;
1208
1209
  args?: string[] | undefined;
1209
1210
  cwd?: string | undefined;
1210
- environment?: Record<string, string> | undefined;
1211
1211
  timeoutSeconds?: number | undefined;
1212
1212
  }>>;
1213
1213
  cleanup: z.ZodOptional<z.ZodObject<{
@@ -1217,116 +1217,116 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1217
1217
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1218
1218
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1219
1219
  }, "strict", z.ZodTypeAny, {
1220
+ environment: Record<string, string>;
1220
1221
  command: string;
1221
1222
  args: string[];
1222
- environment: Record<string, string>;
1223
1223
  timeoutSeconds: number;
1224
1224
  cwd?: string | undefined;
1225
1225
  }, {
1226
1226
  command: string;
1227
+ environment?: Record<string, string> | undefined;
1227
1228
  args?: string[] | undefined;
1228
1229
  cwd?: string | undefined;
1229
- environment?: Record<string, string> | undefined;
1230
1230
  timeoutSeconds?: number | undefined;
1231
1231
  }>>;
1232
1232
  }, "strict", z.ZodTypeAny, {
1233
- setup?: {
1233
+ build?: {
1234
+ environment: Record<string, string>;
1234
1235
  command: string;
1235
1236
  args: string[];
1236
- environment: Record<string, string>;
1237
1237
  timeoutSeconds: number;
1238
1238
  cwd?: string | undefined;
1239
1239
  } | undefined;
1240
- watch?: {
1240
+ setup?: {
1241
+ environment: Record<string, string>;
1241
1242
  command: string;
1242
1243
  args: string[];
1243
- environment: Record<string, string>;
1244
1244
  timeoutSeconds: number;
1245
1245
  cwd?: string | undefined;
1246
1246
  } | undefined;
1247
- build?: {
1247
+ watch?: {
1248
+ environment: Record<string, string>;
1248
1249
  command: string;
1249
1250
  args: string[];
1250
- environment: Record<string, string>;
1251
1251
  timeoutSeconds: number;
1252
1252
  cwd?: string | undefined;
1253
1253
  } | undefined;
1254
1254
  start?: {
1255
+ environment: Record<string, string>;
1255
1256
  command: string;
1256
1257
  args: string[];
1257
- environment: Record<string, string>;
1258
1258
  timeoutSeconds: number;
1259
1259
  cwd?: string | undefined;
1260
1260
  } | undefined;
1261
1261
  stop?: {
1262
+ environment: Record<string, string>;
1262
1263
  command: string;
1263
1264
  args: string[];
1264
- environment: Record<string, string>;
1265
1265
  timeoutSeconds: number;
1266
1266
  cwd?: string | undefined;
1267
1267
  } | undefined;
1268
1268
  verify?: {
1269
+ environment: Record<string, string>;
1269
1270
  command: string;
1270
1271
  args: string[];
1271
- environment: Record<string, string>;
1272
1272
  timeoutSeconds: number;
1273
1273
  cwd?: string | undefined;
1274
1274
  } | undefined;
1275
1275
  cleanup?: {
1276
+ environment: Record<string, string>;
1276
1277
  command: string;
1277
1278
  args: string[];
1278
- environment: Record<string, string>;
1279
1279
  timeoutSeconds: number;
1280
1280
  cwd?: string | undefined;
1281
1281
  } | undefined;
1282
1282
  }, {
1283
- setup?: {
1283
+ build?: {
1284
1284
  command: string;
1285
+ environment?: Record<string, string> | undefined;
1285
1286
  args?: string[] | undefined;
1286
1287
  cwd?: string | undefined;
1287
- environment?: Record<string, string> | undefined;
1288
1288
  timeoutSeconds?: number | undefined;
1289
1289
  } | undefined;
1290
- watch?: {
1290
+ setup?: {
1291
1291
  command: string;
1292
+ environment?: Record<string, string> | undefined;
1292
1293
  args?: string[] | undefined;
1293
1294
  cwd?: string | undefined;
1294
- environment?: Record<string, string> | undefined;
1295
1295
  timeoutSeconds?: number | undefined;
1296
1296
  } | undefined;
1297
- build?: {
1297
+ watch?: {
1298
1298
  command: string;
1299
+ environment?: Record<string, string> | undefined;
1299
1300
  args?: string[] | undefined;
1300
1301
  cwd?: string | undefined;
1301
- environment?: Record<string, string> | undefined;
1302
1302
  timeoutSeconds?: number | undefined;
1303
1303
  } | undefined;
1304
1304
  start?: {
1305
1305
  command: string;
1306
+ environment?: Record<string, string> | undefined;
1306
1307
  args?: string[] | undefined;
1307
1308
  cwd?: string | undefined;
1308
- environment?: Record<string, string> | undefined;
1309
1309
  timeoutSeconds?: number | undefined;
1310
1310
  } | undefined;
1311
1311
  stop?: {
1312
1312
  command: string;
1313
+ environment?: Record<string, string> | undefined;
1313
1314
  args?: string[] | undefined;
1314
1315
  cwd?: string | undefined;
1315
- environment?: Record<string, string> | undefined;
1316
1316
  timeoutSeconds?: number | undefined;
1317
1317
  } | undefined;
1318
1318
  verify?: {
1319
1319
  command: string;
1320
+ environment?: Record<string, string> | undefined;
1320
1321
  args?: string[] | undefined;
1321
1322
  cwd?: string | undefined;
1322
- environment?: Record<string, string> | undefined;
1323
1323
  timeoutSeconds?: number | undefined;
1324
1324
  } | undefined;
1325
1325
  cleanup?: {
1326
1326
  command: string;
1327
+ environment?: Record<string, string> | undefined;
1327
1328
  args?: string[] | undefined;
1328
1329
  cwd?: string | undefined;
1329
- environment?: Record<string, string> | undefined;
1330
1330
  timeoutSeconds?: number | undefined;
1331
1331
  } | undefined;
1332
1332
  }>;
@@ -1437,15 +1437,15 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1437
1437
  }, "strict", z.ZodTypeAny, {
1438
1438
  id: string;
1439
1439
  target: string;
1440
- locality: "remote" | "local" | "either";
1441
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1440
+ locality: "local" | "remote" | "either";
1441
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1442
1442
  capability?: string | undefined;
1443
1443
  }, {
1444
1444
  id: string;
1445
1445
  target: string;
1446
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1446
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1447
1447
  capability?: string | undefined;
1448
- locality?: "remote" | "local" | "either" | undefined;
1448
+ locality?: "local" | "remote" | "either" | undefined;
1449
1449
  }>, "many">>;
1450
1450
  statePolicy: z.ZodEnum<["stateless", "ephemeral", "clone", "shared-compatible"]>;
1451
1451
  migrationPolicy: z.ZodEnum<["none", "explicit-review", "disposable-only"]>;
@@ -1458,16 +1458,16 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1458
1458
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1459
1459
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1460
1460
  }, "strict", z.ZodTypeAny, {
1461
+ environment: Record<string, string>;
1461
1462
  command: string;
1462
1463
  args: string[];
1463
- environment: Record<string, string>;
1464
1464
  timeoutSeconds: number;
1465
1465
  cwd?: string | undefined;
1466
1466
  }, {
1467
1467
  command: string;
1468
+ environment?: Record<string, string> | undefined;
1468
1469
  args?: string[] | undefined;
1469
1470
  cwd?: string | undefined;
1470
- environment?: Record<string, string> | undefined;
1471
1471
  timeoutSeconds?: number | undefined;
1472
1472
  }>>;
1473
1473
  graceSeconds: z.ZodDefault<z.ZodNumber>;
@@ -1476,9 +1476,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1476
1476
  graceSeconds: number;
1477
1477
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
1478
1478
  drainOperation?: {
1479
+ environment: Record<string, string>;
1479
1480
  command: string;
1480
1481
  args: string[];
1481
- environment: Record<string, string>;
1482
1482
  timeoutSeconds: number;
1483
1483
  cwd?: string | undefined;
1484
1484
  } | undefined;
@@ -1486,9 +1486,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1486
1486
  graceSeconds?: number | undefined;
1487
1487
  drainOperation?: {
1488
1488
  command: string;
1489
+ environment?: Record<string, string> | undefined;
1489
1490
  args?: string[] | undefined;
1490
1491
  cwd?: string | undefined;
1491
- environment?: Record<string, string> | undefined;
1492
1492
  timeoutSeconds?: number | undefined;
1493
1493
  } | undefined;
1494
1494
  activeWorkPolicy?: "block" | "drain" | "cancel-authorized" | undefined;
@@ -1517,16 +1517,16 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1517
1517
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1518
1518
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1519
1519
  }, "strict", z.ZodTypeAny, {
1520
+ environment: Record<string, string>;
1520
1521
  command: string;
1521
1522
  args: string[];
1522
- environment: Record<string, string>;
1523
1523
  timeoutSeconds: number;
1524
1524
  cwd?: string | undefined;
1525
1525
  }, {
1526
1526
  command: string;
1527
+ environment?: Record<string, string> | undefined;
1527
1528
  args?: string[] | undefined;
1528
1529
  cwd?: string | undefined;
1529
- environment?: Record<string, string> | undefined;
1530
1530
  timeoutSeconds?: number | undefined;
1531
1531
  }>;
1532
1532
  artifacts: z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">;
@@ -1537,50 +1537,50 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1537
1537
  environment: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
1538
1538
  timeoutSeconds: z.ZodDefault<z.ZodNumber>;
1539
1539
  }, "strict", z.ZodTypeAny, {
1540
+ environment: Record<string, string>;
1540
1541
  command: string;
1541
1542
  args: string[];
1542
- environment: Record<string, string>;
1543
1543
  timeoutSeconds: number;
1544
1544
  cwd?: string | undefined;
1545
1545
  }, {
1546
1546
  command: string;
1547
+ environment?: Record<string, string> | undefined;
1547
1548
  args?: string[] | undefined;
1548
1549
  cwd?: string | undefined;
1549
- environment?: Record<string, string> | undefined;
1550
1550
  timeoutSeconds?: number | undefined;
1551
1551
  }>, "many">>;
1552
1552
  }, "strict", z.ZodTypeAny, {
1553
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1553
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1554
1554
  operation: {
1555
+ environment: Record<string, string>;
1555
1556
  command: string;
1556
1557
  args: string[];
1557
- environment: Record<string, string>;
1558
1558
  timeoutSeconds: number;
1559
1559
  cwd?: string | undefined;
1560
1560
  };
1561
1561
  artifacts: string[];
1562
1562
  contractOperations: {
1563
+ environment: Record<string, string>;
1563
1564
  command: string;
1564
1565
  args: string[];
1565
- environment: Record<string, string>;
1566
1566
  timeoutSeconds: number;
1567
1567
  cwd?: string | undefined;
1568
1568
  }[];
1569
1569
  }, {
1570
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1570
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1571
1571
  operation: {
1572
1572
  command: string;
1573
+ environment?: Record<string, string> | undefined;
1573
1574
  args?: string[] | undefined;
1574
1575
  cwd?: string | undefined;
1575
- environment?: Record<string, string> | undefined;
1576
1576
  timeoutSeconds?: number | undefined;
1577
1577
  };
1578
1578
  artifacts: string[];
1579
1579
  contractOperations?: {
1580
1580
  command: string;
1581
+ environment?: Record<string, string> | undefined;
1581
1582
  args?: string[] | undefined;
1582
1583
  cwd?: string | undefined;
1583
- environment?: Record<string, string> | undefined;
1584
1584
  timeoutSeconds?: number | undefined;
1585
1585
  }[] | undefined;
1586
1586
  }>>;
@@ -1597,11 +1597,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1597
1597
  }, "strict", z.ZodTypeAny, {
1598
1598
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1599
1599
  id: string;
1600
- resources: {
1601
- cpuCores?: number | undefined;
1602
- memoryBytes?: number | undefined;
1603
- diskBytes?: number | undefined;
1604
- };
1605
1600
  ready: {
1606
1601
  path: string;
1607
1602
  kind: "marker";
@@ -1618,68 +1613,80 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1618
1613
  kind: "process";
1619
1614
  graceSeconds: number;
1620
1615
  };
1621
- executionCustody: "caller" | "manager";
1622
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1623
- runtimeRequirements: string[];
1624
- sourceRoots: string[];
1625
- ignoredPaths: string[];
1616
+ outputs: {
1617
+ path: string;
1618
+ mediaType: string;
1619
+ digestAlgorithm: "sha256";
1620
+ completionMarker?: string | undefined;
1621
+ }[];
1626
1622
  operations: {
1627
- setup?: {
1623
+ build?: {
1624
+ environment: Record<string, string>;
1628
1625
  command: string;
1629
1626
  args: string[];
1630
- environment: Record<string, string>;
1631
1627
  timeoutSeconds: number;
1632
1628
  cwd?: string | undefined;
1633
1629
  } | undefined;
1634
- watch?: {
1630
+ setup?: {
1631
+ environment: Record<string, string>;
1635
1632
  command: string;
1636
1633
  args: string[];
1637
- environment: Record<string, string>;
1638
1634
  timeoutSeconds: number;
1639
1635
  cwd?: string | undefined;
1640
1636
  } | undefined;
1641
- build?: {
1637
+ watch?: {
1638
+ environment: Record<string, string>;
1642
1639
  command: string;
1643
1640
  args: string[];
1644
- environment: Record<string, string>;
1645
1641
  timeoutSeconds: number;
1646
1642
  cwd?: string | undefined;
1647
1643
  } | undefined;
1648
1644
  start?: {
1645
+ environment: Record<string, string>;
1649
1646
  command: string;
1650
1647
  args: string[];
1651
- environment: Record<string, string>;
1652
1648
  timeoutSeconds: number;
1653
1649
  cwd?: string | undefined;
1654
1650
  } | undefined;
1655
1651
  stop?: {
1652
+ environment: Record<string, string>;
1656
1653
  command: string;
1657
1654
  args: string[];
1658
- environment: Record<string, string>;
1659
1655
  timeoutSeconds: number;
1660
1656
  cwd?: string | undefined;
1661
1657
  } | undefined;
1662
1658
  verify?: {
1659
+ environment: Record<string, string>;
1663
1660
  command: string;
1664
1661
  args: string[];
1665
- environment: Record<string, string>;
1666
1662
  timeoutSeconds: number;
1667
1663
  cwd?: string | undefined;
1668
1664
  } | undefined;
1669
1665
  cleanup?: {
1666
+ environment: Record<string, string>;
1670
1667
  command: string;
1671
1668
  args: string[];
1672
- environment: Record<string, string>;
1673
1669
  timeoutSeconds: number;
1674
1670
  cwd?: string | undefined;
1675
1671
  } | undefined;
1676
1672
  };
1677
- outputs: {
1678
- path: string;
1679
- mediaType: string;
1680
- digestAlgorithm: "sha256";
1681
- completionMarker?: string | undefined;
1673
+ resources: {
1674
+ cpuCores?: number | undefined;
1675
+ memoryBytes?: number | undefined;
1676
+ diskBytes?: number | undefined;
1677
+ };
1678
+ dependencies: {
1679
+ id: string;
1680
+ target: string;
1681
+ locality: "local" | "remote" | "either";
1682
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1683
+ capability?: string | undefined;
1682
1684
  }[];
1685
+ executionCustody: "caller" | "manager";
1686
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1687
+ runtimeRequirements: string[];
1688
+ sourceRoots: string[];
1689
+ ignoredPaths: string[];
1683
1690
  endpoints: {
1684
1691
  id: string;
1685
1692
  visibility: "private" | "host" | "loopback";
@@ -1688,13 +1695,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1688
1695
  authentication: "none" | "application" | "mtls";
1689
1696
  canonicalAlias?: string | undefined;
1690
1697
  }[];
1691
- dependencies: {
1692
- id: string;
1693
- target: string;
1694
- locality: "remote" | "local" | "either";
1695
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1696
- capability?: string | undefined;
1697
- }[];
1698
1698
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1699
1699
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1700
1700
  secretRefs: Record<string, string>;
@@ -1702,9 +1702,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1702
1702
  graceSeconds: number;
1703
1703
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
1704
1704
  drainOperation?: {
1705
+ environment: Record<string, string>;
1705
1706
  command: string;
1706
1707
  args: string[];
1707
- environment: Record<string, string>;
1708
1708
  timeoutSeconds: number;
1709
1709
  cwd?: string | undefined;
1710
1710
  } | undefined;
@@ -1716,19 +1716,19 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1716
1716
  candidateRequiresVerification: true;
1717
1717
  };
1718
1718
  freeze?: {
1719
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1719
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1720
1720
  operation: {
1721
+ environment: Record<string, string>;
1721
1722
  command: string;
1722
1723
  args: string[];
1723
- environment: Record<string, string>;
1724
1724
  timeoutSeconds: number;
1725
1725
  cwd?: string | undefined;
1726
1726
  };
1727
1727
  artifacts: string[];
1728
1728
  contractOperations: {
1729
+ environment: Record<string, string>;
1729
1730
  command: string;
1730
1731
  args: string[];
1731
- environment: Record<string, string>;
1732
1732
  timeoutSeconds: number;
1733
1733
  cwd?: string | undefined;
1734
1734
  }[];
@@ -1752,68 +1752,68 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1752
1752
  kind: "process";
1753
1753
  graceSeconds?: number | undefined;
1754
1754
  };
1755
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1756
- sourceRoots: string[];
1757
1755
  operations: {
1758
- setup?: {
1756
+ build?: {
1759
1757
  command: string;
1758
+ environment?: Record<string, string> | undefined;
1760
1759
  args?: string[] | undefined;
1761
1760
  cwd?: string | undefined;
1762
- environment?: Record<string, string> | undefined;
1763
1761
  timeoutSeconds?: number | undefined;
1764
1762
  } | undefined;
1765
- watch?: {
1763
+ setup?: {
1766
1764
  command: string;
1765
+ environment?: Record<string, string> | undefined;
1767
1766
  args?: string[] | undefined;
1768
1767
  cwd?: string | undefined;
1769
- environment?: Record<string, string> | undefined;
1770
1768
  timeoutSeconds?: number | undefined;
1771
1769
  } | undefined;
1772
- build?: {
1770
+ watch?: {
1773
1771
  command: string;
1772
+ environment?: Record<string, string> | undefined;
1774
1773
  args?: string[] | undefined;
1775
1774
  cwd?: string | undefined;
1776
- environment?: Record<string, string> | undefined;
1777
1775
  timeoutSeconds?: number | undefined;
1778
1776
  } | undefined;
1779
1777
  start?: {
1780
1778
  command: string;
1779
+ environment?: Record<string, string> | undefined;
1781
1780
  args?: string[] | undefined;
1782
1781
  cwd?: string | undefined;
1783
- environment?: Record<string, string> | undefined;
1784
1782
  timeoutSeconds?: number | undefined;
1785
1783
  } | undefined;
1786
1784
  stop?: {
1787
1785
  command: string;
1786
+ environment?: Record<string, string> | undefined;
1788
1787
  args?: string[] | undefined;
1789
1788
  cwd?: string | undefined;
1790
- environment?: Record<string, string> | undefined;
1791
1789
  timeoutSeconds?: number | undefined;
1792
1790
  } | undefined;
1793
1791
  verify?: {
1794
1792
  command: string;
1793
+ environment?: Record<string, string> | undefined;
1795
1794
  args?: string[] | undefined;
1796
1795
  cwd?: string | undefined;
1797
- environment?: Record<string, string> | undefined;
1798
1796
  timeoutSeconds?: number | undefined;
1799
1797
  } | undefined;
1800
1798
  cleanup?: {
1801
1799
  command: string;
1800
+ environment?: Record<string, string> | undefined;
1802
1801
  args?: string[] | undefined;
1803
1802
  cwd?: string | undefined;
1804
- environment?: Record<string, string> | undefined;
1805
1803
  timeoutSeconds?: number | undefined;
1806
1804
  } | undefined;
1807
1805
  };
1806
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1807
+ sourceRoots: string[];
1808
1808
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1809
1809
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1810
1810
  shutdown: {
1811
1811
  graceSeconds?: number | undefined;
1812
1812
  drainOperation?: {
1813
1813
  command: string;
1814
+ environment?: Record<string, string> | undefined;
1814
1815
  args?: string[] | undefined;
1815
1816
  cwd?: string | undefined;
1816
- environment?: Record<string, string> | undefined;
1817
1817
  timeoutSeconds?: number | undefined;
1818
1818
  } | undefined;
1819
1819
  activeWorkPolicy?: "block" | "drain" | "cancel-authorized" | undefined;
@@ -1822,20 +1822,27 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1822
1822
  liveAdmissible: false;
1823
1823
  candidateRequiresVerification: true;
1824
1824
  };
1825
+ outputs?: {
1826
+ path: string;
1827
+ mediaType: string;
1828
+ completionMarker?: string | undefined;
1829
+ digestAlgorithm?: "sha256" | undefined;
1830
+ }[] | undefined;
1825
1831
  resources?: {
1826
1832
  cpuCores?: number | undefined;
1827
1833
  memoryBytes?: number | undefined;
1828
1834
  diskBytes?: number | undefined;
1829
1835
  } | undefined;
1836
+ dependencies?: {
1837
+ id: string;
1838
+ target: string;
1839
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1840
+ capability?: string | undefined;
1841
+ locality?: "local" | "remote" | "either" | undefined;
1842
+ }[] | undefined;
1830
1843
  executionCustody?: "caller" | "manager" | undefined;
1831
1844
  runtimeRequirements?: string[] | undefined;
1832
1845
  ignoredPaths?: string[] | undefined;
1833
- outputs?: {
1834
- path: string;
1835
- mediaType: string;
1836
- completionMarker?: string | undefined;
1837
- digestAlgorithm?: "sha256" | undefined;
1838
- }[] | undefined;
1839
1846
  endpoints?: {
1840
1847
  id: string;
1841
1848
  visibility: "private" | "host" | "loopback";
@@ -1844,42 +1851,30 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1844
1851
  canonicalAlias?: string | undefined;
1845
1852
  authentication?: "none" | "application" | "mtls" | undefined;
1846
1853
  }[] | undefined;
1847
- dependencies?: {
1848
- id: string;
1849
- target: string;
1850
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1851
- capability?: string | undefined;
1852
- locality?: "remote" | "local" | "either" | undefined;
1853
- }[] | undefined;
1854
1854
  secretRefs?: Record<string, string> | undefined;
1855
1855
  logs?: string[] | undefined;
1856
1856
  forbiddenOperations?: string[] | undefined;
1857
1857
  freeze?: {
1858
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1858
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1859
1859
  operation: {
1860
1860
  command: string;
1861
+ environment?: Record<string, string> | undefined;
1861
1862
  args?: string[] | undefined;
1862
1863
  cwd?: string | undefined;
1863
- environment?: Record<string, string> | undefined;
1864
1864
  timeoutSeconds?: number | undefined;
1865
1865
  };
1866
1866
  artifacts: string[];
1867
1867
  contractOperations?: {
1868
1868
  command: string;
1869
+ environment?: Record<string, string> | undefined;
1869
1870
  args?: string[] | undefined;
1870
1871
  cwd?: string | undefined;
1871
- environment?: Record<string, string> | undefined;
1872
1872
  timeoutSeconds?: number | undefined;
1873
1873
  }[] | undefined;
1874
1874
  } | undefined;
1875
1875
  }>, {
1876
1876
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
1877
1877
  id: string;
1878
- resources: {
1879
- cpuCores?: number | undefined;
1880
- memoryBytes?: number | undefined;
1881
- diskBytes?: number | undefined;
1882
- };
1883
1878
  ready: {
1884
1879
  path: string;
1885
1880
  kind: "marker";
@@ -1896,68 +1891,80 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1896
1891
  kind: "process";
1897
1892
  graceSeconds: number;
1898
1893
  };
1899
- executionCustody: "caller" | "manager";
1900
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1901
- runtimeRequirements: string[];
1902
- sourceRoots: string[];
1903
- ignoredPaths: string[];
1894
+ outputs: {
1895
+ path: string;
1896
+ mediaType: string;
1897
+ digestAlgorithm: "sha256";
1898
+ completionMarker?: string | undefined;
1899
+ }[];
1904
1900
  operations: {
1905
- setup?: {
1901
+ build?: {
1902
+ environment: Record<string, string>;
1906
1903
  command: string;
1907
1904
  args: string[];
1908
- environment: Record<string, string>;
1909
1905
  timeoutSeconds: number;
1910
1906
  cwd?: string | undefined;
1911
1907
  } | undefined;
1912
- watch?: {
1908
+ setup?: {
1909
+ environment: Record<string, string>;
1913
1910
  command: string;
1914
1911
  args: string[];
1915
- environment: Record<string, string>;
1916
1912
  timeoutSeconds: number;
1917
1913
  cwd?: string | undefined;
1918
1914
  } | undefined;
1919
- build?: {
1915
+ watch?: {
1916
+ environment: Record<string, string>;
1920
1917
  command: string;
1921
1918
  args: string[];
1922
- environment: Record<string, string>;
1923
1919
  timeoutSeconds: number;
1924
1920
  cwd?: string | undefined;
1925
1921
  } | undefined;
1926
1922
  start?: {
1923
+ environment: Record<string, string>;
1927
1924
  command: string;
1928
1925
  args: string[];
1929
- environment: Record<string, string>;
1930
1926
  timeoutSeconds: number;
1931
1927
  cwd?: string | undefined;
1932
1928
  } | undefined;
1933
1929
  stop?: {
1930
+ environment: Record<string, string>;
1934
1931
  command: string;
1935
1932
  args: string[];
1936
- environment: Record<string, string>;
1937
1933
  timeoutSeconds: number;
1938
1934
  cwd?: string | undefined;
1939
1935
  } | undefined;
1940
1936
  verify?: {
1937
+ environment: Record<string, string>;
1941
1938
  command: string;
1942
1939
  args: string[];
1943
- environment: Record<string, string>;
1944
1940
  timeoutSeconds: number;
1945
1941
  cwd?: string | undefined;
1946
1942
  } | undefined;
1947
1943
  cleanup?: {
1944
+ environment: Record<string, string>;
1948
1945
  command: string;
1949
1946
  args: string[];
1950
- environment: Record<string, string>;
1951
1947
  timeoutSeconds: number;
1952
1948
  cwd?: string | undefined;
1953
1949
  } | undefined;
1954
1950
  };
1955
- outputs: {
1956
- path: string;
1957
- mediaType: string;
1958
- digestAlgorithm: "sha256";
1959
- completionMarker?: string | undefined;
1951
+ resources: {
1952
+ cpuCores?: number | undefined;
1953
+ memoryBytes?: number | undefined;
1954
+ diskBytes?: number | undefined;
1955
+ };
1956
+ dependencies: {
1957
+ id: string;
1958
+ target: string;
1959
+ locality: "local" | "remote" | "either";
1960
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
1961
+ capability?: string | undefined;
1960
1962
  }[];
1963
+ executionCustody: "caller" | "manager";
1964
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
1965
+ runtimeRequirements: string[];
1966
+ sourceRoots: string[];
1967
+ ignoredPaths: string[];
1961
1968
  endpoints: {
1962
1969
  id: string;
1963
1970
  visibility: "private" | "host" | "loopback";
@@ -1966,13 +1973,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1966
1973
  authentication: "none" | "application" | "mtls";
1967
1974
  canonicalAlias?: string | undefined;
1968
1975
  }[];
1969
- dependencies: {
1970
- id: string;
1971
- target: string;
1972
- locality: "remote" | "local" | "either";
1973
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
1974
- capability?: string | undefined;
1975
- }[];
1976
1976
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
1977
1977
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
1978
1978
  secretRefs: Record<string, string>;
@@ -1980,9 +1980,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1980
1980
  graceSeconds: number;
1981
1981
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
1982
1982
  drainOperation?: {
1983
+ environment: Record<string, string>;
1983
1984
  command: string;
1984
1985
  args: string[];
1985
- environment: Record<string, string>;
1986
1986
  timeoutSeconds: number;
1987
1987
  cwd?: string | undefined;
1988
1988
  } | undefined;
@@ -1994,19 +1994,19 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
1994
1994
  candidateRequiresVerification: true;
1995
1995
  };
1996
1996
  freeze?: {
1997
- kind: "npm-package" | "oci-image" | "archive" | "executable";
1997
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
1998
1998
  operation: {
1999
+ environment: Record<string, string>;
1999
2000
  command: string;
2000
2001
  args: string[];
2001
- environment: Record<string, string>;
2002
2002
  timeoutSeconds: number;
2003
2003
  cwd?: string | undefined;
2004
2004
  };
2005
2005
  artifacts: string[];
2006
2006
  contractOperations: {
2007
+ environment: Record<string, string>;
2007
2008
  command: string;
2008
2009
  args: string[];
2009
- environment: Record<string, string>;
2010
2010
  timeoutSeconds: number;
2011
2011
  cwd?: string | undefined;
2012
2012
  }[];
@@ -2030,68 +2030,68 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2030
2030
  kind: "process";
2031
2031
  graceSeconds?: number | undefined;
2032
2032
  };
2033
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2034
- sourceRoots: string[];
2035
2033
  operations: {
2036
- setup?: {
2034
+ build?: {
2037
2035
  command: string;
2036
+ environment?: Record<string, string> | undefined;
2038
2037
  args?: string[] | undefined;
2039
2038
  cwd?: string | undefined;
2040
- environment?: Record<string, string> | undefined;
2041
2039
  timeoutSeconds?: number | undefined;
2042
2040
  } | undefined;
2043
- watch?: {
2041
+ setup?: {
2044
2042
  command: string;
2043
+ environment?: Record<string, string> | undefined;
2045
2044
  args?: string[] | undefined;
2046
2045
  cwd?: string | undefined;
2047
- environment?: Record<string, string> | undefined;
2048
2046
  timeoutSeconds?: number | undefined;
2049
2047
  } | undefined;
2050
- build?: {
2048
+ watch?: {
2051
2049
  command: string;
2050
+ environment?: Record<string, string> | undefined;
2052
2051
  args?: string[] | undefined;
2053
2052
  cwd?: string | undefined;
2054
- environment?: Record<string, string> | undefined;
2055
2053
  timeoutSeconds?: number | undefined;
2056
2054
  } | undefined;
2057
2055
  start?: {
2058
2056
  command: string;
2057
+ environment?: Record<string, string> | undefined;
2059
2058
  args?: string[] | undefined;
2060
2059
  cwd?: string | undefined;
2061
- environment?: Record<string, string> | undefined;
2062
2060
  timeoutSeconds?: number | undefined;
2063
2061
  } | undefined;
2064
2062
  stop?: {
2065
2063
  command: string;
2064
+ environment?: Record<string, string> | undefined;
2066
2065
  args?: string[] | undefined;
2067
2066
  cwd?: string | undefined;
2068
- environment?: Record<string, string> | undefined;
2069
2067
  timeoutSeconds?: number | undefined;
2070
2068
  } | undefined;
2071
2069
  verify?: {
2072
2070
  command: string;
2071
+ environment?: Record<string, string> | undefined;
2073
2072
  args?: string[] | undefined;
2074
2073
  cwd?: string | undefined;
2075
- environment?: Record<string, string> | undefined;
2076
2074
  timeoutSeconds?: number | undefined;
2077
2075
  } | undefined;
2078
2076
  cleanup?: {
2079
2077
  command: string;
2078
+ environment?: Record<string, string> | undefined;
2080
2079
  args?: string[] | undefined;
2081
2080
  cwd?: string | undefined;
2082
- environment?: Record<string, string> | undefined;
2083
2081
  timeoutSeconds?: number | undefined;
2084
2082
  } | undefined;
2085
2083
  };
2084
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2085
+ sourceRoots: string[];
2086
2086
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2087
2087
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2088
2088
  shutdown: {
2089
2089
  graceSeconds?: number | undefined;
2090
2090
  drainOperation?: {
2091
2091
  command: string;
2092
+ environment?: Record<string, string> | undefined;
2092
2093
  args?: string[] | undefined;
2093
2094
  cwd?: string | undefined;
2094
- environment?: Record<string, string> | undefined;
2095
2095
  timeoutSeconds?: number | undefined;
2096
2096
  } | undefined;
2097
2097
  activeWorkPolicy?: "block" | "drain" | "cancel-authorized" | undefined;
@@ -2100,20 +2100,27 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2100
2100
  liveAdmissible: false;
2101
2101
  candidateRequiresVerification: true;
2102
2102
  };
2103
+ outputs?: {
2104
+ path: string;
2105
+ mediaType: string;
2106
+ completionMarker?: string | undefined;
2107
+ digestAlgorithm?: "sha256" | undefined;
2108
+ }[] | undefined;
2103
2109
  resources?: {
2104
2110
  cpuCores?: number | undefined;
2105
2111
  memoryBytes?: number | undefined;
2106
2112
  diskBytes?: number | undefined;
2107
2113
  } | undefined;
2114
+ dependencies?: {
2115
+ id: string;
2116
+ target: string;
2117
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2118
+ capability?: string | undefined;
2119
+ locality?: "local" | "remote" | "either" | undefined;
2120
+ }[] | undefined;
2108
2121
  executionCustody?: "caller" | "manager" | undefined;
2109
2122
  runtimeRequirements?: string[] | undefined;
2110
2123
  ignoredPaths?: string[] | undefined;
2111
- outputs?: {
2112
- path: string;
2113
- mediaType: string;
2114
- completionMarker?: string | undefined;
2115
- digestAlgorithm?: "sha256" | undefined;
2116
- }[] | undefined;
2117
2124
  endpoints?: {
2118
2125
  id: string;
2119
2126
  visibility: "private" | "host" | "loopback";
@@ -2122,31 +2129,24 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2122
2129
  canonicalAlias?: string | undefined;
2123
2130
  authentication?: "none" | "application" | "mtls" | undefined;
2124
2131
  }[] | undefined;
2125
- dependencies?: {
2126
- id: string;
2127
- target: string;
2128
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2129
- capability?: string | undefined;
2130
- locality?: "remote" | "local" | "either" | undefined;
2131
- }[] | undefined;
2132
2132
  secretRefs?: Record<string, string> | undefined;
2133
2133
  logs?: string[] | undefined;
2134
2134
  forbiddenOperations?: string[] | undefined;
2135
2135
  freeze?: {
2136
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2136
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2137
2137
  operation: {
2138
2138
  command: string;
2139
+ environment?: Record<string, string> | undefined;
2139
2140
  args?: string[] | undefined;
2140
2141
  cwd?: string | undefined;
2141
- environment?: Record<string, string> | undefined;
2142
2142
  timeoutSeconds?: number | undefined;
2143
2143
  };
2144
2144
  artifacts: string[];
2145
2145
  contractOperations?: {
2146
2146
  command: string;
2147
+ environment?: Record<string, string> | undefined;
2147
2148
  args?: string[] | undefined;
2148
2149
  cwd?: string | undefined;
2149
- environment?: Record<string, string> | undefined;
2150
2150
  timeoutSeconds?: number | undefined;
2151
2151
  }[] | undefined;
2152
2152
  } | undefined;
@@ -2160,11 +2160,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2160
2160
  targets: {
2161
2161
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2162
2162
  id: string;
2163
- resources: {
2164
- cpuCores?: number | undefined;
2165
- memoryBytes?: number | undefined;
2166
- diskBytes?: number | undefined;
2167
- };
2168
2163
  ready: {
2169
2164
  path: string;
2170
2165
  kind: "marker";
@@ -2181,68 +2176,80 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2181
2176
  kind: "process";
2182
2177
  graceSeconds: number;
2183
2178
  };
2184
- executionCustody: "caller" | "manager";
2185
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2186
- runtimeRequirements: string[];
2187
- sourceRoots: string[];
2188
- ignoredPaths: string[];
2179
+ outputs: {
2180
+ path: string;
2181
+ mediaType: string;
2182
+ digestAlgorithm: "sha256";
2183
+ completionMarker?: string | undefined;
2184
+ }[];
2189
2185
  operations: {
2190
- setup?: {
2186
+ build?: {
2187
+ environment: Record<string, string>;
2191
2188
  command: string;
2192
2189
  args: string[];
2193
- environment: Record<string, string>;
2194
2190
  timeoutSeconds: number;
2195
2191
  cwd?: string | undefined;
2196
2192
  } | undefined;
2197
- watch?: {
2193
+ setup?: {
2194
+ environment: Record<string, string>;
2198
2195
  command: string;
2199
2196
  args: string[];
2200
- environment: Record<string, string>;
2201
2197
  timeoutSeconds: number;
2202
2198
  cwd?: string | undefined;
2203
2199
  } | undefined;
2204
- build?: {
2200
+ watch?: {
2201
+ environment: Record<string, string>;
2205
2202
  command: string;
2206
2203
  args: string[];
2207
- environment: Record<string, string>;
2208
2204
  timeoutSeconds: number;
2209
2205
  cwd?: string | undefined;
2210
2206
  } | undefined;
2211
2207
  start?: {
2208
+ environment: Record<string, string>;
2212
2209
  command: string;
2213
2210
  args: string[];
2214
- environment: Record<string, string>;
2215
2211
  timeoutSeconds: number;
2216
2212
  cwd?: string | undefined;
2217
2213
  } | undefined;
2218
2214
  stop?: {
2215
+ environment: Record<string, string>;
2219
2216
  command: string;
2220
2217
  args: string[];
2221
- environment: Record<string, string>;
2222
2218
  timeoutSeconds: number;
2223
2219
  cwd?: string | undefined;
2224
2220
  } | undefined;
2225
2221
  verify?: {
2222
+ environment: Record<string, string>;
2226
2223
  command: string;
2227
2224
  args: string[];
2228
- environment: Record<string, string>;
2229
2225
  timeoutSeconds: number;
2230
2226
  cwd?: string | undefined;
2231
2227
  } | undefined;
2232
2228
  cleanup?: {
2229
+ environment: Record<string, string>;
2233
2230
  command: string;
2234
2231
  args: string[];
2235
- environment: Record<string, string>;
2236
2232
  timeoutSeconds: number;
2237
2233
  cwd?: string | undefined;
2238
2234
  } | undefined;
2239
2235
  };
2240
- outputs: {
2241
- path: string;
2242
- mediaType: string;
2243
- digestAlgorithm: "sha256";
2244
- completionMarker?: string | undefined;
2236
+ resources: {
2237
+ cpuCores?: number | undefined;
2238
+ memoryBytes?: number | undefined;
2239
+ diskBytes?: number | undefined;
2240
+ };
2241
+ dependencies: {
2242
+ id: string;
2243
+ target: string;
2244
+ locality: "local" | "remote" | "either";
2245
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2246
+ capability?: string | undefined;
2245
2247
  }[];
2248
+ executionCustody: "caller" | "manager";
2249
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2250
+ runtimeRequirements: string[];
2251
+ sourceRoots: string[];
2252
+ ignoredPaths: string[];
2246
2253
  endpoints: {
2247
2254
  id: string;
2248
2255
  visibility: "private" | "host" | "loopback";
@@ -2251,13 +2258,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2251
2258
  authentication: "none" | "application" | "mtls";
2252
2259
  canonicalAlias?: string | undefined;
2253
2260
  }[];
2254
- dependencies: {
2255
- id: string;
2256
- target: string;
2257
- locality: "remote" | "local" | "either";
2258
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2259
- capability?: string | undefined;
2260
- }[];
2261
2261
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2262
2262
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2263
2263
  secretRefs: Record<string, string>;
@@ -2265,9 +2265,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2265
2265
  graceSeconds: number;
2266
2266
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
2267
2267
  drainOperation?: {
2268
+ environment: Record<string, string>;
2268
2269
  command: string;
2269
2270
  args: string[];
2270
- environment: Record<string, string>;
2271
2271
  timeoutSeconds: number;
2272
2272
  cwd?: string | undefined;
2273
2273
  } | undefined;
@@ -2279,19 +2279,19 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2279
2279
  candidateRequiresVerification: true;
2280
2280
  };
2281
2281
  freeze?: {
2282
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2282
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2283
2283
  operation: {
2284
+ environment: Record<string, string>;
2284
2285
  command: string;
2285
2286
  args: string[];
2286
- environment: Record<string, string>;
2287
2287
  timeoutSeconds: number;
2288
2288
  cwd?: string | undefined;
2289
2289
  };
2290
2290
  artifacts: string[];
2291
2291
  contractOperations: {
2292
+ environment: Record<string, string>;
2292
2293
  command: string;
2293
2294
  args: string[];
2294
- environment: Record<string, string>;
2295
2295
  timeoutSeconds: number;
2296
2296
  cwd?: string | undefined;
2297
2297
  }[];
@@ -2325,68 +2325,68 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2325
2325
  kind: "process";
2326
2326
  graceSeconds?: number | undefined;
2327
2327
  };
2328
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2329
- sourceRoots: string[];
2330
2328
  operations: {
2331
- setup?: {
2329
+ build?: {
2332
2330
  command: string;
2331
+ environment?: Record<string, string> | undefined;
2333
2332
  args?: string[] | undefined;
2334
2333
  cwd?: string | undefined;
2335
- environment?: Record<string, string> | undefined;
2336
2334
  timeoutSeconds?: number | undefined;
2337
2335
  } | undefined;
2338
- watch?: {
2336
+ setup?: {
2339
2337
  command: string;
2338
+ environment?: Record<string, string> | undefined;
2340
2339
  args?: string[] | undefined;
2341
2340
  cwd?: string | undefined;
2342
- environment?: Record<string, string> | undefined;
2343
2341
  timeoutSeconds?: number | undefined;
2344
2342
  } | undefined;
2345
- build?: {
2343
+ watch?: {
2346
2344
  command: string;
2345
+ environment?: Record<string, string> | undefined;
2347
2346
  args?: string[] | undefined;
2348
2347
  cwd?: string | undefined;
2349
- environment?: Record<string, string> | undefined;
2350
2348
  timeoutSeconds?: number | undefined;
2351
2349
  } | undefined;
2352
2350
  start?: {
2353
2351
  command: string;
2352
+ environment?: Record<string, string> | undefined;
2354
2353
  args?: string[] | undefined;
2355
2354
  cwd?: string | undefined;
2356
- environment?: Record<string, string> | undefined;
2357
2355
  timeoutSeconds?: number | undefined;
2358
2356
  } | undefined;
2359
2357
  stop?: {
2360
2358
  command: string;
2359
+ environment?: Record<string, string> | undefined;
2361
2360
  args?: string[] | undefined;
2362
2361
  cwd?: string | undefined;
2363
- environment?: Record<string, string> | undefined;
2364
2362
  timeoutSeconds?: number | undefined;
2365
2363
  } | undefined;
2366
2364
  verify?: {
2367
2365
  command: string;
2366
+ environment?: Record<string, string> | undefined;
2368
2367
  args?: string[] | undefined;
2369
2368
  cwd?: string | undefined;
2370
- environment?: Record<string, string> | undefined;
2371
2369
  timeoutSeconds?: number | undefined;
2372
2370
  } | undefined;
2373
2371
  cleanup?: {
2374
2372
  command: string;
2373
+ environment?: Record<string, string> | undefined;
2375
2374
  args?: string[] | undefined;
2376
2375
  cwd?: string | undefined;
2377
- environment?: Record<string, string> | undefined;
2378
2376
  timeoutSeconds?: number | undefined;
2379
2377
  } | undefined;
2380
2378
  };
2379
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2380
+ sourceRoots: string[];
2381
2381
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2382
2382
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2383
2383
  shutdown: {
2384
2384
  graceSeconds?: number | undefined;
2385
2385
  drainOperation?: {
2386
2386
  command: string;
2387
+ environment?: Record<string, string> | undefined;
2387
2388
  args?: string[] | undefined;
2388
2389
  cwd?: string | undefined;
2389
- environment?: Record<string, string> | undefined;
2390
2390
  timeoutSeconds?: number | undefined;
2391
2391
  } | undefined;
2392
2392
  activeWorkPolicy?: "block" | "drain" | "cancel-authorized" | undefined;
@@ -2395,20 +2395,27 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2395
2395
  liveAdmissible: false;
2396
2396
  candidateRequiresVerification: true;
2397
2397
  };
2398
+ outputs?: {
2399
+ path: string;
2400
+ mediaType: string;
2401
+ completionMarker?: string | undefined;
2402
+ digestAlgorithm?: "sha256" | undefined;
2403
+ }[] | undefined;
2398
2404
  resources?: {
2399
2405
  cpuCores?: number | undefined;
2400
2406
  memoryBytes?: number | undefined;
2401
2407
  diskBytes?: number | undefined;
2402
2408
  } | undefined;
2409
+ dependencies?: {
2410
+ id: string;
2411
+ target: string;
2412
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2413
+ capability?: string | undefined;
2414
+ locality?: "local" | "remote" | "either" | undefined;
2415
+ }[] | undefined;
2403
2416
  executionCustody?: "caller" | "manager" | undefined;
2404
2417
  runtimeRequirements?: string[] | undefined;
2405
2418
  ignoredPaths?: string[] | undefined;
2406
- outputs?: {
2407
- path: string;
2408
- mediaType: string;
2409
- completionMarker?: string | undefined;
2410
- digestAlgorithm?: "sha256" | undefined;
2411
- }[] | undefined;
2412
2419
  endpoints?: {
2413
2420
  id: string;
2414
2421
  visibility: "private" | "host" | "loopback";
@@ -2417,31 +2424,24 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2417
2424
  canonicalAlias?: string | undefined;
2418
2425
  authentication?: "none" | "application" | "mtls" | undefined;
2419
2426
  }[] | undefined;
2420
- dependencies?: {
2421
- id: string;
2422
- target: string;
2423
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2424
- capability?: string | undefined;
2425
- locality?: "remote" | "local" | "either" | undefined;
2426
- }[] | undefined;
2427
2427
  secretRefs?: Record<string, string> | undefined;
2428
2428
  logs?: string[] | undefined;
2429
2429
  forbiddenOperations?: string[] | undefined;
2430
2430
  freeze?: {
2431
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2431
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2432
2432
  operation: {
2433
2433
  command: string;
2434
+ environment?: Record<string, string> | undefined;
2434
2435
  args?: string[] | undefined;
2435
2436
  cwd?: string | undefined;
2436
- environment?: Record<string, string> | undefined;
2437
2437
  timeoutSeconds?: number | undefined;
2438
2438
  };
2439
2439
  artifacts: string[];
2440
2440
  contractOperations?: {
2441
2441
  command: string;
2442
+ environment?: Record<string, string> | undefined;
2442
2443
  args?: string[] | undefined;
2443
2444
  cwd?: string | undefined;
2444
- environment?: Record<string, string> | undefined;
2445
2445
  timeoutSeconds?: number | undefined;
2446
2446
  }[] | undefined;
2447
2447
  } | undefined;
@@ -2458,11 +2458,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2458
2458
  targets: {
2459
2459
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2460
2460
  id: string;
2461
- resources: {
2462
- cpuCores?: number | undefined;
2463
- memoryBytes?: number | undefined;
2464
- diskBytes?: number | undefined;
2465
- };
2466
2461
  ready: {
2467
2462
  path: string;
2468
2463
  kind: "marker";
@@ -2479,68 +2474,80 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2479
2474
  kind: "process";
2480
2475
  graceSeconds: number;
2481
2476
  };
2482
- executionCustody: "caller" | "manager";
2483
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2484
- runtimeRequirements: string[];
2485
- sourceRoots: string[];
2486
- ignoredPaths: string[];
2477
+ outputs: {
2478
+ path: string;
2479
+ mediaType: string;
2480
+ digestAlgorithm: "sha256";
2481
+ completionMarker?: string | undefined;
2482
+ }[];
2487
2483
  operations: {
2488
- setup?: {
2484
+ build?: {
2485
+ environment: Record<string, string>;
2489
2486
  command: string;
2490
2487
  args: string[];
2491
- environment: Record<string, string>;
2492
2488
  timeoutSeconds: number;
2493
2489
  cwd?: string | undefined;
2494
2490
  } | undefined;
2495
- watch?: {
2491
+ setup?: {
2492
+ environment: Record<string, string>;
2496
2493
  command: string;
2497
2494
  args: string[];
2498
- environment: Record<string, string>;
2499
2495
  timeoutSeconds: number;
2500
2496
  cwd?: string | undefined;
2501
2497
  } | undefined;
2502
- build?: {
2498
+ watch?: {
2499
+ environment: Record<string, string>;
2503
2500
  command: string;
2504
2501
  args: string[];
2505
- environment: Record<string, string>;
2506
2502
  timeoutSeconds: number;
2507
2503
  cwd?: string | undefined;
2508
2504
  } | undefined;
2509
2505
  start?: {
2506
+ environment: Record<string, string>;
2510
2507
  command: string;
2511
2508
  args: string[];
2512
- environment: Record<string, string>;
2513
2509
  timeoutSeconds: number;
2514
2510
  cwd?: string | undefined;
2515
2511
  } | undefined;
2516
2512
  stop?: {
2513
+ environment: Record<string, string>;
2517
2514
  command: string;
2518
2515
  args: string[];
2519
- environment: Record<string, string>;
2520
2516
  timeoutSeconds: number;
2521
2517
  cwd?: string | undefined;
2522
2518
  } | undefined;
2523
2519
  verify?: {
2520
+ environment: Record<string, string>;
2524
2521
  command: string;
2525
2522
  args: string[];
2526
- environment: Record<string, string>;
2527
2523
  timeoutSeconds: number;
2528
2524
  cwd?: string | undefined;
2529
2525
  } | undefined;
2530
2526
  cleanup?: {
2527
+ environment: Record<string, string>;
2531
2528
  command: string;
2532
2529
  args: string[];
2533
- environment: Record<string, string>;
2534
2530
  timeoutSeconds: number;
2535
2531
  cwd?: string | undefined;
2536
2532
  } | undefined;
2537
2533
  };
2538
- outputs: {
2539
- path: string;
2540
- mediaType: string;
2541
- digestAlgorithm: "sha256";
2542
- completionMarker?: string | undefined;
2534
+ resources: {
2535
+ cpuCores?: number | undefined;
2536
+ memoryBytes?: number | undefined;
2537
+ diskBytes?: number | undefined;
2538
+ };
2539
+ dependencies: {
2540
+ id: string;
2541
+ target: string;
2542
+ locality: "local" | "remote" | "either";
2543
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2544
+ capability?: string | undefined;
2543
2545
  }[];
2546
+ executionCustody: "caller" | "manager";
2547
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2548
+ runtimeRequirements: string[];
2549
+ sourceRoots: string[];
2550
+ ignoredPaths: string[];
2544
2551
  endpoints: {
2545
2552
  id: string;
2546
2553
  visibility: "private" | "host" | "loopback";
@@ -2549,13 +2556,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2549
2556
  authentication: "none" | "application" | "mtls";
2550
2557
  canonicalAlias?: string | undefined;
2551
2558
  }[];
2552
- dependencies: {
2553
- id: string;
2554
- target: string;
2555
- locality: "remote" | "local" | "either";
2556
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2557
- capability?: string | undefined;
2558
- }[];
2559
2559
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2560
2560
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2561
2561
  secretRefs: Record<string, string>;
@@ -2563,9 +2563,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2563
2563
  graceSeconds: number;
2564
2564
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
2565
2565
  drainOperation?: {
2566
+ environment: Record<string, string>;
2566
2567
  command: string;
2567
2568
  args: string[];
2568
- environment: Record<string, string>;
2569
2569
  timeoutSeconds: number;
2570
2570
  cwd?: string | undefined;
2571
2571
  } | undefined;
@@ -2577,19 +2577,19 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2577
2577
  candidateRequiresVerification: true;
2578
2578
  };
2579
2579
  freeze?: {
2580
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2580
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2581
2581
  operation: {
2582
+ environment: Record<string, string>;
2582
2583
  command: string;
2583
2584
  args: string[];
2584
- environment: Record<string, string>;
2585
2585
  timeoutSeconds: number;
2586
2586
  cwd?: string | undefined;
2587
2587
  };
2588
2588
  artifacts: string[];
2589
2589
  contractOperations: {
2590
+ environment: Record<string, string>;
2590
2591
  command: string;
2591
2592
  args: string[];
2592
- environment: Record<string, string>;
2593
2593
  timeoutSeconds: number;
2594
2594
  cwd?: string | undefined;
2595
2595
  }[];
@@ -2623,68 +2623,68 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2623
2623
  kind: "process";
2624
2624
  graceSeconds?: number | undefined;
2625
2625
  };
2626
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2627
- sourceRoots: string[];
2628
2626
  operations: {
2629
- setup?: {
2627
+ build?: {
2630
2628
  command: string;
2629
+ environment?: Record<string, string> | undefined;
2631
2630
  args?: string[] | undefined;
2632
2631
  cwd?: string | undefined;
2633
- environment?: Record<string, string> | undefined;
2634
2632
  timeoutSeconds?: number | undefined;
2635
2633
  } | undefined;
2636
- watch?: {
2634
+ setup?: {
2637
2635
  command: string;
2636
+ environment?: Record<string, string> | undefined;
2638
2637
  args?: string[] | undefined;
2639
2638
  cwd?: string | undefined;
2640
- environment?: Record<string, string> | undefined;
2641
2639
  timeoutSeconds?: number | undefined;
2642
2640
  } | undefined;
2643
- build?: {
2641
+ watch?: {
2644
2642
  command: string;
2643
+ environment?: Record<string, string> | undefined;
2645
2644
  args?: string[] | undefined;
2646
2645
  cwd?: string | undefined;
2647
- environment?: Record<string, string> | undefined;
2648
2646
  timeoutSeconds?: number | undefined;
2649
2647
  } | undefined;
2650
2648
  start?: {
2651
2649
  command: string;
2650
+ environment?: Record<string, string> | undefined;
2652
2651
  args?: string[] | undefined;
2653
2652
  cwd?: string | undefined;
2654
- environment?: Record<string, string> | undefined;
2655
2653
  timeoutSeconds?: number | undefined;
2656
2654
  } | undefined;
2657
2655
  stop?: {
2658
2656
  command: string;
2657
+ environment?: Record<string, string> | undefined;
2659
2658
  args?: string[] | undefined;
2660
2659
  cwd?: string | undefined;
2661
- environment?: Record<string, string> | undefined;
2662
2660
  timeoutSeconds?: number | undefined;
2663
2661
  } | undefined;
2664
2662
  verify?: {
2665
2663
  command: string;
2664
+ environment?: Record<string, string> | undefined;
2666
2665
  args?: string[] | undefined;
2667
2666
  cwd?: string | undefined;
2668
- environment?: Record<string, string> | undefined;
2669
2667
  timeoutSeconds?: number | undefined;
2670
2668
  } | undefined;
2671
2669
  cleanup?: {
2672
2670
  command: string;
2671
+ environment?: Record<string, string> | undefined;
2673
2672
  args?: string[] | undefined;
2674
2673
  cwd?: string | undefined;
2675
- environment?: Record<string, string> | undefined;
2676
2674
  timeoutSeconds?: number | undefined;
2677
2675
  } | undefined;
2678
2676
  };
2677
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2678
+ sourceRoots: string[];
2679
2679
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2680
2680
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2681
2681
  shutdown: {
2682
2682
  graceSeconds?: number | undefined;
2683
2683
  drainOperation?: {
2684
2684
  command: string;
2685
+ environment?: Record<string, string> | undefined;
2685
2686
  args?: string[] | undefined;
2686
2687
  cwd?: string | undefined;
2687
- environment?: Record<string, string> | undefined;
2688
2688
  timeoutSeconds?: number | undefined;
2689
2689
  } | undefined;
2690
2690
  activeWorkPolicy?: "block" | "drain" | "cancel-authorized" | undefined;
@@ -2693,20 +2693,27 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2693
2693
  liveAdmissible: false;
2694
2694
  candidateRequiresVerification: true;
2695
2695
  };
2696
+ outputs?: {
2697
+ path: string;
2698
+ mediaType: string;
2699
+ completionMarker?: string | undefined;
2700
+ digestAlgorithm?: "sha256" | undefined;
2701
+ }[] | undefined;
2696
2702
  resources?: {
2697
2703
  cpuCores?: number | undefined;
2698
2704
  memoryBytes?: number | undefined;
2699
2705
  diskBytes?: number | undefined;
2700
2706
  } | undefined;
2707
+ dependencies?: {
2708
+ id: string;
2709
+ target: string;
2710
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2711
+ capability?: string | undefined;
2712
+ locality?: "local" | "remote" | "either" | undefined;
2713
+ }[] | undefined;
2701
2714
  executionCustody?: "caller" | "manager" | undefined;
2702
2715
  runtimeRequirements?: string[] | undefined;
2703
2716
  ignoredPaths?: string[] | undefined;
2704
- outputs?: {
2705
- path: string;
2706
- mediaType: string;
2707
- completionMarker?: string | undefined;
2708
- digestAlgorithm?: "sha256" | undefined;
2709
- }[] | undefined;
2710
2717
  endpoints?: {
2711
2718
  id: string;
2712
2719
  visibility: "private" | "host" | "loopback";
@@ -2715,31 +2722,24 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2715
2722
  canonicalAlias?: string | undefined;
2716
2723
  authentication?: "none" | "application" | "mtls" | undefined;
2717
2724
  }[] | undefined;
2718
- dependencies?: {
2719
- id: string;
2720
- target: string;
2721
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2722
- capability?: string | undefined;
2723
- locality?: "remote" | "local" | "either" | undefined;
2724
- }[] | undefined;
2725
2725
  secretRefs?: Record<string, string> | undefined;
2726
2726
  logs?: string[] | undefined;
2727
2727
  forbiddenOperations?: string[] | undefined;
2728
2728
  freeze?: {
2729
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2729
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2730
2730
  operation: {
2731
2731
  command: string;
2732
+ environment?: Record<string, string> | undefined;
2732
2733
  args?: string[] | undefined;
2733
2734
  cwd?: string | undefined;
2734
- environment?: Record<string, string> | undefined;
2735
2735
  timeoutSeconds?: number | undefined;
2736
2736
  };
2737
2737
  artifacts: string[];
2738
2738
  contractOperations?: {
2739
2739
  command: string;
2740
+ environment?: Record<string, string> | undefined;
2740
2741
  args?: string[] | undefined;
2741
2742
  cwd?: string | undefined;
2742
- environment?: Record<string, string> | undefined;
2743
2743
  timeoutSeconds?: number | undefined;
2744
2744
  }[] | undefined;
2745
2745
  } | undefined;
@@ -2756,11 +2756,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2756
2756
  targets: {
2757
2757
  kind: "source-check" | "package-watch" | "live-web" | "live-api" | "rebuild-restart" | "local-companion";
2758
2758
  id: string;
2759
- resources: {
2760
- cpuCores?: number | undefined;
2761
- memoryBytes?: number | undefined;
2762
- diskBytes?: number | undefined;
2763
- };
2764
2759
  ready: {
2765
2760
  path: string;
2766
2761
  kind: "marker";
@@ -2777,68 +2772,80 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2777
2772
  kind: "process";
2778
2773
  graceSeconds: number;
2779
2774
  };
2780
- executionCustody: "caller" | "manager";
2781
- platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2782
- runtimeRequirements: string[];
2783
- sourceRoots: string[];
2784
- ignoredPaths: string[];
2775
+ outputs: {
2776
+ path: string;
2777
+ mediaType: string;
2778
+ digestAlgorithm: "sha256";
2779
+ completionMarker?: string | undefined;
2780
+ }[];
2785
2781
  operations: {
2786
- setup?: {
2782
+ build?: {
2783
+ environment: Record<string, string>;
2787
2784
  command: string;
2788
2785
  args: string[];
2789
- environment: Record<string, string>;
2790
2786
  timeoutSeconds: number;
2791
2787
  cwd?: string | undefined;
2792
2788
  } | undefined;
2793
- watch?: {
2789
+ setup?: {
2790
+ environment: Record<string, string>;
2794
2791
  command: string;
2795
2792
  args: string[];
2796
- environment: Record<string, string>;
2797
2793
  timeoutSeconds: number;
2798
2794
  cwd?: string | undefined;
2799
2795
  } | undefined;
2800
- build?: {
2796
+ watch?: {
2797
+ environment: Record<string, string>;
2801
2798
  command: string;
2802
2799
  args: string[];
2803
- environment: Record<string, string>;
2804
2800
  timeoutSeconds: number;
2805
2801
  cwd?: string | undefined;
2806
2802
  } | undefined;
2807
2803
  start?: {
2804
+ environment: Record<string, string>;
2808
2805
  command: string;
2809
2806
  args: string[];
2810
- environment: Record<string, string>;
2811
2807
  timeoutSeconds: number;
2812
2808
  cwd?: string | undefined;
2813
2809
  } | undefined;
2814
2810
  stop?: {
2811
+ environment: Record<string, string>;
2815
2812
  command: string;
2816
2813
  args: string[];
2817
- environment: Record<string, string>;
2818
2814
  timeoutSeconds: number;
2819
2815
  cwd?: string | undefined;
2820
2816
  } | undefined;
2821
2817
  verify?: {
2818
+ environment: Record<string, string>;
2822
2819
  command: string;
2823
2820
  args: string[];
2824
- environment: Record<string, string>;
2825
2821
  timeoutSeconds: number;
2826
2822
  cwd?: string | undefined;
2827
2823
  } | undefined;
2828
2824
  cleanup?: {
2825
+ environment: Record<string, string>;
2829
2826
  command: string;
2830
2827
  args: string[];
2831
- environment: Record<string, string>;
2832
2828
  timeoutSeconds: number;
2833
2829
  cwd?: string | undefined;
2834
2830
  } | undefined;
2835
2831
  };
2836
- outputs: {
2837
- path: string;
2838
- mediaType: string;
2839
- digestAlgorithm: "sha256";
2840
- completionMarker?: string | undefined;
2832
+ resources: {
2833
+ cpuCores?: number | undefined;
2834
+ memoryBytes?: number | undefined;
2835
+ diskBytes?: number | undefined;
2836
+ };
2837
+ dependencies: {
2838
+ id: string;
2839
+ target: string;
2840
+ locality: "local" | "remote" | "either";
2841
+ reaction: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild";
2842
+ capability?: string | undefined;
2841
2843
  }[];
2844
+ executionCustody: "caller" | "manager";
2845
+ platforms: ("linux-amd64" | "linux-arm64" | "darwin-arm64" | "darwin-amd64")[];
2846
+ runtimeRequirements: string[];
2847
+ sourceRoots: string[];
2848
+ ignoredPaths: string[];
2842
2849
  endpoints: {
2843
2850
  id: string;
2844
2851
  visibility: "private" | "host" | "loopback";
@@ -2847,13 +2854,6 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2847
2854
  authentication: "none" | "application" | "mtls";
2848
2855
  canonicalAlias?: string | undefined;
2849
2856
  }[];
2850
- dependencies: {
2851
- id: string;
2852
- target: string;
2853
- locality: "remote" | "local" | "either";
2854
- reaction: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none";
2855
- capability?: string | undefined;
2856
- }[];
2857
2857
  statePolicy: "clone" | "stateless" | "ephemeral" | "shared-compatible";
2858
2858
  migrationPolicy: "none" | "explicit-review" | "disposable-only";
2859
2859
  secretRefs: Record<string, string>;
@@ -2861,9 +2861,9 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2861
2861
  graceSeconds: number;
2862
2862
  activeWorkPolicy: "block" | "drain" | "cancel-authorized";
2863
2863
  drainOperation?: {
2864
+ environment: Record<string, string>;
2864
2865
  command: string;
2865
2866
  args: string[];
2866
- environment: Record<string, string>;
2867
2867
  timeoutSeconds: number;
2868
2868
  cwd?: string | undefined;
2869
2869
  } | undefined;
@@ -2875,19 +2875,19 @@ export declare const developmentRuntimeSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
2875
2875
  candidateRequiresVerification: true;
2876
2876
  };
2877
2877
  freeze?: {
2878
- kind: "npm-package" | "oci-image" | "archive" | "executable";
2878
+ kind: "executable" | "npm-package" | "oci-image" | "archive";
2879
2879
  operation: {
2880
+ environment: Record<string, string>;
2880
2881
  command: string;
2881
2882
  args: string[];
2882
- environment: Record<string, string>;
2883
2883
  timeoutSeconds: number;
2884
2884
  cwd?: string | undefined;
2885
2885
  };
2886
2886
  artifacts: string[];
2887
2887
  contractOperations: {
2888
+ environment: Record<string, string>;
2888
2889
  command: string;
2889
2890
  args: string[];
2890
- environment: Record<string, string>;
2891
2891
  timeoutSeconds: number;
2892
2892
  cwd?: string | undefined;
2893
2893
  }[];
@@ -2915,18 +2915,18 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2915
2915
  recipeDigest: z.ZodString;
2916
2916
  }, "strict", z.ZodTypeAny, {
2917
2917
  dirty: boolean;
2918
- repository: string;
2919
2918
  branch: string | null;
2920
2919
  commit: string;
2920
+ repository: string;
2921
2921
  projectId: string;
2922
2922
  worktree: string;
2923
2923
  dirtyDigest: string | null;
2924
2924
  recipeDigest: string;
2925
2925
  }, {
2926
2926
  dirty: boolean;
2927
- repository: string;
2928
2927
  branch: string | null;
2929
2928
  commit: string;
2929
+ repository: string;
2930
2930
  projectId: string;
2931
2931
  worktree: string;
2932
2932
  dirtyDigest: string | null;
@@ -2941,18 +2941,18 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2941
2941
  reaction: z.ZodOptional<z.ZodEnum<["reload", "restart", "rebuild", "stale", "manual", "none"]>>;
2942
2942
  }, "strict", z.ZodTypeAny, {
2943
2943
  projectId: string;
2944
- mode: "released" | "candidate" | "live";
2945
- targetId: string;
2946
2944
  generation: number;
2947
- health: "ready" | "stopped" | "degraded" | "pending";
2948
- reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
2945
+ mode: "released" | "live" | "candidate";
2946
+ targetId: string;
2947
+ health: "pending" | "degraded" | "ready" | "stopped";
2948
+ reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
2949
2949
  }, {
2950
2950
  projectId: string;
2951
- mode: "released" | "candidate" | "live";
2952
- targetId: string;
2953
2951
  generation: number;
2954
- health: "ready" | "stopped" | "degraded" | "pending";
2955
- reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
2952
+ mode: "released" | "live" | "candidate";
2953
+ targetId: string;
2954
+ health: "pending" | "degraded" | "ready" | "stopped";
2955
+ reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
2956
2956
  }>, "many">;
2957
2957
  leases: z.ZodArray<z.ZodObject<{
2958
2958
  kind: z.ZodEnum<["alias", "component", "state", "secret"]>;
@@ -2960,11 +2960,11 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2960
2960
  acquiredAt: z.ZodString;
2961
2961
  }, "strict", z.ZodTypeAny, {
2962
2962
  resource: string;
2963
- kind: "state" | "alias" | "component" | "secret";
2963
+ kind: "state" | "secret" | "alias" | "component";
2964
2964
  acquiredAt: string;
2965
2965
  }, {
2966
2966
  resource: string;
2967
- kind: "state" | "alias" | "component" | "secret";
2967
+ kind: "state" | "secret" | "alias" | "component";
2968
2968
  acquiredAt: string;
2969
2969
  }>, "many">;
2970
2970
  restoredReceiptId: z.ZodNullable<z.ZodString>;
@@ -2982,14 +2982,15 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2982
2982
  targetId?: string | undefined;
2983
2983
  }>, "many">;
2984
2984
  }, "strict", z.ZodTypeAny, {
2985
- status: "active" | "stopped" | "planning" | "degraded" | "restoring" | "suspended";
2985
+ status: "active" | "planning" | "degraded" | "suspended" | "stopped" | "restoring";
2986
2986
  actor: string;
2987
2987
  schemaVersion: "treeseed.development-session/v2";
2988
+ createdAt: string;
2988
2989
  repositories: {
2989
2990
  dirty: boolean;
2990
- repository: string;
2991
2991
  branch: string | null;
2992
2992
  commit: string;
2993
+ repository: string;
2993
2994
  projectId: string;
2994
2995
  worktree: string;
2995
2996
  dirtyDigest: string | null;
@@ -2997,35 +2998,35 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
2997
2998
  }[];
2998
2999
  targets: {
2999
3000
  projectId: string;
3000
- mode: "released" | "candidate" | "live";
3001
- targetId: string;
3002
3001
  generation: number;
3003
- health: "ready" | "stopped" | "degraded" | "pending";
3004
- reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
3002
+ mode: "released" | "live" | "candidate";
3003
+ targetId: string;
3004
+ health: "pending" | "degraded" | "ready" | "stopped";
3005
+ reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
3005
3006
  }[];
3006
3007
  blockers: {
3007
3008
  code: string;
3008
3009
  message: string;
3009
3010
  targetId?: string | undefined;
3010
3011
  }[];
3011
- createdAt: string;
3012
3012
  leases: {
3013
3013
  resource: string;
3014
- kind: "state" | "alias" | "component" | "secret";
3014
+ kind: "state" | "secret" | "alias" | "component";
3015
3015
  acquiredAt: string;
3016
3016
  }[];
3017
3017
  sessionId: string;
3018
3018
  hostId: string;
3019
3019
  restoredReceiptId: string | null;
3020
3020
  }, {
3021
- status: "active" | "stopped" | "planning" | "degraded" | "restoring" | "suspended";
3021
+ status: "active" | "planning" | "degraded" | "suspended" | "stopped" | "restoring";
3022
3022
  actor: string;
3023
3023
  schemaVersion: "treeseed.development-session/v2";
3024
+ createdAt: string;
3024
3025
  repositories: {
3025
3026
  dirty: boolean;
3026
- repository: string;
3027
3027
  branch: string | null;
3028
3028
  commit: string;
3029
+ repository: string;
3029
3030
  projectId: string;
3030
3031
  worktree: string;
3031
3032
  dirtyDigest: string | null;
@@ -3033,35 +3034,35 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3033
3034
  }[];
3034
3035
  targets: {
3035
3036
  projectId: string;
3036
- mode: "released" | "candidate" | "live";
3037
- targetId: string;
3038
3037
  generation: number;
3039
- health: "ready" | "stopped" | "degraded" | "pending";
3040
- reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
3038
+ mode: "released" | "live" | "candidate";
3039
+ targetId: string;
3040
+ health: "pending" | "degraded" | "ready" | "stopped";
3041
+ reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
3041
3042
  }[];
3042
3043
  blockers: {
3043
3044
  code: string;
3044
3045
  message: string;
3045
3046
  targetId?: string | undefined;
3046
3047
  }[];
3047
- createdAt: string;
3048
3048
  leases: {
3049
3049
  resource: string;
3050
- kind: "state" | "alias" | "component" | "secret";
3050
+ kind: "state" | "secret" | "alias" | "component";
3051
3051
  acquiredAt: string;
3052
3052
  }[];
3053
3053
  sessionId: string;
3054
3054
  hostId: string;
3055
3055
  restoredReceiptId: string | null;
3056
3056
  }>, {
3057
- status: "active" | "stopped" | "planning" | "degraded" | "restoring" | "suspended";
3057
+ status: "active" | "planning" | "degraded" | "suspended" | "stopped" | "restoring";
3058
3058
  actor: string;
3059
3059
  schemaVersion: "treeseed.development-session/v2";
3060
+ createdAt: string;
3060
3061
  repositories: {
3061
3062
  dirty: boolean;
3062
- repository: string;
3063
3063
  branch: string | null;
3064
3064
  commit: string;
3065
+ repository: string;
3065
3066
  projectId: string;
3066
3067
  worktree: string;
3067
3068
  dirtyDigest: string | null;
@@ -3069,21 +3070,20 @@ export declare const developmentSessionSchema: z.ZodEffects<z.ZodObject<{
3069
3070
  }[];
3070
3071
  targets: {
3071
3072
  projectId: string;
3072
- mode: "released" | "candidate" | "live";
3073
- targetId: string;
3074
3073
  generation: number;
3075
- health: "ready" | "stopped" | "degraded" | "pending";
3076
- reaction?: "reload" | "restart" | "rebuild" | "stale" | "manual" | "none" | undefined;
3074
+ mode: "released" | "live" | "candidate";
3075
+ targetId: string;
3076
+ health: "pending" | "degraded" | "ready" | "stopped";
3077
+ reaction?: "none" | "stale" | "manual" | "reload" | "restart" | "rebuild" | undefined;
3077
3078
  }[];
3078
3079
  blockers: {
3079
3080
  code: string;
3080
3081
  message: string;
3081
3082
  targetId?: string | undefined;
3082
3083
  }[];
3083
- createdAt: string;
3084
3084
  leases: {
3085
3085
  resource: string;
3086
- kind: "state" | "alias" | "component" | "secret";
3086
+ kind: "state" | "secret" | "alias" | "component";
3087
3087
  acquiredAt: string;
3088
3088
  }[];
3089
3089
  sessionId: string;
@@ -3106,18 +3106,18 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3106
3106
  recipeDigest: z.ZodString;
3107
3107
  }, "strict", z.ZodTypeAny, {
3108
3108
  dirty: boolean;
3109
- repository: string;
3110
3109
  branch: string | null;
3111
3110
  commit: string;
3111
+ repository: string;
3112
3112
  projectId: string;
3113
3113
  worktree: string;
3114
3114
  dirtyDigest: string | null;
3115
3115
  recipeDigest: string;
3116
3116
  }, {
3117
3117
  dirty: boolean;
3118
- repository: string;
3119
3118
  branch: string | null;
3120
3119
  commit: string;
3120
+ repository: string;
3121
3121
  projectId: string;
3122
3122
  worktree: string;
3123
3123
  dirtyDigest: string | null;
@@ -3132,16 +3132,16 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3132
3132
  integrity: z.ZodOptional<z.ZodString>;
3133
3133
  }, "strict", z.ZodTypeAny, {
3134
3134
  identity: string;
3135
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3136
- digest: string;
3135
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3137
3136
  projectId: string;
3137
+ digest: string;
3138
3138
  targetId: string;
3139
3139
  integrity?: string | undefined;
3140
3140
  }, {
3141
3141
  identity: string;
3142
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3143
- digest: string;
3142
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3144
3143
  projectId: string;
3144
+ digest: string;
3145
3145
  targetId: string;
3146
3146
  integrity?: string | undefined;
3147
3147
  }>, "many">;
@@ -3168,23 +3168,28 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3168
3168
  operations: z.ZodArray<z.ZodString, "many">;
3169
3169
  completedAt: z.ZodNullable<z.ZodString>;
3170
3170
  }, "strict", z.ZodTypeAny, {
3171
- status: "pending" | "passed" | "failed";
3171
+ status: "pending" | "failed" | "passed";
3172
3172
  operations: string[];
3173
3173
  completedAt: string | null;
3174
3174
  }, {
3175
- status: "pending" | "passed" | "failed";
3175
+ status: "pending" | "failed" | "passed";
3176
3176
  operations: string[];
3177
3177
  completedAt: string | null;
3178
3178
  }>;
3179
3179
  promotable: z.ZodBoolean;
3180
3180
  }, "strict", z.ZodTypeAny, {
3181
3181
  schemaVersion: "treeseed.development-candidate/v1";
3182
+ verification: {
3183
+ status: "pending" | "failed" | "passed";
3184
+ operations: string[];
3185
+ completedAt: string | null;
3186
+ };
3182
3187
  createdAt: string;
3183
3188
  source: {
3184
3189
  dirty: boolean;
3185
- repository: string;
3186
3190
  branch: string | null;
3187
3191
  commit: string;
3192
+ repository: string;
3188
3193
  projectId: string;
3189
3194
  worktree: string;
3190
3195
  dirtyDigest: string | null;
@@ -3192,9 +3197,9 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3192
3197
  }[];
3193
3198
  artifacts: {
3194
3199
  identity: string;
3195
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3196
- digest: string;
3200
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3197
3201
  projectId: string;
3202
+ digest: string;
3198
3203
  targetId: string;
3199
3204
  integrity?: string | undefined;
3200
3205
  }[];
@@ -3208,20 +3213,20 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3208
3213
  compatible: boolean;
3209
3214
  minimumBump: "none" | "patch" | "minor" | "major";
3210
3215
  }[];
3216
+ promotable: boolean;
3217
+ }, {
3218
+ schemaVersion: "treeseed.development-candidate/v1";
3211
3219
  verification: {
3212
- status: "pending" | "passed" | "failed";
3220
+ status: "pending" | "failed" | "passed";
3213
3221
  operations: string[];
3214
3222
  completedAt: string | null;
3215
3223
  };
3216
- promotable: boolean;
3217
- }, {
3218
- schemaVersion: "treeseed.development-candidate/v1";
3219
3224
  createdAt: string;
3220
3225
  source: {
3221
3226
  dirty: boolean;
3222
- repository: string;
3223
3227
  branch: string | null;
3224
3228
  commit: string;
3229
+ repository: string;
3225
3230
  projectId: string;
3226
3231
  worktree: string;
3227
3232
  dirtyDigest: string | null;
@@ -3229,9 +3234,9 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3229
3234
  }[];
3230
3235
  artifacts: {
3231
3236
  identity: string;
3232
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3233
- digest: string;
3237
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3234
3238
  projectId: string;
3239
+ digest: string;
3235
3240
  targetId: string;
3236
3241
  integrity?: string | undefined;
3237
3242
  }[];
@@ -3245,20 +3250,20 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3245
3250
  compatible: boolean;
3246
3251
  minimumBump: "none" | "patch" | "minor" | "major";
3247
3252
  }[];
3253
+ promotable: boolean;
3254
+ }>, {
3255
+ schemaVersion: "treeseed.development-candidate/v1";
3248
3256
  verification: {
3249
- status: "pending" | "passed" | "failed";
3257
+ status: "pending" | "failed" | "passed";
3250
3258
  operations: string[];
3251
3259
  completedAt: string | null;
3252
3260
  };
3253
- promotable: boolean;
3254
- }>, {
3255
- schemaVersion: "treeseed.development-candidate/v1";
3256
3261
  createdAt: string;
3257
3262
  source: {
3258
3263
  dirty: boolean;
3259
- repository: string;
3260
3264
  branch: string | null;
3261
3265
  commit: string;
3266
+ repository: string;
3262
3267
  projectId: string;
3263
3268
  worktree: string;
3264
3269
  dirtyDigest: string | null;
@@ -3266,9 +3271,9 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3266
3271
  }[];
3267
3272
  artifacts: {
3268
3273
  identity: string;
3269
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3270
- digest: string;
3274
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3271
3275
  projectId: string;
3276
+ digest: string;
3272
3277
  targetId: string;
3273
3278
  integrity?: string | undefined;
3274
3279
  }[];
@@ -3282,20 +3287,20 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3282
3287
  compatible: boolean;
3283
3288
  minimumBump: "none" | "patch" | "minor" | "major";
3284
3289
  }[];
3290
+ promotable: boolean;
3291
+ }, {
3292
+ schemaVersion: "treeseed.development-candidate/v1";
3285
3293
  verification: {
3286
- status: "pending" | "passed" | "failed";
3294
+ status: "pending" | "failed" | "passed";
3287
3295
  operations: string[];
3288
3296
  completedAt: string | null;
3289
3297
  };
3290
- promotable: boolean;
3291
- }, {
3292
- schemaVersion: "treeseed.development-candidate/v1";
3293
3298
  createdAt: string;
3294
3299
  source: {
3295
3300
  dirty: boolean;
3296
- repository: string;
3297
3301
  branch: string | null;
3298
3302
  commit: string;
3303
+ repository: string;
3299
3304
  projectId: string;
3300
3305
  worktree: string;
3301
3306
  dirtyDigest: string | null;
@@ -3303,9 +3308,9 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3303
3308
  }[];
3304
3309
  artifacts: {
3305
3310
  identity: string;
3306
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle";
3307
- digest: string;
3311
+ kind: "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle";
3308
3312
  projectId: string;
3313
+ digest: string;
3309
3314
  targetId: string;
3310
3315
  integrity?: string | undefined;
3311
3316
  }[];
@@ -3319,11 +3324,6 @@ export declare const developmentCandidateSchema: z.ZodEffects<z.ZodObject<{
3319
3324
  compatible: boolean;
3320
3325
  minimumBump: "none" | "patch" | "minor" | "major";
3321
3326
  }[];
3322
- verification: {
3323
- status: "pending" | "passed" | "failed";
3324
- operations: string[];
3325
- completedAt: string | null;
3326
- };
3327
3327
  promotable: boolean;
3328
3328
  }>;
3329
3329
  /** Exact, immutable custody record used to promote an already-built candidate. */
@@ -3376,14 +3376,14 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3376
3376
  size: z.ZodOptional<z.ZodNumber>;
3377
3377
  }, "strict", z.ZodTypeAny, {
3378
3378
  identity: string;
3379
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3379
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3380
3380
  id: string;
3381
3381
  digest: string;
3382
3382
  mediaType: string;
3383
3383
  size?: number | undefined;
3384
3384
  }, {
3385
3385
  identity: string;
3386
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3386
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3387
3387
  id: string;
3388
3388
  digest: string;
3389
3389
  mediaType: string;
@@ -3430,6 +3430,11 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3430
3430
  }>;
3431
3431
  }, "strict", z.ZodTypeAny, {
3432
3432
  schemaVersion: "treeseed.release-evidence/v1";
3433
+ verification: {
3434
+ status: "passed";
3435
+ operations: string[];
3436
+ completedAt: string;
3437
+ };
3433
3438
  packages: {
3434
3439
  version: string;
3435
3440
  name: string;
@@ -3446,7 +3451,7 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3446
3451
  };
3447
3452
  artifacts: {
3448
3453
  identity: string;
3449
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3454
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3450
3455
  id: string;
3451
3456
  digest: string;
3452
3457
  mediaType: string;
@@ -3458,17 +3463,17 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3458
3463
  compatible: true;
3459
3464
  minimumBump: "none" | "patch" | "minor" | "major";
3460
3465
  }[];
3461
- verification: {
3462
- status: "passed";
3463
- operations: string[];
3464
- completedAt: string;
3465
- };
3466
3466
  contractBundles: {
3467
3467
  id: string;
3468
3468
  digest: string;
3469
3469
  }[];
3470
3470
  }, {
3471
3471
  schemaVersion: "treeseed.release-evidence/v1";
3472
+ verification: {
3473
+ status: "passed";
3474
+ operations: string[];
3475
+ completedAt: string;
3476
+ };
3472
3477
  packages: {
3473
3478
  version: string;
3474
3479
  name: string;
@@ -3485,17 +3490,12 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3485
3490
  };
3486
3491
  artifacts: {
3487
3492
  identity: string;
3488
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3493
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3489
3494
  id: string;
3490
3495
  digest: string;
3491
3496
  mediaType: string;
3492
3497
  size?: number | undefined;
3493
3498
  }[];
3494
- verification: {
3495
- status: "passed";
3496
- operations: string[];
3497
- completedAt: string;
3498
- };
3499
3499
  compatibilityAttestations?: {
3500
3500
  digest: string;
3501
3501
  contractId: string;
@@ -3508,6 +3508,11 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3508
3508
  }[] | undefined;
3509
3509
  }>, {
3510
3510
  schemaVersion: "treeseed.release-evidence/v1";
3511
+ verification: {
3512
+ status: "passed";
3513
+ operations: string[];
3514
+ completedAt: string;
3515
+ };
3511
3516
  packages: {
3512
3517
  version: string;
3513
3518
  name: string;
@@ -3524,7 +3529,7 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3524
3529
  };
3525
3530
  artifacts: {
3526
3531
  identity: string;
3527
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3532
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3528
3533
  id: string;
3529
3534
  digest: string;
3530
3535
  mediaType: string;
@@ -3536,17 +3541,17 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3536
3541
  compatible: true;
3537
3542
  minimumBump: "none" | "patch" | "minor" | "major";
3538
3543
  }[];
3539
- verification: {
3540
- status: "passed";
3541
- operations: string[];
3542
- completedAt: string;
3543
- };
3544
3544
  contractBundles: {
3545
3545
  id: string;
3546
3546
  digest: string;
3547
3547
  }[];
3548
3548
  }, {
3549
3549
  schemaVersion: "treeseed.release-evidence/v1";
3550
+ verification: {
3551
+ status: "passed";
3552
+ operations: string[];
3553
+ completedAt: string;
3554
+ };
3550
3555
  packages: {
3551
3556
  version: string;
3552
3557
  name: string;
@@ -3563,17 +3568,12 @@ export declare const releaseEvidenceSchema: z.ZodEffects<z.ZodObject<{
3563
3568
  };
3564
3569
  artifacts: {
3565
3570
  identity: string;
3566
- kind: "npm-package" | "oci-image" | "archive" | "executable" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose" | "provenance";
3571
+ kind: "provenance" | "executable" | "npm-package" | "oci-image" | "archive" | "contract-bundle" | "sbom" | "compatibility-attestation" | "component-manifest" | "compose";
3567
3572
  id: string;
3568
3573
  digest: string;
3569
3574
  mediaType: string;
3570
3575
  size?: number | undefined;
3571
3576
  }[];
3572
- verification: {
3573
- status: "passed";
3574
- operations: string[];
3575
- completedAt: string;
3576
- };
3577
3577
  compatibilityAttestations?: {
3578
3578
  digest: string;
3579
3579
  contractId: string;