@makaio/framework 1.0.0-dev-1788511348215 → 1.0.0-dev-1788811230746

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 (300) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/config/index.d.mts +1 -1
  3. package/dist/adapters/index.d.mts +2 -2
  4. package/dist/adapters/node.d.mts +1 -1
  5. package/dist/attempt-fixtures-CnrnF5_4.mjs +1 -0
  6. package/dist/attempt-record-codec-B32Whx75.mjs +1 -0
  7. package/dist/authority-state-bootstrap-7Cgb9TR2.mjs +1 -0
  8. package/dist/bootstrap-start-client-DrvofWwi.mjs +1 -0
  9. package/dist/bus/index.d.mts +27 -9
  10. package/dist/bus/index.mjs +1 -1
  11. package/dist/bus-CobBUqjo.mjs +2 -0
  12. package/dist/bus-Uy9C3TBM.mjs +1 -0
  13. package/dist/clients/index.d.mts +1 -1
  14. package/dist/clients/managed-install.d.mts +1 -1
  15. package/dist/code-execution/worker-entry.d.mts +1 -1
  16. package/dist/{context-resolution-841T7jBI.d.mts → context-resolution-C2VBZhaR.d.mts} +5 -5
  17. package/dist/contracts/adapter/index.d.mts +2 -2
  18. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  19. package/dist/contracts/artifact/index.d.mts +2 -2
  20. package/dist/contracts/auth/index.d.mts +2 -2
  21. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  22. package/dist/contracts/canonical-model/index.d.mts +1 -1
  23. package/dist/contracts/capabilities/index.d.mts +2 -2
  24. package/dist/contracts/client/index.d.mts +2 -2
  25. package/dist/contracts/code-execution/index.d.mts +1 -1
  26. package/dist/contracts/common/index.d.mts +1 -1
  27. package/dist/contracts/config/index.d.mts +1 -1
  28. package/dist/contracts/extension/index.d.mts +5 -5
  29. package/dist/contracts/facet/index.d.mts +1 -1
  30. package/dist/contracts/harness/index.d.mts +1 -1
  31. package/dist/contracts/host/index.d.mts +1 -1
  32. package/dist/contracts/index.d.mts +1254 -42
  33. package/dist/contracts/index.mjs +1 -1
  34. package/dist/contracts/materialization/index.d.mts +3 -3
  35. package/dist/contracts/model-registry/index.d.mts +1 -1
  36. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  37. package/dist/contracts/platform/index.d.mts +1 -1
  38. package/dist/contracts/provider/index.d.mts +2 -2
  39. package/dist/contracts/reaction/index.d.mts +1 -1
  40. package/dist/contracts/session/index.d.mts +2 -2
  41. package/dist/contracts/shared/index.d.mts +2 -2
  42. package/dist/contracts/skill/index.d.mts +1 -1
  43. package/dist/contracts/telemetry/index.d.mts +1 -1
  44. package/dist/contracts/timeout/index.d.mts +1 -1
  45. package/dist/contracts/variant/index.d.mts +1 -1
  46. package/dist/contracts/worker/index.d.mts +2 -2
  47. package/dist/contracts/worker/index.mjs +1 -1
  48. package/dist/contracts/workflow/index.d.mts +2 -2
  49. package/dist/{contribution-CUHLVLsT.d.mts → contribution-Crm-mctl.d.mts} +2 -2
  50. package/dist/{definition-DyGImhyi.d.mts → definition-u_5rYQtc.d.mts} +1 -1
  51. package/dist/{detached-extension-handle-D0aI0pJA.mjs → detached-extension-handle-DAXKQT9c.mjs} +1 -1
  52. package/dist/execution-attempt-repository-Djg3qDRv.mjs +1 -0
  53. package/dist/{execution-attempt-repository-DY4KTptE.d.mts → execution-attempt-repository-OryBjQQI.d.mts} +740 -9
  54. package/dist/{execution-target-H0RWV7Py.mjs → execution-target-BcoF_oDB.mjs} +1 -1
  55. package/dist/{hook-responses-9Ywsqzzq.d.mts → hook-responses-DcapjzLb.d.mts} +1 -1
  56. package/dist/{index-C6aSnO8m.d.mts → index-9PUmCySn.d.mts} +587 -67
  57. package/dist/{index-BmilK-co2.d.mts → index-B6Kr3cxD2.d.mts} +245 -46
  58. package/dist/{index-BNzUyVwV.d.mts → index-BDDavX2S.d.mts} +2 -2
  59. package/dist/{index-DHnSLGP4.d.mts → index-BDzqNCXs.d.mts} +1 -1
  60. package/dist/{index-Wbd_syN2.d.mts → index-BTCodvXA.d.mts} +41 -36
  61. package/dist/{index-B0VO0rAl.d.mts → index-Bo3LRb2u.d.mts} +1 -1
  62. package/dist/{index-Dg11JxKZ.d.mts → index-BwccWakG.d.mts} +1 -1
  63. package/dist/{index-DHH-93YD.d.mts → index-BxTM9lY0.d.mts} +3 -3
  64. package/dist/{index-CDud4NAm.d.mts → index-CAYbui7g.d.mts} +28 -21
  65. package/dist/{index-CPRQ4dWX.d.mts → index-CBixkF0n.d.mts} +12 -0
  66. package/dist/{index-C146Eq_J.d.mts → index-CXH1Bk0W.d.mts} +3 -3
  67. package/dist/{index-BmevAPME2.d.mts → index-Cbv_3Xi12.d.mts} +1 -1
  68. package/dist/{index-DWBkiiXH.d.mts → index-CfJKwWJa.d.mts} +1 -1
  69. package/dist/{index-B0yMCJW8.d.mts → index-CgqEyk9R.d.mts} +1 -1
  70. package/dist/{index-DI2lS7VT.d.mts → index-CnGHGFMC.d.mts} +13 -13
  71. package/dist/{index-B_8bA2JW.d.mts → index-DEpAI8CY.d.mts} +1 -1
  72. package/dist/{index-CIEycZrt.d.mts → index-DIhkK4Y0.d.mts} +1 -1
  73. package/dist/{index-DNI6UF9h.d.mts → index-Df9L5wwp.d.mts} +10 -10
  74. package/dist/{index-Bqk0pJBQ2.d.mts → index-DrO6QLwf2.d.mts} +1 -1
  75. package/dist/{index-DXtQRehh.d.mts → index-DsjUnKyr.d.mts} +1 -1
  76. package/dist/{index-Cny5RvjO.d.mts → index-J-kv32zv.d.mts} +2 -2
  77. package/dist/{index-CmwAJ8-5.d.mts → index-QJW9g1mG.d.mts} +1 -1
  78. package/dist/kernel/cli/index.d.mts +2 -2
  79. package/dist/kernel/cli/register.d.mts +1 -1
  80. package/dist/kernel/extension/index.d.mts +1 -1
  81. package/dist/kernel/index.d.mts +5 -5
  82. package/dist/kernel/namespace/index.d.mts +1 -1
  83. package/dist/kernel/observability/index.d.mts +1 -1
  84. package/dist/kernel/providers/index.d.mts +1 -1
  85. package/dist/kernel/window/index.d.mts +1 -1
  86. package/dist/{lib-Cm-uEoC1.mjs → lib-271rPR7A.mjs} +1 -1
  87. package/dist/{lib-BpGvHZye.mjs → lib-RFpLjUda.mjs} +1 -1
  88. package/dist/{load-extensions-BQoXaHhR.d.mts → load-extensions-CY8ELnCp.d.mts} +1 -1
  89. package/dist/{load-extensions-DG5LvPyM.mjs → load-extensions-D9inWcDy.mjs} +1 -1
  90. package/dist/{namespace-K23m4b0n.d.mts → namespace-BkOvOAU5.d.mts} +6 -6
  91. package/dist/node/bus-server/index.d.mts +1 -1
  92. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  93. package/dist/node/transports/index.d.mts +56 -16
  94. package/dist/node/transports/index.mjs +2 -2
  95. package/dist/package-DEYXB80d.mjs +7 -0
  96. package/dist/{package-efR90JGe.d.mts → package-eOEt1w6u.d.mts} +498 -17
  97. package/dist/package.json +1 -1
  98. package/dist/rules/index.d.mts +1 -1
  99. package/dist/rules/schemas.d.mts +1 -1
  100. package/dist/runtime-bun/index.mjs +1 -1
  101. package/dist/runtime-node/code-execution/index.d.mts +2 -2
  102. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  103. package/dist/runtime-node/extension-validation.d.mts +1 -1
  104. package/dist/runtime-node/extension-validation.mjs +1 -1
  105. package/dist/runtime-node/index.d.mts +6 -6
  106. package/dist/runtime-node/index.mjs +24 -24
  107. package/dist/runtime-node/makaio-config.d.mts +1 -1
  108. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  109. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  110. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  111. package/dist/runtime-node/workflow-worker/worker-entry.d.mts +69 -9
  112. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  113. package/dist/schemas-CeHU889f.mjs +1 -0
  114. package/dist/{schemas-BCXvEWyF.d.mts → schemas-DqnA42bw.d.mts} +4 -4
  115. package/dist/{schemas-D7EeKBDJ.d.mts → schemas-DuJs6Iqj.d.mts} +4 -4
  116. package/dist/scoped-bus-DwVrmi_1.mjs +1 -0
  117. package/dist/services/adapter-runtime/index.d.mts +3 -3
  118. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  119. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  120. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  121. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  122. package/dist/services/agent-runtime/index.d.mts +2 -2
  123. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  124. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  125. package/dist/services/capability/index.d.mts +2 -2
  126. package/dist/services/code-execution/index.d.mts +1 -1
  127. package/dist/services/codebase/index.d.mts +2 -2
  128. package/dist/services/codebase/namespace.d.mts +1 -1
  129. package/dist/services/codebase/schemas.d.mts +1 -1
  130. package/dist/services/compression/index.d.mts +2 -2
  131. package/dist/services/compression/namespace.d.mts +1 -1
  132. package/dist/services/compression/schemas.d.mts +1 -1
  133. package/dist/services/context-rules/index.d.mts +1 -1
  134. package/dist/services/execution-target/index.d.mts +3 -3
  135. package/dist/services/execution-target/index.mjs +1 -1
  136. package/dist/services/execution-target/namespace.d.mts +1 -1
  137. package/dist/services/execution-target/namespace.mjs +1 -1
  138. package/dist/services/execution-target/schemas.d.mts +1 -1
  139. package/dist/services/execution-target/schemas.mjs +1 -1
  140. package/dist/services/filesystem/index.d.mts +1 -1
  141. package/dist/services/filesystem/namespace.d.mts +6 -6
  142. package/dist/services/filesystem/schemas.d.mts +3 -3
  143. package/dist/services/index.d.mts +48 -46
  144. package/dist/services/index.mjs +1 -1
  145. package/dist/services/log-import/browser.d.mts +2 -2
  146. package/dist/services/log-import/index.d.mts +2 -2
  147. package/dist/services/log-import/log-import.d.mts +1 -1
  148. package/dist/services/materialization/index.d.mts +1 -1
  149. package/dist/services/model-registry/index.d.mts +1 -1
  150. package/dist/services/preferences/index.d.mts +2 -2
  151. package/dist/services/preferences/schemas.d.mts +1 -1
  152. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  153. package/dist/services/provider-context/index.d.mts +1 -1
  154. package/dist/services/session/handlers/index.d.mts +1 -1
  155. package/dist/services/session/index.d.mts +9 -9
  156. package/dist/services/session/messages/namespace.d.mts +1 -1
  157. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  158. package/dist/services/session/session-events/namespace.d.mts +1 -1
  159. package/dist/services/session/storage/namespace.d.mts +1 -1
  160. package/dist/services/session/storage/schema.d.mts +1 -1
  161. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  162. package/dist/services/session/turns/namespace.d.mts +1 -1
  163. package/dist/services/session-editor/index.d.mts +1 -1
  164. package/dist/services/settings/index.d.mts +3 -3
  165. package/dist/services/settings/namespace.d.mts +4 -4
  166. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  167. package/dist/services/settings/storage/index.d.mts +3 -3
  168. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  169. package/dist/services/subagent/index.d.mts +1 -1
  170. package/dist/services/subagent-template/index.d.mts +2 -2
  171. package/dist/services/subagent-template/namespace.d.mts +1 -1
  172. package/dist/services/subagent-template/schemas.d.mts +1 -1
  173. package/dist/services/tool-approval/index.d.mts +1 -1
  174. package/dist/services/tools/index.d.mts +1 -1
  175. package/dist/services/tray-menu/index.d.mts +3 -3
  176. package/dist/services/tray-menu/namespace.d.mts +1 -1
  177. package/dist/services/tray-menu/schemas.d.mts +1 -1
  178. package/dist/services/turn/index.d.mts +1 -1
  179. package/dist/services/turn/namespace.d.mts +1 -1
  180. package/dist/services/workflow-transitions/index.d.mts +1 -1
  181. package/dist/{src-BmSQ3rlz.mjs → src-DEgV239R.mjs} +1 -1
  182. package/dist/storage/drizzle/client.d.mts +1 -1
  183. package/dist/storage/drizzle/index.d.mts +1 -1
  184. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  185. package/dist/storage/handlers/index.d.mts +1 -1
  186. package/dist/{transition-D3zUBTPc.d.mts → transition-BB138WkK.d.mts} +2 -2
  187. package/dist/{types-DcxBYlPA.d.mts → types-CR23FzmK.d.mts} +3 -3
  188. package/dist/{types-CtDGkyLx2.d.mts → types-p55qvq922.d.mts} +1 -1
  189. package/dist/ui-kernel/index.d.mts +1 -1
  190. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  191. package/dist/{view-builder-B0j9p5C0.d.mts → view-builder-qIGQrZfs.d.mts} +1 -1
  192. package/dist/worker-DPTYFyNP.mjs +1 -0
  193. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  194. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  195. package/dist/workflow-engine/index.d.mts +396 -177
  196. package/dist/workflow-engine/index.mjs +1 -1
  197. package/dist/workflow-engine/package.d.mts +1 -1
  198. package/dist/workflow-engine/package.mjs +1 -1
  199. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  200. package/dist/workflow-engine/testing/conformance.d.mts +85 -0
  201. package/dist/workflow-engine/testing/conformance.mjs +1 -0
  202. package/dist/workflow-engine/testing/index.d.mts +63 -4
  203. package/dist/workflow-engine/testing/index.mjs +1 -1
  204. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  205. package/dist/workflow-engine/testing/sqlite.mjs +136 -39
  206. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  207. package/dist/workflow-worker-BW3CE0YG.mjs +2 -0
  208. package/package.json +13 -1
  209. package/dist/attempt-record-codec-dC9LSFUE.mjs +0 -1
  210. package/dist/authority-state-bootstrap-eitx6Ukn.mjs +0 -1
  211. package/dist/await-trigger-Bkg2BQfg.mjs +0 -1
  212. package/dist/bus-D6NoBhIV.mjs +0 -2
  213. package/dist/bus-UgFdHybD.mjs +0 -1
  214. package/dist/package-Cgjpm9om.mjs +0 -7
  215. package/dist/schemas-TK29KWx-.mjs +0 -1
  216. package/dist/scoped-bus-DoPmCJeM.mjs +0 -1
  217. package/dist/worker-CARV52hT.mjs +0 -1
  218. package/dist/workflow-worker-Dul-wcOR.mjs +0 -1
  219. /package/dist/{adapter-binding-CATvmGuz.d.mts → adapter-binding-D68U_Hmh.d.mts} +0 -0
  220. /package/dist/{base-orchestrator-B4YW6z_Q.d.mts → base-orchestrator-DA95InJU.d.mts} +0 -0
  221. /package/dist/{capability-service-BW1-teFU.d.mts → capability-service-s4ZYSEWc.d.mts} +0 -0
  222. /package/dist/{client-binary-version-verifier-lcv83Hq3.d.mts → client-binary-version-verifier-kd9LP9AQ.d.mts} +0 -0
  223. /package/dist/{client-BG0WX5Vz.d.mts → client-f5A-6La5.d.mts} +0 -0
  224. /package/dist/{clients-namespace-DLAjOTTb.d.mts → clients-namespace-q4PqU1cA.d.mts} +0 -0
  225. /package/dist/{config-namespace-CH7sJZ4f.d.mts → config-namespace-Cp71zTT0.d.mts} +0 -0
  226. /package/dist/{create-static-mount-DxuixuLZ.mjs → create-static-mount-CmQgA0jq.mjs} +0 -0
  227. /package/dist/{definition-BrgzUuFk.d.mts → definition-BHSzhrUf.d.mts} +0 -0
  228. /package/dist/{extension-context-QmFuHdq5.d.mts → extension-context-BmU5XKjI.d.mts} +0 -0
  229. /package/dist/{extension-discovery-Dhu3WplO.d.mts → extension-discovery-DnO7bINK.d.mts} +0 -0
  230. /package/dist/{filesystem-service-ZJ43SbBi.d.mts → filesystem-service-BBArEDPL.d.mts} +0 -0
  231. /package/dist/{index-BC-6qNeo.d.mts → index-B-zl-O-Y.d.mts} +0 -0
  232. /package/dist/{index-BfV8U4XX.d.mts → index-BB0HypzC.d.mts} +0 -0
  233. /package/dist/{index-8y4hT9WL.d.mts → index-Bf2MgOni.d.mts} +0 -0
  234. /package/dist/{index-6trZYnUP2.d.mts → index-BhOMZWZa2.d.mts} +0 -0
  235. /package/dist/{index-BkbnC65b.d.mts → index-C-cnB1Te.d.mts} +0 -0
  236. /package/dist/{index-B4svZC6L.d.mts → index-C9xVZ-gt.d.mts} +0 -0
  237. /package/dist/{index-kzIjbrS02.d.mts → index-CDLf3Fka2.d.mts} +0 -0
  238. /package/dist/{index-jxPncqWZ2.d.mts → index-COOM1j_L2.d.mts} +0 -0
  239. /package/dist/{index-BuMsrli0.d.mts → index-CPWBGotQ.d.mts} +0 -0
  240. /package/dist/{index-pvX-BIpr2.d.mts → index-CcrXttC02.d.mts} +0 -0
  241. /package/dist/{index-B5dP8rj6.d.mts → index-CkpR5sIH.d.mts} +0 -0
  242. /package/dist/{index-CmbkCxj-.d.mts → index-Co1da7YK.d.mts} +0 -0
  243. /package/dist/{index-VzLAV0Yt.d.mts → index-CrcfeFOo.d.mts} +0 -0
  244. /package/dist/{index-BM56936c.d.mts → index-CsFN2nv7.d.mts} +0 -0
  245. /package/dist/{index-CVpaGijY.d.mts → index-D-JbTXIH.d.mts} +0 -0
  246. /package/dist/{index-B-3I98nw.d.mts → index-D6RMsZko.d.mts} +0 -0
  247. /package/dist/{index-l01zsChf.d.mts → index-D94yE5Dr.d.mts} +0 -0
  248. /package/dist/{index-D037TVsm.d.mts → index-DQD2-jcL.d.mts} +0 -0
  249. /package/dist/{index-D8D-yibS2.d.mts → index-DSLTgc7h2.d.mts} +0 -0
  250. /package/dist/{index-CL0Jo1b92.d.mts → index-DSN2t48K.d.mts} +0 -0
  251. /package/dist/{index-DQ8o3JGi.d.mts → index-DW4SE_sH.d.mts} +0 -0
  252. /package/dist/{index-DgspOUa72.d.mts → index-DYHxzwok2.d.mts} +0 -0
  253. /package/dist/{index-BMRB9yhF.d.mts → index-D_sMzTvv.d.mts} +0 -0
  254. /package/dist/{index-BFWvT0NG.d.mts → index-Df1c_2PF.d.mts} +0 -0
  255. /package/dist/{index-B2Y1Wvbh.d.mts → index-Dn_SGTgp.d.mts} +0 -0
  256. /package/dist/{index-C4V8Pmi4.d.mts → index-KAAnSRZt.d.mts} +0 -0
  257. /package/dist/{index-Ek4y8M9J2.d.mts → index-NhW2h2wH2.d.mts} +0 -0
  258. /package/dist/{index-CqdMbYmR.d.mts → index-mK-rgiit.d.mts} +0 -0
  259. /package/dist/{index-BTEJfzjE.d.mts → index-xaBSwHxJ.d.mts} +0 -0
  260. /package/dist/{json-value-DPqb-SJ8.d.mts → json-value-pX6xnLGw.d.mts} +0 -0
  261. /package/dist/{jsonl-transport-Cyyh5Wje.mjs → jsonl-transport-DQIlRX_y.mjs} +0 -0
  262. /package/dist/{lib-BqV8hYtk.mjs → lib-6eNAiNK7.mjs} +0 -0
  263. /package/dist/{namespace-DknCutQZ.d.mts → namespace-2qvc6E2Y.d.mts} +0 -0
  264. /package/dist/{namespace-DBO1OzYB.d.mts → namespace-9ychTEk_.d.mts} +0 -0
  265. /package/dist/{namespace-CVFaZv8x.d.mts → namespace-BGDq7HmW.d.mts} +0 -0
  266. /package/dist/{namespace-BUYDmd0r.d.mts → namespace-CPR2xem0.d.mts} +0 -0
  267. /package/dist/{namespace-CPG6u60N.d.mts → namespace-CQEYu8az.d.mts} +0 -0
  268. /package/dist/{namespace-DqZweTbX.d.mts → namespace-CVg_cpkh.d.mts} +0 -0
  269. /package/dist/{namespace-DOezqDti.d.mts → namespace-CirognbA.d.mts} +0 -0
  270. /package/dist/{namespace-l-HG1rLF.d.mts → namespace-Cs-cOyrn.d.mts} +0 -0
  271. /package/dist/{namespace-BNp7n_gu.d.mts → namespace-CxXNlHpn.d.mts} +0 -0
  272. /package/dist/{namespace-BdAK0lD8.d.mts → namespace-DAINF1II.d.mts} +0 -0
  273. /package/dist/{namespace-B0ftHlK3.d.mts → namespace-DG0hjPcx.d.mts} +0 -0
  274. /package/dist/{namespace-BRuHzhPo.d.mts → namespace-DokogwAZ.d.mts} +0 -0
  275. /package/dist/{namespace-BGRHcrmp.d.mts → namespace-DykqxEyX.d.mts} +0 -0
  276. /package/dist/{orchestrator-shared-CNHSImNY.d.mts → orchestrator-shared-BzqqcY2z.d.mts} +0 -0
  277. /package/dist/{packages-CxPMEg8D.d.mts → packages-Cx-BwSZr.d.mts} +0 -0
  278. /package/dist/{provider-operation-DbdyFwNm.d.mts → provider-operation-B2wQST6N.d.mts} +0 -0
  279. /package/dist/{providers-namespace-CfZKp-C0.d.mts → providers-namespace-DsKTnuO1.d.mts} +0 -0
  280. /package/dist/{schema-B3Pf7JP7.d.mts → schema-zSyY22Ck.d.mts} +0 -0
  281. /package/dist/{schemas-ChmQldVH.d.mts → schemas--LAbwXvw.d.mts} +0 -0
  282. /package/dist/{schemas-CF8QwRqt.d.mts → schemas-Bk50UoMA.d.mts} +0 -0
  283. /package/dist/{schemas-bfZNpl0B.d.mts → schemas-CHRuwe18.d.mts} +0 -0
  284. /package/dist/{schemas-D7ScxLrf.d.mts → schemas-ClGDFa44.d.mts} +0 -0
  285. /package/dist/{schemas-BGvkTiCx.d.mts → schemas-CzGN0eqW.d.mts} +0 -0
  286. /package/dist/{schemas-C1mxTfd7.d.mts → schemas-D0_kfoDf.d.mts} +0 -0
  287. /package/dist/{schemas-Pe892GgN.d.mts → schemas-DmULJ7Jk.d.mts} +0 -0
  288. /package/dist/{schemas-B50oWBuj.d.mts → schemas-Dn1JDTPw.d.mts} +0 -0
  289. /package/dist/{schemas-B6Q-qdmn.d.mts → schemas-Dxvjq-Bi.d.mts} +0 -0
  290. /package/dist/{server-lifecycle-L8zja8t8.d.mts → server-lifecycle-WFZcCMwF.d.mts} +0 -0
  291. /package/dist/{session-lineage-bUkd3fqx.d.mts → session-lineage-C9kppcCa.d.mts} +0 -0
  292. /package/dist/{src-BacfeiI4.mjs → src-DIyWekjW.mjs} +0 -0
  293. /package/dist/{storage-namespace-YmE8XCCL.d.mts → storage-namespace-BWU-8rvj.d.mts} +0 -0
  294. /package/dist/{storage-namespace-definition-BsnYAPot.d.mts → storage-namespace-definition-B-8JKvzm.d.mts} +0 -0
  295. /package/dist/{types-DdpSEmTO.d.mts → types-8rMNe3AS.d.mts} +0 -0
  296. /package/dist/{types-DnK6Wa_Y.d.mts → types-BFeWU3WM.d.mts} +0 -0
  297. /package/dist/{types-tyv0B605.d.mts → types-BnPJa-C_.d.mts} +0 -0
  298. /package/dist/{types-OKJCOjme.d.mts → types-DQTCNM2i.d.mts} +0 -0
  299. /package/dist/{types-BlB23n4f.d.mts → types-DxHeL0pF.d.mts} +0 -0
  300. /package/dist/{window-registry-Pcf35cac.d.mts → window-registry-DQP5P2_0.d.mts} +0 -0
