@interf/compiler 0.9.4 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/README.md +96 -91
  2. package/TRADEMARKS.md +2 -13
  3. package/agent-skills/interf-actions/SKILL.md +97 -32
  4. package/agent-skills/interf-actions/references/cli.md +124 -71
  5. package/builtin-methods/interf-default/README.md +3 -4
  6. package/builtin-methods/interf-default/compile/stages/shape/SKILL.md +2 -2
  7. package/builtin-methods/interf-default/compile/stages/summarize/SKILL.md +2 -1
  8. package/builtin-methods/interf-default/improve/SKILL.md +1 -1
  9. package/builtin-methods/interf-default/method.json +10 -4
  10. package/builtin-methods/interf-default/method.schema.json +0 -9
  11. package/builtin-methods/interf-default/use/query/SKILL.md +5 -5
  12. package/dist/cli/commands/compile.d.ts +9 -31
  13. package/dist/cli/commands/compile.js +75 -388
  14. package/dist/cli/commands/doctor.js +1 -1
  15. package/dist/cli/commands/login.d.ts +7 -0
  16. package/dist/cli/commands/login.js +39 -0
  17. package/dist/cli/commands/logout.d.ts +2 -0
  18. package/dist/cli/commands/logout.js +16 -0
  19. package/dist/cli/commands/method.d.ts +2 -0
  20. package/dist/cli/commands/method.js +113 -0
  21. package/dist/cli/commands/prep.d.ts +2 -0
  22. package/dist/cli/commands/prep.js +134 -0
  23. package/dist/cli/commands/reset.d.ts +8 -1
  24. package/dist/cli/commands/reset.js +47 -15
  25. package/dist/cli/commands/runs.d.ts +2 -0
  26. package/dist/cli/commands/runs.js +120 -0
  27. package/dist/cli/commands/status.d.ts +6 -1
  28. package/dist/cli/commands/status.js +61 -220
  29. package/dist/cli/commands/test.d.ts +6 -15
  30. package/dist/cli/commands/test.js +63 -342
  31. package/dist/cli/commands/web.d.ts +0 -9
  32. package/dist/cli/commands/web.js +140 -367
  33. package/dist/cli/commands/wizard.d.ts +9 -0
  34. package/dist/cli/commands/wizard.js +442 -0
  35. package/dist/cli/index.d.ts +7 -6
  36. package/dist/cli/index.js +13 -10
  37. package/dist/compiler-ui/404.html +1 -1
  38. package/dist/compiler-ui/__next.__PAGE__.txt +2 -2
  39. package/dist/compiler-ui/__next._full.txt +3 -3
  40. package/dist/compiler-ui/__next._head.txt +1 -1
  41. package/dist/compiler-ui/__next._index.txt +2 -2
  42. package/dist/compiler-ui/__next._tree.txt +2 -2
  43. package/dist/compiler-ui/_next/static/chunks/045gole2ojo3g.css +3 -0
  44. package/dist/compiler-ui/_next/static/chunks/17t-lulmyawg5.js +89 -0
  45. package/dist/compiler-ui/_not-found/__next._full.txt +2 -2
  46. package/dist/compiler-ui/_not-found/__next._head.txt +1 -1
  47. package/dist/compiler-ui/_not-found/__next._index.txt +2 -2
  48. package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
  49. package/dist/compiler-ui/_not-found/__next._not-found.txt +1 -1
  50. package/dist/compiler-ui/_not-found/__next._tree.txt +2 -2
  51. package/dist/compiler-ui/_not-found.html +1 -1
  52. package/dist/compiler-ui/_not-found.txt +2 -2
  53. package/dist/compiler-ui/index.html +1 -1
  54. package/dist/compiler-ui/index.txt +3 -3
  55. package/dist/index.d.ts +0 -23
  56. package/dist/index.js +0 -16
  57. package/dist/packages/agents/lib/shells.d.ts +1 -1
  58. package/dist/packages/agents/lib/shells.js +113 -54
  59. package/dist/packages/agents/lib/user-config.d.ts +4 -2
  60. package/dist/packages/agents/lib/user-config.js +15 -7
  61. package/dist/packages/compiler/compiled-paths.d.ts +9 -2
  62. package/dist/packages/compiler/compiled-paths.js +30 -15
  63. package/dist/packages/compiler/compiled-pipeline.js +23 -3
  64. package/dist/packages/compiler/compiled-stage-plan.js +4 -0
  65. package/dist/packages/compiler/compiled-target.d.ts +1 -1
  66. package/dist/packages/compiler/compiled-target.js +1 -1
  67. package/dist/packages/compiler/index.d.ts +1 -0
  68. package/dist/packages/compiler/index.js +1 -0
  69. package/dist/packages/compiler/lib/schema.d.ts +27 -32
  70. package/dist/packages/compiler/lib/schema.js +2 -13
  71. package/dist/packages/compiler/method-runs.d.ts +2 -3
  72. package/dist/packages/compiler/method-runs.js +2 -3
  73. package/dist/packages/compiler/reset.js +3 -1
  74. package/dist/packages/compiler/runtime-contracts.js +0 -3
  75. package/dist/packages/compiler/runtime-prompt.js +1 -1
  76. package/dist/packages/compiler/source-files.d.ts +46 -0
  77. package/dist/packages/compiler/source-files.js +149 -0
  78. package/dist/packages/compiler/state-artifacts.d.ts +3 -2
  79. package/dist/packages/compiler/state-artifacts.js +4 -3
  80. package/dist/packages/compiler/state-io.d.ts +3 -2
  81. package/dist/packages/compiler/state-io.js +11 -5
  82. package/dist/packages/compiler/state-paths.d.ts +2 -1
  83. package/dist/packages/compiler/state-paths.js +6 -3
  84. package/dist/packages/compiler/state-view.d.ts +3 -2
  85. package/dist/packages/compiler/state-view.js +18 -28
  86. package/dist/packages/compiler/state.d.ts +4 -4
  87. package/dist/packages/compiler/state.js +3 -3
  88. package/dist/packages/contracts/index.d.ts +1 -1
  89. package/dist/packages/contracts/lib/preparation-paths.d.ts +117 -0
  90. package/dist/packages/contracts/lib/preparation-paths.js +177 -0
  91. package/dist/packages/contracts/lib/schema.d.ts +85 -6
  92. package/dist/packages/contracts/lib/schema.js +46 -2
  93. package/dist/packages/execution/lib/schema.d.ts +50 -57
  94. package/dist/packages/execution/lib/schema.js +1 -2
  95. package/dist/packages/local-service/action-definitions.d.ts +246 -0
  96. package/dist/packages/local-service/action-definitions.js +1147 -0
  97. package/dist/packages/local-service/action-planner.d.ts +9 -0
  98. package/dist/packages/local-service/action-planner.js +135 -0
  99. package/dist/packages/local-service/action-values.d.ts +1 -23
  100. package/dist/packages/local-service/action-values.js +1 -31
  101. package/dist/packages/local-service/client.d.ts +76 -46
  102. package/dist/packages/local-service/client.js +184 -149
  103. package/dist/packages/local-service/connection-config.d.ts +38 -0
  104. package/dist/packages/local-service/connection-config.js +75 -0
  105. package/dist/packages/local-service/index.d.ts +14 -7
  106. package/dist/packages/local-service/index.js +8 -4
  107. package/dist/packages/local-service/instance-paths.d.ts +100 -0
  108. package/dist/packages/local-service/instance-paths.js +165 -0
  109. package/dist/packages/local-service/lib/schema.d.ts +689 -2575
  110. package/dist/packages/local-service/lib/schema.js +260 -101
  111. package/dist/packages/local-service/native-run-handlers.d.ts +23 -0
  112. package/dist/{cli/commands/compile-controller.js → packages/local-service/native-run-handlers.js} +204 -20
  113. package/dist/packages/local-service/preparation-store.d.ts +92 -0
  114. package/dist/packages/local-service/preparation-store.js +171 -0
  115. package/dist/{cli/commands/check-draft.d.ts → packages/local-service/readiness-check-draft.d.ts} +2 -2
  116. package/dist/packages/local-service/routes.d.ts +33 -11
  117. package/dist/packages/local-service/routes.js +44 -15
  118. package/dist/packages/local-service/run-observability.js +25 -27
  119. package/dist/packages/local-service/runtime-caches.d.ts +76 -0
  120. package/dist/packages/local-service/runtime-caches.js +191 -0
  121. package/dist/packages/local-service/runtime-event-applier.d.ts +12 -0
  122. package/dist/packages/local-service/runtime-event-applier.js +177 -0
  123. package/dist/packages/local-service/runtime-persistence.d.ts +47 -0
  124. package/dist/packages/local-service/runtime-persistence.js +137 -0
  125. package/dist/packages/local-service/runtime-proposal-helpers.d.ts +35 -0
  126. package/dist/packages/local-service/runtime-proposal-helpers.js +251 -0
  127. package/dist/packages/local-service/runtime-resource-builders.d.ts +52 -0
  128. package/dist/packages/local-service/runtime-resource-builders.js +149 -0
  129. package/dist/packages/local-service/runtime.d.ts +201 -44
  130. package/dist/packages/local-service/runtime.js +1062 -1106
  131. package/dist/packages/local-service/server.d.ts +15 -0
  132. package/dist/packages/local-service/server.js +651 -233
  133. package/dist/packages/local-service/service-registry.d.ts +47 -0
  134. package/dist/packages/local-service/service-registry.js +137 -0
  135. package/dist/packages/method-authoring/method-authoring.d.ts +1 -1
  136. package/dist/packages/method-authoring/method-authoring.js +2 -2
  137. package/dist/packages/method-authoring/method-improvement.js +1 -1
  138. package/dist/packages/method-package/builtin-compiled-method.d.ts +4 -5
  139. package/dist/packages/method-package/builtin-compiled-method.js +8 -14
  140. package/dist/packages/method-package/context-interface.d.ts +4 -40
  141. package/dist/packages/method-package/context-interface.js +1 -23
  142. package/dist/packages/method-package/interf-method-package.d.ts +4 -4
  143. package/dist/packages/method-package/interf-method-package.js +21 -33
  144. package/dist/packages/method-package/local-methods.d.ts +10 -6
  145. package/dist/packages/method-package/local-methods.js +57 -39
  146. package/dist/packages/method-package/method-definitions.d.ts +8 -34
  147. package/dist/packages/method-package/method-definitions.js +49 -37
  148. package/dist/packages/method-package/method-helpers.d.ts +1 -13
  149. package/dist/packages/method-package/method-helpers.js +8 -42
  150. package/dist/packages/method-package/method-review-paths.d.ts +1 -1
  151. package/dist/packages/method-package/method-review-paths.js +5 -5
  152. package/dist/packages/method-package/method-stage-runner.js +2 -2
  153. package/dist/packages/method-package/user-methods.d.ts +17 -0
  154. package/dist/packages/method-package/user-methods.js +77 -0
  155. package/dist/packages/project-model/index.d.ts +1 -1
  156. package/dist/packages/project-model/index.js +1 -1
  157. package/dist/packages/project-model/interf-detect.d.ts +8 -3
  158. package/dist/packages/project-model/interf-detect.js +34 -34
  159. package/dist/packages/project-model/interf-scaffold.d.ts +3 -3
  160. package/dist/packages/project-model/interf-scaffold.js +23 -32
  161. package/dist/packages/project-model/lib/schema.js +38 -1
  162. package/dist/packages/project-model/preparation-entries.d.ts +11 -0
  163. package/dist/packages/project-model/preparation-entries.js +49 -0
  164. package/dist/packages/project-model/source-config.d.ts +11 -10
  165. package/dist/packages/project-model/source-config.js +83 -44
  166. package/dist/packages/project-model/source-folders.d.ts +5 -5
  167. package/dist/packages/project-model/source-folders.js +14 -14
  168. package/dist/packages/shared/filesystem.d.ts +7 -0
  169. package/dist/packages/shared/filesystem.js +97 -10
  170. package/dist/packages/testing/lib/schema.d.ts +12 -13
  171. package/dist/packages/testing/lib/schema.js +4 -5
  172. package/dist/packages/testing/readiness-check-run.d.ts +7 -7
  173. package/dist/packages/testing/readiness-check-run.js +46 -51
  174. package/dist/packages/testing/test-execution.js +6 -6
  175. package/dist/packages/testing/test-paths.js +4 -3
  176. package/dist/packages/testing/test-sandbox.d.ts +0 -1
  177. package/dist/packages/testing/test-sandbox.js +14 -30
  178. package/dist/packages/testing/test-targets.d.ts +1 -1
  179. package/dist/packages/testing/test-targets.js +6 -6
  180. package/dist/packages/testing/test.d.ts +1 -1
  181. package/dist/packages/testing/test.js +1 -1
  182. package/package.json +6 -26
  183. package/LICENSE +0 -183
  184. package/dist/cli/commands/compile-controller.d.ts +0 -17
  185. package/dist/cli/commands/compiled-flow.d.ts +0 -25
  186. package/dist/cli/commands/compiled-flow.js +0 -112
  187. package/dist/cli/commands/control-path.d.ts +0 -11
  188. package/dist/cli/commands/control-path.js +0 -72
  189. package/dist/cli/commands/create-method-wizard.d.ts +0 -76
  190. package/dist/cli/commands/create-method-wizard.js +0 -465
  191. package/dist/cli/commands/create.d.ts +0 -8
  192. package/dist/cli/commands/create.js +0 -189
  193. package/dist/cli/commands/default.d.ts +0 -2
  194. package/dist/cli/commands/default.js +0 -39
  195. package/dist/cli/commands/executor-flow.d.ts +0 -29
  196. package/dist/cli/commands/executor-flow.js +0 -163
  197. package/dist/cli/commands/init.d.ts +0 -11
  198. package/dist/cli/commands/init.js +0 -784
  199. package/dist/cli/commands/list.d.ts +0 -2
  200. package/dist/cli/commands/list.js +0 -30
  201. package/dist/cli/commands/preparation-selection.d.ts +0 -6
  202. package/dist/cli/commands/preparation-selection.js +0 -11
  203. package/dist/cli/commands/source-config-wizard.d.ts +0 -52
  204. package/dist/cli/commands/source-config-wizard.js +0 -680
  205. package/dist/cli/commands/test-flow.d.ts +0 -58
  206. package/dist/cli/commands/test-flow.js +0 -231
  207. package/dist/cli/commands/verify.d.ts +0 -2
  208. package/dist/cli/commands/verify.js +0 -94
  209. package/dist/compiler-ui/_next/static/chunks/0d~8t0zm6545p.js +0 -118
  210. package/dist/compiler-ui/_next/static/chunks/0xnel.ax9a.2c.css +0 -3
  211. package/dist/packages/compiler/raw-snapshot.d.ts +0 -49
  212. package/dist/packages/compiler/raw-snapshot.js +0 -101
  213. package/dist/packages/method-package/index.d.ts +0 -11
  214. package/dist/packages/method-package/index.js +0 -11
  215. package/dist/packages/method-package/method-stage-policy.d.ts +0 -5
  216. package/dist/packages/method-package/method-stage-policy.js +0 -31
  217. package/dist/packages/project-model/project-paths.d.ts +0 -12
  218. package/dist/packages/project-model/project-paths.js +0 -33
  219. /package/dist/compiler-ui/_next/static/{j7pdoqWrl4YJrJUVnksbl → C6vVfy3aeYuIO3d2AoNvC}/_buildManifest.js +0 -0
  220. /package/dist/compiler-ui/_next/static/{j7pdoqWrl4YJrJUVnksbl → C6vVfy3aeYuIO3d2AoNvC}/_clientMiddlewareManifest.js +0 -0
  221. /package/dist/compiler-ui/_next/static/{j7pdoqWrl4YJrJUVnksbl → C6vVfy3aeYuIO3d2AoNvC}/_ssgManifest.js +0 -0
  222. /package/dist/{cli/commands/check-draft.js → packages/local-service/readiness-check-draft.js} +0 -0
