@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
@@ -1,10 +1,169 @@
1
1
  import { z } from "zod";
2
+ /** Source binding shape on the API (only `local-folder` ships in 0.13). */
3
+ export declare const SourceBindingSchema: z.ZodObject<{
4
+ kind: z.ZodEnum<{
5
+ "local-folder": "local-folder";
6
+ }>;
7
+ locator: z.ZodString;
8
+ }, z.core.$strict>;
9
+ /** Discriminated locator for an artifact returned by the API. */
10
+ export declare const ArtifactLocatorSchema: z.ZodObject<{
11
+ kind: z.ZodEnum<{
12
+ "local-path": "local-path";
13
+ "remote-url": "remote-url";
14
+ }>;
15
+ value: z.ZodString;
16
+ }, z.core.$strict>;
17
+ /** Per-instance metadata from `GET /v1/instance` (replaces /v1/status). */
18
+ export declare const InstanceResourceSchema: z.ZodObject<{
19
+ kind: z.ZodLiteral<"interf-instance">;
20
+ version: z.ZodLiteral<1>;
21
+ url: z.ZodString;
22
+ host: z.ZodString;
23
+ port: z.ZodNumber;
24
+ started_at: z.ZodString;
25
+ package_version: z.ZodOptional<z.ZodString>;
26
+ preparation_count: z.ZodNumber;
27
+ active_run_count: z.ZodNumber;
28
+ idle_for_seconds: z.ZodNumber;
29
+ auth_required: z.ZodBoolean;
30
+ }, z.core.$strict>;
31
+ /** Body of `POST /v1/preparations` — the 0.13 preparation create request. */
32
+ export declare const PreparationCreateRequestSchema: z.ZodObject<{
33
+ id: z.ZodString;
34
+ source: z.ZodObject<{
35
+ kind: z.ZodEnum<{
36
+ "local-folder": "local-folder";
37
+ }>;
38
+ locator: z.ZodString;
39
+ }, z.core.$strict>;
40
+ method_id: z.ZodString;
41
+ about: z.ZodOptional<z.ZodString>;
42
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
43
+ id: z.ZodOptional<z.ZodString>;
44
+ question: z.ZodString;
45
+ answer: z.ZodOptional<z.ZodString>;
46
+ expect: z.ZodOptional<z.ZodObject<{
47
+ must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
+ must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
49
+ must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
+ min_words: z.ZodOptional<z.ZodNumber>;
51
+ max_words: z.ZodOptional<z.ZodNumber>;
52
+ }, z.core.$strip>>;
53
+ strictness: z.ZodOptional<z.ZodString>;
54
+ }, z.core.$strict>>>;
55
+ max_attempts: z.ZodOptional<z.ZodNumber>;
56
+ max_loops: z.ZodOptional<z.ZodNumber>;
57
+ }, z.core.$strict>;
58
+ /** Body of `POST /v1/methods` — install a Method package by path. */
59
+ export declare const MethodInstallRequestSchema: z.ZodObject<{
60
+ source_path: z.ZodString;
61
+ overwrite: z.ZodDefault<z.ZodBoolean>;
62
+ }, z.core.$strict>;
63
+ export declare const MethodInstallResultSchema: z.ZodObject<{
64
+ method_id: z.ZodString;
65
+ installed: z.ZodBoolean;
66
+ path: z.ZodString;
67
+ }, z.core.$strict>;
68
+ export declare const PreparationDeleteResponseSchema: z.ZodObject<{
69
+ deleted: z.ZodBoolean;
70
+ id: z.ZodString;
71
+ }, z.core.$strict>;
72
+ export type SourceBinding = z.infer<typeof SourceBindingSchema>;
73
+ export type ArtifactLocator = z.infer<typeof ArtifactLocatorSchema>;
74
+ export type InstanceResource = z.infer<typeof InstanceResourceSchema>;
75
+ export type PreparationCreateRequest = z.infer<typeof PreparationCreateRequestSchema>;
76
+ export type MethodInstallRequest = z.infer<typeof MethodInstallRequestSchema>;
77
+ export type MethodInstallResult = z.infer<typeof MethodInstallResultSchema>;
78
+ export type PreparationDeleteResponse = z.infer<typeof PreparationDeleteResponseSchema>;
79
+ /**
80
+ * The local service must only ever bind to a loopback interface. Any other
81
+ * host (LAN IP, 0.0.0.0, public address) lets a remote browser tab POST at
82
+ * the service, which is the CSRF model we are explicitly rejecting. Keep
83
+ * the allowlist literal — refactoring to a `.refine()` over `z.string()`
84
+ * would lose the static type narrowing.
85
+ */
86
+ export declare const LOCAL_SERVICE_LOOPBACK_HOSTS: readonly ["127.0.0.1", "localhost", "::1"];
2
87
  export declare const LocalServiceHostSchema: z.ZodString;
3
88
  export declare const LocalServicePortSchema: z.ZodNumber;
89
+ /**
90
+ * Per-instance bearer token. Generated at startup with crypto.randomBytes(32)
91
+ * and rendered as a 64-char hex string. Any deviation should fail validation
92
+ * loud and early.
93
+ */
94
+ export declare const LocalServiceAuthTokenSchema: z.ZodString;
4
95
  export declare const LocalServiceConfigSchema: z.ZodObject<{
5
96
  host: z.ZodDefault<z.ZodString>;
6
97
  port: z.ZodDefault<z.ZodNumber>;
7
98
  }, z.core.$strict>;