@@ -1,12 +1,13 @@
1
- import { a as ProviderOperationClaim, c as ProviderOperationObligation, i as ProcessBoundProvisionerLossProof, l as ProviderOperationOwnershipRecord, n as InitialProviderOperationClaimContextSource, o as ProviderOperationClaimDecision, r as PROVIDER_OPERATION_OBLIGATIONS, s as ProviderOperationMutationDecision, t as InitialProviderOperationClaimContext } from "../provider-operation-DbdyFwNm.mjs";
2
- import { A as RecordProviderOperationUncertaintyInput, C as PendingAttemptAbandonmentDecision, D as RecordAllocationInput, E as ProvisioningClaimDecision, F as TakeOverProviderOperationInput, I as decodeDurableOutcome, L as durableOutcome, M as RecordProvisioningAbsentInput, N as RecoverableAttemptRecord, O as RecordAllocationTerminatedInput, P as RenewProviderOperationClaimInput, R as sameAllocationRef, S as OutcomeCodec, T as ProvisioningAbsenceDecision, _ as ExecutionAttemptSettlementKind, a as BeginProvisioningInput, b as HandoffProviderOperationInput, c as DurableOutcome, d as ExecutionAttemptCreate, f as ExecutionAttemptOutcomeCommit, g as ExecutionAttemptRepository, h as ExecutionAttemptRecoveryOperations, i as AllocationTerminationDecision, j as RecordProvisionerIncarnationLostInput, k as RecordInfrastructureFailureInput, l as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, m as ExecutionAttemptRecord, n as AllocationRefEvolution, o as DiscoveredAllocationDecision, p as ExecutionAttemptOutcomeDecision, r as AllocationRefEvolutionDecision, s as DuplicateExecutionAttemptError, t as AllocationRecordingDecision, u as EXECUTION_ATTEMPT_STATUSES, v as ExecutionAttemptStatus, w as ProvisionerIncarnationLossDecision, x as InfrastructureFailureDecision, y as ExecutionOwnerId, z as sameDurableOutcome } from "../execution-attempt-repository-DY4KTptE.mjs";
3
- import { a as WorkflowEngineServiceOptions, c as ExecutionAttemptAuthority, d as WorkflowWorkspaceRootResolver, f as registerDrizzleWorkflowStorage, i as WorkflowEngineService, l as WorkflowMaterializationSpecResolution, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowMaterializationSpecResolver } from "../package-efR90JGe.mjs";
1
+ import { a as ProviderOperationClaim, c as ProviderOperationObligation, i as ProcessBoundProvisionerLossProof, l as ProviderOperationOwnershipRecord, n as InitialProviderOperationClaimContextSource, o as ProviderOperationClaimDecision, r as PROVIDER_OPERATION_OBLIGATIONS, s as ProviderOperationMutationDecision, t as InitialProviderOperationClaimContext } from "../provider-operation-B2wQST6N.mjs";
2
+ import { $ as RuntimeReadinessDecision, A as MarkRuntimeReadyInput, B as ReadBootstrapStartStateInput, C as ExecutionAttemptRepository, E as ExecutionOwnerId, F as PendingAttemptAbandonmentDecision, G as RecordProvisionerIncarnationLostInput, H as RecordAllocationTerminatedInput, J as RegisterRuntimeInput, K as RecordProvisioningAbsentInput, L as ProvisionerIncarnationLossDecision, M as OperationCompletionDecision, O as HandoffProviderOperationInput, P as OutcomeCodec, Q as RuntimeOutcomeFenceMismatchError, R as ProvisioningAbsenceDecision, S as ExecutionAttemptRecoveryOperations, T as ExecutionAttemptStatus, U as RecordInfrastructureFailureInput, V as RecordAllocationInput, W as RecordProviderOperationUncertaintyInput, Y as RenewProviderOperationClaimInput, Z as RuntimeOutcomeFence, _ as EXECUTION_ATTEMPT_STATUSES, a as AllocationRefEvolutionDecision, at as sameAllocationRef, b as ExecutionAttemptOutcomeDecision, ct as AttemptReachabilityDecision, d as BootstrapStartState, dt as evaluateOperationCompletion, et as RuntimeRegistrationDecision, f as CompleteOperationInput, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, h as DurableOutcome, i as AllocationRefEvolution, it as durableOutcome, j as OperationAdmissionDecision, k as InfrastructureFailureDecision, l as AttemptOperationStartGate, lt as evaluateAttemptReachability, m as DuplicateExecutionAttemptError, mt as evaluateRuntimeRegistration, n as AdmitOperationInput, nt as assertRuntimeOutcomeFence, o as AllocationTerminationDecision, ot as sameDurableOutcome, p as DiscoveredAllocationDecision, pt as evaluateRuntimeReadiness, q as RecoverableAttemptRecord, r as AllocationRecordingDecision, rt as decodeDurableOutcome, s as AttemptControlState, st as AttemptReachability, t as ATTEMPT_OPERATION_START_GATES, tt as TakeOverProviderOperationInput, u as BeginProvisioningInput, ut as evaluateOperationAdmission, v as ExecutionAttemptCreate, w as ExecutionAttemptSettlementKind, x as ExecutionAttemptRecord, y as ExecutionAttemptOutcomeCommit, z as ProvisioningClaimDecision } from "../execution-attempt-repository-OryBjQQI.mjs";
3
+ import { A as WorkflowWorkspaceRootResolver, C as OutcomePreCommitValidation, D as BootstrapStartOptions, E as BootstrapStartAuthority, O as WorkflowMaterializationSpecResolution, S as OutcomeConvergenceInput, T as ExecutionAttemptAuthority, _ as ExecutionAttemptHandlersDeps, a as WorkflowEngineServiceOptions, b as AttemptOutcomeSubmissionDeps, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as AttemptOutcomeDecodingInput, h as workflowAttemptOutcomeCodec, i as WorkflowEngineService, j as registerDrizzleWorkflowStorage, k as WorkflowMaterializationSpecResolver, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerResult, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as registerExecutionAttemptHandlers, w as submitAttemptOutcome, x as OutcomeConvergence, y as AttemptOutcomeSubmission } from "../package-eOEt1w6u.mjs";
4
4
  import { WorkflowTriggerPayloadPredicate, assertWorkflowTriggerPayload, compileWorkflowTriggerBindingFilter } from "./workflow-trigger-binding-consumer.mjs";