@@ -155,15 +155,14 @@ export declare const ObservableRunTypeSchema: z.ZodEnum<{
155
155
  compile: "compile";
156
156
  "method-authoring": "method-authoring";
157
157
  "method-improvement": "method-improvement";
158
- "preparation-setup": "preparation-setup";
159
158
  test: "test";
160
159
  "readiness-check-draft": "readiness-check-draft";
161
160
  job: "job";
162
161
  }>;
163
162
  export declare const ObservableRunStatusSchema: z.ZodEnum<{
163
+ succeeded: "succeeded";
164
164
  failed: "failed";
165
165
  running: "running";
166
- succeeded: "succeeded";
167
166
  cancelled: "cancelled";
168
167
  queued: "queued";
169
168
  }>;
@@ -177,33 +176,33 @@ export declare const ExecutionBackendKindSchema: z.ZodEnum<{
177
176
  "workflow-sdk": "workflow-sdk";
178
177
  }>;
179
178
  export declare const CompileRunStatusSchema: z.ZodEnum<{
179
+ succeeded: "succeeded";
180
180
  failed: "failed";
181
181
  running: "running";
182
- succeeded: "succeeded";
183
182
  cancelled: "cancelled";
184
183
  queued: "queued";
185
184
  }>;
186
185
  export declare const StageRunStatusSchema: z.ZodEnum<{
186
+ succeeded: "succeeded";
187
187
  failed: "failed";
188
188
  running: "running";
189
- succeeded: "succeeded";
190
189
  queued: "queued";
191
190
  }>;
