@makaio/framework 1.0.0-dev-1784889676396 → 1.0.0-dev-1785344643235

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 (473) hide show
  1. package/dist/.makaio-build.json +3 -2
  2. package/dist/{account-identity-CP4DC0DL.mjs → account-identity-DFx8pwKL.mjs} +1 -1
  3. package/dist/{adapter-CYobxqN_.mjs → adapter-D5c5LrPN.mjs} +1 -1
  4. package/dist/adapters/claude/index.d.mts +204 -27
  5. package/dist/adapters/claude/index.mjs +3 -3
  6. package/dist/adapters/config/index.d.mts +2 -2
  7. package/dist/adapters/config/index.mjs +1 -1
  8. package/dist/adapters/index.d.mts +49 -4
  9. package/dist/adapters/index.mjs +3 -3
  10. package/dist/adapters/node.d.mts +1 -1
  11. package/dist/adapters/node.mjs +1 -1
  12. package/dist/{artifact-DCkizHkS.mjs → artifact-DGiXqb11.mjs} +1 -1
  13. package/dist/attempt-record-codec-CqO1_XnE.mjs +1 -0
  14. package/dist/{auth-C3NOWqTU.mjs → auth-DGEdiHF6.mjs} +1 -1
  15. package/dist/authority-state-bootstrap-GPL_tqaT.mjs +1 -0
  16. package/dist/bus/index.mjs +1 -1
  17. package/dist/{canonical-model-EMRYCVjX.mjs → canonical-model-BAytQ4NV.mjs} +1 -1
  18. package/dist/capabilities-BQEp34ir.mjs +1 -0
  19. package/dist/{client-OYk0Ttck.mjs → client-DbS847wW.mjs} +1 -1
  20. package/dist/clients/index.d.mts +5 -3
  21. package/dist/clients/index.mjs +1 -1
  22. package/dist/clients/managed-install.d.mts +1 -1
  23. package/dist/clients/managed-install.mjs +1 -1
  24. package/dist/{compression-CZ_6fYq8.mjs → compression-74fFeBha.mjs} +1 -1
  25. package/dist/{config-namespace-DTA6EQL8.mjs → config-namespace-TVX-hG4I.mjs} +1 -1
  26. package/dist/{context-resolution-B9ANWbG0.d.mts → context-resolution-BQBk4Ish.d.mts} +6 -4
  27. package/dist/contracts/adapter/index.d.mts +2 -2
  28. package/dist/contracts/adapter/index.mjs +1 -1
  29. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  30. package/dist/contracts/artifact/index.d.mts +2 -2
  31. package/dist/contracts/artifact/index.mjs +1 -1
  32. package/dist/contracts/auth/index.d.mts +2 -2
  33. package/dist/contracts/auth/index.mjs +1 -1
  34. package/dist/contracts/canonical-model/index.d.mts +1 -1
  35. package/dist/contracts/canonical-model/index.mjs +1 -1
  36. package/dist/contracts/capabilities/index.d.mts +2 -0
  37. package/dist/contracts/capabilities/index.mjs +1 -0
  38. package/dist/contracts/client/index.d.mts +2 -2
  39. package/dist/contracts/client/index.mjs +1 -1
  40. package/dist/contracts/common/index.d.mts +1 -1
  41. package/dist/contracts/config/index.d.mts +24 -2
  42. package/dist/contracts/config/index.mjs +1 -1
  43. package/dist/contracts/extension/index.d.mts +4 -4
  44. package/dist/contracts/extension/index.mjs +1 -1
  45. package/dist/contracts/facet/index.d.mts +1 -1
  46. package/dist/contracts/facet/index.mjs +1 -1
  47. package/dist/contracts/harness/index.d.mts +1 -1
  48. package/dist/contracts/harness/index.mjs +1 -1
  49. package/dist/contracts/host/index.d.mts +1 -1
  50. package/dist/contracts/host/index.mjs +1 -1
  51. package/dist/contracts/index.d.mts +1682 -9431
  52. package/dist/contracts/index.mjs +1 -1
  53. package/dist/contracts/materialization/index.d.mts +3 -3
  54. package/dist/contracts/materialization/index.mjs +1 -1
  55. package/dist/contracts/model-registry/index.d.mts +1 -1
  56. package/dist/contracts/model-registry/index.mjs +1 -1
  57. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  58. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  59. package/dist/contracts/platform/index.d.mts +1 -1
  60. package/dist/contracts/platform/index.mjs +1 -1
  61. package/dist/contracts/provider/index.d.mts +2 -2
  62. package/dist/contracts/provider/index.mjs +1 -1
  63. package/dist/contracts/session/index.d.mts +2 -2
  64. package/dist/contracts/session/index.mjs +1 -1
  65. package/dist/contracts/shared/index.d.mts +2 -2
  66. package/dist/contracts/shared/index.mjs +1 -1
  67. package/dist/contracts/skill/index.d.mts +1 -1
  68. package/dist/contracts/skill/index.mjs +1 -1
  69. package/dist/contracts/telemetry/index.d.mts +1 -1
  70. package/dist/contracts/telemetry/index.mjs +1 -1
  71. package/dist/contracts/timeout/index.d.mts +1 -1
  72. package/dist/contracts/timeout/index.mjs +1 -1
  73. package/dist/contracts/toast/index.mjs +1 -1
  74. package/dist/contracts/variant/index.d.mts +1 -1
  75. package/dist/contracts/variant/index.mjs +1 -1
  76. package/dist/contracts/worker-node/index.d.mts +2 -0
  77. package/dist/contracts/worker-node/index.mjs +1 -0
  78. package/dist/contracts/workflow/index.d.mts +3 -3
  79. package/dist/contracts/workflow/index.mjs +1 -1
  80. package/dist/{definition-K3m51lgO.mjs → definition-CJfiv8xm.mjs} +1 -1
  81. package/dist/{detached-extension-handle-BsywhHfk.mjs → detached-extension-handle-Ddfquy5_.mjs} +1 -1
  82. package/dist/drizzle/0030_remote-worker-execution.sql +6 -0
  83. package/dist/drizzle/meta/_journal.json +7 -0
  84. package/dist/execution-attempt-repository-DWXKY41_.d.mts +1056 -0
  85. package/dist/execution-target-Cf645pDj.mjs +1 -0
  86. package/dist/{extension-Cgg45Xk1.mjs → extension-DCA4pYrY.mjs} +1 -1
  87. package/dist/extension-hjOPs10e.mjs +1 -0
  88. package/dist/{filesystem-service-Cupz_Z7S.mjs → filesystem-service-DlP2HfDg.mjs} +1 -1
  89. package/dist/framework-packages-C3RWfJDk.mjs +1 -0
  90. package/dist/git/index.mjs +1 -1
  91. package/dist/{globby-DWp7V-P2.mjs → globby-1yCVCk8s.mjs} +1 -1
  92. package/dist/{handlers-cMBmexF4.mjs → handlers-CfnLyLfE.mjs} +1 -1
  93. package/dist/{harness-DflvHAGV.mjs → harness-DpwsFsE7.mjs} +1 -1
  94. package/dist/{index-BhXCCgJV2.d.mts → index-4fE_hUP02.d.mts} +1 -1
  95. package/dist/{index-BMx59xb7.d.mts → index-8gKx-OVP.d.mts} +13 -7
  96. package/dist/index-B0Kf_OWi.d.mts +267 -0
  97. package/dist/{index-DRiTICBU.d.mts → index-BAXkicoQ.d.mts} +1 -1
  98. package/dist/{index-CnXXq6sW.d.mts → index-BC79QrGC.d.mts} +10 -10
  99. package/dist/{index-CvmWRumB.d.mts → index-BQLUVXIB.d.mts} +1024 -888
  100. package/dist/{index-CKO9S6oo.d.mts → index-BXD3kEs_.d.mts} +28 -10
  101. package/dist/{index-DUf47Jn_.d.mts → index-BskPjMet.d.mts} +8 -8
  102. package/dist/{index-CjyfQ_vQ.d.mts → index-CL-0NeQW.d.mts} +8 -5
  103. package/dist/{index-Cw7_69gV.d.mts → index-CRvpVIqA.d.mts} +1 -1
  104. package/dist/{index-7FjcxGlK.d.mts → index-CUvNKYkV.d.mts} +1 -1
  105. package/dist/{index-CtUTCAJ6.d.mts → index-CVaRZoiu.d.mts} +4 -4
  106. package/dist/{index-Cw84_Dqi.d.mts → index-CnMu8BQl.d.mts} +4 -4
  107. package/dist/{index-DaMfTvfz.d.mts → index-DA9g2A5P.d.mts} +1 -1
  108. package/dist/{index-Bi5jFT9S.d.mts → index-DJAmSnuh.d.mts} +12 -12
  109. package/dist/{index-pjATMrvJ.d.mts → index-DkiTJM5p.d.mts} +693 -31
  110. package/dist/{index-jbgHR5J2.d.mts → index-GHASUiem.d.mts} +1 -1
  111. package/dist/{index-BDDbcWNI.d.mts → index-HsTxm-R3.d.mts} +3 -3
  112. package/dist/{index-Bs3CXR232.d.mts → index-I5YG-qrb2.d.mts} +6 -6
  113. package/dist/{index-0Ju2i8gV.d.mts → index-SsBHjUqA.d.mts} +204 -165
  114. package/dist/index-XZyMxxnU.d.mts +1602 -0
  115. package/dist/{index-dkvGHN10.d.mts → index-brqfk9JQ.d.mts} +6 -6
  116. package/dist/{index-D43lQCHs.d.mts → index-q0Tiqems.d.mts} +131 -131
  117. package/dist/index-w_FmghjT.d.mts +7295 -0
  118. package/dist/kernel/cli/index.d.mts +2 -2
  119. package/dist/kernel/cli/index.mjs +1 -1
  120. package/dist/kernel/cli/register.d.mts +1 -1
  121. package/dist/kernel/cli/register.mjs +1 -1
  122. package/dist/kernel/cli/schemas.mjs +1 -1
  123. package/dist/kernel/extension/index.d.mts +1 -1
  124. package/dist/kernel/extension/index.mjs +1 -1
  125. package/dist/kernel/index.d.mts +14 -8
  126. package/dist/kernel/index.mjs +1 -1
  127. package/dist/kernel/namespace/index.d.mts +1 -1
  128. package/dist/kernel/namespace/index.mjs +1 -1
  129. package/dist/kernel/observability/index.d.mts +1 -1
  130. package/dist/kernel/observability/index.mjs +1 -1
  131. package/dist/kernel/providers/index.d.mts +1 -1
  132. package/dist/kernel/providers/index.mjs +1 -1
  133. package/dist/kernel/window/index.d.mts +1 -1
  134. package/dist/kernel/window/index.mjs +1 -1
  135. package/dist/{lib-BeMM738r.mjs → lib-C7-s68uf.mjs} +1 -1
  136. package/dist/{lib-B7TpTzkG.mjs → lib-DErgth_E.mjs} +2 -2
  137. package/dist/{load-extensions-BLdG90Zi.d.mts → load-extensions-BxsDB87B.d.mts} +1 -1
  138. package/dist/{load-extensions-CUmFCcYi.mjs → load-extensions-D0DfjYLC.mjs} +1 -1
  139. package/dist/{materialization-s8eR1eQ4.mjs → materialization-Jd198K3y.mjs} +1 -1
  140. package/dist/mcp-http-server/index.d.mts +305 -79
  141. package/dist/mcp-http-server/index.mjs +4 -4
  142. package/dist/model-BGgVmRnN.mjs +1 -0
  143. package/dist/modes-BheyN7SS.mjs +1 -0
  144. package/dist/{namespace-DwQtzlY-.mjs → namespace-BqxtpNAn.mjs} +1 -1
  145. package/dist/{namespace-BHliaabz.d.mts → namespace-DBm9K23m.d.mts} +6 -6
  146. package/dist/{namespace-zOfq1Uhn.d.mts → namespace-DI4Yx_xu.d.mts} +27 -27
  147. package/dist/namespace-DJfUADSV.mjs +1 -0
  148. package/dist/{namespace-BphMM6S82.d.mts → namespace-DPgxPa8m2.d.mts} +1 -1
  149. package/dist/{namespace-Bd49QmzS.d.mts → namespace-DWCEo-9M.d.mts} +0 -60
  150. package/dist/{namespace-CriPb5wY.d.mts → namespace-jPUGV-b2.d.mts} +42 -42
  151. package/dist/{native-session-supervisor-Bgz-Q1WH.mjs → native-session-supervisor-DRx0MX-d.mjs} +1 -1
  152. package/dist/node/bus-server/index.d.mts +1 -1
  153. package/dist/node/bus-server/index.mjs +1 -1
  154. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  155. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  156. package/dist/node/transports/index.d.mts +81 -9
  157. package/dist/node/transports/index.mjs +2 -2
  158. package/dist/{orchestrator-shared-CY7Tu7kZ.mjs → orchestrator-shared-BxmHCPvx.mjs} +1 -1
  159. package/dist/package-CNUPPcU1.mjs +7 -0
  160. package/dist/package-DWMxGfzK.d.mts +827 -0
  161. package/dist/{package-DKnzOvoR.mjs → package-Dft_RItb.mjs} +1 -1
  162. package/dist/package.json +1 -1
  163. package/dist/{packages-zDnokBpl.mjs → packages-DtEEP0Vt.mjs} +1 -1
  164. package/dist/{profile-BRi6K6am.mjs → profile-BTAI31Nt.mjs} +1 -1
  165. package/dist/{provider-context-DOsjOjiR.mjs → provider-context-Dq53Cgzz.mjs} +1 -1
  166. package/dist/{provider-context-BYkMl--1.mjs → provider-context-PZIQWcqQ.mjs} +1 -1
  167. package/dist/provider-operation-Cxoe2SUr.d.mts +207 -0
  168. package/dist/providers/index.mjs +1 -1
  169. package/dist/{registry-Dw6l7k3e.mjs → registry-wfF2uTty.mjs} +29 -29
  170. package/dist/{resolved-O2XXjTeu.mjs → resolved-DZgqql2Z.mjs} +1 -1
  171. package/dist/rules/index.d.mts +1 -1
  172. package/dist/rules/index.mjs +1 -1
  173. package/dist/rules/schemas.d.mts +1 -1
  174. package/dist/runtime-bun/index.mjs +1 -1
  175. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  176. package/dist/runtime-node/extension-validation.d.mts +1 -1
  177. package/dist/runtime-node/extension-validation.mjs +1 -1
  178. package/dist/runtime-node/index.d.mts +4 -4
  179. package/dist/runtime-node/index.mjs +24 -24
  180. package/dist/runtime-node/makaio-config.d.mts +1 -1
  181. package/dist/runtime-node/makaio-config.mjs +1 -1
  182. package/dist/runtime-node/static/model-registry.yaml +348 -0
  183. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  184. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  185. package/dist/runtime-node/workflow-worker/worker-entry.d.mts +7 -4
  186. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  187. package/dist/{schema-BO9TgmOs.d.mts → schema-Bwr_NrOS.d.mts} +2 -2
  188. package/dist/{schema-BI0aCHvV.mjs → schema-Dd-e89MO.mjs} +1 -1
  189. package/dist/{schemas-B5tMYfhC.d.mts → schemas-C4yUXs4G.d.mts} +4 -4
  190. package/dist/schemas-CRB2O5zo.mjs +1 -0
  191. package/dist/{schemas-Dgj3WaOI.mjs → schemas-Cm09dXL4.mjs} +1 -1
  192. package/dist/{schemas-BJ8VMXhO.mjs → schemas-DaHQzpgm.mjs} +1 -1
  193. package/dist/{schemas-BDC2Nqj1.d.mts → schemas-ENwK6jmV.d.mts} +14 -14
  194. package/dist/{schemas-ChF2z4RB.d.mts → schemas-N6x2z7Lf.d.mts} +0 -45
  195. package/dist/schemas-tDf_WiC8.mjs +1 -0
  196. package/dist/selection-BNwTKEVT.mjs +1 -0
  197. package/dist/service-base/index.d.mts +47 -2
  198. package/dist/service-base/index.mjs +1 -1
  199. package/dist/services/adapter-runtime/index.d.mts +3 -3
  200. package/dist/services/adapter-runtime/index.mjs +1 -1
  201. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  202. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  203. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  204. package/dist/services/adapter-subsystem/index.mjs +1 -1
  205. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  206. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  207. package/dist/services/agent-runtime/index.d.mts +2 -2
  208. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  209. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  210. package/dist/services/capability/index.d.mts +1 -1
  211. package/dist/services/capability/index.mjs +1 -1
  212. package/dist/services/codebase/index.d.mts +2 -2
  213. package/dist/services/codebase/namespace.d.mts +1 -1
  214. package/dist/services/codebase/schemas.d.mts +1 -1
  215. package/dist/services/compression/index.d.mts +2 -2
  216. package/dist/services/compression/namespace.d.mts +1 -1
  217. package/dist/services/compression/schemas.d.mts +1 -1
  218. package/dist/services/context-rules/index.d.mts +7 -7
  219. package/dist/services/context-rules/index.mjs +1 -1
  220. package/dist/services/execution-target/index.d.mts +4 -4
  221. package/dist/services/execution-target/index.mjs +1 -1
  222. package/dist/services/execution-target/namespace.d.mts +1 -1
  223. package/dist/services/execution-target/namespace.mjs +1 -1
  224. package/dist/services/execution-target/schemas.d.mts +1 -1
  225. package/dist/services/execution-target/schemas.mjs +1 -1
  226. package/dist/services/filesystem/index.d.mts +1 -1
  227. package/dist/services/filesystem/index.mjs +1 -1
  228. package/dist/services/git/namespace.d.mts +2 -2
  229. package/dist/services/git/namespace.mjs +1 -1
  230. package/dist/services/git/schemas.d.mts +2 -2
  231. package/dist/services/git/schemas.mjs +1 -1
  232. package/dist/services/harness/index.d.mts +3 -3
  233. package/dist/services/harness/index.mjs +1 -1
  234. package/dist/services/index.d.mts +86 -371
  235. package/dist/services/index.mjs +1 -1
  236. package/dist/services/log-import/browser.d.mts +2 -2
  237. package/dist/services/log-import/index.d.mts +2 -2
  238. package/dist/services/log-import/log-import.d.mts +1 -1
  239. package/dist/services/log-import/log-import.mjs +1 -1
  240. package/dist/services/log-import/namespace.d.mts +2 -2
  241. package/dist/services/log-import/namespace.mjs +1 -1
  242. package/dist/services/log-import/schemas.d.mts +1 -1
  243. package/dist/services/log-import/schemas.mjs +1 -1
  244. package/dist/services/materialization/index.d.mts +1 -1
  245. package/dist/services/materialization/index.mjs +1 -1
  246. package/dist/services/model-registry/index.d.mts +1 -1
  247. package/dist/services/model-registry/index.mjs +1 -1
  248. package/dist/services/preferences/index.d.mts +2 -2
  249. package/dist/services/preferences/schemas.d.mts +1 -1
  250. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  251. package/dist/services/provider-context/index.d.mts +1 -1
  252. package/dist/services/provider-context/index.mjs +1 -1
  253. package/dist/services/provider-runtime/index.mjs +1 -1
  254. package/dist/services/session/handlers/index.d.mts +1 -1
  255. package/dist/services/session/handlers/index.mjs +1 -1
  256. package/dist/services/session/index.d.mts +9 -9
  257. package/dist/services/session/index.mjs +1 -1
  258. package/dist/services/session/messages/namespace.d.mts +1 -1
  259. package/dist/services/session/messages/namespace.mjs +1 -1
  260. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  261. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  262. package/dist/services/session/session-events/namespace.d.mts +1 -1
  263. package/dist/services/session/session-events/namespace.mjs +1 -1
  264. package/dist/services/session/storage/namespace.d.mts +1 -1
  265. package/dist/services/session/storage/schema.d.mts +1 -1
  266. package/dist/services/session/testing/index.mjs +1 -1
  267. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  268. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  269. package/dist/services/session/turns/namespace.d.mts +1 -1
  270. package/dist/services/session/turns/namespace.mjs +1 -1
  271. package/dist/services/session-editor/index.d.mts +1 -1
  272. package/dist/services/session-editor/index.mjs +1 -1
  273. package/dist/services/settings/index.d.mts +3 -3
  274. package/dist/services/settings/index.mjs +1 -1
  275. package/dist/services/settings/namespace.d.mts +14 -14
  276. package/dist/services/settings/namespace.mjs +1 -1
  277. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  278. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  279. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  280. package/dist/services/settings/storage/index.d.mts +3 -3
  281. package/dist/services/settings/storage/index.mjs +1 -1
  282. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  283. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  284. package/dist/services/subagent/index.d.mts +1 -1
  285. package/dist/services/subagent/index.mjs +1 -1
  286. package/dist/services/subagent-template/index.d.mts +2 -2
  287. package/dist/services/subagent-template/namespace.d.mts +1 -1
  288. package/dist/services/subagent-template/schemas.d.mts +1 -1
  289. package/dist/services/tool-approval/index.d.mts +1 -1
  290. package/dist/services/tool-approval/index.mjs +1 -1
  291. package/dist/services/tools/index.d.mts +1 -1
  292. package/dist/services/tools/index.mjs +1 -1
  293. package/dist/services/tray-menu/index.d.mts +3 -3
  294. package/dist/services/tray-menu/index.mjs +1 -1
  295. package/dist/services/tray-menu/namespace.d.mts +1 -1
  296. package/dist/services/tray-menu/schemas.d.mts +1 -1
  297. package/dist/services/turn/index.d.mts +1 -1
  298. package/dist/services/turn/namespace.d.mts +1 -1
  299. package/dist/services/workflow-transitions/index.d.mts +2 -0
  300. package/dist/services/workflow-transitions/index.mjs +1 -0
  301. package/dist/{session-Carng3Yk.mjs → session-BOGCd18q.mjs} +1 -1
  302. package/dist/{session-idI1jk5X.mjs → session-BTFiDoGz.mjs} +1 -1
  303. package/dist/{session-lineage-Cte63dGx.d.mts → session-lineage-B_JW5LpF.d.mts} +1 -1
  304. package/dist/{shared-RP_KARKF.mjs → shared-BQ0CHIVy.mjs} +1 -1
  305. package/dist/{skill-CpNjWFuE.mjs → skill-BR6rkfLe.mjs} +1 -1
  306. package/dist/{src-XihJcAQS.mjs → src-DD0v-nIj.mjs} +1 -1
  307. package/dist/storage/drizzle/client.d.mts +1 -1
  308. package/dist/storage/drizzle/client.mjs +1 -1
  309. package/dist/storage/drizzle/index.d.mts +50 -2
  310. package/dist/storage/drizzle/index.mjs +1 -1
  311. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  312. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  313. package/dist/storage/handlers/index.d.mts +1 -1
  314. package/dist/storage/handlers/index.mjs +1 -1
  315. package/dist/testing/drizzle-harness.d.mts +44 -3
  316. package/dist/testing/drizzle-harness.mjs +1 -1
  317. package/dist/{tool-approval-service-fIZ9x0kL.mjs → tool-approval-service-kBA0fRzm.mjs} +1 -1
  318. package/dist/tools-PdG9fO1M.mjs +1 -0
  319. package/dist/{transition-BodgGLZx.d.mts → transition-DuVzKt8-.d.mts} +3 -42
  320. package/dist/{types-LspCUW09.d.mts → types-B1MNcwgH.d.mts} +1 -1
  321. package/dist/{types-Bzxo7ATi.d.mts → types-BqVAOzJP.d.mts} +48 -48
  322. package/dist/{types-DBb5jY4Z.d.mts → types-CJ_QZ1yW.d.mts} +47 -3
  323. package/dist/ui-kernel/index.d.mts +1 -1
  324. package/dist/ui-kernel/index.mjs +1 -1
  325. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  326. package/dist/utils/index.d.mts +18 -4
  327. package/dist/utils/index.mjs +1 -1
  328. package/dist/{version-BbWrAPld.mjs → version-CoCeMxDT.mjs} +1 -1
  329. package/dist/{view-builder-tU7iaxrk.d.mts → view-builder-CvoSL2oL.d.mts} +2 -1
  330. package/dist/visibility-qhGWmpSJ.mjs +1 -0
  331. package/dist/worker-node-Bl9_vqYi.mjs +1 -0
  332. package/dist/worker-node-DZTuT1DS.mjs +1 -0
  333. package/dist/workflow-BfDbgtIQ.mjs +1 -0
  334. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -0
  335. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -0
  336. package/dist/workflow-engine/index.d.mts +619 -685
  337. package/dist/workflow-engine/index.mjs +1 -1
  338. package/dist/workflow-engine/package.d.mts +1 -1
  339. package/dist/workflow-engine/package.mjs +1 -1
  340. package/dist/workflow-engine/provider-operation.d.mts +2 -0
  341. package/dist/workflow-engine/provider-operation.mjs +1 -0
  342. package/dist/workflow-engine/testing/index.d.mts +146 -0
  343. package/dist/workflow-engine/testing/index.mjs +1 -0
  344. package/dist/workflow-engine/testing/sqlite.d.mts +22 -0
  345. package/dist/workflow-engine/testing/sqlite.mjs +130 -0
  346. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  347. package/dist/workflow-transitions-DSc45ixc.mjs +1 -0
  348. package/dist/workflow-worker-BN9XPxQO.mjs +1 -0
  349. package/package.json +20 -3
  350. package/dist/authority-state-bootstrap-C_-F_dtq.mjs +0 -1
  351. package/dist/execution-target-CsZXIvli.mjs +0 -1
  352. package/dist/extension-CjTu6mzW.mjs +0 -1
  353. package/dist/model-uE5IyUFJ.mjs +0 -1
  354. package/dist/namespace-C05pkLbN.mjs +0 -1
  355. package/dist/package-BSG1681x.d.mts +0 -427
  356. package/dist/package-DW1Upu8E.mjs +0 -7
  357. package/dist/schemas-BRxU_oqL.mjs +0 -1
  358. package/dist/schemas-C-J4W1ID.mjs +0 -1
  359. package/dist/selection-YRuVSdck.mjs +0 -1
  360. package/dist/tools-Cs2DwjCC.mjs +0 -1
  361. package/dist/visibility-Cb62p9bv.mjs +0 -1
  362. package/dist/workflow-BX-FxDb0.mjs +0 -1
  363. package/dist/workflow-worker-DR9qYOFc.mjs +0 -1
  364. /package/dist/{adapter-auth-runtime-DFBLXD5K.mjs → adapter-auth-runtime-DO-FVTXg.mjs} +0 -0
  365. /package/dist/{adapter-binding-Dfk_g-lP.d.mts → adapter-binding-DQchUtrK.d.mts} +0 -0
  366. /package/dist/{ajv-C8r45sFs.mjs → ajv-DD3SIL2i.mjs} +0 -0
  367. /package/dist/{attach-error-DCnzW-Yz.mjs → attach-error-C3tngg6J.mjs} +0 -0
  368. /package/dist/{await-trigger-UceeyCyi.mjs → await-trigger-I3lrepb8.mjs} +0 -0
  369. /package/dist/{base-orchestrator-5yH3l39s.d.mts → base-orchestrator-BilsQNW1.d.mts} +0 -0
  370. /package/dist/{capability-service-BzKBK0n2.mjs → capability-service-BqiLlRGA.mjs} +0 -0
  371. /package/dist/{client-DYEHDiJN.d.mts → client-B--e2qcU.d.mts} +0 -0
  372. /package/dist/{client-binary-version-verifier-C12PvQmz.d.mts → client-binary-version-verifier-CgjM_vGF.d.mts} +0 -0
  373. /package/dist/{client-binary-version-verifier-Dv7TGFxh.mjs → client-binary-version-verifier-taewmKTY.mjs} +0 -0
  374. /package/dist/{clients-namespace-DcFmhtLv.d.mts → clients-namespace-DfxjG2ZP.d.mts} +0 -0
  375. /package/dist/{config-namespace-DmP7NVju.d.mts → config-namespace-BCqvufbD.d.mts} +0 -0
  376. /package/dist/{create-static-mount-BLbqGmva.mjs → create-static-mount-bbQhTt6W.mjs} +0 -0
  377. /package/dist/{cross-spawn-BXxQUsPS.mjs → cross-spawn-B57KZuns.mjs} +0 -0
  378. /package/dist/{cursor-storage-DCj4uUxr.mjs → cursor-storage-DIFK_9hg.mjs} +0 -0
  379. /package/dist/{definition-BEvV7tbD.d.mts → definition-gnKgXU91.d.mts} +0 -0
  380. /package/dist/{definitions-C1pgx0Nq.mjs → definitions-xrrY0wgz.mjs} +0 -0
  381. /package/dist/{descriptor-to-package-VfB8lK5w.mjs → descriptor-to-package-DvF08krT.mjs} +0 -0
  382. /package/dist/{drizzle-oCH9H53q.mjs → drizzle-z_0SiGY8.mjs} +0 -0
  383. /package/dist/{esm-ClQELElL.mjs → esm-CltRnX8_.mjs} +0 -0
  384. /package/dist/{event-BOLVCfhH.mjs → event-CmVjR6Ib.mjs} +0 -0
  385. /package/dist/{extension-discovery-B6p3iZaV.d.mts → extension-discovery-CQRdbVQ6.d.mts} +0 -0
  386. /package/dist/{extension-namespace-vrh4ERXR.mjs → extension-namespace-Yu41YepM.mjs} +0 -0
  387. /package/dist/{facet-DqPBpqkl.mjs → facet-BCI00njh.mjs} +0 -0
  388. /package/dist/{filesystem-service-CGdboor3.d.mts → filesystem-service-CQ9yVkSz.d.mts} +0 -0
  389. /package/dist/{handler-GGOD_ofd.mjs → handler-Cbv9FqDO.mjs} +0 -0
  390. /package/dist/{hook-responses-Dg8wDvRo.d.mts → hook-responses-Dh1PWXqJ.d.mts} +0 -0
  391. /package/dist/{host-BfgdjlII.mjs → host-Caq6ZfSJ.mjs} +0 -0
  392. /package/dist/{identity-BmEHHoBw.mjs → identity-D6guMtmi.mjs} +0 -0
  393. /package/dist/{index-DEchpaya.d.mts → index-BIdsFcQs2.d.mts} +0 -0
  394. /package/dist/{index-DquI_1X5.d.mts → index-BVRQEpAg.d.mts} +0 -0
  395. /package/dist/{index-Brdc35b-.d.mts → index-BaZeoZoS.d.mts} +0 -0
  396. /package/dist/{index-BSmwpgkR.d.mts → index-ByKi34v5.d.mts} +0 -0
  397. /package/dist/{index-oYGf2zIe.d.mts → index-CGZQVTid.d.mts} +0 -0
  398. /package/dist/{index-Chy9aknK.d.mts → index-CMJZ2Z8m.d.mts} +0 -0
  399. /package/dist/{index-Bd1GC1kU2.d.mts → index-CjdRdsd0.d.mts} +0 -0
  400. /package/dist/{index-DYUxNOIX.d.mts → index-Cv-o5Krs.d.mts} +0 -0
  401. /package/dist/{index-DC0yVsYL.d.mts → index-DN4NOCqN2.d.mts} +0 -0
  402. /package/dist/{index-CcsJnJOD.d.mts → index-DR40QWlw.d.mts} +0 -0
  403. /package/dist/{index-BG9-vQHD.d.mts → index-DZunhZec.d.mts} +0 -0
  404. /package/dist/{index-BsBvs0aK.d.mts → index-DjgLchuQ.d.mts} +0 -0
  405. /package/dist/{index-pgYFJ5h6.d.mts → index-Dm1nUxCF.d.mts} +0 -0
  406. /package/dist/{index-C96LlS5m.d.mts → index-Ds5_rDEJ.d.mts} +0 -0
  407. /package/dist/{index-GYZs75UP.d.mts → index-dtsLKOID.d.mts} +0 -0
  408. /package/dist/{index-8fJ6dkzR.d.mts → index-gUhidukN.d.mts} +0 -0
  409. /package/dist/{index-BgpYhR2z.d.mts → index-jTaAHsul.d.mts} +0 -0
  410. /package/dist/{index-Ci3_i-WC2.d.mts → index-sS6KUlrx.d.mts} +0 -0
  411. /package/dist/{index-CFeY8lfU.d.mts → index-vA--0lOM.d.mts} +0 -0
  412. /package/dist/{index-BUYyZm5I.d.mts → index-vcSj12YQ.d.mts} +0 -0
  413. /package/dist/{index-CdEhEXlY.d.mts → index-ye0oklfU.d.mts} +0 -0
  414. /package/dist/{json-value-BwVdTylT.d.mts → json-value-Brslhqbm.d.mts} +0 -0
  415. /package/dist/{jsonl-transport-D8RBF0dK.mjs → jsonl-transport-bQl3JwIu.mjs} +0 -0
  416. /package/dist/{lib-3_xcE8J-.mjs → lib-DOBXZmYX.mjs} +0 -0
  417. /package/dist/{model-registry-CoegIvks.mjs → model-registry-CmgcPDH3.mjs} +0 -0
  418. /package/dist/{model-registry-BneK5SGo.mjs → model-registry-xyBKSye-.mjs} +0 -0
  419. /package/dist/{namespace-CDO4rY11.mjs → namespace-B8uKAzWJ.mjs} +0 -0
  420. /package/dist/{namespace-BsF9IxJ9.d.mts → namespace-BOkKoq34.d.mts} +0 -0
  421. /package/dist/{namespace-SQAGytmu.d.mts → namespace-Blp4c8GK.d.mts} +0 -0
  422. /package/dist/{namespace-BeED_Ojz.mjs → namespace-C-9si-fV.mjs} +0 -0
  423. /package/dist/{namespace-De9Mg3zv.d.mts → namespace-CErHuXtb.d.mts} +0 -0
  424. /package/dist/{namespace-BHj13hbA.mjs → namespace-CWGKCNZm.mjs} +0 -0
  425. /package/dist/{namespace-D7pE2QWv.mjs → namespace-CWUDFGOy.mjs} +0 -0
  426. /package/dist/{namespace-D9HNjIdc.d.mts → namespace-Cv1RFP7n.d.mts} +0 -0
  427. /package/dist/{namespace-CI313bRv.d.mts → namespace-Dkod-w11.d.mts} +0 -0
  428. /package/dist/{namespace-lWlqWTKu.d.mts → namespace-GPA7zots.d.mts} +0 -0
  429. /package/dist/{namespace-DWwWnLBu.mjs → namespace-HO2J9sO8.mjs} +0 -0
  430. /package/dist/{namespace-C238RqwB.mjs → namespace-YxU1xf-K.mjs} +0 -0
  431. /package/dist/{namespace-BetqZA7Z.d.mts → namespace-YytVKIgI.d.mts} +0 -0
  432. /package/dist/{namespace-B9CYb9Gh.d.mts → namespace-jDhZjw-i.d.mts} +0 -0
  433. /package/dist/{namespace-BSXHdCVh2.d.mts → namespace-tGRAod3o.d.mts} +0 -0
  434. /package/dist/{orchestrator-shared-BB6j8ezL.d.mts → orchestrator-shared-BHCv-l2O.d.mts} +0 -0
  435. /package/dist/{out-CFkI17mk.mjs → out-CvjtANXN.mjs} +0 -0
  436. /package/dist/{packages-DeIgn0Hn.d.mts → packages-BZ6pzFIq.d.mts} +0 -0
  437. /package/dist/{platform-CWhGFQFX.mjs → platform-Bv8llU9c.mjs} +0 -0
  438. /package/dist/{providers-CUnrif24.mjs → providers-Co5UszRH.mjs} +0 -0
  439. /package/dist/{providers-namespace-sPbGcZ6I.d.mts → providers-namespace-DjFkmvBR.d.mts} +0 -0
  440. /package/dist/{quick-lru-CTBjxfgD.mjs → quick-lru-CrOpWwrf.mjs} +0 -0
  441. /package/dist/{schema-cus0dJ81.mjs → schema-Db-y-09L.mjs} +0 -0
  442. /package/dist/{schema-introspection-BsWLmoFp.mjs → schema-introspection-DgWQCpwx.mjs} +0 -0
  443. /package/dist/{schemas-DYvvMd3c.d.mts → schemas-B1NWNASS.d.mts} +0 -0
  444. /package/dist/{schemas-CMyv7l7-.mjs → schemas-BGExwp3j.mjs} +0 -0
  445. /package/dist/{schemas-Dmij0PIc.d.mts → schemas-BO7uOum6.d.mts} +0 -0
  446. /package/dist/{schemas-BGS9RfqV.mjs → schemas-Bfxskx_2.mjs} +0 -0
  447. /package/dist/{schemas-BKKpQC4X2.d.mts → schemas-BtZqovRH.d.mts} +0 -0
  448. /package/dist/{schemas-BAvt2HDy.d.mts → schemas-CQyRBqD6.d.mts} +0 -0
  449. /package/dist/{schemas-D55eXBgl.d.mts → schemas-CR8hSqTy.d.mts} +0 -0
  450. /package/dist/{schemas-CWxf_Yut.mjs → schemas-CqRm0i9a.mjs} +0 -0
  451. /package/dist/{schemas-CiWCNQ9a2.d.mts → schemas-CwbYk_kZ.d.mts} +0 -0
  452. /package/dist/{schemas-CbMWN9-z.d.mts → schemas-DuIlOWR3.d.mts} +0 -0
  453. /package/dist/{schemas-B4FyOOJj.d.mts → schemas-miYxK_Z1.d.mts} +0 -0
  454. /package/dist/{semver-D3Y7uMEb.mjs → semver-DlM8znk4.mjs} +0 -0
  455. /package/dist/{server-lifecycle-C-3OgoKi.d.mts → server-lifecycle-Dsq56aqC.d.mts} +0 -0
  456. /package/dist/{server-lifecycle-DV6NMsgH.mjs → server-lifecycle-kmQ5PUDv.mjs} +0 -0
  457. /package/dist/{shared-schemas-BNCPgGYP.mjs → shared-schemas-DXwyMCwZ.mjs} +0 -0
  458. /package/dist/{src-ftBp6GpR.mjs → src-CCu8TwL6.mjs} +0 -0
  459. /package/dist/{storage-namespace-B1GI4elv.mjs → storage-namespace-BSrv0vXR.mjs} +0 -0
  460. /package/dist/{storage-namespace-definition-V8sc3drq.d.mts → storage-namespace-definition-BvlX0QV_.d.mts} +0 -0
  461. /package/dist/{storage-namespace-definition-4UYuij1r.mjs → storage-namespace-definition-CkMKt7-I.mjs} +0 -0
  462. /package/dist/{storage-namespace-9N9R61pI.d.mts → storage-namespace-dfywhXR3.d.mts} +0 -0
  463. /package/dist/{supports-color-DwW9N6YC.mjs → supports-color-DUugCQsK.mjs} +0 -0
  464. /package/dist/{telemetry-B42EMbZt.mjs → telemetry-Pr3oP2rk.mjs} +0 -0
  465. /package/dist/{timeout-CvONPl0l.mjs → timeout-DWDhddRJ.mjs} +0 -0
  466. /package/dist/{tray-menu-service-Dgedanv-.mjs → tray-menu-service-BBLa-Rcv.mjs} +0 -0
  467. /package/dist/{types-DkFvBdIY.d.mts → types-BrcjaNPZ.d.mts} +0 -0
  468. /package/dist/{types-DVLq657Y.d.mts → types-DHmPneIO.d.mts} +0 -0
  469. /package/dist/{types-Bju4dmAg.d.mts → types-b54n1o57.d.mts} +0 -0
  470. /package/dist/{ui-config-B2L3Xgqo.mjs → ui-config-CyCdlns_.mjs} +0 -0
  471. /package/dist/{variant-ByI-RZua.mjs → variant-krjlTdJt.mjs} +0 -0
  472. /package/dist/{window-registry-Qcnvlhp7.d.mts → window-registry-BDnZLPVx.d.mts} +0 -0
  473. /package/dist/{window-registry-DsWnCc8z.mjs → window-registry-I-imZHV_.mjs} +0 -0