5
5
  import { z } from "zod";
6
6
  import * as _$_makaio_core0 from "@makaio/framework/core";
7
+ import { BaseMessageContext } from "@makaio/framework/core";
7
8
  import { IMakaioBus } from "@makaio/framework/bus";
8
9
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
9
- import { JsonPatchOperation, JsonValue, WorkflowAutomationTriggerBinding, WorkflowExecution, WorkflowExecutionSchema, WorkflowListQuerySchema, WorkflowRunResult, createWorkflowFinalizerNamespace } from "@makaio/framework/contracts";
10
+ import { ExecutionAttemptInstruction, ExecutionPreservationRequirements, JsonPatchOperation, JsonValue, WorkflowAutomationTriggerBinding, WorkflowExecution, WorkflowExecutionSchema, WorkflowListQuerySchema, WorkflowRunContext, WorkflowRunResult, WorkflowWorkerConfig, WorkspaceRequirement, createWorkflowFinalizerNamespace } from "@makaio/framework/contracts";
10
11
  import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
11
12
  import * as _$drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
12
13
  import * as _$_makaio_storage_drizzle0 from "@makaio/framework/storage/drizzle";
@@ -24,183 +25,401 @@ interface WorkflowSuccessFinalizer {
24
25
  readonly finalizeSubject: ReturnType<typeof createWorkflowFinalizerNamespace>['subjects']['finalize'];
25
26
  }