192
191
  export declare const ArtifactRoleSchema: z.ZodEnum<{
193
- output: "output";
194
192
  runtime: "runtime";
193
+ output: "output";
195
194
  source: "source";
196
- test: "test";
197
195
  proof: "proof";
196
+ test: "test";
198
197
  }>;
199
198
  export declare const ArtifactRefSchema: z.ZodObject<{
200
199
  path: z.ZodString;
201
200
  role: z.ZodEnum<{
202
- output: "output";
203
201
  runtime: "runtime";
202
+ output: "output";
204
203
  source: "source";
205
- test: "test";
206
204
  proof: "proof";
205
+ test: "test";
207
206
  }>;
208
207
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
208
  label: z.ZodOptional<z.ZodString>;
@@ -223,16 +222,15 @@ export declare const RunObservabilitySchema: z.ZodObject<{
223
222
  compile: "compile";
224
223
  "method-authoring": "method-authoring";
225
224
  "method-improvement": "method-improvement";
226
- "preparation-setup": "preparation-setup";
227
225
  test: "test";
228
226
  "readiness-check-draft": "readiness-check-draft";
229
227
  job: "job";
230
228
  }>;
231
229
  title: z.ZodString;
232
230
  status: z.ZodEnum<{
231
+ succeeded: "succeeded";
233
232
  failed: "failed";
234
233
  running: "running";
235
- succeeded: "succeeded";
236
234
  cancelled: "cancelled";
237
235
  queued: "queued";
238
236
  }>;
@@ -266,11 +264,11 @@ export declare const RunObservabilitySchema: z.ZodObject<{
266
264
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
267
265
  path: z.ZodString;
268
266
  role: z.ZodEnum<{
269
- output: "output";
270
267
  runtime: "runtime";
268
+ output: "output";
271
269
  source: "source";
272
- test: "test";
273
270
  proof: "proof";
271
+ test: "test";
274
272
  }>;
275
273
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
274
  label: z.ZodOptional<z.ZodString>;
@@ -305,8 +303,8 @@ export declare const RunObservabilitySchema: z.ZodObject<{
305
303
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
306
304
  compile: z.ZodNullable<z.ZodObject<{
307
305
  gate: z.ZodEnum<{
308
- "preparation-config": "preparation-config";
309
306
  "portable-context": "portable-context";
307
+ "preparation-config": "preparation-config";
310
308
  "compile-run": "compile-run";
311
309
  "readiness-checks": "readiness-checks";
312
310
  "source-baseline": "source-baseline";
@@ -351,12 +349,11 @@ export declare const RunObservabilitySchema: z.ZodObject<{
351
349
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
352
350
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
353
351
  }, z.core.$strict>>;
354
- delta: z.ZodNullable<z.ZodNumber>;
355
352
  }, z.core.$strict>;
356
353
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
357
354
  gate: z.ZodEnum<{
358
- "preparation-config": "preparation-config";
359
355
  "portable-context": "portable-context";
356
+ "preparation-config": "preparation-config";
360
357
  "compile-run": "compile-run";
361
358
  "readiness-checks": "readiness-checks";
362
359
  "source-baseline": "source-baseline";
@@ -454,11 +451,11 @@ export declare const ProofRecordSchema: z.ZodObject<{
454
451
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
455
452
  path: z.ZodString;
456
453
  role: z.ZodEnum<{
457
- output: "output";
458
454
  runtime: "runtime";
455
+ output: "output";
459
456
  source: "source";
460
- test: "test";
461
457
  proof: "proof";
458
+ test: "test";
462
459
  }>;
463
460
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
464
461
  label: z.ZodOptional<z.ZodString>;
@@ -524,11 +521,11 @@ export declare const ArtifactWrittenEventSchema: z.ZodObject<{
524
521
  artifact: z.ZodObject<{
525
522
  path: z.ZodString;
526
523
  role: z.ZodEnum<{
527
- output: "output";
528
524
  runtime: "runtime";
525
+ output: "output";
529
526
  source: "source";
530
- test: "test";
531
527
  proof: "proof";
528
+ test: "test";
532
529
  }>;
533
530
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
534
531
  label: z.ZodOptional<z.ZodString>;
@@ -551,11 +548,11 @@ export declare const ProofUpdatedEventSchema: z.ZodObject<{
551
548
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
552
549
  path: z.ZodString;
553
550
  role: z.ZodEnum<{
554
- output: "output";
555
551
  runtime: "runtime";
552
+ output: "output";
556
553
  source: "source";
557
- test: "test";
558
554
  proof: "proof";
555
+ test: "test";
559
556
  }>;
560
557
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
561
558
  label: z.ZodOptional<z.ZodString>;
@@ -620,8 +617,8 @@ export declare const ChecksEvaluatedEventSchema: z.ZodObject<{
620
617
  passed: z.ZodNumber;
621
618
  total: z.ZodNumber;
622
619
  target: z.ZodOptional<z.ZodEnum<{
620
+ "source-files": "source-files";
623
621
  compiled: "compiled";
624
- raw: "raw";
625
622
  }>>;
626
623
  checks_fingerprint: z.ZodOptional<z.ZodString>;
627
624
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -656,8 +653,8 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
656
653
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
657
654
  compile: z.ZodNullable<z.ZodObject<{
658
655
  gate: z.ZodEnum<{
659
- "preparation-config": "preparation-config";
660
656
  "portable-context": "portable-context";
657
+ "preparation-config": "preparation-config";
661
658
  "compile-run": "compile-run";
662
659
  "readiness-checks": "readiness-checks";
663
660
  "source-baseline": "source-baseline";
@@ -702,12 +699,11 @@ export declare const ReadinessUpdatedEventSchema: z.ZodObject<{
702
699
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
703
700
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
704
701
  }, z.core.$strict>>;
705
- delta: z.ZodNullable<z.ZodNumber>;
706
702
  }, z.core.$strict>;
707
703
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
708
704
  gate: z.ZodEnum<{
709
- "preparation-config": "preparation-config";
710
705
  "portable-context": "portable-context";
706
+ "preparation-config": "preparation-config";
711
707
  "compile-run": "compile-run";
712
708
  "readiness-checks": "readiness-checks";
713
709
  "source-baseline": "source-baseline";
@@ -769,11 +765,11 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
769
765
  artifact: z.ZodObject<{
770
766
  path: z.ZodString;
771
767
  role: z.ZodEnum<{
772
- output: "output";
773
768
  runtime: "runtime";
769
+ output: "output";
774
770
  source: "source";
775
- test: "test";
776
771
  proof: "proof";
772
+ test: "test";
777
773
  }>;
778
774
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
779
775
  label: z.ZodOptional<z.ZodString>;
@@ -795,11 +791,11 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
795
791
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
796
792
  path: z.ZodString;
797
793
  role: z.ZodEnum<{
798
- output: "output";
799
794
  runtime: "runtime";
795
+ output: "output";
800
796
  source: "source";
801
- test: "test";
802
797
  proof: "proof";
798
+ test: "test";
803
799
  }>;
804
800
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
805
801
  label: z.ZodOptional<z.ZodString>;
@@ -858,8 +854,8 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
858
854
  passed: z.ZodNumber;
859
855
  total: z.ZodNumber;
860
856
  target: z.ZodOptional<z.ZodEnum<{
857
+ "source-files": "source-files";
861
858
  compiled: "compiled";
862
- raw: "raw";
863
859
  }>>;
864
860
  checks_fingerprint: z.ZodOptional<z.ZodString>;
865
861
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -893,8 +889,8 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
893
889
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
894
890
  compile: z.ZodNullable<z.ZodObject<{
895
891
  gate: z.ZodEnum<{
896
- "preparation-config": "preparation-config";
897
892
  "portable-context": "portable-context";
893
+ "preparation-config": "preparation-config";
898
894
  "compile-run": "compile-run";
899
895
  "readiness-checks": "readiness-checks";
900
896
  "source-baseline": "source-baseline";
@@ -939,12 +935,11 @@ export declare const InterfRunEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
939
935
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
936
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
941
937
  }, z.core.$strict>>;
942
- delta: z.ZodNullable<z.ZodNumber>;
943
938
  }, z.core.$strict>;
944
939
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
945
940
  gate: z.ZodEnum<{
946
- "preparation-config": "preparation-config";
947
941
  "portable-context": "portable-context";
942
+ "preparation-config": "preparation-config";
948
943
  "compile-run": "compile-run";
949
944
  "readiness-checks": "readiness-checks";
950
945
  "source-baseline": "source-baseline";
@@ -977,9 +972,9 @@ export declare const StageRunSchema: z.ZodObject<{
977
972
  stage_index: z.ZodOptional<z.ZodNumber>;
978
973
  stage_total: z.ZodOptional<z.ZodNumber>;
979
974
  status: z.ZodEnum<{
975
+ succeeded: "succeeded";
980
976
  failed: "failed";
981
977
  running: "running";
982
- succeeded: "succeeded";
983
978
  queued: "queued";
984
979
  }>;
985
980
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1010,11 +1005,11 @@ export declare const StageRunSchema: z.ZodObject<{
1010
1005
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1011
1006
  path: z.ZodString;
1012
1007
  role: z.ZodEnum<{
1013
- output: "output";
1014
1008
  runtime: "runtime";
1009
+ output: "output";
1015
1010
  source: "source";
1016
- test: "test";
1017
1011
  proof: "proof";
1012
+ test: "test";
1018
1013
  }>;
1019
1014
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1020
1015
  label: z.ZodOptional<z.ZodString>;
@@ -1036,11 +1031,11 @@ export declare const StageRunSchema: z.ZodObject<{
1036
1031
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1037
1032
  path: z.ZodString;
1038
1033
  role: z.ZodEnum<{
1039
- output: "output";
1040
1034
  runtime: "runtime";
1035
+ output: "output";
1041
1036
  source: "source";
1042
- test: "test";
1043
1037
  proof: "proof";
1038
+ test: "test";
1044
1039
  }>;
1045
1040
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
1041
  label: z.ZodOptional<z.ZodString>;
@@ -1060,9 +1055,9 @@ export declare const CompileRunSchema: z.ZodObject<{
1060
1055
  version: z.ZodLiteral<1>;
1061
1056
  run_id: z.ZodString;
1062
1057
  status: z.ZodEnum<{
1058
+ succeeded: "succeeded";
1063
1059
  failed: "failed";
1064
1060
  running: "running";
1065
- succeeded: "succeeded";
1066
1061
  cancelled: "cancelled";
1067
1062
  queued: "queued";
1068
1063
  }>;
@@ -1084,9 +1079,9 @@ export declare const CompileRunSchema: z.ZodObject<{
1084
1079
  stage_index: z.ZodOptional<z.ZodNumber>;
1085
1080
  stage_total: z.ZodOptional<z.ZodNumber>;
1086
1081
  status: z.ZodEnum<{
1082
+ succeeded: "succeeded";
1087
1083
  failed: "failed";
1088
1084
  running: "running";
1089
- succeeded: "succeeded";
1090
1085
  queued: "queued";
1091
1086
  }>;
1092
1087
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1117,11 +1112,11 @@ export declare const CompileRunSchema: z.ZodObject<{
1117
1112
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1118
1113
  path: z.ZodString;
1119
1114
  role: z.ZodEnum<{
1120
- output: "output";
1121
1115
  runtime: "runtime";
1116
+ output: "output";
1122
1117
  source: "source";
1123
- test: "test";
1124
1118
  proof: "proof";
1119
+ test: "test";
1125
1120
  }>;
1126
1121
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1127
1122
  label: z.ZodOptional<z.ZodString>;
@@ -1143,11 +1138,11 @@ export declare const CompileRunSchema: z.ZodObject<{
1143
1138
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1144
1139
  path: z.ZodString;
1145
1140
  role: z.ZodEnum<{
1146
- output: "output";
1147
1141
  runtime: "runtime";
1142
+ output: "output";
1148
1143
  source: "source";
1149
- test: "test";
1150
1144
  proof: "proof";
1145
+ test: "test";
1151
1146
  }>;
1152
1147
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1153
1148
  label: z.ZodOptional<z.ZodString>;
@@ -1198,11 +1193,11 @@ export declare const CompileRunSchema: z.ZodObject<{
1198
1193
  artifact: z.ZodObject<{
1199
1194
  path: z.ZodString;
1200
1195
  role: z.ZodEnum<{
1201
- output: "output";
1202
1196
  runtime: "runtime";
1197
+ output: "output";
1203
1198
  source: "source";
1204
- test: "test";
1205
1199
  proof: "proof";
1200
+ test: "test";
1206
1201
  }>;
1207
1202
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1208
1203
  label: z.ZodOptional<z.ZodString>;
@@ -1224,11 +1219,11 @@ export declare const CompileRunSchema: z.ZodObject<{
1224
1219
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1225
1220
  path: z.ZodString;
1226
1221
  role: z.ZodEnum<{
1227
- output: "output";
1228
1222
  runtime: "runtime";
1223
+ output: "output";
1229
1224
  source: "source";
1230
- test: "test";
1231
1225
  proof: "proof";
1226
+ test: "test";
1232
1227
  }>;
1233
1228
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1234
1229
  label: z.ZodOptional<z.ZodString>;
@@ -1287,8 +1282,8 @@ export declare const CompileRunSchema: z.ZodObject<{
1287
1282
  passed: z.ZodNumber;
1288
1283
  total: z.ZodNumber;
1289
1284
  target: z.ZodOptional<z.ZodEnum<{
1285
+ "source-files": "source-files";
1290
1286
  compiled: "compiled";
1291
- raw: "raw";
1292
1287
  }>>;
1293
1288
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1294
1289
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -1322,8 +1317,8 @@ export declare const CompileRunSchema: z.ZodObject<{
1322
1317
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1323
1318
  compile: z.ZodNullable<z.ZodObject<{
1324
1319
  gate: z.ZodEnum<{
1325
- "preparation-config": "preparation-config";
1326
1320
  "portable-context": "portable-context";
1321
+ "preparation-config": "preparation-config";
1327
1322
  "compile-run": "compile-run";
1328
1323
  "readiness-checks": "readiness-checks";
1329
1324
  "source-baseline": "source-baseline";
@@ -1368,12 +1363,11 @@ export declare const CompileRunSchema: z.ZodObject<{
1368
1363
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1369
1364
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1370
1365
  }, z.core.$strict>>;
1371
- delta: z.ZodNullable<z.ZodNumber>;
1372
1366
  }, z.core.$strict>;
1373
1367
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1374
1368
  gate: z.ZodEnum<{
1375
- "preparation-config": "preparation-config";
1376
1369
  "portable-context": "portable-context";
1370
+ "preparation-config": "preparation-config";
1377
1371
  "compile-run": "compile-run";
1378
1372
  "readiness-checks": "readiness-checks";
1379
1373
  "source-baseline": "source-baseline";
@@ -1409,11 +1403,11 @@ export declare const CompileRunSchema: z.ZodObject<{
1409
1403
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1410
1404
  path: z.ZodString;
1411
1405
  role: z.ZodEnum<{
1412
- output: "output";
1413
1406
  runtime: "runtime";
1407
+ output: "output";
1414
1408
  source: "source";
1415
- test: "test";
1416
1409
  proof: "proof";
1410
+ test: "test";
1417
1411
  }>;
1418
1412
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1419
1413
  label: z.ZodOptional<z.ZodString>;
@@ -1449,8 +1443,8 @@ export declare const CompileRunSchema: z.ZodObject<{
1449
1443
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1450
1444
  compile: z.ZodNullable<z.ZodObject<{
1451
1445
  gate: z.ZodEnum<{
1452
- "preparation-config": "preparation-config";
1453
1446
  "portable-context": "portable-context";
1447
+ "preparation-config": "preparation-config";
1454
1448
  "compile-run": "compile-run";
1455
1449
  "readiness-checks": "readiness-checks";
1456
1450
  "source-baseline": "source-baseline";
@@ -1495,12 +1489,11 @@ export declare const CompileRunSchema: z.ZodObject<{
1495
1489
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1496
1490
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1497
1491
  }, z.core.$strict>>;
1498
- delta: z.ZodNullable<z.ZodNumber>;
1499
1492
  }, z.core.$strict>;
1500
1493
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1501
1494
  gate: z.ZodEnum<{
1502
- "preparation-config": "preparation-config";
1503
1495
  "portable-context": "portable-context";
1496
+ "preparation-config": "preparation-config";
1504
1497
  "compile-run": "compile-run";
1505
1498
  "readiness-checks": "readiness-checks";
1506
1499
  "source-baseline": "source-baseline";
@@ -71,7 +71,6 @@ export const MethodTraceSchema = z.object({
71
71
  streams: z.array(MethodTraceStreamChunkSchema).default([]),
72
72
  }).strict();
73
73
  export const ObservableRunTypeSchema = z.enum([
74
- "preparation-setup",
75
74
  "compile",
76
75
  "test",
77
76
  "readiness-check-draft",
@@ -235,7 +234,7 @@ export const ChecksEvaluatedEventSchema = RunEventBaseSchema.extend({
235
234
  type: z.literal("checks.evaluated"),
236
235
  passed: z.number().int().min(0),
237
236
  total: z.number().int().min(0),
238
- target: z.enum(["raw", "compiled"]).optional(),
237
+ target: z.enum(["source-files", "compiled"]).optional(),
239
238
  checks_fingerprint: z.string().min(1).optional(),
240
239
  stale: z.boolean().optional(),
241
240
  test_run_id: z.string().min(1).optional(),