@makaio/framework 1.0.0-dev-1788966380232 → 1.0.0-dev-1789000242829

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 (244) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{2020-CpDjcHDh.mjs → 2020-DvDj4r_K.mjs} +1 -1
  3. package/dist/{account-identity-D00LLclm.mjs → account-identity-CNdiLYaM.mjs} +1 -1
  4. package/dist/{adapter-D92pfm_b.mjs → adapter-BdMny6vw.mjs} +1 -1
  5. package/dist/adapters/claude/index.d.mts +24 -24
  6. package/dist/adapters/index.mjs +1 -1
  7. package/dist/artifact-Cxm5ZX7L.mjs +1 -0
  8. package/dist/{auth-CB4an9bh.mjs → auth-BIgwGHp-.mjs} +1 -1
  9. package/dist/authority-state-bootstrap-DVFYemDL.mjs +1 -0
  10. package/dist/{automation-trigger-xNDX0Am_.mjs → automation-trigger-CQNQpzkA.mjs} +1 -1
  11. package/dist/bus/index.mjs +8 -1
  12. package/dist/{caller-owned-adapter-stub-oM1G1KvC.mjs → caller-owned-adapter-stub-NiR7KT2N.mjs} +1 -1
  13. package/dist/{canonical-model-D7Cg0l2R.mjs → canonical-model-BMnzRhG_.mjs} +1 -1
  14. package/dist/{capabilities-D2ggcMem.mjs → capabilities-CEwSeTB3.mjs} +1 -1
  15. package/dist/{client-CpUVfDxa.mjs → client-C0HcPzvw.mjs} +1 -1
  16. package/dist/{code-execution-CMqsHnGg.mjs → code-execution-BhUo84eg.mjs} +1 -1
  17. package/dist/{compression-Civ-rf-O.mjs → compression-DvPXSBWS.mjs} +1 -1
  18. package/dist/{config-namespace-CQnsvr77.mjs → config-namespace-CE3KasJn.mjs} +1 -1
  19. package/dist/contracts/adapter/index.d.mts +1 -1
  20. package/dist/contracts/adapter/index.mjs +1 -1
  21. package/dist/contracts/artifact/index.d.mts +3 -3
  22. package/dist/contracts/artifact/index.mjs +1 -1
  23. package/dist/contracts/auth/index.mjs +1 -1
  24. package/dist/contracts/automation-trigger/index.mjs +1 -1
  25. package/dist/contracts/canonical-model/index.mjs +1 -1
  26. package/dist/contracts/capabilities/index.d.mts +1 -1
  27. package/dist/contracts/capabilities/index.mjs +1 -1
  28. package/dist/contracts/client/index.d.mts +1 -1
  29. package/dist/contracts/client/index.mjs +1 -1
  30. package/dist/contracts/code-execution/index.mjs +1 -1
  31. package/dist/contracts/common/index.mjs +1 -1
  32. package/dist/contracts/config/index.mjs +1 -1
  33. package/dist/contracts/extension/index.d.mts +2 -2
  34. package/dist/contracts/extension/index.mjs +1 -1
  35. package/dist/contracts/facet/index.d.mts +1 -1
  36. package/dist/contracts/facet/index.mjs +1 -1
  37. package/dist/contracts/harness/index.d.mts +1 -1
  38. package/dist/contracts/harness/index.mjs +1 -1
  39. package/dist/contracts/host/index.mjs +1 -1
  40. package/dist/contracts/index.d.mts +92 -226
  41. package/dist/contracts/index.mjs +1 -1
  42. package/dist/contracts/materialization/index.d.mts +2 -2
  43. package/dist/contracts/materialization/index.mjs +1 -1
  44. package/dist/contracts/model-registry/index.mjs +1 -1
  45. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  46. package/dist/contracts/platform/index.mjs +1 -1
  47. package/dist/contracts/provider/index.mjs +1 -1
  48. package/dist/contracts/reaction/index.mjs +1 -1
  49. package/dist/contracts/session/index.d.mts +2 -2
  50. package/dist/contracts/session/index.mjs +1 -1
  51. package/dist/contracts/shared/index.mjs +1 -1
  52. package/dist/contracts/skill/index.mjs +1 -1
  53. package/dist/contracts/telemetry/index.mjs +1 -1
  54. package/dist/contracts/timeout/index.mjs +1 -1
  55. package/dist/contracts/toast/index.mjs +1 -1
  56. package/dist/contracts/variant/index.d.mts +1 -1
  57. package/dist/contracts/variant/index.mjs +1 -1
  58. package/dist/contracts/worker/index.d.mts +1 -1
  59. package/dist/contracts/worker/index.mjs +1 -1
  60. package/dist/contracts/workflow/index.d.mts +3 -3
  61. package/dist/contracts/workflow/index.mjs +1 -1
  62. package/dist/{definition-Dqw0YJdi.mjs → definition-o5Dfg5j-.mjs} +1 -1
  63. package/dist/{dist-DeI9zYMP.mjs → dist-DMIaE8sg.mjs} +1 -1
  64. package/dist/{execution-attempt-repository--RVils5-.d.mts → execution-attempt-repository-DSpz2kyW.d.mts} +7 -25
  65. package/dist/{execution-target-_oVNW6Zm.mjs → execution-target-Ba7b_UmX.mjs} +1 -1
  66. package/dist/{extension-CAi7bbyv.mjs → extension-D9D8tJQY.mjs} +1 -1
  67. package/dist/{extension-CrghVa93.mjs → extension-GQEL-NCV.mjs} +1 -1
  68. package/dist/{framework-packages-BOPhhtK7.mjs → framework-packages-DdCJ4JsE.mjs} +1 -1
  69. package/dist/{handlers-YPTyZDhF.mjs → handlers-CqL2TWbk.mjs} +1 -1
  70. package/dist/{harness-Ds1I4smU.mjs → harness-CYzkReGi.mjs} +1 -1
  71. package/dist/{index-LjLUr3Dm.d.mts → index-BIlFSGnW.d.mts} +10 -10
  72. package/dist/{index-BqR2xDu6.d.mts → index-BTluq4-E.d.mts} +151 -108
  73. package/dist/{index-nJvYTAbD.d.mts → index-BfwHYuRf.d.mts} +1 -1
  74. package/dist/{index-MtDz_goH.d.mts → index-BxJRljy-.d.mts} +274 -86
  75. package/dist/{index-BKwYE1Qk.d.mts → index-Bzxs2nVR.d.mts} +5 -5
  76. package/dist/{index-BkQlL0Pl.d.mts → index-CCNCo440.d.mts} +5 -5
  77. package/dist/{index-v9TbeVee2.d.mts → index-CRM23ToM2.d.mts} +5 -5
  78. package/dist/{index-Bxq_zO2E.d.mts → index-CilWtThn.d.mts} +4 -4
  79. package/dist/{index-B7wjmaev.d.mts → index-CjMMvZch.d.mts} +12 -12
  80. package/dist/{index-ud9i9pue.d.mts → index-DCHdW5g-.d.mts} +16 -16
  81. package/dist/{index-BT5qcsEf2.d.mts → index-DR308wUB2.d.mts} +18 -18
  82. package/dist/{index-DU9Y9tes2.d.mts → index-Dckvm0Ml2.d.mts} +12 -12
  83. package/dist/{index-Bnm0QvJ4.d.mts → index-DvoitgXV.d.mts} +9 -9
  84. package/dist/{index-DzlGAEws.d.mts → index-Dzozmb5u.d.mts} +1 -1
  85. package/dist/{index-DO633_D-.d.mts → index-GTCM4lXx.d.mts} +38 -38
  86. package/dist/{index-09eal6WI2.d.mts → index-hm8NV4CJ2.d.mts} +7 -7
  87. package/dist/kernel/cli/index.mjs +1 -1
  88. package/dist/kernel/cli/register.mjs +1 -1
  89. package/dist/kernel/cli/schemas.mjs +1 -1
  90. package/dist/kernel/extension/index.d.mts +1 -1
  91. package/dist/kernel/extension/index.mjs +1 -1
  92. package/dist/kernel/index.d.mts +2 -2
  93. package/dist/kernel/index.mjs +1 -1
  94. package/dist/kernel/namespace/index.mjs +1 -1
  95. package/dist/kernel/observability/index.d.mts +1 -1
  96. package/dist/kernel/observability/index.mjs +1 -1
  97. package/dist/kernel/providers/index.mjs +1 -1
  98. package/dist/kernel/window/index.mjs +1 -1
  99. package/dist/kind-registration-BanX_UAF.mjs +1 -0
  100. package/dist/{materialization-BwC7pVg2.mjs → materialization--bg6ZwQd.mjs} +1 -1
  101. package/dist/mcp-http-server/index.mjs +1 -1
  102. package/dist/model-Dya0clsM.mjs +1 -0
  103. package/dist/{namespace-wuGMWlyz.d.mts → namespace-B0_Sg-1m.d.mts} +2 -2
  104. package/dist/{namespace-CnRcpgJ8.mjs → namespace-CD9mJGhU.mjs} +1 -1
  105. package/dist/{namespace-BYsKOw-g.d.mts → namespace-CY-9Evdf.d.mts} +3 -3
  106. package/dist/{namespace-B1sjokHd.d.mts → namespace-CfA0C0JR.d.mts} +2 -2
  107. package/dist/namespace-D53UGrP6.mjs +1 -0
  108. package/dist/{namespace-Cy62a3YP.d.mts → namespace-Dmbm2JzV.d.mts} +2 -2
  109. package/dist/{native-session-supervisor-B0rziwHI.mjs → native-session-supervisor-i3PeijHn.mjs} +1 -1
  110. package/dist/{orchestrator-shared-CmS8iU9_.mjs → orchestrator-shared-DMldWEah.mjs} +1 -1
  111. package/dist/{ownership-memory-handler-DMirNILL.mjs → ownership-memory-handler-LXaweX6V.mjs} +1 -1
  112. package/dist/{package-Co36_pRw.mjs → package-BFto8lbP.mjs} +1 -1
  113. package/dist/package-BT94BLu4.mjs +7 -0
  114. package/dist/{package-Bl0mcGb8.d.mts → package-BaTrCWZl.d.mts} +46 -42
  115. package/dist/package.json +1 -1
  116. package/dist/packages-DAw3Z011.mjs +1 -0
  117. package/dist/{profile-C9RV7ao-.mjs → profile-Cjq4QnUQ.mjs} +1 -1
  118. package/dist/{provider-context-BPITm0cn.mjs → provider-context-BpabfMlj.mjs} +1 -1
  119. package/dist/{provider-context-CyGvwXPz.mjs → provider-context-CYUUoI6x.mjs} +1 -1
  120. package/dist/{resolved-M6PyrgFr.mjs → resolved-XQTiHgrA.mjs} +1 -1
  121. package/dist/runtime-node/index.d.mts +1 -1
  122. package/dist/runtime-node/index.mjs +1 -1
  123. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  124. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  125. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  126. package/dist/{schema-DrHrto2J.mjs → schema-BVbkNHVQ.mjs} +1 -1
  127. package/dist/{schemas-DGKWi7mk.d.mts → schemas-CQe4xCRn.d.mts} +2 -2
  128. package/dist/{schemas-D2HmGmCt.d.mts → schemas-CSeLgroC.d.mts} +1 -1
  129. package/dist/{schemas-DRho446W.mjs → schemas-NKlV5jqJ.mjs} +1 -1
  130. package/dist/{schemas-DyZNwquY.mjs → schemas-QEr2LI43.mjs} +1 -1
  131. package/dist/{schemas-CvUe_yff.d.mts → schemas-bcDK-fK3.d.mts} +18 -9
  132. package/dist/{schemas-CQKfd2Xd.mjs → schemas-pHboaOxJ.mjs} +1 -1
  133. package/dist/{schemas-BYyT43gX.d.mts → schemas-yXs929kr.d.mts} +3 -3
  134. package/dist/{selection-BDs7K53w.mjs → selection-D7V0wyHX.mjs} +1 -1
  135. package/dist/services/adapter-runtime/index.d.mts +3 -3
  136. package/dist/services/adapter-runtime/index.mjs +1 -1
  137. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  138. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  139. package/dist/services/adapter-subsystem/index.mjs +1 -1
  140. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  141. package/dist/services/agent-runtime/index.d.mts +2 -2
  142. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  143. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  144. package/dist/services/context-rules/index.d.mts +3 -3
  145. package/dist/services/execution-target/index.mjs +1 -1
  146. package/dist/services/execution-target/namespace.mjs +1 -1
  147. package/dist/services/execution-target/schemas.mjs +1 -1
  148. package/dist/services/harness/index.d.mts +3 -3
  149. package/dist/services/index.d.mts +14 -14
  150. package/dist/services/index.mjs +1 -1
  151. package/dist/services/materialization/index.mjs +1 -1
  152. package/dist/services/provider-context/index.mjs +1 -1
  153. package/dist/services/session/handlers/index.mjs +1 -1
  154. package/dist/services/session/index.d.mts +1 -1
  155. package/dist/services/session/index.mjs +1 -1
  156. package/dist/services/session/messages/namespace.d.mts +1 -1
  157. package/dist/services/session/messages/namespace.mjs +1 -1
  158. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  159. package/dist/services/session/session-events/namespace.mjs +1 -1
  160. package/dist/services/session/testing/index.mjs +1 -1
  161. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  162. package/dist/services/session/turns/namespace.mjs +1 -1
  163. package/dist/services/session-editor/index.mjs +1 -1
  164. package/dist/services/settings/index.mjs +1 -1
  165. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  166. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  167. package/dist/services/settings/storage/index.mjs +1 -1
  168. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  169. package/dist/services/subagent/index.mjs +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.mjs +1 -1
  174. package/dist/services/tools/index.mjs +1 -1
  175. package/dist/services/workflow-transitions/index.mjs +1 -1
  176. package/dist/{session-Cn8z1hxD.mjs → session-CAKfa5o8.mjs} +1 -1
  177. package/dist/{session-9C42TPQq.mjs → session-CODDwsGa.mjs} +1 -1
  178. package/dist/{shared-DqvfJVYk.mjs → shared-CkCrHz66.mjs} +1 -1
  179. package/dist/{skill-BmRp8GhW.mjs → skill-91kZNQnF.mjs} +1 -1
  180. package/dist/{tool-approval-service-DchkAdAr.mjs → tool-approval-service-BV3WxxX6.mjs} +1 -1
  181. package/dist/{tools-r50UBPJ9.mjs → tools-CElCajoS.mjs} +1 -1
  182. package/dist/{transition-CgsrmsfE.d.mts → transition-bYkXnLY2.d.mts} +1 -1
  183. package/dist/{types-ZvPhKp3j.d.mts → types-BNKqcHfP.d.mts} +5 -5
  184. package/dist/{version-sDSWOMn_.mjs → version-DdGhNoY5.mjs} +1 -1
  185. package/dist/{view-builder-D54kvyf7.d.mts → view-builder-CA5qUx85.d.mts} +10 -10
  186. package/dist/{visibility-syKffo3e.mjs → visibility-cMXbf9nY.mjs} +1 -1
  187. package/dist/{worker-DRQGyWAS.mjs → worker-B0xwfo9-.mjs} +1 -1
  188. package/dist/{worker-DzbPk2YI.mjs → worker-Cx1JDOB9.mjs} +1 -1
  189. package/dist/{workflow-D-yrAZW8.mjs → workflow-5yHn_Knq.mjs} +1 -1
  190. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  191. package/dist/workflow-engine/index.d.mts +70 -70
  192. package/dist/workflow-engine/index.mjs +1 -1
  193. package/dist/workflow-engine/package.d.mts +1 -1
  194. package/dist/workflow-engine/package.mjs +1 -1
  195. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  196. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  197. package/dist/workflow-engine/testing/index.d.mts +15 -4
  198. package/dist/workflow-engine/testing/index.mjs +1 -1
  199. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  200. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  201. package/dist/{workflow-transitions-D5RvMSnf.mjs → workflow-transitions-DH246j6E.mjs} +1 -1
  202. package/dist/workflow-worker-BAO7pQpx.mjs +2 -0
  203. package/package.json +1 -1
  204. package/dist/artifact-_pN73_7c.mjs +0 -1
  205. package/dist/authority-state-bootstrap-DgoHPc9J.mjs +0 -1
  206. package/dist/kind-registration-DggkrLkv.mjs +0 -1
  207. package/dist/model-Cn1IFEP8.mjs +0 -1
  208. package/dist/namespace-DFc1nkal.mjs +0 -1
  209. package/dist/package-B-xpYKe8.mjs +0 -7
  210. package/dist/packages-COqPg5TI.mjs +0 -1
  211. package/dist/workflow-worker-CrnDwpkP.mjs +0 -2
  212. /package/dist/{ajv-IlnfOGAj.mjs → ajv-Dz-0DD7m.mjs} +0 -0
  213. /package/dist/{attach-error-DOlUtquX.mjs → attach-error-D5BWfaBO.mjs} +0 -0
  214. /package/dist/{capability-BQHyskJB.mjs → capability-BnQx1BWc.mjs} +0 -0
  215. /package/dist/{common-CylczUIW.mjs → common-Bta2ivrd.mjs} +0 -0
  216. /package/dist/{definitions-2T95Q-y6.mjs → definitions-CyFaNG_c.mjs} +0 -0
  217. /package/dist/{extension-namespace-CWfV3IiR.mjs → extension-namespace-AaHKv6tQ.mjs} +0 -0
  218. /package/dist/{facet-6tnSbjXc.mjs → facet-De-2AP_o.mjs} +0 -0
  219. /package/dist/{host-D7v3YlDG.mjs → host-CbaJg6D4.mjs} +0 -0
  220. /package/dist/{identity-CxMRRAXx.mjs → identity-B6RqbCn7.mjs} +0 -0
  221. /package/dist/{model-registry-BTjKBCCw.mjs → model-registry-DVTFd0RF.mjs} +0 -0
  222. /package/dist/{modes-Bo9Vv5c9.mjs → modes-Dc9_sSbr.mjs} +0 -0
  223. /package/dist/{namespace-DX3QsYpv.mjs → namespace-BZ7UQmW4.mjs} +0 -0
  224. /package/dist/{namespace-Dyxpur8_.mjs → namespace-BnNBM94X.mjs} +0 -0
  225. /package/dist/{namespace-DORNUF0_.mjs → namespace-DGi7tw_W.mjs} +0 -0
  226. /package/dist/{namespace-BCSJz417.mjs → namespace-KYIbWPvl.mjs} +0 -0
  227. /package/dist/{ownership-recovery-guard-CYA5CsiO.mjs → ownership-recovery-guard-BIB5uqgz.mjs} +0 -0
  228. /package/dist/{platform-BdLHWgVc.mjs → platform-BObC-WJA.mjs} +0 -0
  229. /package/dist/{providers-DGTA-lki.mjs → providers-BysYiNMO.mjs} +0 -0
  230. /package/dist/{reaction-aQJGWUWl.mjs → reaction-Cev6JNcb.mjs} +0 -0
  231. /package/dist/{schema-mXXJcaQT.mjs → schema-bfw9nz8B.mjs} +0 -0
  232. /package/dist/{schema-introspection-BsWP1vGC.mjs → schema-introspection-BTS7FZT_.mjs} +0 -0
  233. /package/dist/{schemas-HffXbw8C.mjs → schemas-A2hlgeNu.mjs} +0 -0
  234. /package/dist/{schemas-NYUz8K9Q.mjs → schemas-B3UNnzKG.mjs} +0 -0
  235. /package/dist/{schemas-7fHmNUQc.mjs → schemas-BEDq3Psz.mjs} +0 -0
  236. /package/dist/{schemas-MIYusvwn.mjs → schemas-mLjTSUvJ.mjs} +0 -0
  237. /package/dist/{semver-_h8-BJ8k.mjs → semver-ByPlHR3P.mjs} +0 -0
  238. /package/dist/{shared-schemas-CaL1iEk6.mjs → shared-schemas-CKsgVsGX.mjs} +0 -0
  239. /package/dist/{storage-namespace-definition-4UYuij1r.mjs → storage-namespace-definition-Ct9ohqU0.mjs} +0 -0
  240. /package/dist/{telemetry-BLYrkonr.mjs → telemetry-Be3u4I7b.mjs} +0 -0
  241. /package/dist/{timeout-d0dzIY3V.mjs → timeout-Bscg1B-y.mjs} +0 -0
  242. /package/dist/{ui-config-CsH94fwa.mjs → ui-config-Bl2Wbkr-.mjs} +0 -0
  243. /package/dist/{variant-BZ9UcJBi.mjs → variant-B5j5wR2p.mjs} +0 -0
  244. /package/dist/{window-registry-DQkv5wM9.mjs → window-registry-DWHz8TA5.mjs} +0 -0