26
27
  //#endregion
27
- //#region subsystems/workflow-engine/src/authority-dispatch-runner.d.ts
28
+ //#region subsystems/workflow-engine/src/execution-bound-access.d.ts
28
29
  /**
29
- * Inputs for dispatching an Authority-owned attempt.
30
- * @typeParam TOutcome - Owner-specific outcome type committed per attempt.
30
+ * Authenticated dispatch identity carried by a remote workflow worker.
31
+ *
32
+ * Both fields are derived from the transport peer the receiving transport
33
+ * authenticated — never from the request payload — so a worker cannot claim
34
+ * another attempt or another execution.
31
35
  */
32
- interface AuthorityDispatchRunnerOptions<TOutcome> {
33
- /** Authority that persists and owns the execution attempt. */
34
- readonly authority: ExecutionAttemptAuthority<TOutcome>;
35
- /** Owner identifier of the aggregate that owns the attempt. */
36
- readonly executionId: ExecutionOwnerId;
37
- /** Dispatch operation whose successful return acknowledges acceptance. */
38
- readonly dispatch: (executionAttemptId: string) => Promise<unknown>;
36
+ interface ExecutionAttemptPeerIdentity {
37
+ /** Authority-created attempt identifier (`peer.id`). */
38
+ readonly executionAttemptId: string;
39
+ /** Workflow execution identifier from the Authority-issued `executionId` claim. */
40
+ readonly executionId: string;
39
41
  }
40
42
  /**
41
- * Dispatch an Authority-owned attempt and await its canonical outcome.
43
+ * Resolve the authenticated attempt identity of a remote caller.
42
44
  *
43
- * A rejected dispatch operation is not proof that no provider received the
44
- * request. The pending-abandonment CAS distinguishes a confirmed pre-allocation
45
- * failure from a lost acknowledgement after provisioning, allocation, or settlement.
46
- * @param options - Authority, owner identity, and dispatch operation.
47
- * @returns The Authority-committed outcome.
45
+ * This is the single derivation of "who is this worker" shared by every
46
+ * execution-bound seam in the subsystem. A caller qualifies only when the
47
+ * receiving transport authenticated it as a `workflow-execution-attempt` peer
48
+ * carrying both a non-empty attempt id and a non-empty Authority-issued
49
+ * `executionId` claim.
50
+ *
51
+ * Local origin is deliberately not considered here: each seam decides what a
52
+ * trusted local caller may do with the identity it already owns.
53
+ * @param ctx - Incoming message context.
54
+ * @returns Resolved attempt identity, or `null` when the caller is not an authenticated attempt peer.
48
55
  */
49
- declare function runAuthorityDispatchedAttempt<TOutcome>(options: AuthorityDispatchRunnerOptions<TOutcome>): Promise<TOutcome>;
56
+ declare function resolveExecutionAttemptPeer(ctx: BaseMessageContext): ExecutionAttemptPeerIdentity | null;
50
57
  //#endregion
51
- //#region subsystems/workflow-engine/src/outcome-convergence.d.ts
58
+ //#region subsystems/workflow-engine/src/workflow-attempt-instruction.d.ts
59
+ /** Installed adapter that interprets portable workflow invocation input. */
60
+ declare const WORKFLOW_WORKLOAD_KIND = "workflow";
61
+ /** Version of the workflow adapter's frozen input contract. */
62
+ declare const WORKFLOW_WORKLOAD_VERSION = "1";
52
63
  /**
53
- * Input handed to {@link OutcomeConvergence.converge}.
64
+ * Immutable workflow semantics, independent of the selected Worker Runtime.
54
65
  *
55
- * Named rather than inlined so an owner-side realization can state the shape
56
- * it implements against, and so a consumer can pin it from the public surface.
57
- * @typeParam TOutcome - Owner-specific outcome type committed per attempt.
66
+ * Environment values, contribution packages, and provider suspension behavior
67
+ * are runtime inputs. Executable acquisition remains in this adapter payload;
68
+ * it does not implicitly request a project Workspace.
58
69
  */
59
- interface OutcomeConvergenceInput<TOutcome> {
60
- /** Owner identifier the attempt belongs to. */
61
- readonly executionId: ExecutionOwnerId;
62
- /** Authority-created attempt identifier. */
63
- readonly executionAttemptId: string;
64
- /** The canonical committed outcome, never the submitter's copy of it. */
65
- readonly outcome: TOutcome;
66
- /** The durable decision that produced the committed outcome. */
67
- readonly decision: 'accepted' | 'duplicate';
70
+ declare const WorkflowInvocationInputSchema: z.ZodObject<{
71
+ executionId: z.ZodString;
72
+ workflowId: z.ZodString;
73
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
74
+ kind: z.ZodLiteral<"path">;
75
+ path: z.ZodString;
76
+ }, z.core.$strict>, z.ZodObject<{
77
+ kind: z.ZodLiteral<"source">;
78
+ filename: z.ZodString;
79
+ source: z.ZodString;
80
+ }, z.core.$strict>, z.ZodObject<{
81
+ kind: z.ZodLiteral<"definition">;
82
+ workflowId: z.ZodString;
83
+ }, z.core.$strict>], "kind">;
84
+ definitionSnapshot: z.ZodOptional<z.ZodObject<{
85
+ id: z.ZodString;
86
+ name: z.ZodOptional<z.ZodString>;
87
+ description: z.ZodOptional<z.ZodString>;
88
+ 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>>>>;
89
+ 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>>>>;
90
+ 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>>>>;
91
+ state: z.ZodOptional<z.ZodObject<{
92
+ 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>>>;
93
+ initial: z.ZodOptional<z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
94
+ }, z.core.$strip>>;
95
+ artifact: z.ZodOptional<z.ZodObject<{
96
+ kind: z.ZodString;
97
+ schemaVersion: z.ZodString;
98
+ scope: z.ZodObject<{
99
+ level: z.ZodString;
100
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
101
+ }, z.core.$strip>;
102
+ resolve: z.ZodOptional<z.ZodString>;
103
+ create: z.ZodOptional<z.ZodString>;
104
+ statusPath: z.ZodOptional<z.ZodString>;
105
+ }, z.core.$strip>>;
106
+ root: z.ZodObject<{
107
+ id: z.ZodString;
108
+ when: z.ZodOptional<z.ZodString>;
109
+ skip: z.ZodOptional<z.ZodString>;
110
+ writes: z.ZodOptional<z.ZodArray<z.ZodObject<{
111
+ kind: z.ZodString;
112
+ schemaVersion: z.ZodString;
113
+ scope: z.ZodObject<{
114
+ level: z.ZodString;
115
+ ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
116
+ }, z.core.$strip>;
117
+ dataExpression: z.ZodOptional<z.ZodString>;
118
+ }, z.core.$strip>>>;
119
+ type: z.ZodLiteral<"sequence">;
120
+ nodes: z.ZodLazy<z.ZodType<_$_makaio_contracts0.WorkflowNode[], unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.WorkflowNode[], unknown>>>;
121
+ }, z.core.$strip>;
122
+ triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
123
+ kind: z.ZodString;
124
+ params: 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>>>;
125
+ filter: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodObject<{
126
+ $in: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>>;
127
+ }, z.core.$strict>, z.ZodObject<{
128
+ $ne: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>;
129
+ }, z.core.$strict>, z.ZodObject<{
130
+ $exists: z.ZodBoolean;
131
+ }, z.core.$strict>, z.ZodObject<{
132
+ $startsWith: z.ZodString;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ $endsWith: z.ZodString;
135
+ }, z.core.$strict>]>>>;
136
+ filterExpression: z.ZodOptional<z.ZodString>;
137
+ }, z.core.$strip>>>;
138
+ scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
139
+ type: z.ZodLiteral<"global">;
140
+ }, z.core.$strict>, z.ZodObject<{
141
+ type: z.ZodLiteral<"workspace">;
142
+ id: z.ZodString;
143
+ }, z.core.$strict>, z.ZodObject<{
144
+ type: z.ZodLiteral<"session">;
145
+ id: z.ZodString;
146
+ }, z.core.$strict>, z.ZodObject<{
147
+ type: z.ZodLiteral<"external">;
148
+ kind: z.ZodString;
149
+ id: z.ZodString;
150
+ }, z.core.$strict>], "type">>;
151
+ canvasLayout: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
152
+ source: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
153
+ kind: z.ZodLiteral<"editor">;
154
+ }, z.core.$strict>, z.ZodObject<{
155
+ kind: z.ZodLiteral<"extension">;
156
+ extension: z.ZodString;
157
+ externalId: z.ZodOptional<z.ZodString>;
158
+ syncedAt: z.ZodOptional<z.ZodString>;
159
+ metadata: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
160
+ }, z.core.$strict>], "kind">>;
161
+ executableSource: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
162
+ kind: z.ZodLiteral<"path">;
163
+ path: z.ZodString;
164
+ }, z.core.$strict>, z.ZodObject<{
165
+ kind: z.ZodLiteral<"source">;
166
+ filename: z.ZodString;
167
+ source: z.ZodString;
168
+ }, z.core.$strict>, z.ZodObject<{
169
+ kind: z.ZodLiteral<"definition">;
170
+ workflowId: z.ZodString;
171
+ }, z.core.$strict>], "kind">>;
172
+ requirements: z.ZodOptional<z.ZodObject<{
173
+ maxRuntimeMs: z.ZodOptional<z.ZodNumber>;
174
+ persistentStorage: z.ZodOptional<z.ZodBoolean>;
175
+ customCapabilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
176
+ recoverableAllocation: z.ZodOptional<z.ZodBoolean>;
177
+ materializationModes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
178
+ "local-directory": "local-directory";
179
+ "workspace-snapshot": "workspace-snapshot";
180
+ }>>>;
181
+ }, z.core.$strip>>;
182
+ successFinalizerId: z.ZodOptional<z.ZodString>;
183
+ }, z.core.$strip>>;
184
+ inputs: z.ZodDefault<z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>;
185
+ config: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
186
+ scope: z.ZodDefault<z.ZodDiscriminatedUnion<[z.ZodObject<{
187
+ type: z.ZodLiteral<"global">;
188
+ }, z.core.$strict>, z.ZodObject<{
189
+ type: z.ZodLiteral<"workspace">;
190
+ id: z.ZodString;
191
+ }, z.core.$strict>, z.ZodObject<{
192
+ type: z.ZodLiteral<"session">;
193
+ id: z.ZodString;
194
+ }, z.core.$strict>, z.ZodObject<{
195
+ type: z.ZodLiteral<"external">;
196
+ kind: z.ZodString;
197
+ id: z.ZodString;
198
+ }, z.core.$strict>], "type">>;
199
+ triggerPayload: z.ZodDefault<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
200
+ triggerMode: z.ZodOptional<z.ZodEnum<{
201
+ immediate: "immediate";
202
+ "await-trigger": "await-trigger";
203
+ }>>;
204
+ artifactRef: z.ZodOptional<z.ZodObject<{
205
+ kind: z.ZodString;
206
+ id: z.ZodString;
207
+ }, z.core.$strip>>;
208
+ coordinatorSessionId: z.ZodString;
209
+ cancelSubject: z.ZodString;
210
+ materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
211
+ kind: z.ZodLiteral<"local-directory">;
212
+ workspaceId: z.ZodString;
213
+ rootDigest: z.ZodString;
214
+ sourcePath: z.ZodString;
215
+ }, z.core.$strict>, z.ZodObject<{
216
+ kind: z.ZodLiteral<"workspace-snapshot">;
217
+ snapshotId: z.ZodString;
218
+ digest: z.ZodString;
219
+ sourcePath: z.ZodString;
220
+ }, z.core.$strict>], "kind">>;
221
+ terminalAuthority: z.ZodLiteral<"authority">;
222
+ }, z.core.$strict>;
223
+ /** Portable input understood exclusively by the workflow workload adapter. */
224
+ type WorkflowInvocationInput = z.infer<typeof WorkflowInvocationInputSchema>;
225
+ /** Owner inputs for freezing one workflow assignment before Attempt dispatch. */
226
+ interface BuildWorkflowAttemptInstructionOptions {
227
+ /** Identity assigned by the execution owner to this instruction. */
228
+ readonly id: string;
229
+ /** Revision assigned by the execution owner before Attempt creation. */
230
+ readonly revision: string;
231
+ /** Runner configuration; transport credentials and environment are never copied. */
232
+ readonly config: WorkflowWorkerConfig;
233
+ /** Portable owner snapshot, required when runner config names a local executable path. */
234
+ readonly runContext?: WorkflowRunContext;
235
+ /** Optional project working area, independent of workflow executable acquisition. */
236
+ readonly workspace?: WorkspaceRequirement;
237
+ /** Explicit preservation obligations; an empty list declares scratch work. */
238
+ readonly preservation: ExecutionPreservationRequirements;
68
239
  }