@@ -0,0 +1,1602 @@
1
+ import * as _$zod from "zod";
2
+ import { z } from "zod";
3
+ import * as _$_makaio_core0 from "@makaio/framework/core";
4
+ import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
5
+ import * as _$zod_v4_core0 from "zod/v4/core";
6
+
7
+ //#region core/contracts/src/worker-node/schemas.d.ts
8
+ /**
9
+ * Framework-level WorkerNode dispatch request.
10
+ *
11
+ * Pool selection and provider allocation remain caller-owned. This request is
12
+ * the generic bus seam used by workflow-level runners that need WorkerNode
13
+ * execution without importing a concrete pool service.
14
+ */
15
+ declare const WorkerNodeDispatchRequestSchema: z.ZodObject<{
16
+ executionAttemptId: z.ZodString;
17
+ config: z.ZodObject<{
18
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
19
+ kind: z.ZodLiteral<"path">;
20
+ path: z.ZodString;
21
+ }, z.core.$strict>, z.ZodObject<{
22
+ kind: z.ZodLiteral<"source">;
23
+ filename: z.ZodString;
24
+ source: z.ZodString;
25
+ }, z.core.$strict>, z.ZodObject<{
26
+ kind: z.ZodLiteral<"definition">;
27
+ workflowId: z.ZodString;
28
+ }, z.core.$strict>], "kind">;
29
+ definition: z.ZodOptional<z.ZodObject<{
30
+ id: z.ZodString;
31
+ name: z.ZodOptional<z.ZodString>;
32
+ description: z.ZodOptional<z.ZodString>;
33
+ inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
34
+ configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
35
+ outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
36
+ state: z.ZodOptional<z.ZodObject<{
37
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
38
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
39
+ }, z.core.$strip>>;
40
+ artifact: z.ZodOptional<z.ZodObject<{
41
+ kind: z.ZodString;
42
+ schemaVersion: z.ZodString;
43
+ scope: z.ZodObject<{
44
+ level: z.ZodString;
45
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
46
+ }, z.core.$strip>;
47
+ resolve: z.ZodOptional<z.ZodString>;
48
+ create: z.ZodOptional<z.ZodString>;
49
+ statusPath: z.ZodOptional<z.ZodString>;
50
+ }, z.core.$strip>>;
51
+ root: z.ZodObject<{
52
+ id: z.ZodString;
53
+ when: z.ZodOptional<z.ZodString>;
54
+ skip: z.ZodOptional<z.ZodString>;
55
+ writes: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
+ kind: z.ZodString;
57
+ schemaVersion: z.ZodString;
58
+ scope: z.ZodObject<{
59
+ level: z.ZodString;
60
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
61
+ }, z.core.$strip>;
62
+ dataExpression: z.ZodOptional<z.ZodString>;
63
+ }, z.core.$strip>>>;
64
+ type: z.ZodLiteral<"sequence">;
65
+ nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
66
+ }, z.core.$strip>;
67
+ triggers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
68
+ type: z.ZodLiteral<"manual">;
69
+ }, z.core.$strip>, z.ZodObject<{
70
+ type: z.ZodLiteral<"cron">;
71
+ schedule: z.ZodString;
72
+ timezone: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strip>, z.ZodObject<{
74
+ type: z.ZodLiteral<"webhook">;
75
+ event: z.ZodString;
76
+ branch: z.ZodOptional<z.ZodString>;
77
+ repo: z.ZodOptional<z.ZodString>;
78
+ }, z.core.$strip>, z.ZodObject<{
79
+ type: z.ZodLiteral<"extension">;
80
+ extensionType: z.ZodString;
81
+ config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
82
+ }, z.core.$strip>, z.ZodObject<{
83
+ type: z.ZodLiteral<"bus-event">;
84
+ subject: z.ZodString;
85
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
86
+ $in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
87
+ }, z.core.$strict>, z.ZodObject<{
88
+ $ne: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
89
+ }, z.core.$strict>, z.ZodObject<{
90
+ $exists: z.ZodBoolean;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ $startsWith: z.ZodString;
93
+ }, z.core.$strict>, z.ZodObject<{
94
+ $endsWith: z.ZodString;
95
+ }, z.core.$strict>]>>>;
96
+ filterExpression: z.ZodOptional<z.ZodString>;
97
+ }, z.core.$strip>], "type">>>;
98
+ scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
99
+ type: z.ZodLiteral<"global">;
100
+ }, z.core.$strict>, z.ZodObject<{
101
+ type: z.ZodLiteral<"workspace">;
102
+ id: z.ZodString;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ type: z.ZodLiteral<"session">;
105
+ id: z.ZodString;
106
+ }, z.core.$strict>, z.ZodObject<{
107
+ type: z.ZodLiteral<"external">;
108
+ kind: z.ZodString;
109
+ id: z.ZodString;
110
+ }, z.core.$strict>], "type">>;
111
+ canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
112
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
113
+ kind: z.ZodLiteral<"editor">;
114
+ }, z.core.$strict>, z.ZodObject<{
115
+ kind: z.ZodLiteral<"extension">;
116
+ extension: z.ZodString;
117
+ externalId: z.ZodOptional<z.ZodString>;
118
+ syncedAt: z.ZodOptional<z.ZodString>;
119
+ metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
120
+ }, z.core.$strict>], "kind">>;
121
+ executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
122
+ kind: z.ZodLiteral<"path">;
123
+ path: z.ZodString;
124
+ }, z.core.$strict>, z.ZodObject<{
125
+ kind: z.ZodLiteral<"source">;
126
+ filename: z.ZodString;
127
+ source: z.ZodString;
128
+ }, z.core.$strict>, z.ZodObject<{
129
+ kind: z.ZodLiteral<"definition">;
130
+ workflowId: z.ZodString;
131
+ }, z.core.$strict>], "kind">>;
132
+ requirements: z.ZodOptional<z.ZodObject<{
133
+ maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
134
+ persistentStorage: z.ZodOptional<z.ZodBoolean>;
135
+ customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
136
+ recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
137
+ materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
138
+ "local-directory": "local-directory";
139
+ "workspace-snapshot": "workspace-snapshot";
140
+ }>>>;
141
+ }, z.core.$strip>>;
142
+ successFinalizerId: z.ZodOptional<z.ZodString>;
143
+ }, z.core.$strip>>;
144
+ executionId: z.ZodString;
145
+ workflowId: z.ZodString;
146
+ triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
147
+ inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
148
+ config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
149
+ artifactRef: z.ZodOptional<z.ZodObject<{
150
+ kind: z.ZodString;
151
+ id: z.ZodString;
152
+ }, z.core.$strip>>;
153
+ scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
154
+ type: z.ZodLiteral<"global">;
155
+ }, z.core.$strict>, z.ZodObject<{
156
+ type: z.ZodLiteral<"workspace">;
157
+ id: z.ZodString;
158
+ }, z.core.$strict>, z.ZodObject<{
159
+ type: z.ZodLiteral<"session">;
160
+ id: z.ZodString;
161
+ }, z.core.$strict>, z.ZodObject<{
162
+ type: z.ZodLiteral<"external">;
163
+ kind: z.ZodString;
164
+ id: z.ZodString;
165
+ }, z.core.$strict>], "type">>;
166
+ busUrl: z.ZodOptional<z.ZodString>;
167
+ busAuth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
168
+ kind: z.ZodLiteral<"none">;
169
+ }, z.core.$strict>, z.ZodObject<{
170
+ kind: z.ZodLiteral<"hmac">;
171
+ secret: z.ZodString;
172
+ }, z.core.$strict>], "kind">>;
173
+ env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
174
+ coordinatorSessionId: z.ZodString;
175
+ cancelSubject: z.ZodString;
176
+ suspensionStrategy: z.ZodDefault<z.ZodEnum<{
177
+ "wait-in-process": "wait-in-process";
178
+ "exit-and-redispatch": "exit-and-redispatch";
179
+ "exit-and-resume": "exit-and-resume";
180
+ }>>;
181
+ terminalAuthority: z.ZodOptional<z.ZodEnum<{
182
+ worker: "worker";
183
+ authority: "authority";
184
+ }>>;
185
+ materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
186
+ kind: z.ZodLiteral<"local-directory">;
187
+ workspaceId: z.ZodString;
188
+ rootDigest: z.ZodString;
189
+ sourcePath: z.ZodString;
190
+ }, z.core.$strict>, z.ZodObject<{
191
+ kind: z.ZodLiteral<"workspace-snapshot">;
192
+ snapshotId: z.ZodString;
193
+ digest: z.ZodString;
194
+ sourcePath: z.ZodString;
195
+ }, z.core.$strict>], "kind">>;
196
+ }, z.core.$strip>;
197
+ manifest: z.ZodOptional<z.ZodObject<{
198
+ contributionRefs: z.ZodArray<z.ZodObject<{
199
+ packageName: z.ZodString;
200
+ version: z.ZodString;
201
+ entrypoint: z.ZodString;
202
+ integrity: z.ZodString;
203
+ }, z.core.$strict>>;
204
+ }, z.core.$strict>>;
205
+ requirements: z.ZodOptional<z.ZodObject<{
206
+ maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
207
+ persistentStorage: z.ZodOptional<z.ZodBoolean>;
208
+ customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
209
+ recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
210
+ materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
211
+ "local-directory": "local-directory";
212
+ "workspace-snapshot": "workspace-snapshot";
213
+ }>>>;
214
+ }, z.core.$strip>>;
215
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
216
+ }, z.core.$strip>;
217
+ /**
218
+ * Framework-level WorkerNode dispatch response.
219
+ *
220
+ * Returns an allocation acknowledgment after the provider has provisioned
221
+ * a resource and the allocation reference has been persisted. Callers
222
+ * that need the workflow result must await it through the Authority's
223
+ * in-process waiter (`waitForOutcome`).
224
+ */
225
+ declare const WorkerNodeDispatchResponseSchema: z.ZodObject<{
226
+ executionAttemptId: z.ZodString;
227
+ allocationRef: z.ZodObject<{
228
+ version: z.ZodLiteral<1>;
229
+ providerId: z.ZodString;
230
+ providerData: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
231
+ }, z.core.$strict>;
232
+ }, z.core.$strict>;
233
+ /**
234
+ * WorkerNode lifecycle bus schemas.
235
+ *
236
+ * All keys map to `worker-node.<key>` subjects on the bus. Each subject
237
+ * represents a discrete phase in the node lifecycle so listeners can react
238
+ * selectively without receiving unrelated payloads.
239
+ *
240
+ * Lifecycle states in order:
241
+ * - `lifecycle.provisioning` — dispatch has selected a provider; node allocation is in progress
242
+ * - `lifecycle.booting` — environment is initialising (importing packages, connecting to bus)
243
+ * - `lifecycle.ready` — node is connected and ready to accept work
244
+ * - `lifecycle.busy` — node has started executing the workflow
245
+ * - `lifecycle.completed` — execution finished successfully
246
+ * - `lifecycle.failed` — execution terminated with an error
247
+ * - `lifecycle.terminated` — node environment has been torn down
248
+ * - `lifecycle.paused` — node parked at a gate and exited for later resume
249
+ *
250
+ * Control subjects:
251
+ * - `control.attempt-ready` — worker reports readiness for its attempt
252
+ * - `control.outcome.submit` — worker submits an execution outcome for durable ACK
253
+ * - `control.bootstrap.claim`— worker claims execution-scoped bus credentials
254
+ */
255
+ declare const WorkerNodeSchemas: {
256
+ /**
257
+ * Dispatch a workflow execution to a WorkerNode dispatcher.
258
+ *
259
+ * Subject: `worker-node.dispatch`
260
+ * Type: Request (RPC)
261
+ */
262
+ dispatch: {
263
+ request: z.ZodObject<{
264
+ executionAttemptId: z.ZodString;
265
+ config: z.ZodObject<{
266
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
267
+ kind: z.ZodLiteral<"path">;
268
+ path: z.ZodString;
269
+ }, z.core.$strict>, z.ZodObject<{
270
+ kind: z.ZodLiteral<"source">;
271
+ filename: z.ZodString;
272
+ source: z.ZodString;
273
+ }, z.core.$strict>, z.ZodObject<{
274
+ kind: z.ZodLiteral<"definition">;
275
+ workflowId: z.ZodString;
276
+ }, z.core.$strict>], "kind">;
277
+ definition: z.ZodOptional<z.ZodObject<{
278
+ id: z.ZodString;
279
+ name: z.ZodOptional<z.ZodString>;
280
+ description: z.ZodOptional<z.ZodString>;
281
+ inputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
282
+ configSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
283
+ outputSchema: z.ZodOptional<z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
284
+ state: z.ZodOptional<z.ZodObject<{
285
+ schema: z.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, z.core.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
286
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
287
+ }, z.core.$strip>>;
288
+ artifact: z.ZodOptional<z.ZodObject<{
289
+ kind: z.ZodString;
290
+ schemaVersion: z.ZodString;
291
+ scope: z.ZodObject<{
292
+ level: z.ZodString;
293
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
294
+ }, z.core.$strip>;
295
+ resolve: z.ZodOptional<z.ZodString>;
296
+ create: z.ZodOptional<z.ZodString>;
297
+ statusPath: z.ZodOptional<z.ZodString>;
298
+ }, z.core.$strip>>;
299
+ root: z.ZodObject<{
300
+ id: z.ZodString;
301
+ when: z.ZodOptional<z.ZodString>;
302
+ skip: z.ZodOptional<z.ZodString>;
303
+ writes: z.ZodOptional<z.ZodArray<z.ZodObject<{
304
+ kind: z.ZodString;
305
+ schemaVersion: z.ZodString;
306
+ scope: z.ZodObject<{
307
+ level: z.ZodString;
308
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
309
+ }, z.core.$strip>;
310
+ dataExpression: z.ZodOptional<z.ZodString>;
311
+ }, z.core.$strip>>>;
312
+ type: z.ZodLiteral<"sequence">;
313
+ nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
314
+ }, z.core.$strip>;
315
+ triggers: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
316
+ type: z.ZodLiteral<"manual">;
317
+ }, z.core.$strip>, z.ZodObject<{
318
+ type: z.ZodLiteral<"cron">;
319
+ schedule: z.ZodString;
320
+ timezone: z.ZodOptional<z.ZodString>;
321
+ }, z.core.$strip>, z.ZodObject<{
322
+ type: z.ZodLiteral<"webhook">;
323
+ event: z.ZodString;
324
+ branch: z.ZodOptional<z.ZodString>;
325
+ repo: z.ZodOptional<z.ZodString>;
326
+ }, z.core.$strip>, z.ZodObject<{
327
+ type: z.ZodLiteral<"extension">;
328
+ extensionType: z.ZodString;
329
+ config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
330
+ }, z.core.$strip>, z.ZodObject<{
331
+ type: z.ZodLiteral<"bus-event">;
332
+ subject: z.ZodString;
333
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
334
+ $in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
335
+ }, z.core.$strict>, z.ZodObject<{
336
+ $ne: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
337
+ }, z.core.$strict>, z.ZodObject<{
338
+ $exists: z.ZodBoolean;
339
+ }, z.core.$strict>, z.ZodObject<{
340
+ $startsWith: z.ZodString;
341
+ }, z.core.$strict>, z.ZodObject<{
342
+ $endsWith: z.ZodString;
343
+ }, z.core.$strict>]>>>;
344
+ filterExpression: z.ZodOptional<z.ZodString>;
345
+ }, z.core.$strip>], "type">>>;
346
+ scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
347
+ type: z.ZodLiteral<"global">;
348
+ }, z.core.$strict>, z.ZodObject<{
349
+ type: z.ZodLiteral<"workspace">;
350
+ id: z.ZodString;
351
+ }, z.core.$strict>, z.ZodObject<{
352
+ type: z.ZodLiteral<"session">;
353
+ id: z.ZodString;
354
+ }, z.core.$strict>, z.ZodObject<{
355
+ type: z.ZodLiteral<"external">;
356
+ kind: z.ZodString;
357
+ id: z.ZodString;
358
+ }, z.core.$strict>], "type">>;
359
+ canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
360
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
361
+ kind: z.ZodLiteral<"editor">;
362
+ }, z.core.$strict>, z.ZodObject<{
363
+ kind: z.ZodLiteral<"extension">;
364
+ extension: z.ZodString;
365
+ externalId: z.ZodOptional<z.ZodString>;
366
+ syncedAt: z.ZodOptional<z.ZodString>;
367
+ metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
368
+ }, z.core.$strict>], "kind">>;
369
+ executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
370
+ kind: z.ZodLiteral<"path">;
371
+ path: z.ZodString;
372
+ }, z.core.$strict>, z.ZodObject<{
373
+ kind: z.ZodLiteral<"source">;
374
+ filename: z.ZodString;
375
+ source: z.ZodString;
376
+ }, z.core.$strict>, z.ZodObject<{
377
+ kind: z.ZodLiteral<"definition">;
378
+ workflowId: z.ZodString;
379
+ }, z.core.$strict>], "kind">>;
380
+ requirements: z.ZodOptional<z.ZodObject<{
381
+ maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
382
+ persistentStorage: z.ZodOptional<z.ZodBoolean>;
383
+ customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
384
+ recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
385
+ materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
386
+ "local-directory": "local-directory";
387
+ "workspace-snapshot": "workspace-snapshot";
388
+ }>>>;
389
+ }, z.core.$strip>>;
390
+ successFinalizerId: z.ZodOptional<z.ZodString>;
391
+ }, z.core.$strip>>;
392
+ executionId: z.ZodString;
393
+ workflowId: z.ZodString;
394
+ triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
395
+ inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
396
+ config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
397
+ artifactRef: z.ZodOptional<z.ZodObject<{
398
+ kind: z.ZodString;
399
+ id: z.ZodString;
400
+ }, z.core.$strip>>;
401
+ scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
402
+ type: z.ZodLiteral<"global">;
403
+ }, z.core.$strict>, z.ZodObject<{
404
+ type: z.ZodLiteral<"workspace">;
405
+ id: z.ZodString;
406
+ }, z.core.$strict>, z.ZodObject<{
407
+ type: z.ZodLiteral<"session">;
408
+ id: z.ZodString;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ type: z.ZodLiteral<"external">;
411
+ kind: z.ZodString;
412
+ id: z.ZodString;
413
+ }, z.core.$strict>], "type">>;
414
+ busUrl: z.ZodOptional<z.ZodString>;
415
+ busAuth: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
416
+ kind: z.ZodLiteral<"none">;
417
+ }, z.core.$strict>, z.ZodObject<{
418
+ kind: z.ZodLiteral<"hmac">;
419
+ secret: z.ZodString;
420
+ }, z.core.$strict>], "kind">>;
421
+ env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
422
+ coordinatorSessionId: z.ZodString;
423
+ cancelSubject: z.ZodString;
424
+ suspensionStrategy: z.ZodDefault<z.ZodEnum<{
425
+ "wait-in-process": "wait-in-process";
426
+ "exit-and-redispatch": "exit-and-redispatch";
427
+ "exit-and-resume": "exit-and-resume";
428
+ }>>;
429
+ terminalAuthority: z.ZodOptional<z.ZodEnum<{
430
+ worker: "worker";
431
+ authority: "authority";
432
+ }>>;
433
+ materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
434
+ kind: z.ZodLiteral<"local-directory">;
435
+ workspaceId: z.ZodString;
436
+ rootDigest: z.ZodString;
437
+ sourcePath: z.ZodString;
438
+ }, z.core.$strict>, z.ZodObject<{
439
+ kind: z.ZodLiteral<"workspace-snapshot">;
440
+ snapshotId: z.ZodString;
441
+ digest: z.ZodString;
442
+ sourcePath: z.ZodString;
443
+ }, z.core.$strict>], "kind">>;
444
+ }, z.core.$strip>;
445
+ manifest: z.ZodOptional<z.ZodObject<{
446
+ contributionRefs: z.ZodArray<z.ZodObject<{
447
+ packageName: z.ZodString;
448
+ version: z.ZodString;
449
+ entrypoint: z.ZodString;
450
+ integrity: z.ZodString;
451
+ }, z.core.$strict>>;
452
+ }, z.core.$strict>>;
453
+ requirements: z.ZodOptional<z.ZodObject<{
454
+ maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
455
+ persistentStorage: z.ZodOptional<z.ZodBoolean>;
456
+ customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
457
+ recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
458
+ materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
459
+ "local-directory": "local-directory";
460
+ "workspace-snapshot": "workspace-snapshot";
461
+ }>>>;
462
+ }, z.core.$strip>>;
463
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
464
+ }, z.core.$strip>;
465
+ response: z.ZodObject<{
466
+ executionAttemptId: z.ZodString;
467
+ allocationRef: z.ZodObject<{
468
+ version: z.ZodLiteral<1>;
469
+ providerId: z.ZodString;
470
+ providerData: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
471
+ }, z.core.$strict>;
472
+ }, z.core.$strict>;
473
+ };
474
+ /**
475
+ * Worker reports that it has booted, connected to the bus, and is ready
476
+ * to execute the workflow for its assigned attempt.
477
+ *
478
+ * The Authority and lifecycle emitters consume this to transition the
479
+ * attempt into the active execution phase.
480
+ *
481
+ * Subject: `worker-node.control.attempt-ready`
482
+ * Type: Event
483
+ */
484
+ 'control.attempt-ready': z.ZodObject<{
485
+ executionAttemptId: z.ZodString;
486
+ executionId: z.ZodString;
487
+ adapters: z.ZodDefault<z.ZodArray<z.ZodString>>;
488
+ }, z.core.$strict>;
489
+ /**
490
+ * Worker submits a terminal workflow outcome for durable acknowledgement.
491
+ *
492
+ * The Authority validates the attempt, commits the outcome through the
493
+ * injected repository, and returns an ACK decision. Workers must not
494
+ * exit until they receive the ACK.
495
+ *
496
+ * Subject: `worker-node.control.outcome.submit`
497
+ * Type: Request (RPC)
498
+ */
499
+ 'control.outcome.submit': {
500
+ request: z.ZodObject<{
501
+ executionAttemptId: z.ZodString;
502
+ executionId: z.ZodString;
503
+ result: z.ZodDiscriminatedUnion<[z.ZodObject<{
504
+ executionId: z.ZodString;
505
+ workflowId: z.ZodString;
506
+ status: z.ZodLiteral<"completed">;
507
+ artifact: z.ZodOptional<z.ZodObject<{
508
+ kind: z.ZodString;
509
+ id: z.ZodString;
510
+ revision: z.ZodString;
511
+ scope: z.ZodObject<{
512
+ level: z.ZodString;
513
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
514
+ }, z.core.$strip>;
515
+ schemaVersion: z.ZodString;
516
+ data: z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
517
+ relations: z.ZodArray<z.ZodObject<{
518
+ type: z.ZodString;
519
+ target: z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
520
+ refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
521
+ kind: z.ZodString;
522
+ id: z.ZodString;
523
+ revision: z.ZodString;
524
+ }, z.core.$strip>, z.ZodObject<{
525
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
526
+ artifact: z.ZodObject<{
527
+ refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
528
+ kind: z.ZodString;
529
+ id: z.ZodString;
530
+ revision: z.ZodString;
531
+ }, z.core.$strip>;
532
+ localId: z.ZodString;
533
+ }, z.core.$strip>, z.ZodObject<{
534
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
535
+ kind: z.ZodString;
536
+ id: z.ZodString;
537
+ revision: z.ZodOptional<z.ZodString>;
538
+ locator: z.ZodOptional<z.ZodString>;
539
+ }, z.core.$strip>], "refClass">>;
540
+ }, z.core.$strip>>;
541
+ confidence: z.ZodOptional<z.ZodObject<{
542
+ level: z.ZodEnum<{
543
+ inferred: "inferred";
544
+ assumed: "assumed";
545
+ stated: "stated";
546
+ confirmed: "confirmed";
547
+ verified: "verified";
548
+ }>;
549
+ basis: z.ZodArray<z.ZodObject<{
550
+ kind: z.ZodString;
551
+ actor: z.ZodObject<{
552
+ kind: z.ZodString;
553
+ id: z.ZodString;
554
+ displayName: z.ZodOptional<z.ZodString>;
555
+ }, z.core.$strip>;
556
+ timestamp: z.ZodNumber;
557
+ detail: z.ZodOptional<z.ZodString>;
558
+ evidenceRef: z.ZodOptional<z.ZodPreprocess<z.ZodDiscriminatedUnion<[z.ZodObject<{
559
+ refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
560
+ kind: z.ZodString;
561
+ id: z.ZodString;
562
+ revision: z.ZodString;
563
+ }, z.core.$strip>, z.ZodObject<{
564
+ refClass: z.ZodDefault<z.ZodLiteral<"local">>;
565
+ artifact: z.ZodObject<{
566
+ refClass: z.ZodDefault<z.ZodLiteral<"artifact">>;
567
+ kind: z.ZodString;
568
+ id: z.ZodString;
569
+ revision: z.ZodString;
570
+ }, z.core.$strip>;
571
+ localId: z.ZodString;
572
+ }, z.core.$strip>, z.ZodObject<{
573
+ refClass: z.ZodDefault<z.ZodLiteral<"evidence">>;
574
+ kind: z.ZodString;
575
+ id: z.ZodString;
576
+ revision: z.ZodOptional<z.ZodString>;
577
+ locator: z.ZodOptional<z.ZodString>;
578
+ }, z.core.$strip>], "refClass">>>;
579
+ }, z.core.$strip>>;
580
+ }, z.core.$strip>>;
581
+ representations: z.ZodOptional<z.ZodObject<{
582
+ markdown: z.ZodOptional<z.ZodString>;
583
+ summary: z.ZodOptional<z.ZodString>;
584
+ plaintext: z.ZodOptional<z.ZodString>;
585
+ }, z.core.$strip>>;
586
+ actor: z.ZodObject<{
587
+ kind: z.ZodString;
588
+ id: z.ZodString;
589
+ displayName: z.ZodOptional<z.ZodString>;
590
+ }, z.core.$strip>;
591
+ timestamp: z.ZodNumber;
592
+ createdAt: z.ZodOptional<z.ZodNumber>;
593
+ }, z.core.$strip>>;
594
+ }, z.core.$strict>, z.ZodObject<{
595
+ executionId: z.ZodString;
596
+ workflowId: z.ZodString;
597
+ status: z.ZodLiteral<"failed">;
598
+ error: z.ZodString;
599
+ }, z.core.$strict>, z.ZodObject<{
600
+ executionId: z.ZodString;
601
+ workflowId: z.ZodString;
602
+ status: z.ZodLiteral<"cancelled">;
603
+ reason: z.ZodOptional<z.ZodString>;
604
+ }, z.core.$strict>, z.ZodObject<{
605
+ executionId: z.ZodString;
606
+ workflowId: z.ZodString;
607
+ status: z.ZodLiteral<"paused">;
608
+ pausedAtGateId: z.ZodString;
609
+ pausedAtFrameId: z.ZodString;
610
+ }, z.core.$strict>], "status">;
611
+ }, z.core.$strict>;
612
+ response: z.ZodObject<{
613
+ decision: z.ZodEnum<{
614
+ accepted: "accepted";
615
+ duplicate: "duplicate";
616
+ conflict: "conflict";
617
+ fenced: "fenced";
618
+ }>;
619
+ }, z.core.$strict>;
620
+ };
621
+ /**
622
+ * Worker node claims its execution-scoped bus credentials during bootstrap.
623
+ *
624
+ * The node authenticates its WebSocket connection as a bootstrap peer, then
625
+ * presents its execution/attempt identity. The server validates that trusted
626
+ * transport identity and the durable allocation before exchanging it for an
627
+ * execution-scoped `busAuthSecret` used for subsequent communication.
628
+ *
629
+ * Subject: `worker-node.control.bootstrap.claim`
630
+ * Type: Request (RPC)
631
+ */
632
+ 'control.bootstrap.claim': {
633
+ request: z.ZodObject<{
634
+ executionId: z.ZodString;
635
+ executionAttemptId: z.ZodString;
636
+ }, z.core.$strict>;
637
+ response: z.ZodObject<{
638
+ busUrl: z.ZodString;
639
+ busAuthSecret: z.ZodString;
640
+ }, z.core.$strict>;
641
+ };
642
+ /**
643
+ * Dispatch has selected a provider; node allocation is in progress.
644
+ *
645
+ * Subject: `worker-node.lifecycle.provisioning`
646
+ * Type: Event
647
+ */
648
+ 'lifecycle.provisioning': z.ZodObject<{
649
+ executionAttemptId: z.ZodString;
650
+ executionId: z.ZodString;
651
+ environment: z.ZodString;
652
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
653
+ }, z.core.$strip>;
654
+ /**
655
+ * Environment is initialising (importing packages, connecting to bus).
656
+ *
657
+ * Subject: `worker-node.lifecycle.booting`
658
+ * Type: Event
659
+ */
660
+ 'lifecycle.booting': z.ZodObject<{
661
+ executionAttemptId: z.ZodString;
662
+ executionId: z.ZodString;
663
+ environment: z.ZodString;
664
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
665
+ }, z.core.$strip>;
666
+ /**
667
+ * Node is connected and ready to accept work.
668
+ *
669
+ * Subject: `worker-node.lifecycle.ready`
670
+ * Type: Event
671
+ */
672
+ 'lifecycle.ready': z.ZodObject<{
673
+ executionAttemptId: z.ZodString;
674
+ executionId: z.ZodString;
675
+ environment: z.ZodString;
676
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
677
+ adapters: z.ZodDefault<z.ZodArray<z.ZodString>>;
678
+ }, z.core.$strip>;
679
+ /**
680
+ * Node has started executing the workflow.
681
+ *
682
+ * Subject: `worker-node.lifecycle.busy`
683
+ * Type: Event
684
+ */
685
+ 'lifecycle.busy': z.ZodObject<{
686
+ executionAttemptId: z.ZodString;
687
+ executionId: z.ZodString;
688
+ environment: z.ZodString;
689
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
690
+ }, z.core.$strip>;
691
+ /**
692
+ * Execution finished successfully.
693
+ *
694
+ * Subject: `worker-node.lifecycle.completed`
695
+ * Type: Event
696
+ */
697
+ 'lifecycle.completed': z.ZodObject<{
698
+ executionAttemptId: z.ZodString;
699
+ executionId: z.ZodString;
700
+ environment: z.ZodString;
701
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
702
+ }, z.core.$strip>;
703
+ /**
704
+ * Execution terminated with an error.
705
+ *
706
+ * Subject: `worker-node.lifecycle.failed`
707
+ * Type: Event
708
+ */
709
+ 'lifecycle.failed': z.ZodObject<{
710
+ executionAttemptId: z.ZodString;
711
+ executionId: z.ZodString;
712
+ environment: z.ZodString;
713
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
714
+ error: z.ZodString;
715
+ }, z.core.$strip>;
716
+ /**
717
+ * Node environment has been torn down.
718
+ *
719
+ * Subject: `worker-node.lifecycle.terminated`
720
+ * Type: Event
721
+ */
722
+ 'lifecycle.terminated': z.ZodObject<{
723
+ executionAttemptId: z.ZodString;
724
+ executionId: z.ZodString;
725
+ environment: z.ZodString;
726
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
727
+ reason: z.ZodOptional<z.ZodString>;
728
+ }, z.core.$strip>;
729
+ /**
730
+ * Node has suspended at a gate and the worker has exited.
731
+ *
732
+ * Emitted by providers using `exit-and-redispatch` or `exit-and-resume`
733
+ * suspension strategies before the environment tears down. In-process
734
+ * providers that block at the gate do not emit this event.
735
+ *
736
+ * Subject: `worker-node.lifecycle.paused`
737
+ * Type: Event
738
+ */
739
+ 'lifecycle.paused': z.ZodObject<{
740
+ executionAttemptId: z.ZodString;
741
+ executionId: z.ZodString;
742
+ environment: z.ZodString;
743
+ metadata: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
744
+ pausedAtGateId: z.ZodString;
745
+ pausedAtFrameId: z.ZodString;
746
+ }, z.core.$strip>;
747
+ };
748
+ /** Bootstrap coordinates presented by a remote worker. */
749
+ type WorkerBootstrapClaimRequest = z.infer<(typeof WorkerNodeSchemas)['control.bootstrap.claim']['request']>;
750
+ /** Execution-scoped credentials issued after a successful bootstrap claim. */
751
+ type WorkerBootstrapClaimResponse$1 = z.infer<(typeof WorkerNodeSchemas)['control.bootstrap.claim']['response']>;
752
+ //#endregion
753
+ //#region core/contracts/src/worker-node/namespace.d.ts
754
+ /** Well-known restricted transport identity used for worker bootstrap claims. */
755
+ declare const WORKER_BOOTSTRAP_IDENTITY_ID = "worker-bootstrap";
756
+ /**
757
+ * WorkerNode bus namespace definition.
758
+ *
759
+ * Register at boot time via `bus.registerNamespace(WorkerNodeNamespace)` or
760
+ * include in the `FrameworkContractNamespaces` catalog.
761
+ */
762
+ declare const WorkerNodeNamespace: _$_makaio_core0.BusNamespaceDefinition<"worker-node", {
763
+ dispatch: {
764
+ request: _$zod.ZodObject<{
765
+ executionAttemptId: _$zod.ZodString;
766
+ config: _$zod.ZodObject<{
767
+ source: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
768
+ kind: _$zod.ZodLiteral<"path">;
769
+ path: _$zod.ZodString;
770
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
771
+ kind: _$zod.ZodLiteral<"source">;
772
+ filename: _$zod.ZodString;
773
+ source: _$zod.ZodString;
774
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
775
+ kind: _$zod.ZodLiteral<"definition">;
776
+ workflowId: _$zod.ZodString;
777
+ }, _$zod_v4_core0.$strict>], "kind">;
778
+ definition: _$zod.ZodOptional<_$zod.ZodObject<{
779
+ id: _$zod.ZodString;
780
+ name: _$zod.ZodOptional<_$zod.ZodString>;
781
+ description: _$zod.ZodOptional<_$zod.ZodString>;
782
+ inputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
783
+ configSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
784
+ outputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
785
+ state: _$zod.ZodOptional<_$zod.ZodObject<{
786
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
787
+ initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
788
+ }, _$zod_v4_core0.$strip>>;
789
+ artifact: _$zod.ZodOptional<_$zod.ZodObject<{
790
+ kind: _$zod.ZodString;
791
+ schemaVersion: _$zod.ZodString;
792
+ scope: _$zod.ZodObject<{
793
+ level: _$zod.ZodString;
794
+ ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
795
+ }, _$zod_v4_core0.$strip>;
796
+ resolve: _$zod.ZodOptional<_$zod.ZodString>;
797
+ create: _$zod.ZodOptional<_$zod.ZodString>;
798
+ statusPath: _$zod.ZodOptional<_$zod.ZodString>;
799
+ }, _$zod_v4_core0.$strip>>;
800
+ root: _$zod.ZodObject<{
801
+ id: _$zod.ZodString;
802
+ when: _$zod.ZodOptional<_$zod.ZodString>;
803
+ skip: _$zod.ZodOptional<_$zod.ZodString>;
804
+ writes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
805
+ kind: _$zod.ZodString;
806
+ schemaVersion: _$zod.ZodString;
807
+ scope: _$zod.ZodObject<{
808
+ level: _$zod.ZodString;
809
+ ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
810
+ }, _$zod_v4_core0.$strip>;
811
+ dataExpression: _$zod.ZodOptional<_$zod.ZodString>;
812
+ }, _$zod_v4_core0.$strip>>>;
813
+ type: _$zod.ZodLiteral<"sequence">;
814
+ nodes: _$zod.ZodLazy<_$zod.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
815
+ }, _$zod_v4_core0.$strip>;
816
+ triggers: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
817
+ type: _$zod.ZodLiteral<"manual">;
818
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
819
+ type: _$zod.ZodLiteral<"cron">;
820
+ schedule: _$zod.ZodString;
821
+ timezone: _$zod.ZodOptional<_$zod.ZodString>;
822
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
823
+ type: _$zod.ZodLiteral<"webhook">;
824
+ event: _$zod.ZodString;
825
+ branch: _$zod.ZodOptional<_$zod.ZodString>;
826
+ repo: _$zod.ZodOptional<_$zod.ZodString>;
827
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
828
+ type: _$zod.ZodLiteral<"extension">;
829
+ extensionType: _$zod.ZodString;
830
+ config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
831
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
832
+ type: _$zod.ZodLiteral<"bus-event">;
833
+ subject: _$zod.ZodString;
834
+ filter: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>, _$zod.ZodObject<{
835
+ $in: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>>;
836
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
837
+ $ne: _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>;
838
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
839
+ $exists: _$zod.ZodBoolean;
840
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
841
+ $startsWith: _$zod.ZodString;
842
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
843
+ $endsWith: _$zod.ZodString;
844
+ }, _$zod_v4_core0.$strict>]>>>;
845
+ filterExpression: _$zod.ZodOptional<_$zod.ZodString>;
846
+ }, _$zod_v4_core0.$strip>], "type">>>;
847
+ scope: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
848
+ type: _$zod.ZodLiteral<"global">;
849
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
850
+ type: _$zod.ZodLiteral<"workspace">;
851
+ id: _$zod.ZodString;
852
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
853
+ type: _$zod.ZodLiteral<"session">;
854
+ id: _$zod.ZodString;
855
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
856
+ type: _$zod.ZodLiteral<"external">;
857
+ kind: _$zod.ZodString;
858
+ id: _$zod.ZodString;
859
+ }, _$zod_v4_core0.$strict>], "type">>;
860
+ canvasLayout: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
861
+ source: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
862
+ kind: _$zod.ZodLiteral<"editor">;
863
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
864
+ kind: _$zod.ZodLiteral<"extension">;
865
+ extension: _$zod.ZodString;
866
+ externalId: _$zod.ZodOptional<_$zod.ZodString>;
867
+ syncedAt: _$zod.ZodOptional<_$zod.ZodString>;
868
+ metadata: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
869
+ }, _$zod_v4_core0.$strict>], "kind">>;
870
+ executableSource: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
871
+ kind: _$zod.ZodLiteral<"path">;
872
+ path: _$zod.ZodString;
873
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
874
+ kind: _$zod.ZodLiteral<"source">;
875
+ filename: _$zod.ZodString;
876
+ source: _$zod.ZodString;
877
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
878
+ kind: _$zod.ZodLiteral<"definition">;
879
+ workflowId: _$zod.ZodString;
880
+ }, _$zod_v4_core0.$strict>], "kind">>;
881
+ requirements: _$zod.ZodOptional<_$zod.ZodObject<{
882
+ maxRuntimeMs: _$zod.ZodOptional<_$zod.ZodNumber>;
883
+ persistentStorage: _$zod.ZodOptional<_$zod.ZodBoolean>;
884
+ customCapabilities: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
885
+ recoverableAllocation: _$zod.ZodOptional<_$zod.ZodBoolean>;
886
+ materializationModes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
887
+ "local-directory": "local-directory";
888
+ "workspace-snapshot": "workspace-snapshot";
889
+ }>>>;
890
+ }, _$zod_v4_core0.$strip>>;
891
+ successFinalizerId: _$zod.ZodOptional<_$zod.ZodString>;
892
+ }, _$zod_v4_core0.$strip>>;
893
+ executionId: _$zod.ZodString;
894
+ workflowId: _$zod.ZodString;
895
+ triggerPayload: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
896
+ inputs: _$zod.ZodDefault<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
897
+ config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
898
+ artifactRef: _$zod.ZodOptional<_$zod.ZodObject<{
899
+ kind: _$zod.ZodString;
900
+ id: _$zod.ZodString;
901
+ }, _$zod_v4_core0.$strip>>;
902
+ scope: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
903
+ type: _$zod.ZodLiteral<"global">;
904
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
905
+ type: _$zod.ZodLiteral<"workspace">;
906
+ id: _$zod.ZodString;
907
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
908
+ type: _$zod.ZodLiteral<"session">;
909
+ id: _$zod.ZodString;
910
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
911
+ type: _$zod.ZodLiteral<"external">;
912
+ kind: _$zod.ZodString;
913
+ id: _$zod.ZodString;
914
+ }, _$zod_v4_core0.$strict>], "type">>;
915
+ busUrl: _$zod.ZodOptional<_$zod.ZodString>;
916
+ busAuth: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
917
+ kind: _$zod.ZodLiteral<"none">;
918
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
919
+ kind: _$zod.ZodLiteral<"hmac">;
920
+ secret: _$zod.ZodString;
921
+ }, _$zod_v4_core0.$strict>], "kind">>;
922
+ env: _$zod.ZodDefault<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
923
+ coordinatorSessionId: _$zod.ZodString;
924
+ cancelSubject: _$zod.ZodString;
925
+ suspensionStrategy: _$zod.ZodDefault<_$zod.ZodEnum<{
926
+ "wait-in-process": "wait-in-process";
927
+ "exit-and-redispatch": "exit-and-redispatch";
928
+ "exit-and-resume": "exit-and-resume";
929
+ }>>;
930
+ terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
931
+ worker: "worker";
932
+ authority: "authority";
933
+ }>>;
934
+ materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
935
+ kind: _$zod.ZodLiteral<"local-directory">;
936
+ workspaceId: _$zod.ZodString;
937
+ rootDigest: _$zod.ZodString;
938
+ sourcePath: _$zod.ZodString;
939
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
940
+ kind: _$zod.ZodLiteral<"workspace-snapshot">;
941
+ snapshotId: _$zod.ZodString;
942
+ digest: _$zod.ZodString;
943
+ sourcePath: _$zod.ZodString;
944
+ }, _$zod_v4_core0.$strict>], "kind">>;
945
+ }, _$zod_v4_core0.$strip>;
946
+ manifest: _$zod.ZodOptional<_$zod.ZodObject<{
947
+ contributionRefs: _$zod.ZodArray<_$zod.ZodObject<{
948
+ packageName: _$zod.ZodString;
949
+ version: _$zod.ZodString;
950
+ entrypoint: _$zod.ZodString;
951
+ integrity: _$zod.ZodString;
952
+ }, _$zod_v4_core0.$strict>>;
953
+ }, _$zod_v4_core0.$strict>>;
954
+ requirements: _$zod.ZodOptional<_$zod.ZodObject<{
955
+ maxRuntimeMs: _$zod.ZodOptional<_$zod.ZodNumber>;
956
+ persistentStorage: _$zod.ZodOptional<_$zod.ZodBoolean>;
957
+ customCapabilities: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
958
+ recoverableAllocation: _$zod.ZodOptional<_$zod.ZodBoolean>;
959
+ materializationModes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
960
+ "local-directory": "local-directory";
961
+ "workspace-snapshot": "workspace-snapshot";
962
+ }>>>;
963
+ }, _$zod_v4_core0.$strip>>;
964
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
965
+ }, _$zod_v4_core0.$strip>;
966
+ response: _$zod.ZodObject<{
967
+ executionAttemptId: _$zod.ZodString;
968
+ allocationRef: _$zod.ZodObject<{
969
+ version: _$zod.ZodLiteral<1>;
970
+ providerId: _$zod.ZodString;
971
+ providerData: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
972
+ }, _$zod_v4_core0.$strict>;
973
+ }, _$zod_v4_core0.$strict>;
974
+ };
975
+ 'control.attempt-ready': _$zod.ZodObject<{
976
+ executionAttemptId: _$zod.ZodString;
977
+ executionId: _$zod.ZodString;
978
+ adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
979
+ }, _$zod_v4_core0.$strict>;
980
+ 'control.outcome.submit': {
981
+ request: _$zod.ZodObject<{
982
+ executionAttemptId: _$zod.ZodString;
983
+ executionId: _$zod.ZodString;
984
+ result: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
985
+ executionId: _$zod.ZodString;
986
+ workflowId: _$zod.ZodString;
987
+ status: _$zod.ZodLiteral<"completed">;
988
+ artifact: _$zod.ZodOptional<_$zod.ZodObject<{
989
+ kind: _$zod.ZodString;
990
+ id: _$zod.ZodString;
991
+ revision: _$zod.ZodString;
992
+ scope: _$zod.ZodObject<{
993
+ level: _$zod.ZodString;
994
+ ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
995
+ }, _$zod_v4_core0.$strip>;
996
+ schemaVersion: _$zod.ZodString;
997
+ data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
998
+ relations: _$zod.ZodArray<_$zod.ZodObject<{
999
+ type: _$zod.ZodString;
1000
+ target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1001
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
1002
+ kind: _$zod.ZodString;
1003
+ id: _$zod.ZodString;
1004
+ revision: _$zod.ZodString;
1005
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1006
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"local">>;
1007
+ artifact: _$zod.ZodObject<{
1008
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
1009
+ kind: _$zod.ZodString;
1010
+ id: _$zod.ZodString;
1011
+ revision: _$zod.ZodString;
1012
+ }, _$zod_v4_core0.$strip>;
1013
+ localId: _$zod.ZodString;
1014
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1015
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"evidence">>;
1016
+ kind: _$zod.ZodString;
1017
+ id: _$zod.ZodString;
1018
+ revision: _$zod.ZodOptional<_$zod.ZodString>;
1019
+ locator: _$zod.ZodOptional<_$zod.ZodString>;
1020
+ }, _$zod_v4_core0.$strip>], "refClass">>;
1021
+ }, _$zod_v4_core0.$strip>>;
1022
+ confidence: _$zod.ZodOptional<_$zod.ZodObject<{
1023
+ level: _$zod.ZodEnum<{
1024
+ inferred: "inferred";
1025
+ assumed: "assumed";
1026
+ stated: "stated";
1027
+ confirmed: "confirmed";
1028
+ verified: "verified";
1029
+ }>;
1030
+ basis: _$zod.ZodArray<_$zod.ZodObject<{
1031
+ kind: _$zod.ZodString;
1032
+ actor: _$zod.ZodObject<{
1033
+ kind: _$zod.ZodString;
1034
+ id: _$zod.ZodString;
1035
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1036
+ }, _$zod_v4_core0.$strip>;
1037
+ timestamp: _$zod.ZodNumber;
1038
+ detail: _$zod.ZodOptional<_$zod.ZodString>;
1039
+ evidenceRef: _$zod.ZodOptional<_$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1040
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
1041
+ kind: _$zod.ZodString;
1042
+ id: _$zod.ZodString;
1043
+ revision: _$zod.ZodString;
1044
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1045
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"local">>;
1046
+ artifact: _$zod.ZodObject<{
1047
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
1048
+ kind: _$zod.ZodString;
1049
+ id: _$zod.ZodString;
1050
+ revision: _$zod.ZodString;
1051
+ }, _$zod_v4_core0.$strip>;
1052
+ localId: _$zod.ZodString;
1053
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1054
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"evidence">>;
1055
+ kind: _$zod.ZodString;
1056
+ id: _$zod.ZodString;
1057
+ revision: _$zod.ZodOptional<_$zod.ZodString>;
1058
+ locator: _$zod.ZodOptional<_$zod.ZodString>;
1059
+ }, _$zod_v4_core0.$strip>], "refClass">>>;
1060
+ }, _$zod_v4_core0.$strip>>;
1061
+ }, _$zod_v4_core0.$strip>>;
1062
+ representations: _$zod.ZodOptional<_$zod.ZodObject<{
1063
+ markdown: _$zod.ZodOptional<_$zod.ZodString>;
1064
+ summary: _$zod.ZodOptional<_$zod.ZodString>;
1065
+ plaintext: _$zod.ZodOptional<_$zod.ZodString>;
1066
+ }, _$zod_v4_core0.$strip>>;
1067
+ actor: _$zod.ZodObject<{
1068
+ kind: _$zod.ZodString;
1069
+ id: _$zod.ZodString;
1070
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1071
+ }, _$zod_v4_core0.$strip>;
1072
+ timestamp: _$zod.ZodNumber;
1073
+ createdAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1074
+ }, _$zod_v4_core0.$strip>>;
1075
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1076
+ executionId: _$zod.ZodString;
1077
+ workflowId: _$zod.ZodString;
1078
+ status: _$zod.ZodLiteral<"failed">;
1079
+ error: _$zod.ZodString;
1080
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1081
+ executionId: _$zod.ZodString;
1082
+ workflowId: _$zod.ZodString;
1083
+ status: _$zod.ZodLiteral<"cancelled">;
1084
+ reason: _$zod.ZodOptional<_$zod.ZodString>;
1085
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1086
+ executionId: _$zod.ZodString;
1087
+ workflowId: _$zod.ZodString;
1088
+ status: _$zod.ZodLiteral<"paused">;
1089
+ pausedAtGateId: _$zod.ZodString;
1090
+ pausedAtFrameId: _$zod.ZodString;
1091
+ }, _$zod_v4_core0.$strict>], "status">;
1092
+ }, _$zod_v4_core0.$strict>;
1093
+ response: _$zod.ZodObject<{
1094
+ decision: _$zod.ZodEnum<{
1095
+ accepted: "accepted";
1096
+ duplicate: "duplicate";
1097
+ conflict: "conflict";
1098
+ fenced: "fenced";
1099
+ }>;
1100
+ }, _$zod_v4_core0.$strict>;
1101
+ };
1102
+ 'control.bootstrap.claim': {
1103
+ request: _$zod.ZodObject<{
1104
+ executionId: _$zod.ZodString;
1105
+ executionAttemptId: _$zod.ZodString;
1106
+ }, _$zod_v4_core0.$strict>;
1107
+ response: _$zod.ZodObject<{
1108
+ busUrl: _$zod.ZodString;
1109
+ busAuthSecret: _$zod.ZodString;
1110
+ }, _$zod_v4_core0.$strict>;
1111
+ };
1112
+ 'lifecycle.provisioning': _$zod.ZodObject<{
1113
+ executionAttemptId: _$zod.ZodString;
1114
+ executionId: _$zod.ZodString;
1115
+ environment: _$zod.ZodString;
1116
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1117
+ }, _$zod_v4_core0.$strip>;
1118
+ 'lifecycle.booting': _$zod.ZodObject<{
1119
+ executionAttemptId: _$zod.ZodString;
1120
+ executionId: _$zod.ZodString;
1121
+ environment: _$zod.ZodString;
1122
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1123
+ }, _$zod_v4_core0.$strip>;
1124
+ 'lifecycle.ready': _$zod.ZodObject<{
1125
+ executionAttemptId: _$zod.ZodString;
1126
+ executionId: _$zod.ZodString;
1127
+ environment: _$zod.ZodString;
1128
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1129
+ adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
1130
+ }, _$zod_v4_core0.$strip>;
1131
+ 'lifecycle.busy': _$zod.ZodObject<{
1132
+ executionAttemptId: _$zod.ZodString;
1133
+ executionId: _$zod.ZodString;
1134
+ environment: _$zod.ZodString;
1135
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1136
+ }, _$zod_v4_core0.$strip>;
1137
+ 'lifecycle.completed': _$zod.ZodObject<{
1138
+ executionAttemptId: _$zod.ZodString;
1139
+ executionId: _$zod.ZodString;
1140
+ environment: _$zod.ZodString;
1141
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1142
+ }, _$zod_v4_core0.$strip>;
1143
+ 'lifecycle.failed': _$zod.ZodObject<{
1144
+ executionAttemptId: _$zod.ZodString;
1145
+ executionId: _$zod.ZodString;
1146
+ environment: _$zod.ZodString;
1147
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1148
+ error: _$zod.ZodString;
1149
+ }, _$zod_v4_core0.$strip>;
1150
+ 'lifecycle.terminated': _$zod.ZodObject<{
1151
+ executionAttemptId: _$zod.ZodString;
1152
+ executionId: _$zod.ZodString;
1153
+ environment: _$zod.ZodString;
1154
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1155
+ reason: _$zod.ZodOptional<_$zod.ZodString>;
1156
+ }, _$zod_v4_core0.$strip>;
1157
+ 'lifecycle.paused': _$zod.ZodObject<{
1158
+ executionAttemptId: _$zod.ZodString;
1159
+ executionId: _$zod.ZodString;
1160
+ environment: _$zod.ZodString;
1161
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1162
+ pausedAtGateId: _$zod.ZodString;
1163
+ pausedAtFrameId: _$zod.ZodString;
1164
+ }, _$zod_v4_core0.$strip>;
1165
+ }>;
1166
+ /**
1167
+ * Typed subject tokens for the `worker-node` bus namespace.
1168
+ *
1169
+ * Use these tokens in `bus.on()`, `bus.emit()`, and `bus.request()` calls
1170
+ * instead of raw subject strings to get schema validation and type inference.
1171
+ * @example
1172
+ * ```typescript
1173
+ * bus.on(WorkerNodeSubjects.lifecycle.ready, (payload) => {
1174
+ * console.log('node ready', payload.executionAttemptId);
1175
+ * });
1176
+ * ```
1177
+ */
1178
+ declare const WorkerNodeSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"worker-node", {
1179
+ dispatch: {
1180
+ request: _$zod.ZodObject<{
1181
+ executionAttemptId: _$zod.ZodString;
1182
+ config: _$zod.ZodObject<{
1183
+ source: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1184
+ kind: _$zod.ZodLiteral<"path">;
1185
+ path: _$zod.ZodString;
1186
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1187
+ kind: _$zod.ZodLiteral<"source">;
1188
+ filename: _$zod.ZodString;
1189
+ source: _$zod.ZodString;
1190
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1191
+ kind: _$zod.ZodLiteral<"definition">;
1192
+ workflowId: _$zod.ZodString;
1193
+ }, _$zod_v4_core0.$strict>], "kind">;
1194
+ definition: _$zod.ZodOptional<_$zod.ZodObject<{
1195
+ id: _$zod.ZodString;
1196
+ name: _$zod.ZodOptional<_$zod.ZodString>;
1197
+ description: _$zod.ZodOptional<_$zod.ZodString>;
1198
+ inputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1199
+ configSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1200
+ outputSchema: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1201
+ state: _$zod.ZodOptional<_$zod.ZodObject<{
1202
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
1203
+ initial: _$zod.ZodOptional<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
1204
+ }, _$zod_v4_core0.$strip>>;
1205
+ artifact: _$zod.ZodOptional<_$zod.ZodObject<{
1206
+ kind: _$zod.ZodString;
1207
+ schemaVersion: _$zod.ZodString;
1208
+ scope: _$zod.ZodObject<{
1209
+ level: _$zod.ZodString;
1210
+ ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1211
+ }, _$zod_v4_core0.$strip>;
1212
+ resolve: _$zod.ZodOptional<_$zod.ZodString>;
1213
+ create: _$zod.ZodOptional<_$zod.ZodString>;
1214
+ statusPath: _$zod.ZodOptional<_$zod.ZodString>;
1215
+ }, _$zod_v4_core0.$strip>>;
1216
+ root: _$zod.ZodObject<{
1217
+ id: _$zod.ZodString;
1218
+ when: _$zod.ZodOptional<_$zod.ZodString>;
1219
+ skip: _$zod.ZodOptional<_$zod.ZodString>;
1220
+ writes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1221
+ kind: _$zod.ZodString;
1222
+ schemaVersion: _$zod.ZodString;
1223
+ scope: _$zod.ZodObject<{
1224
+ level: _$zod.ZodString;
1225
+ ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1226
+ }, _$zod_v4_core0.$strip>;
1227
+ dataExpression: _$zod.ZodOptional<_$zod.ZodString>;
1228
+ }, _$zod_v4_core0.$strip>>>;
1229
+ type: _$zod.ZodLiteral<"sequence">;
1230
+ nodes: _$zod.ZodLazy<_$zod.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
1231
+ }, _$zod_v4_core0.$strip>;
1232
+ triggers: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1233
+ type: _$zod.ZodLiteral<"manual">;
1234
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1235
+ type: _$zod.ZodLiteral<"cron">;
1236
+ schedule: _$zod.ZodString;
1237
+ timezone: _$zod.ZodOptional<_$zod.ZodString>;
1238
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1239
+ type: _$zod.ZodLiteral<"webhook">;
1240
+ event: _$zod.ZodString;
1241
+ branch: _$zod.ZodOptional<_$zod.ZodString>;
1242
+ repo: _$zod.ZodOptional<_$zod.ZodString>;
1243
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1244
+ type: _$zod.ZodLiteral<"extension">;
1245
+ extensionType: _$zod.ZodString;
1246
+ config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1247
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1248
+ type: _$zod.ZodLiteral<"bus-event">;
1249
+ subject: _$zod.ZodString;
1250
+ filter: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>, _$zod.ZodObject<{
1251
+ $in: _$zod.ZodArray<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>>;
1252
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1253
+ $ne: _$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodNumber, _$zod.ZodBoolean, _$zod.ZodNull]>;
1254
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1255
+ $exists: _$zod.ZodBoolean;
1256
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1257
+ $startsWith: _$zod.ZodString;
1258
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1259
+ $endsWith: _$zod.ZodString;
1260
+ }, _$zod_v4_core0.$strict>]>>>;
1261
+ filterExpression: _$zod.ZodOptional<_$zod.ZodString>;
1262
+ }, _$zod_v4_core0.$strip>], "type">>>;
1263
+ scope: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1264
+ type: _$zod.ZodLiteral<"global">;
1265
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1266
+ type: _$zod.ZodLiteral<"workspace">;
1267
+ id: _$zod.ZodString;
1268
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1269
+ type: _$zod.ZodLiteral<"session">;
1270
+ id: _$zod.ZodString;
1271
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1272
+ type: _$zod.ZodLiteral<"external">;
1273
+ kind: _$zod.ZodString;
1274
+ id: _$zod.ZodString;
1275
+ }, _$zod_v4_core0.$strict>], "type">>;
1276
+ canvasLayout: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
1277
+ source: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1278
+ kind: _$zod.ZodLiteral<"editor">;
1279
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1280
+ kind: _$zod.ZodLiteral<"extension">;
1281
+ extension: _$zod.ZodString;
1282
+ externalId: _$zod.ZodOptional<_$zod.ZodString>;
1283
+ syncedAt: _$zod.ZodOptional<_$zod.ZodString>;
1284
+ metadata: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1285
+ }, _$zod_v4_core0.$strict>], "kind">>;
1286
+ executableSource: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1287
+ kind: _$zod.ZodLiteral<"path">;
1288
+ path: _$zod.ZodString;
1289
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1290
+ kind: _$zod.ZodLiteral<"source">;
1291
+ filename: _$zod.ZodString;
1292
+ source: _$zod.ZodString;
1293
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1294
+ kind: _$zod.ZodLiteral<"definition">;
1295
+ workflowId: _$zod.ZodString;
1296
+ }, _$zod_v4_core0.$strict>], "kind">>;
1297
+ requirements: _$zod.ZodOptional<_$zod.ZodObject<{
1298
+ maxRuntimeMs: _$zod.ZodOptional<_$zod.ZodNumber>;
1299
+ persistentStorage: _$zod.ZodOptional<_$zod.ZodBoolean>;
1300
+ customCapabilities: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
1301
+ recoverableAllocation: _$zod.ZodOptional<_$zod.ZodBoolean>;
1302
+ materializationModes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
1303
+ "local-directory": "local-directory";
1304
+ "workspace-snapshot": "workspace-snapshot";
1305
+ }>>>;
1306
+ }, _$zod_v4_core0.$strip>>;
1307
+ successFinalizerId: _$zod.ZodOptional<_$zod.ZodString>;
1308
+ }, _$zod_v4_core0.$strip>>;
1309
+ executionId: _$zod.ZodString;
1310
+ workflowId: _$zod.ZodString;
1311
+ triggerPayload: _$zod.ZodDefault<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1312
+ inputs: _$zod.ZodDefault<_$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>;
1313
+ config: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1314
+ artifactRef: _$zod.ZodOptional<_$zod.ZodObject<{
1315
+ kind: _$zod.ZodString;
1316
+ id: _$zod.ZodString;
1317
+ }, _$zod_v4_core0.$strip>>;
1318
+ scope: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1319
+ type: _$zod.ZodLiteral<"global">;
1320
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1321
+ type: _$zod.ZodLiteral<"workspace">;
1322
+ id: _$zod.ZodString;
1323
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1324
+ type: _$zod.ZodLiteral<"session">;
1325
+ id: _$zod.ZodString;
1326
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1327
+ type: _$zod.ZodLiteral<"external">;
1328
+ kind: _$zod.ZodString;
1329
+ id: _$zod.ZodString;
1330
+ }, _$zod_v4_core0.$strict>], "type">>;
1331
+ busUrl: _$zod.ZodOptional<_$zod.ZodString>;
1332
+ busAuth: _$zod.ZodDefault<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1333
+ kind: _$zod.ZodLiteral<"none">;
1334
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1335
+ kind: _$zod.ZodLiteral<"hmac">;
1336
+ secret: _$zod.ZodString;
1337
+ }, _$zod_v4_core0.$strict>], "kind">>;
1338
+ env: _$zod.ZodDefault<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1339
+ coordinatorSessionId: _$zod.ZodString;
1340
+ cancelSubject: _$zod.ZodString;
1341
+ suspensionStrategy: _$zod.ZodDefault<_$zod.ZodEnum<{
1342
+ "wait-in-process": "wait-in-process";
1343
+ "exit-and-redispatch": "exit-and-redispatch";
1344
+ "exit-and-resume": "exit-and-resume";
1345
+ }>>;
1346
+ terminalAuthority: _$zod.ZodOptional<_$zod.ZodEnum<{
1347
+ worker: "worker";
1348
+ authority: "authority";
1349
+ }>>;
1350
+ materializationSpec: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1351
+ kind: _$zod.ZodLiteral<"local-directory">;
1352
+ workspaceId: _$zod.ZodString;
1353
+ rootDigest: _$zod.ZodString;
1354
+ sourcePath: _$zod.ZodString;
1355
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1356
+ kind: _$zod.ZodLiteral<"workspace-snapshot">;
1357
+ snapshotId: _$zod.ZodString;
1358
+ digest: _$zod.ZodString;
1359
+ sourcePath: _$zod.ZodString;
1360
+ }, _$zod_v4_core0.$strict>], "kind">>;
1361
+ }, _$zod_v4_core0.$strip>;
1362
+ manifest: _$zod.ZodOptional<_$zod.ZodObject<{
1363
+ contributionRefs: _$zod.ZodArray<_$zod.ZodObject<{
1364
+ packageName: _$zod.ZodString;
1365
+ version: _$zod.ZodString;
1366
+ entrypoint: _$zod.ZodString;
1367
+ integrity: _$zod.ZodString;
1368
+ }, _$zod_v4_core0.$strict>>;
1369
+ }, _$zod_v4_core0.$strict>>;
1370
+ requirements: _$zod.ZodOptional<_$zod.ZodObject<{
1371
+ maxRuntimeMs: _$zod.ZodOptional<_$zod.ZodNumber>;
1372
+ persistentStorage: _$zod.ZodOptional<_$zod.ZodBoolean>;
1373
+ customCapabilities: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
1374
+ recoverableAllocation: _$zod.ZodOptional<_$zod.ZodBoolean>;
1375
+ materializationModes: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
1376
+ "local-directory": "local-directory";
1377
+ "workspace-snapshot": "workspace-snapshot";
1378
+ }>>>;
1379
+ }, _$zod_v4_core0.$strip>>;
1380
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1381
+ }, _$zod_v4_core0.$strip>;
1382
+ response: _$zod.ZodObject<{
1383
+ executionAttemptId: _$zod.ZodString;
1384
+ allocationRef: _$zod.ZodObject<{
1385
+ version: _$zod.ZodLiteral<1>;
1386
+ providerId: _$zod.ZodString;
1387
+ providerData: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1388
+ }, _$zod_v4_core0.$strict>;
1389
+ }, _$zod_v4_core0.$strict>;
1390
+ };
1391
+ 'control.attempt-ready': _$zod.ZodObject<{
1392
+ executionAttemptId: _$zod.ZodString;
1393
+ executionId: _$zod.ZodString;
1394
+ adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
1395
+ }, _$zod_v4_core0.$strict>;
1396
+ 'control.outcome.submit': {
1397
+ request: _$zod.ZodObject<{
1398
+ executionAttemptId: _$zod.ZodString;
1399
+ executionId: _$zod.ZodString;
1400
+ result: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1401
+ executionId: _$zod.ZodString;
1402
+ workflowId: _$zod.ZodString;
1403
+ status: _$zod.ZodLiteral<"completed">;
1404
+ artifact: _$zod.ZodOptional<_$zod.ZodObject<{
1405
+ kind: _$zod.ZodString;
1406
+ id: _$zod.ZodString;
1407
+ revision: _$zod.ZodString;
1408
+ scope: _$zod.ZodObject<{
1409
+ level: _$zod.ZodString;
1410
+ ids: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
1411
+ }, _$zod_v4_core0.$strip>;
1412
+ schemaVersion: _$zod.ZodString;
1413
+ data: _$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>;
1414
+ relations: _$zod.ZodArray<_$zod.ZodObject<{
1415
+ type: _$zod.ZodString;
1416
+ target: _$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1417
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
1418
+ kind: _$zod.ZodString;
1419
+ id: _$zod.ZodString;
1420
+ revision: _$zod.ZodString;
1421
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1422
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"local">>;
1423
+ artifact: _$zod.ZodObject<{
1424
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
1425
+ kind: _$zod.ZodString;
1426
+ id: _$zod.ZodString;
1427
+ revision: _$zod.ZodString;
1428
+ }, _$zod_v4_core0.$strip>;
1429
+ localId: _$zod.ZodString;
1430
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1431
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"evidence">>;
1432
+ kind: _$zod.ZodString;
1433
+ id: _$zod.ZodString;
1434
+ revision: _$zod.ZodOptional<_$zod.ZodString>;
1435
+ locator: _$zod.ZodOptional<_$zod.ZodString>;
1436
+ }, _$zod_v4_core0.$strip>], "refClass">>;
1437
+ }, _$zod_v4_core0.$strip>>;
1438
+ confidence: _$zod.ZodOptional<_$zod.ZodObject<{
1439
+ level: _$zod.ZodEnum<{
1440
+ inferred: "inferred";
1441
+ assumed: "assumed";
1442
+ stated: "stated";
1443
+ confirmed: "confirmed";
1444
+ verified: "verified";
1445
+ }>;
1446
+ basis: _$zod.ZodArray<_$zod.ZodObject<{
1447
+ kind: _$zod.ZodString;
1448
+ actor: _$zod.ZodObject<{
1449
+ kind: _$zod.ZodString;
1450
+ id: _$zod.ZodString;
1451
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1452
+ }, _$zod_v4_core0.$strip>;
1453
+ timestamp: _$zod.ZodNumber;
1454
+ detail: _$zod.ZodOptional<_$zod.ZodString>;
1455
+ evidenceRef: _$zod.ZodOptional<_$zod.ZodPreprocess<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1456
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
1457
+ kind: _$zod.ZodString;
1458
+ id: _$zod.ZodString;
1459
+ revision: _$zod.ZodString;
1460
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1461
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"local">>;
1462
+ artifact: _$zod.ZodObject<{
1463
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"artifact">>;
1464
+ kind: _$zod.ZodString;
1465
+ id: _$zod.ZodString;
1466
+ revision: _$zod.ZodString;
1467
+ }, _$zod_v4_core0.$strip>;
1468
+ localId: _$zod.ZodString;
1469
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1470
+ refClass: _$zod.ZodDefault<_$zod.ZodLiteral<"evidence">>;
1471
+ kind: _$zod.ZodString;
1472
+ id: _$zod.ZodString;
1473
+ revision: _$zod.ZodOptional<_$zod.ZodString>;
1474
+ locator: _$zod.ZodOptional<_$zod.ZodString>;
1475
+ }, _$zod_v4_core0.$strip>], "refClass">>>;
1476
+ }, _$zod_v4_core0.$strip>>;
1477
+ }, _$zod_v4_core0.$strip>>;
1478
+ representations: _$zod.ZodOptional<_$zod.ZodObject<{
1479
+ markdown: _$zod.ZodOptional<_$zod.ZodString>;
1480
+ summary: _$zod.ZodOptional<_$zod.ZodString>;
1481
+ plaintext: _$zod.ZodOptional<_$zod.ZodString>;
1482
+ }, _$zod_v4_core0.$strip>>;
1483
+ actor: _$zod.ZodObject<{
1484
+ kind: _$zod.ZodString;
1485
+ id: _$zod.ZodString;
1486
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1487
+ }, _$zod_v4_core0.$strip>;
1488
+ timestamp: _$zod.ZodNumber;
1489
+ createdAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1490
+ }, _$zod_v4_core0.$strip>>;
1491
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1492
+ executionId: _$zod.ZodString;
1493
+ workflowId: _$zod.ZodString;
1494
+ status: _$zod.ZodLiteral<"failed">;
1495
+ error: _$zod.ZodString;
1496
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1497
+ executionId: _$zod.ZodString;
1498
+ workflowId: _$zod.ZodString;
1499
+ status: _$zod.ZodLiteral<"cancelled">;
1500
+ reason: _$zod.ZodOptional<_$zod.ZodString>;
1501
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
1502
+ executionId: _$zod.ZodString;
1503
+ workflowId: _$zod.ZodString;
1504
+ status: _$zod.ZodLiteral<"paused">;
1505
+ pausedAtGateId: _$zod.ZodString;
1506
+ pausedAtFrameId: _$zod.ZodString;
1507
+ }, _$zod_v4_core0.$strict>], "status">;
1508
+ }, _$zod_v4_core0.$strict>;
1509
+ response: _$zod.ZodObject<{
1510
+ decision: _$zod.ZodEnum<{
1511
+ accepted: "accepted";
1512
+ duplicate: "duplicate";
1513
+ conflict: "conflict";
1514
+ fenced: "fenced";
1515
+ }>;
1516
+ }, _$zod_v4_core0.$strict>;
1517
+ };
1518
+ 'control.bootstrap.claim': {
1519
+ request: _$zod.ZodObject<{
1520
+ executionId: _$zod.ZodString;
1521
+ executionAttemptId: _$zod.ZodString;
1522
+ }, _$zod_v4_core0.$strict>;
1523
+ response: _$zod.ZodObject<{
1524
+ busUrl: _$zod.ZodString;
1525
+ busAuthSecret: _$zod.ZodString;
1526
+ }, _$zod_v4_core0.$strict>;
1527
+ };
1528
+ 'lifecycle.provisioning': _$zod.ZodObject<{
1529
+ executionAttemptId: _$zod.ZodString;
1530
+ executionId: _$zod.ZodString;
1531
+ environment: _$zod.ZodString;
1532
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1533
+ }, _$zod_v4_core0.$strip>;
1534
+ 'lifecycle.booting': _$zod.ZodObject<{
1535
+ executionAttemptId: _$zod.ZodString;
1536
+ executionId: _$zod.ZodString;
1537
+ environment: _$zod.ZodString;
1538
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1539
+ }, _$zod_v4_core0.$strip>;
1540
+ 'lifecycle.ready': _$zod.ZodObject<{
1541
+ executionAttemptId: _$zod.ZodString;
1542
+ executionId: _$zod.ZodString;
1543
+ environment: _$zod.ZodString;
1544
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1545
+ adapters: _$zod.ZodDefault<_$zod.ZodArray<_$zod.ZodString>>;
1546
+ }, _$zod_v4_core0.$strip>;
1547
+ 'lifecycle.busy': _$zod.ZodObject<{
1548
+ executionAttemptId: _$zod.ZodString;
1549
+ executionId: _$zod.ZodString;
1550
+ environment: _$zod.ZodString;
1551
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1552
+ }, _$zod_v4_core0.$strip>;
1553
+ 'lifecycle.completed': _$zod.ZodObject<{
1554
+ executionAttemptId: _$zod.ZodString;
1555
+ executionId: _$zod.ZodString;
1556
+ environment: _$zod.ZodString;
1557
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1558
+ }, _$zod_v4_core0.$strip>;
1559
+ 'lifecycle.failed': _$zod.ZodObject<{
1560
+ executionAttemptId: _$zod.ZodString;
1561
+ executionId: _$zod.ZodString;
1562
+ environment: _$zod.ZodString;
1563
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1564
+ error: _$zod.ZodString;
1565
+ }, _$zod_v4_core0.$strip>;
1566
+ 'lifecycle.terminated': _$zod.ZodObject<{
1567
+ executionAttemptId: _$zod.ZodString;
1568
+ executionId: _$zod.ZodString;
1569
+ environment: _$zod.ZodString;
1570
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1571
+ reason: _$zod.ZodOptional<_$zod.ZodString>;
1572
+ }, _$zod_v4_core0.$strip>;
1573
+ 'lifecycle.paused': _$zod.ZodObject<{
1574
+ executionAttemptId: _$zod.ZodString;
1575
+ executionId: _$zod.ZodString;
1576
+ environment: _$zod.ZodString;
1577
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1578
+ pausedAtGateId: _$zod.ZodString;
1579
+ pausedAtFrameId: _$zod.ZodString;
1580
+ }, _$zod_v4_core0.$strip>;
1581
+ }>, "worker-node">;
1582
+ //#endregion
1583
+ //#region core/contracts/src/worker-node/suspension.d.ts
1584
+ /**
1585
+ * Strategy a WorkerNode provider uses when a workflow reaches a suspension point.
1586
+ *
1587
+ * - `wait-in-process`: the worker blocks in-process until the gate is resolved
1588
+ * (default, suitable for local Piscina threads and in-process runners).
1589
+ * - `exit-and-redispatch`: the worker exits and is re-dispatched via a fresh
1590
+ * `provision()` call when the gate resolves; state must be externally persisted.
1591
+ * - `exit-and-resume`: the worker exits and is later resumed on its original
1592
+ * provider-managed environment via the provider's attach/resume path.
1593
+ */
1594
+ declare const SuspensionStrategySchema: z.ZodEnum<{
1595
+ "wait-in-process": "wait-in-process";
1596
+ "exit-and-redispatch": "exit-and-redispatch";
1597
+ "exit-and-resume": "exit-and-resume";
1598
+ }>;
1599
+ /** Provider suspension behavior selected for a workflow execution. */
1600
+ type SuspensionStrategy = z.infer<typeof SuspensionStrategySchema>;
1601
+ //#endregion
1602
+ export { WorkerNodeSubjects$1 as a, WorkerNodeDispatchRequestSchema as c, WorkerNodeNamespace as i, WorkerNodeDispatchResponseSchema as l, SuspensionStrategySchema as n, WorkerBootstrapClaimRequest as o, WORKER_BOOTSTRAP_IDENTITY_ID as r, WorkerBootstrapClaimResponse$1 as s, SuspensionStrategy as t, WorkerNodeSchemas as u };