@@ -1,11 +1,11 @@
1
- import { $ as InitialProviderOperationClaimContextSource, At as evaluateRuntimeReadiness, B as RecordProvisioningAbsentInput, Bt as snapshotRequestExecutionCancellationInput, C as ExecutionAttemptStatus, Ct as RuntimeOutcomeFenceMismatchError, D as MarkRuntimeReadyInput, Dt as evaluateOperationCompletion, E as InfrastructureFailureDecision, Et as evaluateOperationAdmission, F as ReadBootstrapStartStateInput, Ft as RequestAttemptCancellationInput, G as RuntimeRegistrationDecision, Gt as EnsureExecutionAttemptPersistenceInput, H as RegisterRuntimeInput, Ht as AttemptSettlementSnapshot, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, Jt as replayEnsuredAttempt, K as decodeDurableOutcome, Kt as ReadAttemptSettlementInput, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, Tt as evaluateAttemptReachability, Ut as EnsureExecutionAttemptDecision, V as RecoverableAttemptRecord, Vt as AttemptSettlementRead, W as RuntimeReadinessDecision, Wt as EnsureExecutionAttemptInput, X as CompleteProviderOperationInput, Xt as snapshotEnsureExecutionAttemptPersistenceInput, Y as sameDurableOutcome, Yt as snapshotEnsureExecutionAttemptInput, Z as HandoffProviderOperationInput, Zt as snapshotReadAttemptSettlementInput, _ as EXECUTION_ATTEMPT_STATUSES, _t as isProviderOperationResolved, a as AllocationRefEvolutionDecision, at as ProviderOperationClaimDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, ct as ProviderOperationLeaseRenewal, d as BootstrapStartState, dt as ProviderOperationOwnershipRecord, et as ListOpenProviderOperationsInput, f as CompleteOperationInput, ft as ProvisionerIncarnationLossDecision, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, gt as TakeOverProviderOperationInput, h as DurableOutcome, ht as RenewProviderOperationClaimInput, i as AllocationRefEvolution, it as ProviderOperationClaim, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, lt as ProviderOperationMutationDecision, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nt as PROVIDER_OPERATION_OBLIGATIONS, o as AllocationTerminationDecision, ot as ProviderOperationCompletionDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, qt as readAttemptSettlementSnapshot, r as AllocationRecordingDecision, rt as ProcessBoundProvisionerLossProof, s as AttemptControlState, st as ProviderOperationLeasePolicy, t as ATTEMPT_OPERATION_START_GATES, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, ut as ProviderOperationObligation, v as ExecutionAttemptCreate, vt as ExecutionAttemptOutcomeCommit, w as ExecutionOwnerId, wt as assertRuntimeOutcomeFence, x as ExecutionAttemptRepository, xt as AttemptReachabilityDecision, y as ExecutionAttemptRecord, yt as ExecutionAttemptOutcomeDecision, z as RecordProvisionerIncarnationLostInput, zt as snapshotRequestAttemptCancellationInput } from "../execution-attempt-repository--RVils5-.mjs";
2
- 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-Bl0mcGb8.mjs";
1
+ import { $ as InitialProviderOperationClaimContextSource, At as evaluateRuntimeReadiness, B as RecordProvisioningAbsentInput, Bt as snapshotRequestExecutionCancellationInput, C as ExecutionAttemptStatus, Ct as RuntimeOutcomeFenceMismatchError, D as MarkRuntimeReadyInput, Dt as evaluateOperationCompletion, E as InfrastructureFailureDecision, Et as evaluateOperationAdmission, F as ReadBootstrapStartStateInput, Ft as RequestAttemptCancellationInput, G as RuntimeRegistrationDecision, Gt as EnsureExecutionAttemptPersistenceInput, H as RegisterRuntimeInput, Ht as AttemptSettlementSnapshot, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, Jt as replayEnsuredAttempt, K as decodeDurableOutcome, Kt as ReadAttemptSettlementInput, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, Tt as evaluateAttemptReachability, Ut as EnsureExecutionAttemptDecision, V as RecoverableAttemptRecord, Vt as AttemptSettlementRead, W as RuntimeReadinessDecision, Wt as EnsureExecutionAttemptInput, X as CompleteProviderOperationInput, Xt as snapshotEnsureExecutionAttemptPersistenceInput, Y as sameDurableOutcome, Yt as snapshotEnsureExecutionAttemptInput, Z as HandoffProviderOperationInput, Zt as snapshotReadAttemptSettlementInput, _ as EXECUTION_ATTEMPT_STATUSES, _t as isProviderOperationResolved, a as AllocationRefEvolutionDecision, at as ProviderOperationClaimDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, ct as ProviderOperationLeaseRenewal, d as BootstrapStartState, dt as ProviderOperationOwnershipRecord, et as ListOpenProviderOperationsInput, f as CompleteOperationInput, ft as ProvisionerIncarnationLossDecision, g as EXECUTION_ATTEMPT_SETTLEMENT_KINDS, gt as TakeOverProviderOperationInput, h as DurableOutcome, ht as RenewProviderOperationClaimInput, i as AllocationRefEvolution, it as ProviderOperationClaim, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, lt as ProviderOperationMutationDecision, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nt as PROVIDER_OPERATION_OBLIGATIONS, o as AllocationTerminationDecision, ot as ProviderOperationCompletionDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, qt as readAttemptSettlementSnapshot, r as AllocationRecordingDecision, rt as ProcessBoundProvisionerLossProof, s as AttemptControlState, st as ProviderOperationLeasePolicy, t as ATTEMPT_OPERATION_START_GATES, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, ut as ProviderOperationObligation, v as ExecutionAttemptCreate, vt as ExecutionAttemptOutcomeCommit, w as ExecutionOwnerId, wt as assertRuntimeOutcomeFence, x as ExecutionAttemptRepository, xt as AttemptReachabilityDecision, y as ExecutionAttemptRecord, yt as ExecutionAttemptOutcomeDecision, z as RecordProvisionerIncarnationLostInput, zt as snapshotRequestAttemptCancellationInput } from "../execution-attempt-repository-DSpz2kyW.mjs";
2
+ import { A as BootstrapStartOptions, C as OutcomeAcceptance, D as submitAttemptOutcome, E as OutcomePreCommitValidation, M as WorkflowMaterializationSpecResolver, N as WorkflowWorkspaceRootResolver, O as ExecutionAttemptAuthority, P as registerDrizzleWorkflowStorage, S as AttemptOutcomeSubmissionDeps, T as OutcomeConvergenceInput, _ as AttemptOutcomeDecodingInput, a as WorkflowEngineServiceOptions, b as AcceptedAttemptOutcome, c as CommittedWorkflowOutcomeIdentity, d as WorkflowAttemptOutcomeSchema, f as WorkflowAttemptTechnicalFailure, g as workflowAttemptOutcomeCodec, h as toCommittedWorkflowRunnerResult, i as WorkflowEngineService, j as WorkflowMaterializationSpecResolution, k as BootstrapStartAuthority, l as WorkflowAttemptCancellation, m as toCommittedWorkflowRunnerCompletion, n as createWorkflowEnginePackage, o as WorkflowTriggerReconciler, p as decodeWorkflowAttemptOutcome, r as workflowEnginePackage, s as WorkflowExecutor, t as WorkflowEngineToken, u as WorkflowAttemptOutcome, v as ExecutionAttemptHandlersDeps, w as OutcomeConvergence, x as AttemptOutcomeSubmission, y as registerExecutionAttemptHandlers } from "../package-BaTrCWZl.mjs";
3
3
  import { WorkflowTriggerPayloadPredicate, assertWorkflowTriggerPayload, compileWorkflowTriggerBindingFilter } from "./workflow-trigger-binding-consumer.mjs";