69
240
  /**
70
- * Owner-side convergence of a committed attempt outcome.
241
+ * Freeze workflow semantics without persisting a worker config or local paths.
242
+ * @param options - Instruction identity, portable workflow input, and explicit resource requirements.
243
+ * @returns A detached instruction suitable for Authority-owned Attempt creation.
244
+ */
245
+ declare function buildWorkflowAttemptInstruction(options: BuildWorkflowAttemptInstructionOptions): ExecutionAttemptInstruction;
246
+ /**
247
+ * Parse an assignment at the workflow adapter boundary.
248
+ * @param instruction - Frozen generic Attempt instruction.
249
+ * @returns The workflow adapter's portable input.
250
+ * @throws When the instruction requires another adapter or input version.
251
+ */
252
+ declare function parseWorkflowAttemptInstruction(instruction: ExecutionAttemptInstruction): WorkflowInvocationInput;
253
+ //#endregion
254
+ //#region subsystems/workflow-engine/src/runtime-registration.d.ts
255
+ /**
256
+ * Time the authority waits for the runtime's receipt of the bounded probe.
71
257
  *
72
- * Runs after the durable commit and before waiter settlement and ACK. It is
73
- * idempotent by contract: it is re-entered for every duplicate retry, because
74
- * a worker whose first submission committed but did not converge resubmits
75
- * the same outcome, receives `duplicate`, and must converge again.
76
- * @typeParam TOutcome - Owner-specific outcome type committed per attempt.
258
+ * Strictly below the bus-wide `DEFAULT_REQUEST_TIMEOUT_MS` of 60 000 ms the
259
+ * outer `execution-attempt.runtime.register` request runs on, so a dead
260
+ * endpoint fails its own registration with `probe-failed` instead of timing
261
+ * out the runtime that is waiting for the decision.
262
+ */
263
+ declare const RUNTIME_PROBE_DELIVERY_TIMEOUT_MS = 10000;
264
+ /**
265
+ * Dependencies for the runtime registration handler.
77
266
  */