99
+ export declare const ServiceRegistryWorkspaceSchema: z.ZodObject<{
100
+ control_path: z.ZodString;
101
+ registered_at: z.ZodString;
102
+ last_activity: z.ZodString;
103
+ }, z.core.$strict>;
104
+ export declare const ServiceRegistryEntrySchema: z.ZodObject<{
105
+ pid: z.ZodNumber;
106
+ host: z.ZodString;
107
+ port: z.ZodNumber;
108
+ url: z.ZodString;
109
+ started_at: z.ZodString;
110
+ auth_token: z.ZodOptional<z.ZodString>;
111
+ workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
112
+ control_path: z.ZodString;
113
+ registered_at: z.ZodString;
114
+ last_activity: z.ZodString;
115
+ }, z.core.$strict>>>;
116
+ }, z.core.$strict>;
117
+ export declare const ServiceRegistrySchema: z.ZodObject<{
118
+ services: z.ZodDefault<z.ZodArray<z.ZodObject<{
119
+ pid: z.ZodNumber;
120
+ host: z.ZodString;
121
+ port: z.ZodNumber;
122
+ url: z.ZodString;
123
+ started_at: z.ZodString;
124
+ auth_token: z.ZodOptional<z.ZodString>;
125
+ workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
126
+ control_path: z.ZodString;
127
+ registered_at: z.ZodString;
128
+ last_activity: z.ZodString;
129
+ }, z.core.$strict>>>;
130
+ }, z.core.$strict>>>;
131
+ }, z.core.$strict>;
132
+ export declare const WorkspaceRegistrationRequestSchema: z.ZodObject<{
133
+ control_path: z.ZodString;
134
+ }, z.core.$strict>;
135
+ export declare const WorkspaceRegistrationResponseSchema: z.ZodObject<{
136
+ workspace: z.ZodObject<{
137
+ control_path: z.ZodString;
138
+ registered_at: z.ZodString;
139
+ last_activity: z.ZodString;
140
+ }, z.core.$strict>;
141
+ service: z.ZodObject<{
142
+ pid: z.ZodNumber;
143
+ host: z.ZodString;
144
+ port: z.ZodNumber;
145
+ url: z.ZodString;
146
+ started_at: z.ZodString;
147
+ auth_token: z.ZodOptional<z.ZodString>;
148
+ workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
149
+ control_path: z.ZodString;
150
+ registered_at: z.ZodString;
151
+ last_activity: z.ZodString;
152
+ }, z.core.$strict>>>;
153
+ }, z.core.$strict>;
154
+ }, z.core.$strict>;
155
+ export declare const WorkspaceListResponseSchema: z.ZodObject<{
156
+ workspaces: z.ZodArray<z.ZodObject<{
157
+ control_path: z.ZodString;
158
+ registered_at: z.ZodString;
159
+ last_activity: z.ZodString;
160
+ }, z.core.$strict>>;
161
+ }, z.core.$strict>;
162
+ export declare const WorkspaceDeregisterResponseSchema: z.ZodObject<{
163
+ deregistered: z.ZodBoolean;
164
+ control_path: z.ZodString;
165
+ remaining_workspaces: z.ZodNumber;
166
+ }, z.core.$strict>;
8
167
  export declare const LocalServiceHealthSchema: z.ZodObject<{
9
168
  kind: z.ZodLiteral<"interf-local-service-health">;
10
169
  version: z.ZodLiteral<1>;
@@ -16,113 +175,29 @@ export declare const LocalServiceHealthSchema: z.ZodObject<{
16
175
  source_folder_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
176
  started_at: z.ZodOptional<z.ZodString>;
18
177
  package_version: z.ZodOptional<z.ZodString>;
178
+ instance_started_at: z.ZodOptional<z.ZodString>;
179
+ registered_workspaces: z.ZodDefault<z.ZodArray<z.ZodObject<{
180
+ control_path: z.ZodString;
181
+ registered_at: z.ZodString;
182
+ last_activity: z.ZodString;
183
+ }, z.core.$strict>>>;
184
+ active_runs: z.ZodDefault<z.ZodNumber>;
185
+ idle_for_seconds: z.ZodDefault<z.ZodNumber>;
186
+ }, z.core.$strict>;
187
+ export declare const LocalServiceErrorSchema: z.ZodObject<{
188
+ error: z.ZodObject<{
189
+ message: z.ZodString;
190
+ code: z.ZodOptional<z.ZodString>;
191
+ }, z.core.$strict>;
19
192
  }, z.core.$strict>;
20
- export declare const LocalServiceInstancePointerSchema: z.ZodObject<{
193
+ export declare const LocalServicePointerSchema: z.ZodObject<{
21
194
  service_url: z.ZodString;
22
195
  host: z.ZodString;
23
196
  port: z.ZodNumber;
24
197
  pid: z.ZodNumber;
25
198
  control_path: z.ZodString;
26
199
  started_at: z.ZodString;
27
- }, z.core.$strict>;
28
- export declare const PreparationReadinessStateSchema: z.ZodObject<{
29
- kind: z.ZodLiteral<"interf-readiness-state">;
30
- version: z.ZodLiteral<1>;
31
- generated_at: z.ZodString;
32
- preparation: z.ZodString;
33
- status: z.ZodEnum<{
34
- "not-configured": "not-configured";
35
- "not-built": "not-built";
36
- building: "building";
37
- built: "built";
38
- checking: "checking";
39
- ready: "ready";
40
- "not-ready": "not-ready";
41
- stale: "stale";
42
- failed: "failed";
43
- }>;
44
- ready: z.ZodBoolean;
45
- summary: z.ZodString;
46
- portable_context_path: z.ZodNullable<z.ZodString>;
47
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
49
- compile: z.ZodNullable<z.ZodObject<{
50
- gate: z.ZodEnum<{
51
- "preparation-config": "preparation-config";
52
- "portable-context": "portable-context";
53
- "compile-run": "compile-run";
54
- "readiness-checks": "readiness-checks";
55
- "source-baseline": "source-baseline";
56
- "portable-context-check": "portable-context-check";
57
- "checks-current": "checks-current";
58
- }>;
59
- ok: z.ZodBoolean;
60
- status: z.ZodOptional<z.ZodEnum<{
61
- "not-configured": "not-configured";
62
- "not-built": "not-built";
63
- building: "building";
64
- built: "built";
65
- checking: "checking";
66
- ready: "ready";
67
- "not-ready": "not-ready";
68
- stale: "stale";
69
- failed: "failed";
70
- }>>;
71
- summary: z.ZodString;
72
- detail: z.ZodOptional<z.ZodString>;
73
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
- }, z.core.$strict>>;
76
- check_results: z.ZodObject<{
77
- configured: z.ZodNumber;
78
- fingerprint: z.ZodNullable<z.ZodString>;
79
- source_files: z.ZodNullable<z.ZodObject<{
80
- passed: z.ZodNumber;
81
- total: z.ZodNumber;
82
- pass_rate: z.ZodNullable<z.ZodNumber>;
83
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
- stale: z.ZodDefault<z.ZodBoolean>;
85
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
87
- }, z.core.$strict>>;
88
- portable_context: z.ZodNullable<z.ZodObject<{
89
- passed: z.ZodNumber;
90
- total: z.ZodNumber;
91
- pass_rate: z.ZodNullable<z.ZodNumber>;
92
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
- stale: z.ZodDefault<z.ZodBoolean>;
94
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
95
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
- }, z.core.$strict>>;
97
- delta: z.ZodNullable<z.ZodNumber>;
98
- }, z.core.$strict>;
99
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
100
- gate: z.ZodEnum<{
101
- "preparation-config": "preparation-config";
102
- "portable-context": "portable-context";
103
- "compile-run": "compile-run";
104
- "readiness-checks": "readiness-checks";
105
- "source-baseline": "source-baseline";
106
- "portable-context-check": "portable-context-check";
107
- "checks-current": "checks-current";
108
- }>;
109
- ok: z.ZodBoolean;
110
- status: z.ZodOptional<z.ZodEnum<{
111
- "not-configured": "not-configured";
112
- "not-built": "not-built";
113
- building: "building";
114
- built: "built";
115
- checking: "checking";
116
- ready: "ready";
117
- "not-ready": "not-ready";
118
- stale: "stale";
119
- failed: "failed";
120
- }>>;
121
- summary: z.ZodString;
122
- detail: z.ZodOptional<z.ZodString>;
123
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
124
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
125
- }, z.core.$strict>>>;
200
+ auth_token: z.ZodOptional<z.ZodString>;
126
201
  }, z.core.$strict>;
127
202
  export declare const PortableContextMappingSchema: z.ZodObject<{
128
203
  preparation: z.ZodString;
@@ -208,8 +283,8 @@ export declare const PreparationResourceSchema: z.ZodObject<{
208
283
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
209
284
  compile: z.ZodNullable<z.ZodObject<{
210
285
  gate: z.ZodEnum<{
211
- "preparation-config": "preparation-config";
212
286
  "portable-context": "portable-context";
287
+ "preparation-config": "preparation-config";
213
288
  "compile-run": "compile-run";
214
289
  "readiness-checks": "readiness-checks";
215
290
  "source-baseline": "source-baseline";
@@ -254,12 +329,11 @@ export declare const PreparationResourceSchema: z.ZodObject<{
254
329
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
255
330
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
256
331
  }, z.core.$strict>>;
257
- delta: z.ZodNullable<z.ZodNumber>;
258
332
  }, z.core.$strict>;
259
333
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
260
334
  gate: z.ZodEnum<{
261
- "preparation-config": "preparation-config";
262
335
  "portable-context": "portable-context";
336
+ "preparation-config": "preparation-config";
263
337
  "compile-run": "compile-run";
264
338
  "readiness-checks": "readiness-checks";
265
339
  "source-baseline": "source-baseline";
@@ -303,6 +377,7 @@ export declare const MethodResourceSchema: z.ZodObject<{
303
377
  }>>;
304
378
  built_in: z.ZodDefault<z.ZodBoolean>;
305
379
  active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
380
+ output_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
306
381
  stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
307
382
  id: z.ZodString;
308
383
  label: z.ZodString;
@@ -327,9 +402,9 @@ export declare const CompileRunCreateRequestSchema: z.ZodObject<{
327
402
  export declare const CompileRunSummarySchema: z.ZodObject<{
328
403
  run_id: z.ZodString;
329
404
  status: z.ZodEnum<{
405
+ succeeded: "succeeded";
330
406
  failed: "failed";
331
407
  running: "running";
332
- succeeded: "succeeded";
333
408
  cancelled: "cancelled";
334
409
  queued: "queued";
335
410
  }>;
@@ -374,11 +449,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
374
449
  artifact: z.ZodObject<{
375
450
  path: z.ZodString;
376
451
  role: z.ZodEnum<{
377
- output: "output";
378
452
  runtime: "runtime";
453
+ output: "output";
379
454
  source: "source";
380
- test: "test";
381
455
  proof: "proof";
456
+ test: "test";
382
457
  }>;
383
458
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
384
459
  label: z.ZodOptional<z.ZodString>;
@@ -400,11 +475,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
400
475
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
401
476
  path: z.ZodString;
402
477
  role: z.ZodEnum<{
403
- output: "output";
404
478
  runtime: "runtime";
479
+ output: "output";
405
480
  source: "source";
406
- test: "test";
407
481
  proof: "proof";
482
+ test: "test";
408
483
  }>;
409
484
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
485
  label: z.ZodOptional<z.ZodString>;
@@ -463,8 +538,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
463
538
  passed: z.ZodNumber;
464
539
  total: z.ZodNumber;
465
540
  target: z.ZodOptional<z.ZodEnum<{
541
+ "source-files": "source-files";
466
542
  compiled: "compiled";
467
- raw: "raw";
468
543
  }>>;
469
544
  checks_fingerprint: z.ZodOptional<z.ZodString>;
470
545
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -498,8 +573,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
498
573
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
574
  compile: z.ZodNullable<z.ZodObject<{
500
575
  gate: z.ZodEnum<{
501
- "preparation-config": "preparation-config";
502
576
  "portable-context": "portable-context";
577
+ "preparation-config": "preparation-config";
503
578
  "compile-run": "compile-run";
504
579
  "readiness-checks": "readiness-checks";
505
580
  "source-baseline": "source-baseline";
@@ -544,12 +619,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
544
619
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
545
620
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
546
621
  }, z.core.$strict>>;
547
- delta: z.ZodNullable<z.ZodNumber>;
548
622
  }, z.core.$strict>;
549
623
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
550
624
  gate: z.ZodEnum<{
551
- "preparation-config": "preparation-config";
552
625
  "portable-context": "portable-context";
626
+ "preparation-config": "preparation-config";
553
627
  "compile-run": "compile-run";
554
628
  "readiness-checks": "readiness-checks";
555
629
  "source-baseline": "source-baseline";
@@ -585,11 +659,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
585
659
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
586
660
  path: z.ZodString;
587
661
  role: z.ZodEnum<{
588
- output: "output";
589
662
  runtime: "runtime";
663
+ output: "output";
590
664
  source: "source";
591
- test: "test";
592
665
  proof: "proof";
666
+ test: "test";
593
667
  }>;
594
668
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
595
669
  label: z.ZodOptional<z.ZodString>;
@@ -609,9 +683,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
609
683
  version: z.ZodLiteral<1>;
610
684
  run_id: z.ZodString;
611
685
  status: z.ZodEnum<{
686
+ succeeded: "succeeded";
612
687
  failed: "failed";
613
688
  running: "running";
614
- succeeded: "succeeded";
615
689
  cancelled: "cancelled";
616
690
  queued: "queued";
617
691
  }>;
@@ -633,9 +707,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
633
707
  stage_index: z.ZodOptional<z.ZodNumber>;
634
708
  stage_total: z.ZodOptional<z.ZodNumber>;
635
709
  status: z.ZodEnum<{
710
+ succeeded: "succeeded";
636
711
  failed: "failed";
637
712
  running: "running";
638
- succeeded: "succeeded";
639
713
  queued: "queued";
640
714
  }>;
641
715
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -666,11 +740,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
666
740
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
667
741
  path: z.ZodString;
668
742
  role: z.ZodEnum<{
669
- output: "output";
670
743
  runtime: "runtime";
744
+ output: "output";
671
745
  source: "source";
672
- test: "test";
673
746
  proof: "proof";
747
+ test: "test";
674
748
  }>;
675
749
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
676
750
  label: z.ZodOptional<z.ZodString>;
@@ -692,11 +766,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
692
766
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
693
767
  path: z.ZodString;
694
768
  role: z.ZodEnum<{
695
- output: "output";
696
769
  runtime: "runtime";
770
+ output: "output";
697
771
  source: "source";
698
- test: "test";
699
772
  proof: "proof";
773
+ test: "test";
700
774
  }>;
701
775
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
702
776
  label: z.ZodOptional<z.ZodString>;
@@ -747,11 +821,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
747
821
  artifact: z.ZodObject<{
748
822
  path: z.ZodString;
749
823
  role: z.ZodEnum<{
750
- output: "output";
751
824
  runtime: "runtime";
825
+ output: "output";
752
826
  source: "source";
753
- test: "test";
754
827
  proof: "proof";
828
+ test: "test";
755
829
  }>;
756
830
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
757
831
  label: z.ZodOptional<z.ZodString>;
@@ -773,11 +847,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
773
847
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
774
848
  path: z.ZodString;
775
849
  role: z.ZodEnum<{
776
- output: "output";
777
850
  runtime: "runtime";
851
+ output: "output";
778
852
  source: "source";
779
- test: "test";
780
853
  proof: "proof";
854
+ test: "test";
781
855
  }>;
782
856
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
783
857
  label: z.ZodOptional<z.ZodString>;
@@ -836,8 +910,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
836
910
  passed: z.ZodNumber;
837
911
  total: z.ZodNumber;
838
912
  target: z.ZodOptional<z.ZodEnum<{
913
+ "source-files": "source-files";
839
914
  compiled: "compiled";
840
- raw: "raw";
841
915
  }>>;
842
916
  checks_fingerprint: z.ZodOptional<z.ZodString>;
843
917
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -871,8 +945,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
871
945
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
946
  compile: z.ZodNullable<z.ZodObject<{
873
947
  gate: z.ZodEnum<{
874
- "preparation-config": "preparation-config";
875
948
  "portable-context": "portable-context";
949
+ "preparation-config": "preparation-config";
876
950
  "compile-run": "compile-run";
877
951
  "readiness-checks": "readiness-checks";
878
952
  "source-baseline": "source-baseline";
@@ -917,12 +991,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
917
991
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
918
992
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
919
993
  }, z.core.$strict>>;
920
- delta: z.ZodNullable<z.ZodNumber>;
921
994
  }, z.core.$strict>;
922
995
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
923
996
  gate: z.ZodEnum<{
924
- "preparation-config": "preparation-config";
925
997
  "portable-context": "portable-context";
998
+ "preparation-config": "preparation-config";
926
999
  "compile-run": "compile-run";
927
1000
  "readiness-checks": "readiness-checks";
928
1001
  "source-baseline": "source-baseline";
@@ -958,11 +1031,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
958
1031
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
959
1032
  path: z.ZodString;
960
1033
  role: z.ZodEnum<{
961
- output: "output";
962
1034
  runtime: "runtime";
1035
+ output: "output";
963
1036
  source: "source";
964
- test: "test";
965
1037
  proof: "proof";
1038
+ test: "test";
966
1039
  }>;
967
1040
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
968
1041
  label: z.ZodOptional<z.ZodString>;
@@ -998,8 +1071,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
998
1071
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
999
1072
  compile: z.ZodNullable<z.ZodObject<{
1000
1073
  gate: z.ZodEnum<{
1001
- "preparation-config": "preparation-config";
1002
1074
  "portable-context": "portable-context";
1075
+ "preparation-config": "preparation-config";
1003
1076
  "compile-run": "compile-run";
1004
1077
  "readiness-checks": "readiness-checks";
1005
1078
  "source-baseline": "source-baseline";
@@ -1044,12 +1117,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1044
1117
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1045
1118
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1046
1119
  }, z.core.$strict>>;
1047
- delta: z.ZodNullable<z.ZodNumber>;
1048
1120
  }, z.core.$strict>;
1049
1121
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1050
1122
  gate: z.ZodEnum<{
1051
- "preparation-config": "preparation-config";
1052
1123
  "portable-context": "portable-context";
1124
+ "preparation-config": "preparation-config";
1053
1125
  "compile-run": "compile-run";
1054
1126
  "readiness-checks": "readiness-checks";
1055
1127
  "source-baseline": "source-baseline";
@@ -1077,30 +1149,34 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1077
1149
  }, z.core.$strict>;
1078
1150
  }, z.core.$strict>;
1079
1151
  export declare const LocalJobTypeSchema: z.ZodEnum<{
1080
- compile: "compile";
1081
1152
  "method-authoring": "method-authoring";
1082
1153
  "method-improvement": "method-improvement";
1083
- "preparation-setup": "preparation-setup";
1084
- test: "test";
1085
1154
  "readiness-check-draft": "readiness-check-draft";
1086
1155
  }>;
1087
- export declare const LocalJobStatusSchema: z.ZodEnum<{
1156
+ export declare const RunStatusSchema: z.ZodEnum<{
1157
+ succeeded: "succeeded";
1088
1158
  failed: "failed";
1089
1159
  running: "running";
1160
+ cancelled: "cancelled";
1161
+ queued: "queued";
1162
+ }>;
1163
+ export declare const LocalJobStatusSchema: z.ZodEnum<{
1090
1164
  succeeded: "succeeded";
1165
+ failed: "failed";
1166
+ running: "running";
1091
1167
  cancelled: "cancelled";
1092
1168
  queued: "queued";
1093
1169
  }>;
1094
1170
  export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1095
1171
  ok: z.ZodBoolean;
1096
1172
  error: z.ZodOptional<z.ZodString>;
1097
- comparison: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1173
+ readiness_run: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1098
1174
  kind: z.ZodLiteral<"interf-readiness-check-run">;
1099
1175
  version: z.ZodLiteral<1>;
1100
1176
  generated_at: z.ZodString;
1101
1177
  mode: z.ZodEnum<{
1178
+ "source-files": "source-files";
1102
1179
  compiled: "compiled";
1103
- raw: "raw";
1104
1180
  both: "both";
1105
1181
  }>;
1106
1182
  source_path: z.ZodString;
@@ -1109,7 +1185,7 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1109
1185
  name: z.ZodString;
1110
1186
  portable_context_path: z.ZodNullable<z.ZodString>;
1111
1187
  }, z.core.$strip>;
1112
- raw: z.ZodNullable<z.ZodObject<{
1188
+ source_files: z.ZodNullable<z.ZodObject<{
1113
1189
  label: z.ZodString;
1114
1190
  run_path: z.ZodString;
1115
1191
  ok: z.ZodBoolean;
@@ -1119,8 +1195,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1119
1195
  total_checks: z.ZodNumber;
1120
1196
  target: z.ZodObject<{
1121
1197
  type: z.ZodEnum<{
1198
+ "source-files": "source-files";
1122
1199
  compiled: "compiled";
1123
- raw: "raw";
1124
1200
  }>;
1125
1201
  name: z.ZodString;
1126
1202
  path: z.ZodString;
@@ -1137,8 +1213,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1137
1213
  total_checks: z.ZodNumber;
1138
1214
  target: z.ZodObject<{
1139
1215
  type: z.ZodEnum<{
1216
+ "source-files": "source-files";
1140
1217
  compiled: "compiled";
1141
- raw: "raw";
1142
1218
  }>;
1143
1219
  name: z.ZodString;
1144
1220
  path: z.ZodString;
@@ -1146,9 +1222,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1146
1222
  }, z.core.$strip>;
1147
1223
  }, z.core.$strip>>;
1148
1224
  summary: z.ZodObject<{
1149
- raw_pass_rate: z.ZodNullable<z.ZodNumber>;
1150
- compiled_pass_rate: z.ZodNullable<z.ZodNumber>;
1151
- pass_rate_delta: z.ZodNullable<z.ZodNumber>;
1225
+ source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
1226
+ portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
1152
1227
  }, z.core.$strip>;
1153
1228
  }, z.core.$strip>>>;
1154
1229
  }, z.core.$strict>;
@@ -1167,9 +1242,9 @@ export declare const LocalJobStepSchema: z.ZodObject<{
1167
1242
  id: z.ZodString;
1168
1243
  label: z.ZodString;
1169
1244
  status: z.ZodEnum<{
1245
+ succeeded: "succeeded";
1170
1246
  failed: "failed";
1171
1247
  running: "running";
1172
- succeeded: "succeeded";
1173
1248
  cancelled: "cancelled";
1174
1249
  queued: "queued";
1175
1250
  }>;
@@ -1208,11 +1283,11 @@ export declare const LocalJobEventSchema: z.ZodObject<{
1208
1283
  artifact: z.ZodOptional<z.ZodObject<{
1209
1284
  path: z.ZodString;
1210
1285
  role: z.ZodEnum<{
1211
- output: "output";
1212
1286
  runtime: "runtime";
1287
+ output: "output";
1213
1288
  source: "source";
1214
- test: "test";
1215
1289
  proof: "proof";
1290
+ test: "test";
1216
1291
  }>;
1217
1292
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1218
1293
  label: z.ZodOptional<z.ZodString>;
@@ -1223,11 +1298,8 @@ export declare const LocalJobEventSchema: z.ZodObject<{
1223
1298
  }, z.core.$strict>;
1224
1299
  export declare const LocalJobRunCreateRequestSchema: z.ZodObject<{
1225
1300
  job_type: z.ZodEnum<{
1226
- compile: "compile";
1227
1301
  "method-authoring": "method-authoring";
1228
1302
  "method-improvement": "method-improvement";
1229
- "preparation-setup": "preparation-setup";
1230
- test: "test";
1231
1303
  "readiness-check-draft": "readiness-check-draft";
1232
1304
  }>;
1233
1305
  title: z.ZodString;
@@ -1270,22 +1342,124 @@ export declare const PreparationSetupCreateRequestSchema: z.ZodObject<{
1270
1342
  }, z.core.$strict>>>;
1271
1343
  }, z.core.$strict>;
1272
1344
  prepare_after_setup: z.ZodDefault<z.ZodBoolean>;
1345
+ setup_mode: z.ZodDefault<z.ZodEnum<{
1346
+ create: "create";
1347
+ "select-method": "select-method";
1348
+ }>>;
1273
1349
  }, z.core.$strict>;
1274
- export declare const ReadinessCheckDraftCreateRequestSchema: z.ZodObject<{
1350
+ export declare const PreparationSetupResultSchema: z.ZodObject<{
1351
+ kind: z.ZodLiteral<"interf-preparation-setup-result">;
1352
+ version: z.ZodLiteral<1>;
1353
+ operation: z.ZodEnum<{
1354
+ create: "create";
1355
+ "select-method": "select-method";
1356
+ }>;
1275
1357
  preparation: z.ZodString;
1358
+ method: z.ZodString;
1276
1359
  source_folder_path: z.ZodString;
1277
- about: z.ZodOptional<z.ZodString>;
1278
- target_count: z.ZodDefault<z.ZodNumber>;
1360
+ config_path: z.ZodString;
1361
+ portable_context_path: z.ZodString;
1362
+ changed: z.ZodBoolean;
1363
+ message: z.ZodString;
1364
+ submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1365
+ submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"compile-run">>>;
1279
1366
  }, z.core.$strict>;
1280
- export declare const ReadinessCheckDraftResultSchema: z.ZodObject<{
1281
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1282
- id: z.ZodOptional<z.ZodString>;
1283
- question: z.ZodString;
1284
- answer: z.ZodOptional<z.ZodString>;
1285
- expect: z.ZodOptional<z.ZodObject<{
1286
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
1287
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
1288
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
1367
+ export declare const WorkspaceBootstrapCreateRequestSchema: z.ZodObject<{
1368
+ source_folder: z.ZodOptional<z.ZodObject<{
1369
+ path: z.ZodString;
1370
+ }, z.core.$strict>>;
1371
+ seed_default_method: z.ZodDefault<z.ZodBoolean>;
1372
+ }, z.core.$strict>;
1373
+ export declare const WorkspaceBootstrapResultSchema: z.ZodObject<{
1374
+ kind: z.ZodLiteral<"interf-workspace-bootstrap-result">;
1375
+ version: z.ZodLiteral<1>;
1376
+ control_path: z.ZodString;
1377
+ config_path: z.ZodString;
1378
+ source_folder_path: z.ZodNullable<z.ZodString>;
1379
+ preparations: z.ZodNumber;
1380
+ seeded_default_method: z.ZodBoolean;
1381
+ default_method_id: z.ZodNullable<z.ZodString>;
1382
+ changed: z.ZodBoolean;
1383
+ message: z.ZodString;
1384
+ }, z.core.$strict>;
1385
+ export declare const MethodChangeCreateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1386
+ action_type: z.ZodOptional<z.ZodLiteral<"method-change">>;
1387
+ operation: z.ZodLiteral<"duplicate">;
1388
+ method: z.ZodString;
1389
+ new_method_id: z.ZodString;
1390
+ label: z.ZodOptional<z.ZodString>;
1391
+ hint: z.ZodOptional<z.ZodString>;
1392
+ }, z.core.$strict>, z.ZodObject<{
1393
+ action_type: z.ZodOptional<z.ZodLiteral<"method-change">>;
1394
+ operation: z.ZodLiteral<"remove">;
1395
+ method: z.ZodString;
1396
+ confirmation: z.ZodString;
1397
+ }, z.core.$strict>], "operation">;
1398
+ export declare const MethodChangeResultSchema: z.ZodObject<{
1399
+ kind: z.ZodLiteral<"interf-method-change-result">;
1400
+ version: z.ZodLiteral<1>;
1401
+ operation: z.ZodEnum<{
1402
+ duplicate: "duplicate";
1403
+ remove: "remove";
1404
+ }>;
1405
+ method: z.ZodString;
1406
+ new_method_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1407
+ updated_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
1408
+ method_path: z.ZodString;
1409
+ changed: z.ZodBoolean;
1410
+ message: z.ZodString;
1411
+ }, z.core.$strict>;
1412
+ export declare const PreparationChangeCreateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1413
+ action_type: z.ZodOptional<z.ZodLiteral<"preparation-change">>;
1414
+ operation: z.ZodLiteral<"remove">;
1415
+ preparation: z.ZodString;
1416
+ confirmation: z.ZodString;
1417
+ }, z.core.$strict>], "operation">;
1418
+ export declare const PreparationChangeResultSchema: z.ZodObject<{
1419
+ kind: z.ZodLiteral<"interf-preparation-change-result">;
1420
+ version: z.ZodLiteral<1>;
1421
+ operation: z.ZodLiteral<"remove">;
1422
+ preparation: z.ZodString;
1423
+ config_path: z.ZodString;
1424
+ portable_context_path: z.ZodString;
1425
+ portable_context_retained: z.ZodBoolean;
1426
+ changed: z.ZodBoolean;
1427
+ message: z.ZodString;
1428
+ }, z.core.$strict>;
1429
+ export declare const ResetRequestSchema: z.ZodObject<{
1430
+ preparation: z.ZodString;
1431
+ scope: z.ZodEnum<{
1432
+ compile: "compile";
1433
+ all: "all";
1434
+ }>;
1435
+ }, z.core.$strict>;
1436
+ export declare const ResetResultSchema: z.ZodObject<{
1437
+ kind: z.ZodLiteral<"interf-reset-result">;
1438
+ version: z.ZodLiteral<1>;
1439
+ preparation: z.ZodString;
1440
+ scope: z.ZodEnum<{
1441
+ compile: "compile";
1442
+ all: "all";
1443
+ }>;
1444
+ portable_context_path: z.ZodString;
1445
+ changed: z.ZodBoolean;
1446
+ message: z.ZodString;
1447
+ }, z.core.$strict>;
1448
+ export declare const ReadinessCheckDraftCreateRequestSchema: z.ZodObject<{
1449
+ preparation: z.ZodString;
1450
+ source_folder_path: z.ZodString;
1451
+ about: z.ZodOptional<z.ZodString>;
1452
+ target_count: z.ZodDefault<z.ZodNumber>;
1453
+ }, z.core.$strict>;
1454
+ export declare const ReadinessCheckDraftResultSchema: z.ZodObject<{
1455
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1456
+ id: z.ZodOptional<z.ZodString>;
1457
+ question: z.ZodString;
1458
+ answer: z.ZodOptional<z.ZodString>;
1459
+ expect: z.ZodOptional<z.ZodObject<{
1460
+ must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
1461
+ must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
1462
+ must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
1289
1463
  min_words: z.ZodOptional<z.ZodNumber>;
1290
1464
  max_words: z.ZodOptional<z.ZodNumber>;
1291
1465
  }, z.core.$strip>>;
@@ -1344,11 +1518,11 @@ export declare const LocalJobEventAppendRequestSchema: z.ZodObject<{
1344
1518
  artifact: z.ZodOptional<z.ZodObject<{
1345
1519
  path: z.ZodString;
1346
1520
  role: z.ZodEnum<{
1347
- output: "output";
1348
1521
  runtime: "runtime";
1522
+ output: "output";
1349
1523
  source: "source";
1350
- test: "test";
1351
1524
  proof: "proof";
1525
+ test: "test";
1352
1526
  }>;
1353
1527
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1354
1528
  label: z.ZodOptional<z.ZodString>;
@@ -1362,17 +1536,14 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1362
1536
  version: z.ZodLiteral<1>;
1363
1537
  run_id: z.ZodString;
1364
1538
  job_type: z.ZodEnum<{
1365
- compile: "compile";
1366
1539
  "method-authoring": "method-authoring";
1367
1540
  "method-improvement": "method-improvement";
1368
- "preparation-setup": "preparation-setup";
1369
- test: "test";
1370
1541
  "readiness-check-draft": "readiness-check-draft";
1371
1542
  }>;
1372
1543
  status: z.ZodEnum<{
1544
+ succeeded: "succeeded";
1373
1545
  failed: "failed";
1374
1546
  running: "running";
1375
- succeeded: "succeeded";
1376
1547
  cancelled: "cancelled";
1377
1548
  queued: "queued";
1378
1549
  }>;
@@ -1393,9 +1564,9 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1393
1564
  id: z.ZodString;
1394
1565
  label: z.ZodString;
1395
1566
  status: z.ZodEnum<{
1567
+ succeeded: "succeeded";
1396
1568
  failed: "failed";
1397
1569
  running: "running";
1398
- succeeded: "succeeded";
1399
1570
  cancelled: "cancelled";
1400
1571
  queued: "queued";
1401
1572
  }>;
@@ -1424,11 +1595,11 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1424
1595
  artifact: z.ZodOptional<z.ZodObject<{
1425
1596
  path: z.ZodString;
1426
1597
  role: z.ZodEnum<{
1427
- output: "output";
1428
1598
  runtime: "runtime";
1599
+ output: "output";
1429
1600
  source: "source";
1430
- test: "test";
1431
1601
  proof: "proof";
1602
+ test: "test";
1432
1603
  }>;
1433
1604
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1434
1605
  label: z.ZodOptional<z.ZodString>;
@@ -1441,46 +1612,46 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1441
1612
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1442
1613
  }, z.core.$strict>;
1443
1614
  export declare const TestRunStatusSchema: z.ZodEnum<{
1615
+ succeeded: "succeeded";
1444
1616
  failed: "failed";
1445
1617
  running: "running";
1446
- succeeded: "succeeded";
1447
1618
  cancelled: "cancelled";
1448
1619
  queued: "queued";
1449
1620
  }>;
1450
1621
  export declare const TestRunCreateRequestSchema: z.ZodObject<{
1451
1622
  preparation: z.ZodString;
1452
1623
  mode: z.ZodDefault<z.ZodEnum<{
1624
+ "source-files": "source-files";
1453
1625
  compiled: "compiled";
1454
- raw: "raw";
1455
1626
  both: "both";
1456
1627
  }>>;
1457
1628
  }, z.core.$strict>;
1458
1629
  export declare const TestRunResourceSchema: z.ZodObject<{
1459
1630
  run_id: z.ZodString;
1460
1631
  status: z.ZodEnum<{
1632
+ succeeded: "succeeded";
1461
1633
  failed: "failed";
1462
1634
  running: "running";
1463
- succeeded: "succeeded";
1464
1635
  cancelled: "cancelled";
1465
1636
  queued: "queued";
1466
1637
  }>;
1467
1638
  preparation: z.ZodString;
1468
1639
  mode: z.ZodEnum<{
1640
+ "source-files": "source-files";
1469
1641
  compiled: "compiled";
1470
- raw: "raw";
1471
1642
  both: "both";
1472
1643
  }>;
1473
1644
  source_path: z.ZodString;
1474
1645
  portable_context_path: z.ZodNullable<z.ZodString>;
1475
1646
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1476
1647
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1477
- comparison: z.ZodNullable<z.ZodObject<{
1648
+ readiness_run: z.ZodNullable<z.ZodObject<{
1478
1649
  kind: z.ZodLiteral<"interf-readiness-check-run">;
1479
1650
  version: z.ZodLiteral<1>;
1480
1651
  generated_at: z.ZodString;
1481
1652
  mode: z.ZodEnum<{
1653
+ "source-files": "source-files";
1482
1654
  compiled: "compiled";
1483
- raw: "raw";
1484
1655
  both: "both";
1485
1656
  }>;
1486
1657
  source_path: z.ZodString;
@@ -1489,7 +1660,7 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1489
1660
  name: z.ZodString;
1490
1661
  portable_context_path: z.ZodNullable<z.ZodString>;
1491
1662
  }, z.core.$strip>;
1492
- raw: z.ZodNullable<z.ZodObject<{
1663
+ source_files: z.ZodNullable<z.ZodObject<{
1493
1664
  label: z.ZodString;
1494
1665
  run_path: z.ZodString;
1495
1666
  ok: z.ZodBoolean;
@@ -1499,8 +1670,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1499
1670
  total_checks: z.ZodNumber;
1500
1671
  target: z.ZodObject<{
1501
1672
  type: z.ZodEnum<{
1673
+ "source-files": "source-files";
1502
1674
  compiled: "compiled";
1503
- raw: "raw";
1504
1675
  }>;
1505
1676
  name: z.ZodString;
1506
1677
  path: z.ZodString;
@@ -1517,8 +1688,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1517
1688
  total_checks: z.ZodNumber;
1518
1689
  target: z.ZodObject<{
1519
1690
  type: z.ZodEnum<{
1691
+ "source-files": "source-files";
1520
1692
  compiled: "compiled";
1521
- raw: "raw";
1522
1693
  }>;
1523
1694
  name: z.ZodString;
1524
1695
  path: z.ZodString;
@@ -1526,9 +1697,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1526
1697
  }, z.core.$strip>;
1527
1698
  }, z.core.$strip>>;
1528
1699
  summary: z.ZodObject<{
1529
- raw_pass_rate: z.ZodNullable<z.ZodNumber>;
1530
- compiled_pass_rate: z.ZodNullable<z.ZodNumber>;
1531
- pass_rate_delta: z.ZodNullable<z.ZodNumber>;
1700
+ source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
1701
+ portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
1532
1702
  }, z.core.$strip>;
1533
1703
  }, z.core.$strip>>;
1534
1704
  readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1554,8 +1724,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1554
1724
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1555
1725
  compile: z.ZodNullable<z.ZodObject<{
1556
1726
  gate: z.ZodEnum<{
1557
- "preparation-config": "preparation-config";
1558
1727
  "portable-context": "portable-context";
1728
+ "preparation-config": "preparation-config";
1559
1729
  "compile-run": "compile-run";
1560
1730
  "readiness-checks": "readiness-checks";
1561
1731
  "source-baseline": "source-baseline";
@@ -1600,12 +1770,11 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1600
1770
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1601
1771
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1602
1772
  }, z.core.$strict>>;
1603
- delta: z.ZodNullable<z.ZodNumber>;
1604
1773
  }, z.core.$strict>;
1605
1774
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1606
1775
  gate: z.ZodEnum<{
1607
- "preparation-config": "preparation-config";
1608
1776
  "portable-context": "portable-context";
1777
+ "preparation-config": "preparation-config";
1609
1778
  "compile-run": "compile-run";
1610
1779
  "readiness-checks": "readiness-checks";
1611
1780
  "source-baseline": "source-baseline";
@@ -1666,11 +1835,11 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1666
1835
  artifact: z.ZodObject<{
1667
1836
  path: z.ZodString;
1668
1837
  role: z.ZodEnum<{
1669
- output: "output";
1670
1838
  runtime: "runtime";
1839
+ output: "output";
1671
1840
  source: "source";
1672
- test: "test";
1673
1841
  proof: "proof";
1842
+ test: "test";
1674
1843
  }>;
1675
1844
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1676
1845
  label: z.ZodOptional<z.ZodString>;
@@ -1692,11 +1861,11 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1692
1861
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1693
1862
  path: z.ZodString;
1694
1863
  role: z.ZodEnum<{
1695
- output: "output";
1696
1864
  runtime: "runtime";
1865
+ output: "output";
1697
1866
  source: "source";
1698
- test: "test";
1699
1867
  proof: "proof";
1868
+ test: "test";
1700
1869
  }>;
1701
1870
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1702
1871
  label: z.ZodOptional<z.ZodString>;
@@ -1755,8 +1924,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1755
1924
  passed: z.ZodNumber;
1756
1925
  total: z.ZodNumber;
1757
1926
  target: z.ZodOptional<z.ZodEnum<{
1927
+ "source-files": "source-files";
1758
1928
  compiled: "compiled";
1759
- raw: "raw";
1760
1929
  }>>;
1761
1930
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1762
1931
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -1790,8 +1959,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1790
1959
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1791
1960
  compile: z.ZodNullable<z.ZodObject<{
1792
1961
  gate: z.ZodEnum<{
1793
- "preparation-config": "preparation-config";
1794
1962
  "portable-context": "portable-context";
1963
+ "preparation-config": "preparation-config";
1795
1964
  "compile-run": "compile-run";
1796
1965
  "readiness-checks": "readiness-checks";
1797
1966
  "source-baseline": "source-baseline";
@@ -1836,12 +2005,11 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1836
2005
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1837
2006
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1838
2007
  }, z.core.$strict>>;
1839
- delta: z.ZodNullable<z.ZodNumber>;
1840
2008
  }, z.core.$strict>;
1841
2009
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1842
2010
  gate: z.ZodEnum<{
1843
- "preparation-config": "preparation-config";
1844
2011
  "portable-context": "portable-context";
2012
+ "preparation-config": "preparation-config";
1845
2013
  "compile-run": "compile-run";
1846
2014
  "readiness-checks": "readiness-checks";
1847
2015
  "source-baseline": "source-baseline";
@@ -1877,16 +2045,15 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
1877
2045
  compile: "compile";
1878
2046
  "method-authoring": "method-authoring";
1879
2047
  "method-improvement": "method-improvement";
1880
- "preparation-setup": "preparation-setup";
1881
2048
  test: "test";
1882
2049
  "readiness-check-draft": "readiness-check-draft";
1883
2050
  job: "job";
1884
2051
  }>;
1885
2052
  title: z.ZodString;
1886
2053
  status: z.ZodEnum<{
2054
+ succeeded: "succeeded";
1887
2055
  failed: "failed";
1888
2056
  running: "running";
1889
- succeeded: "succeeded";
1890
2057
  cancelled: "cancelled";
1891
2058
  queued: "queued";
1892
2059
  }>;
@@ -1920,11 +2087,11 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
1920
2087
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1921
2088
  path: z.ZodString;
1922
2089
  role: z.ZodEnum<{
1923
- output: "output";
1924
2090
  runtime: "runtime";
2091
+ output: "output";
1925
2092
  source: "source";
1926
- test: "test";
1927
2093
  proof: "proof";
2094
+ test: "test";
1928
2095
  }>;
1929
2096
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1930
2097
  label: z.ZodOptional<z.ZodString>;
@@ -1959,8 +2126,8 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
1959
2126
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1960
2127
  compile: z.ZodNullable<z.ZodObject<{
1961
2128
  gate: z.ZodEnum<{
1962
- "preparation-config": "preparation-config";
1963
2129
  "portable-context": "portable-context";
2130
+ "preparation-config": "preparation-config";
1964
2131
  "compile-run": "compile-run";
1965
2132
  "readiness-checks": "readiness-checks";
1966
2133
  "source-baseline": "source-baseline";
@@ -2005,12 +2172,11 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2005
2172
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2006
2173
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2007
2174
  }, z.core.$strict>>;
2008
- delta: z.ZodNullable<z.ZodNumber>;
2009
2175
  }, z.core.$strict>;
2010
2176
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2011
2177
  gate: z.ZodEnum<{
2012
- "preparation-config": "preparation-config";
2013
2178
  "portable-context": "portable-context";
2179
+ "preparation-config": "preparation-config";
2014
2180
  "compile-run": "compile-run";
2015
2181
  "readiness-checks": "readiness-checks";
2016
2182
  "source-baseline": "source-baseline";
@@ -2098,43 +2264,6 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2098
2264
  }, z.core.$strict>>>;
2099
2265
  }, z.core.$strict>;
2100
2266
  }, z.core.$strict>;
2101
- export declare const RunCreateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2102
- run_type: z.ZodLiteral<"compile">;
2103
- preparation: z.ZodString;
2104
- method: z.ZodOptional<z.ZodString>;
2105
- max_attempts: z.ZodOptional<z.ZodNumber>;
2106
- max_loops: z.ZodOptional<z.ZodNumber>;
2107
- preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
2108
- "on-failure": "on-failure";
2109
- always: "always";
2110
- }>>;
2111
- }, z.core.$strict>, z.ZodObject<{
2112
- run_type: z.ZodLiteral<"prepare">;
2113
- preparation: z.ZodString;
2114
- method: z.ZodOptional<z.ZodString>;
2115
- max_attempts: z.ZodOptional<z.ZodNumber>;
2116
- max_loops: z.ZodOptional<z.ZodNumber>;
2117
- preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
2118
- "on-failure": "on-failure";
2119
- always: "always";
2120
- }>>;
2121
- }, z.core.$strict>, z.ZodObject<{
2122
- run_type: z.ZodLiteral<"test">;
2123
- preparation: z.ZodString;
2124
- mode: z.ZodDefault<z.ZodEnum<{
2125
- compiled: "compiled";
2126
- raw: "raw";
2127
- both: "both";
2128
- }>>;
2129
- }, z.core.$strict>, z.ZodObject<{
2130
- run_type: z.ZodLiteral<"check">;
2131
- preparation: z.ZodString;
2132
- mode: z.ZodDefault<z.ZodEnum<{
2133
- compiled: "compiled";
2134
- raw: "raw";
2135
- both: "both";
2136
- }>>;
2137
- }, z.core.$strict>], "run_type">;
2138
2267
  export declare const LocalExecutorStatusSchema: z.ZodObject<{
2139
2268
  kind: z.ZodLiteral<"interf-local-executor-status">;
2140
2269
  version: z.ZodLiteral<1>;
@@ -2163,11 +2292,21 @@ export declare const ActionProposalTypeSchema: z.ZodEnum<{
2163
2292
  compile: "compile";
2164
2293
  "method-authoring": "method-authoring";
2165
2294
  "method-improvement": "method-improvement";
2166
- "preparation-setup": "preparation-setup";
2167
2295
  test: "test";
2168
2296
  "readiness-check-draft": "readiness-check-draft";
2169
2297
  clarification: "clarification";
2170
2298
  }>;
2299
+ export declare const ActionProposalPlanActionTypeSchema: z.ZodEnum<{
2300
+ compile: "compile";
2301
+ "method-authoring": "method-authoring";
2302
+ "method-improvement": "method-improvement";
2303
+ test: "test";
2304
+ "readiness-check-draft": "readiness-check-draft";
2305
+ "method-change": "method-change";
2306
+ "preparation-change": "preparation-change";
2307
+ clarification: "clarification";
2308
+ "preparation-setup": "preparation-setup";
2309
+ }>;
2171
2310
  export declare const ActionProposalStatusSchema: z.ZodEnum<{
2172
2311
  failed: "failed";
2173
2312
  needs_clarification: "needs_clarification";
@@ -2176,9 +2315,25 @@ export declare const ActionProposalStatusSchema: z.ZodEnum<{
2176
2315
  denied: "denied";
2177
2316
  submitted: "submitted";
2178
2317
  }>;
2318
+ export declare const ActionClientOriginSchema: z.ZodEnum<{
2319
+ unknown: "unknown";
2320
+ service: "service";
2321
+ "ui-chat": "ui-chat";
2322
+ cli: "cli";
2323
+ "agent-cli": "agent-cli";
2324
+ mcp: "mcp";
2325
+ }>;
2179
2326
  export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
2180
2327
  message: z.ZodString;
2181
2328
  preparation: z.ZodOptional<z.ZodString>;
2329
+ client_origin: z.ZodDefault<z.ZodEnum<{
2330
+ unknown: "unknown";
2331
+ service: "service";
2332
+ "ui-chat": "ui-chat";
2333
+ cli: "cli";
2334
+ "agent-cli": "agent-cli";
2335
+ mcp: "mcp";
2336
+ }>>;
2182
2337
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2183
2338
  }, z.core.$strict>;
2184
2339
  export declare const ActionProposalPlanSchema: z.ZodObject<{
@@ -2186,10 +2341,12 @@ export declare const ActionProposalPlanSchema: z.ZodObject<{
2186
2341
  compile: "compile";
2187
2342
  "method-authoring": "method-authoring";
2188
2343
  "method-improvement": "method-improvement";
2189
- "preparation-setup": "preparation-setup";
2190
2344
  test: "test";
2191
2345
  "readiness-check-draft": "readiness-check-draft";
2346
+ "method-change": "method-change";
2347
+ "preparation-change": "preparation-change";
2192
2348
  clarification: "clarification";
2349
+ "preparation-setup": "preparation-setup";
2193
2350
  }>;
2194
2351
  preparation: z.ZodOptional<z.ZodString>;
2195
2352
  method: z.ZodOptional<z.ZodString>;
@@ -2227,6 +2384,14 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2227
2384
  message: z.ZodString;
2228
2385
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2229
2386
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2387
+ client_origin: z.ZodDefault<z.ZodEnum<{
2388
+ unknown: "unknown";
2389
+ service: "service";
2390
+ "ui-chat": "ui-chat";
2391
+ cli: "cli";
2392
+ "agent-cli": "agent-cli";
2393
+ mcp: "mcp";
2394
+ }>>;
2230
2395
  created_at: z.ZodString;
2231
2396
  updated_at: z.ZodString;
2232
2397
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2267,6 +2432,14 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2267
2432
  message: z.ZodString;
2268
2433
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2269
2434
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2435
+ client_origin: z.ZodDefault<z.ZodEnum<{
2436
+ unknown: "unknown";
2437
+ service: "service";
2438
+ "ui-chat": "ui-chat";
2439
+ cli: "cli";
2440
+ "agent-cli": "agent-cli";
2441
+ mcp: "mcp";
2442
+ }>>;
2270
2443
  created_at: z.ZodString;
2271
2444
  updated_at: z.ZodString;
2272
2445
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2316,70 +2489,14 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2316
2489
  message: z.ZodString;
2317
2490
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2318
2491
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2319
- created_at: z.ZodString;
2320
- updated_at: z.ZodString;
2321
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2322
- name: z.ZodString;
2323
- display_name: z.ZodString;
2324
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2325
- }, z.core.$strict>>>;
2326
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2327
- approved: z.ZodBoolean;
2328
- decided_at: z.ZodString;
2329
- note: z.ZodOptional<z.ZodString>;
2330
- }, z.core.$strict>>>;
2331
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2332
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2333
- "compile-run": "compile-run";
2334
- "test-run": "test-run";
2335
- "job-run": "job-run";
2336
- }>>>;
2337
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2338
- action_type: z.ZodLiteral<"preparation-setup">;
2339
- request: z.ZodObject<{
2340
- preparation: z.ZodObject<{
2341
- id: z.ZodOptional<z.ZodString>;
2342
- name: z.ZodString;
2343
- path: z.ZodString;
2344
- about: z.ZodOptional<z.ZodString>;
2345
- method: z.ZodOptional<z.ZodString>;
2346
- max_attempts: z.ZodOptional<z.ZodNumber>;
2347
- max_loops: z.ZodOptional<z.ZodNumber>;
2348
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2349
- id: z.ZodOptional<z.ZodString>;
2350
- question: z.ZodString;
2351
- answer: z.ZodOptional<z.ZodString>;
2352
- expect: z.ZodOptional<z.ZodObject<{
2353
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2354
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2355
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2356
- min_words: z.ZodOptional<z.ZodNumber>;
2357
- max_words: z.ZodOptional<z.ZodNumber>;
2358
- }, z.core.$strip>>;
2359
- strictness: z.ZodOptional<z.ZodString>;
2360
- }, z.core.$strict>>>;
2361
- }, z.core.$strict>;
2362
- prepare_after_setup: z.ZodDefault<z.ZodBoolean>;
2363
- }, z.core.$strict>;
2364
- }, z.core.$strict>, z.ZodObject<{
2365
- kind: z.ZodLiteral<"interf-action-proposal">;
2366
- version: z.ZodLiteral<1>;
2367
- proposal_id: z.ZodString;
2368
- status: z.ZodEnum<{
2369
- failed: "failed";
2370
- needs_clarification: "needs_clarification";
2371
- awaiting_approval: "awaiting_approval";
2372
- approved: "approved";
2373
- denied: "denied";
2374
- submitted: "submitted";
2375
- }>;
2376
- title: z.ZodString;
2377
- summary: z.ZodString;
2378
- assistant_message: z.ZodOptional<z.ZodString>;
2379
- command_preview: z.ZodOptional<z.ZodString>;
2380
- message: z.ZodString;
2381
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2382
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2492
+ client_origin: z.ZodDefault<z.ZodEnum<{
2493
+ unknown: "unknown";
2494
+ service: "service";
2495
+ "ui-chat": "ui-chat";
2496
+ cli: "cli";
2497
+ "agent-cli": "agent-cli";
2498
+ mcp: "mcp";
2499
+ }>>;
2383
2500
  created_at: z.ZodString;
2384
2501
  updated_at: z.ZodString;
2385
2502
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2403,8 +2520,8 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2403
2520
  request: z.ZodObject<{
2404
2521
  preparation: z.ZodString;
2405
2522
  mode: z.ZodDefault<z.ZodEnum<{
2523
+ "source-files": "source-files";
2406
2524
  compiled: "compiled";
2407
- raw: "raw";
2408
2525
  both: "both";
2409
2526
  }>>;
2410
2527
  }, z.core.$strict>;
@@ -2427,6 +2544,14 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2427
2544
  message: z.ZodString;
2428
2545
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2429
2546
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2547
+ client_origin: z.ZodDefault<z.ZodEnum<{
2548
+ unknown: "unknown";
2549
+ service: "service";
2550
+ "ui-chat": "ui-chat";
2551
+ cli: "cli";
2552
+ "agent-cli": "agent-cli";
2553
+ mcp: "mcp";
2554
+ }>>;
2430
2555
  created_at: z.ZodString;
2431
2556
  updated_at: z.ZodString;
2432
2557
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2472,6 +2597,14 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2472
2597
  message: z.ZodString;
2473
2598
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2474
2599
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2600
+ client_origin: z.ZodDefault<z.ZodEnum<{
2601
+ unknown: "unknown";
2602
+ service: "service";
2603
+ "ui-chat": "ui-chat";
2604
+ cli: "cli";
2605
+ "agent-cli": "agent-cli";
2606
+ mcp: "mcp";
2607
+ }>>;
2475
2608
  created_at: z.ZodString;
2476
2609
  updated_at: z.ZodString;
2477
2610
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2534,6 +2667,14 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2534
2667
  message: z.ZodString;
2535
2668
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2536
2669
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2670
+ client_origin: z.ZodDefault<z.ZodEnum<{
2671
+ unknown: "unknown";
2672
+ service: "service";
2673
+ "ui-chat": "ui-chat";
2674
+ cli: "cli";
2675
+ "agent-cli": "agent-cli";
2676
+ mcp: "mcp";
2677
+ }>>;
2537
2678
  created_at: z.ZodString;
2538
2679
  updated_at: z.ZodString;
2539
2680
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -2605,8 +2746,8 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2605
2746
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2606
2747
  compile: z.ZodNullable<z.ZodObject<{
2607
2748
  gate: z.ZodEnum<{
2608
- "preparation-config": "preparation-config";
2609
2749
  "portable-context": "portable-context";
2750
+ "preparation-config": "preparation-config";
2610
2751
  "compile-run": "compile-run";
2611
2752
  "readiness-checks": "readiness-checks";
2612
2753
  "source-baseline": "source-baseline";
@@ -2651,12 +2792,11 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2651
2792
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2652
2793
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2653
2794
  }, z.core.$strict>>;
2654
- delta: z.ZodNullable<z.ZodNumber>;
2655
2795
  }, z.core.$strict>;
2656
2796
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2657
2797
  gate: z.ZodEnum<{
2658
- "preparation-config": "preparation-config";
2659
2798
  "portable-context": "portable-context";
2799
+ "preparation-config": "preparation-config";
2660
2800
  "compile-run": "compile-run";
2661
2801
  "readiness-checks": "readiness-checks";
2662
2802
  "source-baseline": "source-baseline";
@@ -2687,11 +2827,11 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2687
2827
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
2688
2828
  path: z.ZodString;
2689
2829
  role: z.ZodEnum<{
2690
- output: "output";
2691
2830
  runtime: "runtime";
2831
+ output: "output";
2692
2832
  source: "source";
2693
- test: "test";
2694
2833
  proof: "proof";
2834
+ test: "test";
2695
2835
  }>;
2696
2836
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2697
2837
  label: z.ZodOptional<z.ZodString>;
@@ -2721,2144 +2861,129 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2721
2861
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2722
2862
  compile: z.ZodNullable<z.ZodObject<{
2723
2863
  gate: z.ZodEnum<{
2724
- "preparation-config": "preparation-config";
2725
2864
  "portable-context": "portable-context";
2865
+ "preparation-config": "preparation-config";
2726
2866
  "compile-run": "compile-run";
2727
2867
  "readiness-checks": "readiness-checks";
2728
2868
  "source-baseline": "source-baseline";
2729
2869
  "portable-context-check": "portable-context-check";
2730
2870
  "checks-current": "checks-current";
2731
- }>;
2732
- ok: z.ZodBoolean;
2733
- status: z.ZodOptional<z.ZodEnum<{
2734
- "not-configured": "not-configured";
2735
- "not-built": "not-built";
2736
- building: "building";
2737
- built: "built";
2738
- checking: "checking";
2739
- ready: "ready";
2740
- "not-ready": "not-ready";
2741
- stale: "stale";
2742
- failed: "failed";
2743
- }>>;
2744
- summary: z.ZodString;
2745
- detail: z.ZodOptional<z.ZodString>;
2746
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2747
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2748
- }, z.core.$strict>>;
2749
- check_results: z.ZodObject<{
2750
- configured: z.ZodNumber;
2751
- fingerprint: z.ZodNullable<z.ZodString>;
2752
- source_files: z.ZodNullable<z.ZodObject<{
2753
- passed: z.ZodNumber;
2754
- total: z.ZodNumber;
2755
- pass_rate: z.ZodNullable<z.ZodNumber>;
2756
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
- stale: z.ZodDefault<z.ZodBoolean>;
2758
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2759
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2760
- }, z.core.$strict>>;
2761
- portable_context: z.ZodNullable<z.ZodObject<{
2762
- passed: z.ZodNumber;
2763
- total: z.ZodNumber;
2764
- pass_rate: z.ZodNullable<z.ZodNumber>;
2765
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2766
- stale: z.ZodDefault<z.ZodBoolean>;
2767
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2768
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2769
- }, z.core.$strict>>;
2770
- delta: z.ZodNullable<z.ZodNumber>;
2771
- }, z.core.$strict>;
2772
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2773
- gate: z.ZodEnum<{
2774
- "preparation-config": "preparation-config";
2775
- "portable-context": "portable-context";
2776
- "compile-run": "compile-run";
2777
- "readiness-checks": "readiness-checks";
2778
- "source-baseline": "source-baseline";
2779
- "portable-context-check": "portable-context-check";
2780
- "checks-current": "checks-current";
2781
- }>;
2782
- ok: z.ZodBoolean;
2783
- status: z.ZodOptional<z.ZodEnum<{
2784
- "not-configured": "not-configured";
2785
- "not-built": "not-built";
2786
- building: "building";
2787
- built: "built";
2788
- checking: "checking";
2789
- ready: "ready";
2790
- "not-ready": "not-ready";
2791
- stale: "stale";
2792
- failed: "failed";
2793
- }>>;
2794
- summary: z.ZodString;
2795
- detail: z.ZodOptional<z.ZodString>;
2796
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2797
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2798
- }, z.core.$strict>>>;
2799
- }, z.core.$strict>;
2800
- export declare const SourceFileResourceSchema: z.ZodObject<{
2801
- preparation: z.ZodString;
2802
- path: z.ZodString;
2803
- absolute_path: z.ZodString;
2804
- size_bytes: z.ZodNumber;
2805
- modified_at: z.ZodNullable<z.ZodString>;
2806
- source_folder_path: z.ZodString;
2807
- }, z.core.$strict>;
2808
- export declare const WorkspaceFileResourceSchema: z.ZodObject<{
2809
- path: z.ZodString;
2810
- absolute_path: z.ZodString;
2811
- size_bytes: z.ZodNumber;
2812
- modified_at: z.ZodNullable<z.ZodString>;
2813
- }, z.core.$strict>;
2814
- export declare const LocalServiceDiscoverySchema: z.ZodObject<{
2815
- kind: z.ZodLiteral<"interf-local-service-discovery">;
2816
- version: z.ZodLiteral<1>;
2817
- resources: z.ZodObject<{
2818
- preparations: z.ZodString;
2819
- methods: z.ZodString;
2820
- runs: z.ZodString;
2821
- readiness: z.ZodString;
2822
- portable_contexts: z.ZodString;
2823
- source_files: z.ZodString;
2824
- workspace_files: z.ZodString;
2825
- action_proposals: z.ZodString;
2826
- executor: z.ZodString;
2827
- }, z.core.$strict>;
2828
- }, z.core.$strict>;
2829
- export declare const OpenPathRequestSchema: z.ZodObject<{
2830
- path: z.ZodString;
2831
- }, z.core.$strict>;
2832
- export declare const OpenPathResponseSchema: z.ZodObject<{
2833
- opened: z.ZodBoolean;
2834
- path: z.ZodString;
2835
- }, z.core.$strict>;
2836
- export declare const LocalServiceResourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2837
- kind: z.ZodLiteral<"preparation">;
2838
- value: z.ZodObject<{
2839
- id: z.ZodString;
2840
- name: z.ZodString;
2841
- preparation: z.ZodObject<{
2842
- id: z.ZodOptional<z.ZodString>;
2843
- name: z.ZodString;
2844
- path: z.ZodString;
2845
- about: z.ZodOptional<z.ZodString>;
2846
- method: z.ZodOptional<z.ZodString>;
2847
- max_attempts: z.ZodOptional<z.ZodNumber>;
2848
- max_loops: z.ZodOptional<z.ZodNumber>;
2849
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2850
- id: z.ZodOptional<z.ZodString>;
2851
- question: z.ZodString;
2852
- answer: z.ZodOptional<z.ZodString>;
2853
- expect: z.ZodOptional<z.ZodObject<{
2854
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2855
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2856
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2857
- min_words: z.ZodOptional<z.ZodNumber>;
2858
- max_words: z.ZodOptional<z.ZodNumber>;
2859
- }, z.core.$strip>>;
2860
- strictness: z.ZodOptional<z.ZodString>;
2861
- }, z.core.$strict>>>;
2862
- }, z.core.$strict>;
2863
- source_path: z.ZodString;
2864
- method_id: z.ZodNullable<z.ZodString>;
2865
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2866
- id: z.ZodOptional<z.ZodString>;
2867
- question: z.ZodString;
2868
- answer: z.ZodOptional<z.ZodString>;
2869
- expect: z.ZodOptional<z.ZodObject<{
2870
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2871
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2872
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2873
- min_words: z.ZodOptional<z.ZodNumber>;
2874
- max_words: z.ZodOptional<z.ZodNumber>;
2875
- }, z.core.$strip>>;
2876
- strictness: z.ZodOptional<z.ZodString>;
2877
- }, z.core.$strict>>>;
2878
- portable_context: z.ZodObject<{
2879
- preparation: z.ZodString;
2880
- path: z.ZodNullable<z.ZodString>;
2881
- exists: z.ZodBoolean;
2882
- method_id: z.ZodNullable<z.ZodString>;
2883
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
2884
- latest_test_run_id: z.ZodNullable<z.ZodString>;
2885
- }, z.core.$strict>;
2886
- portable_context_path: z.ZodNullable<z.ZodString>;
2887
- readiness: z.ZodObject<{
2888
- kind: z.ZodLiteral<"interf-readiness-state">;
2889
- version: z.ZodLiteral<1>;
2890
- generated_at: z.ZodString;
2891
- preparation: z.ZodString;
2892
- status: z.ZodEnum<{
2893
- "not-configured": "not-configured";
2894
- "not-built": "not-built";
2895
- building: "building";
2896
- built: "built";
2897
- checking: "checking";
2898
- ready: "ready";
2899
- "not-ready": "not-ready";
2900
- stale: "stale";
2901
- failed: "failed";
2902
- }>;
2903
- ready: z.ZodBoolean;
2904
- summary: z.ZodString;
2905
- portable_context_path: z.ZodNullable<z.ZodString>;
2906
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2907
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2908
- compile: z.ZodNullable<z.ZodObject<{
2909
- gate: z.ZodEnum<{
2910
- "preparation-config": "preparation-config";
2911
- "portable-context": "portable-context";
2912
- "compile-run": "compile-run";
2913
- "readiness-checks": "readiness-checks";
2914
- "source-baseline": "source-baseline";
2915
- "portable-context-check": "portable-context-check";
2916
- "checks-current": "checks-current";
2917
- }>;
2918
- ok: z.ZodBoolean;
2919
- status: z.ZodOptional<z.ZodEnum<{
2920
- "not-configured": "not-configured";
2921
- "not-built": "not-built";
2922
- building: "building";
2923
- built: "built";
2924
- checking: "checking";
2925
- ready: "ready";
2926
- "not-ready": "not-ready";
2927
- stale: "stale";
2928
- failed: "failed";
2929
- }>>;
2930
- summary: z.ZodString;
2931
- detail: z.ZodOptional<z.ZodString>;
2932
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2933
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2934
- }, z.core.$strict>>;
2935
- check_results: z.ZodObject<{
2936
- configured: z.ZodNumber;
2937
- fingerprint: z.ZodNullable<z.ZodString>;
2938
- source_files: z.ZodNullable<z.ZodObject<{
2939
- passed: z.ZodNumber;
2940
- total: z.ZodNumber;
2941
- pass_rate: z.ZodNullable<z.ZodNumber>;
2942
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2943
- stale: z.ZodDefault<z.ZodBoolean>;
2944
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2945
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2946
- }, z.core.$strict>>;
2947
- portable_context: z.ZodNullable<z.ZodObject<{
2948
- passed: z.ZodNumber;
2949
- total: z.ZodNumber;
2950
- pass_rate: z.ZodNullable<z.ZodNumber>;
2951
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2952
- stale: z.ZodDefault<z.ZodBoolean>;
2953
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2954
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2955
- }, z.core.$strict>>;
2956
- delta: z.ZodNullable<z.ZodNumber>;
2957
- }, z.core.$strict>;
2958
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2959
- gate: z.ZodEnum<{
2960
- "preparation-config": "preparation-config";
2961
- "portable-context": "portable-context";
2962
- "compile-run": "compile-run";
2963
- "readiness-checks": "readiness-checks";
2964
- "source-baseline": "source-baseline";
2965
- "portable-context-check": "portable-context-check";
2966
- "checks-current": "checks-current";
2967
- }>;
2968
- ok: z.ZodBoolean;
2969
- status: z.ZodOptional<z.ZodEnum<{
2970
- "not-configured": "not-configured";
2971
- "not-built": "not-built";
2972
- building: "building";
2973
- built: "built";
2974
- checking: "checking";
2975
- ready: "ready";
2976
- "not-ready": "not-ready";
2977
- stale: "stale";
2978
- failed: "failed";
2979
- }>>;
2980
- summary: z.ZodString;
2981
- detail: z.ZodOptional<z.ZodString>;
2982
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2983
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2984
- }, z.core.$strict>>>;
2985
- }, z.core.$strict>;
2986
- runs: z.ZodObject<{
2987
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
2988
- latest_test_run_id: z.ZodNullable<z.ZodString>;
2989
- }, z.core.$strict>;
2990
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2991
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2992
- }, z.core.$strict>;
2993
- }, z.core.$strict>, z.ZodObject<{
2994
- kind: z.ZodLiteral<"method">;
2995
- value: z.ZodObject<{
2996
- id: z.ZodString;
2997
- method_id: z.ZodString;
2998
- path: z.ZodString;
2999
- label: z.ZodOptional<z.ZodString>;
3000
- hint: z.ZodOptional<z.ZodString>;
3001
- source_kind: z.ZodDefault<z.ZodEnum<{
3002
- builtin: "builtin";
3003
- local: "local";
3004
- }>>;
3005
- built_in: z.ZodDefault<z.ZodBoolean>;
3006
- active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3007
- stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
3008
- id: z.ZodString;
3009
- label: z.ZodString;
3010
- description: z.ZodOptional<z.ZodString>;
3011
- contract_type: z.ZodString;
3012
- skill_dir: z.ZodString;
3013
- reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3014
- writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3015
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3016
- }, z.core.$strict>>>;
3017
- }, z.core.$strict>;
3018
- }, z.core.$strict>, z.ZodObject<{
3019
- kind: z.ZodLiteral<"compile-run">;
3020
- value: z.ZodObject<{
3021
- run: z.ZodObject<{
3022
- kind: z.ZodLiteral<"interf-compile-run">;
3023
- version: z.ZodLiteral<1>;
3024
- run_id: z.ZodString;
3025
- status: z.ZodEnum<{
3026
- failed: "failed";
3027
- running: "running";
3028
- succeeded: "succeeded";
3029
- cancelled: "cancelled";
3030
- queued: "queued";
3031
- }>;
3032
- preparation: z.ZodString;
3033
- method: z.ZodString;
3034
- backend: z.ZodEnum<{
3035
- native: "native";
3036
- "workflow-sdk": "workflow-sdk";
3037
- }>;
3038
- source_path: z.ZodString;
3039
- portable_context_path: z.ZodString;
3040
- created_at: z.ZodString;
3041
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3042
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3043
- stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
3044
- run_id: z.ZodString;
3045
- stage_id: z.ZodString;
3046
- stage_label: z.ZodOptional<z.ZodString>;
3047
- stage_index: z.ZodOptional<z.ZodNumber>;
3048
- stage_total: z.ZodOptional<z.ZodNumber>;
3049
- status: z.ZodEnum<{
3050
- failed: "failed";
3051
- running: "running";
3052
- succeeded: "succeeded";
3053
- queued: "queued";
3054
- }>;
3055
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3056
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3057
- summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3058
- contract: z.ZodOptional<z.ZodObject<{
3059
- stage_label: z.ZodOptional<z.ZodString>;
3060
- stage_index: z.ZodOptional<z.ZodNumber>;
3061
- stage_total: z.ZodOptional<z.ZodNumber>;
3062
- reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3063
- writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3064
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3065
- }, z.core.$strict>>;
3066
- executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3067
- kind: z.ZodEnum<{
3068
- "local-agent": "local-agent";
3069
- "connected-provider": "connected-provider";
3070
- managed: "managed";
3071
- }>;
3072
- name: z.ZodString;
3073
- display_name: z.ZodString;
3074
- command: z.ZodNullable<z.ZodString>;
3075
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3076
- effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3077
- profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3078
- timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3079
- }, z.core.$strip>>>;
3080
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3081
- path: z.ZodString;
3082
- role: z.ZodEnum<{
3083
- output: "output";
3084
- runtime: "runtime";
3085
- source: "source";
3086
- test: "test";
3087
- proof: "proof";
3088
- }>;
3089
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3090
- label: z.ZodOptional<z.ZodString>;
3091
- sha256: z.ZodOptional<z.ZodString>;
3092
- }, z.core.$strict>>>;
3093
- logs: z.ZodOptional<z.ZodObject<{
3094
- prompt_path: z.ZodOptional<z.ZodString>;
3095
- event_stream_path: z.ZodOptional<z.ZodString>;
3096
- status_path: z.ZodOptional<z.ZodString>;
3097
- contract_path: z.ZodOptional<z.ZodString>;
3098
- }, z.core.$strict>>;
3099
- latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3100
- id: z.ZodString;
3101
- run_id: z.ZodString;
3102
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3103
- generated_at: z.ZodString;
3104
- summary: z.ZodString;
3105
- files_processed: z.ZodOptional<z.ZodNumber>;
3106
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3107
- path: z.ZodString;
3108
- role: z.ZodEnum<{
3109
- output: "output";
3110
- runtime: "runtime";
3111
- source: "source";
3112
- test: "test";
3113
- proof: "proof";
3114
- }>;
3115
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3116
- label: z.ZodOptional<z.ZodString>;
3117
- sha256: z.ZodOptional<z.ZodString>;
3118
- }, z.core.$strict>>>;
3119
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3120
- id: z.ZodString;
3121
- label: z.ZodString;
3122
- ok: z.ZodBoolean;
3123
- detail: z.ZodOptional<z.ZodString>;
3124
- }, z.core.$strict>>>;
3125
- }, z.core.$strict>>>;
3126
- failure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3127
- }, z.core.$strict>>>;
3128
- events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3129
- event_id: z.ZodString;
3130
- run_id: z.ZodString;
3131
- timestamp: z.ZodString;
3132
- type: z.ZodLiteral<"run.started">;
3133
- preparation: z.ZodString;
3134
- method: z.ZodString;
3135
- portable_context_path: z.ZodString;
3136
- backend: z.ZodEnum<{
3137
- native: "native";
3138
- "workflow-sdk": "workflow-sdk";
3139
- }>;
3140
- }, z.core.$strict>, z.ZodObject<{
3141
- event_id: z.ZodString;
3142
- run_id: z.ZodString;
3143
- timestamp: z.ZodString;
3144
- type: z.ZodLiteral<"stage.started">;
3145
- stage_id: z.ZodString;
3146
- stage_index: z.ZodOptional<z.ZodNumber>;
3147
- stage_total: z.ZodOptional<z.ZodNumber>;
3148
- }, z.core.$strict>, z.ZodObject<{
3149
- event_id: z.ZodString;
3150
- run_id: z.ZodString;
3151
- timestamp: z.ZodString;
3152
- type: z.ZodLiteral<"file.processed">;
3153
- stage_id: z.ZodString;
3154
- path: z.ZodString;
3155
- }, z.core.$strict>, z.ZodObject<{
3156
- event_id: z.ZodString;
3157
- run_id: z.ZodString;
3158
- timestamp: z.ZodString;
3159
- type: z.ZodLiteral<"artifact.written">;
3160
- stage_id: z.ZodString;
3161
- artifact: z.ZodObject<{
3162
- path: z.ZodString;
3163
- role: z.ZodEnum<{
3164
- output: "output";
3165
- runtime: "runtime";
3166
- source: "source";
3167
- test: "test";
3168
- proof: "proof";
3169
- }>;
3170
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3171
- label: z.ZodOptional<z.ZodString>;
3172
- sha256: z.ZodOptional<z.ZodString>;
3173
- }, z.core.$strict>;
3174
- }, z.core.$strict>, z.ZodObject<{
3175
- event_id: z.ZodString;
3176
- run_id: z.ZodString;
3177
- timestamp: z.ZodString;
3178
- type: z.ZodLiteral<"proof.updated">;
3179
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3180
- proof: z.ZodObject<{
3181
- id: z.ZodString;
3182
- run_id: z.ZodString;
3183
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3184
- generated_at: z.ZodString;
3185
- summary: z.ZodString;
3186
- files_processed: z.ZodOptional<z.ZodNumber>;
3187
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3188
- path: z.ZodString;
3189
- role: z.ZodEnum<{
3190
- output: "output";
3191
- runtime: "runtime";
3192
- source: "source";
3193
- test: "test";
3194
- proof: "proof";
3195
- }>;
3196
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3197
- label: z.ZodOptional<z.ZodString>;
3198
- sha256: z.ZodOptional<z.ZodString>;
3199
- }, z.core.$strict>>>;
3200
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3201
- id: z.ZodString;
3202
- label: z.ZodString;
3203
- ok: z.ZodBoolean;
3204
- detail: z.ZodOptional<z.ZodString>;
3205
- }, z.core.$strict>>>;
3206
- }, z.core.$strict>;
3207
- }, z.core.$strict>, z.ZodObject<{
3208
- event_id: z.ZodString;
3209
- run_id: z.ZodString;
3210
- timestamp: z.ZodString;
3211
- type: z.ZodLiteral<"log.appended">;
3212
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3213
- stream: z.ZodEnum<{
3214
- status: "status";
3215
- trace: "trace";
3216
- system: "system";
3217
- }>;
3218
- message: z.ZodString;
3219
- }, z.core.$strict>, z.ZodObject<{
3220
- event_id: z.ZodString;
3221
- run_id: z.ZodString;
3222
- timestamp: z.ZodString;
3223
- type: z.ZodLiteral<"stage.passed">;
3224
- stage_id: z.ZodString;
3225
- summary: z.ZodOptional<z.ZodString>;
3226
- }, z.core.$strict>, z.ZodObject<{
3227
- event_id: z.ZodString;
3228
- run_id: z.ZodString;
3229
- timestamp: z.ZodString;
3230
- type: z.ZodLiteral<"stage.failed">;
3231
- stage_id: z.ZodString;
3232
- error: z.ZodString;
3233
- }, z.core.$strict>, z.ZodObject<{
3234
- event_id: z.ZodString;
3235
- run_id: z.ZodString;
3236
- timestamp: z.ZodString;
3237
- type: z.ZodLiteral<"run.completed">;
3238
- summary: z.ZodOptional<z.ZodString>;
3239
- }, z.core.$strict>, z.ZodObject<{
3240
- event_id: z.ZodString;
3241
- run_id: z.ZodString;
3242
- timestamp: z.ZodString;
3243
- type: z.ZodLiteral<"run.failed">;
3244
- error: z.ZodString;
3245
- }, z.core.$strict>, z.ZodObject<{
3246
- event_id: z.ZodString;
3247
- run_id: z.ZodString;
3248
- timestamp: z.ZodString;
3249
- type: z.ZodLiteral<"checks.evaluated">;
3250
- passed: z.ZodNumber;
3251
- total: z.ZodNumber;
3252
- target: z.ZodOptional<z.ZodEnum<{
3253
- compiled: "compiled";
3254
- raw: "raw";
3255
- }>>;
3256
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3257
- stale: z.ZodOptional<z.ZodBoolean>;
3258
- test_run_id: z.ZodOptional<z.ZodString>;
3259
- }, z.core.$strict>, z.ZodObject<{
3260
- event_id: z.ZodString;
3261
- run_id: z.ZodString;
3262
- timestamp: z.ZodString;
3263
- type: z.ZodLiteral<"readiness.updated">;
3264
- preparation: z.ZodString;
3265
- readiness: z.ZodObject<{
3266
- kind: z.ZodLiteral<"interf-readiness-state">;
3267
- version: z.ZodLiteral<1>;
3268
- generated_at: z.ZodString;
3269
- preparation: z.ZodString;
3270
- status: z.ZodEnum<{
3271
- "not-configured": "not-configured";
3272
- "not-built": "not-built";
3273
- building: "building";
3274
- built: "built";
3275
- checking: "checking";
3276
- ready: "ready";
3277
- "not-ready": "not-ready";
3278
- stale: "stale";
3279
- failed: "failed";
3280
- }>;
3281
- ready: z.ZodBoolean;
3282
- summary: z.ZodString;
3283
- portable_context_path: z.ZodNullable<z.ZodString>;
3284
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3285
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3286
- compile: z.ZodNullable<z.ZodObject<{
3287
- gate: z.ZodEnum<{
3288
- "preparation-config": "preparation-config";
3289
- "portable-context": "portable-context";
3290
- "compile-run": "compile-run";
3291
- "readiness-checks": "readiness-checks";
3292
- "source-baseline": "source-baseline";
3293
- "portable-context-check": "portable-context-check";
3294
- "checks-current": "checks-current";
3295
- }>;
3296
- ok: z.ZodBoolean;
3297
- status: z.ZodOptional<z.ZodEnum<{
3298
- "not-configured": "not-configured";
3299
- "not-built": "not-built";
3300
- building: "building";
3301
- built: "built";
3302
- checking: "checking";
3303
- ready: "ready";
3304
- "not-ready": "not-ready";
3305
- stale: "stale";
3306
- failed: "failed";
3307
- }>>;
3308
- summary: z.ZodString;
3309
- detail: z.ZodOptional<z.ZodString>;
3310
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3311
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3312
- }, z.core.$strict>>;
3313
- check_results: z.ZodObject<{
3314
- configured: z.ZodNumber;
3315
- fingerprint: z.ZodNullable<z.ZodString>;
3316
- source_files: z.ZodNullable<z.ZodObject<{
3317
- passed: z.ZodNumber;
3318
- total: z.ZodNumber;
3319
- pass_rate: z.ZodNullable<z.ZodNumber>;
3320
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3321
- stale: z.ZodDefault<z.ZodBoolean>;
3322
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3323
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3324
- }, z.core.$strict>>;
3325
- portable_context: z.ZodNullable<z.ZodObject<{
3326
- passed: z.ZodNumber;
3327
- total: z.ZodNumber;
3328
- pass_rate: z.ZodNullable<z.ZodNumber>;
3329
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3330
- stale: z.ZodDefault<z.ZodBoolean>;
3331
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3332
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3333
- }, z.core.$strict>>;
3334
- delta: z.ZodNullable<z.ZodNumber>;
3335
- }, z.core.$strict>;
3336
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3337
- gate: z.ZodEnum<{
3338
- "preparation-config": "preparation-config";
3339
- "portable-context": "portable-context";
3340
- "compile-run": "compile-run";
3341
- "readiness-checks": "readiness-checks";
3342
- "source-baseline": "source-baseline";
3343
- "portable-context-check": "portable-context-check";
3344
- "checks-current": "checks-current";
3345
- }>;
3346
- ok: z.ZodBoolean;
3347
- status: z.ZodOptional<z.ZodEnum<{
3348
- "not-configured": "not-configured";
3349
- "not-built": "not-built";
3350
- building: "building";
3351
- built: "built";
3352
- checking: "checking";
3353
- ready: "ready";
3354
- "not-ready": "not-ready";
3355
- stale: "stale";
3356
- failed: "failed";
3357
- }>>;
3358
- summary: z.ZodString;
3359
- detail: z.ZodOptional<z.ZodString>;
3360
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3361
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3362
- }, z.core.$strict>>>;
3363
- }, z.core.$strict>;
3364
- }, z.core.$strict>], "type">>>;
3365
- latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3366
- id: z.ZodString;
3367
- run_id: z.ZodString;
3368
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3369
- generated_at: z.ZodString;
3370
- summary: z.ZodString;
3371
- files_processed: z.ZodOptional<z.ZodNumber>;
3372
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3373
- path: z.ZodString;
3374
- role: z.ZodEnum<{
3375
- output: "output";
3376
- runtime: "runtime";
3377
- source: "source";
3378
- test: "test";
3379
- proof: "proof";
3380
- }>;
3381
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3382
- label: z.ZodOptional<z.ZodString>;
3383
- sha256: z.ZodOptional<z.ZodString>;
3384
- }, z.core.$strict>>>;
3385
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3386
- id: z.ZodString;
3387
- label: z.ZodString;
3388
- ok: z.ZodBoolean;
3389
- detail: z.ZodOptional<z.ZodString>;
3390
- }, z.core.$strict>>>;
3391
- }, z.core.$strict>>>;
3392
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3393
- kind: z.ZodLiteral<"interf-readiness-state">;
3394
- version: z.ZodLiteral<1>;
3395
- generated_at: z.ZodString;
3396
- preparation: z.ZodString;
3397
- status: z.ZodEnum<{
3398
- "not-configured": "not-configured";
3399
- "not-built": "not-built";
3400
- building: "building";
3401
- built: "built";
3402
- checking: "checking";
3403
- ready: "ready";
3404
- "not-ready": "not-ready";
3405
- stale: "stale";
3406
- failed: "failed";
3407
- }>;
3408
- ready: z.ZodBoolean;
3409
- summary: z.ZodString;
3410
- portable_context_path: z.ZodNullable<z.ZodString>;
3411
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3412
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3413
- compile: z.ZodNullable<z.ZodObject<{
3414
- gate: z.ZodEnum<{
3415
- "preparation-config": "preparation-config";
3416
- "portable-context": "portable-context";
3417
- "compile-run": "compile-run";
3418
- "readiness-checks": "readiness-checks";
3419
- "source-baseline": "source-baseline";
3420
- "portable-context-check": "portable-context-check";
3421
- "checks-current": "checks-current";
3422
- }>;
3423
- ok: z.ZodBoolean;
3424
- status: z.ZodOptional<z.ZodEnum<{
3425
- "not-configured": "not-configured";
3426
- "not-built": "not-built";
3427
- building: "building";
3428
- built: "built";
3429
- checking: "checking";
3430
- ready: "ready";
3431
- "not-ready": "not-ready";
3432
- stale: "stale";
3433
- failed: "failed";
3434
- }>>;
3435
- summary: z.ZodString;
3436
- detail: z.ZodOptional<z.ZodString>;
3437
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3438
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3439
- }, z.core.$strict>>;
3440
- check_results: z.ZodObject<{
3441
- configured: z.ZodNumber;
3442
- fingerprint: z.ZodNullable<z.ZodString>;
3443
- source_files: z.ZodNullable<z.ZodObject<{
3444
- passed: z.ZodNumber;
3445
- total: z.ZodNumber;
3446
- pass_rate: z.ZodNullable<z.ZodNumber>;
3447
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3448
- stale: z.ZodDefault<z.ZodBoolean>;
3449
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3450
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3451
- }, z.core.$strict>>;
3452
- portable_context: z.ZodNullable<z.ZodObject<{
3453
- passed: z.ZodNumber;
3454
- total: z.ZodNumber;
3455
- pass_rate: z.ZodNullable<z.ZodNumber>;
3456
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3457
- stale: z.ZodDefault<z.ZodBoolean>;
3458
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3459
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3460
- }, z.core.$strict>>;
3461
- delta: z.ZodNullable<z.ZodNumber>;
3462
- }, z.core.$strict>;
3463
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3464
- gate: z.ZodEnum<{
3465
- "preparation-config": "preparation-config";
3466
- "portable-context": "portable-context";
3467
- "compile-run": "compile-run";
3468
- "readiness-checks": "readiness-checks";
3469
- "source-baseline": "source-baseline";
3470
- "portable-context-check": "portable-context-check";
3471
- "checks-current": "checks-current";
3472
- }>;
3473
- ok: z.ZodBoolean;
3474
- status: z.ZodOptional<z.ZodEnum<{
3475
- "not-configured": "not-configured";
3476
- "not-built": "not-built";
3477
- building: "building";
3478
- built: "built";
3479
- checking: "checking";
3480
- ready: "ready";
3481
- "not-ready": "not-ready";
3482
- stale: "stale";
3483
- failed: "failed";
3484
- }>>;
3485
- summary: z.ZodString;
3486
- detail: z.ZodOptional<z.ZodString>;
3487
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3488
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3489
- }, z.core.$strict>>>;
3490
- }, z.core.$strict>>>;
3491
- }, z.core.$strict>;
3492
- }, z.core.$strict>;
3493
- }, z.core.$strict>, z.ZodObject<{
3494
- kind: z.ZodLiteral<"job-run">;
3495
- value: z.ZodObject<{
3496
- kind: z.ZodLiteral<"interf-local-job-run">;
3497
- version: z.ZodLiteral<1>;
3498
- run_id: z.ZodString;
3499
- job_type: z.ZodEnum<{
3500
- compile: "compile";
3501
- "method-authoring": "method-authoring";
3502
- "method-improvement": "method-improvement";
3503
- "preparation-setup": "preparation-setup";
3504
- test: "test";
3505
- "readiness-check-draft": "readiness-check-draft";
3506
- }>;
3507
- status: z.ZodEnum<{
3508
- failed: "failed";
3509
- running: "running";
3510
- succeeded: "succeeded";
3511
- cancelled: "cancelled";
3512
- queued: "queued";
3513
- }>;
3514
- title: z.ZodString;
3515
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3516
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3517
- source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3518
- output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3519
- agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3520
- name: z.ZodString;
3521
- display_name: z.ZodString;
3522
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3523
- }, z.core.$strict>>>;
3524
- created_at: z.ZodString;
3525
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3526
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3527
- steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
3528
- id: z.ZodString;
3529
- label: z.ZodString;
3530
- status: z.ZodEnum<{
3531
- failed: "failed";
3532
- running: "running";
3533
- succeeded: "succeeded";
3534
- cancelled: "cancelled";
3535
- queued: "queued";
3536
- }>;
3537
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3538
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3539
- summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3540
- input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3541
- output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3542
- }, z.core.$strict>>>;
3543
- events: z.ZodDefault<z.ZodArray<z.ZodObject<{
3544
- event_id: z.ZodString;
3545
- run_id: z.ZodString;
3546
- timestamp: z.ZodString;
3547
- type: z.ZodEnum<{
3548
- "artifact.written": "artifact.written";
3549
- "log.appended": "log.appended";
3550
- "job.started": "job.started";
3551
- "step.started": "step.started";
3552
- "step.completed": "step.completed";
3553
- "step.failed": "step.failed";
3554
- "job.completed": "job.completed";
3555
- "job.failed": "job.failed";
3556
- }>;
3557
- step_id: z.ZodOptional<z.ZodString>;
3558
- message: z.ZodOptional<z.ZodString>;
3559
- artifact: z.ZodOptional<z.ZodObject<{
3560
- path: z.ZodString;
3561
- role: z.ZodEnum<{
3562
- output: "output";
3563
- runtime: "runtime";
3564
- source: "source";
3565
- test: "test";
3566
- proof: "proof";
3567
- }>;
3568
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3569
- label: z.ZodOptional<z.ZodString>;
3570
- sha256: z.ZodOptional<z.ZodString>;
3571
- }, z.core.$strict>>;
3572
- input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3573
- output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3574
- }, z.core.$strict>>>;
3575
- result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3576
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3577
- }, z.core.$strict>;
3578
- }, z.core.$strict>, z.ZodObject<{
3579
- kind: z.ZodLiteral<"test-run">;
3580
- value: z.ZodObject<{
3581
- run_id: z.ZodString;
3582
- status: z.ZodEnum<{
3583
- failed: "failed";
3584
- running: "running";
3585
- succeeded: "succeeded";
3586
- cancelled: "cancelled";
3587
- queued: "queued";
3588
- }>;
3589
- preparation: z.ZodString;
3590
- mode: z.ZodEnum<{
3591
- compiled: "compiled";
3592
- raw: "raw";
3593
- both: "both";
3594
- }>;
3595
- source_path: z.ZodString;
3596
- portable_context_path: z.ZodNullable<z.ZodString>;
3597
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3598
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3599
- comparison: z.ZodNullable<z.ZodObject<{
3600
- kind: z.ZodLiteral<"interf-readiness-check-run">;
3601
- version: z.ZodLiteral<1>;
3602
- generated_at: z.ZodString;
3603
- mode: z.ZodEnum<{
3604
- compiled: "compiled";
3605
- raw: "raw";
3606
- both: "both";
3607
- }>;
3608
- source_path: z.ZodString;
3609
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3610
- preparation: z.ZodObject<{
3611
- name: z.ZodString;
3612
- portable_context_path: z.ZodNullable<z.ZodString>;
3613
- }, z.core.$strip>;
3614
- raw: z.ZodNullable<z.ZodObject<{
3615
- label: z.ZodString;
3616
- run_path: z.ZodString;
3617
- ok: z.ZodBoolean;
3618
- passed_cases: z.ZodNumber;
3619
- total_cases: z.ZodNumber;
3620
- passed_checks: z.ZodNumber;
3621
- total_checks: z.ZodNumber;
3622
- target: z.ZodObject<{
3623
- type: z.ZodEnum<{
3624
- compiled: "compiled";
3625
- raw: "raw";
3626
- }>;
3627
- name: z.ZodString;
3628
- path: z.ZodString;
3629
- method: z.ZodString;
3630
- }, z.core.$strip>;
3631
- }, z.core.$strip>>;
3632
- compiled: z.ZodNullable<z.ZodObject<{
3633
- label: z.ZodString;
3634
- run_path: z.ZodString;
3635
- ok: z.ZodBoolean;
3636
- passed_cases: z.ZodNumber;
3637
- total_cases: z.ZodNumber;
3638
- passed_checks: z.ZodNumber;
3639
- total_checks: z.ZodNumber;
3640
- target: z.ZodObject<{
3641
- type: z.ZodEnum<{
3642
- compiled: "compiled";
3643
- raw: "raw";
3644
- }>;
3645
- name: z.ZodString;
3646
- path: z.ZodString;
3647
- method: z.ZodString;
3648
- }, z.core.$strip>;
3649
- }, z.core.$strip>>;
3650
- summary: z.ZodObject<{
3651
- raw_pass_rate: z.ZodNullable<z.ZodNumber>;
3652
- compiled_pass_rate: z.ZodNullable<z.ZodNumber>;
3653
- pass_rate_delta: z.ZodNullable<z.ZodNumber>;
3654
- }, z.core.$strip>;
3655
- }, z.core.$strip>>;
3656
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3657
- kind: z.ZodLiteral<"interf-readiness-state">;
3658
- version: z.ZodLiteral<1>;
3659
- generated_at: z.ZodString;
3660
- preparation: z.ZodString;
3661
- status: z.ZodEnum<{
3662
- "not-configured": "not-configured";
3663
- "not-built": "not-built";
3664
- building: "building";
3665
- built: "built";
3666
- checking: "checking";
3667
- ready: "ready";
3668
- "not-ready": "not-ready";
3669
- stale: "stale";
3670
- failed: "failed";
3671
- }>;
3672
- ready: z.ZodBoolean;
3673
- summary: z.ZodString;
3674
- portable_context_path: z.ZodNullable<z.ZodString>;
3675
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3676
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3677
- compile: z.ZodNullable<z.ZodObject<{
3678
- gate: z.ZodEnum<{
3679
- "preparation-config": "preparation-config";
3680
- "portable-context": "portable-context";
3681
- "compile-run": "compile-run";
3682
- "readiness-checks": "readiness-checks";
3683
- "source-baseline": "source-baseline";
3684
- "portable-context-check": "portable-context-check";
3685
- "checks-current": "checks-current";
3686
- }>;
3687
- ok: z.ZodBoolean;
3688
- status: z.ZodOptional<z.ZodEnum<{
3689
- "not-configured": "not-configured";
3690
- "not-built": "not-built";
3691
- building: "building";
3692
- built: "built";
3693
- checking: "checking";
3694
- ready: "ready";
3695
- "not-ready": "not-ready";
3696
- stale: "stale";
3697
- failed: "failed";
3698
- }>>;
3699
- summary: z.ZodString;
3700
- detail: z.ZodOptional<z.ZodString>;
3701
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3702
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3703
- }, z.core.$strict>>;
3704
- check_results: z.ZodObject<{
3705
- configured: z.ZodNumber;
3706
- fingerprint: z.ZodNullable<z.ZodString>;
3707
- source_files: z.ZodNullable<z.ZodObject<{
3708
- passed: z.ZodNumber;
3709
- total: z.ZodNumber;
3710
- pass_rate: z.ZodNullable<z.ZodNumber>;
3711
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3712
- stale: z.ZodDefault<z.ZodBoolean>;
3713
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3714
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3715
- }, z.core.$strict>>;
3716
- portable_context: z.ZodNullable<z.ZodObject<{
3717
- passed: z.ZodNumber;
3718
- total: z.ZodNumber;
3719
- pass_rate: z.ZodNullable<z.ZodNumber>;
3720
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3721
- stale: z.ZodDefault<z.ZodBoolean>;
3722
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3723
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3724
- }, z.core.$strict>>;
3725
- delta: z.ZodNullable<z.ZodNumber>;
3726
- }, z.core.$strict>;
3727
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3728
- gate: z.ZodEnum<{
3729
- "preparation-config": "preparation-config";
3730
- "portable-context": "portable-context";
3731
- "compile-run": "compile-run";
3732
- "readiness-checks": "readiness-checks";
3733
- "source-baseline": "source-baseline";
3734
- "portable-context-check": "portable-context-check";
3735
- "checks-current": "checks-current";
3736
- }>;
3737
- ok: z.ZodBoolean;
3738
- status: z.ZodOptional<z.ZodEnum<{
3739
- "not-configured": "not-configured";
3740
- "not-built": "not-built";
3741
- building: "building";
3742
- built: "built";
3743
- checking: "checking";
3744
- ready: "ready";
3745
- "not-ready": "not-ready";
3746
- stale: "stale";
3747
- failed: "failed";
3748
- }>>;
3749
- summary: z.ZodString;
3750
- detail: z.ZodOptional<z.ZodString>;
3751
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3752
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3753
- }, z.core.$strict>>>;
3754
- }, z.core.$strict>>>;
3755
- events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3756
- event_id: z.ZodString;
3757
- run_id: z.ZodString;
3758
- timestamp: z.ZodString;
3759
- type: z.ZodLiteral<"run.started">;
3760
- preparation: z.ZodString;
3761
- method: z.ZodString;
3762
- portable_context_path: z.ZodString;
3763
- backend: z.ZodEnum<{
3764
- native: "native";
3765
- "workflow-sdk": "workflow-sdk";
3766
- }>;
3767
- }, z.core.$strict>, z.ZodObject<{
3768
- event_id: z.ZodString;
3769
- run_id: z.ZodString;
3770
- timestamp: z.ZodString;
3771
- type: z.ZodLiteral<"stage.started">;
3772
- stage_id: z.ZodString;
3773
- stage_index: z.ZodOptional<z.ZodNumber>;
3774
- stage_total: z.ZodOptional<z.ZodNumber>;
3775
- }, z.core.$strict>, z.ZodObject<{
3776
- event_id: z.ZodString;
3777
- run_id: z.ZodString;
3778
- timestamp: z.ZodString;
3779
- type: z.ZodLiteral<"file.processed">;
3780
- stage_id: z.ZodString;
3781
- path: z.ZodString;
3782
- }, z.core.$strict>, z.ZodObject<{
3783
- event_id: z.ZodString;
3784
- run_id: z.ZodString;
3785
- timestamp: z.ZodString;
3786
- type: z.ZodLiteral<"artifact.written">;
3787
- stage_id: z.ZodString;
3788
- artifact: z.ZodObject<{
3789
- path: z.ZodString;
3790
- role: z.ZodEnum<{
3791
- output: "output";
3792
- runtime: "runtime";
3793
- source: "source";
3794
- test: "test";
3795
- proof: "proof";
3796
- }>;
3797
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3798
- label: z.ZodOptional<z.ZodString>;
3799
- sha256: z.ZodOptional<z.ZodString>;
3800
- }, z.core.$strict>;
3801
- }, z.core.$strict>, z.ZodObject<{
3802
- event_id: z.ZodString;
3803
- run_id: z.ZodString;
3804
- timestamp: z.ZodString;
3805
- type: z.ZodLiteral<"proof.updated">;
3806
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3807
- proof: z.ZodObject<{
3808
- id: z.ZodString;
3809
- run_id: z.ZodString;
3810
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3811
- generated_at: z.ZodString;
3812
- summary: z.ZodString;
3813
- files_processed: z.ZodOptional<z.ZodNumber>;
3814
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3815
- path: z.ZodString;
3816
- role: z.ZodEnum<{
3817
- output: "output";
3818
- runtime: "runtime";
3819
- source: "source";
3820
- test: "test";
3821
- proof: "proof";
3822
- }>;
3823
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3824
- label: z.ZodOptional<z.ZodString>;
3825
- sha256: z.ZodOptional<z.ZodString>;
3826
- }, z.core.$strict>>>;
3827
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3828
- id: z.ZodString;
3829
- label: z.ZodString;
3830
- ok: z.ZodBoolean;
3831
- detail: z.ZodOptional<z.ZodString>;
3832
- }, z.core.$strict>>>;
3833
- }, z.core.$strict>;
3834
- }, z.core.$strict>, z.ZodObject<{
3835
- event_id: z.ZodString;
3836
- run_id: z.ZodString;
3837
- timestamp: z.ZodString;
3838
- type: z.ZodLiteral<"log.appended">;
3839
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3840
- stream: z.ZodEnum<{
3841
- status: "status";
3842
- trace: "trace";
3843
- system: "system";
3844
- }>;
3845
- message: z.ZodString;
3846
- }, z.core.$strict>, z.ZodObject<{
3847
- event_id: z.ZodString;
3848
- run_id: z.ZodString;
3849
- timestamp: z.ZodString;
3850
- type: z.ZodLiteral<"stage.passed">;
3851
- stage_id: z.ZodString;
3852
- summary: z.ZodOptional<z.ZodString>;
3853
- }, z.core.$strict>, z.ZodObject<{
3854
- event_id: z.ZodString;
3855
- run_id: z.ZodString;
3856
- timestamp: z.ZodString;
3857
- type: z.ZodLiteral<"stage.failed">;
3858
- stage_id: z.ZodString;
3859
- error: z.ZodString;
3860
- }, z.core.$strict>, z.ZodObject<{
3861
- event_id: z.ZodString;
3862
- run_id: z.ZodString;
3863
- timestamp: z.ZodString;
3864
- type: z.ZodLiteral<"run.completed">;
3865
- summary: z.ZodOptional<z.ZodString>;
3866
- }, z.core.$strict>, z.ZodObject<{
3867
- event_id: z.ZodString;
3868
- run_id: z.ZodString;
3869
- timestamp: z.ZodString;
3870
- type: z.ZodLiteral<"run.failed">;
3871
- error: z.ZodString;
3872
- }, z.core.$strict>, z.ZodObject<{
3873
- event_id: z.ZodString;
3874
- run_id: z.ZodString;
3875
- timestamp: z.ZodString;
3876
- type: z.ZodLiteral<"checks.evaluated">;
3877
- passed: z.ZodNumber;
3878
- total: z.ZodNumber;
3879
- target: z.ZodOptional<z.ZodEnum<{
3880
- compiled: "compiled";
3881
- raw: "raw";
3882
- }>>;
3883
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3884
- stale: z.ZodOptional<z.ZodBoolean>;
3885
- test_run_id: z.ZodOptional<z.ZodString>;
3886
- }, z.core.$strict>, z.ZodObject<{
3887
- event_id: z.ZodString;
3888
- run_id: z.ZodString;
3889
- timestamp: z.ZodString;
3890
- type: z.ZodLiteral<"readiness.updated">;
3891
- preparation: z.ZodString;
3892
- readiness: z.ZodObject<{
3893
- kind: z.ZodLiteral<"interf-readiness-state">;
3894
- version: z.ZodLiteral<1>;
3895
- generated_at: z.ZodString;
3896
- preparation: z.ZodString;
3897
- status: z.ZodEnum<{
3898
- "not-configured": "not-configured";
3899
- "not-built": "not-built";
3900
- building: "building";
3901
- built: "built";
3902
- checking: "checking";
3903
- ready: "ready";
3904
- "not-ready": "not-ready";
3905
- stale: "stale";
3906
- failed: "failed";
3907
- }>;
3908
- ready: z.ZodBoolean;
3909
- summary: z.ZodString;
3910
- portable_context_path: z.ZodNullable<z.ZodString>;
3911
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3912
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3913
- compile: z.ZodNullable<z.ZodObject<{
3914
- gate: z.ZodEnum<{
3915
- "preparation-config": "preparation-config";
3916
- "portable-context": "portable-context";
3917
- "compile-run": "compile-run";
3918
- "readiness-checks": "readiness-checks";
3919
- "source-baseline": "source-baseline";
3920
- "portable-context-check": "portable-context-check";
3921
- "checks-current": "checks-current";
3922
- }>;
3923
- ok: z.ZodBoolean;
3924
- status: z.ZodOptional<z.ZodEnum<{
3925
- "not-configured": "not-configured";
3926
- "not-built": "not-built";
3927
- building: "building";
3928
- built: "built";
3929
- checking: "checking";
3930
- ready: "ready";
3931
- "not-ready": "not-ready";
3932
- stale: "stale";
3933
- failed: "failed";
3934
- }>>;
3935
- summary: z.ZodString;
3936
- detail: z.ZodOptional<z.ZodString>;
3937
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3938
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3939
- }, z.core.$strict>>;
3940
- check_results: z.ZodObject<{
3941
- configured: z.ZodNumber;
3942
- fingerprint: z.ZodNullable<z.ZodString>;
3943
- source_files: z.ZodNullable<z.ZodObject<{
3944
- passed: z.ZodNumber;
3945
- total: z.ZodNumber;
3946
- pass_rate: z.ZodNullable<z.ZodNumber>;
3947
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3948
- stale: z.ZodDefault<z.ZodBoolean>;
3949
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3950
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3951
- }, z.core.$strict>>;
3952
- portable_context: z.ZodNullable<z.ZodObject<{
3953
- passed: z.ZodNumber;
3954
- total: z.ZodNumber;
3955
- pass_rate: z.ZodNullable<z.ZodNumber>;
3956
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3957
- stale: z.ZodDefault<z.ZodBoolean>;
3958
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3959
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3960
- }, z.core.$strict>>;
3961
- delta: z.ZodNullable<z.ZodNumber>;
3962
- }, z.core.$strict>;
3963
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3964
- gate: z.ZodEnum<{
3965
- "preparation-config": "preparation-config";
3966
- "portable-context": "portable-context";
3967
- "compile-run": "compile-run";
3968
- "readiness-checks": "readiness-checks";
3969
- "source-baseline": "source-baseline";
3970
- "portable-context-check": "portable-context-check";
3971
- "checks-current": "checks-current";
3972
- }>;
3973
- ok: z.ZodBoolean;
3974
- status: z.ZodOptional<z.ZodEnum<{
3975
- "not-configured": "not-configured";
3976
- "not-built": "not-built";
3977
- building: "building";
3978
- built: "built";
3979
- checking: "checking";
3980
- ready: "ready";
3981
- "not-ready": "not-ready";
3982
- stale: "stale";
3983
- failed: "failed";
3984
- }>>;
3985
- summary: z.ZodString;
3986
- detail: z.ZodOptional<z.ZodString>;
3987
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3988
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3989
- }, z.core.$strict>>>;
3990
- }, z.core.$strict>;
3991
- }, z.core.$strict>], "type">>>;
3992
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3993
- }, z.core.$strict>;
3994
- }, z.core.$strict>, z.ZodObject<{
3995
- kind: z.ZodLiteral<"run-observability">;
3996
- value: z.ZodObject<{
3997
- kind: z.ZodLiteral<"interf-run-observability">;
3998
- version: z.ZodLiteral<1>;
3999
- run_id: z.ZodString;
4000
- run_type: z.ZodEnum<{
4001
- compile: "compile";
4002
- "method-authoring": "method-authoring";
4003
- "method-improvement": "method-improvement";
4004
- "preparation-setup": "preparation-setup";
4005
- test: "test";
4006
- "readiness-check-draft": "readiness-check-draft";
4007
- job: "job";
4008
- }>;
4009
- title: z.ZodString;
4010
- status: z.ZodEnum<{
4011
- failed: "failed";
4012
- running: "running";
4013
- succeeded: "succeeded";
4014
- cancelled: "cancelled";
4015
- queued: "queued";
4016
- }>;
4017
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4018
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4019
- source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4020
- output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4021
- executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4022
- kind: z.ZodEnum<{
4023
- "local-agent": "local-agent";
4024
- "connected-provider": "connected-provider";
4025
- managed: "managed";
4026
- }>;
4027
- name: z.ZodString;
4028
- display_name: z.ZodString;
4029
- command: z.ZodNullable<z.ZodString>;
4030
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4031
- effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4032
- profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4033
- timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4034
- }, z.core.$strip>>>;
4035
- agent_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4036
- created_at: z.ZodString;
4037
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4038
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4039
- metrics: z.ZodDefault<z.ZodArray<z.ZodObject<{
4040
- label: z.ZodString;
4041
- value: z.ZodString;
4042
- detail: z.ZodOptional<z.ZodString>;
4043
- }, z.core.$strict>>>;
4044
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
4045
- path: z.ZodString;
4046
- role: z.ZodEnum<{
4047
- output: "output";
4048
- runtime: "runtime";
4049
- source: "source";
4050
- test: "test";
4051
- proof: "proof";
4052
- }>;
4053
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4054
- label: z.ZodOptional<z.ZodString>;
4055
- sha256: z.ZodOptional<z.ZodString>;
4056
- }, z.core.$strict>>>;
4057
- proof: z.ZodDefault<z.ZodArray<z.ZodObject<{
4058
- id: z.ZodString;
4059
- label: z.ZodString;
4060
- ok: z.ZodBoolean;
4061
- detail: z.ZodOptional<z.ZodString>;
4062
- }, z.core.$strict>>>;
4063
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4064
- kind: z.ZodLiteral<"interf-readiness-state">;
4065
- version: z.ZodLiteral<1>;
4066
- generated_at: z.ZodString;
4067
- preparation: z.ZodString;
4068
- status: z.ZodEnum<{
4069
- "not-configured": "not-configured";
4070
- "not-built": "not-built";
4071
- building: "building";
4072
- built: "built";
4073
- checking: "checking";
4074
- ready: "ready";
4075
- "not-ready": "not-ready";
4076
- stale: "stale";
4077
- failed: "failed";
4078
- }>;
4079
- ready: z.ZodBoolean;
4080
- summary: z.ZodString;
4081
- portable_context_path: z.ZodNullable<z.ZodString>;
4082
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4083
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4084
- compile: z.ZodNullable<z.ZodObject<{
4085
- gate: z.ZodEnum<{
4086
- "preparation-config": "preparation-config";
4087
- "portable-context": "portable-context";
4088
- "compile-run": "compile-run";
4089
- "readiness-checks": "readiness-checks";
4090
- "source-baseline": "source-baseline";
4091
- "portable-context-check": "portable-context-check";
4092
- "checks-current": "checks-current";
4093
- }>;
4094
- ok: z.ZodBoolean;
4095
- status: z.ZodOptional<z.ZodEnum<{
4096
- "not-configured": "not-configured";
4097
- "not-built": "not-built";
4098
- building: "building";
4099
- built: "built";
4100
- checking: "checking";
4101
- ready: "ready";
4102
- "not-ready": "not-ready";
4103
- stale: "stale";
4104
- failed: "failed";
4105
- }>>;
4106
- summary: z.ZodString;
4107
- detail: z.ZodOptional<z.ZodString>;
4108
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4109
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4110
- }, z.core.$strict>>;
4111
- check_results: z.ZodObject<{
4112
- configured: z.ZodNumber;
4113
- fingerprint: z.ZodNullable<z.ZodString>;
4114
- source_files: z.ZodNullable<z.ZodObject<{
4115
- passed: z.ZodNumber;
4116
- total: z.ZodNumber;
4117
- pass_rate: z.ZodNullable<z.ZodNumber>;
4118
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4119
- stale: z.ZodDefault<z.ZodBoolean>;
4120
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4121
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4122
- }, z.core.$strict>>;
4123
- portable_context: z.ZodNullable<z.ZodObject<{
4124
- passed: z.ZodNumber;
4125
- total: z.ZodNumber;
4126
- pass_rate: z.ZodNullable<z.ZodNumber>;
4127
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4128
- stale: z.ZodDefault<z.ZodBoolean>;
4129
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4130
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4131
- }, z.core.$strict>>;
4132
- delta: z.ZodNullable<z.ZodNumber>;
4133
- }, z.core.$strict>;
4134
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4135
- gate: z.ZodEnum<{
4136
- "preparation-config": "preparation-config";
4137
- "portable-context": "portable-context";
4138
- "compile-run": "compile-run";
4139
- "readiness-checks": "readiness-checks";
4140
- "source-baseline": "source-baseline";
4141
- "portable-context-check": "portable-context-check";
4142
- "checks-current": "checks-current";
4143
- }>;
4144
- ok: z.ZodBoolean;
4145
- status: z.ZodOptional<z.ZodEnum<{
4146
- "not-configured": "not-configured";
4147
- "not-built": "not-built";
4148
- building: "building";
4149
- built: "built";
4150
- checking: "checking";
4151
- ready: "ready";
4152
- "not-ready": "not-ready";
4153
- stale: "stale";
4154
- failed: "failed";
4155
- }>>;
4156
- summary: z.ZodString;
4157
- detail: z.ZodOptional<z.ZodString>;
4158
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4159
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4160
- }, z.core.$strict>>>;
4161
- }, z.core.$strict>>>;
4162
- trace: z.ZodObject<{
4163
- run: z.ZodObject<{
4164
- runId: z.ZodString;
4165
- status: z.ZodEnum<{
4166
- failed: "failed";
4167
- running: "running";
4168
- pending: "pending";
4169
- completed: "completed";
4170
- cancelled: "cancelled";
4171
- }>;
4172
- deploymentId: z.ZodString;
4173
- methodName: z.ZodString;
4174
- specVersion: z.ZodLiteral<1>;
4175
- executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4176
- input: z.ZodUnknown;
4177
- output: z.ZodOptional<z.ZodUnknown>;
4178
- error: z.ZodOptional<z.ZodObject<{
4179
- message: z.ZodString;
4180
- stack: z.ZodOptional<z.ZodString>;
4181
- code: z.ZodOptional<z.ZodString>;
4182
- }, z.core.$strict>>;
4183
- expiredAt: z.ZodOptional<z.ZodString>;
4184
- startedAt: z.ZodOptional<z.ZodString>;
4185
- completedAt: z.ZodOptional<z.ZodString>;
4186
- createdAt: z.ZodString;
4187
- updatedAt: z.ZodString;
4188
- }, z.core.$strict>;
4189
- events: z.ZodDefault<z.ZodArray<z.ZodObject<{
4190
- runId: z.ZodString;
4191
- eventId: z.ZodString;
4192
- eventType: z.ZodEnum<{
4193
- run_created: "run_created";
4194
- run_started: "run_started";
4195
- run_completed: "run_completed";
4196
- run_failed: "run_failed";
4197
- run_cancelled: "run_cancelled";
4198
- step_created: "step_created";
4199
- step_started: "step_started";
4200
- step_completed: "step_completed";
4201
- step_failed: "step_failed";
4202
- step_retrying: "step_retrying";
4203
- hook_created: "hook_created";
4204
- hook_received: "hook_received";
4205
- hook_disposed: "hook_disposed";
4206
- hook_conflict: "hook_conflict";
4207
- wait_created: "wait_created";
4208
- wait_completed: "wait_completed";
4209
- }>;
4210
- correlationId: z.ZodOptional<z.ZodString>;
4211
- specVersion: z.ZodLiteral<1>;
4212
- createdAt: z.ZodString;
4213
- eventData: z.ZodOptional<z.ZodUnknown>;
4214
- }, z.core.$strict>>>;
4215
- streams: z.ZodDefault<z.ZodArray<z.ZodObject<{
4216
- streamId: z.ZodString;
4217
- chunkId: z.ZodString;
4218
- index: z.ZodNumber;
4219
- createdAt: z.ZodString;
4220
- text: z.ZodString;
4221
- data: z.ZodOptional<z.ZodUnknown>;
4222
- }, z.core.$strict>>>;
4223
- }, z.core.$strict>;
4224
- }, z.core.$strict>;
4225
- }, z.core.$strict>, z.ZodObject<{
4226
- kind: z.ZodLiteral<"executor-status">;
4227
- value: z.ZodObject<{
4228
- kind: z.ZodLiteral<"interf-local-executor-status">;
4229
- version: z.ZodLiteral<1>;
4230
- status: z.ZodEnum<{
4231
- connected: "connected";
4232
- unavailable: "unavailable";
4233
- }>;
4234
- checked_at: z.ZodString;
4235
- executor: z.ZodNullable<z.ZodObject<{
4236
- name: z.ZodString;
4237
- display_name: z.ZodString;
4238
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4239
- }, z.core.$strict>>;
4240
- available_executors: z.ZodDefault<z.ZodArray<z.ZodObject<{
4241
- name: z.ZodString;
4242
- display_name: z.ZodString;
4243
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4244
- current: z.ZodBoolean;
4245
- }, z.core.$strict>>>;
4246
- message: z.ZodString;
4247
- }, z.core.$strict>;
4248
- }, z.core.$strict>, z.ZodObject<{
4249
- kind: z.ZodLiteral<"action-proposal">;
4250
- value: z.ZodDiscriminatedUnion<[z.ZodObject<{
4251
- kind: z.ZodLiteral<"interf-action-proposal">;
4252
- version: z.ZodLiteral<1>;
4253
- proposal_id: z.ZodString;
4254
- status: z.ZodEnum<{
4255
- failed: "failed";
4256
- needs_clarification: "needs_clarification";
4257
- awaiting_approval: "awaiting_approval";
4258
- approved: "approved";
4259
- denied: "denied";
4260
- submitted: "submitted";
4261
- }>;
4262
- title: z.ZodString;
4263
- summary: z.ZodString;
4264
- assistant_message: z.ZodOptional<z.ZodString>;
4265
- command_preview: z.ZodOptional<z.ZodString>;
4266
- message: z.ZodString;
4267
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4268
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4269
- created_at: z.ZodString;
4270
- updated_at: z.ZodString;
4271
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4272
- name: z.ZodString;
4273
- display_name: z.ZodString;
4274
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4275
- }, z.core.$strict>>>;
4276
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4277
- approved: z.ZodBoolean;
4278
- decided_at: z.ZodString;
4279
- note: z.ZodOptional<z.ZodString>;
4280
- }, z.core.$strict>>>;
4281
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4282
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4283
- "compile-run": "compile-run";
4284
- "test-run": "test-run";
4285
- "job-run": "job-run";
4286
- }>>>;
4287
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4288
- action_type: z.ZodLiteral<"clarification">;
4289
- request: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4290
- }, z.core.$strict>, z.ZodObject<{
4291
- kind: z.ZodLiteral<"interf-action-proposal">;
4292
- version: z.ZodLiteral<1>;
4293
- proposal_id: z.ZodString;
4294
- status: z.ZodEnum<{
4295
- failed: "failed";
4296
- needs_clarification: "needs_clarification";
4297
- awaiting_approval: "awaiting_approval";
4298
- approved: "approved";
4299
- denied: "denied";
4300
- submitted: "submitted";
4301
- }>;
4302
- title: z.ZodString;
4303
- summary: z.ZodString;
4304
- assistant_message: z.ZodOptional<z.ZodString>;
4305
- command_preview: z.ZodOptional<z.ZodString>;
4306
- message: z.ZodString;
4307
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4308
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4309
- created_at: z.ZodString;
4310
- updated_at: z.ZodString;
4311
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4312
- name: z.ZodString;
4313
- display_name: z.ZodString;
4314
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4315
- }, z.core.$strict>>>;
4316
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4317
- approved: z.ZodBoolean;
4318
- decided_at: z.ZodString;
4319
- note: z.ZodOptional<z.ZodString>;
4320
- }, z.core.$strict>>>;
4321
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4322
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4323
- "compile-run": "compile-run";
4324
- "test-run": "test-run";
4325
- "job-run": "job-run";
4326
- }>>>;
4327
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4328
- action_type: z.ZodLiteral<"compile">;
4329
- request: z.ZodObject<{
4330
- preparation: z.ZodString;
4331
- method: z.ZodOptional<z.ZodString>;
4332
- max_attempts: z.ZodOptional<z.ZodNumber>;
4333
- max_loops: z.ZodOptional<z.ZodNumber>;
4334
- preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
4335
- "on-failure": "on-failure";
4336
- always: "always";
4337
- }>>;
4338
- }, z.core.$strict>;
4339
- }, z.core.$strict>, z.ZodObject<{
4340
- kind: z.ZodLiteral<"interf-action-proposal">;
4341
- version: z.ZodLiteral<1>;
4342
- proposal_id: z.ZodString;
4343
- status: z.ZodEnum<{
4344
- failed: "failed";
4345
- needs_clarification: "needs_clarification";
4346
- awaiting_approval: "awaiting_approval";
4347
- approved: "approved";
4348
- denied: "denied";
4349
- submitted: "submitted";
4350
- }>;
4351
- title: z.ZodString;
4352
- summary: z.ZodString;
4353
- assistant_message: z.ZodOptional<z.ZodString>;
4354
- command_preview: z.ZodOptional<z.ZodString>;
4355
- message: z.ZodString;
4356
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4357
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4358
- created_at: z.ZodString;
4359
- updated_at: z.ZodString;
4360
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4361
- name: z.ZodString;
4362
- display_name: z.ZodString;
4363
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4364
- }, z.core.$strict>>>;
4365
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4366
- approved: z.ZodBoolean;
4367
- decided_at: z.ZodString;
4368
- note: z.ZodOptional<z.ZodString>;
4369
- }, z.core.$strict>>>;
4370
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4371
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4372
- "compile-run": "compile-run";
4373
- "test-run": "test-run";
4374
- "job-run": "job-run";
4375
- }>>>;
4376
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4377
- action_type: z.ZodLiteral<"preparation-setup">;
4378
- request: z.ZodObject<{
4379
- preparation: z.ZodObject<{
4380
- id: z.ZodOptional<z.ZodString>;
4381
- name: z.ZodString;
4382
- path: z.ZodString;
4383
- about: z.ZodOptional<z.ZodString>;
4384
- method: z.ZodOptional<z.ZodString>;
4385
- max_attempts: z.ZodOptional<z.ZodNumber>;
4386
- max_loops: z.ZodOptional<z.ZodNumber>;
4387
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4388
- id: z.ZodOptional<z.ZodString>;
4389
- question: z.ZodString;
4390
- answer: z.ZodOptional<z.ZodString>;
4391
- expect: z.ZodOptional<z.ZodObject<{
4392
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4393
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
4394
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4395
- min_words: z.ZodOptional<z.ZodNumber>;
4396
- max_words: z.ZodOptional<z.ZodNumber>;
4397
- }, z.core.$strip>>;
4398
- strictness: z.ZodOptional<z.ZodString>;
4399
- }, z.core.$strict>>>;
4400
- }, z.core.$strict>;
4401
- prepare_after_setup: z.ZodDefault<z.ZodBoolean>;
4402
- }, z.core.$strict>;
4403
- }, z.core.$strict>, z.ZodObject<{
4404
- kind: z.ZodLiteral<"interf-action-proposal">;
4405
- version: z.ZodLiteral<1>;
4406
- proposal_id: z.ZodString;
4407
- status: z.ZodEnum<{
4408
- failed: "failed";
4409
- needs_clarification: "needs_clarification";
4410
- awaiting_approval: "awaiting_approval";
4411
- approved: "approved";
4412
- denied: "denied";
4413
- submitted: "submitted";
4414
- }>;
4415
- title: z.ZodString;
4416
- summary: z.ZodString;
4417
- assistant_message: z.ZodOptional<z.ZodString>;
4418
- command_preview: z.ZodOptional<z.ZodString>;
4419
- message: z.ZodString;
4420
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4421
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4422
- created_at: z.ZodString;
4423
- updated_at: z.ZodString;
4424
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4425
- name: z.ZodString;
4426
- display_name: z.ZodString;
4427
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4428
- }, z.core.$strict>>>;
4429
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4430
- approved: z.ZodBoolean;
4431
- decided_at: z.ZodString;
4432
- note: z.ZodOptional<z.ZodString>;
4433
- }, z.core.$strict>>>;
4434
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4435
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4436
- "compile-run": "compile-run";
4437
- "test-run": "test-run";
4438
- "job-run": "job-run";
4439
- }>>>;
4440
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4441
- action_type: z.ZodLiteral<"test">;
4442
- request: z.ZodObject<{
4443
- preparation: z.ZodString;
4444
- mode: z.ZodDefault<z.ZodEnum<{
4445
- compiled: "compiled";
4446
- raw: "raw";
4447
- both: "both";
4448
- }>>;
4449
- }, z.core.$strict>;
4450
- }, z.core.$strict>, z.ZodObject<{
4451
- kind: z.ZodLiteral<"interf-action-proposal">;
4452
- version: z.ZodLiteral<1>;
4453
- proposal_id: z.ZodString;
4454
- status: z.ZodEnum<{
4455
- failed: "failed";
4456
- needs_clarification: "needs_clarification";
4457
- awaiting_approval: "awaiting_approval";
4458
- approved: "approved";
4459
- denied: "denied";
4460
- submitted: "submitted";
4461
- }>;
4462
- title: z.ZodString;
4463
- summary: z.ZodString;
4464
- assistant_message: z.ZodOptional<z.ZodString>;
4465
- command_preview: z.ZodOptional<z.ZodString>;
4466
- message: z.ZodString;
4467
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4468
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4469
- created_at: z.ZodString;
4470
- updated_at: z.ZodString;
4471
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4472
- name: z.ZodString;
4473
- display_name: z.ZodString;
4474
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4475
- }, z.core.$strict>>>;
4476
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4477
- approved: z.ZodBoolean;
4478
- decided_at: z.ZodString;
4479
- note: z.ZodOptional<z.ZodString>;
4480
- }, z.core.$strict>>>;
4481
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4482
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4483
- "compile-run": "compile-run";
4484
- "test-run": "test-run";
4485
- "job-run": "job-run";
4486
- }>>>;
4487
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4488
- action_type: z.ZodLiteral<"readiness-check-draft">;
4489
- request: z.ZodObject<{
4490
- preparation: z.ZodString;
4491
- source_folder_path: z.ZodString;
4492
- about: z.ZodOptional<z.ZodString>;
4493
- target_count: z.ZodDefault<z.ZodNumber>;
4494
- }, z.core.$strict>;
4495
- }, z.core.$strict>, z.ZodObject<{
4496
- kind: z.ZodLiteral<"interf-action-proposal">;
4497
- version: z.ZodLiteral<1>;
4498
- proposal_id: z.ZodString;
4499
- status: z.ZodEnum<{
4500
- failed: "failed";
4501
- needs_clarification: "needs_clarification";
4502
- awaiting_approval: "awaiting_approval";
4503
- approved: "approved";
4504
- denied: "denied";
4505
- submitted: "submitted";
4506
- }>;
4507
- title: z.ZodString;
4508
- summary: z.ZodString;
4509
- assistant_message: z.ZodOptional<z.ZodString>;
4510
- command_preview: z.ZodOptional<z.ZodString>;
4511
- message: z.ZodString;
4512
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4513
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4514
- created_at: z.ZodString;
4515
- updated_at: z.ZodString;
4516
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4517
- name: z.ZodString;
4518
- display_name: z.ZodString;
4519
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4520
- }, z.core.$strict>>>;
4521
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4522
- approved: z.ZodBoolean;
4523
- decided_at: z.ZodString;
4524
- note: z.ZodOptional<z.ZodString>;
4525
- }, z.core.$strict>>>;
4526
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4527
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4528
- "compile-run": "compile-run";
4529
- "test-run": "test-run";
4530
- "job-run": "job-run";
4531
- }>>>;
4532
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4533
- action_type: z.ZodLiteral<"method-authoring">;
4534
- request: z.ZodObject<{
4535
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4536
- source_folder_path: z.ZodString;
4537
- base_method_id: z.ZodOptional<z.ZodString>;
4538
- reference_method_id: z.ZodOptional<z.ZodString>;
4539
- method_id: z.ZodString;
4540
- label: z.ZodString;
4541
- hint: z.ZodString;
4542
- task_prompt: z.ZodString;
4543
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4544
- id: z.ZodOptional<z.ZodString>;
4545
- question: z.ZodString;
4546
- answer: z.ZodOptional<z.ZodString>;
4547
- expect: z.ZodOptional<z.ZodObject<{
4548
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4549
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
4550
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4551
- min_words: z.ZodOptional<z.ZodNumber>;
4552
- max_words: z.ZodOptional<z.ZodNumber>;
4553
- }, z.core.$strip>>;
4554
- strictness: z.ZodOptional<z.ZodString>;
4555
- }, z.core.$strict>>>;
4556
- }, z.core.$strict>;
4557
- }, z.core.$strict>, z.ZodObject<{
4558
- kind: z.ZodLiteral<"interf-action-proposal">;
4559
- version: z.ZodLiteral<1>;
4560
- proposal_id: z.ZodString;
4561
- status: z.ZodEnum<{
4562
- failed: "failed";
4563
- needs_clarification: "needs_clarification";
4564
- awaiting_approval: "awaiting_approval";
4565
- approved: "approved";
4566
- denied: "denied";
4567
- submitted: "submitted";
4568
- }>;
4569
- title: z.ZodString;
4570
- summary: z.ZodString;
4571
- assistant_message: z.ZodOptional<z.ZodString>;
4572
- command_preview: z.ZodOptional<z.ZodString>;
4573
- message: z.ZodString;
4574
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4575
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4576
- created_at: z.ZodString;
4577
- updated_at: z.ZodString;
4578
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4579
- name: z.ZodString;
4580
- display_name: z.ZodString;
4581
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4582
- }, z.core.$strict>>>;
4583
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4584
- approved: z.ZodBoolean;
4585
- decided_at: z.ZodString;
4586
- note: z.ZodOptional<z.ZodString>;
4587
- }, z.core.$strict>>>;
4588
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4589
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4590
- "compile-run": "compile-run";
4591
- "test-run": "test-run";
4592
- "job-run": "job-run";
4593
- }>>>;
4594
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4595
- action_type: z.ZodLiteral<"method-improvement">;
4596
- request: z.ZodObject<{
4597
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4598
- source_folder_path: z.ZodString;
4599
- base_method_id: z.ZodOptional<z.ZodString>;
4600
- reference_method_id: z.ZodOptional<z.ZodString>;
4601
- method_id: z.ZodString;
4602
- label: z.ZodString;
4603
- hint: z.ZodString;
4604
- task_prompt: z.ZodString;
4605
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4606
- id: z.ZodOptional<z.ZodString>;
4607
- question: z.ZodString;
4608
- answer: z.ZodOptional<z.ZodString>;
4609
- expect: z.ZodOptional<z.ZodObject<{
4610
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4611
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
4612
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4613
- min_words: z.ZodOptional<z.ZodNumber>;
4614
- max_words: z.ZodOptional<z.ZodNumber>;
4615
- }, z.core.$strip>>;
4616
- strictness: z.ZodOptional<z.ZodString>;
4617
- }, z.core.$strict>>>;
4618
- }, z.core.$strict>;
4619
- }, z.core.$strict>], "action_type">;
4620
- }, z.core.$strict>, z.ZodObject<{
4621
- kind: z.ZodLiteral<"portable-context">;
4622
- value: z.ZodObject<{
4623
- preparation: z.ZodString;
4624
- path: z.ZodString;
4625
- exists: z.ZodBoolean;
4626
- readiness: z.ZodObject<{
4627
- kind: z.ZodLiteral<"interf-readiness-state">;
4628
- version: z.ZodLiteral<1>;
4629
- generated_at: z.ZodString;
4630
- preparation: z.ZodString;
4631
- status: z.ZodEnum<{
4632
- "not-configured": "not-configured";
4633
- "not-built": "not-built";
4634
- building: "building";
4635
- built: "built";
4636
- checking: "checking";
4637
- ready: "ready";
4638
- "not-ready": "not-ready";
4639
- stale: "stale";
4640
- failed: "failed";
4641
- }>;
4642
- ready: z.ZodBoolean;
4643
- summary: z.ZodString;
4644
- portable_context_path: z.ZodNullable<z.ZodString>;
4645
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4646
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4647
- compile: z.ZodNullable<z.ZodObject<{
4648
- gate: z.ZodEnum<{
4649
- "preparation-config": "preparation-config";
4650
- "portable-context": "portable-context";
4651
- "compile-run": "compile-run";
4652
- "readiness-checks": "readiness-checks";
4653
- "source-baseline": "source-baseline";
4654
- "portable-context-check": "portable-context-check";
4655
- "checks-current": "checks-current";
4656
- }>;
4657
- ok: z.ZodBoolean;
4658
- status: z.ZodOptional<z.ZodEnum<{
4659
- "not-configured": "not-configured";
4660
- "not-built": "not-built";
4661
- building: "building";
4662
- built: "built";
4663
- checking: "checking";
4664
- ready: "ready";
4665
- "not-ready": "not-ready";
4666
- stale: "stale";
4667
- failed: "failed";
4668
- }>>;
4669
- summary: z.ZodString;
4670
- detail: z.ZodOptional<z.ZodString>;
4671
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4672
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4673
- }, z.core.$strict>>;
4674
- check_results: z.ZodObject<{
4675
- configured: z.ZodNumber;
4676
- fingerprint: z.ZodNullable<z.ZodString>;
4677
- source_files: z.ZodNullable<z.ZodObject<{
4678
- passed: z.ZodNumber;
4679
- total: z.ZodNumber;
4680
- pass_rate: z.ZodNullable<z.ZodNumber>;
4681
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4682
- stale: z.ZodDefault<z.ZodBoolean>;
4683
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4684
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4685
- }, z.core.$strict>>;
4686
- portable_context: z.ZodNullable<z.ZodObject<{
4687
- passed: z.ZodNumber;
4688
- total: z.ZodNumber;
4689
- pass_rate: z.ZodNullable<z.ZodNumber>;
4690
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4691
- stale: z.ZodDefault<z.ZodBoolean>;
4692
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4693
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4694
- }, z.core.$strict>>;
4695
- delta: z.ZodNullable<z.ZodNumber>;
4696
- }, z.core.$strict>;
4697
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4698
- gate: z.ZodEnum<{
4699
- "preparation-config": "preparation-config";
4700
- "portable-context": "portable-context";
4701
- "compile-run": "compile-run";
4702
- "readiness-checks": "readiness-checks";
4703
- "source-baseline": "source-baseline";
4704
- "portable-context-check": "portable-context-check";
4705
- "checks-current": "checks-current";
4706
- }>;
4707
- ok: z.ZodBoolean;
4708
- status: z.ZodOptional<z.ZodEnum<{
4709
- "not-configured": "not-configured";
4710
- "not-built": "not-built";
4711
- building: "building";
4712
- built: "built";
4713
- checking: "checking";
4714
- ready: "ready";
4715
- "not-ready": "not-ready";
4716
- stale: "stale";
4717
- failed: "failed";
4718
- }>>;
4719
- summary: z.ZodString;
4720
- detail: z.ZodOptional<z.ZodString>;
4721
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4722
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4723
- }, z.core.$strict>>>;
4724
- }, z.core.$strict>;
4725
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4726
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4727
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4728
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
4729
- path: z.ZodString;
4730
- role: z.ZodEnum<{
4731
- output: "output";
4732
- runtime: "runtime";
4733
- source: "source";
4734
- test: "test";
4735
- proof: "proof";
4736
- }>;
4737
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4738
- label: z.ZodOptional<z.ZodString>;
4739
- sha256: z.ZodOptional<z.ZodString>;
4740
- }, z.core.$strict>>>;
4741
- }, z.core.$strict>;
4742
- }, z.core.$strict>, z.ZodObject<{
4743
- kind: z.ZodLiteral<"readiness">;
4744
- value: z.ZodObject<{
4745
- kind: z.ZodLiteral<"interf-readiness-state">;
4746
- version: z.ZodLiteral<1>;
4747
- generated_at: z.ZodString;
4748
- preparation: z.ZodString;
4749
- status: z.ZodEnum<{
4750
- "not-configured": "not-configured";
4751
- "not-built": "not-built";
4752
- building: "building";
4753
- built: "built";
4754
- checking: "checking";
4755
- ready: "ready";
4756
- "not-ready": "not-ready";
4757
- stale: "stale";
4758
- failed: "failed";
4759
- }>;
4760
- ready: z.ZodBoolean;
4761
- summary: z.ZodString;
4762
- portable_context_path: z.ZodNullable<z.ZodString>;
4763
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4764
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4765
- compile: z.ZodNullable<z.ZodObject<{
4766
- gate: z.ZodEnum<{
4767
- "preparation-config": "preparation-config";
4768
- "portable-context": "portable-context";
4769
- "compile-run": "compile-run";
4770
- "readiness-checks": "readiness-checks";
4771
- "source-baseline": "source-baseline";
4772
- "portable-context-check": "portable-context-check";
4773
- "checks-current": "checks-current";
4774
- }>;
4775
- ok: z.ZodBoolean;
4776
- status: z.ZodOptional<z.ZodEnum<{
4777
- "not-configured": "not-configured";
4778
- "not-built": "not-built";
4779
- building: "building";
4780
- built: "built";
4781
- checking: "checking";
4782
- ready: "ready";
4783
- "not-ready": "not-ready";
4784
- stale: "stale";
4785
- failed: "failed";
4786
- }>>;
4787
- summary: z.ZodString;
4788
- detail: z.ZodOptional<z.ZodString>;
4789
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4790
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4791
- }, z.core.$strict>>;
4792
- check_results: z.ZodObject<{
4793
- configured: z.ZodNumber;
4794
- fingerprint: z.ZodNullable<z.ZodString>;
4795
- source_files: z.ZodNullable<z.ZodObject<{
4796
- passed: z.ZodNumber;
4797
- total: z.ZodNumber;
4798
- pass_rate: z.ZodNullable<z.ZodNumber>;
4799
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4800
- stale: z.ZodDefault<z.ZodBoolean>;
4801
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4802
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4803
- }, z.core.$strict>>;
4804
- portable_context: z.ZodNullable<z.ZodObject<{
4805
- passed: z.ZodNumber;
4806
- total: z.ZodNumber;
4807
- pass_rate: z.ZodNullable<z.ZodNumber>;
4808
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4809
- stale: z.ZodDefault<z.ZodBoolean>;
4810
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4811
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4812
- }, z.core.$strict>>;
4813
- delta: z.ZodNullable<z.ZodNumber>;
4814
- }, z.core.$strict>;
4815
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4816
- gate: z.ZodEnum<{
4817
- "preparation-config": "preparation-config";
4818
- "portable-context": "portable-context";
4819
- "compile-run": "compile-run";
4820
- "readiness-checks": "readiness-checks";
4821
- "source-baseline": "source-baseline";
4822
- "portable-context-check": "portable-context-check";
4823
- "checks-current": "checks-current";
4824
- }>;
4825
- ok: z.ZodBoolean;
4826
- status: z.ZodOptional<z.ZodEnum<{
4827
- "not-configured": "not-configured";
4828
- "not-built": "not-built";
4829
- building: "building";
4830
- built: "built";
4831
- checking: "checking";
4832
- ready: "ready";
4833
- "not-ready": "not-ready";
4834
- stale: "stale";
4835
- failed: "failed";
4836
- }>>;
4837
- summary: z.ZodString;
4838
- detail: z.ZodOptional<z.ZodString>;
2871
+ }>;
2872
+ ok: z.ZodBoolean;
2873
+ status: z.ZodOptional<z.ZodEnum<{
2874
+ "not-configured": "not-configured";
2875
+ "not-built": "not-built";
2876
+ building: "building";
2877
+ built: "built";
2878
+ checking: "checking";
2879
+ ready: "ready";
2880
+ "not-ready": "not-ready";
2881
+ stale: "stale";
2882
+ failed: "failed";
2883
+ }>>;
2884
+ summary: z.ZodString;
2885
+ detail: z.ZodOptional<z.ZodString>;
2886
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2887
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2888
+ }, z.core.$strict>>;
2889
+ check_results: z.ZodObject<{
2890
+ configured: z.ZodNumber;
2891
+ fingerprint: z.ZodNullable<z.ZodString>;
2892
+ source_files: z.ZodNullable<z.ZodObject<{
2893
+ passed: z.ZodNumber;
2894
+ total: z.ZodNumber;
2895
+ pass_rate: z.ZodNullable<z.ZodNumber>;
2896
+ checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2897
+ stale: z.ZodDefault<z.ZodBoolean>;
4839
2898
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4840
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4841
- }, z.core.$strict>>>;
4842
- }, z.core.$strict>;
4843
- }, z.core.$strict>, z.ZodObject<{
4844
- kind: z.ZodLiteral<"source-file">;
4845
- value: z.ZodObject<{
4846
- preparation: z.ZodString;
4847
- path: z.ZodString;
4848
- absolute_path: z.ZodString;
4849
- size_bytes: z.ZodNumber;
4850
- modified_at: z.ZodNullable<z.ZodString>;
4851
- source_folder_path: z.ZodString;
2899
+ run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2900
+ }, z.core.$strict>>;
2901
+ portable_context: z.ZodNullable<z.ZodObject<{
2902
+ passed: z.ZodNumber;
2903
+ total: z.ZodNumber;
2904
+ pass_rate: z.ZodNullable<z.ZodNumber>;
2905
+ checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2906
+ stale: z.ZodDefault<z.ZodBoolean>;
2907
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2908
+ run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2909
+ }, z.core.$strict>>;
4852
2910
  }, z.core.$strict>;
4853
- }, z.core.$strict>, z.ZodObject<{
4854
- kind: z.ZodLiteral<"workspace-file">;
4855
- value: z.ZodObject<{
4856
- path: z.ZodString;
4857
- absolute_path: z.ZodString;
4858
- size_bytes: z.ZodNumber;
4859
- modified_at: z.ZodNullable<z.ZodString>;
2911
+ checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2912
+ gate: z.ZodEnum<{
2913
+ "portable-context": "portable-context";
2914
+ "preparation-config": "preparation-config";
2915
+ "compile-run": "compile-run";
2916
+ "readiness-checks": "readiness-checks";
2917
+ "source-baseline": "source-baseline";
2918
+ "portable-context-check": "portable-context-check";
2919
+ "checks-current": "checks-current";
2920
+ }>;
2921
+ ok: z.ZodBoolean;
2922
+ status: z.ZodOptional<z.ZodEnum<{
2923
+ "not-configured": "not-configured";
2924
+ "not-built": "not-built";
2925
+ building: "building";
2926
+ built: "built";
2927
+ checking: "checking";
2928
+ ready: "ready";
2929
+ "not-ready": "not-ready";
2930
+ stale: "stale";
2931
+ failed: "failed";
2932
+ }>>;
2933
+ summary: z.ZodString;
2934
+ detail: z.ZodOptional<z.ZodString>;
2935
+ run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2936
+ artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2937
+ }, z.core.$strict>>>;
2938
+ }, z.core.$strict>;
2939
+ export declare const SourceFileResourceSchema: z.ZodObject<{
2940
+ preparation: z.ZodString;
2941
+ path: z.ZodString;
2942
+ absolute_path: z.ZodString;
2943
+ size_bytes: z.ZodNumber;
2944
+ modified_at: z.ZodNullable<z.ZodString>;
2945
+ source_folder_path: z.ZodString;
2946
+ }, z.core.$strict>;
2947
+ export declare const WorkspaceFileResourceSchema: z.ZodObject<{
2948
+ path: z.ZodString;
2949
+ absolute_path: z.ZodString;
2950
+ size_bytes: z.ZodNumber;
2951
+ modified_at: z.ZodNullable<z.ZodString>;
2952
+ }, z.core.$strict>;
2953
+ export declare const LocalServiceDiscoverySchema: z.ZodObject<{
2954
+ kind: z.ZodLiteral<"interf-local-service-discovery">;
2955
+ version: z.ZodLiteral<1>;
2956
+ resources: z.ZodObject<{
2957
+ preparations: z.ZodString;
2958
+ methods: z.ZodString;
2959
+ runs: z.ZodString;
2960
+ readiness: z.ZodString;
2961
+ portable_contexts: z.ZodString;
2962
+ source_files: z.ZodString;
2963
+ workspace_files: z.ZodString;
2964
+ action_proposals: z.ZodString;
2965
+ preparation_setups: z.ZodString;
2966
+ preparation_changes: z.ZodString;
2967
+ method_changes: z.ZodString;
2968
+ workspace_bootstraps: z.ZodOptional<z.ZodString>;
2969
+ readiness_check_drafts: z.ZodString;
2970
+ method_authoring_runs: z.ZodString;
2971
+ method_improvement_runs: z.ZodString;
2972
+ compile_runs: z.ZodString;
2973
+ test_runs: z.ZodString;
2974
+ reset: z.ZodString;
2975
+ executor: z.ZodString;
2976
+ workspaces: z.ZodOptional<z.ZodString>;
2977
+ status: z.ZodOptional<z.ZodString>;
4860
2978
  }, z.core.$strict>;
4861
- }, z.core.$strict>], "kind">;
2979
+ }, z.core.$strict>;
2980
+ export declare const OpenPathRequestSchema: z.ZodObject<{
2981
+ path: z.ZodString;
2982
+ }, z.core.$strict>;
2983
+ export declare const OpenPathResponseSchema: z.ZodObject<{
2984
+ opened: z.ZodBoolean;
2985
+ path: z.ZodString;
2986
+ }, z.core.$strict>;
4862
2987
  export declare const PreparationListResponseSchema: z.ZodObject<{
4863
2988
  preparations: z.ZodArray<z.ZodObject<{
4864
2989
  id: z.ZodString;
@@ -4932,8 +3057,8 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
4932
3057
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4933
3058
  compile: z.ZodNullable<z.ZodObject<{
4934
3059
  gate: z.ZodEnum<{
4935
- "preparation-config": "preparation-config";
4936
3060
  "portable-context": "portable-context";
3061
+ "preparation-config": "preparation-config";
4937
3062
  "compile-run": "compile-run";
4938
3063
  "readiness-checks": "readiness-checks";
4939
3064
  "source-baseline": "source-baseline";
@@ -4978,12 +3103,11 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
4978
3103
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4979
3104
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4980
3105
  }, z.core.$strict>>;
4981
- delta: z.ZodNullable<z.ZodNumber>;
4982
3106
  }, z.core.$strict>;
4983
3107
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4984
3108
  gate: z.ZodEnum<{
4985
- "preparation-config": "preparation-config";
4986
3109
  "portable-context": "portable-context";
3110
+ "preparation-config": "preparation-config";
4987
3111
  "compile-run": "compile-run";
4988
3112
  "readiness-checks": "readiness-checks";
4989
3113
  "source-baseline": "source-baseline";
@@ -5029,6 +3153,7 @@ export declare const MethodListResponseSchema: z.ZodObject<{
5029
3153
  }>>;
5030
3154
  built_in: z.ZodDefault<z.ZodBoolean>;
5031
3155
  active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3156
+ output_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
5032
3157
  stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
5033
3158
  id: z.ZodString;
5034
3159
  label: z.ZodString;
@@ -5048,9 +3173,9 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5048
3173
  version: z.ZodLiteral<1>;
5049
3174
  run_id: z.ZodString;
5050
3175
  status: z.ZodEnum<{
3176
+ succeeded: "succeeded";
5051
3177
  failed: "failed";
5052
3178
  running: "running";
5053
- succeeded: "succeeded";
5054
3179
  cancelled: "cancelled";
5055
3180
  queued: "queued";
5056
3181
  }>;
@@ -5072,9 +3197,9 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5072
3197
  stage_index: z.ZodOptional<z.ZodNumber>;
5073
3198
  stage_total: z.ZodOptional<z.ZodNumber>;
5074
3199
  status: z.ZodEnum<{
3200
+ succeeded: "succeeded";
5075
3201
  failed: "failed";
5076
3202
  running: "running";
5077
- succeeded: "succeeded";
5078
3203
  queued: "queued";
5079
3204
  }>;
5080
3205
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5105,11 +3230,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5105
3230
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5106
3231
  path: z.ZodString;
5107
3232
  role: z.ZodEnum<{
5108
- output: "output";
5109
3233
  runtime: "runtime";
3234
+ output: "output";
5110
3235
  source: "source";
5111
- test: "test";
5112
3236
  proof: "proof";
3237
+ test: "test";
5113
3238
  }>;
5114
3239
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5115
3240
  label: z.ZodOptional<z.ZodString>;
@@ -5131,11 +3256,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5131
3256
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5132
3257
  path: z.ZodString;
5133
3258
  role: z.ZodEnum<{
5134
- output: "output";
5135
3259
  runtime: "runtime";
3260
+ output: "output";
5136
3261
  source: "source";
5137
- test: "test";
5138
3262
  proof: "proof";
3263
+ test: "test";
5139
3264
  }>;
5140
3265
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5141
3266
  label: z.ZodOptional<z.ZodString>;
@@ -5186,11 +3311,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5186
3311
  artifact: z.ZodObject<{
5187
3312
  path: z.ZodString;
5188
3313
  role: z.ZodEnum<{
5189
- output: "output";
5190
3314
  runtime: "runtime";
3315
+ output: "output";
5191
3316
  source: "source";
5192
- test: "test";
5193
3317
  proof: "proof";
3318
+ test: "test";
5194
3319
  }>;
5195
3320
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5196
3321
  label: z.ZodOptional<z.ZodString>;
@@ -5212,11 +3337,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5212
3337
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5213
3338
  path: z.ZodString;
5214
3339
  role: z.ZodEnum<{
5215
- output: "output";
5216
3340
  runtime: "runtime";
3341
+ output: "output";
5217
3342
  source: "source";
5218
- test: "test";
5219
3343
  proof: "proof";
3344
+ test: "test";
5220
3345
  }>;
5221
3346
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5222
3347
  label: z.ZodOptional<z.ZodString>;
@@ -5275,8 +3400,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5275
3400
  passed: z.ZodNumber;
5276
3401
  total: z.ZodNumber;
5277
3402
  target: z.ZodOptional<z.ZodEnum<{
3403
+ "source-files": "source-files";
5278
3404
  compiled: "compiled";
5279
- raw: "raw";
5280
3405
  }>>;
5281
3406
  checks_fingerprint: z.ZodOptional<z.ZodString>;
5282
3407
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -5310,8 +3435,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5310
3435
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5311
3436
  compile: z.ZodNullable<z.ZodObject<{
5312
3437
  gate: z.ZodEnum<{
5313
- "preparation-config": "preparation-config";
5314
3438
  "portable-context": "portable-context";
3439
+ "preparation-config": "preparation-config";
5315
3440
  "compile-run": "compile-run";
5316
3441
  "readiness-checks": "readiness-checks";
5317
3442
  "source-baseline": "source-baseline";
@@ -5356,12 +3481,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5356
3481
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5357
3482
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5358
3483
  }, z.core.$strict>>;
5359
- delta: z.ZodNullable<z.ZodNumber>;
5360
3484
  }, z.core.$strict>;
5361
3485
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5362
3486
  gate: z.ZodEnum<{
5363
- "preparation-config": "preparation-config";
5364
3487
  "portable-context": "portable-context";
3488
+ "preparation-config": "preparation-config";
5365
3489
  "compile-run": "compile-run";
5366
3490
  "readiness-checks": "readiness-checks";
5367
3491
  "source-baseline": "source-baseline";
@@ -5397,11 +3521,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5397
3521
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5398
3522
  path: z.ZodString;
5399
3523
  role: z.ZodEnum<{
5400
- output: "output";
5401
3524
  runtime: "runtime";
3525
+ output: "output";
5402
3526
  source: "source";
5403
- test: "test";
5404
3527
  proof: "proof";
3528
+ test: "test";
5405
3529
  }>;
5406
3530
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5407
3531
  label: z.ZodOptional<z.ZodString>;
@@ -5437,8 +3561,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5437
3561
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5438
3562
  compile: z.ZodNullable<z.ZodObject<{
5439
3563
  gate: z.ZodEnum<{
5440
- "preparation-config": "preparation-config";
5441
3564
  "portable-context": "portable-context";
3565
+ "preparation-config": "preparation-config";
5442
3566
  "compile-run": "compile-run";
5443
3567
  "readiness-checks": "readiness-checks";
5444
3568
  "source-baseline": "source-baseline";
@@ -5483,12 +3607,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5483
3607
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5484
3608
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5485
3609
  }, z.core.$strict>>;
5486
- delta: z.ZodNullable<z.ZodNumber>;
5487
3610
  }, z.core.$strict>;
5488
3611
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5489
3612
  gate: z.ZodEnum<{
5490
- "preparation-config": "preparation-config";
5491
3613
  "portable-context": "portable-context";
3614
+ "preparation-config": "preparation-config";
5492
3615
  "compile-run": "compile-run";
5493
3616
  "readiness-checks": "readiness-checks";
5494
3617
  "source-baseline": "source-baseline";
@@ -5522,17 +3645,14 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5522
3645
  version: z.ZodLiteral<1>;
5523
3646
  run_id: z.ZodString;
5524
3647
  job_type: z.ZodEnum<{
5525
- compile: "compile";
5526
3648
  "method-authoring": "method-authoring";
5527
3649
  "method-improvement": "method-improvement";
5528
- "preparation-setup": "preparation-setup";
5529
- test: "test";
5530
3650
  "readiness-check-draft": "readiness-check-draft";
5531
3651
  }>;
5532
3652
  status: z.ZodEnum<{
3653
+ succeeded: "succeeded";
5533
3654
  failed: "failed";
5534
3655
  running: "running";
5535
- succeeded: "succeeded";
5536
3656
  cancelled: "cancelled";
5537
3657
  queued: "queued";
5538
3658
  }>;
@@ -5553,9 +3673,9 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5553
3673
  id: z.ZodString;
5554
3674
  label: z.ZodString;
5555
3675
  status: z.ZodEnum<{
3676
+ succeeded: "succeeded";
5556
3677
  failed: "failed";
5557
3678
  running: "running";
5558
- succeeded: "succeeded";
5559
3679
  cancelled: "cancelled";
5560
3680
  queued: "queued";
5561
3681
  }>;
@@ -5584,11 +3704,11 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5584
3704
  artifact: z.ZodOptional<z.ZodObject<{
5585
3705
  path: z.ZodString;
5586
3706
  role: z.ZodEnum<{
5587
- output: "output";
5588
3707
  runtime: "runtime";
3708
+ output: "output";
5589
3709
  source: "source";
5590
- test: "test";
5591
3710
  proof: "proof";
3711
+ test: "test";
5592
3712
  }>;
5593
3713
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5594
3714
  label: z.ZodOptional<z.ZodString>;
@@ -5605,29 +3725,29 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5605
3725
  test_runs: z.ZodArray<z.ZodObject<{
5606
3726
  run_id: z.ZodString;
5607
3727
  status: z.ZodEnum<{
3728
+ succeeded: "succeeded";
5608
3729
  failed: "failed";
5609
3730
  running: "running";
5610
- succeeded: "succeeded";
5611
3731
  cancelled: "cancelled";
5612
3732
  queued: "queued";
5613
3733
  }>;
5614
3734
  preparation: z.ZodString;
5615
3735
  mode: z.ZodEnum<{
3736
+ "source-files": "source-files";
5616
3737
  compiled: "compiled";
5617
- raw: "raw";
5618
3738
  both: "both";
5619
3739
  }>;
5620
3740
  source_path: z.ZodString;
5621
3741
  portable_context_path: z.ZodNullable<z.ZodString>;
5622
3742
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5623
3743
  finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5624
- comparison: z.ZodNullable<z.ZodObject<{
3744
+ readiness_run: z.ZodNullable<z.ZodObject<{
5625
3745
  kind: z.ZodLiteral<"interf-readiness-check-run">;
5626
3746
  version: z.ZodLiteral<1>;
5627
3747
  generated_at: z.ZodString;
5628
3748
  mode: z.ZodEnum<{
3749
+ "source-files": "source-files";
5629
3750
  compiled: "compiled";
5630
- raw: "raw";
5631
3751
  both: "both";
5632
3752
  }>;
5633
3753
  source_path: z.ZodString;
@@ -5636,7 +3756,7 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5636
3756
  name: z.ZodString;
5637
3757
  portable_context_path: z.ZodNullable<z.ZodString>;
5638
3758
  }, z.core.$strip>;
5639
- raw: z.ZodNullable<z.ZodObject<{
3759
+ source_files: z.ZodNullable<z.ZodObject<{
5640
3760
  label: z.ZodString;
5641
3761
  run_path: z.ZodString;
5642
3762
  ok: z.ZodBoolean;
@@ -5646,8 +3766,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5646
3766
  total_checks: z.ZodNumber;
5647
3767
  target: z.ZodObject<{
5648
3768
  type: z.ZodEnum<{
3769
+ "source-files": "source-files";
5649
3770
  compiled: "compiled";
5650
- raw: "raw";
5651
3771
  }>;
5652
3772
  name: z.ZodString;
5653
3773
  path: z.ZodString;
@@ -5664,8 +3784,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5664
3784
  total_checks: z.ZodNumber;
5665
3785
  target: z.ZodObject<{
5666
3786
  type: z.ZodEnum<{
3787
+ "source-files": "source-files";
5667
3788
  compiled: "compiled";
5668
- raw: "raw";
5669
3789
  }>;
5670
3790
  name: z.ZodString;
5671
3791
  path: z.ZodString;
@@ -5673,9 +3793,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5673
3793
  }, z.core.$strip>;
5674
3794
  }, z.core.$strip>>;
5675
3795
  summary: z.ZodObject<{
5676
- raw_pass_rate: z.ZodNullable<z.ZodNumber>;
5677
- compiled_pass_rate: z.ZodNullable<z.ZodNumber>;
5678
- pass_rate_delta: z.ZodNullable<z.ZodNumber>;
3796
+ source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
3797
+ portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
5679
3798
  }, z.core.$strip>;
5680
3799
  }, z.core.$strip>>;
5681
3800
  readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -5701,8 +3820,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5701
3820
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5702
3821
  compile: z.ZodNullable<z.ZodObject<{
5703
3822
  gate: z.ZodEnum<{
5704
- "preparation-config": "preparation-config";
5705
3823
  "portable-context": "portable-context";
3824
+ "preparation-config": "preparation-config";
5706
3825
  "compile-run": "compile-run";
5707
3826
  "readiness-checks": "readiness-checks";
5708
3827
  "source-baseline": "source-baseline";
@@ -5747,12 +3866,11 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5747
3866
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5748
3867
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5749
3868
  }, z.core.$strict>>;
5750
- delta: z.ZodNullable<z.ZodNumber>;
5751
3869
  }, z.core.$strict>;
5752
3870
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5753
3871
  gate: z.ZodEnum<{
5754
- "preparation-config": "preparation-config";
5755
3872
  "portable-context": "portable-context";
3873
+ "preparation-config": "preparation-config";
5756
3874
  "compile-run": "compile-run";
5757
3875
  "readiness-checks": "readiness-checks";
5758
3876
  "source-baseline": "source-baseline";
@@ -5813,11 +3931,11 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5813
3931
  artifact: z.ZodObject<{
5814
3932
  path: z.ZodString;
5815
3933
  role: z.ZodEnum<{
5816
- output: "output";
5817
3934
  runtime: "runtime";
3935
+ output: "output";
5818
3936
  source: "source";
5819
- test: "test";
5820
3937
  proof: "proof";
3938
+ test: "test";
5821
3939
  }>;
5822
3940
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5823
3941
  label: z.ZodOptional<z.ZodString>;
@@ -5839,11 +3957,11 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5839
3957
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5840
3958
  path: z.ZodString;
5841
3959
  role: z.ZodEnum<{
5842
- output: "output";
5843
3960
  runtime: "runtime";
3961
+ output: "output";
5844
3962
  source: "source";
5845
- test: "test";
5846
3963
  proof: "proof";
3964
+ test: "test";
5847
3965
  }>;
5848
3966
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5849
3967
  label: z.ZodOptional<z.ZodString>;
@@ -5902,8 +4020,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5902
4020
  passed: z.ZodNumber;
5903
4021
  total: z.ZodNumber;
5904
4022
  target: z.ZodOptional<z.ZodEnum<{
4023
+ "source-files": "source-files";
5905
4024
  compiled: "compiled";
5906
- raw: "raw";
5907
4025
  }>>;
5908
4026
  checks_fingerprint: z.ZodOptional<z.ZodString>;
5909
4027
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -5937,8 +4055,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5937
4055
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5938
4056
  compile: z.ZodNullable<z.ZodObject<{
5939
4057
  gate: z.ZodEnum<{
5940
- "preparation-config": "preparation-config";
5941
4058
  "portable-context": "portable-context";
4059
+ "preparation-config": "preparation-config";
5942
4060
  "compile-run": "compile-run";
5943
4061
  "readiness-checks": "readiness-checks";
5944
4062
  "source-baseline": "source-baseline";
@@ -5983,12 +4101,11 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5983
4101
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5984
4102
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5985
4103
  }, z.core.$strict>>;
5986
- delta: z.ZodNullable<z.ZodNumber>;
5987
4104
  }, z.core.$strict>;
5988
4105
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5989
4106
  gate: z.ZodEnum<{
5990
- "preparation-config": "preparation-config";
5991
4107
  "portable-context": "portable-context";
4108
+ "preparation-config": "preparation-config";
5992
4109
  "compile-run": "compile-run";
5993
4110
  "readiness-checks": "readiness-checks";
5994
4111
  "source-baseline": "source-baseline";
@@ -6026,16 +4143,15 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6026
4143
  compile: "compile";
6027
4144
  "method-authoring": "method-authoring";
6028
4145
  "method-improvement": "method-improvement";
6029
- "preparation-setup": "preparation-setup";
6030
4146
  test: "test";
6031
4147
  "readiness-check-draft": "readiness-check-draft";
6032
4148
  job: "job";
6033
4149
  }>;
6034
4150
  title: z.ZodString;
6035
4151
  status: z.ZodEnum<{
4152
+ succeeded: "succeeded";
6036
4153
  failed: "failed";
6037
4154
  running: "running";
6038
- succeeded: "succeeded";
6039
4155
  cancelled: "cancelled";
6040
4156
  queued: "queued";
6041
4157
  }>;
@@ -6069,11 +4185,11 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6069
4185
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
6070
4186
  path: z.ZodString;
6071
4187
  role: z.ZodEnum<{
6072
- output: "output";
6073
4188
  runtime: "runtime";
4189
+ output: "output";
6074
4190
  source: "source";
6075
- test: "test";
6076
4191
  proof: "proof";
4192
+ test: "test";
6077
4193
  }>;
6078
4194
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6079
4195
  label: z.ZodOptional<z.ZodString>;
@@ -6108,8 +4224,8 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6108
4224
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6109
4225
  compile: z.ZodNullable<z.ZodObject<{
6110
4226
  gate: z.ZodEnum<{
6111
- "preparation-config": "preparation-config";
6112
4227
  "portable-context": "portable-context";
4228
+ "preparation-config": "preparation-config";
6113
4229
  "compile-run": "compile-run";
6114
4230
  "readiness-checks": "readiness-checks";
6115
4231
  "source-baseline": "source-baseline";
@@ -6154,12 +4270,11 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6154
4270
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6155
4271
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6156
4272
  }, z.core.$strict>>;
6157
- delta: z.ZodNullable<z.ZodNumber>;
6158
4273
  }, z.core.$strict>;
6159
4274
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6160
4275
  gate: z.ZodEnum<{
6161
- "preparation-config": "preparation-config";
6162
4276
  "portable-context": "portable-context";
4277
+ "preparation-config": "preparation-config";
6163
4278
  "compile-run": "compile-run";
6164
4279
  "readiness-checks": "readiness-checks";
6165
4280
  "source-baseline": "source-baseline";
@@ -6268,6 +4383,14 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6268
4383
  message: z.ZodString;
6269
4384
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6270
4385
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4386
+ client_origin: z.ZodDefault<z.ZodEnum<{
4387
+ unknown: "unknown";
4388
+ service: "service";
4389
+ "ui-chat": "ui-chat";
4390
+ cli: "cli";
4391
+ "agent-cli": "agent-cli";
4392
+ mcp: "mcp";
4393
+ }>>;
6271
4394
  created_at: z.ZodString;
6272
4395
  updated_at: z.ZodString;
6273
4396
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -6308,6 +4431,14 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6308
4431
  message: z.ZodString;
6309
4432
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6310
4433
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4434
+ client_origin: z.ZodDefault<z.ZodEnum<{
4435
+ unknown: "unknown";
4436
+ service: "service";
4437
+ "ui-chat": "ui-chat";
4438
+ cli: "cli";
4439
+ "agent-cli": "agent-cli";
4440
+ mcp: "mcp";
4441
+ }>>;
6311
4442
  created_at: z.ZodString;
6312
4443
  updated_at: z.ZodString;
6313
4444
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -6357,70 +4488,14 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6357
4488
  message: z.ZodString;
6358
4489
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6359
4490
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6360
- created_at: z.ZodString;
6361
- updated_at: z.ZodString;
6362
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6363
- name: z.ZodString;
6364
- display_name: z.ZodString;
6365
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6366
- }, z.core.$strict>>>;
6367
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6368
- approved: z.ZodBoolean;
6369
- decided_at: z.ZodString;
6370
- note: z.ZodOptional<z.ZodString>;
6371
- }, z.core.$strict>>>;
6372
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6373
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6374
- "compile-run": "compile-run";
6375
- "test-run": "test-run";
6376
- "job-run": "job-run";
6377
- }>>>;
6378
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6379
- action_type: z.ZodLiteral<"preparation-setup">;
6380
- request: z.ZodObject<{
6381
- preparation: z.ZodObject<{
6382
- id: z.ZodOptional<z.ZodString>;
6383
- name: z.ZodString;
6384
- path: z.ZodString;
6385
- about: z.ZodOptional<z.ZodString>;
6386
- method: z.ZodOptional<z.ZodString>;
6387
- max_attempts: z.ZodOptional<z.ZodNumber>;
6388
- max_loops: z.ZodOptional<z.ZodNumber>;
6389
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6390
- id: z.ZodOptional<z.ZodString>;
6391
- question: z.ZodString;
6392
- answer: z.ZodOptional<z.ZodString>;
6393
- expect: z.ZodOptional<z.ZodObject<{
6394
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
6395
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
6396
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
6397
- min_words: z.ZodOptional<z.ZodNumber>;
6398
- max_words: z.ZodOptional<z.ZodNumber>;
6399
- }, z.core.$strip>>;
6400
- strictness: z.ZodOptional<z.ZodString>;
6401
- }, z.core.$strict>>>;
6402
- }, z.core.$strict>;
6403
- prepare_after_setup: z.ZodDefault<z.ZodBoolean>;
6404
- }, z.core.$strict>;
6405
- }, z.core.$strict>, z.ZodObject<{
6406
- kind: z.ZodLiteral<"interf-action-proposal">;
6407
- version: z.ZodLiteral<1>;
6408
- proposal_id: z.ZodString;
6409
- status: z.ZodEnum<{
6410
- failed: "failed";
6411
- needs_clarification: "needs_clarification";
6412
- awaiting_approval: "awaiting_approval";
6413
- approved: "approved";
6414
- denied: "denied";
6415
- submitted: "submitted";
6416
- }>;
6417
- title: z.ZodString;
6418
- summary: z.ZodString;
6419
- assistant_message: z.ZodOptional<z.ZodString>;
6420
- command_preview: z.ZodOptional<z.ZodString>;
6421
- message: z.ZodString;
6422
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6423
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4491
+ client_origin: z.ZodDefault<z.ZodEnum<{
4492
+ unknown: "unknown";
4493
+ service: "service";
4494
+ "ui-chat": "ui-chat";
4495
+ cli: "cli";
4496
+ "agent-cli": "agent-cli";
4497
+ mcp: "mcp";
4498
+ }>>;
6424
4499
  created_at: z.ZodString;
6425
4500
  updated_at: z.ZodString;
6426
4501
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -6444,8 +4519,8 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6444
4519
  request: z.ZodObject<{
6445
4520
  preparation: z.ZodString;
6446
4521
  mode: z.ZodDefault<z.ZodEnum<{
4522
+ "source-files": "source-files";
6447
4523
  compiled: "compiled";
6448
- raw: "raw";
6449
4524
  both: "both";
6450
4525
  }>>;
6451
4526
  }, z.core.$strict>;
@@ -6468,6 +4543,14 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6468
4543
  message: z.ZodString;
6469
4544
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6470
4545
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4546
+ client_origin: z.ZodDefault<z.ZodEnum<{
4547
+ unknown: "unknown";
4548
+ service: "service";
4549
+ "ui-chat": "ui-chat";
4550
+ cli: "cli";
4551
+ "agent-cli": "agent-cli";
4552
+ mcp: "mcp";
4553
+ }>>;
6471
4554
  created_at: z.ZodString;
6472
4555
  updated_at: z.ZodString;
6473
4556
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -6513,6 +4596,14 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6513
4596
  message: z.ZodString;
6514
4597
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6515
4598
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4599
+ client_origin: z.ZodDefault<z.ZodEnum<{
4600
+ unknown: "unknown";
4601
+ service: "service";
4602
+ "ui-chat": "ui-chat";
4603
+ cli: "cli";
4604
+ "agent-cli": "agent-cli";
4605
+ mcp: "mcp";
4606
+ }>>;
6516
4607
  created_at: z.ZodString;
6517
4608
  updated_at: z.ZodString;
6518
4609
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -6575,6 +4666,14 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6575
4666
  message: z.ZodString;
6576
4667
  preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6577
4668
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4669
+ client_origin: z.ZodDefault<z.ZodEnum<{
4670
+ unknown: "unknown";
4671
+ service: "service";
4672
+ "ui-chat": "ui-chat";
4673
+ cli: "cli";
4674
+ "agent-cli": "agent-cli";
4675
+ mcp: "mcp";
4676
+ }>>;
6578
4677
  created_at: z.ZodString;
6579
4678
  updated_at: z.ZodString;
6580
4679
  proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -6648,8 +4747,8 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6648
4747
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6649
4748
  compile: z.ZodNullable<z.ZodObject<{
6650
4749
  gate: z.ZodEnum<{
6651
- "preparation-config": "preparation-config";
6652
4750
  "portable-context": "portable-context";
4751
+ "preparation-config": "preparation-config";
6653
4752
  "compile-run": "compile-run";
6654
4753
  "readiness-checks": "readiness-checks";
6655
4754
  "source-baseline": "source-baseline";
@@ -6694,12 +4793,11 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6694
4793
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6695
4794
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6696
4795
  }, z.core.$strict>>;
6697
- delta: z.ZodNullable<z.ZodNumber>;
6698
4796
  }, z.core.$strict>;
6699
4797
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6700
4798
  gate: z.ZodEnum<{
6701
- "preparation-config": "preparation-config";
6702
4799
  "portable-context": "portable-context";
4800
+ "preparation-config": "preparation-config";
6703
4801
  "compile-run": "compile-run";
6704
4802
  "readiness-checks": "readiness-checks";
6705
4803
  "source-baseline": "source-baseline";
@@ -6730,11 +4828,11 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6730
4828
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
6731
4829
  path: z.ZodString;
6732
4830
  role: z.ZodEnum<{
6733
- output: "output";
6734
4831
  runtime: "runtime";
4832
+ output: "output";
6735
4833
  source: "source";
6736
- test: "test";
6737
4834
  proof: "proof";
4835
+ test: "test";
6738
4836
  }>;
6739
4837
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6740
4838
  label: z.ZodOptional<z.ZodString>;
@@ -6766,8 +4864,8 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
6766
4864
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6767
4865
  compile: z.ZodNullable<z.ZodObject<{
6768
4866
  gate: z.ZodEnum<{
6769
- "preparation-config": "preparation-config";
6770
4867
  "portable-context": "portable-context";
4868
+ "preparation-config": "preparation-config";
6771
4869
  "compile-run": "compile-run";
6772
4870
  "readiness-checks": "readiness-checks";
6773
4871
  "source-baseline": "source-baseline";
@@ -6812,12 +4910,11 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
6812
4910
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6813
4911
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6814
4912
  }, z.core.$strict>>;
6815
- delta: z.ZodNullable<z.ZodNumber>;
6816
4913
  }, z.core.$strict>;
6817
4914
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6818
4915
  gate: z.ZodEnum<{
6819
- "preparation-config": "preparation-config";
6820
4916
  "portable-context": "portable-context";
4917
+ "preparation-config": "preparation-config";
6821
4918
  "compile-run": "compile-run";
6822
4919
  "readiness-checks": "readiness-checks";
6823
4920
  "source-baseline": "source-baseline";
@@ -6862,9 +4959,10 @@ export declare const WorkspaceFileListResponseSchema: z.ZodObject<{
6862
4959
  }, z.core.$strict>>;
6863
4960
  }, z.core.$strict>;
6864
4961
  export type LocalServiceConfig = z.infer<typeof LocalServiceConfigSchema>;
4962
+ export type LocalServiceError = z.infer<typeof LocalServiceErrorSchema>;
6865
4963
  export type LocalServiceHealth = z.infer<typeof LocalServiceHealthSchema>;
6866
- export type LocalServiceInstancePointer = z.infer<typeof LocalServiceInstancePointerSchema>;
6867
- export type PreparationReadinessState = z.infer<typeof PreparationReadinessStateSchema>;
4964
+ export type LocalServicePointer = z.infer<typeof LocalServicePointerSchema>;
4965
+ export type LocalServiceAuthToken = z.infer<typeof LocalServiceAuthTokenSchema>;
6868
4966
  export type PortableContextMapping = z.infer<typeof PortableContextMappingSchema>;
6869
4967
  export type PreparationRunLinkage = z.infer<typeof PreparationRunLinkageSchema>;
6870
4968
  export type PreparationResource = z.infer<typeof PreparationResourceSchema>;
@@ -6883,6 +4981,15 @@ export type LocalJobEventType = z.infer<typeof LocalJobEventTypeSchema>;
6883
4981
  export type LocalJobEvent = z.infer<typeof LocalJobEventSchema>;
6884
4982
  export type LocalJobRunCreateRequest = z.infer<typeof LocalJobRunCreateRequestSchema>;
6885
4983
  export type PreparationSetupCreateRequest = z.infer<typeof PreparationSetupCreateRequestSchema>;
4984
+ export type PreparationSetupResult = z.infer<typeof PreparationSetupResultSchema>;
4985
+ export type WorkspaceBootstrapCreateRequest = z.infer<typeof WorkspaceBootstrapCreateRequestSchema>;
4986
+ export type WorkspaceBootstrapResult = z.infer<typeof WorkspaceBootstrapResultSchema>;
4987
+ export type MethodChangeCreateRequest = z.infer<typeof MethodChangeCreateRequestSchema>;
4988
+ export type MethodChangeResult = z.infer<typeof MethodChangeResultSchema>;
4989
+ export type PreparationChangeCreateRequest = z.infer<typeof PreparationChangeCreateRequestSchema>;
4990
+ export type PreparationChangeResult = z.infer<typeof PreparationChangeResultSchema>;
4991
+ export type ResetRequest = z.infer<typeof ResetRequestSchema>;
4992
+ export type ResetResult = z.infer<typeof ResetResultSchema>;
6886
4993
  export type ReadinessCheckDraftCreateRequest = z.infer<typeof ReadinessCheckDraftCreateRequestSchema>;
6887
4994
  export type ReadinessCheckDraftResult = z.infer<typeof ReadinessCheckDraftResultSchema>;
6888
4995
  export type MethodAuthoringCreateRequest = z.infer<typeof MethodAuthoringCreateRequestSchema>;
@@ -6893,11 +5000,12 @@ export type TestRunStatus = z.infer<typeof TestRunStatusSchema>;
6893
5000
  export type TestRunCreateRequest = z.infer<typeof TestRunCreateRequestSchema>;
6894
5001
  export type TestRunResource = z.infer<typeof TestRunResourceSchema>;
6895
5002
  export type RunObservabilityResource = z.infer<typeof RunObservabilityResourceSchema>;
6896
- export type RunCreateRequest = z.infer<typeof RunCreateRequestSchema>;
6897
5003
  export type LocalExecutorStatus = z.infer<typeof LocalExecutorStatusSchema>;
6898
5004
  export type ActionProposalType = z.infer<typeof ActionProposalTypeSchema>;
5005
+ export type ActionProposalPlanActionType = z.infer<typeof ActionProposalPlanActionTypeSchema>;
6899
5006
  export type ActionProposalStatus = z.infer<typeof ActionProposalStatusSchema>;
6900
- export type ActionProposalCreateRequest = z.infer<typeof ActionProposalCreateRequestSchema>;
5007
+ export type ActionClientOrigin = z.infer<typeof ActionClientOriginSchema>;
5008
+ export type ActionProposalCreateRequest = z.input<typeof ActionProposalCreateRequestSchema>;
6901
5009
  export type ActionProposalPlan = z.infer<typeof ActionProposalPlanSchema>;
6902
5010
  export type ActionProposalApprovalRequest = z.infer<typeof ActionProposalApprovalRequestSchema>;
6903
5011
  export type ActionProposalApproval = z.infer<typeof ActionProposalApprovalSchema>;
@@ -6907,7 +5015,6 @@ export type ReadinessResource = z.infer<typeof ReadinessResourceSchema>;
6907
5015
  export type OpenPathRequest = z.infer<typeof OpenPathRequestSchema>;
6908
5016
  export type OpenPathResponse = z.infer<typeof OpenPathResponseSchema>;
6909
5017
  export type LocalServiceDiscovery = z.infer<typeof LocalServiceDiscoverySchema>;
6910
- export type LocalServiceResource = z.infer<typeof LocalServiceResourceSchema>;
6911
5018
  export type PreparationListResponse = z.infer<typeof PreparationListResponseSchema>;
6912
5019
  export type MethodListResponse = z.infer<typeof MethodListResponseSchema>;
6913
5020
  export type CompileRunListResponse = z.infer<typeof CompileRunListResponseSchema>;
@@ -6919,3 +5026,10 @@ export type PortableContextListResponse = z.infer<typeof PortableContextListResp
6919
5026
  export type ReadinessListResponse = z.infer<typeof ReadinessListResponseSchema>;
6920
5027
  export type SourceFileListResponse = z.infer<typeof SourceFileListResponseSchema>;
6921
5028
  export type WorkspaceFileListResponse = z.infer<typeof WorkspaceFileListResponseSchema>;
5029
+ export type ServiceRegistryWorkspace = z.infer<typeof ServiceRegistryWorkspaceSchema>;
5030
+ export type ServiceRegistryEntry = z.infer<typeof ServiceRegistryEntrySchema>;
5031
+ export type ServiceRegistry = z.infer<typeof ServiceRegistrySchema>;
5032
+ export type WorkspaceRegistrationRequest = z.infer<typeof WorkspaceRegistrationRequestSchema>;
5033
+ export type WorkspaceRegistrationResponse = z.infer<typeof WorkspaceRegistrationResponseSchema>;
5034
+ export type WorkspaceListResponse = z.infer<typeof WorkspaceListResponseSchema>;
5035
+ export type WorkspaceDeregisterResponse = z.infer<typeof WorkspaceDeregisterResponseSchema>;