4
4
  import { z } from "zod";
5
5
  import * as _$_makaio_core0 from "@makaio/framework/core";
6
6
  import { BaseMessageContext } from "@makaio/framework/core";
7
7
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
8
- import { ExecutionAttemptInstruction, ExecutionPreservationRequirements, JsonPatchOperation, JsonValue, WorkflowAutomationTriggerBinding, WorkflowExecution, WorkflowExecutionSchema, WorkflowListQuerySchema, WorkflowRunContext, WorkflowRunResult, WorkflowWorkerConfig, WorkspaceRequirement, createWorkflowFinalizerNamespace } from "@makaio/framework/contracts";
8
+ import { AcceptedAttemptOutcome as AcceptedAttemptOutcome$1, ExecutionAttemptInstruction, ExecutionPreservationRequirements, JsonPatchOperation, JsonValue, WorkflowAutomationTriggerBinding, WorkflowExecution, WorkflowExecutionSchema, WorkflowListQuerySchema, WorkflowRunContext, WorkflowRunResult, WorkflowWorkerConfig, WorkspaceRequirement, createWorkflowFinalizerNamespace } from "@makaio/framework/contracts";
9
9
  import { IMakaioBus } from "@makaio/framework/bus";
10
10
  import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
11
11
  import * as _$drizzle_orm_pg_core0 from "drizzle-orm/pg-core";
@@ -418,9 +418,9 @@ interface AuthorityDispatchRunnerOptions<TOutcome> {
418
418
  * request. The pending-abandonment CAS distinguishes a confirmed pre-allocation
419
419
  * failure from a lost acknowledgement after provisioning, allocation, or settlement.
420
420
  * @param options - Authority, owner identity, immutable instruction, and dispatch operation.
421
- * @returns The Authority-committed outcome.
421
+ * @returns The canonical outcome, frozen control observation, and owner acceptance.
422
422
  */
423
- declare function runAuthorityDispatchedAttempt<TOutcome>(options: AuthorityDispatchRunnerOptions<TOutcome>): Promise<TOutcome>;
423
+ declare function runAuthorityDispatchedAttempt<TOutcome>(options: AuthorityDispatchRunnerOptions<TOutcome>): Promise<AcceptedAttemptOutcome$1<TOutcome>>;
424
424
  //#endregion
425
425
  //#region subsystems/workflow-engine/src/storage/namespace.d.ts
426
426
  /**
@@ -797,9 +797,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
797
797
  pending: "pending";
798
798
  completed: "completed";
799
799
  cancelled: "cancelled";
800
+ running: "running";
800
801
  failed: "failed";
801
802
  paused: "paused";
802
- running: "running";
803
803
  finalizing: "finalizing";
804
804
  }>;
805
805
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -839,9 +839,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
839
839
  pending: "pending";
840
840
  completed: "completed";
841
841
  cancelled: "cancelled";
842
+ running: "running";
842
843
  failed: "failed";
843
844
  paused: "paused";
844
- running: "running";
845
845
  finalizing: "finalizing";
846
846
  }>;
847
847
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -888,9 +888,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
888
888
  pending: "pending";
889
889
  completed: "completed";
890
890
  cancelled: "cancelled";
891
+ running: "running";
891
892
  failed: "failed";
892
893
  paused: "paused";
893
- running: "running";
894
894
  finalizing: "finalizing";
895
895
  }>;
896
896
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -1075,8 +1075,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1075
1075
  "exit-and-resume": "exit-and-resume";
1076
1076
  }>>;
1077
1077
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
1078
- authority: "authority";
1079
1078
  worker: "worker";
1079
+ authority: "authority";
1080
1080
  }>>;
1081
1081
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1082
1082
  kind: z.ZodLiteral<"local-directory">;
@@ -1144,10 +1144,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1144
1144
  frameId: z.ZodString;
1145
1145
  nodeId: z.ZodString;
1146
1146
  nodeType: z.ZodEnum<{
1147
- sequence: "sequence";
1148
1147
  station: "station";
1149
1148
  "delegate-agent": "delegate-agent";
1150
1149
  "delegate-role": "delegate-role";
1150
+ sequence: "sequence";
1151
1151
  gate: "gate";
1152
1152
  parallel: "parallel";
1153
1153
  iterate: "iterate";
@@ -1189,10 +1189,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1189
1189
  frameId: z.ZodString;
1190
1190
  nodeId: z.ZodString;
1191
1191
  nodeType: z.ZodEnum<{
1192
- sequence: "sequence";
1193
1192
  station: "station";
1194
1193
  "delegate-agent": "delegate-agent";
1195
1194
  "delegate-role": "delegate-role";
1195
+ sequence: "sequence";
1196
1196
  gate: "gate";
1197
1197
  parallel: "parallel";
1198
1198
  iterate: "iterate";
@@ -1228,9 +1228,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1228
1228
  pending: "pending";
1229
1229
  completed: "completed";
1230
1230
  cancelled: "cancelled";
1231
+ running: "running";
1231
1232
  failed: "failed";
1232
1233
  paused: "paused";
1233
- running: "running";
1234
1234
  finalizing: "finalizing";
1235
1235
  }>>;
1236
1236
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1425,9 +1425,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1425
1425
  pending: "pending";
1426
1426
  completed: "completed";
1427
1427
  cancelled: "cancelled";
1428
+ running: "running";
1428
1429
  failed: "failed";
1429
1430
  paused: "paused";
1430
- running: "running";
1431
1431
  finalizing: "finalizing";
1432
1432
  }>>;
1433
1433
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -1449,9 +1449,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1449
1449
  pending: "pending";
1450
1450
  completed: "completed";
1451
1451
  cancelled: "cancelled";
1452
+ running: "running";
1452
1453
  failed: "failed";
1453
1454
  paused: "paused";
1454
- running: "running";
1455
1455
  finalizing: "finalizing";
1456
1456
  }>;
1457
1457
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -1502,9 +1502,9 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1502
1502
  pending: "pending";
1503
1503
  completed: "completed";
1504
1504
  cancelled: "cancelled";
1505
+ running: "running";
1505
1506
  failed: "failed";
1506
1507
  paused: "paused";
1507
- running: "running";
1508
1508
  finalizing: "finalizing";
1509
1509
  }>;
1510
1510
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -1547,10 +1547,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1547
1547
  frameId: z.ZodString;
1548
1548
  nodeId: z.ZodString;
1549
1549
  nodeType: z.ZodEnum<{
1550
- sequence: "sequence";
1551
1550
  station: "station";
1552
1551
  "delegate-agent": "delegate-agent";
1553
1552
  "delegate-role": "delegate-role";
1553
+ sequence: "sequence";
1554
1554
  gate: "gate";
1555
1555
  parallel: "parallel";
1556
1556
  iterate: "iterate";
@@ -1563,8 +1563,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1563
1563
  pending: "pending";
1564
1564
  completed: "completed";
1565
1565
  cancelled: "cancelled";
1566
- failed: "failed";
1567
1566
  running: "running";
1567
+ failed: "failed";
1568
1568
  skipped: "skipped";
1569
1569
  waiting: "waiting";
1570
1570
  }>;
@@ -1593,10 +1593,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1593
1593
  frameId: z.ZodString;
1594
1594
  nodeId: z.ZodString;
1595
1595
  nodeType: z.ZodEnum<{
1596
- sequence: "sequence";
1597
1596
  station: "station";
1598
1597
  "delegate-agent": "delegate-agent";
1599
1598
  "delegate-role": "delegate-role";
1599
+ sequence: "sequence";
1600
1600
  gate: "gate";
1601
1601
  parallel: "parallel";
1602
1602
  iterate: "iterate";
@@ -1609,8 +1609,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1609
1609
  pending: "pending";
1610
1610
  completed: "completed";
1611
1611
  cancelled: "cancelled";
1612
- failed: "failed";
1613
1612
  running: "running";
1613
+ failed: "failed";
1614
1614
  skipped: "skipped";
1615
1615
  waiting: "waiting";
1616
1616
  }>;
@@ -1636,10 +1636,10 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1636
1636
  frameId: z.ZodString;
1637
1637
  nodeId: z.ZodString;
1638
1638
  nodeType: z.ZodEnum<{
1639
- sequence: "sequence";
1640
1639
  station: "station";
1641
1640
  "delegate-agent": "delegate-agent";
1642
1641
  "delegate-role": "delegate-role";
1642
+ sequence: "sequence";
1643
1643
  gate: "gate";
1644
1644
  parallel: "parallel";
1645
1645
  iterate: "iterate";
@@ -1652,8 +1652,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1652
1652
  pending: "pending";
1653
1653
  completed: "completed";
1654
1654
  cancelled: "cancelled";
1655
- failed: "failed";
1656
1655
  running: "running";
1656
+ failed: "failed";
1657
1657
  skipped: "skipped";
1658
1658
  waiting: "waiting";
1659
1659
  }>;
@@ -1920,8 +1920,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1920
1920
  }>;
1921
1921
  status: z.ZodEnum<{
1922
1922
  completed: "completed";
1923
- failed: "failed";
1924
1923
  running: "running";
1924
+ failed: "failed";
1925
1925
  skipped: "skipped";
1926
1926
  }>;
1927
1927
  startedAt: z.ZodOptional<z.ZodNumber>;
@@ -1956,8 +1956,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1956
1956
  }>;
1957
1957
  status: z.ZodEnum<{
1958
1958
  completed: "completed";
1959
- failed: "failed";
1960
1959
  running: "running";
1960
+ failed: "failed";
1961
1961
  skipped: "skipped";
1962
1962
  }>;
1963
1963
  startedAt: z.ZodOptional<z.ZodNumber>;
@@ -2170,8 +2170,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2170
2170
  "exit-and-resume": "exit-and-resume";
2171
2171
  }>>;
2172
2172
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
2173
- authority: "authority";
2174
2173
  worker: "worker";
2174
+ authority: "authority";
2175
2175
  }>>;
2176
2176
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2177
2177
  kind: z.ZodLiteral<"local-directory">;
@@ -2357,8 +2357,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2357
2357
  "exit-and-resume": "exit-and-resume";
2358
2358
  }>>;
2359
2359
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
2360
- authority: "authority";
2361
2360
  worker: "worker";
2361
+ authority: "authority";
2362
2362
  }>>;
2363
2363
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2364
2364
  kind: z.ZodLiteral<"local-directory">;
@@ -2594,7 +2594,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2594
2594
  tableName: "workflow_definitions";
2595
2595
  dataType: "string";
2596
2596
  columnType: "SQLiteText";
2597
- data: "external" | "workspace" | "session" | "global";
2597
+ data: "external" | "session" | "global" | "workspace";
2598
2598
  driverParam: string;
2599
2599
  notNull: true;
2600
2600
  hasDefault: false;
@@ -2607,7 +2607,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2607
2607
  generated: undefined;
2608
2608
  }, {}, {
2609
2609
  length: number | undefined;
2610
- $type: "external" | "workspace" | "session" | "global";
2610
+ $type: "external" | "session" | "global" | "workspace";
2611
2611
  }>;
2612
2612
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
2613
2613
  name: "scope_kind";
@@ -2905,7 +2905,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2905
2905
  tableName: "workflow_executions";
2906
2906
  dataType: "string";
2907
2907
  columnType: "SQLiteText";
2908
- data: "external" | "workspace" | "session" | "global";
2908
+ data: "external" | "session" | "global" | "workspace";
2909
2909
  driverParam: string;
2910
2910
  notNull: true;
2911
2911
  hasDefault: false;
@@ -2918,7 +2918,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
2918
2918
  generated: undefined;
2919
2919
  }, {}, {
2920
2920
  length: number | undefined;
2921
- $type: "external" | "workspace" | "session" | "global";
2921
+ $type: "external" | "session" | "global" | "workspace";
2922
2922
  }>;
2923
2923
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
2924
2924
  name: "scope_kind";
@@ -3020,7 +3020,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3020
3020
  tableName: "workflow_executions";
3021
3021
  dataType: "string";
3022
3022
  columnType: "SQLiteText";
3023
- data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running" | "finalizing";
3023
+ data: "pending" | "completed" | "cancelled" | "running" | "failed" | "paused" | "finalizing";
3024
3024
  driverParam: string;
3025
3025
  notNull: true;
3026
3026
  hasDefault: false;
@@ -3289,7 +3289,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3289
3289
  tableName: "workflow_execution_frames";
3290
3290
  dataType: "string";
3291
3291
  columnType: "SQLiteText";
3292
- data: "sequence" | "station" | "delegate-agent" | "delegate-role" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop";
3292
+ data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop";
3293
3293
  driverParam: string;
3294
3294
  notNull: true;
3295
3295
  hasDefault: false;
@@ -3302,7 +3302,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3302
3302
  generated: undefined;
3303
3303
  }, {}, {
3304
3304
  length: number | undefined;
3305
- $type: "sequence" | "station" | "delegate-agent" | "delegate-role" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop";
3305
+ $type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop";
3306
3306
  }>;
3307
3307
  path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3308
3308
  name: string;
@@ -3347,7 +3347,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3347
3347
  tableName: "workflow_execution_frames";
3348
3348
  dataType: "string";
3349
3349
  columnType: "SQLiteText";
3350
- data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
3350
+ data: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
3351
3351
  driverParam: string;
3352
3352
  notNull: true;
3353
3353
  hasDefault: true;
@@ -3360,7 +3360,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3360
3360
  generated: undefined;
3361
3361
  }, {}, {
3362
3362
  length: number | undefined;
3363
- $type: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
3363
+ $type: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
3364
3364
  }>;
3365
3365
  attempt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3366
3366
  name: string;
@@ -3858,7 +3858,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3858
3858
  tableName: "workflow_step_spans";
3859
3859
  dataType: "string";
3860
3860
  columnType: "SQLiteText";
3861
- data: "completed" | "failed" | "running" | "skipped";
3861
+ data: "completed" | "running" | "failed" | "skipped";
3862
3862
  driverParam: string;
3863
3863
  notNull: true;
3864
3864
  hasDefault: false;
@@ -3871,7 +3871,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3871
3871
  generated: undefined;
3872
3872
  }, {}, {
3873
3873
  length: number | undefined;
3874
- $type: "completed" | "failed" | "running" | "skipped";
3874
+ $type: "completed" | "running" | "failed" | "skipped";
3875
3875
  }>;
3876
3876
  startedAt: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3877
3877
  name: string;
@@ -4624,7 +4624,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4624
4624
  tableName: "workflow_run_contexts";
4625
4625
  dataType: "string";
4626
4626
  columnType: "SQLiteText";
4627
- data: "external" | "workspace" | "session" | "global";
4627
+ data: "external" | "session" | "global" | "workspace";
4628
4628
  driverParam: string;
4629
4629
  notNull: true;
4630
4630
  hasDefault: true;
@@ -4637,7 +4637,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4637
4637
  generated: undefined;
4638
4638
  }, {}, {
4639
4639
  length: number | undefined;
4640
- $type: "external" | "workspace" | "session" | "global";
4640
+ $type: "external" | "session" | "global" | "workspace";
4641
4641
  }>;
4642
4642
  scopeKind: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
4643
4643
  name: "scope_kind";
@@ -4757,7 +4757,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4757
4757
  tableName: "workflow_run_contexts";
4758
4758
  dataType: "string";
4759
4759
  columnType: "SQLiteText";
4760
- data: "authority" | "worker" | undefined;
4760
+ data: "worker" | "authority" | undefined;
4761
4761
  driverParam: string;
4762
4762
  notNull: false;
4763
4763
  hasDefault: false;
@@ -4770,7 +4770,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4770
4770
  generated: undefined;
4771
4771
  }, {}, {
4772
4772
  length: number | undefined;
4773
- $type: "authority" | "worker" | undefined;
4773
+ $type: "worker" | "authority" | undefined;
4774
4774
  }>;
4775
4775
  materializationSpec: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
4776
4776
  name: string;
@@ -4880,7 +4880,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4880
4880
  tableName: "worklog_summaries";
4881
4881
  dataType: "string";
4882
4882
  columnType: "SQLiteText";
4883
- data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running" | "finalizing";
4883
+ data: "pending" | "completed" | "cancelled" | "running" | "failed" | "paused" | "finalizing";
4884
4884
  driverParam: string;
4885
4885
  notNull: true;
4886
4886
  hasDefault: false;
@@ -5103,7 +5103,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5103
5103
  tableName: "worklog_frame_entries";
5104
5104
  dataType: "string";
5105
5105
  columnType: "SQLiteText";
5106
- data: "sequence" | "station" | "delegate-agent" | "delegate-role" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop";
5106
+ data: "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop";
5107
5107
  driverParam: string;
5108
5108
  notNull: true;
5109
5109
  hasDefault: false;
@@ -5116,7 +5116,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5116
5116
  generated: undefined;
5117
5117
  }, {}, {
5118
5118
  length: number | undefined;
5119
- $type: "sequence" | "station" | "delegate-agent" | "delegate-role" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop";
5119
+ $type: "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop";
5120
5120
  }>;
5121
5121
  path: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
5122
5122
  name: string;
@@ -5142,7 +5142,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5142
5142
  tableName: "worklog_frame_entries";
5143
5143
  dataType: "string";
5144
5144
  columnType: "SQLiteText";
5145
- data: "pending" | "completed" | "cancelled" | "failed" | "running" | "skipped" | "waiting";
5145
+ data: "pending" | "completed" | "cancelled" | "running" | "failed" | "skipped" | "waiting";
5146
5146
  driverParam: string;
5147
5147
  notNull: true;
5148
5148
  hasDefault: false;
@@ -5976,7 +5976,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
5976
5976
  tableName: "workflow_finalizations";
5977
5977
  dataType: "string";
5978
5978
  columnType: "SQLiteText";
5979
- data: "failed" | "acknowledged" | "claimed";
5979
+ data: "acknowledged" | "failed" | "claimed";
5980
5980
  driverParam: string;
5981
5981
  notNull: true;
5982
5982
  hasDefault: false;
@@ -6420,9 +6420,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6420
6420
  pending: "pending";
6421
6421
  completed: "completed";
6422
6422
  cancelled: "cancelled";
6423
+ running: "running";
6423
6424
  failed: "failed";
6424
6425
  paused: "paused";
6425
- running: "running";
6426
6426
  finalizing: "finalizing";
6427
6427
  }>;
6428
6428
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6462,9 +6462,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6462
6462
  pending: "pending";
6463
6463
  completed: "completed";
6464
6464
  cancelled: "cancelled";
6465
+ running: "running";
6465
6466
  failed: "failed";
6466
6467
  paused: "paused";
6467
- running: "running";
6468
6468
  finalizing: "finalizing";
6469
6469
  }>;
6470
6470
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6511,9 +6511,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6511
6511
  pending: "pending";
6512
6512
  completed: "completed";
6513
6513
  cancelled: "cancelled";
6514
+ running: "running";
6514
6515
  failed: "failed";
6515
6516
  paused: "paused";
6516
- running: "running";
6517
6517
  finalizing: "finalizing";
6518
6518
  }>;
6519
6519
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6698,8 +6698,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6698
6698
  "exit-and-resume": "exit-and-resume";
6699
6699
  }>>;
6700
6700
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
6701
- authority: "authority";
6702
6701
  worker: "worker";
6702
+ authority: "authority";
6703
6703
  }>>;
6704
6704
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6705
6705
  kind: z.ZodLiteral<"local-directory">;
@@ -6767,10 +6767,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6767
6767
  frameId: z.ZodString;
6768
6768
  nodeId: z.ZodString;
6769
6769
  nodeType: z.ZodEnum<{
6770
- sequence: "sequence";
6771
6770
  station: "station";
6772
6771
  "delegate-agent": "delegate-agent";
6773
6772
  "delegate-role": "delegate-role";
6773
+ sequence: "sequence";
6774
6774
  gate: "gate";
6775
6775
  parallel: "parallel";
6776
6776
  iterate: "iterate";
@@ -6812,10 +6812,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6812
6812
  frameId: z.ZodString;
6813
6813
  nodeId: z.ZodString;
6814
6814
  nodeType: z.ZodEnum<{
6815
- sequence: "sequence";
6816
6815
  station: "station";
6817
6816
  "delegate-agent": "delegate-agent";
6818
6817
  "delegate-role": "delegate-role";
6818
+ sequence: "sequence";
6819
6819
  gate: "gate";
6820
6820
  parallel: "parallel";
6821
6821
  iterate: "iterate";
@@ -6851,9 +6851,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6851
6851
  pending: "pending";
6852
6852
  completed: "completed";
6853
6853
  cancelled: "cancelled";
6854
+ running: "running";
6854
6855
  failed: "failed";
6855
6856
  paused: "paused";
6856
- running: "running";
6857
6857
  finalizing: "finalizing";
6858
6858
  }>>;
6859
6859
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7048,9 +7048,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7048
7048
  pending: "pending";
7049
7049
  completed: "completed";
7050
7050
  cancelled: "cancelled";
7051
+ running: "running";
7051
7052
  failed: "failed";
7052
7053
  paused: "paused";
7053
- running: "running";
7054
7054
  finalizing: "finalizing";
7055
7055
  }>>;
7056
7056
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -7072,9 +7072,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7072
7072
  pending: "pending";
7073
7073
  completed: "completed";
7074
7074
  cancelled: "cancelled";
7075
+ running: "running";
7075
7076
  failed: "failed";
7076
7077
  paused: "paused";
7077
- running: "running";
7078
7078
  finalizing: "finalizing";
7079
7079
  }>;
7080
7080
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -7125,9 +7125,9 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7125
7125
  pending: "pending";
7126
7126
  completed: "completed";
7127
7127
  cancelled: "cancelled";
7128
+ running: "running";
7128
7129
  failed: "failed";
7129
7130
  paused: "paused";
7130
- running: "running";
7131
7131
  finalizing: "finalizing";
7132
7132
  }>;
7133
7133
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -7170,10 +7170,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7170
7170
  frameId: z.ZodString;
7171
7171
  nodeId: z.ZodString;
7172
7172
  nodeType: z.ZodEnum<{
7173
- sequence: "sequence";
7174
7173
  station: "station";
7175
7174
  "delegate-agent": "delegate-agent";
7176
7175
  "delegate-role": "delegate-role";
7176
+ sequence: "sequence";
7177
7177
  gate: "gate";
7178
7178
  parallel: "parallel";
7179
7179
  iterate: "iterate";
@@ -7186,8 +7186,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7186
7186
  pending: "pending";
7187
7187
  completed: "completed";
7188
7188
  cancelled: "cancelled";
7189
- failed: "failed";
7190
7189
  running: "running";
7190
+ failed: "failed";
7191
7191
  skipped: "skipped";
7192
7192
  waiting: "waiting";
7193
7193
  }>;
@@ -7216,10 +7216,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7216
7216
  frameId: z.ZodString;
7217
7217
  nodeId: z.ZodString;
7218
7218
  nodeType: z.ZodEnum<{
7219
- sequence: "sequence";
7220
7219
  station: "station";
7221
7220
  "delegate-agent": "delegate-agent";
7222
7221
  "delegate-role": "delegate-role";
7222
+ sequence: "sequence";
7223
7223
  gate: "gate";
7224
7224
  parallel: "parallel";
7225
7225
  iterate: "iterate";
@@ -7232,8 +7232,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7232
7232
  pending: "pending";
7233
7233
  completed: "completed";
7234
7234
  cancelled: "cancelled";
7235
- failed: "failed";
7236
7235
  running: "running";
7236
+ failed: "failed";
7237
7237
  skipped: "skipped";
7238
7238
  waiting: "waiting";
7239
7239
  }>;
@@ -7259,10 +7259,10 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7259
7259
  frameId: z.ZodString;
7260
7260
  nodeId: z.ZodString;
7261
7261
  nodeType: z.ZodEnum<{
7262
- sequence: "sequence";
7263
7262
  station: "station";
7264
7263
  "delegate-agent": "delegate-agent";
7265
7264
  "delegate-role": "delegate-role";
7265
+ sequence: "sequence";
7266
7266
  gate: "gate";
7267
7267
  parallel: "parallel";
7268
7268
  iterate: "iterate";
@@ -7275,8 +7275,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7275
7275
  pending: "pending";
7276
7276
  completed: "completed";
7277
7277
  cancelled: "cancelled";
7278
- failed: "failed";
7279
7278
  running: "running";
7279
+ failed: "failed";
7280
7280
  skipped: "skipped";
7281
7281
  waiting: "waiting";
7282
7282
  }>;
@@ -7543,8 +7543,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7543
7543
  }>;
7544
7544
  status: z.ZodEnum<{
7545
7545
  completed: "completed";
7546
- failed: "failed";
7547
7546
  running: "running";
7547
+ failed: "failed";
7548
7548
  skipped: "skipped";
7549
7549
  }>;
7550
7550
  startedAt: z.ZodOptional<z.ZodNumber>;
@@ -7579,8 +7579,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7579
7579
  }>;
7580
7580
  status: z.ZodEnum<{
7581
7581
  completed: "completed";
7582
- failed: "failed";
7583
7582
  running: "running";
7583
+ failed: "failed";
7584
7584
  skipped: "skipped";
7585
7585
  }>;
7586
7586
  startedAt: z.ZodOptional<z.ZodNumber>;
@@ -7793,8 +7793,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7793
7793
  "exit-and-resume": "exit-and-resume";
7794
7794
  }>>;
7795
7795
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
7796
- authority: "authority";
7797
7796
  worker: "worker";
7797
+ authority: "authority";
7798
7798
  }>>;
7799
7799
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7800
7800
  kind: z.ZodLiteral<"local-directory">;
@@ -7980,8 +7980,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7980
7980
  "exit-and-resume": "exit-and-resume";
7981
7981
  }>>;
7982
7982
  terminalAuthority: z.ZodOptional<z.ZodEnum<{
7983
- authority: "authority";
7984
7983
  worker: "worker";
7984
+ authority: "authority";
7985
7985
  }>>;
7986
7986
  materializationSpec: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
7987
7987
  kind: z.ZodLiteral<"local-directory">;
@@ -8183,7 +8183,7 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
8183
8183
  materializationModes?: ("local-directory" | "workspace-snapshot")[] | undefined;
8184
8184
  }>>; /** Definition-owned finalizer selected after successful execution. */
8185
8185
  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[]]>>;
8186
- 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" | "workspace" | "session" | "global">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "workspace" | "session" | "global">>;
8186
+ 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">>;
8187
8187
  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[]]>>>>;
8188
8188
  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. */
8189
8189
  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. */
@@ -8266,7 +8266,7 @@ declare const workflowDefinitionsDual: _$_makaio_storage_drizzle0.DualTable<"wor
8266
8266
  * Stores runtime state of workflow executions.
8267
8267
  */
8268
8268
  declare const workflowExecutionsDual: _$_makaio_storage_drizzle0.DualTable<"workflow_executions", {
8269
- 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" | "workspace" | "session" | "global">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"scope_type", ["global", "workspace", "session", "external"]>>, "external" | "workspace" | "session" | "global">>;
8269
+ 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">>;
8270
8270
  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[]]>>>>;
8271
8271
  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. */
8272
8272
  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. */
@@ -8293,7 +8293,7 @@ declare const workflowStepSpansDual: _$_makaio_storage_drizzle0.DualTable<"workf
8293
8293
  frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>; /** Step identifier within the workflow definition. */
8294
8294
  stepId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_id", [string, ...string[]]>>>; /** Step type discriminant. */
8295
8295
  stepType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"step_type", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"step_type", [string, ...string[]]>>>; /** Current span status. */
8296
- status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "failed" | "running" | "skipped">>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", [string, ...string[]]>, "completed" | "failed" | "running" | "skipped">>>; /** Step start timestamp (epoch ms). */
8296
+ status: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"status", [string, ...string[]], number | undefined>, "completed" | "running" | "failed" | "skipped">>, _$drizzle_orm0.NotNull<_$drizzle_orm0.$Type<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"status", [string, ...string[]]>, "completed" | "running" | "failed" | "skipped">>>; /** Step start timestamp (epoch ms). */
8297
8297
  startedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Step completion timestamp (epoch ms). */
8298
8298
  completedAt: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgBigInt53BuilderInitial<string>>; /** Wall-clock duration in milliseconds. */
8299
8299
  durationMs: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm_sqlite_core0.SQLiteIntegerBuilderInitial<string>, _$drizzle_orm_pg_core0.PgIntegerBuilderInitial<string>>; /** Input tokens consumed (agent steps). */
@@ -8341,7 +8341,7 @@ declare const worklogFrameEntriesDual: _$_makaio_storage_drizzle0.DualTable<"wor
8341
8341
  /** Unique frame identifier within the execution. */frameId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"frame_id", [string, ...string[]], number | undefined>>>, _$drizzle_orm0.IsPrimaryKey<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"frame_id", [string, ...string[]]>>>>; /** Execution this frame belongs to. */