78
- interface OutcomeConvergence<TOutcome> {
267
+ interface RuntimeRegistrationDeps<TOutcome> {
79
268
  /**
80
- * Converge owner state with the committed outcome.
81
- * @param input - Attempt identity, the canonical committed outcome, and the
82
- * durable decision that produced it.
269
+ * Bus the authority speaks on.
270
+ *
271
+ * Carries the probe delivery request and the readiness event. The bus the
272
+ * handler is registered on is the registrar's own first argument; in every
273
+ * production wiring the two are the same instance.
83
274
  */
84
- converge(input: OutcomeConvergenceInput<TOutcome>): Promise<void>;
275
+ readonly bus: IMakaioBus;
276
+ /** Execution attempt Authority service. */
277
+ readonly authority: ExecutionAttemptAuthority<TOutcome>;
278
+ /**
279
+ * Probe delivery budget override, in milliseconds.
280
+ *
281
+ * Defaults to {@link RUNTIME_PROBE_DELIVERY_TIMEOUT_MS}. Exists so a test can
282
+ * pin the timeout branch without waiting ten seconds for it; production
283
+ * wiring omits it.
284
+ */
285
+ readonly probeDeliveryTimeoutMs?: number;
85
286
  }
86
287
  /**
87
- * Owner-side validation that runs before the durable commit.
88
- *
89
- * Performs reads only: an outcome it rejects never becomes an immutable
90
- * attempt outcome, so a corrected retry is not answered as a conflict. What
91
- * it inspects is the canonical outcome the attempt will hold, obtained from
92
- * `ExecutionAttemptAuthority.canonicalizeOutcome` before the commit.
288
+ * Register the `execution-attempt.runtime.register` bus handler.
93
289
  *
94
- * **A realization must be retry-stable.** {@link submitAttemptOutcome} runs it
95
- * ahead of every commit, including the retry of a submission that already
96
- * committed, so its verdict may depend only on the submission itself and on
97
- * owner facts no convergence step rewrites — never on owner state convergence
98
- * moves forward. A validator that read, say, a mutable lifecycle status would
99
- * reject the identical retry of an outcome its own convergence already
100
- * committed, and the waiter for that outcome would never settle.
290
+ * The single authority gate for runtime registration. It runs the whole
291
+ * handshake inside the one request the runtime made, so the reply is the
292
+ * runtime's complete answer and there is no `not-ready` retry loop:
101
293
  *
102
- * Retry-stable is measured on the outcome, not on its text. A retry need not
103
- * render the same text as the first commit: `sameDurableOutcome` judges
104
- * two texts the same outcome whatever member order they carry and answers
105
- * `duplicate` for such a retry, while the validator sees the retry's own
106
- * canonical rendering, never the stored one. Its verdict may therefore turn
107
- * only on what `sameDurableOutcome` compares — the members and their values
108
- * — and never on member order or any other detail of one particular
109
- * rendering. A validator that keyed on which member comes first would reject
110
- * the retry the repository is about to report as `duplicate`, and the
111
- * committed-but-unconverged waiter could never recover. Validating the stored
112
- * representation instead is not an option, for the reason the next paragraph
113
- * gives: validation runs ahead of the commit, where the retry's rendering is
114
- * the only one there is.
294
+ * 1. Resolve the authenticated attempt peer and refuse unless its attempt id
295
+ * equals the payload's. Local origin is not a bypass — this handler is the
296
+ * identity fence, and the peer is where `executionId` comes from, because no
297
+ * payload in the namespace carries one.
298
+ * 2. `registerRuntime`. A `duplicate` that already proved readiness announces
299
+ * that readiness again (step 7) and is answered `duplicate`; a `duplicate` without
300
+ * readiness is a replay of this incarnation's own report and continues at
301
+ * step 3 exactly as `registered` does. Every other refusal is reported
302
+ * one-to-one.
303
+ * 3. Admit the bounded runtime probe under `probe:<runtimeIncarnationId>`. **No
304
+ * `operation.admitted` event is published for `runtime-probe`** — the probe
305
+ * never reaches the pool.
306
+ * 4. Deliver the probe to the runtime's own filtered subscription within
307
+ * {@link RUNTIME_PROBE_DELIVERY_TIMEOUT_MS}. The delivery names the
308
+ * incarnation, so only the endpoint that registered can answer it. A
309
+ * `refused` receipt, a timeout, an absent responder, or any throw fails the
310
+ * registration with `probe-failed`, releases the probe's slot, and leaves
311
+ * readiness unproven.
312
+ * 5. `completeOperation`, which frees the attempt for real work.
313
+ * 6. `markRuntimeReady`, which makes readiness durable for this generation and
314
+ * is the last fence: an attempt superseded since step 2 is refused here.
315
+ * 7. Publish `execution-attempt.runtime.ready` for the durable readiness, on
316
+ * the `ready` transition and on every `duplicate` that finds it already
317
+ * persisted. Announcements are at-least-once projections of durable state:
318
+ * the authority re-reads the control state right before it announces and
319
+ * publishes only the readiness that still holds — the same generation, still
320
+ * ready — so a newer incarnation that registered in between is never
321
+ * misrepresented by a stale announcement; a retried registration announces
322
+ * again, so an announcement whose first pass failed after persistence is
323
+ * delivered by the next pass; and every consumer is idempotent and
324
+ * generation-aware — the worker pool projects each generation once and
325
+ * ignores older ones, the Fly tracker resolves once, and observability
326
+ * upserts. What this does not cover is a process that exits between
327
+ * persisting readiness and announcing it: until a durable publication marker
328
+ * exists, that readiness is announced by the next registration of the same
329
+ * incarnation, or never.
330
+ * 8. Reply `ready` with the generation the runtime must fence everything else
331
+ * with.
115
332
  *
116
- * The rule is stated here rather than worked around downstream because the
117
- * order it constrains is the one that keeps a spoofed outcome out of durable
118
- * storage: validation cannot move behind the commit without committing what
119
- * it exists to reject. The workflow adapter's `validateOutcomeExecutionIdentity`
120
- * satisfies it by correlating the submitted result against immutable durable
121
- * identity — the execution's own id and workflow id, and the run context's
122
- * terminal-authority binding, none of which outcome convergence touches.
123
- * @typeParam TOutcome - Owner-specific outcome type committed per attempt.
333
+ * Step 7 is unreachable unless step 5 persisted the completion: readiness is
334
+ * announced only after the probe receipt became a durable fact.
335
+ * @param bus - Bus the handler subscribes on.
336
+ * @param deps - Runtime registration dependencies.
337
+ * @returns Cleanup function for handler deregistration.
124
338
  */
125
- interface OutcomePreCommitValidation<TOutcome> {
339
+ declare function registerRuntimeRegistrationHandler<TOutcome>(bus: IMakaioBus, deps: RuntimeRegistrationDeps<TOutcome>): () => void;
340
+ //#endregion
341
+ //#region subsystems/workflow-engine/src/operation-admission.d.ts
342
+ /**
343
+ * Dependencies for the operation admission handler.
344
+ */
345
+ interface OperationAdmissionDeps<TOutcome> {
126
346
  /**
127
- * Validate an outcome against owner state.
128
- *
129
- * Called again for every retry of the same submission, so the same outcome
130
- * owes the same verdict — the same as `sameDurableOutcome` reads it,
131
- * which ignores member order and every other rendering detail, not the
132
- * same text.
347
+ * Bus the authority speaks on.
133
348
  *
134
- * The outcome handed over is the canonical one — what the attempt will
135
- * hold and what {@link OutcomeConvergence.converge} will receive — not the
136
- * submitter's copy of it. A codec may normalize while serializing, so
137
- * validating the copy would let an outcome the validator would have
138
- * rejected become the immutable committed one.
139
- * @param executionId - Owner identifier the attempt belongs to.
140
- * @param outcome - Canonical outcome about to be committed.
141
- * @throws When the outcome must not be committed.
349
+ * Carries the `operation.admitted` announcement. The bus the handler is
350
+ * registered on is the registrar's own first argument; in every production
351
+ * wiring the two are the same instance.
142
352
  */
143
- validate(executionId: ExecutionOwnerId, outcome: TOutcome): Promise<void>;
353
+ readonly bus: IMakaioBus;
354
+ /** Execution attempt Authority service. */
355
+ readonly authority: ExecutionAttemptAuthority<TOutcome>;
144
356
  }
145
357
  /**
146
- * Dependencies of {@link submitAttemptOutcome}.
147
- * @typeParam TOutcome - Owner-specific outcome type committed per attempt.
358
+ * Register the `execution-attempt.operation.admit` bus handler.
359
+ *
360
+ * The single authority gate for the attempt's start gate. It fences the caller
361
+ * exactly as runtime registration does — the authenticated attempt peer must be
362
+ * the attempt named in the payload, and `executionId` is taken from the peer
363
+ * because no payload in the namespace carries one — and then makes one
364
+ * `admitOperation` call whose eight refusal kinds are the eight wire refusal
365
+ * reasons, one to one.
366
+ *
367
+ * `runtime-probe` is not admissible here at all. The bounded probe is the
368
+ * authority's own proof of the endpoint, admitted and completed inside the
369
+ * registration handshake; a caller admitting one on this gate would occupy the
370
+ * attempt's single slot with an operation no subject can complete. It is
371
+ * refused as a protocol violation, exactly like a peer mismatch.
372
+ *
373
+ * `execution-attempt.operation.admitted` is published for the durable
374
+ * admission, on the `admitted` transition and on every `duplicate` that finds
375
+ * it already persisted. Publication is at-least-once: a retried admission
376
+ * announces again, so an announcement whose first pass failed after
377
+ * persistence is delivered by the next pass. Every consumer is idempotent —
378
+ * the worker pool collapses repeats into one `busy` projection and
379
+ * observability upserts. What this does not cover is a process that exits
380
+ * between persisting the admission and announcing it: until a durable
381
+ * publication marker exists, that admission is announced by the next retry of
382
+ * the same key, or never.
383
+ * @param bus - Bus the handler subscribes on.
384
+ * @param deps - Operation admission dependencies.
385
+ * @returns Cleanup function for handler deregistration.
148
386
  */
149
- interface AttemptOutcomeSubmissionDeps<TOutcome> {
150
- /** Authority that commits the outcome and holds the in-process waiter. */
151
- readonly authority: ExecutionAttemptAuthority<TOutcome>;
152
- /** Owner convergence that runs for `accepted` and `duplicate` decisions. */
153
- readonly convergence: OutcomeConvergence<TOutcome>;
154
- /** Optional owner validation that runs before the durable commit. */
155
- readonly validation?: OutcomePreCommitValidation<TOutcome>;
156
- }
387
+ declare function registerOperationAdmissionHandler<TOutcome>(bus: IMakaioBus, deps: OperationAdmissionDeps<TOutcome>): () => void;
388
+ //#endregion
389
+ //#region subsystems/workflow-engine/src/bootstrap-start-handler.d.ts
157
390
  /**
158
- * Input of {@link submitAttemptOutcome}.
391
+ * Register attempt-authenticated start authorization and own its pending waits.
392
+ * @param bus - Bus receiving the authenticated requests.
393
+ * @param authority - Durable start authorization, shared with credential ingress.
394
+ * @returns Idempotent cleanup that cancels waits before removing the handler.
395
+ */
396
+ declare function registerBootstrapStartHandler(bus: IMakaioBus, authority: BootstrapStartAuthority): () => void;
397
+ //#endregion
398
+ //#region subsystems/workflow-engine/src/authority-dispatch-runner.d.ts
399
+ /**
400
+ * Inputs for dispatching an Authority-owned attempt.
159
401
  * @typeParam TOutcome - Owner-specific outcome type committed per attempt.
160
402
  */
161
- interface AttemptOutcomeSubmission<TOutcome> {
162
- /** Owner identifier the attempt belongs to. */
403
+ interface AuthorityDispatchRunnerOptions<TOutcome> {
404
+ /** Authority that persists and owns the execution attempt. */
405
+ readonly authority: ExecutionAttemptAuthority<TOutcome>;
406
+ /** Owner identifier of the aggregate that owns the attempt. */
163
407
  readonly executionId: ExecutionOwnerId;
164
- /** Authority-created attempt identifier. */
165
- readonly executionAttemptId: string;
166
- /** Outcome the worker submitted. */
167
- readonly outcome: TOutcome;
408
+ /** Complete non-secret assignment frozen before this Attempt can be dispatched. */
409
+ readonly instruction: ExecutionAttemptInstruction;
410
+ /** Dispatch operation whose successful return acknowledges acceptance. */
411
+ readonly dispatch: (executionAttemptId: string) => Promise<unknown>;
168
412
  }
169
413
  /**
170
- * Submit an attempt outcome through the generic owner boundary.
171
- *
172
- * Order: one canonicalization of the submitted outcome, optional pre-commit
173
- * validation of that canonical value, durable commit of that same rendering
174
- * through the authority, owner convergence for `accepted` and `duplicate`,
175
- * then waiter settlement on a fresh decode of the text the decision reports
176
- * as committed. The decision kind is returned for the caller's
177
- * acknowledgement.
414
+ * Dispatch an Authority-owned attempt and await its canonical outcome.
178
415
  *
179
- * Invariants this function keeps:
180
- * - the submission is rendered exactly once, and the submitter's object is
181
- * never read again after that: an outcome the caller mutates while an await
182
- * is pending can reach neither the validation nor the durable write;
183
- * - validation and convergence see one and the same value: the canonical
184
- * outcome the attempt holds, never the submitter's copy of it;
185
- * - convergence only ever sees `decision.outcome`, the repository's own
186
- * committed object;
187
- * - the waiter settles on a value decoded afresh from the text the attempt
188
- * stores — the decision's own text, which for a `duplicate` is the first
189
- * commit's rather than the retry's — so what a runner receives is the
190
- * committed outcome even when convergence mutated the object it was handed;
191
- * - a throwing convergence leaves the outcome durably committed and the
192
- * waiter pending, so the worker's retry yields `duplicate` and converges
193
- * again; nothing is rejected or deleted here. That recovery path runs the
194
- * validation again first, which is why {@link OutcomePreCommitValidation}
195
- * owes a retry-stable verdict;
196
- * - `conflict` and `fenced` skip convergence and settlement; their waiter
197
- * rejection already happened inside `ExecutionAttemptAuthority.commitOutcome`.
198
- * @param deps - Authority, convergence, and optional validation.
199
- * @param input - Attempt identity and submitted outcome.
200
- * @returns The durable decision kind.
201
- * @typeParam TOutcome - Owner-specific outcome type committed per attempt.
416
+ * A rejected dispatch operation is not proof that no provider received the
417
+ * request. The pending-abandonment CAS distinguishes a confirmed pre-allocation
418
+ * failure from a lost acknowledgement after provisioning, allocation, or settlement.
419
+ * @param options - Authority, owner identity, immutable instruction, and dispatch operation.
420
+ * @returns The Authority-committed outcome.
202
421
  */
203
- declare function submitAttemptOutcome<TOutcome>(deps: AttemptOutcomeSubmissionDeps<TOutcome>, input: AttemptOutcomeSubmission<TOutcome>): Promise<'accepted' | 'duplicate' | 'conflict' | 'fenced'>;
422
+ declare function runAuthorityDispatchedAttempt<TOutcome>(options: AuthorityDispatchRunnerOptions<TOutcome>): Promise<TOutcome>;
204
423
  //#endregion
205
424
  //#region subsystems/workflow-engine/src/storage/namespace.d.ts
206
425
  /**
@@ -1345,8 +1564,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1345
1564
  cancelled: "cancelled";
1346
1565
  failed: "failed";
1347
1566
  running: "running";
1348
- waiting: "waiting";
1349
1567
  skipped: "skipped";
1568
+ waiting: "waiting";
1350
1569
  }>;
1351
1570
  attempt: z.ZodDefault<z.ZodNumber>;
1352
1571
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -1391,8 +1610,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1391
1610
  cancelled: "cancelled";
1392
1611
  failed: "failed";
1393
1612
  running: "running";
1394
- waiting: "waiting";
1395
1613
  skipped: "skipped";
1614
+ waiting: "waiting";
1396
1615
  }>;
1397
1616
  attempt: z.ZodDefault<z.ZodNumber>;
1398
1617
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -1434,8 +1653,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1434
1653
  cancelled: "cancelled";
1435
1654
  failed: "failed";
1436
1655
  running: "running";
1437
- waiting: "waiting";
1438
1656
  skipped: "skipped";
1657
+ waiting: "waiting";
1439
1658
  }>;
1440
1659
  attempt: z.ZodDefault<z.ZodNumber>;
1441
1660
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -1462,8 +1681,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1462
1681
  status: z.ZodEnum<{
1463
1682
  cancelled: "cancelled";
1464
1683
  rejected: "rejected";
1465
- waiting: "waiting";
1466
1684
  resumed: "resumed";
1685
+ waiting: "waiting";
1467
1686
  "timed-out": "timed-out";
1468
1687
  }>;
1469
1688
  autoAction: z.ZodEnum<{
@@ -1594,8 +1813,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1594
1813
  status: z.ZodEnum<{
1595
1814
  cancelled: "cancelled";
1596
1815
  rejected: "rejected";
1597
- waiting: "waiting";
1598
1816
  resumed: "resumed";
1817
+ waiting: "waiting";
1599
1818
  "timed-out": "timed-out";
1600
1819
  }>;
1601
1820
  autoAction: z.ZodEnum<{
@@ -1619,8 +1838,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1619
1838
  status: z.ZodOptional<z.ZodEnum<{
1620
1839
  cancelled: "cancelled";
1621
1840
  rejected: "rejected";
1622
- waiting: "waiting";
1623
1841
  resumed: "resumed";
1842
+ waiting: "waiting";
1624
1843
  "timed-out": "timed-out";
1625
1844
  }>>;
1626
1845
  limit: z.ZodDefault<z.ZodNumber>;
@@ -1635,8 +1854,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1635
1854
  status: z.ZodEnum<{
1636
1855
  cancelled: "cancelled";
1637
1856
  rejected: "rejected";
1638
- waiting: "waiting";
1639
1857
  resumed: "resumed";
1858
+ waiting: "waiting";
1640
1859
  "timed-out": "timed-out";
1641
1860
  }>;
1642
1861
  autoAction: z.ZodEnum<{
@@ -1670,8 +1889,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1670
1889
  status: z.ZodEnum<{
1671
1890
  cancelled: "cancelled";
1672
1891
  rejected: "rejected";
1673
- waiting: "waiting";
1674
1892
  resumed: "resumed";
1893
+ waiting: "waiting";
1675
1894
  "timed-out": "timed-out";
1676
1895
  }>;
1677
1896
  autoAction: z.ZodEnum<{
@@ -2374,7 +2593,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2374
2593
  tableName: "workflow_definitions";
2375
2594
  dataType: "string";
2376
2595
  columnType: "SQLiteText";
2377
- data: "external" | "session" | "global" | "workspace";
2596
+ data: "external" | "session" | "workspace" | "global";
2378
2597
  driverParam: string;
2379
2598
  notNull: true;
2380
2599
  hasDefault: false;
@@ -2387,7 +2606,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2387
2606
  generated: undefined;
2388
2607
  }, {}, {
2389
2608
  length: number | undefined;
2390
- $type: "external" | "session" | "global" | "workspace";
2609
+ $type: "external" | "session" | "workspace" | "global";
2391
2610
  }>;
2392
2611
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
2393
2612
  name: "scope_kind";
@@ -2685,7 +2904,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2685
2904
  tableName: "workflow_executions";
2686
2905
  dataType: "string";
2687
2906
  columnType: "SQLiteText";
2688
- data: "external" | "session" | "global" | "workspace";
2907
+ data: "external" | "session" | "workspace" | "global";
2689
2908
  driverParam: string;
2690
2909
  notNull: true;
2691
2910
  hasDefault: false;
@@ -2698,7 +2917,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2698
2917
  generated: undefined;
2699
2918
  }, {}, {
2700
2919
  length: number | undefined;
2701
- $type: "external" | "session" | "global" | "workspace";
2920
+ $type: "external" | "session" | "workspace" | "global";
2702
2921
  }>;
2703
2922
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
2704
2923
  name: "scope_kind";
@@ -3127,7 +3346,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3127
3346
  tableName: "workflow_execution_frames";
3128
3347
  dataType: "string";
3129
3348
  columnType: "SQLiteText";
3130
- data: "pending" | "completed" | "cancelled" | "failed" | "running" | "waiting" | "skipped";
3349
+ data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
3131
3350
  driverParam: string;
3132
3351
  notNull: true;
3133
3352
  hasDefault: true;
@@ -3140,7 +3359,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3140
3359
  generated: undefined;
3141
3360
  }, {}, {
3142
3361
  length: number | undefined;
3143
- $type: "pending" | "completed" | "cancelled" | "failed" | "running" | "waiting" | "skipped";
3362
+ $type: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
3144
3363
  }>;
3145
3364
  attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3146
3365
  name: string;
@@ -3410,7 +3629,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3410
3629
  tableName: "workflow_gate_instances";
3411
3630
  dataType: "string";
3412
3631
  columnType: "SQLiteText";
3413
- data: "cancelled" | "rejected" | "waiting" | "resumed" | "timed-out";
3632
+ data: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
3414
3633
  driverParam: string;
3415
3634
  notNull: true;
3416
3635
  hasDefault: true;
@@ -3423,7 +3642,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3423
3642
  generated: undefined;
3424
3643
  }, {}, {
3425
3644
  length: number | undefined;
3426
- $type: "cancelled" | "rejected" | "waiting" | "resumed" | "timed-out";
3645
+ $type: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
3427
3646
  }>;
3428
3647
  autoAction: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3429
3648
  name: "auto_action";
@@ -4404,7 +4623,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4404
4623
  tableName: "workflow_run_contexts";
4405
4624
  dataType: "string";
4406
4625
  columnType: "SQLiteText";
4407
- data: "external" | "session" | "global" | "workspace";
4626
+ data: "external" | "session" | "workspace" | "global";
4408
4627
  driverParam: string;
4409
4628
  notNull: true;
4410
4629
  hasDefault: true;
@@ -4417,7 +4636,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4417
4636
  generated: undefined;
4418
4637
  }, {}, {
4419
4638
  length: number | undefined;
4420
- $type: "external" | "session" | "global" | "workspace";
4639
+ $type: "external" | "session" | "workspace" | "global";
4421
4640
  }>;
4422
4641
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
4423
4642
  name: "scope_kind";
@@ -4922,7 +5141,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4922
5141
  tableName: "worklog_frame_entries";
4923
5142
  dataType: "string";
4924
5143
  columnType: "SQLiteText";
4925
- data: "pending" | "completed" | "cancelled" | "failed" | "running" | "waiting" | "skipped";
5144
+ data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
4926
5145
  driverParam: string;
4927
5146
  notNull: true;
4928
5147
  hasDefault: false;
@@ -5356,7 +5575,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5356
5575
  tableName: "worklog_gate_events";
5357
5576
  dataType: "string";
5358
5577
  columnType: "SQLiteText";
5359
- data: "cancelled" | "rejected" | "waiting" | "resumed" | "timed-out";
5578
+ data: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
5360
5579
  driverParam: string;
5361
5580
  notNull: true;
5362
5581
  hasDefault: false;
@@ -5369,7 +5588,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5369
5588
  generated: undefined;
5370
5589
  }, {}, {
5371
5590
  length: number | undefined;
5372
- $type: "cancelled" | "rejected" | "waiting" | "resumed" | "timed-out";
5591
+ $type: "cancelled" | "rejected" | "resumed" | "waiting" | "timed-out";
5373
5592
  }>;
5374
5593
  prompt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
5375
5594
  name: "prompt";
@@ -6968,8 +7187,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6968
7187
  cancelled: "cancelled";
6969
7188
  failed: "failed";
6970
7189
  running: "running";
6971
- waiting: "waiting";
6972
7190
  skipped: "skipped";
7191
+ waiting: "waiting";
6973
7192
  }>;
6974
7193
  attempt: z.ZodDefault<z.ZodNumber>;
6975
7194
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -7014,8 +7233,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7014
7233
  cancelled: "cancelled";
7015
7234
  failed: "failed";
7016
7235
  running: "running";
7017
- waiting: "waiting";
7018
7236
  skipped: "skipped";
7237
+ waiting: "waiting";
7019
7238
  }>;
7020
7239
  attempt: z.ZodDefault<z.ZodNumber>;
7021
7240
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -7057,8 +7276,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7057
7276
  cancelled: "cancelled";
7058
7277
  failed: "failed";
7059
7278
  running: "running";
7060
- waiting: "waiting";
7061
7279
  skipped: "skipped";
7280
+ waiting: "waiting";
7062
7281
  }>;
7063
7282
  attempt: z.ZodDefault<z.ZodNumber>;
7064
7283
  iteration: z.ZodOptional<z.ZodNumber>;
@@ -7085,8 +7304,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7085
7304
  status: z.ZodEnum<{
7086
7305
  cancelled: "cancelled";
7087
7306
  rejected: "rejected";
7088
- waiting: "waiting";
7089
7307
  resumed: "resumed";
7308
+ waiting: "waiting";
7090
7309
  "timed-out": "timed-out";
7091
7310
  }>;
7092
7311
  autoAction: z.ZodEnum<{
@@ -7217,8 +7436,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7217
7436
  status: z.ZodEnum<{
7218
7437
  cancelled: "cancelled";
7219
7438
  rejected: "rejected";
7220
- waiting: "waiting";
7221
7439
  resumed: "resumed";
7440
+ waiting: "waiting";
7222
7441
  "timed-out": "timed-out";
7223
7442
  }>;
7224
7443
  autoAction: z.ZodEnum<{
@@ -7242,8 +7461,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7242
7461
  status: z.ZodOptional<z.ZodEnum<{
7243
7462
  cancelled: "cancelled";
7244
7463
  rejected: "rejected";
7245
- waiting: "waiting";
7246
7464
  resumed: "resumed";
7465
+ waiting: "waiting";
7247
7466
  "timed-out": "timed-out";
7248
7467
  }>>;
7249
7468
  limit: z.ZodDefault<z.ZodNumber>;
@@ -7258,8 +7477,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7258
7477
  status: z.ZodEnum<{
7259
7478
  cancelled: "cancelled";
7260
7479
  rejected: "rejected";
7261
- waiting: "waiting";
7262
7480
  resumed: "resumed";
7481
+ waiting: "waiting";
7263
7482
  "timed-out": "timed-out";
7264
7483
  }>;
7265
7484
  autoAction: z.ZodEnum<{
@@ -7293,8 +7512,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7293
7512
  status: z.ZodEnum<{
7294
7513
  cancelled: "cancelled";
7295
7514
  rejected: "rejected";
7296
- waiting: "waiting";
7297
7515
  resumed: "resumed";
7516
+ waiting: "waiting";
7298
7517
  "timed-out": "timed-out";
7299
7518
  }>;
7300
7519
  autoAction: z.ZodEnum<{
@@ -7963,7 +8182,7 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
7963
8182
  materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
7964
8183
  }>>; /** Definition-owned finalizer selected after successful execution. */
7965
8184
  successFinalizerId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"success_finalizer_id", [string, ...string[]], number | undefined>, _$drizzle_orm_pg_core0.PgTextBuilderInitial<"success_finalizer_id", [string, ...string[]]>>;
7966
- scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
8185
+ scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "workspace" | "global">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "workspace" | "global">>;
7967
8186
  scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
7968
8187
  scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique workflow identifier. */
7969
8188
  id: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"id", [string, ...string[]]>>>>; /** Workflow name. */
@@ -8046,7 +8265,7 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
8046
8265
  * Stores runtime state of workflow executions.
8047
8266
  */
8048
8267
  declare const workflowExecutionsDual: _$_makaio_storage_drizzle0.DualTable<"workflow_executions", {
8049
- scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "global" | "workspace">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "global" | "workspace">>;
8268
+ scopeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"], number | undefined>>, "external" | "session" | "workspace" | "global">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "session" | "workspace" | "global">>;
8050
8269
  scopeKind: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_kind", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_kind", [string, ...string[]]>>>>;
8051
8270
  scopeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"scope_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.HasDefault<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_id", [string, ...string[]]>>>>; /** Unique execution identifier. */
8052
8271
  id: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"id", [string, ...string[]]>>>>; /** Workflow definition or ephemeral source execution identifier. */
@@ -8222,4 +8441,4 @@ declare function patchWorkflowState(db: MakaioDatabase, params: {
8222
8441
  value: JsonValue;
8223
8442
  }>;
8224
8443
  //#endregion
8225
- export { type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptOutcomeSubmission, type AttemptOutcomeSubmissionDeps, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, type DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, ExecutionAttemptAuthority, type ExecutionAttemptCreate, type ExecutionAttemptOutcomeCommit, type ExecutionAttemptOutcomeDecision, type ExecutionAttemptRecord, type ExecutionAttemptRecoveryOperations, type ExecutionAttemptRepository, type ExecutionAttemptSettlementKind, type ExecutionAttemptStatus, type ExecutionOwnerId, type HandoffProviderOperationInput, type InfrastructureFailureDecision, type InitialProviderOperationClaimContext, type InitialProviderOperationClaimContextSource, type OutcomeCodec, type OutcomeConvergence, type OutcomeConvergenceInput, type OutcomePreCommitValidation, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RenewProviderOperationClaimInput, type TakeOverProviderOperationInput, WorkflowEngineService, type WorkflowEngineServiceOptions, WorkflowEngineToken, WorkflowExecutor, type WorkflowMaterializationSpecResolution, type WorkflowMaterializationSpecResolver, WorkflowStorageNamespace, WorkflowStorageSubjects, type WorkflowSuccessFinalizer, type WorkflowTriggerPayloadPredicate, WorkflowTriggerReconciler, type WorkflowWorkspaceRootResolver, assertWorkflowTriggerPayload, buildWorkflowExpressionContextFromResolvedInputs, compileWorkflowTriggerBindingFilter, createWorkflowEnginePackage, decodeDurableOutcome, durableOutcome, getWorkflowState, initializeWorkflowState, patchWorkflowState, registerDrizzleWorkflowStorage, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, submitAttemptOutcome, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
8444
+ export { ATTEMPT_OPERATION_START_GATES, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptControlState, type AttemptOperationStartGate, type AttemptOutcomeDecodingInput, type AttemptOutcomeSubmission, type AttemptOutcomeSubmissionDeps, type AttemptReachability, type AttemptReachabilityDecision, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type BootstrapStartAuthority, type BootstrapStartOptions, type BootstrapStartState, type BuildWorkflowAttemptInstructionOptions, type CommittedWorkflowOutcomeIdentity, type CompleteOperationInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, type DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, ExecutionAttemptAuthority, type ExecutionAttemptCreate, type ExecutionAttemptHandlersDeps, type ExecutionAttemptOutcomeCommit, type ExecutionAttemptOutcomeDecision, type ExecutionAttemptPeerIdentity, type ExecutionAttemptRecord, type ExecutionAttemptRecoveryOperations, type ExecutionAttemptRepository, type ExecutionAttemptSettlementKind, type ExecutionAttemptStatus, type ExecutionOwnerId, type HandoffProviderOperationInput, type InfrastructureFailureDecision, type InitialProviderOperationClaimContext, type InitialProviderOperationClaimContextSource, type MarkRuntimeReadyInput, type OperationAdmissionDecision, type OperationAdmissionDeps, type OperationCompletionDecision, type OutcomeCodec, type OutcomeConvergence, type OutcomeConvergenceInput, type OutcomePreCommitValidation, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, RUNTIME_PROBE_DELIVERY_TIMEOUT_MS, type ReadBootstrapStartStateInput, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RegisterRuntimeInput, type RenewProviderOperationClaimInput, type RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, type RuntimeReadinessDecision, type RuntimeRegistrationDecision, type RuntimeRegistrationDeps, type TakeOverProviderOperationInput, WORKFLOW_WORKLOAD_KIND, WORKFLOW_WORKLOAD_VERSION, type WorkflowAttemptCancellation, type WorkflowAttemptOutcome, WorkflowAttemptOutcomeSchema, type WorkflowAttemptTechnicalFailure, WorkflowEngineService, type WorkflowEngineServiceOptions, WorkflowEngineToken, WorkflowExecutor, type WorkflowInvocationInput, WorkflowInvocationInputSchema, type WorkflowMaterializationSpecResolution, type WorkflowMaterializationSpecResolver, WorkflowStorageNamespace, WorkflowStorageSubjects, type WorkflowSuccessFinalizer, type WorkflowTriggerPayloadPredicate, WorkflowTriggerReconciler, type WorkflowWorkspaceRootResolver, assertRuntimeOutcomeFence, assertWorkflowTriggerPayload, buildWorkflowAttemptInstruction, buildWorkflowExpressionContextFromResolvedInputs, compileWorkflowTriggerBindingFilter, createWorkflowEnginePackage, decodeDurableOutcome, decodeWorkflowAttemptOutcome, durableOutcome, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, parseWorkflowAttemptInstruction, patchWorkflowState, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, submitAttemptOutcome, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };