@interf/compiler 0.9.5 → 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 (214) hide show
  1. package/README.md +96 -92
  2. package/TRADEMARKS.md +2 -13
  3. package/agent-skills/interf-actions/SKILL.md +95 -36
  4. package/agent-skills/interf-actions/references/cli.md +118 -51
  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 +8 -25
  13. package/dist/cli/commands/compile.js +75 -360
  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 -26
  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 +68 -111
  29. package/dist/cli/commands/test.d.ts +6 -14
  30. package/dist/cli/commands/test.js +65 -181
  31. package/dist/cli/commands/web.d.ts +0 -9
  32. package/dist/cli/commands/web.js +147 -120
  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/{18a8f2jkv3z.c.css → 045gole2ojo3g.css} +1 -1
  44. package/dist/compiler-ui/_next/static/chunks/{177mvn4rse235.js → 17t-lulmyawg5.js} +9 -9
  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/packages/agents/lib/shells.d.ts +1 -1
  56. package/dist/packages/agents/lib/shells.js +111 -52
  57. package/dist/packages/agents/lib/user-config.d.ts +4 -2
  58. package/dist/packages/agents/lib/user-config.js +15 -7
  59. package/dist/packages/compiler/compiled-paths.d.ts +9 -2
  60. package/dist/packages/compiler/compiled-paths.js +30 -15
  61. package/dist/packages/compiler/compiled-pipeline.js +23 -3
  62. package/dist/packages/compiler/compiled-stage-plan.js +4 -0
  63. package/dist/packages/compiler/compiled-target.d.ts +1 -1
  64. package/dist/packages/compiler/compiled-target.js +1 -1
  65. package/dist/packages/compiler/index.d.ts +1 -0
  66. package/dist/packages/compiler/index.js +1 -0
  67. package/dist/packages/compiler/lib/schema.d.ts +26 -31
  68. package/dist/packages/compiler/lib/schema.js +1 -12
  69. package/dist/packages/compiler/method-runs.d.ts +2 -3
  70. package/dist/packages/compiler/method-runs.js +2 -3
  71. package/dist/packages/compiler/reset.js +3 -1
  72. package/dist/packages/compiler/runtime-contracts.js +0 -3
  73. package/dist/packages/compiler/runtime-prompt.js +1 -1
  74. package/dist/packages/compiler/source-files.d.ts +46 -0
  75. package/dist/packages/compiler/source-files.js +149 -0
  76. package/dist/packages/compiler/state-artifacts.d.ts +3 -2
  77. package/dist/packages/compiler/state-artifacts.js +4 -3
  78. package/dist/packages/compiler/state-io.d.ts +3 -2
  79. package/dist/packages/compiler/state-io.js +11 -5
  80. package/dist/packages/compiler/state-paths.d.ts +2 -1
  81. package/dist/packages/compiler/state-paths.js +6 -3
  82. package/dist/packages/compiler/state-view.d.ts +3 -2
  83. package/dist/packages/compiler/state-view.js +18 -28
  84. package/dist/packages/compiler/state.d.ts +4 -4
  85. package/dist/packages/compiler/state.js +3 -3
  86. package/dist/packages/contracts/index.d.ts +1 -1
  87. package/dist/packages/contracts/lib/preparation-paths.d.ts +117 -0
  88. package/dist/packages/contracts/lib/preparation-paths.js +177 -0
  89. package/dist/packages/contracts/lib/schema.d.ts +85 -5
  90. package/dist/packages/contracts/lib/schema.js +46 -1
  91. package/dist/packages/execution/lib/schema.d.ts +50 -50
  92. package/dist/packages/execution/lib/schema.js +1 -1
  93. package/dist/packages/local-service/action-definitions.d.ts +14 -14
  94. package/dist/packages/local-service/action-definitions.js +27 -28
  95. package/dist/packages/local-service/action-planner.js +2 -1
  96. package/dist/packages/local-service/client.d.ts +51 -52
  97. package/dist/packages/local-service/client.js +132 -140
  98. package/dist/packages/local-service/connection-config.d.ts +38 -0
  99. package/dist/packages/local-service/connection-config.js +75 -0
  100. package/dist/packages/local-service/index.d.ts +11 -7
  101. package/dist/packages/local-service/index.js +6 -4
  102. package/dist/packages/local-service/instance-paths.d.ts +100 -0
  103. package/dist/packages/local-service/instance-paths.js +165 -0
  104. package/dist/packages/local-service/lib/schema.d.ts +405 -2297
  105. package/dist/packages/local-service/lib/schema.js +146 -62
  106. package/dist/packages/local-service/native-run-handlers.js +3 -3
  107. package/dist/packages/local-service/preparation-store.d.ts +92 -0
  108. package/dist/packages/local-service/preparation-store.js +171 -0
  109. package/dist/packages/local-service/routes.d.ts +33 -16
  110. package/dist/packages/local-service/routes.js +44 -20
  111. package/dist/packages/local-service/run-observability.js +11 -11
  112. package/dist/packages/local-service/runtime-caches.d.ts +76 -0
  113. package/dist/packages/local-service/runtime-caches.js +191 -0
  114. package/dist/packages/local-service/runtime-event-applier.d.ts +12 -0
  115. package/dist/packages/local-service/runtime-event-applier.js +177 -0
  116. package/dist/packages/local-service/runtime-persistence.d.ts +47 -0
  117. package/dist/packages/local-service/runtime-persistence.js +137 -0
  118. package/dist/packages/local-service/runtime-proposal-helpers.d.ts +35 -0
  119. package/dist/packages/local-service/runtime-proposal-helpers.js +251 -0
  120. package/dist/packages/local-service/runtime-resource-builders.d.ts +52 -0
  121. package/dist/packages/local-service/runtime-resource-builders.js +149 -0
  122. package/dist/packages/local-service/runtime.d.ts +197 -43
  123. package/dist/packages/local-service/runtime.js +800 -974
  124. package/dist/packages/local-service/server.d.ts +15 -0
  125. package/dist/packages/local-service/server.js +641 -273
  126. package/dist/packages/local-service/service-registry.d.ts +47 -0
  127. package/dist/packages/local-service/service-registry.js +137 -0
  128. package/dist/packages/method-authoring/method-authoring.d.ts +1 -1
  129. package/dist/packages/method-authoring/method-authoring.js +2 -2
  130. package/dist/packages/method-authoring/method-improvement.js +1 -1
  131. package/dist/packages/method-package/builtin-compiled-method.d.ts +4 -5
  132. package/dist/packages/method-package/builtin-compiled-method.js +8 -14
  133. package/dist/packages/method-package/context-interface.d.ts +4 -40
  134. package/dist/packages/method-package/context-interface.js +1 -23
  135. package/dist/packages/method-package/interf-method-package.d.ts +4 -4
  136. package/dist/packages/method-package/interf-method-package.js +21 -33
  137. package/dist/packages/method-package/local-methods.d.ts +10 -6
  138. package/dist/packages/method-package/local-methods.js +57 -39
  139. package/dist/packages/method-package/method-definitions.d.ts +8 -34
  140. package/dist/packages/method-package/method-definitions.js +49 -37
  141. package/dist/packages/method-package/method-helpers.d.ts +1 -13
  142. package/dist/packages/method-package/method-helpers.js +8 -42
  143. package/dist/packages/method-package/method-stage-runner.js +2 -2
  144. package/dist/packages/method-package/user-methods.d.ts +17 -0
  145. package/dist/packages/method-package/user-methods.js +77 -0
  146. package/dist/packages/project-model/index.d.ts +0 -1
  147. package/dist/packages/project-model/index.js +0 -1
  148. package/dist/packages/project-model/interf-detect.d.ts +8 -3
  149. package/dist/packages/project-model/interf-detect.js +34 -34
  150. package/dist/packages/project-model/interf-scaffold.d.ts +3 -3
  151. package/dist/packages/project-model/interf-scaffold.js +23 -32
  152. package/dist/packages/project-model/lib/schema.js +38 -1
  153. package/dist/packages/project-model/preparation-entries.d.ts +5 -5
  154. package/dist/packages/project-model/preparation-entries.js +14 -14
  155. package/dist/packages/project-model/source-config.d.ts +11 -11
  156. package/dist/packages/project-model/source-config.js +74 -46
  157. package/dist/packages/project-model/source-folders.d.ts +5 -5
  158. package/dist/packages/project-model/source-folders.js +14 -14
  159. package/dist/packages/shared/filesystem.d.ts +7 -0
  160. package/dist/packages/shared/filesystem.js +97 -10
  161. package/dist/packages/testing/lib/schema.d.ts +10 -10
  162. package/dist/packages/testing/lib/schema.js +2 -2
  163. package/dist/packages/testing/readiness-check-run.d.ts +4 -4
  164. package/dist/packages/testing/readiness-check-run.js +36 -36
  165. package/dist/packages/testing/test-execution.js +6 -6
  166. package/dist/packages/testing/test-paths.js +4 -3
  167. package/dist/packages/testing/test-sandbox.d.ts +0 -1
  168. package/dist/packages/testing/test-sandbox.js +14 -30
  169. package/dist/packages/testing/test-targets.d.ts +1 -1
  170. package/dist/packages/testing/test-targets.js +6 -6
  171. package/dist/packages/testing/test.d.ts +1 -1
  172. package/dist/packages/testing/test.js +1 -1
  173. package/package.json +3 -4
  174. package/CHANGELOG.md +0 -93
  175. package/LICENSE +0 -183
  176. package/dist/cli/commands/action-input-cli.d.ts +0 -25
  177. package/dist/cli/commands/action-input-cli.js +0 -73
  178. package/dist/cli/commands/control-path.d.ts +0 -11
  179. package/dist/cli/commands/control-path.js +0 -72
  180. package/dist/cli/commands/create-method-wizard.d.ts +0 -64
  181. package/dist/cli/commands/create-method-wizard.js +0 -434
  182. package/dist/cli/commands/create.d.ts +0 -6
  183. package/dist/cli/commands/create.js +0 -183
  184. package/dist/cli/commands/default.d.ts +0 -2
  185. package/dist/cli/commands/default.js +0 -39
  186. package/dist/cli/commands/executor-flow.d.ts +0 -29
  187. package/dist/cli/commands/executor-flow.js +0 -163
  188. package/dist/cli/commands/init.d.ts +0 -26
  189. package/dist/cli/commands/init.js +0 -771
  190. package/dist/cli/commands/list.d.ts +0 -2
  191. package/dist/cli/commands/list.js +0 -30
  192. package/dist/cli/commands/preparation-action.d.ts +0 -8
  193. package/dist/cli/commands/preparation-action.js +0 -29
  194. package/dist/cli/commands/preparation-picker.d.ts +0 -5
  195. package/dist/cli/commands/preparation-picker.js +0 -36
  196. package/dist/cli/commands/preparation-selection.d.ts +0 -6
  197. package/dist/cli/commands/preparation-selection.js +0 -11
  198. package/dist/cli/commands/service-action-flow.d.ts +0 -9
  199. package/dist/cli/commands/service-action-flow.js +0 -19
  200. package/dist/cli/commands/source-config-wizard.d.ts +0 -51
  201. package/dist/cli/commands/source-config-wizard.js +0 -670
  202. package/dist/cli/commands/verify.d.ts +0 -2
  203. package/dist/cli/commands/verify.js +0 -94
  204. package/dist/packages/compiler/raw-snapshot.d.ts +0 -49
  205. package/dist/packages/compiler/raw-snapshot.js +0 -101
  206. package/dist/packages/method-package/index.d.ts +0 -11
  207. package/dist/packages/method-package/index.js +0 -11
  208. package/dist/packages/method-package/method-stage-policy.d.ts +0 -5
  209. package/dist/packages/method-package/method-stage-policy.js +0 -31
  210. package/dist/packages/project-model/project-paths.d.ts +0 -12
  211. package/dist/packages/project-model/project-paths.js +0 -33
  212. /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → C6vVfy3aeYuIO3d2AoNvC}/_buildManifest.js +0 -0
  213. /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → C6vVfy3aeYuIO3d2AoNvC}/_clientMiddlewareManifest.js +0 -0
  214. /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → C6vVfy3aeYuIO3d2AoNvC}/_ssgManifest.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,6 +175,14 @@ 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>;
19
186
  }, z.core.$strict>;
20
187
  export declare const LocalServiceErrorSchema: z.ZodObject<{
21
188
  error: z.ZodObject<{
@@ -30,104 +197,7 @@ export declare const LocalServicePointerSchema: z.ZodObject<{
30
197
  pid: z.ZodNumber;
31
198
  control_path: z.ZodString;
32
199
  started_at: z.ZodString;
33
- }, z.core.$strict>;
34
- export declare const PreparationReadinessStateSchema: z.ZodObject<{
35
- kind: z.ZodLiteral<"interf-readiness-state">;
36
- version: z.ZodLiteral<1>;
37
- generated_at: z.ZodString;
38
- preparation: z.ZodString;
39
- status: z.ZodEnum<{
40
- "not-configured": "not-configured";
41
- "not-built": "not-built";
42
- building: "building";
43
- built: "built";
44
- checking: "checking";
45
- ready: "ready";
46
- "not-ready": "not-ready";
47
- stale: "stale";
48
- failed: "failed";
49
- }>;
50
- ready: z.ZodBoolean;
51
- summary: z.ZodString;
52
- portable_context_path: z.ZodNullable<z.ZodString>;
53
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
- compile: z.ZodNullable<z.ZodObject<{
56
- gate: z.ZodEnum<{
57
- "preparation-config": "preparation-config";
58
- "portable-context": "portable-context";
59
- "compile-run": "compile-run";
60
- "readiness-checks": "readiness-checks";
61
- "source-baseline": "source-baseline";
62
- "portable-context-check": "portable-context-check";
63
- "checks-current": "checks-current";
64
- }>;
65
- ok: z.ZodBoolean;
66
- status: z.ZodOptional<z.ZodEnum<{
67
- "not-configured": "not-configured";
68
- "not-built": "not-built";
69
- building: "building";
70
- built: "built";
71
- checking: "checking";
72
- ready: "ready";
73
- "not-ready": "not-ready";
74
- stale: "stale";
75
- failed: "failed";
76
- }>>;
77
- summary: z.ZodString;
78
- detail: z.ZodOptional<z.ZodString>;
79
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
80
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
81
- }, z.core.$strict>>;
82
- check_results: z.ZodObject<{
83
- configured: z.ZodNumber;
84
- fingerprint: z.ZodNullable<z.ZodString>;
85
- source_files: z.ZodNullable<z.ZodObject<{
86
- passed: z.ZodNumber;
87
- total: z.ZodNumber;
88
- pass_rate: z.ZodNullable<z.ZodNumber>;
89
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
90
- stale: z.ZodDefault<z.ZodBoolean>;
91
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
92
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
- }, z.core.$strict>>;
94
- portable_context: z.ZodNullable<z.ZodObject<{
95
- passed: z.ZodNumber;
96
- total: z.ZodNumber;
97
- pass_rate: z.ZodNullable<z.ZodNumber>;
98
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
- stale: z.ZodDefault<z.ZodBoolean>;
100
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
- }, z.core.$strict>>;
103
- }, z.core.$strict>;
104
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
105
- gate: z.ZodEnum<{
106
- "preparation-config": "preparation-config";
107
- "portable-context": "portable-context";
108
- "compile-run": "compile-run";
109
- "readiness-checks": "readiness-checks";
110
- "source-baseline": "source-baseline";
111
- "portable-context-check": "portable-context-check";
112
- "checks-current": "checks-current";
113
- }>;
114
- ok: z.ZodBoolean;
115
- status: z.ZodOptional<z.ZodEnum<{
116
- "not-configured": "not-configured";
117
- "not-built": "not-built";
118
- building: "building";
119
- built: "built";
120
- checking: "checking";
121
- ready: "ready";
122
- "not-ready": "not-ready";
123
- stale: "stale";
124
- failed: "failed";
125
- }>>;
126
- summary: z.ZodString;
127
- detail: z.ZodOptional<z.ZodString>;
128
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
- }, z.core.$strict>>>;
200
+ auth_token: z.ZodOptional<z.ZodString>;
131
201
  }, z.core.$strict>;
132
202
  export declare const PortableContextMappingSchema: z.ZodObject<{
133
203
  preparation: z.ZodString;
@@ -213,8 +283,8 @@ export declare const PreparationResourceSchema: z.ZodObject<{
213
283
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
214
284
  compile: z.ZodNullable<z.ZodObject<{
215
285
  gate: z.ZodEnum<{
216
- "preparation-config": "preparation-config";
217
286
  "portable-context": "portable-context";
287
+ "preparation-config": "preparation-config";
218
288
  "compile-run": "compile-run";
219
289
  "readiness-checks": "readiness-checks";
220
290
  "source-baseline": "source-baseline";
@@ -262,8 +332,8 @@ export declare const PreparationResourceSchema: z.ZodObject<{
262
332
  }, z.core.$strict>;
263
333
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
264
334
  gate: z.ZodEnum<{
265
- "preparation-config": "preparation-config";
266
335
  "portable-context": "portable-context";
336
+ "preparation-config": "preparation-config";
267
337
  "compile-run": "compile-run";
268
338
  "readiness-checks": "readiness-checks";
269
339
  "source-baseline": "source-baseline";
@@ -332,9 +402,9 @@ export declare const CompileRunCreateRequestSchema: z.ZodObject<{
332
402
  export declare const CompileRunSummarySchema: z.ZodObject<{
333
403
  run_id: z.ZodString;
334
404
  status: z.ZodEnum<{
405
+ succeeded: "succeeded";
335
406
  failed: "failed";
336
407
  running: "running";
337
- succeeded: "succeeded";
338
408
  cancelled: "cancelled";
339
409
  queued: "queued";
340
410
  }>;
@@ -379,11 +449,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
379
449
  artifact: z.ZodObject<{
380
450
  path: z.ZodString;
381
451
  role: z.ZodEnum<{
382
- output: "output";
383
452
  runtime: "runtime";
453
+ output: "output";
384
454
  source: "source";
385
- test: "test";
386
455
  proof: "proof";
456
+ test: "test";
387
457
  }>;
388
458
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
389
459
  label: z.ZodOptional<z.ZodString>;
@@ -405,11 +475,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
405
475
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
406
476
  path: z.ZodString;
407
477
  role: z.ZodEnum<{
408
- output: "output";
409
478
  runtime: "runtime";
479
+ output: "output";
410
480
  source: "source";
411
- test: "test";
412
481
  proof: "proof";
482
+ test: "test";
413
483
  }>;
414
484
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
415
485
  label: z.ZodOptional<z.ZodString>;
@@ -468,8 +538,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
468
538
  passed: z.ZodNumber;
469
539
  total: z.ZodNumber;
470
540
  target: z.ZodOptional<z.ZodEnum<{
541
+ "source-files": "source-files";
471
542
  compiled: "compiled";
472
- raw: "raw";
473
543
  }>>;
474
544
  checks_fingerprint: z.ZodOptional<z.ZodString>;
475
545
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -503,8 +573,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
503
573
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
504
574
  compile: z.ZodNullable<z.ZodObject<{
505
575
  gate: z.ZodEnum<{
506
- "preparation-config": "preparation-config";
507
576
  "portable-context": "portable-context";
577
+ "preparation-config": "preparation-config";
508
578
  "compile-run": "compile-run";
509
579
  "readiness-checks": "readiness-checks";
510
580
  "source-baseline": "source-baseline";
@@ -552,8 +622,8 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
552
622
  }, z.core.$strict>;
553
623
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
554
624
  gate: z.ZodEnum<{
555
- "preparation-config": "preparation-config";
556
625
  "portable-context": "portable-context";
626
+ "preparation-config": "preparation-config";
557
627
  "compile-run": "compile-run";
558
628
  "readiness-checks": "readiness-checks";
559
629
  "source-baseline": "source-baseline";
@@ -589,11 +659,11 @@ export declare const CompileRunSummarySchema: z.ZodObject<{
589
659
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
590
660
  path: z.ZodString;
591
661
  role: z.ZodEnum<{
592
- output: "output";
593
662
  runtime: "runtime";
663
+ output: "output";
594
664
  source: "source";
595
- test: "test";
596
665
  proof: "proof";
666
+ test: "test";
597
667
  }>;
598
668
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
599
669
  label: z.ZodOptional<z.ZodString>;
@@ -613,9 +683,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
613
683
  version: z.ZodLiteral<1>;
614
684
  run_id: z.ZodString;
615
685
  status: z.ZodEnum<{
686
+ succeeded: "succeeded";
616
687
  failed: "failed";
617
688
  running: "running";
618
- succeeded: "succeeded";
619
689
  cancelled: "cancelled";
620
690
  queued: "queued";
621
691
  }>;
@@ -637,9 +707,9 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
637
707
  stage_index: z.ZodOptional<z.ZodNumber>;
638
708
  stage_total: z.ZodOptional<z.ZodNumber>;
639
709
  status: z.ZodEnum<{
710
+ succeeded: "succeeded";
640
711
  failed: "failed";
641
712
  running: "running";
642
- succeeded: "succeeded";
643
713
  queued: "queued";
644
714
  }>;
645
715
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -670,11 +740,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
670
740
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
671
741
  path: z.ZodString;
672
742
  role: z.ZodEnum<{
673
- output: "output";
674
743
  runtime: "runtime";
744
+ output: "output";
675
745
  source: "source";
676
- test: "test";
677
746
  proof: "proof";
747
+ test: "test";
678
748
  }>;
679
749
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
680
750
  label: z.ZodOptional<z.ZodString>;
@@ -696,11 +766,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
696
766
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
697
767
  path: z.ZodString;
698
768
  role: z.ZodEnum<{
699
- output: "output";
700
769
  runtime: "runtime";
770
+ output: "output";
701
771
  source: "source";
702
- test: "test";
703
772
  proof: "proof";
773
+ test: "test";
704
774
  }>;
705
775
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
706
776
  label: z.ZodOptional<z.ZodString>;
@@ -751,11 +821,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
751
821
  artifact: z.ZodObject<{
752
822
  path: z.ZodString;
753
823
  role: z.ZodEnum<{
754
- output: "output";
755
824
  runtime: "runtime";
825
+ output: "output";
756
826
  source: "source";
757
- test: "test";
758
827
  proof: "proof";
828
+ test: "test";
759
829
  }>;
760
830
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
761
831
  label: z.ZodOptional<z.ZodString>;
@@ -777,11 +847,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
777
847
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
778
848
  path: z.ZodString;
779
849
  role: z.ZodEnum<{
780
- output: "output";
781
850
  runtime: "runtime";
851
+ output: "output";
782
852
  source: "source";
783
- test: "test";
784
853
  proof: "proof";
854
+ test: "test";
785
855
  }>;
786
856
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
787
857
  label: z.ZodOptional<z.ZodString>;
@@ -840,8 +910,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
840
910
  passed: z.ZodNumber;
841
911
  total: z.ZodNumber;
842
912
  target: z.ZodOptional<z.ZodEnum<{
913
+ "source-files": "source-files";
843
914
  compiled: "compiled";
844
- raw: "raw";
845
915
  }>>;
846
916
  checks_fingerprint: z.ZodOptional<z.ZodString>;
847
917
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -875,8 +945,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
875
945
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
876
946
  compile: z.ZodNullable<z.ZodObject<{
877
947
  gate: z.ZodEnum<{
878
- "preparation-config": "preparation-config";
879
948
  "portable-context": "portable-context";
949
+ "preparation-config": "preparation-config";
880
950
  "compile-run": "compile-run";
881
951
  "readiness-checks": "readiness-checks";
882
952
  "source-baseline": "source-baseline";
@@ -924,8 +994,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
924
994
  }, z.core.$strict>;
925
995
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
926
996
  gate: z.ZodEnum<{
927
- "preparation-config": "preparation-config";
928
997
  "portable-context": "portable-context";
998
+ "preparation-config": "preparation-config";
929
999
  "compile-run": "compile-run";
930
1000
  "readiness-checks": "readiness-checks";
931
1001
  "source-baseline": "source-baseline";
@@ -961,11 +1031,11 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
961
1031
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
962
1032
  path: z.ZodString;
963
1033
  role: z.ZodEnum<{
964
- output: "output";
965
1034
  runtime: "runtime";
1035
+ output: "output";
966
1036
  source: "source";
967
- test: "test";
968
1037
  proof: "proof";
1038
+ test: "test";
969
1039
  }>;
970
1040
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
971
1041
  label: z.ZodOptional<z.ZodString>;
@@ -1001,8 +1071,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1001
1071
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1002
1072
  compile: z.ZodNullable<z.ZodObject<{
1003
1073
  gate: z.ZodEnum<{
1004
- "preparation-config": "preparation-config";
1005
1074
  "portable-context": "portable-context";
1075
+ "preparation-config": "preparation-config";
1006
1076
  "compile-run": "compile-run";
1007
1077
  "readiness-checks": "readiness-checks";
1008
1078
  "source-baseline": "source-baseline";
@@ -1050,8 +1120,8 @@ export declare const CompileRunResourceSchema: z.ZodObject<{
1050
1120
  }, z.core.$strict>;
1051
1121
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1052
1122
  gate: z.ZodEnum<{
1053
- "preparation-config": "preparation-config";
1054
1123
  "portable-context": "portable-context";
1124
+ "preparation-config": "preparation-config";
1055
1125
  "compile-run": "compile-run";
1056
1126
  "readiness-checks": "readiness-checks";
1057
1127
  "source-baseline": "source-baseline";
@@ -1083,10 +1153,17 @@ export declare const LocalJobTypeSchema: z.ZodEnum<{
1083
1153
  "method-improvement": "method-improvement";
1084
1154
  "readiness-check-draft": "readiness-check-draft";
1085
1155
  }>;
1086
- export declare const LocalJobStatusSchema: z.ZodEnum<{
1156
+ export declare const RunStatusSchema: z.ZodEnum<{
1157
+ succeeded: "succeeded";
1087
1158
  failed: "failed";
1088
1159
  running: "running";
1160
+ cancelled: "cancelled";
1161
+ queued: "queued";
1162
+ }>;
1163
+ export declare const LocalJobStatusSchema: z.ZodEnum<{
1089
1164
  succeeded: "succeeded";
1165
+ failed: "failed";
1166
+ running: "running";
1090
1167
  cancelled: "cancelled";
1091
1168
  queued: "queued";
1092
1169
  }>;
@@ -1098,8 +1175,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1098
1175
  version: z.ZodLiteral<1>;
1099
1176
  generated_at: z.ZodString;
1100
1177
  mode: z.ZodEnum<{
1178
+ "source-files": "source-files";
1101
1179
  compiled: "compiled";
1102
- raw: "raw";
1103
1180
  both: "both";
1104
1181
  }>;
1105
1182
  source_path: z.ZodString;
@@ -1108,7 +1185,7 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1108
1185
  name: z.ZodString;
1109
1186
  portable_context_path: z.ZodNullable<z.ZodString>;
1110
1187
  }, z.core.$strip>;
1111
- raw: z.ZodNullable<z.ZodObject<{
1188
+ source_files: z.ZodNullable<z.ZodObject<{
1112
1189
  label: z.ZodString;
1113
1190
  run_path: z.ZodString;
1114
1191
  ok: z.ZodBoolean;
@@ -1118,8 +1195,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1118
1195
  total_checks: z.ZodNumber;
1119
1196
  target: z.ZodObject<{
1120
1197
  type: z.ZodEnum<{
1198
+ "source-files": "source-files";
1121
1199
  compiled: "compiled";
1122
- raw: "raw";
1123
1200
  }>;
1124
1201
  name: z.ZodString;
1125
1202
  path: z.ZodString;
@@ -1136,8 +1213,8 @@ export declare const LocalRunHandlerResultSchema: z.ZodObject<{
1136
1213
  total_checks: z.ZodNumber;
1137
1214
  target: z.ZodObject<{
1138
1215
  type: z.ZodEnum<{
1216
+ "source-files": "source-files";
1139
1217
  compiled: "compiled";
1140
- raw: "raw";
1141
1218
  }>;
1142
1219
  name: z.ZodString;
1143
1220
  path: z.ZodString;
@@ -1165,9 +1242,9 @@ export declare const LocalJobStepSchema: z.ZodObject<{
1165
1242
  id: z.ZodString;
1166
1243
  label: z.ZodString;
1167
1244
  status: z.ZodEnum<{
1245
+ succeeded: "succeeded";
1168
1246
  failed: "failed";
1169
1247
  running: "running";
1170
- succeeded: "succeeded";
1171
1248
  cancelled: "cancelled";
1172
1249
  queued: "queued";
1173
1250
  }>;
@@ -1206,11 +1283,11 @@ export declare const LocalJobEventSchema: z.ZodObject<{
1206
1283
  artifact: z.ZodOptional<z.ZodObject<{
1207
1284
  path: z.ZodString;
1208
1285
  role: z.ZodEnum<{
1209
- output: "output";
1210
1286
  runtime: "runtime";
1287
+ output: "output";
1211
1288
  source: "source";
1212
- test: "test";
1213
1289
  proof: "proof";
1290
+ test: "test";
1214
1291
  }>;
1215
1292
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1216
1293
  label: z.ZodOptional<z.ZodString>;
@@ -1287,6 +1364,24 @@ export declare const PreparationSetupResultSchema: z.ZodObject<{
1287
1364
  submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1288
1365
  submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodLiteral<"compile-run">>>;
1289
1366
  }, z.core.$strict>;
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>;
1290
1385
  export declare const MethodChangeCreateRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1291
1386
  action_type: z.ZodOptional<z.ZodLiteral<"method-change">>;
1292
1387
  operation: z.ZodLiteral<"duplicate">;
@@ -1423,11 +1518,11 @@ export declare const LocalJobEventAppendRequestSchema: z.ZodObject<{
1423
1518
  artifact: z.ZodOptional<z.ZodObject<{
1424
1519
  path: z.ZodString;
1425
1520
  role: z.ZodEnum<{
1426
- output: "output";
1427
1521
  runtime: "runtime";
1522
+ output: "output";
1428
1523
  source: "source";
1429
- test: "test";
1430
1524
  proof: "proof";
1525
+ test: "test";
1431
1526
  }>;
1432
1527
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1433
1528
  label: z.ZodOptional<z.ZodString>;
@@ -1446,9 +1541,9 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1446
1541
  "readiness-check-draft": "readiness-check-draft";
1447
1542
  }>;
1448
1543
  status: z.ZodEnum<{
1544
+ succeeded: "succeeded";
1449
1545
  failed: "failed";
1450
1546
  running: "running";
1451
- succeeded: "succeeded";
1452
1547
  cancelled: "cancelled";
1453
1548
  queued: "queued";
1454
1549
  }>;
@@ -1469,9 +1564,9 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1469
1564
  id: z.ZodString;
1470
1565
  label: z.ZodString;
1471
1566
  status: z.ZodEnum<{
1567
+ succeeded: "succeeded";
1472
1568
  failed: "failed";
1473
1569
  running: "running";
1474
- succeeded: "succeeded";
1475
1570
  cancelled: "cancelled";
1476
1571
  queued: "queued";
1477
1572
  }>;
@@ -1500,11 +1595,11 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1500
1595
  artifact: z.ZodOptional<z.ZodObject<{
1501
1596
  path: z.ZodString;
1502
1597
  role: z.ZodEnum<{
1503
- output: "output";
1504
1598
  runtime: "runtime";
1599
+ output: "output";
1505
1600
  source: "source";
1506
- test: "test";
1507
1601
  proof: "proof";
1602
+ test: "test";
1508
1603
  }>;
1509
1604
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1510
1605
  label: z.ZodOptional<z.ZodString>;
@@ -1517,33 +1612,33 @@ export declare const LocalJobRunResourceSchema: z.ZodObject<{
1517
1612
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1518
1613
  }, z.core.$strict>;
1519
1614
  export declare const TestRunStatusSchema: z.ZodEnum<{
1615
+ succeeded: "succeeded";
1520
1616
  failed: "failed";
1521
1617
  running: "running";
1522
- succeeded: "succeeded";
1523
1618
  cancelled: "cancelled";
1524
1619
  queued: "queued";
1525
1620
  }>;
1526
1621
  export declare const TestRunCreateRequestSchema: z.ZodObject<{
1527
1622
  preparation: z.ZodString;
1528
1623
  mode: z.ZodDefault<z.ZodEnum<{
1624
+ "source-files": "source-files";
1529
1625
  compiled: "compiled";
1530
- raw: "raw";
1531
1626
  both: "both";
1532
1627
  }>>;
1533
1628
  }, z.core.$strict>;
1534
1629
  export declare const TestRunResourceSchema: z.ZodObject<{
1535
1630
  run_id: z.ZodString;
1536
1631
  status: z.ZodEnum<{
1632
+ succeeded: "succeeded";
1537
1633
  failed: "failed";
1538
1634
  running: "running";
1539
- succeeded: "succeeded";
1540
1635
  cancelled: "cancelled";
1541
1636
  queued: "queued";
1542
1637
  }>;
1543
1638
  preparation: z.ZodString;
1544
1639
  mode: z.ZodEnum<{
1640
+ "source-files": "source-files";
1545
1641
  compiled: "compiled";
1546
- raw: "raw";
1547
1642
  both: "both";
1548
1643
  }>;
1549
1644
  source_path: z.ZodString;
@@ -1555,8 +1650,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1555
1650
  version: z.ZodLiteral<1>;
1556
1651
  generated_at: z.ZodString;
1557
1652
  mode: z.ZodEnum<{
1653
+ "source-files": "source-files";
1558
1654
  compiled: "compiled";
1559
- raw: "raw";
1560
1655
  both: "both";
1561
1656
  }>;
1562
1657
  source_path: z.ZodString;
@@ -1565,7 +1660,7 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1565
1660
  name: z.ZodString;
1566
1661
  portable_context_path: z.ZodNullable<z.ZodString>;
1567
1662
  }, z.core.$strip>;
1568
- raw: z.ZodNullable<z.ZodObject<{
1663
+ source_files: z.ZodNullable<z.ZodObject<{
1569
1664
  label: z.ZodString;
1570
1665
  run_path: z.ZodString;
1571
1666
  ok: z.ZodBoolean;
@@ -1575,8 +1670,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1575
1670
  total_checks: z.ZodNumber;
1576
1671
  target: z.ZodObject<{
1577
1672
  type: z.ZodEnum<{
1673
+ "source-files": "source-files";
1578
1674
  compiled: "compiled";
1579
- raw: "raw";
1580
1675
  }>;
1581
1676
  name: z.ZodString;
1582
1677
  path: z.ZodString;
@@ -1593,8 +1688,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1593
1688
  total_checks: z.ZodNumber;
1594
1689
  target: z.ZodObject<{
1595
1690
  type: z.ZodEnum<{
1691
+ "source-files": "source-files";
1596
1692
  compiled: "compiled";
1597
- raw: "raw";
1598
1693
  }>;
1599
1694
  name: z.ZodString;
1600
1695
  path: z.ZodString;
@@ -1629,8 +1724,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1629
1724
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1630
1725
  compile: z.ZodNullable<z.ZodObject<{
1631
1726
  gate: z.ZodEnum<{
1632
- "preparation-config": "preparation-config";
1633
1727
  "portable-context": "portable-context";
1728
+ "preparation-config": "preparation-config";
1634
1729
  "compile-run": "compile-run";
1635
1730
  "readiness-checks": "readiness-checks";
1636
1731
  "source-baseline": "source-baseline";
@@ -1678,8 +1773,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1678
1773
  }, z.core.$strict>;
1679
1774
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1680
1775
  gate: z.ZodEnum<{
1681
- "preparation-config": "preparation-config";
1682
1776
  "portable-context": "portable-context";
1777
+ "preparation-config": "preparation-config";
1683
1778
  "compile-run": "compile-run";
1684
1779
  "readiness-checks": "readiness-checks";
1685
1780
  "source-baseline": "source-baseline";
@@ -1740,11 +1835,11 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1740
1835
  artifact: z.ZodObject<{
1741
1836
  path: z.ZodString;
1742
1837
  role: z.ZodEnum<{
1743
- output: "output";
1744
1838
  runtime: "runtime";
1839
+ output: "output";
1745
1840
  source: "source";
1746
- test: "test";
1747
1841
  proof: "proof";
1842
+ test: "test";
1748
1843
  }>;
1749
1844
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1750
1845
  label: z.ZodOptional<z.ZodString>;
@@ -1766,11 +1861,11 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1766
1861
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1767
1862
  path: z.ZodString;
1768
1863
  role: z.ZodEnum<{
1769
- output: "output";
1770
1864
  runtime: "runtime";
1865
+ output: "output";
1771
1866
  source: "source";
1772
- test: "test";
1773
1867
  proof: "proof";
1868
+ test: "test";
1774
1869
  }>;
1775
1870
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1776
1871
  label: z.ZodOptional<z.ZodString>;
@@ -1829,8 +1924,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1829
1924
  passed: z.ZodNumber;
1830
1925
  total: z.ZodNumber;
1831
1926
  target: z.ZodOptional<z.ZodEnum<{
1927
+ "source-files": "source-files";
1832
1928
  compiled: "compiled";
1833
- raw: "raw";
1834
1929
  }>>;
1835
1930
  checks_fingerprint: z.ZodOptional<z.ZodString>;
1836
1931
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -1864,8 +1959,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1864
1959
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1865
1960
  compile: z.ZodNullable<z.ZodObject<{
1866
1961
  gate: z.ZodEnum<{
1867
- "preparation-config": "preparation-config";
1868
1962
  "portable-context": "portable-context";
1963
+ "preparation-config": "preparation-config";
1869
1964
  "compile-run": "compile-run";
1870
1965
  "readiness-checks": "readiness-checks";
1871
1966
  "source-baseline": "source-baseline";
@@ -1913,8 +2008,8 @@ export declare const TestRunResourceSchema: z.ZodObject<{
1913
2008
  }, z.core.$strict>;
1914
2009
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
1915
2010
  gate: z.ZodEnum<{
1916
- "preparation-config": "preparation-config";
1917
2011
  "portable-context": "portable-context";
2012
+ "preparation-config": "preparation-config";
1918
2013
  "compile-run": "compile-run";
1919
2014
  "readiness-checks": "readiness-checks";
1920
2015
  "source-baseline": "source-baseline";
@@ -1956,9 +2051,9 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
1956
2051
  }>;
1957
2052
  title: z.ZodString;
1958
2053
  status: z.ZodEnum<{
2054
+ succeeded: "succeeded";
1959
2055
  failed: "failed";
1960
2056
  running: "running";
1961
- succeeded: "succeeded";
1962
2057
  cancelled: "cancelled";
1963
2058
  queued: "queued";
1964
2059
  }>;
@@ -1992,11 +2087,11 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
1992
2087
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
1993
2088
  path: z.ZodString;
1994
2089
  role: z.ZodEnum<{
1995
- output: "output";
1996
2090
  runtime: "runtime";
2091
+ output: "output";
1997
2092
  source: "source";
1998
- test: "test";
1999
2093
  proof: "proof";
2094
+ test: "test";
2000
2095
  }>;
2001
2096
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2002
2097
  label: z.ZodOptional<z.ZodString>;
@@ -2031,8 +2126,8 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2031
2126
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2032
2127
  compile: z.ZodNullable<z.ZodObject<{
2033
2128
  gate: z.ZodEnum<{
2034
- "preparation-config": "preparation-config";
2035
2129
  "portable-context": "portable-context";
2130
+ "preparation-config": "preparation-config";
2036
2131
  "compile-run": "compile-run";
2037
2132
  "readiness-checks": "readiness-checks";
2038
2133
  "source-baseline": "source-baseline";
@@ -2080,8 +2175,8 @@ export declare const RunObservabilityResourceSchema: z.ZodObject<{
2080
2175
  }, z.core.$strict>;
2081
2176
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2082
2177
  gate: z.ZodEnum<{
2083
- "preparation-config": "preparation-config";
2084
2178
  "portable-context": "portable-context";
2179
+ "preparation-config": "preparation-config";
2085
2180
  "compile-run": "compile-run";
2086
2181
  "readiness-checks": "readiness-checks";
2087
2182
  "source-baseline": "source-baseline";
@@ -2222,22 +2317,22 @@ export declare const ActionProposalStatusSchema: z.ZodEnum<{
2222
2317
  }>;
2223
2318
  export declare const ActionClientOriginSchema: z.ZodEnum<{
2224
2319
  unknown: "unknown";
2320
+ service: "service";
2225
2321
  "ui-chat": "ui-chat";
2226
2322
  cli: "cli";
2227
2323
  "agent-cli": "agent-cli";
2228
2324
  mcp: "mcp";
2229
- service: "service";
2230
2325
  }>;
2231
2326
  export declare const ActionProposalCreateRequestSchema: z.ZodObject<{
2232
2327
  message: z.ZodString;
2233
2328
  preparation: z.ZodOptional<z.ZodString>;
2234
2329
  client_origin: z.ZodDefault<z.ZodEnum<{
2235
2330
  unknown: "unknown";
2331
+ service: "service";
2236
2332
  "ui-chat": "ui-chat";
2237
2333
  cli: "cli";
2238
2334
  "agent-cli": "agent-cli";
2239
2335
  mcp: "mcp";
2240
- service: "service";
2241
2336
  }>>;
2242
2337
  values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2243
2338
  }, z.core.$strict>;
@@ -2291,11 +2386,11 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2291
2386
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2292
2387
  client_origin: z.ZodDefault<z.ZodEnum<{
2293
2388
  unknown: "unknown";
2389
+ service: "service";
2294
2390
  "ui-chat": "ui-chat";
2295
2391
  cli: "cli";
2296
2392
  "agent-cli": "agent-cli";
2297
2393
  mcp: "mcp";
2298
- service: "service";
2299
2394
  }>>;
2300
2395
  created_at: z.ZodString;
2301
2396
  updated_at: z.ZodString;
@@ -2339,11 +2434,11 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2339
2434
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2340
2435
  client_origin: z.ZodDefault<z.ZodEnum<{
2341
2436
  unknown: "unknown";
2437
+ service: "service";
2342
2438
  "ui-chat": "ui-chat";
2343
2439
  cli: "cli";
2344
2440
  "agent-cli": "agent-cli";
2345
2441
  mcp: "mcp";
2346
- service: "service";
2347
2442
  }>>;
2348
2443
  created_at: z.ZodString;
2349
2444
  updated_at: z.ZodString;
@@ -2396,11 +2491,11 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2396
2491
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2397
2492
  client_origin: z.ZodDefault<z.ZodEnum<{
2398
2493
  unknown: "unknown";
2494
+ service: "service";
2399
2495
  "ui-chat": "ui-chat";
2400
2496
  cli: "cli";
2401
2497
  "agent-cli": "agent-cli";
2402
2498
  mcp: "mcp";
2403
- service: "service";
2404
2499
  }>>;
2405
2500
  created_at: z.ZodString;
2406
2501
  updated_at: z.ZodString;
@@ -2425,8 +2520,8 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2425
2520
  request: z.ZodObject<{
2426
2521
  preparation: z.ZodString;
2427
2522
  mode: z.ZodDefault<z.ZodEnum<{
2523
+ "source-files": "source-files";
2428
2524
  compiled: "compiled";
2429
- raw: "raw";
2430
2525
  both: "both";
2431
2526
  }>>;
2432
2527
  }, z.core.$strict>;
@@ -2451,11 +2546,11 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2451
2546
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2452
2547
  client_origin: z.ZodDefault<z.ZodEnum<{
2453
2548
  unknown: "unknown";
2549
+ service: "service";
2454
2550
  "ui-chat": "ui-chat";
2455
2551
  cli: "cli";
2456
2552
  "agent-cli": "agent-cli";
2457
2553
  mcp: "mcp";
2458
- service: "service";
2459
2554
  }>>;
2460
2555
  created_at: z.ZodString;
2461
2556
  updated_at: z.ZodString;
@@ -2504,11 +2599,11 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2504
2599
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2505
2600
  client_origin: z.ZodDefault<z.ZodEnum<{
2506
2601
  unknown: "unknown";
2602
+ service: "service";
2507
2603
  "ui-chat": "ui-chat";
2508
2604
  cli: "cli";
2509
2605
  "agent-cli": "agent-cli";
2510
2606
  mcp: "mcp";
2511
- service: "service";
2512
2607
  }>>;
2513
2608
  created_at: z.ZodString;
2514
2609
  updated_at: z.ZodString;
@@ -2574,11 +2669,11 @@ export declare const ActionProposalResourceSchema: z.ZodDiscriminatedUnion<[z.Zo
2574
2669
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2575
2670
  client_origin: z.ZodDefault<z.ZodEnum<{
2576
2671
  unknown: "unknown";
2672
+ service: "service";
2577
2673
  "ui-chat": "ui-chat";
2578
2674
  cli: "cli";
2579
2675
  "agent-cli": "agent-cli";
2580
2676
  mcp: "mcp";
2581
- service: "service";
2582
2677
  }>>;
2583
2678
  created_at: z.ZodString;
2584
2679
  updated_at: z.ZodString;
@@ -2651,8 +2746,8 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2651
2746
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2652
2747
  compile: z.ZodNullable<z.ZodObject<{
2653
2748
  gate: z.ZodEnum<{
2654
- "preparation-config": "preparation-config";
2655
2749
  "portable-context": "portable-context";
2750
+ "preparation-config": "preparation-config";
2656
2751
  "compile-run": "compile-run";
2657
2752
  "readiness-checks": "readiness-checks";
2658
2753
  "source-baseline": "source-baseline";
@@ -2700,8 +2795,8 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2700
2795
  }, z.core.$strict>;
2701
2796
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2702
2797
  gate: z.ZodEnum<{
2703
- "preparation-config": "preparation-config";
2704
2798
  "portable-context": "portable-context";
2799
+ "preparation-config": "preparation-config";
2705
2800
  "compile-run": "compile-run";
2706
2801
  "readiness-checks": "readiness-checks";
2707
2802
  "source-baseline": "source-baseline";
@@ -2732,11 +2827,11 @@ export declare const PortableContextResourceSchema: z.ZodObject<{
2732
2827
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
2733
2828
  path: z.ZodString;
2734
2829
  role: z.ZodEnum<{
2735
- output: "output";
2736
2830
  runtime: "runtime";
2831
+ output: "output";
2737
2832
  source: "source";
2738
- test: "test";
2739
2833
  proof: "proof";
2834
+ test: "test";
2740
2835
  }>;
2741
2836
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2742
2837
  label: z.ZodOptional<z.ZodString>;
@@ -2766,8 +2861,8 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2766
2861
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2767
2862
  compile: z.ZodNullable<z.ZodObject<{
2768
2863
  gate: z.ZodEnum<{
2769
- "preparation-config": "preparation-config";
2770
2864
  "portable-context": "portable-context";
2865
+ "preparation-config": "preparation-config";
2771
2866
  "compile-run": "compile-run";
2772
2867
  "readiness-checks": "readiness-checks";
2773
2868
  "source-baseline": "source-baseline";
@@ -2811,1968 +2906,20 @@ export declare const ReadinessResourceSchema: z.ZodObject<{
2811
2906
  stale: z.ZodDefault<z.ZodBoolean>;
2812
2907
  run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2813
2908
  run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2814
- }, z.core.$strict>>;
2815
- }, z.core.$strict>;
2816
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2817
- gate: z.ZodEnum<{
2818
- "preparation-config": "preparation-config";
2819
- "portable-context": "portable-context";
2820
- "compile-run": "compile-run";
2821
- "readiness-checks": "readiness-checks";
2822
- "source-baseline": "source-baseline";
2823
- "portable-context-check": "portable-context-check";
2824
- "checks-current": "checks-current";
2825
- }>;
2826
- ok: z.ZodBoolean;
2827
- status: z.ZodOptional<z.ZodEnum<{
2828
- "not-configured": "not-configured";
2829
- "not-built": "not-built";
2830
- building: "building";
2831
- built: "built";
2832
- checking: "checking";
2833
- ready: "ready";
2834
- "not-ready": "not-ready";
2835
- stale: "stale";
2836
- failed: "failed";
2837
- }>>;
2838
- summary: z.ZodString;
2839
- detail: z.ZodOptional<z.ZodString>;
2840
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2841
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2842
- }, z.core.$strict>>>;
2843
- }, z.core.$strict>;
2844
- export declare const SourceFileResourceSchema: z.ZodObject<{
2845
- preparation: z.ZodString;
2846
- path: z.ZodString;
2847
- absolute_path: z.ZodString;
2848
- size_bytes: z.ZodNumber;
2849
- modified_at: z.ZodNullable<z.ZodString>;
2850
- source_folder_path: z.ZodString;
2851
- }, z.core.$strict>;
2852
- export declare const WorkspaceFileResourceSchema: z.ZodObject<{
2853
- path: z.ZodString;
2854
- absolute_path: z.ZodString;
2855
- size_bytes: z.ZodNumber;
2856
- modified_at: z.ZodNullable<z.ZodString>;
2857
- }, z.core.$strict>;
2858
- export declare const LocalServiceDiscoverySchema: z.ZodObject<{
2859
- kind: z.ZodLiteral<"interf-local-service-discovery">;
2860
- version: z.ZodLiteral<1>;
2861
- resources: z.ZodObject<{
2862
- preparations: z.ZodString;
2863
- methods: z.ZodString;
2864
- runs: z.ZodString;
2865
- readiness: z.ZodString;
2866
- portable_contexts: z.ZodString;
2867
- source_files: z.ZodString;
2868
- workspace_files: z.ZodString;
2869
- action_proposals: z.ZodString;
2870
- preparation_setups: z.ZodString;
2871
- preparation_changes: z.ZodString;
2872
- method_changes: z.ZodString;
2873
- readiness_check_drafts: z.ZodString;
2874
- method_authoring_runs: z.ZodString;
2875
- method_improvement_runs: z.ZodString;
2876
- compile_runs: z.ZodString;
2877
- test_runs: z.ZodString;
2878
- reset: z.ZodString;
2879
- executor: z.ZodString;
2880
- }, z.core.$strict>;
2881
- }, z.core.$strict>;
2882
- export declare const OpenPathRequestSchema: z.ZodObject<{
2883
- path: z.ZodString;
2884
- }, z.core.$strict>;
2885
- export declare const OpenPathResponseSchema: z.ZodObject<{
2886
- opened: z.ZodBoolean;
2887
- path: z.ZodString;
2888
- }, z.core.$strict>;
2889
- export declare const LocalServiceResourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2890
- kind: z.ZodLiteral<"preparation">;
2891
- value: z.ZodObject<{
2892
- id: z.ZodString;
2893
- name: z.ZodString;
2894
- preparation: z.ZodObject<{
2895
- id: z.ZodOptional<z.ZodString>;
2896
- name: z.ZodString;
2897
- path: z.ZodString;
2898
- about: z.ZodOptional<z.ZodString>;
2899
- method: z.ZodOptional<z.ZodString>;
2900
- max_attempts: z.ZodOptional<z.ZodNumber>;
2901
- max_loops: z.ZodOptional<z.ZodNumber>;
2902
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2903
- id: z.ZodOptional<z.ZodString>;
2904
- question: z.ZodString;
2905
- answer: z.ZodOptional<z.ZodString>;
2906
- expect: z.ZodOptional<z.ZodObject<{
2907
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2908
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2909
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2910
- min_words: z.ZodOptional<z.ZodNumber>;
2911
- max_words: z.ZodOptional<z.ZodNumber>;
2912
- }, z.core.$strip>>;
2913
- strictness: z.ZodOptional<z.ZodString>;
2914
- }, z.core.$strict>>>;
2915
- }, z.core.$strict>;
2916
- source_path: z.ZodString;
2917
- method_id: z.ZodNullable<z.ZodString>;
2918
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
2919
- id: z.ZodOptional<z.ZodString>;
2920
- question: z.ZodString;
2921
- answer: z.ZodOptional<z.ZodString>;
2922
- expect: z.ZodOptional<z.ZodObject<{
2923
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2924
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
2925
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
2926
- min_words: z.ZodOptional<z.ZodNumber>;
2927
- max_words: z.ZodOptional<z.ZodNumber>;
2928
- }, z.core.$strip>>;
2929
- strictness: z.ZodOptional<z.ZodString>;
2930
- }, z.core.$strict>>>;
2931
- portable_context: z.ZodObject<{
2932
- preparation: z.ZodString;
2933
- path: z.ZodNullable<z.ZodString>;
2934
- exists: z.ZodBoolean;
2935
- method_id: z.ZodNullable<z.ZodString>;
2936
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
2937
- latest_test_run_id: z.ZodNullable<z.ZodString>;
2938
- }, z.core.$strict>;
2939
- portable_context_path: z.ZodNullable<z.ZodString>;
2940
- readiness: z.ZodObject<{
2941
- kind: z.ZodLiteral<"interf-readiness-state">;
2942
- version: z.ZodLiteral<1>;
2943
- generated_at: z.ZodString;
2944
- preparation: z.ZodString;
2945
- status: z.ZodEnum<{
2946
- "not-configured": "not-configured";
2947
- "not-built": "not-built";
2948
- building: "building";
2949
- built: "built";
2950
- checking: "checking";
2951
- ready: "ready";
2952
- "not-ready": "not-ready";
2953
- stale: "stale";
2954
- failed: "failed";
2955
- }>;
2956
- ready: z.ZodBoolean;
2957
- summary: z.ZodString;
2958
- portable_context_path: z.ZodNullable<z.ZodString>;
2959
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2960
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2961
- compile: z.ZodNullable<z.ZodObject<{
2962
- gate: z.ZodEnum<{
2963
- "preparation-config": "preparation-config";
2964
- "portable-context": "portable-context";
2965
- "compile-run": "compile-run";
2966
- "readiness-checks": "readiness-checks";
2967
- "source-baseline": "source-baseline";
2968
- "portable-context-check": "portable-context-check";
2969
- "checks-current": "checks-current";
2970
- }>;
2971
- ok: z.ZodBoolean;
2972
- status: z.ZodOptional<z.ZodEnum<{
2973
- "not-configured": "not-configured";
2974
- "not-built": "not-built";
2975
- building: "building";
2976
- built: "built";
2977
- checking: "checking";
2978
- ready: "ready";
2979
- "not-ready": "not-ready";
2980
- stale: "stale";
2981
- failed: "failed";
2982
- }>>;
2983
- summary: z.ZodString;
2984
- detail: z.ZodOptional<z.ZodString>;
2985
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2986
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2987
- }, z.core.$strict>>;
2988
- check_results: z.ZodObject<{
2989
- configured: z.ZodNumber;
2990
- fingerprint: z.ZodNullable<z.ZodString>;
2991
- source_files: z.ZodNullable<z.ZodObject<{
2992
- passed: z.ZodNumber;
2993
- total: z.ZodNumber;
2994
- pass_rate: z.ZodNullable<z.ZodNumber>;
2995
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2996
- stale: z.ZodDefault<z.ZodBoolean>;
2997
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2998
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2999
- }, z.core.$strict>>;
3000
- portable_context: z.ZodNullable<z.ZodObject<{
3001
- passed: z.ZodNumber;
3002
- total: z.ZodNumber;
3003
- pass_rate: z.ZodNullable<z.ZodNumber>;
3004
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3005
- stale: z.ZodDefault<z.ZodBoolean>;
3006
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3007
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3008
- }, z.core.$strict>>;
3009
- }, z.core.$strict>;
3010
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3011
- gate: z.ZodEnum<{
3012
- "preparation-config": "preparation-config";
3013
- "portable-context": "portable-context";
3014
- "compile-run": "compile-run";
3015
- "readiness-checks": "readiness-checks";
3016
- "source-baseline": "source-baseline";
3017
- "portable-context-check": "portable-context-check";
3018
- "checks-current": "checks-current";
3019
- }>;
3020
- ok: z.ZodBoolean;
3021
- status: z.ZodOptional<z.ZodEnum<{
3022
- "not-configured": "not-configured";
3023
- "not-built": "not-built";
3024
- building: "building";
3025
- built: "built";
3026
- checking: "checking";
3027
- ready: "ready";
3028
- "not-ready": "not-ready";
3029
- stale: "stale";
3030
- failed: "failed";
3031
- }>>;
3032
- summary: z.ZodString;
3033
- detail: z.ZodOptional<z.ZodString>;
3034
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3035
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3036
- }, z.core.$strict>>>;
3037
- }, z.core.$strict>;
3038
- runs: z.ZodObject<{
3039
- latest_compile_run_id: z.ZodNullable<z.ZodString>;
3040
- latest_test_run_id: z.ZodNullable<z.ZodString>;
3041
- }, z.core.$strict>;
3042
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3043
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3044
- }, z.core.$strict>;
3045
- }, z.core.$strict>, z.ZodObject<{
3046
- kind: z.ZodLiteral<"method">;
3047
- value: z.ZodObject<{
3048
- id: z.ZodString;
3049
- method_id: z.ZodString;
3050
- path: z.ZodString;
3051
- label: z.ZodOptional<z.ZodString>;
3052
- hint: z.ZodOptional<z.ZodString>;
3053
- source_kind: z.ZodDefault<z.ZodEnum<{
3054
- builtin: "builtin";
3055
- local: "local";
3056
- }>>;
3057
- built_in: z.ZodDefault<z.ZodBoolean>;
3058
- active_for_preparations: z.ZodDefault<z.ZodArray<z.ZodString>>;
3059
- output_paths: z.ZodDefault<z.ZodArray<z.ZodString>>;
3060
- stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
3061
- id: z.ZodString;
3062
- label: z.ZodString;
3063
- description: z.ZodOptional<z.ZodString>;
3064
- contract_type: z.ZodString;
3065
- skill_dir: z.ZodString;
3066
- reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3067
- writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3068
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3069
- }, z.core.$strict>>>;
3070
- }, z.core.$strict>;
3071
- }, z.core.$strict>, z.ZodObject<{
3072
- kind: z.ZodLiteral<"compile-run">;
3073
- value: z.ZodObject<{
3074
- run: z.ZodObject<{
3075
- kind: z.ZodLiteral<"interf-compile-run">;
3076
- version: z.ZodLiteral<1>;
3077
- run_id: z.ZodString;
3078
- status: z.ZodEnum<{
3079
- failed: "failed";
3080
- running: "running";
3081
- succeeded: "succeeded";
3082
- cancelled: "cancelled";
3083
- queued: "queued";
3084
- }>;
3085
- preparation: z.ZodString;
3086
- method: z.ZodString;
3087
- backend: z.ZodEnum<{
3088
- native: "native";
3089
- "workflow-sdk": "workflow-sdk";
3090
- }>;
3091
- source_path: z.ZodString;
3092
- portable_context_path: z.ZodString;
3093
- created_at: z.ZodString;
3094
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3095
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3096
- stages: z.ZodDefault<z.ZodArray<z.ZodObject<{
3097
- run_id: z.ZodString;
3098
- stage_id: z.ZodString;
3099
- stage_label: z.ZodOptional<z.ZodString>;
3100
- stage_index: z.ZodOptional<z.ZodNumber>;
3101
- stage_total: z.ZodOptional<z.ZodNumber>;
3102
- status: z.ZodEnum<{
3103
- failed: "failed";
3104
- running: "running";
3105
- succeeded: "succeeded";
3106
- queued: "queued";
3107
- }>;
3108
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3109
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3110
- summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3111
- contract: z.ZodOptional<z.ZodObject<{
3112
- stage_label: z.ZodOptional<z.ZodString>;
3113
- stage_index: z.ZodOptional<z.ZodNumber>;
3114
- stage_total: z.ZodOptional<z.ZodNumber>;
3115
- reads: z.ZodDefault<z.ZodArray<z.ZodString>>;
3116
- writes: z.ZodDefault<z.ZodArray<z.ZodString>>;
3117
- acceptance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
3118
- }, z.core.$strict>>;
3119
- executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3120
- kind: z.ZodEnum<{
3121
- "local-agent": "local-agent";
3122
- "connected-provider": "connected-provider";
3123
- managed: "managed";
3124
- }>;
3125
- name: z.ZodString;
3126
- display_name: z.ZodString;
3127
- command: z.ZodNullable<z.ZodString>;
3128
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3129
- effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3130
- profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3131
- timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3132
- }, z.core.$strip>>>;
3133
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3134
- path: z.ZodString;
3135
- role: z.ZodEnum<{
3136
- output: "output";
3137
- runtime: "runtime";
3138
- source: "source";
3139
- test: "test";
3140
- proof: "proof";
3141
- }>;
3142
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3143
- label: z.ZodOptional<z.ZodString>;
3144
- sha256: z.ZodOptional<z.ZodString>;
3145
- }, z.core.$strict>>>;
3146
- logs: z.ZodOptional<z.ZodObject<{
3147
- prompt_path: z.ZodOptional<z.ZodString>;
3148
- event_stream_path: z.ZodOptional<z.ZodString>;
3149
- status_path: z.ZodOptional<z.ZodString>;
3150
- contract_path: z.ZodOptional<z.ZodString>;
3151
- }, z.core.$strict>>;
3152
- latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3153
- id: z.ZodString;
3154
- run_id: z.ZodString;
3155
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3156
- generated_at: z.ZodString;
3157
- summary: z.ZodString;
3158
- files_processed: z.ZodOptional<z.ZodNumber>;
3159
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3160
- path: z.ZodString;
3161
- role: z.ZodEnum<{
3162
- output: "output";
3163
- runtime: "runtime";
3164
- source: "source";
3165
- test: "test";
3166
- proof: "proof";
3167
- }>;
3168
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3169
- label: z.ZodOptional<z.ZodString>;
3170
- sha256: z.ZodOptional<z.ZodString>;
3171
- }, z.core.$strict>>>;
3172
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3173
- id: z.ZodString;
3174
- label: z.ZodString;
3175
- ok: z.ZodBoolean;
3176
- detail: z.ZodOptional<z.ZodString>;
3177
- }, z.core.$strict>>>;
3178
- }, z.core.$strict>>>;
3179
- failure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3180
- }, z.core.$strict>>>;
3181
- events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3182
- event_id: z.ZodString;
3183
- run_id: z.ZodString;
3184
- timestamp: z.ZodString;
3185
- type: z.ZodLiteral<"run.started">;
3186
- preparation: z.ZodString;
3187
- method: z.ZodString;
3188
- portable_context_path: z.ZodString;
3189
- backend: z.ZodEnum<{
3190
- native: "native";
3191
- "workflow-sdk": "workflow-sdk";
3192
- }>;
3193
- }, z.core.$strict>, z.ZodObject<{
3194
- event_id: z.ZodString;
3195
- run_id: z.ZodString;
3196
- timestamp: z.ZodString;
3197
- type: z.ZodLiteral<"stage.started">;
3198
- stage_id: z.ZodString;
3199
- stage_index: z.ZodOptional<z.ZodNumber>;
3200
- stage_total: z.ZodOptional<z.ZodNumber>;
3201
- }, z.core.$strict>, z.ZodObject<{
3202
- event_id: z.ZodString;
3203
- run_id: z.ZodString;
3204
- timestamp: z.ZodString;
3205
- type: z.ZodLiteral<"file.processed">;
3206
- stage_id: z.ZodString;
3207
- path: z.ZodString;
3208
- }, z.core.$strict>, z.ZodObject<{
3209
- event_id: z.ZodString;
3210
- run_id: z.ZodString;
3211
- timestamp: z.ZodString;
3212
- type: z.ZodLiteral<"artifact.written">;
3213
- stage_id: z.ZodString;
3214
- artifact: z.ZodObject<{
3215
- path: z.ZodString;
3216
- role: z.ZodEnum<{
3217
- output: "output";
3218
- runtime: "runtime";
3219
- source: "source";
3220
- test: "test";
3221
- proof: "proof";
3222
- }>;
3223
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3224
- label: z.ZodOptional<z.ZodString>;
3225
- sha256: z.ZodOptional<z.ZodString>;
3226
- }, z.core.$strict>;
3227
- }, z.core.$strict>, z.ZodObject<{
3228
- event_id: z.ZodString;
3229
- run_id: z.ZodString;
3230
- timestamp: z.ZodString;
3231
- type: z.ZodLiteral<"proof.updated">;
3232
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3233
- proof: z.ZodObject<{
3234
- id: z.ZodString;
3235
- run_id: z.ZodString;
3236
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3237
- generated_at: z.ZodString;
3238
- summary: z.ZodString;
3239
- files_processed: z.ZodOptional<z.ZodNumber>;
3240
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3241
- path: z.ZodString;
3242
- role: z.ZodEnum<{
3243
- output: "output";
3244
- runtime: "runtime";
3245
- source: "source";
3246
- test: "test";
3247
- proof: "proof";
3248
- }>;
3249
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3250
- label: z.ZodOptional<z.ZodString>;
3251
- sha256: z.ZodOptional<z.ZodString>;
3252
- }, z.core.$strict>>>;
3253
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3254
- id: z.ZodString;
3255
- label: z.ZodString;
3256
- ok: z.ZodBoolean;
3257
- detail: z.ZodOptional<z.ZodString>;
3258
- }, z.core.$strict>>>;
3259
- }, z.core.$strict>;
3260
- }, z.core.$strict>, z.ZodObject<{
3261
- event_id: z.ZodString;
3262
- run_id: z.ZodString;
3263
- timestamp: z.ZodString;
3264
- type: z.ZodLiteral<"log.appended">;
3265
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3266
- stream: z.ZodEnum<{
3267
- status: "status";
3268
- trace: "trace";
3269
- system: "system";
3270
- }>;
3271
- message: z.ZodString;
3272
- }, z.core.$strict>, z.ZodObject<{
3273
- event_id: z.ZodString;
3274
- run_id: z.ZodString;
3275
- timestamp: z.ZodString;
3276
- type: z.ZodLiteral<"stage.passed">;
3277
- stage_id: z.ZodString;
3278
- summary: z.ZodOptional<z.ZodString>;
3279
- }, z.core.$strict>, z.ZodObject<{
3280
- event_id: z.ZodString;
3281
- run_id: z.ZodString;
3282
- timestamp: z.ZodString;
3283
- type: z.ZodLiteral<"stage.failed">;
3284
- stage_id: z.ZodString;
3285
- error: z.ZodString;
3286
- }, z.core.$strict>, z.ZodObject<{
3287
- event_id: z.ZodString;
3288
- run_id: z.ZodString;
3289
- timestamp: z.ZodString;
3290
- type: z.ZodLiteral<"run.completed">;
3291
- summary: z.ZodOptional<z.ZodString>;
3292
- }, z.core.$strict>, z.ZodObject<{
3293
- event_id: z.ZodString;
3294
- run_id: z.ZodString;
3295
- timestamp: z.ZodString;
3296
- type: z.ZodLiteral<"run.failed">;
3297
- error: z.ZodString;
3298
- }, z.core.$strict>, z.ZodObject<{
3299
- event_id: z.ZodString;
3300
- run_id: z.ZodString;
3301
- timestamp: z.ZodString;
3302
- type: z.ZodLiteral<"checks.evaluated">;
3303
- passed: z.ZodNumber;
3304
- total: z.ZodNumber;
3305
- target: z.ZodOptional<z.ZodEnum<{
3306
- compiled: "compiled";
3307
- raw: "raw";
3308
- }>>;
3309
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3310
- stale: z.ZodOptional<z.ZodBoolean>;
3311
- test_run_id: z.ZodOptional<z.ZodString>;
3312
- }, z.core.$strict>, z.ZodObject<{
3313
- event_id: z.ZodString;
3314
- run_id: z.ZodString;
3315
- timestamp: z.ZodString;
3316
- type: z.ZodLiteral<"readiness.updated">;
3317
- preparation: z.ZodString;
3318
- readiness: z.ZodObject<{
3319
- kind: z.ZodLiteral<"interf-readiness-state">;
3320
- version: z.ZodLiteral<1>;
3321
- generated_at: z.ZodString;
3322
- preparation: z.ZodString;
3323
- status: z.ZodEnum<{
3324
- "not-configured": "not-configured";
3325
- "not-built": "not-built";
3326
- building: "building";
3327
- built: "built";
3328
- checking: "checking";
3329
- ready: "ready";
3330
- "not-ready": "not-ready";
3331
- stale: "stale";
3332
- failed: "failed";
3333
- }>;
3334
- ready: z.ZodBoolean;
3335
- summary: z.ZodString;
3336
- portable_context_path: z.ZodNullable<z.ZodString>;
3337
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3338
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3339
- compile: z.ZodNullable<z.ZodObject<{
3340
- gate: z.ZodEnum<{
3341
- "preparation-config": "preparation-config";
3342
- "portable-context": "portable-context";
3343
- "compile-run": "compile-run";
3344
- "readiness-checks": "readiness-checks";
3345
- "source-baseline": "source-baseline";
3346
- "portable-context-check": "portable-context-check";
3347
- "checks-current": "checks-current";
3348
- }>;
3349
- ok: z.ZodBoolean;
3350
- status: z.ZodOptional<z.ZodEnum<{
3351
- "not-configured": "not-configured";
3352
- "not-built": "not-built";
3353
- building: "building";
3354
- built: "built";
3355
- checking: "checking";
3356
- ready: "ready";
3357
- "not-ready": "not-ready";
3358
- stale: "stale";
3359
- failed: "failed";
3360
- }>>;
3361
- summary: z.ZodString;
3362
- detail: z.ZodOptional<z.ZodString>;
3363
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3364
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3365
- }, z.core.$strict>>;
3366
- check_results: z.ZodObject<{
3367
- configured: z.ZodNumber;
3368
- fingerprint: z.ZodNullable<z.ZodString>;
3369
- source_files: z.ZodNullable<z.ZodObject<{
3370
- passed: z.ZodNumber;
3371
- total: z.ZodNumber;
3372
- pass_rate: z.ZodNullable<z.ZodNumber>;
3373
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3374
- stale: z.ZodDefault<z.ZodBoolean>;
3375
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3376
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3377
- }, z.core.$strict>>;
3378
- portable_context: z.ZodNullable<z.ZodObject<{
3379
- passed: z.ZodNumber;
3380
- total: z.ZodNumber;
3381
- pass_rate: z.ZodNullable<z.ZodNumber>;
3382
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3383
- stale: z.ZodDefault<z.ZodBoolean>;
3384
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3385
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3386
- }, z.core.$strict>>;
3387
- }, z.core.$strict>;
3388
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3389
- gate: z.ZodEnum<{
3390
- "preparation-config": "preparation-config";
3391
- "portable-context": "portable-context";
3392
- "compile-run": "compile-run";
3393
- "readiness-checks": "readiness-checks";
3394
- "source-baseline": "source-baseline";
3395
- "portable-context-check": "portable-context-check";
3396
- "checks-current": "checks-current";
3397
- }>;
3398
- ok: z.ZodBoolean;
3399
- status: z.ZodOptional<z.ZodEnum<{
3400
- "not-configured": "not-configured";
3401
- "not-built": "not-built";
3402
- building: "building";
3403
- built: "built";
3404
- checking: "checking";
3405
- ready: "ready";
3406
- "not-ready": "not-ready";
3407
- stale: "stale";
3408
- failed: "failed";
3409
- }>>;
3410
- summary: z.ZodString;
3411
- detail: z.ZodOptional<z.ZodString>;
3412
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3413
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3414
- }, z.core.$strict>>>;
3415
- }, z.core.$strict>;
3416
- }, z.core.$strict>], "type">>>;
3417
- latest_proof: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3418
- id: z.ZodString;
3419
- run_id: z.ZodString;
3420
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3421
- generated_at: z.ZodString;
3422
- summary: z.ZodString;
3423
- files_processed: z.ZodOptional<z.ZodNumber>;
3424
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3425
- path: z.ZodString;
3426
- role: z.ZodEnum<{
3427
- output: "output";
3428
- runtime: "runtime";
3429
- source: "source";
3430
- test: "test";
3431
- proof: "proof";
3432
- }>;
3433
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3434
- label: z.ZodOptional<z.ZodString>;
3435
- sha256: z.ZodOptional<z.ZodString>;
3436
- }, z.core.$strict>>>;
3437
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3438
- id: z.ZodString;
3439
- label: z.ZodString;
3440
- ok: z.ZodBoolean;
3441
- detail: z.ZodOptional<z.ZodString>;
3442
- }, z.core.$strict>>>;
3443
- }, z.core.$strict>>>;
3444
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3445
- kind: z.ZodLiteral<"interf-readiness-state">;
3446
- version: z.ZodLiteral<1>;
3447
- generated_at: z.ZodString;
3448
- preparation: z.ZodString;
3449
- status: z.ZodEnum<{
3450
- "not-configured": "not-configured";
3451
- "not-built": "not-built";
3452
- building: "building";
3453
- built: "built";
3454
- checking: "checking";
3455
- ready: "ready";
3456
- "not-ready": "not-ready";
3457
- stale: "stale";
3458
- failed: "failed";
3459
- }>;
3460
- ready: z.ZodBoolean;
3461
- summary: z.ZodString;
3462
- portable_context_path: z.ZodNullable<z.ZodString>;
3463
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3464
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3465
- compile: z.ZodNullable<z.ZodObject<{
3466
- gate: z.ZodEnum<{
3467
- "preparation-config": "preparation-config";
3468
- "portable-context": "portable-context";
3469
- "compile-run": "compile-run";
3470
- "readiness-checks": "readiness-checks";
3471
- "source-baseline": "source-baseline";
3472
- "portable-context-check": "portable-context-check";
3473
- "checks-current": "checks-current";
3474
- }>;
3475
- ok: z.ZodBoolean;
3476
- status: z.ZodOptional<z.ZodEnum<{
3477
- "not-configured": "not-configured";
3478
- "not-built": "not-built";
3479
- building: "building";
3480
- built: "built";
3481
- checking: "checking";
3482
- ready: "ready";
3483
- "not-ready": "not-ready";
3484
- stale: "stale";
3485
- failed: "failed";
3486
- }>>;
3487
- summary: z.ZodString;
3488
- detail: z.ZodOptional<z.ZodString>;
3489
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3490
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3491
- }, z.core.$strict>>;
3492
- check_results: z.ZodObject<{
3493
- configured: z.ZodNumber;
3494
- fingerprint: z.ZodNullable<z.ZodString>;
3495
- source_files: z.ZodNullable<z.ZodObject<{
3496
- passed: z.ZodNumber;
3497
- total: z.ZodNumber;
3498
- pass_rate: z.ZodNullable<z.ZodNumber>;
3499
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3500
- stale: z.ZodDefault<z.ZodBoolean>;
3501
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3502
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3503
- }, z.core.$strict>>;
3504
- portable_context: z.ZodNullable<z.ZodObject<{
3505
- passed: z.ZodNumber;
3506
- total: z.ZodNumber;
3507
- pass_rate: z.ZodNullable<z.ZodNumber>;
3508
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3509
- stale: z.ZodDefault<z.ZodBoolean>;
3510
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3511
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3512
- }, z.core.$strict>>;
3513
- }, z.core.$strict>;
3514
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3515
- gate: z.ZodEnum<{
3516
- "preparation-config": "preparation-config";
3517
- "portable-context": "portable-context";
3518
- "compile-run": "compile-run";
3519
- "readiness-checks": "readiness-checks";
3520
- "source-baseline": "source-baseline";
3521
- "portable-context-check": "portable-context-check";
3522
- "checks-current": "checks-current";
3523
- }>;
3524
- ok: z.ZodBoolean;
3525
- status: z.ZodOptional<z.ZodEnum<{
3526
- "not-configured": "not-configured";
3527
- "not-built": "not-built";
3528
- building: "building";
3529
- built: "built";
3530
- checking: "checking";
3531
- ready: "ready";
3532
- "not-ready": "not-ready";
3533
- stale: "stale";
3534
- failed: "failed";
3535
- }>>;
3536
- summary: z.ZodString;
3537
- detail: z.ZodOptional<z.ZodString>;
3538
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3539
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3540
- }, z.core.$strict>>>;
3541
- }, z.core.$strict>>>;
3542
- }, z.core.$strict>;
3543
- }, z.core.$strict>;
3544
- }, z.core.$strict>, z.ZodObject<{
3545
- kind: z.ZodLiteral<"job-run">;
3546
- value: z.ZodObject<{
3547
- kind: z.ZodLiteral<"interf-local-job-run">;
3548
- version: z.ZodLiteral<1>;
3549
- run_id: z.ZodString;
3550
- job_type: z.ZodEnum<{
3551
- "method-authoring": "method-authoring";
3552
- "method-improvement": "method-improvement";
3553
- "readiness-check-draft": "readiness-check-draft";
3554
- }>;
3555
- status: z.ZodEnum<{
3556
- failed: "failed";
3557
- running: "running";
3558
- succeeded: "succeeded";
3559
- cancelled: "cancelled";
3560
- queued: "queued";
3561
- }>;
3562
- title: z.ZodString;
3563
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3564
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3565
- source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3566
- output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3567
- agent: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3568
- name: z.ZodString;
3569
- display_name: z.ZodString;
3570
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3571
- }, z.core.$strict>>>;
3572
- created_at: z.ZodString;
3573
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3574
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3575
- steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
3576
- id: z.ZodString;
3577
- label: z.ZodString;
3578
- status: z.ZodEnum<{
3579
- failed: "failed";
3580
- running: "running";
3581
- succeeded: "succeeded";
3582
- cancelled: "cancelled";
3583
- queued: "queued";
3584
- }>;
3585
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3586
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3587
- summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3588
- input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3589
- output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3590
- }, z.core.$strict>>>;
3591
- events: z.ZodDefault<z.ZodArray<z.ZodObject<{
3592
- event_id: z.ZodString;
3593
- run_id: z.ZodString;
3594
- timestamp: z.ZodString;
3595
- type: z.ZodEnum<{
3596
- "artifact.written": "artifact.written";
3597
- "log.appended": "log.appended";
3598
- "job.started": "job.started";
3599
- "step.started": "step.started";
3600
- "step.completed": "step.completed";
3601
- "step.failed": "step.failed";
3602
- "job.completed": "job.completed";
3603
- "job.failed": "job.failed";
3604
- }>;
3605
- step_id: z.ZodOptional<z.ZodString>;
3606
- message: z.ZodOptional<z.ZodString>;
3607
- artifact: z.ZodOptional<z.ZodObject<{
3608
- path: z.ZodString;
3609
- role: z.ZodEnum<{
3610
- output: "output";
3611
- runtime: "runtime";
3612
- source: "source";
3613
- test: "test";
3614
- proof: "proof";
3615
- }>;
3616
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3617
- label: z.ZodOptional<z.ZodString>;
3618
- sha256: z.ZodOptional<z.ZodString>;
3619
- }, z.core.$strict>>;
3620
- input: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3621
- output: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3622
- }, z.core.$strict>>>;
3623
- result: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
3624
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3625
- }, z.core.$strict>;
3626
- }, z.core.$strict>, z.ZodObject<{
3627
- kind: z.ZodLiteral<"test-run">;
3628
- value: z.ZodObject<{
3629
- run_id: z.ZodString;
3630
- status: z.ZodEnum<{
3631
- failed: "failed";
3632
- running: "running";
3633
- succeeded: "succeeded";
3634
- cancelled: "cancelled";
3635
- queued: "queued";
3636
- }>;
3637
- preparation: z.ZodString;
3638
- mode: z.ZodEnum<{
3639
- compiled: "compiled";
3640
- raw: "raw";
3641
- both: "both";
3642
- }>;
3643
- source_path: z.ZodString;
3644
- portable_context_path: z.ZodNullable<z.ZodString>;
3645
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3646
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3647
- readiness_run: z.ZodNullable<z.ZodObject<{
3648
- kind: z.ZodLiteral<"interf-readiness-check-run">;
3649
- version: z.ZodLiteral<1>;
3650
- generated_at: z.ZodString;
3651
- mode: z.ZodEnum<{
3652
- compiled: "compiled";
3653
- raw: "raw";
3654
- both: "both";
3655
- }>;
3656
- source_path: z.ZodString;
3657
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3658
- preparation: z.ZodObject<{
3659
- name: z.ZodString;
3660
- portable_context_path: z.ZodNullable<z.ZodString>;
3661
- }, z.core.$strip>;
3662
- raw: z.ZodNullable<z.ZodObject<{
3663
- label: z.ZodString;
3664
- run_path: z.ZodString;
3665
- ok: z.ZodBoolean;
3666
- passed_cases: z.ZodNumber;
3667
- total_cases: z.ZodNumber;
3668
- passed_checks: z.ZodNumber;
3669
- total_checks: z.ZodNumber;
3670
- target: z.ZodObject<{
3671
- type: z.ZodEnum<{
3672
- compiled: "compiled";
3673
- raw: "raw";
3674
- }>;
3675
- name: z.ZodString;
3676
- path: z.ZodString;
3677
- method: z.ZodString;
3678
- }, z.core.$strip>;
3679
- }, z.core.$strip>>;
3680
- compiled: z.ZodNullable<z.ZodObject<{
3681
- label: z.ZodString;
3682
- run_path: z.ZodString;
3683
- ok: z.ZodBoolean;
3684
- passed_cases: z.ZodNumber;
3685
- total_cases: z.ZodNumber;
3686
- passed_checks: z.ZodNumber;
3687
- total_checks: z.ZodNumber;
3688
- target: z.ZodObject<{
3689
- type: z.ZodEnum<{
3690
- compiled: "compiled";
3691
- raw: "raw";
3692
- }>;
3693
- name: z.ZodString;
3694
- path: z.ZodString;
3695
- method: z.ZodString;
3696
- }, z.core.$strip>;
3697
- }, z.core.$strip>>;
3698
- summary: z.ZodObject<{
3699
- source_files_pass_rate: z.ZodNullable<z.ZodNumber>;
3700
- portable_context_pass_rate: z.ZodNullable<z.ZodNumber>;
3701
- }, z.core.$strip>;
3702
- }, z.core.$strip>>;
3703
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3704
- kind: z.ZodLiteral<"interf-readiness-state">;
3705
- version: z.ZodLiteral<1>;
3706
- generated_at: z.ZodString;
3707
- preparation: z.ZodString;
3708
- status: z.ZodEnum<{
3709
- "not-configured": "not-configured";
3710
- "not-built": "not-built";
3711
- building: "building";
3712
- built: "built";
3713
- checking: "checking";
3714
- ready: "ready";
3715
- "not-ready": "not-ready";
3716
- stale: "stale";
3717
- failed: "failed";
3718
- }>;
3719
- ready: z.ZodBoolean;
3720
- summary: z.ZodString;
3721
- portable_context_path: z.ZodNullable<z.ZodString>;
3722
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3723
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3724
- compile: z.ZodNullable<z.ZodObject<{
3725
- gate: z.ZodEnum<{
3726
- "preparation-config": "preparation-config";
3727
- "portable-context": "portable-context";
3728
- "compile-run": "compile-run";
3729
- "readiness-checks": "readiness-checks";
3730
- "source-baseline": "source-baseline";
3731
- "portable-context-check": "portable-context-check";
3732
- "checks-current": "checks-current";
3733
- }>;
3734
- ok: z.ZodBoolean;
3735
- status: z.ZodOptional<z.ZodEnum<{
3736
- "not-configured": "not-configured";
3737
- "not-built": "not-built";
3738
- building: "building";
3739
- built: "built";
3740
- checking: "checking";
3741
- ready: "ready";
3742
- "not-ready": "not-ready";
3743
- stale: "stale";
3744
- failed: "failed";
3745
- }>>;
3746
- summary: z.ZodString;
3747
- detail: z.ZodOptional<z.ZodString>;
3748
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3749
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3750
- }, z.core.$strict>>;
3751
- check_results: z.ZodObject<{
3752
- configured: z.ZodNumber;
3753
- fingerprint: z.ZodNullable<z.ZodString>;
3754
- source_files: z.ZodNullable<z.ZodObject<{
3755
- passed: z.ZodNumber;
3756
- total: z.ZodNumber;
3757
- pass_rate: z.ZodNullable<z.ZodNumber>;
3758
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3759
- stale: z.ZodDefault<z.ZodBoolean>;
3760
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3761
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3762
- }, z.core.$strict>>;
3763
- portable_context: z.ZodNullable<z.ZodObject<{
3764
- passed: z.ZodNumber;
3765
- total: z.ZodNumber;
3766
- pass_rate: z.ZodNullable<z.ZodNumber>;
3767
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3768
- stale: z.ZodDefault<z.ZodBoolean>;
3769
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3770
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3771
- }, z.core.$strict>>;
3772
- }, z.core.$strict>;
3773
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3774
- gate: z.ZodEnum<{
3775
- "preparation-config": "preparation-config";
3776
- "portable-context": "portable-context";
3777
- "compile-run": "compile-run";
3778
- "readiness-checks": "readiness-checks";
3779
- "source-baseline": "source-baseline";
3780
- "portable-context-check": "portable-context-check";
3781
- "checks-current": "checks-current";
3782
- }>;
3783
- ok: z.ZodBoolean;
3784
- status: z.ZodOptional<z.ZodEnum<{
3785
- "not-configured": "not-configured";
3786
- "not-built": "not-built";
3787
- building: "building";
3788
- built: "built";
3789
- checking: "checking";
3790
- ready: "ready";
3791
- "not-ready": "not-ready";
3792
- stale: "stale";
3793
- failed: "failed";
3794
- }>>;
3795
- summary: z.ZodString;
3796
- detail: z.ZodOptional<z.ZodString>;
3797
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3798
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3799
- }, z.core.$strict>>>;
3800
- }, z.core.$strict>>>;
3801
- events: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3802
- event_id: z.ZodString;
3803
- run_id: z.ZodString;
3804
- timestamp: z.ZodString;
3805
- type: z.ZodLiteral<"run.started">;
3806
- preparation: z.ZodString;
3807
- method: z.ZodString;
3808
- portable_context_path: z.ZodString;
3809
- backend: z.ZodEnum<{
3810
- native: "native";
3811
- "workflow-sdk": "workflow-sdk";
3812
- }>;
3813
- }, z.core.$strict>, z.ZodObject<{
3814
- event_id: z.ZodString;
3815
- run_id: z.ZodString;
3816
- timestamp: z.ZodString;
3817
- type: z.ZodLiteral<"stage.started">;
3818
- stage_id: z.ZodString;
3819
- stage_index: z.ZodOptional<z.ZodNumber>;
3820
- stage_total: z.ZodOptional<z.ZodNumber>;
3821
- }, z.core.$strict>, z.ZodObject<{
3822
- event_id: z.ZodString;
3823
- run_id: z.ZodString;
3824
- timestamp: z.ZodString;
3825
- type: z.ZodLiteral<"file.processed">;
3826
- stage_id: z.ZodString;
3827
- path: z.ZodString;
3828
- }, z.core.$strict>, z.ZodObject<{
3829
- event_id: z.ZodString;
3830
- run_id: z.ZodString;
3831
- timestamp: z.ZodString;
3832
- type: z.ZodLiteral<"artifact.written">;
3833
- stage_id: z.ZodString;
3834
- artifact: z.ZodObject<{
3835
- path: z.ZodString;
3836
- role: z.ZodEnum<{
3837
- output: "output";
3838
- runtime: "runtime";
3839
- source: "source";
3840
- test: "test";
3841
- proof: "proof";
3842
- }>;
3843
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3844
- label: z.ZodOptional<z.ZodString>;
3845
- sha256: z.ZodOptional<z.ZodString>;
3846
- }, z.core.$strict>;
3847
- }, z.core.$strict>, z.ZodObject<{
3848
- event_id: z.ZodString;
3849
- run_id: z.ZodString;
3850
- timestamp: z.ZodString;
3851
- type: z.ZodLiteral<"proof.updated">;
3852
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3853
- proof: z.ZodObject<{
3854
- id: z.ZodString;
3855
- run_id: z.ZodString;
3856
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3857
- generated_at: z.ZodString;
3858
- summary: z.ZodString;
3859
- files_processed: z.ZodOptional<z.ZodNumber>;
3860
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
3861
- path: z.ZodString;
3862
- role: z.ZodEnum<{
3863
- output: "output";
3864
- runtime: "runtime";
3865
- source: "source";
3866
- test: "test";
3867
- proof: "proof";
3868
- }>;
3869
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3870
- label: z.ZodOptional<z.ZodString>;
3871
- sha256: z.ZodOptional<z.ZodString>;
3872
- }, z.core.$strict>>>;
3873
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
3874
- id: z.ZodString;
3875
- label: z.ZodString;
3876
- ok: z.ZodBoolean;
3877
- detail: z.ZodOptional<z.ZodString>;
3878
- }, z.core.$strict>>>;
3879
- }, z.core.$strict>;
3880
- }, z.core.$strict>, z.ZodObject<{
3881
- event_id: z.ZodString;
3882
- run_id: z.ZodString;
3883
- timestamp: z.ZodString;
3884
- type: z.ZodLiteral<"log.appended">;
3885
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3886
- stream: z.ZodEnum<{
3887
- status: "status";
3888
- trace: "trace";
3889
- system: "system";
3890
- }>;
3891
- message: z.ZodString;
3892
- }, z.core.$strict>, z.ZodObject<{
3893
- event_id: z.ZodString;
3894
- run_id: z.ZodString;
3895
- timestamp: z.ZodString;
3896
- type: z.ZodLiteral<"stage.passed">;
3897
- stage_id: z.ZodString;
3898
- summary: z.ZodOptional<z.ZodString>;
3899
- }, z.core.$strict>, z.ZodObject<{
3900
- event_id: z.ZodString;
3901
- run_id: z.ZodString;
3902
- timestamp: z.ZodString;
3903
- type: z.ZodLiteral<"stage.failed">;
3904
- stage_id: z.ZodString;
3905
- error: z.ZodString;
3906
- }, z.core.$strict>, z.ZodObject<{
3907
- event_id: z.ZodString;
3908
- run_id: z.ZodString;
3909
- timestamp: z.ZodString;
3910
- type: z.ZodLiteral<"run.completed">;
3911
- summary: z.ZodOptional<z.ZodString>;
3912
- }, z.core.$strict>, z.ZodObject<{
3913
- event_id: z.ZodString;
3914
- run_id: z.ZodString;
3915
- timestamp: z.ZodString;
3916
- type: z.ZodLiteral<"run.failed">;
3917
- error: z.ZodString;
3918
- }, z.core.$strict>, z.ZodObject<{
3919
- event_id: z.ZodString;
3920
- run_id: z.ZodString;
3921
- timestamp: z.ZodString;
3922
- type: z.ZodLiteral<"checks.evaluated">;
3923
- passed: z.ZodNumber;
3924
- total: z.ZodNumber;
3925
- target: z.ZodOptional<z.ZodEnum<{
3926
- compiled: "compiled";
3927
- raw: "raw";
3928
- }>>;
3929
- checks_fingerprint: z.ZodOptional<z.ZodString>;
3930
- stale: z.ZodOptional<z.ZodBoolean>;
3931
- test_run_id: z.ZodOptional<z.ZodString>;
3932
- }, z.core.$strict>, z.ZodObject<{
3933
- event_id: z.ZodString;
3934
- run_id: z.ZodString;
3935
- timestamp: z.ZodString;
3936
- type: z.ZodLiteral<"readiness.updated">;
3937
- preparation: z.ZodString;
3938
- readiness: z.ZodObject<{
3939
- kind: z.ZodLiteral<"interf-readiness-state">;
3940
- version: z.ZodLiteral<1>;
3941
- generated_at: z.ZodString;
3942
- preparation: z.ZodString;
3943
- status: z.ZodEnum<{
3944
- "not-configured": "not-configured";
3945
- "not-built": "not-built";
3946
- building: "building";
3947
- built: "built";
3948
- checking: "checking";
3949
- ready: "ready";
3950
- "not-ready": "not-ready";
3951
- stale: "stale";
3952
- failed: "failed";
3953
- }>;
3954
- ready: z.ZodBoolean;
3955
- summary: z.ZodString;
3956
- portable_context_path: z.ZodNullable<z.ZodString>;
3957
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3958
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3959
- compile: z.ZodNullable<z.ZodObject<{
3960
- gate: z.ZodEnum<{
3961
- "preparation-config": "preparation-config";
3962
- "portable-context": "portable-context";
3963
- "compile-run": "compile-run";
3964
- "readiness-checks": "readiness-checks";
3965
- "source-baseline": "source-baseline";
3966
- "portable-context-check": "portable-context-check";
3967
- "checks-current": "checks-current";
3968
- }>;
3969
- ok: z.ZodBoolean;
3970
- status: z.ZodOptional<z.ZodEnum<{
3971
- "not-configured": "not-configured";
3972
- "not-built": "not-built";
3973
- building: "building";
3974
- built: "built";
3975
- checking: "checking";
3976
- ready: "ready";
3977
- "not-ready": "not-ready";
3978
- stale: "stale";
3979
- failed: "failed";
3980
- }>>;
3981
- summary: z.ZodString;
3982
- detail: z.ZodOptional<z.ZodString>;
3983
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3984
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3985
- }, z.core.$strict>>;
3986
- check_results: z.ZodObject<{
3987
- configured: z.ZodNumber;
3988
- fingerprint: z.ZodNullable<z.ZodString>;
3989
- source_files: z.ZodNullable<z.ZodObject<{
3990
- passed: z.ZodNumber;
3991
- total: z.ZodNumber;
3992
- pass_rate: z.ZodNullable<z.ZodNumber>;
3993
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3994
- stale: z.ZodDefault<z.ZodBoolean>;
3995
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3996
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3997
- }, z.core.$strict>>;
3998
- portable_context: z.ZodNullable<z.ZodObject<{
3999
- passed: z.ZodNumber;
4000
- total: z.ZodNumber;
4001
- pass_rate: z.ZodNullable<z.ZodNumber>;
4002
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4003
- stale: z.ZodDefault<z.ZodBoolean>;
4004
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4005
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4006
- }, z.core.$strict>>;
4007
- }, z.core.$strict>;
4008
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4009
- gate: z.ZodEnum<{
4010
- "preparation-config": "preparation-config";
4011
- "portable-context": "portable-context";
4012
- "compile-run": "compile-run";
4013
- "readiness-checks": "readiness-checks";
4014
- "source-baseline": "source-baseline";
4015
- "portable-context-check": "portable-context-check";
4016
- "checks-current": "checks-current";
4017
- }>;
4018
- ok: z.ZodBoolean;
4019
- status: z.ZodOptional<z.ZodEnum<{
4020
- "not-configured": "not-configured";
4021
- "not-built": "not-built";
4022
- building: "building";
4023
- built: "built";
4024
- checking: "checking";
4025
- ready: "ready";
4026
- "not-ready": "not-ready";
4027
- stale: "stale";
4028
- failed: "failed";
4029
- }>>;
4030
- summary: z.ZodString;
4031
- detail: z.ZodOptional<z.ZodString>;
4032
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4033
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4034
- }, z.core.$strict>>>;
4035
- }, z.core.$strict>;
4036
- }, z.core.$strict>], "type">>>;
4037
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4038
- }, z.core.$strict>;
4039
- }, z.core.$strict>, z.ZodObject<{
4040
- kind: z.ZodLiteral<"run-observability">;
4041
- value: z.ZodObject<{
4042
- kind: z.ZodLiteral<"interf-run-observability">;
4043
- version: z.ZodLiteral<1>;
4044
- run_id: z.ZodString;
4045
- run_type: z.ZodEnum<{
4046
- compile: "compile";
4047
- "method-authoring": "method-authoring";
4048
- "method-improvement": "method-improvement";
4049
- test: "test";
4050
- "readiness-check-draft": "readiness-check-draft";
4051
- job: "job";
4052
- }>;
4053
- title: z.ZodString;
4054
- status: z.ZodEnum<{
4055
- failed: "failed";
4056
- running: "running";
4057
- succeeded: "succeeded";
4058
- cancelled: "cancelled";
4059
- queued: "queued";
4060
- }>;
4061
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4062
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4063
- source_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4064
- output_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4065
- executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4066
- kind: z.ZodEnum<{
4067
- "local-agent": "local-agent";
4068
- "connected-provider": "connected-provider";
4069
- managed: "managed";
4070
- }>;
4071
- name: z.ZodString;
4072
- display_name: z.ZodString;
4073
- command: z.ZodNullable<z.ZodString>;
4074
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4075
- effort: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4076
- profile: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4077
- timeout_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4078
- }, z.core.$strip>>>;
4079
- agent_label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4080
- created_at: z.ZodString;
4081
- started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4082
- finished_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4083
- metrics: z.ZodDefault<z.ZodArray<z.ZodObject<{
4084
- label: z.ZodString;
4085
- value: z.ZodString;
4086
- detail: z.ZodOptional<z.ZodString>;
4087
- }, z.core.$strict>>>;
4088
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
4089
- path: z.ZodString;
4090
- role: z.ZodEnum<{
4091
- output: "output";
4092
- runtime: "runtime";
4093
- source: "source";
4094
- test: "test";
4095
- proof: "proof";
4096
- }>;
4097
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4098
- label: z.ZodOptional<z.ZodString>;
4099
- sha256: z.ZodOptional<z.ZodString>;
4100
- }, z.core.$strict>>>;
4101
- proof: z.ZodDefault<z.ZodArray<z.ZodObject<{
4102
- id: z.ZodString;
4103
- label: z.ZodString;
4104
- ok: z.ZodBoolean;
4105
- detail: z.ZodOptional<z.ZodString>;
4106
- }, z.core.$strict>>>;
4107
- readiness: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4108
- kind: z.ZodLiteral<"interf-readiness-state">;
4109
- version: z.ZodLiteral<1>;
4110
- generated_at: z.ZodString;
4111
- preparation: z.ZodString;
4112
- status: z.ZodEnum<{
4113
- "not-configured": "not-configured";
4114
- "not-built": "not-built";
4115
- building: "building";
4116
- built: "built";
4117
- checking: "checking";
4118
- ready: "ready";
4119
- "not-ready": "not-ready";
4120
- stale: "stale";
4121
- failed: "failed";
4122
- }>;
4123
- ready: z.ZodBoolean;
4124
- summary: z.ZodString;
4125
- portable_context_path: z.ZodNullable<z.ZodString>;
4126
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4127
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4128
- compile: z.ZodNullable<z.ZodObject<{
4129
- gate: z.ZodEnum<{
4130
- "preparation-config": "preparation-config";
4131
- "portable-context": "portable-context";
4132
- "compile-run": "compile-run";
4133
- "readiness-checks": "readiness-checks";
4134
- "source-baseline": "source-baseline";
4135
- "portable-context-check": "portable-context-check";
4136
- "checks-current": "checks-current";
4137
- }>;
4138
- ok: z.ZodBoolean;
4139
- status: z.ZodOptional<z.ZodEnum<{
4140
- "not-configured": "not-configured";
4141
- "not-built": "not-built";
4142
- building: "building";
4143
- built: "built";
4144
- checking: "checking";
4145
- ready: "ready";
4146
- "not-ready": "not-ready";
4147
- stale: "stale";
4148
- failed: "failed";
4149
- }>>;
4150
- summary: z.ZodString;
4151
- detail: z.ZodOptional<z.ZodString>;
4152
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4153
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4154
- }, z.core.$strict>>;
4155
- check_results: z.ZodObject<{
4156
- configured: z.ZodNumber;
4157
- fingerprint: z.ZodNullable<z.ZodString>;
4158
- source_files: z.ZodNullable<z.ZodObject<{
4159
- passed: z.ZodNumber;
4160
- total: z.ZodNumber;
4161
- pass_rate: z.ZodNullable<z.ZodNumber>;
4162
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4163
- stale: z.ZodDefault<z.ZodBoolean>;
4164
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4165
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4166
- }, z.core.$strict>>;
4167
- portable_context: z.ZodNullable<z.ZodObject<{
4168
- passed: z.ZodNumber;
4169
- total: z.ZodNumber;
4170
- pass_rate: z.ZodNullable<z.ZodNumber>;
4171
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4172
- stale: z.ZodDefault<z.ZodBoolean>;
4173
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4174
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4175
- }, z.core.$strict>>;
4176
- }, z.core.$strict>;
4177
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4178
- gate: z.ZodEnum<{
4179
- "preparation-config": "preparation-config";
4180
- "portable-context": "portable-context";
4181
- "compile-run": "compile-run";
4182
- "readiness-checks": "readiness-checks";
4183
- "source-baseline": "source-baseline";
4184
- "portable-context-check": "portable-context-check";
4185
- "checks-current": "checks-current";
4186
- }>;
4187
- ok: z.ZodBoolean;
4188
- status: z.ZodOptional<z.ZodEnum<{
4189
- "not-configured": "not-configured";
4190
- "not-built": "not-built";
4191
- building: "building";
4192
- built: "built";
4193
- checking: "checking";
4194
- ready: "ready";
4195
- "not-ready": "not-ready";
4196
- stale: "stale";
4197
- failed: "failed";
4198
- }>>;
4199
- summary: z.ZodString;
4200
- detail: z.ZodOptional<z.ZodString>;
4201
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4202
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4203
- }, z.core.$strict>>>;
4204
- }, z.core.$strict>>>;
4205
- trace: z.ZodObject<{
4206
- run: z.ZodObject<{
4207
- runId: z.ZodString;
4208
- status: z.ZodEnum<{
4209
- failed: "failed";
4210
- running: "running";
4211
- pending: "pending";
4212
- completed: "completed";
4213
- cancelled: "cancelled";
4214
- }>;
4215
- deploymentId: z.ZodString;
4216
- methodName: z.ZodString;
4217
- specVersion: z.ZodLiteral<1>;
4218
- executionContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
4219
- input: z.ZodUnknown;
4220
- output: z.ZodOptional<z.ZodUnknown>;
4221
- error: z.ZodOptional<z.ZodObject<{
4222
- message: z.ZodString;
4223
- stack: z.ZodOptional<z.ZodString>;
4224
- code: z.ZodOptional<z.ZodString>;
4225
- }, z.core.$strict>>;
4226
- expiredAt: z.ZodOptional<z.ZodString>;
4227
- startedAt: z.ZodOptional<z.ZodString>;
4228
- completedAt: z.ZodOptional<z.ZodString>;
4229
- createdAt: z.ZodString;
4230
- updatedAt: z.ZodString;
4231
- }, z.core.$strict>;
4232
- events: z.ZodDefault<z.ZodArray<z.ZodObject<{
4233
- runId: z.ZodString;
4234
- eventId: z.ZodString;
4235
- eventType: z.ZodEnum<{
4236
- run_created: "run_created";
4237
- run_started: "run_started";
4238
- run_completed: "run_completed";
4239
- run_failed: "run_failed";
4240
- run_cancelled: "run_cancelled";
4241
- step_created: "step_created";
4242
- step_started: "step_started";
4243
- step_completed: "step_completed";
4244
- step_failed: "step_failed";
4245
- step_retrying: "step_retrying";
4246
- hook_created: "hook_created";
4247
- hook_received: "hook_received";
4248
- hook_disposed: "hook_disposed";
4249
- hook_conflict: "hook_conflict";
4250
- wait_created: "wait_created";
4251
- wait_completed: "wait_completed";
4252
- }>;
4253
- correlationId: z.ZodOptional<z.ZodString>;
4254
- specVersion: z.ZodLiteral<1>;
4255
- createdAt: z.ZodString;
4256
- eventData: z.ZodOptional<z.ZodUnknown>;
4257
- }, z.core.$strict>>>;
4258
- streams: z.ZodDefault<z.ZodArray<z.ZodObject<{
4259
- streamId: z.ZodString;
4260
- chunkId: z.ZodString;
4261
- index: z.ZodNumber;
4262
- createdAt: z.ZodString;
4263
- text: z.ZodString;
4264
- data: z.ZodOptional<z.ZodUnknown>;
4265
- }, z.core.$strict>>>;
4266
- }, z.core.$strict>;
4267
- }, z.core.$strict>;
4268
- }, z.core.$strict>, z.ZodObject<{
4269
- kind: z.ZodLiteral<"executor-status">;
4270
- value: z.ZodObject<{
4271
- kind: z.ZodLiteral<"interf-local-executor-status">;
4272
- version: z.ZodLiteral<1>;
4273
- status: z.ZodEnum<{
4274
- connected: "connected";
4275
- unavailable: "unavailable";
4276
- }>;
4277
- checked_at: z.ZodString;
4278
- executor: z.ZodNullable<z.ZodObject<{
4279
- name: z.ZodString;
4280
- display_name: z.ZodString;
4281
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4282
- }, z.core.$strict>>;
4283
- available_executors: z.ZodDefault<z.ZodArray<z.ZodObject<{
4284
- name: z.ZodString;
4285
- display_name: z.ZodString;
4286
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4287
- current: z.ZodBoolean;
4288
- }, z.core.$strict>>>;
4289
- message: z.ZodString;
4290
- }, z.core.$strict>;
4291
- }, z.core.$strict>, z.ZodObject<{
4292
- kind: z.ZodLiteral<"action-proposal">;
4293
- value: z.ZodDiscriminatedUnion<[z.ZodObject<{
4294
- kind: z.ZodLiteral<"interf-action-proposal">;
4295
- version: z.ZodLiteral<1>;
4296
- proposal_id: z.ZodString;
4297
- status: z.ZodEnum<{
4298
- failed: "failed";
4299
- needs_clarification: "needs_clarification";
4300
- awaiting_approval: "awaiting_approval";
4301
- approved: "approved";
4302
- denied: "denied";
4303
- submitted: "submitted";
4304
- }>;
4305
- title: z.ZodString;
4306
- summary: z.ZodString;
4307
- assistant_message: z.ZodOptional<z.ZodString>;
4308
- command_preview: z.ZodOptional<z.ZodString>;
4309
- message: z.ZodString;
4310
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4311
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4312
- client_origin: z.ZodDefault<z.ZodEnum<{
4313
- unknown: "unknown";
4314
- "ui-chat": "ui-chat";
4315
- cli: "cli";
4316
- "agent-cli": "agent-cli";
4317
- mcp: "mcp";
4318
- service: "service";
4319
- }>>;
4320
- created_at: z.ZodString;
4321
- updated_at: z.ZodString;
4322
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4323
- name: z.ZodString;
4324
- display_name: z.ZodString;
4325
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4326
- }, z.core.$strict>>>;
4327
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4328
- approved: z.ZodBoolean;
4329
- decided_at: z.ZodString;
4330
- note: z.ZodOptional<z.ZodString>;
4331
- }, z.core.$strict>>>;
4332
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4333
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4334
- "compile-run": "compile-run";
4335
- "test-run": "test-run";
4336
- "job-run": "job-run";
4337
- }>>>;
4338
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4339
- action_type: z.ZodLiteral<"clarification">;
4340
- request: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4341
- }, z.core.$strict>, z.ZodObject<{
4342
- kind: z.ZodLiteral<"interf-action-proposal">;
4343
- version: z.ZodLiteral<1>;
4344
- proposal_id: z.ZodString;
4345
- status: z.ZodEnum<{
4346
- failed: "failed";
4347
- needs_clarification: "needs_clarification";
4348
- awaiting_approval: "awaiting_approval";
4349
- approved: "approved";
4350
- denied: "denied";
4351
- submitted: "submitted";
4352
- }>;
4353
- title: z.ZodString;
4354
- summary: z.ZodString;
4355
- assistant_message: z.ZodOptional<z.ZodString>;
4356
- command_preview: z.ZodOptional<z.ZodString>;
4357
- message: z.ZodString;
4358
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4359
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4360
- client_origin: z.ZodDefault<z.ZodEnum<{
4361
- unknown: "unknown";
4362
- "ui-chat": "ui-chat";
4363
- cli: "cli";
4364
- "agent-cli": "agent-cli";
4365
- mcp: "mcp";
4366
- service: "service";
4367
- }>>;
4368
- created_at: z.ZodString;
4369
- updated_at: z.ZodString;
4370
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4371
- name: z.ZodString;
4372
- display_name: z.ZodString;
4373
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4374
- }, z.core.$strict>>>;
4375
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4376
- approved: z.ZodBoolean;
4377
- decided_at: z.ZodString;
4378
- note: z.ZodOptional<z.ZodString>;
4379
- }, z.core.$strict>>>;
4380
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4381
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4382
- "compile-run": "compile-run";
4383
- "test-run": "test-run";
4384
- "job-run": "job-run";
4385
- }>>>;
4386
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4387
- action_type: z.ZodLiteral<"compile">;
4388
- request: z.ZodObject<{
4389
- preparation: z.ZodString;
4390
- method: z.ZodOptional<z.ZodString>;
4391
- max_attempts: z.ZodOptional<z.ZodNumber>;
4392
- max_loops: z.ZodOptional<z.ZodNumber>;
4393
- preserve_stage_shells: z.ZodOptional<z.ZodEnum<{
4394
- "on-failure": "on-failure";
4395
- always: "always";
4396
- }>>;
4397
- }, z.core.$strict>;
4398
- }, z.core.$strict>, z.ZodObject<{
4399
- kind: z.ZodLiteral<"interf-action-proposal">;
4400
- version: z.ZodLiteral<1>;
4401
- proposal_id: z.ZodString;
4402
- status: z.ZodEnum<{
4403
- failed: "failed";
4404
- needs_clarification: "needs_clarification";
4405
- awaiting_approval: "awaiting_approval";
4406
- approved: "approved";
4407
- denied: "denied";
4408
- submitted: "submitted";
4409
- }>;
4410
- title: z.ZodString;
4411
- summary: z.ZodString;
4412
- assistant_message: z.ZodOptional<z.ZodString>;
4413
- command_preview: z.ZodOptional<z.ZodString>;
4414
- message: z.ZodString;
4415
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4416
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4417
- client_origin: z.ZodDefault<z.ZodEnum<{
4418
- unknown: "unknown";
4419
- "ui-chat": "ui-chat";
4420
- cli: "cli";
4421
- "agent-cli": "agent-cli";
4422
- mcp: "mcp";
4423
- service: "service";
4424
- }>>;
4425
- created_at: z.ZodString;
4426
- updated_at: z.ZodString;
4427
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4428
- name: z.ZodString;
4429
- display_name: z.ZodString;
4430
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4431
- }, z.core.$strict>>>;
4432
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4433
- approved: z.ZodBoolean;
4434
- decided_at: z.ZodString;
4435
- note: z.ZodOptional<z.ZodString>;
4436
- }, z.core.$strict>>>;
4437
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4438
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4439
- "compile-run": "compile-run";
4440
- "test-run": "test-run";
4441
- "job-run": "job-run";
4442
- }>>>;
4443
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4444
- action_type: z.ZodLiteral<"test">;
4445
- request: z.ZodObject<{
4446
- preparation: z.ZodString;
4447
- mode: z.ZodDefault<z.ZodEnum<{
4448
- compiled: "compiled";
4449
- raw: "raw";
4450
- both: "both";
4451
- }>>;
4452
- }, z.core.$strict>;
4453
- }, z.core.$strict>, z.ZodObject<{
4454
- kind: z.ZodLiteral<"interf-action-proposal">;
4455
- version: z.ZodLiteral<1>;
4456
- proposal_id: z.ZodString;
4457
- status: z.ZodEnum<{
4458
- failed: "failed";
4459
- needs_clarification: "needs_clarification";
4460
- awaiting_approval: "awaiting_approval";
4461
- approved: "approved";
4462
- denied: "denied";
4463
- submitted: "submitted";
4464
- }>;
4465
- title: z.ZodString;
4466
- summary: z.ZodString;
4467
- assistant_message: z.ZodOptional<z.ZodString>;
4468
- command_preview: z.ZodOptional<z.ZodString>;
4469
- message: z.ZodString;
4470
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4471
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4472
- client_origin: z.ZodDefault<z.ZodEnum<{
4473
- unknown: "unknown";
4474
- "ui-chat": "ui-chat";
4475
- cli: "cli";
4476
- "agent-cli": "agent-cli";
4477
- mcp: "mcp";
4478
- service: "service";
4479
- }>>;
4480
- created_at: z.ZodString;
4481
- updated_at: z.ZodString;
4482
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4483
- name: z.ZodString;
4484
- display_name: z.ZodString;
4485
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4486
- }, z.core.$strict>>>;
4487
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4488
- approved: z.ZodBoolean;
4489
- decided_at: z.ZodString;
4490
- note: z.ZodOptional<z.ZodString>;
4491
- }, z.core.$strict>>>;
4492
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4493
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4494
- "compile-run": "compile-run";
4495
- "test-run": "test-run";
4496
- "job-run": "job-run";
4497
- }>>>;
4498
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4499
- action_type: z.ZodLiteral<"readiness-check-draft">;
4500
- request: z.ZodObject<{
4501
- preparation: z.ZodString;
4502
- source_folder_path: z.ZodString;
4503
- about: z.ZodOptional<z.ZodString>;
4504
- target_count: z.ZodDefault<z.ZodNumber>;
4505
- }, z.core.$strict>;
4506
- }, z.core.$strict>, z.ZodObject<{
4507
- kind: z.ZodLiteral<"interf-action-proposal">;
4508
- version: z.ZodLiteral<1>;
4509
- proposal_id: z.ZodString;
4510
- status: z.ZodEnum<{
4511
- failed: "failed";
4512
- needs_clarification: "needs_clarification";
4513
- awaiting_approval: "awaiting_approval";
4514
- approved: "approved";
4515
- denied: "denied";
4516
- submitted: "submitted";
4517
- }>;
4518
- title: z.ZodString;
4519
- summary: z.ZodString;
4520
- assistant_message: z.ZodOptional<z.ZodString>;
4521
- command_preview: z.ZodOptional<z.ZodString>;
4522
- message: z.ZodString;
4523
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4524
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4525
- client_origin: z.ZodDefault<z.ZodEnum<{
4526
- unknown: "unknown";
4527
- "ui-chat": "ui-chat";
4528
- cli: "cli";
4529
- "agent-cli": "agent-cli";
4530
- mcp: "mcp";
4531
- service: "service";
4532
- }>>;
4533
- created_at: z.ZodString;
4534
- updated_at: z.ZodString;
4535
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4536
- name: z.ZodString;
4537
- display_name: z.ZodString;
4538
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4539
- }, z.core.$strict>>>;
4540
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4541
- approved: z.ZodBoolean;
4542
- decided_at: z.ZodString;
4543
- note: z.ZodOptional<z.ZodString>;
4544
- }, z.core.$strict>>>;
4545
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4546
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4547
- "compile-run": "compile-run";
4548
- "test-run": "test-run";
4549
- "job-run": "job-run";
4550
- }>>>;
4551
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4552
- action_type: z.ZodLiteral<"method-authoring">;
4553
- request: z.ZodObject<{
4554
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4555
- source_folder_path: z.ZodString;
4556
- base_method_id: z.ZodOptional<z.ZodString>;
4557
- reference_method_id: z.ZodOptional<z.ZodString>;
4558
- method_id: z.ZodString;
4559
- label: z.ZodString;
4560
- hint: z.ZodString;
4561
- task_prompt: z.ZodString;
4562
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4563
- id: z.ZodOptional<z.ZodString>;
4564
- question: z.ZodString;
4565
- answer: z.ZodOptional<z.ZodString>;
4566
- expect: z.ZodOptional<z.ZodObject<{
4567
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4568
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
4569
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4570
- min_words: z.ZodOptional<z.ZodNumber>;
4571
- max_words: z.ZodOptional<z.ZodNumber>;
4572
- }, z.core.$strip>>;
4573
- strictness: z.ZodOptional<z.ZodString>;
4574
- }, z.core.$strict>>>;
4575
- }, z.core.$strict>;
4576
- }, z.core.$strict>, z.ZodObject<{
4577
- kind: z.ZodLiteral<"interf-action-proposal">;
4578
- version: z.ZodLiteral<1>;
4579
- proposal_id: z.ZodString;
4580
- status: z.ZodEnum<{
4581
- failed: "failed";
4582
- needs_clarification: "needs_clarification";
4583
- awaiting_approval: "awaiting_approval";
4584
- approved: "approved";
4585
- denied: "denied";
4586
- submitted: "submitted";
4587
- }>;
4588
- title: z.ZodString;
4589
- summary: z.ZodString;
4590
- assistant_message: z.ZodOptional<z.ZodString>;
4591
- command_preview: z.ZodOptional<z.ZodString>;
4592
- message: z.ZodString;
4593
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4594
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4595
- client_origin: z.ZodDefault<z.ZodEnum<{
4596
- unknown: "unknown";
4597
- "ui-chat": "ui-chat";
4598
- cli: "cli";
4599
- "agent-cli": "agent-cli";
4600
- mcp: "mcp";
4601
- service: "service";
4602
- }>>;
4603
- created_at: z.ZodString;
4604
- updated_at: z.ZodString;
4605
- proposed_by_executor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4606
- name: z.ZodString;
4607
- display_name: z.ZodString;
4608
- command: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4609
- }, z.core.$strict>>>;
4610
- approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4611
- approved: z.ZodBoolean;
4612
- decided_at: z.ZodString;
4613
- note: z.ZodOptional<z.ZodString>;
4614
- }, z.core.$strict>>>;
4615
- submitted_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4616
- submitted_run_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
4617
- "compile-run": "compile-run";
4618
- "test-run": "test-run";
4619
- "job-run": "job-run";
4620
- }>>>;
4621
- error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4622
- action_type: z.ZodLiteral<"method-improvement">;
4623
- request: z.ZodObject<{
4624
- preparation: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4625
- source_folder_path: z.ZodString;
4626
- base_method_id: z.ZodOptional<z.ZodString>;
4627
- reference_method_id: z.ZodOptional<z.ZodString>;
4628
- method_id: z.ZodString;
4629
- label: z.ZodString;
4630
- hint: z.ZodString;
4631
- task_prompt: z.ZodString;
4632
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4633
- id: z.ZodOptional<z.ZodString>;
4634
- question: z.ZodString;
4635
- answer: z.ZodOptional<z.ZodString>;
4636
- expect: z.ZodOptional<z.ZodObject<{
4637
- must_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4638
- must_include_one_of: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
4639
- must_not_include: z.ZodOptional<z.ZodArray<z.ZodString>>;
4640
- min_words: z.ZodOptional<z.ZodNumber>;
4641
- max_words: z.ZodOptional<z.ZodNumber>;
4642
- }, z.core.$strip>>;
4643
- strictness: z.ZodOptional<z.ZodString>;
4644
- }, z.core.$strict>>>;
4645
- }, z.core.$strict>;
4646
- }, z.core.$strict>], "action_type">;
4647
- }, z.core.$strict>, z.ZodObject<{
4648
- kind: z.ZodLiteral<"portable-context">;
4649
- value: z.ZodObject<{
4650
- preparation: z.ZodString;
4651
- path: z.ZodString;
4652
- exists: z.ZodBoolean;
4653
- readiness: z.ZodObject<{
4654
- kind: z.ZodLiteral<"interf-readiness-state">;
4655
- version: z.ZodLiteral<1>;
4656
- generated_at: z.ZodString;
4657
- preparation: z.ZodString;
4658
- status: 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
- ready: z.ZodBoolean;
4670
- summary: z.ZodString;
4671
- portable_context_path: z.ZodNullable<z.ZodString>;
4672
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4673
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4674
- compile: z.ZodNullable<z.ZodObject<{
4675
- gate: z.ZodEnum<{
4676
- "preparation-config": "preparation-config";
4677
- "portable-context": "portable-context";
4678
- "compile-run": "compile-run";
4679
- "readiness-checks": "readiness-checks";
4680
- "source-baseline": "source-baseline";
4681
- "portable-context-check": "portable-context-check";
4682
- "checks-current": "checks-current";
4683
- }>;
4684
- ok: z.ZodBoolean;
4685
- status: z.ZodOptional<z.ZodEnum<{
4686
- "not-configured": "not-configured";
4687
- "not-built": "not-built";
4688
- building: "building";
4689
- built: "built";
4690
- checking: "checking";
4691
- ready: "ready";
4692
- "not-ready": "not-ready";
4693
- stale: "stale";
4694
- failed: "failed";
4695
- }>>;
4696
- summary: z.ZodString;
4697
- detail: z.ZodOptional<z.ZodString>;
4698
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4699
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4700
- }, z.core.$strict>>;
4701
- check_results: z.ZodObject<{
4702
- configured: z.ZodNumber;
4703
- fingerprint: z.ZodNullable<z.ZodString>;
4704
- source_files: z.ZodNullable<z.ZodObject<{
4705
- passed: z.ZodNumber;
4706
- total: z.ZodNumber;
4707
- pass_rate: z.ZodNullable<z.ZodNumber>;
4708
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4709
- stale: z.ZodDefault<z.ZodBoolean>;
4710
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4711
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4712
- }, z.core.$strict>>;
4713
- portable_context: z.ZodNullable<z.ZodObject<{
4714
- passed: z.ZodNumber;
4715
- total: z.ZodNumber;
4716
- pass_rate: z.ZodNullable<z.ZodNumber>;
4717
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4718
- stale: z.ZodDefault<z.ZodBoolean>;
4719
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4720
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4721
- }, z.core.$strict>>;
4722
- }, z.core.$strict>;
4723
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4724
- gate: z.ZodEnum<{
4725
- "preparation-config": "preparation-config";
4726
- "portable-context": "portable-context";
4727
- "compile-run": "compile-run";
4728
- "readiness-checks": "readiness-checks";
4729
- "source-baseline": "source-baseline";
4730
- "portable-context-check": "portable-context-check";
4731
- "checks-current": "checks-current";
4732
- }>;
4733
- ok: z.ZodBoolean;
4734
- status: z.ZodOptional<z.ZodEnum<{
4735
- "not-configured": "not-configured";
4736
- "not-built": "not-built";
4737
- building: "building";
4738
- built: "built";
4739
- checking: "checking";
4740
- ready: "ready";
4741
- "not-ready": "not-ready";
4742
- stale: "stale";
4743
- failed: "failed";
4744
- }>>;
4745
- summary: z.ZodString;
4746
- detail: z.ZodOptional<z.ZodString>;
4747
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4748
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4749
- }, z.core.$strict>>>;
4750
- }, z.core.$strict>;
4751
- method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4752
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4753
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4754
- artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
4755
- path: z.ZodString;
4756
- role: z.ZodEnum<{
4757
- output: "output";
4758
- runtime: "runtime";
4759
- source: "source";
4760
- test: "test";
4761
- proof: "proof";
4762
- }>;
4763
- stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4764
- label: z.ZodOptional<z.ZodString>;
4765
- sha256: z.ZodOptional<z.ZodString>;
4766
- }, z.core.$strict>>>;
4767
- }, z.core.$strict>;
4768
- }, z.core.$strict>, z.ZodObject<{
4769
- kind: z.ZodLiteral<"readiness">;
4770
- value: z.ZodObject<{
4771
- kind: z.ZodLiteral<"interf-readiness-state">;
4772
- version: z.ZodLiteral<1>;
4773
- generated_at: z.ZodString;
4774
- preparation: z.ZodString;
4775
- status: z.ZodEnum<{
2909
+ }, z.core.$strict>>;
2910
+ }, z.core.$strict>;
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<{
4776
2923
  "not-configured": "not-configured";
4777
2924
  "not-built": "not-built";
4778
2925
  building: "building";
@@ -4782,108 +2929,61 @@ export declare const LocalServiceResourceSchema: z.ZodDiscriminatedUnion<[z.ZodO
4782
2929
  "not-ready": "not-ready";
4783
2930
  stale: "stale";
4784
2931
  failed: "failed";
4785
- }>;
4786
- ready: z.ZodBoolean;
2932
+ }>>;
4787
2933
  summary: z.ZodString;
4788
- portable_context_path: z.ZodNullable<z.ZodString>;
4789
- latest_compile_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4790
- latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4791
- compile: z.ZodNullable<z.ZodObject<{
4792
- gate: z.ZodEnum<{
4793
- "preparation-config": "preparation-config";
4794
- "portable-context": "portable-context";
4795
- "compile-run": "compile-run";
4796
- "readiness-checks": "readiness-checks";
4797
- "source-baseline": "source-baseline";
4798
- "portable-context-check": "portable-context-check";
4799
- "checks-current": "checks-current";
4800
- }>;
4801
- ok: z.ZodBoolean;
4802
- status: z.ZodOptional<z.ZodEnum<{
4803
- "not-configured": "not-configured";
4804
- "not-built": "not-built";
4805
- building: "building";
4806
- built: "built";
4807
- checking: "checking";
4808
- ready: "ready";
4809
- "not-ready": "not-ready";
4810
- stale: "stale";
4811
- failed: "failed";
4812
- }>>;
4813
- summary: z.ZodString;
4814
- detail: z.ZodOptional<z.ZodString>;
4815
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4816
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4817
- }, z.core.$strict>>;
4818
- check_results: z.ZodObject<{
4819
- configured: z.ZodNumber;
4820
- fingerprint: z.ZodNullable<z.ZodString>;
4821
- source_files: z.ZodNullable<z.ZodObject<{
4822
- passed: z.ZodNumber;
4823
- total: z.ZodNumber;
4824
- pass_rate: z.ZodNullable<z.ZodNumber>;
4825
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4826
- stale: z.ZodDefault<z.ZodBoolean>;
4827
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4828
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4829
- }, z.core.$strict>>;
4830
- portable_context: z.ZodNullable<z.ZodObject<{
4831
- passed: z.ZodNumber;
4832
- total: z.ZodNumber;
4833
- pass_rate: z.ZodNullable<z.ZodNumber>;
4834
- checks_fingerprint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4835
- stale: z.ZodDefault<z.ZodBoolean>;
4836
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4837
- run_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4838
- }, z.core.$strict>>;
4839
- }, z.core.$strict>;
4840
- checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
4841
- gate: z.ZodEnum<{
4842
- "preparation-config": "preparation-config";
4843
- "portable-context": "portable-context";
4844
- "compile-run": "compile-run";
4845
- "readiness-checks": "readiness-checks";
4846
- "source-baseline": "source-baseline";
4847
- "portable-context-check": "portable-context-check";
4848
- "checks-current": "checks-current";
4849
- }>;
4850
- ok: z.ZodBoolean;
4851
- status: z.ZodOptional<z.ZodEnum<{
4852
- "not-configured": "not-configured";
4853
- "not-built": "not-built";
4854
- building: "building";
4855
- built: "built";
4856
- checking: "checking";
4857
- ready: "ready";
4858
- "not-ready": "not-ready";
4859
- stale: "stale";
4860
- failed: "failed";
4861
- }>>;
4862
- summary: z.ZodString;
4863
- detail: z.ZodOptional<z.ZodString>;
4864
- run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4865
- artifact_path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4866
- }, z.core.$strict>>>;
4867
- }, z.core.$strict>;
4868
- }, z.core.$strict>, z.ZodObject<{
4869
- kind: z.ZodLiteral<"source-file">;
4870
- value: z.ZodObject<{
4871
- preparation: z.ZodString;
4872
- path: z.ZodString;
4873
- absolute_path: z.ZodString;
4874
- size_bytes: z.ZodNumber;
4875
- modified_at: z.ZodNullable<z.ZodString>;
4876
- source_folder_path: z.ZodString;
4877
- }, z.core.$strict>;
4878
- }, z.core.$strict>, z.ZodObject<{
4879
- kind: z.ZodLiteral<"workspace-file">;
4880
- value: z.ZodObject<{
4881
- path: z.ZodString;
4882
- absolute_path: z.ZodString;
4883
- size_bytes: z.ZodNumber;
4884
- modified_at: z.ZodNullable<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>;
4885
2978
  }, z.core.$strict>;
4886
- }, 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>;
4887
2987
  export declare const PreparationListResponseSchema: z.ZodObject<{
4888
2988
  preparations: z.ZodArray<z.ZodObject<{
4889
2989
  id: z.ZodString;
@@ -4957,8 +3057,8 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
4957
3057
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4958
3058
  compile: z.ZodNullable<z.ZodObject<{
4959
3059
  gate: z.ZodEnum<{
4960
- "preparation-config": "preparation-config";
4961
3060
  "portable-context": "portable-context";
3061
+ "preparation-config": "preparation-config";
4962
3062
  "compile-run": "compile-run";
4963
3063
  "readiness-checks": "readiness-checks";
4964
3064
  "source-baseline": "source-baseline";
@@ -5006,8 +3106,8 @@ export declare const PreparationListResponseSchema: z.ZodObject<{
5006
3106
  }, z.core.$strict>;
5007
3107
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5008
3108
  gate: z.ZodEnum<{
5009
- "preparation-config": "preparation-config";
5010
3109
  "portable-context": "portable-context";
3110
+ "preparation-config": "preparation-config";
5011
3111
  "compile-run": "compile-run";
5012
3112
  "readiness-checks": "readiness-checks";
5013
3113
  "source-baseline": "source-baseline";
@@ -5073,9 +3173,9 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5073
3173
  version: z.ZodLiteral<1>;
5074
3174
  run_id: z.ZodString;
5075
3175
  status: z.ZodEnum<{
3176
+ succeeded: "succeeded";
5076
3177
  failed: "failed";
5077
3178
  running: "running";
5078
- succeeded: "succeeded";
5079
3179
  cancelled: "cancelled";
5080
3180
  queued: "queued";
5081
3181
  }>;
@@ -5097,9 +3197,9 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5097
3197
  stage_index: z.ZodOptional<z.ZodNumber>;
5098
3198
  stage_total: z.ZodOptional<z.ZodNumber>;
5099
3199
  status: z.ZodEnum<{
3200
+ succeeded: "succeeded";
5100
3201
  failed: "failed";
5101
3202
  running: "running";
5102
- succeeded: "succeeded";
5103
3203
  queued: "queued";
5104
3204
  }>;
5105
3205
  started_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5130,11 +3230,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5130
3230
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5131
3231
  path: z.ZodString;
5132
3232
  role: z.ZodEnum<{
5133
- output: "output";
5134
3233
  runtime: "runtime";
3234
+ output: "output";
5135
3235
  source: "source";
5136
- test: "test";
5137
3236
  proof: "proof";
3237
+ test: "test";
5138
3238
  }>;
5139
3239
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5140
3240
  label: z.ZodOptional<z.ZodString>;
@@ -5156,11 +3256,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5156
3256
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5157
3257
  path: z.ZodString;
5158
3258
  role: z.ZodEnum<{
5159
- output: "output";
5160
3259
  runtime: "runtime";
3260
+ output: "output";
5161
3261
  source: "source";
5162
- test: "test";
5163
3262
  proof: "proof";
3263
+ test: "test";
5164
3264
  }>;
5165
3265
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5166
3266
  label: z.ZodOptional<z.ZodString>;
@@ -5211,11 +3311,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5211
3311
  artifact: z.ZodObject<{
5212
3312
  path: z.ZodString;
5213
3313
  role: z.ZodEnum<{
5214
- output: "output";
5215
3314
  runtime: "runtime";
3315
+ output: "output";
5216
3316
  source: "source";
5217
- test: "test";
5218
3317
  proof: "proof";
3318
+ test: "test";
5219
3319
  }>;
5220
3320
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5221
3321
  label: z.ZodOptional<z.ZodString>;
@@ -5237,11 +3337,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5237
3337
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5238
3338
  path: z.ZodString;
5239
3339
  role: z.ZodEnum<{
5240
- output: "output";
5241
3340
  runtime: "runtime";
3341
+ output: "output";
5242
3342
  source: "source";
5243
- test: "test";
5244
3343
  proof: "proof";
3344
+ test: "test";
5245
3345
  }>;
5246
3346
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5247
3347
  label: z.ZodOptional<z.ZodString>;
@@ -5300,8 +3400,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5300
3400
  passed: z.ZodNumber;
5301
3401
  total: z.ZodNumber;
5302
3402
  target: z.ZodOptional<z.ZodEnum<{
3403
+ "source-files": "source-files";
5303
3404
  compiled: "compiled";
5304
- raw: "raw";
5305
3405
  }>>;
5306
3406
  checks_fingerprint: z.ZodOptional<z.ZodString>;
5307
3407
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -5335,8 +3435,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5335
3435
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5336
3436
  compile: z.ZodNullable<z.ZodObject<{
5337
3437
  gate: z.ZodEnum<{
5338
- "preparation-config": "preparation-config";
5339
3438
  "portable-context": "portable-context";
3439
+ "preparation-config": "preparation-config";
5340
3440
  "compile-run": "compile-run";
5341
3441
  "readiness-checks": "readiness-checks";
5342
3442
  "source-baseline": "source-baseline";
@@ -5384,8 +3484,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5384
3484
  }, z.core.$strict>;
5385
3485
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5386
3486
  gate: z.ZodEnum<{
5387
- "preparation-config": "preparation-config";
5388
3487
  "portable-context": "portable-context";
3488
+ "preparation-config": "preparation-config";
5389
3489
  "compile-run": "compile-run";
5390
3490
  "readiness-checks": "readiness-checks";
5391
3491
  "source-baseline": "source-baseline";
@@ -5421,11 +3521,11 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5421
3521
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5422
3522
  path: z.ZodString;
5423
3523
  role: z.ZodEnum<{
5424
- output: "output";
5425
3524
  runtime: "runtime";
3525
+ output: "output";
5426
3526
  source: "source";
5427
- test: "test";
5428
3527
  proof: "proof";
3528
+ test: "test";
5429
3529
  }>;
5430
3530
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5431
3531
  label: z.ZodOptional<z.ZodString>;
@@ -5461,8 +3561,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5461
3561
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5462
3562
  compile: z.ZodNullable<z.ZodObject<{
5463
3563
  gate: z.ZodEnum<{
5464
- "preparation-config": "preparation-config";
5465
3564
  "portable-context": "portable-context";
3565
+ "preparation-config": "preparation-config";
5466
3566
  "compile-run": "compile-run";
5467
3567
  "readiness-checks": "readiness-checks";
5468
3568
  "source-baseline": "source-baseline";
@@ -5510,8 +3610,8 @@ export declare const CompileRunListResponseSchema: z.ZodObject<{
5510
3610
  }, z.core.$strict>;
5511
3611
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5512
3612
  gate: z.ZodEnum<{
5513
- "preparation-config": "preparation-config";
5514
3613
  "portable-context": "portable-context";
3614
+ "preparation-config": "preparation-config";
5515
3615
  "compile-run": "compile-run";
5516
3616
  "readiness-checks": "readiness-checks";
5517
3617
  "source-baseline": "source-baseline";
@@ -5550,9 +3650,9 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5550
3650
  "readiness-check-draft": "readiness-check-draft";
5551
3651
  }>;
5552
3652
  status: z.ZodEnum<{
3653
+ succeeded: "succeeded";
5553
3654
  failed: "failed";
5554
3655
  running: "running";
5555
- succeeded: "succeeded";
5556
3656
  cancelled: "cancelled";
5557
3657
  queued: "queued";
5558
3658
  }>;
@@ -5573,9 +3673,9 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5573
3673
  id: z.ZodString;
5574
3674
  label: z.ZodString;
5575
3675
  status: z.ZodEnum<{
3676
+ succeeded: "succeeded";
5576
3677
  failed: "failed";
5577
3678
  running: "running";
5578
- succeeded: "succeeded";
5579
3679
  cancelled: "cancelled";
5580
3680
  queued: "queued";
5581
3681
  }>;
@@ -5604,11 +3704,11 @@ export declare const LocalJobRunListResponseSchema: z.ZodObject<{
5604
3704
  artifact: z.ZodOptional<z.ZodObject<{
5605
3705
  path: z.ZodString;
5606
3706
  role: z.ZodEnum<{
5607
- output: "output";
5608
3707
  runtime: "runtime";
3708
+ output: "output";
5609
3709
  source: "source";
5610
- test: "test";
5611
3710
  proof: "proof";
3711
+ test: "test";
5612
3712
  }>;
5613
3713
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5614
3714
  label: z.ZodOptional<z.ZodString>;
@@ -5625,16 +3725,16 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5625
3725
  test_runs: z.ZodArray<z.ZodObject<{
5626
3726
  run_id: z.ZodString;
5627
3727
  status: z.ZodEnum<{
3728
+ succeeded: "succeeded";
5628
3729
  failed: "failed";
5629
3730
  running: "running";
5630
- succeeded: "succeeded";
5631
3731
  cancelled: "cancelled";
5632
3732
  queued: "queued";
5633
3733
  }>;
5634
3734
  preparation: z.ZodString;
5635
3735
  mode: z.ZodEnum<{
3736
+ "source-files": "source-files";
5636
3737
  compiled: "compiled";
5637
- raw: "raw";
5638
3738
  both: "both";
5639
3739
  }>;
5640
3740
  source_path: z.ZodString;
@@ -5646,8 +3746,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5646
3746
  version: z.ZodLiteral<1>;
5647
3747
  generated_at: z.ZodString;
5648
3748
  mode: z.ZodEnum<{
3749
+ "source-files": "source-files";
5649
3750
  compiled: "compiled";
5650
- raw: "raw";
5651
3751
  both: "both";
5652
3752
  }>;
5653
3753
  source_path: z.ZodString;
@@ -5656,7 +3756,7 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5656
3756
  name: z.ZodString;
5657
3757
  portable_context_path: z.ZodNullable<z.ZodString>;
5658
3758
  }, z.core.$strip>;
5659
- raw: z.ZodNullable<z.ZodObject<{
3759
+ source_files: z.ZodNullable<z.ZodObject<{
5660
3760
  label: z.ZodString;
5661
3761
  run_path: z.ZodString;
5662
3762
  ok: z.ZodBoolean;
@@ -5666,8 +3766,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5666
3766
  total_checks: z.ZodNumber;
5667
3767
  target: z.ZodObject<{
5668
3768
  type: z.ZodEnum<{
3769
+ "source-files": "source-files";
5669
3770
  compiled: "compiled";
5670
- raw: "raw";
5671
3771
  }>;
5672
3772
  name: z.ZodString;
5673
3773
  path: z.ZodString;
@@ -5684,8 +3784,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5684
3784
  total_checks: z.ZodNumber;
5685
3785
  target: z.ZodObject<{
5686
3786
  type: z.ZodEnum<{
3787
+ "source-files": "source-files";
5687
3788
  compiled: "compiled";
5688
- raw: "raw";
5689
3789
  }>;
5690
3790
  name: z.ZodString;
5691
3791
  path: z.ZodString;
@@ -5720,8 +3820,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5720
3820
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5721
3821
  compile: z.ZodNullable<z.ZodObject<{
5722
3822
  gate: z.ZodEnum<{
5723
- "preparation-config": "preparation-config";
5724
3823
  "portable-context": "portable-context";
3824
+ "preparation-config": "preparation-config";
5725
3825
  "compile-run": "compile-run";
5726
3826
  "readiness-checks": "readiness-checks";
5727
3827
  "source-baseline": "source-baseline";
@@ -5769,8 +3869,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5769
3869
  }, z.core.$strict>;
5770
3870
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
5771
3871
  gate: z.ZodEnum<{
5772
- "preparation-config": "preparation-config";
5773
3872
  "portable-context": "portable-context";
3873
+ "preparation-config": "preparation-config";
5774
3874
  "compile-run": "compile-run";
5775
3875
  "readiness-checks": "readiness-checks";
5776
3876
  "source-baseline": "source-baseline";
@@ -5831,11 +3931,11 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5831
3931
  artifact: z.ZodObject<{
5832
3932
  path: z.ZodString;
5833
3933
  role: z.ZodEnum<{
5834
- output: "output";
5835
3934
  runtime: "runtime";
3935
+ output: "output";
5836
3936
  source: "source";
5837
- test: "test";
5838
3937
  proof: "proof";
3938
+ test: "test";
5839
3939
  }>;
5840
3940
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5841
3941
  label: z.ZodOptional<z.ZodString>;
@@ -5857,11 +3957,11 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5857
3957
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
5858
3958
  path: z.ZodString;
5859
3959
  role: z.ZodEnum<{
5860
- output: "output";
5861
3960
  runtime: "runtime";
3961
+ output: "output";
5862
3962
  source: "source";
5863
- test: "test";
5864
3963
  proof: "proof";
3964
+ test: "test";
5865
3965
  }>;
5866
3966
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5867
3967
  label: z.ZodOptional<z.ZodString>;
@@ -5920,8 +4020,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5920
4020
  passed: z.ZodNumber;
5921
4021
  total: z.ZodNumber;
5922
4022
  target: z.ZodOptional<z.ZodEnum<{
4023
+ "source-files": "source-files";
5923
4024
  compiled: "compiled";
5924
- raw: "raw";
5925
4025
  }>>;
5926
4026
  checks_fingerprint: z.ZodOptional<z.ZodString>;
5927
4027
  stale: z.ZodOptional<z.ZodBoolean>;
@@ -5955,8 +4055,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
5955
4055
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5956
4056
  compile: z.ZodNullable<z.ZodObject<{
5957
4057
  gate: z.ZodEnum<{
5958
- "preparation-config": "preparation-config";
5959
4058
  "portable-context": "portable-context";
4059
+ "preparation-config": "preparation-config";
5960
4060
  "compile-run": "compile-run";
5961
4061
  "readiness-checks": "readiness-checks";
5962
4062
  "source-baseline": "source-baseline";
@@ -6004,8 +4104,8 @@ export declare const TestRunListResponseSchema: z.ZodObject<{
6004
4104
  }, z.core.$strict>;
6005
4105
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6006
4106
  gate: z.ZodEnum<{
6007
- "preparation-config": "preparation-config";
6008
4107
  "portable-context": "portable-context";
4108
+ "preparation-config": "preparation-config";
6009
4109
  "compile-run": "compile-run";
6010
4110
  "readiness-checks": "readiness-checks";
6011
4111
  "source-baseline": "source-baseline";
@@ -6049,9 +4149,9 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6049
4149
  }>;
6050
4150
  title: z.ZodString;
6051
4151
  status: z.ZodEnum<{
4152
+ succeeded: "succeeded";
6052
4153
  failed: "failed";
6053
4154
  running: "running";
6054
- succeeded: "succeeded";
6055
4155
  cancelled: "cancelled";
6056
4156
  queued: "queued";
6057
4157
  }>;
@@ -6085,11 +4185,11 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6085
4185
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
6086
4186
  path: z.ZodString;
6087
4187
  role: z.ZodEnum<{
6088
- output: "output";
6089
4188
  runtime: "runtime";
4189
+ output: "output";
6090
4190
  source: "source";
6091
- test: "test";
6092
4191
  proof: "proof";
4192
+ test: "test";
6093
4193
  }>;
6094
4194
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6095
4195
  label: z.ZodOptional<z.ZodString>;
@@ -6124,8 +4224,8 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6124
4224
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6125
4225
  compile: z.ZodNullable<z.ZodObject<{
6126
4226
  gate: z.ZodEnum<{
6127
- "preparation-config": "preparation-config";
6128
4227
  "portable-context": "portable-context";
4228
+ "preparation-config": "preparation-config";
6129
4229
  "compile-run": "compile-run";
6130
4230
  "readiness-checks": "readiness-checks";
6131
4231
  "source-baseline": "source-baseline";
@@ -6173,8 +4273,8 @@ export declare const RunObservabilityListResponseSchema: z.ZodObject<{
6173
4273
  }, z.core.$strict>;
6174
4274
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6175
4275
  gate: z.ZodEnum<{
6176
- "preparation-config": "preparation-config";
6177
4276
  "portable-context": "portable-context";
4277
+ "preparation-config": "preparation-config";
6178
4278
  "compile-run": "compile-run";
6179
4279
  "readiness-checks": "readiness-checks";
6180
4280
  "source-baseline": "source-baseline";
@@ -6285,11 +4385,11 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6285
4385
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6286
4386
  client_origin: z.ZodDefault<z.ZodEnum<{
6287
4387
  unknown: "unknown";
4388
+ service: "service";
6288
4389
  "ui-chat": "ui-chat";
6289
4390
  cli: "cli";
6290
4391
  "agent-cli": "agent-cli";
6291
4392
  mcp: "mcp";
6292
- service: "service";
6293
4393
  }>>;
6294
4394
  created_at: z.ZodString;
6295
4395
  updated_at: z.ZodString;
@@ -6333,11 +4433,11 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6333
4433
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6334
4434
  client_origin: z.ZodDefault<z.ZodEnum<{
6335
4435
  unknown: "unknown";
4436
+ service: "service";
6336
4437
  "ui-chat": "ui-chat";
6337
4438
  cli: "cli";
6338
4439
  "agent-cli": "agent-cli";
6339
4440
  mcp: "mcp";
6340
- service: "service";
6341
4441
  }>>;
6342
4442
  created_at: z.ZodString;
6343
4443
  updated_at: z.ZodString;
@@ -6390,11 +4490,11 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6390
4490
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6391
4491
  client_origin: z.ZodDefault<z.ZodEnum<{
6392
4492
  unknown: "unknown";
4493
+ service: "service";
6393
4494
  "ui-chat": "ui-chat";
6394
4495
  cli: "cli";
6395
4496
  "agent-cli": "agent-cli";
6396
4497
  mcp: "mcp";
6397
- service: "service";
6398
4498
  }>>;
6399
4499
  created_at: z.ZodString;
6400
4500
  updated_at: z.ZodString;
@@ -6419,8 +4519,8 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6419
4519
  request: z.ZodObject<{
6420
4520
  preparation: z.ZodString;
6421
4521
  mode: z.ZodDefault<z.ZodEnum<{
4522
+ "source-files": "source-files";
6422
4523
  compiled: "compiled";
6423
- raw: "raw";
6424
4524
  both: "both";
6425
4525
  }>>;
6426
4526
  }, z.core.$strict>;
@@ -6445,11 +4545,11 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6445
4545
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6446
4546
  client_origin: z.ZodDefault<z.ZodEnum<{
6447
4547
  unknown: "unknown";
4548
+ service: "service";
6448
4549
  "ui-chat": "ui-chat";
6449
4550
  cli: "cli";
6450
4551
  "agent-cli": "agent-cli";
6451
4552
  mcp: "mcp";
6452
- service: "service";
6453
4553
  }>>;
6454
4554
  created_at: z.ZodString;
6455
4555
  updated_at: z.ZodString;
@@ -6498,11 +4598,11 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6498
4598
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6499
4599
  client_origin: z.ZodDefault<z.ZodEnum<{
6500
4600
  unknown: "unknown";
4601
+ service: "service";
6501
4602
  "ui-chat": "ui-chat";
6502
4603
  cli: "cli";
6503
4604
  "agent-cli": "agent-cli";
6504
4605
  mcp: "mcp";
6505
- service: "service";
6506
4606
  }>>;
6507
4607
  created_at: z.ZodString;
6508
4608
  updated_at: z.ZodString;
@@ -6568,11 +4668,11 @@ export declare const ActionProposalListResponseSchema: z.ZodObject<{
6568
4668
  method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6569
4669
  client_origin: z.ZodDefault<z.ZodEnum<{
6570
4670
  unknown: "unknown";
4671
+ service: "service";
6571
4672
  "ui-chat": "ui-chat";
6572
4673
  cli: "cli";
6573
4674
  "agent-cli": "agent-cli";
6574
4675
  mcp: "mcp";
6575
- service: "service";
6576
4676
  }>>;
6577
4677
  created_at: z.ZodString;
6578
4678
  updated_at: z.ZodString;
@@ -6647,8 +4747,8 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6647
4747
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6648
4748
  compile: z.ZodNullable<z.ZodObject<{
6649
4749
  gate: z.ZodEnum<{
6650
- "preparation-config": "preparation-config";
6651
4750
  "portable-context": "portable-context";
4751
+ "preparation-config": "preparation-config";
6652
4752
  "compile-run": "compile-run";
6653
4753
  "readiness-checks": "readiness-checks";
6654
4754
  "source-baseline": "source-baseline";
@@ -6696,8 +4796,8 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6696
4796
  }, z.core.$strict>;
6697
4797
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6698
4798
  gate: z.ZodEnum<{
6699
- "preparation-config": "preparation-config";
6700
4799
  "portable-context": "portable-context";
4800
+ "preparation-config": "preparation-config";
6701
4801
  "compile-run": "compile-run";
6702
4802
  "readiness-checks": "readiness-checks";
6703
4803
  "source-baseline": "source-baseline";
@@ -6728,11 +4828,11 @@ export declare const PortableContextListResponseSchema: z.ZodObject<{
6728
4828
  artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
6729
4829
  path: z.ZodString;
6730
4830
  role: z.ZodEnum<{
6731
- output: "output";
6732
4831
  runtime: "runtime";
4832
+ output: "output";
6733
4833
  source: "source";
6734
- test: "test";
6735
4834
  proof: "proof";
4835
+ test: "test";
6736
4836
  }>;
6737
4837
  stage_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6738
4838
  label: z.ZodOptional<z.ZodString>;
@@ -6764,8 +4864,8 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
6764
4864
  latest_test_run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6765
4865
  compile: z.ZodNullable<z.ZodObject<{
6766
4866
  gate: z.ZodEnum<{
6767
- "preparation-config": "preparation-config";
6768
4867
  "portable-context": "portable-context";
4868
+ "preparation-config": "preparation-config";
6769
4869
  "compile-run": "compile-run";
6770
4870
  "readiness-checks": "readiness-checks";
6771
4871
  "source-baseline": "source-baseline";
@@ -6813,8 +4913,8 @@ export declare const ReadinessListResponseSchema: z.ZodObject<{
6813
4913
  }, z.core.$strict>;
6814
4914
  checks: z.ZodDefault<z.ZodArray<z.ZodObject<{
6815
4915
  gate: z.ZodEnum<{
6816
- "preparation-config": "preparation-config";
6817
4916
  "portable-context": "portable-context";
4917
+ "preparation-config": "preparation-config";
6818
4918
  "compile-run": "compile-run";
6819
4919
  "readiness-checks": "readiness-checks";
6820
4920
  "source-baseline": "source-baseline";
@@ -6862,7 +4962,7 @@ export type LocalServiceConfig = z.infer<typeof LocalServiceConfigSchema>;
6862
4962
  export type LocalServiceError = z.infer<typeof LocalServiceErrorSchema>;
6863
4963
  export type LocalServiceHealth = z.infer<typeof LocalServiceHealthSchema>;
6864
4964
  export type LocalServicePointer = z.infer<typeof LocalServicePointerSchema>;
6865
- export type PreparationReadinessState = z.infer<typeof PreparationReadinessStateSchema>;
4965
+ export type LocalServiceAuthToken = z.infer<typeof LocalServiceAuthTokenSchema>;
6866
4966
  export type PortableContextMapping = z.infer<typeof PortableContextMappingSchema>;
6867
4967
  export type PreparationRunLinkage = z.infer<typeof PreparationRunLinkageSchema>;
6868
4968
  export type PreparationResource = z.infer<typeof PreparationResourceSchema>;
@@ -6882,6 +4982,8 @@ export type LocalJobEvent = z.infer<typeof LocalJobEventSchema>;
6882
4982
  export type LocalJobRunCreateRequest = z.infer<typeof LocalJobRunCreateRequestSchema>;
6883
4983
  export type PreparationSetupCreateRequest = z.infer<typeof PreparationSetupCreateRequestSchema>;
6884
4984
  export type PreparationSetupResult = z.infer<typeof PreparationSetupResultSchema>;
4985
+ export type WorkspaceBootstrapCreateRequest = z.infer<typeof WorkspaceBootstrapCreateRequestSchema>;
4986
+ export type WorkspaceBootstrapResult = z.infer<typeof WorkspaceBootstrapResultSchema>;
6885
4987
  export type MethodChangeCreateRequest = z.infer<typeof MethodChangeCreateRequestSchema>;
6886
4988
  export type MethodChangeResult = z.infer<typeof MethodChangeResultSchema>;
6887
4989
  export type PreparationChangeCreateRequest = z.infer<typeof PreparationChangeCreateRequestSchema>;
@@ -6913,7 +5015,6 @@ export type ReadinessResource = z.infer<typeof ReadinessResourceSchema>;
6913
5015
  export type OpenPathRequest = z.infer<typeof OpenPathRequestSchema>;
6914
5016
  export type OpenPathResponse = z.infer<typeof OpenPathResponseSchema>;
6915
5017
  export type LocalServiceDiscovery = z.infer<typeof LocalServiceDiscoverySchema>;
6916
- export type LocalServiceResource = z.infer<typeof LocalServiceResourceSchema>;
6917
5018
  export type PreparationListResponse = z.infer<typeof PreparationListResponseSchema>;
6918
5019
  export type MethodListResponse = z.infer<typeof MethodListResponseSchema>;
6919
5020
  export type CompileRunListResponse = z.infer<typeof CompileRunListResponseSchema>;
@@ -6925,3 +5026,10 @@ export type PortableContextListResponse = z.infer<typeof PortableContextListResp
6925
5026
  export type ReadinessListResponse = z.infer<typeof ReadinessListResponseSchema>;
6926
5027
  export type SourceFileListResponse = z.infer<typeof SourceFileListResponseSchema>;
6927
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>;