8342
8342
  executionId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"execution_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"execution_id", [string, ...string[]]>>>; /** Node identifier from the workflow definition. */
8343
8343
  nodeId: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_id", [string, ...string[]], number | undefined>>, _$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_id", [string, ...string[]]>>>; /** Node type discriminant. */
8344
- nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "sequence" | "station" | "delegate-agent" | "delegate-role" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_type", [string, ...string[]]>>, "sequence" | "station" | "delegate-agent" | "delegate-role" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop">>;
8344
+ nodeType: _$_makaio_storage_drizzle0.DualBuilder<_$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_sqlite_core0.SQLiteTextBuilderInitial<"node_type", [string, ...string[]], number | undefined>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop">, _$drizzle_orm0.$Type<_$drizzle_orm0.NotNull<_$drizzle_orm_pg_core0.PgTextBuilderInitial<"node_type", [string, ...string[]]>>, "station" | "delegate-agent" | "delegate-role" | "sequence" | "gate" | "parallel" | "iterate" | "iterate-chain" | "loop">>;
8345
8345
  /**
8346
8346
  * Ordered path of frame IDs from the root frame to this frame (inclusive).
8347
8347
  * Stored as a JSON array for tree correlation.
@@ -8442,4 +8442,4 @@ declare function patchWorkflowState(db: MakaioDatabase, params: {
8442
8442
  value: JsonValue;
8443
8443
  }>;
8444
8444
  //#endregion
8445
- export { ATTEMPT_OPERATION_START_GATES, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptControlState, type AttemptOperationStartGate, type AttemptOutcomeControlObservation, type AttemptOutcomeDecodingInput, type AttemptOutcomeSubmission, type AttemptOutcomeSubmissionDeps, type AttemptReachability, type AttemptReachabilityDecision, type AttemptSettlementRead, type AttemptSettlementSnapshot, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type BootstrapStartAuthority, type BootstrapStartOptions, type BootstrapStartState, type BuildWorkflowAttemptInstructionOptions, type CommittedWorkflowOutcomeIdentity, type CompleteOperationInput, type CompleteProviderOperationInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, type DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, type EnsureExecutionAttemptDecision, type EnsureExecutionAttemptInput, type EnsureExecutionAttemptPersistenceInput, ExecutionAttemptAuthority, type ExecutionAttemptCancellationDecision, type ExecutionAttemptCancellationIntent, 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 ListOpenProviderOperationsInput, type MarkRuntimeReadyInput, type OpenProviderOperationRecord, 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 ProviderOperationCompletionDecision, type ProviderOperationLeasePolicy, type ProviderOperationLeaseRenewal, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, RUNTIME_PROBE_DELIVERY_TIMEOUT_MS, type ReadAttemptSettlementInput, type ReadBootstrapStartStateInput, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RegisterRuntimeInput, type RenewProviderOperationClaimInput, type RequestAttemptCancellationInput, type RequestExecutionCancellationInput, 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, evaluateAttemptCancellation, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, isProviderOperationResolved, parseWorkflowAttemptInstruction, patchWorkflowState, readAttemptSettlementSnapshot, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, replayEnsuredAttempt, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, snapshotAttemptOutcomeControl, snapshotEnsureExecutionAttemptInput, snapshotEnsureExecutionAttemptPersistenceInput, snapshotReadAttemptSettlementInput, snapshotRequestAttemptCancellationInput, snapshotRequestExecutionCancellationInput, submitAttemptOutcome, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };
8445
+ export { ATTEMPT_OPERATION_START_GATES, type AcceptedAttemptOutcome, type AdmitOperationInput, type AllocationRecordingDecision, type AllocationRefEvolution, type AllocationRefEvolutionDecision, type AllocationTerminationDecision, type AttemptControlState, type AttemptOperationStartGate, type AttemptOutcomeControlObservation, type AttemptOutcomeDecodingInput, type AttemptOutcomeSubmission, type AttemptOutcomeSubmissionDeps, type AttemptReachability, type AttemptReachabilityDecision, type AttemptSettlementRead, type AttemptSettlementSnapshot, type AuthorityDispatchRunnerOptions, type BeginProvisioningInput, type BootstrapStartAuthority, type BootstrapStartOptions, type BootstrapStartState, type BuildWorkflowAttemptInstructionOptions, type CommittedWorkflowOutcomeIdentity, type CompleteOperationInput, type CompleteProviderOperationInput, type DiscoveredAllocationDecision, DuplicateExecutionAttemptError, type DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, type EnsureExecutionAttemptDecision, type EnsureExecutionAttemptInput, type EnsureExecutionAttemptPersistenceInput, ExecutionAttemptAuthority, type ExecutionAttemptCancellationDecision, type ExecutionAttemptCancellationIntent, 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 ListOpenProviderOperationsInput, type MarkRuntimeReadyInput, type OpenProviderOperationRecord, type OperationAdmissionDecision, type OperationAdmissionDeps, type OperationCompletionDecision, type OutcomeAcceptance, type OutcomeCodec, type OutcomeConvergence, type OutcomeConvergenceInput, type OutcomePreCommitValidation, PROVIDER_OPERATION_OBLIGATIONS, type PendingAttemptAbandonmentDecision, type ProcessBoundProvisionerLossProof, type ProviderOperationClaim, type ProviderOperationClaimDecision, type ProviderOperationCompletionDecision, type ProviderOperationLeasePolicy, type ProviderOperationLeaseRenewal, type ProviderOperationMutationDecision, type ProviderOperationObligation, type ProviderOperationOwnershipRecord, type ProvisionerIncarnationLossDecision, type ProvisioningAbsenceDecision, type ProvisioningClaimDecision, RUNTIME_PROBE_DELIVERY_TIMEOUT_MS, type ReadAttemptSettlementInput, type ReadBootstrapStartStateInput, type RecordAllocationInput, type RecordAllocationTerminatedInput, type RecordInfrastructureFailureInput, type RecordProviderOperationUncertaintyInput, type RecordProvisionerIncarnationLostInput, type RecordProvisioningAbsentInput, type RecoverableAttemptRecord, type RegisterRuntimeInput, type RenewProviderOperationClaimInput, type RequestAttemptCancellationInput, type RequestExecutionCancellationInput, 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, evaluateAttemptCancellation, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, getWorkflowState, initializeWorkflowState, isProviderOperationResolved, parseWorkflowAttemptInstruction, patchWorkflowState, readAttemptSettlementSnapshot, registerBootstrapStartHandler, registerDrizzleWorkflowStorage, registerExecutionAttemptHandlers, registerOperationAdmissionHandler, registerRuntimeRegistrationHandler, replayEnsuredAttempt, resolveExecutionAttemptPeer, runAuthorityDispatchedAttempt, runShellStep, sameAllocationRef, sameDurableOutcome, snapshotAttemptOutcomeControl, snapshotEnsureExecutionAttemptInput, snapshotEnsureExecutionAttemptPersistenceInput, snapshotReadAttemptSettlementInput, snapshotRequestAttemptCancellationInput, snapshotRequestExecutionCancellationInput, submitAttemptOutcome, toCommittedWorkflowRunnerCompletion, toCommittedWorkflowRunnerResult, workflowAttemptOutcomeCodec, workflowDefinitionsDual, workflowEnginePackage, workflowExecutionStateDual, workflowExecutionStateEventsDual, workflowExecutionsDual, workflowFinalizationsDual, workflowStepSpansDual, worklogFrameEntriesDual, worklogSummariesDual };