@makaio/framework 1.0.0-dev-1789609124644 → 1.0.0-dev-1790066089222

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 (361) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{adapter-C4v_gNTI.mjs → adapter-DSRgsh2d.mjs} +1 -1
  3. package/dist/adapter-subsystem/index.d.mts +15 -7
  4. package/dist/adapter-subsystem/index.mjs +1 -1
  5. package/dist/adapters/claude/index.mjs +3 -3
  6. package/dist/adapters/config/index.d.mts +1 -1
  7. package/dist/adapters/index.d.mts +2 -2
  8. package/dist/adapters/node.d.mts +1 -1
  9. package/dist/{attempt-record-codec-DaQ3WHUs.mjs → attempt-record-codec-DXpdMgyI.mjs} +1 -1
  10. package/dist/bus/index.d.mts +120 -8
  11. package/dist/bus/index.mjs +1 -1
  12. package/dist/bus-ceMF9rsq.mjs +9 -0
  13. package/dist/client-DWSwtFyI.mjs +1 -0
  14. package/dist/clients/index.d.mts +179 -12
  15. package/dist/clients/index.mjs +1 -1
  16. package/dist/clients/managed-install.d.mts +1 -1
  17. package/dist/code-execution/worker-entry.d.mts +1 -1
  18. package/dist/code-execution/worker-entry.mjs +1 -1
  19. package/dist/{code-execution-pUF4IO462.mjs → code-execution-DWSux6k1.mjs} +1 -1
  20. package/dist/contracts/adapter/index.d.mts +2 -2
  21. package/dist/contracts/adapter/index.mjs +1 -1
  22. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  23. package/dist/contracts/artifact/index.d.mts +2 -2
  24. package/dist/contracts/auth/index.d.mts +2 -2
  25. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  26. package/dist/contracts/canonical-model/index.d.mts +1 -1
  27. package/dist/contracts/capabilities/index.d.mts +1 -1
  28. package/dist/contracts/client/index.d.mts +3 -3
  29. package/dist/contracts/client/index.mjs +1 -1
  30. package/dist/contracts/code-execution/index.d.mts +1 -1
  31. package/dist/contracts/common/index.d.mts +1 -1
  32. package/dist/contracts/config/index.d.mts +2 -47
  33. package/dist/contracts/context-projection/index.d.mts +232 -0
  34. package/dist/contracts/context-projection/index.mjs +1 -0
  35. package/dist/contracts/extension/index.d.mts +6 -6
  36. package/dist/contracts/extension/index.mjs +1 -1
  37. package/dist/contracts/facet/index.d.mts +1 -1
  38. package/dist/contracts/harness/index.d.mts +1 -1
  39. package/dist/contracts/host/index.d.mts +1 -1
  40. package/dist/contracts/index.d.mts +43 -43
  41. package/dist/contracts/index.mjs +1 -1
  42. package/dist/contracts/materialization/index.d.mts +2 -2
  43. package/dist/contracts/model-registry/index.d.mts +1 -1
  44. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  45. package/dist/contracts/platform/index.d.mts +1 -1
  46. package/dist/contracts/provider/index.d.mts +2 -2
  47. package/dist/contracts/reaction/index.d.mts +1 -1
  48. package/dist/contracts/session/index.d.mts +3 -3
  49. package/dist/contracts/session/index.mjs +1 -1
  50. package/dist/contracts/shared/index.d.mts +2 -2
  51. package/dist/contracts/skill/index.d.mts +1 -1
  52. package/dist/contracts/telemetry/index.d.mts +1 -1
  53. package/dist/contracts/timeout/index.d.mts +1 -1
  54. package/dist/contracts/variant/index.d.mts +1 -1
  55. package/dist/contracts/worker/index.d.mts +2 -2
  56. package/dist/contracts/workflow/index.d.mts +2 -2
  57. package/dist/{contribution-DDbHzCPF.d.mts → contribution-1GL7Rjaq.d.mts} +2 -2
  58. package/dist/credential-ref-w4ZYpYW0.d.mts +49 -0
  59. package/dist/{definition-CuaBQyde.d.mts → definition-DeIGoROj.d.mts} +1 -1
  60. package/dist/{descriptor-to-package-Dw8dnl5E.mjs → descriptor-to-package-BPIArq6N.mjs} +1 -1
  61. package/dist/{detached-extension-handle-DN3aqLyq.mjs → detached-extension-handle-W5_yfCyE.mjs} +1 -1
  62. package/dist/drizzle/0040_session_generation.sql +1 -0
  63. package/dist/drizzle/0041_session_principal_owner.sql +1 -0
  64. package/dist/drizzle/meta/_journal.json +14 -0
  65. package/dist/{execution-attempt-owner-recovery-CE_rvHKE.mjs → execution-attempt-owner-recovery-BZOEVYFH.mjs} +1 -1
  66. package/dist/extension-C6ANjR33.mjs +1 -0
  67. package/dist/{extension-context-BH31eOMv.d.mts → extension-context-pQ7Uio_s.d.mts} +44 -1
  68. package/dist/{extension-discovery-CA2IhDRo.d.mts → extension-discovery-Rup-gANp.d.mts} +114 -15
  69. package/dist/extension-kOwzAMud.mjs +1 -0
  70. package/dist/extension-namespace-CeRpt6C8.mjs +1 -0
  71. package/dist/{framework-packages-Bg4edkkM.mjs → framework-packages-U4Xhouxe.mjs} +1 -1
  72. package/dist/{hook-responses-Dq16X3Cb.d.mts → hook-responses-B882RcQc.d.mts} +48 -5
  73. package/dist/{index-Dm3d490n.d.mts → index-B2bxgKiK.d.mts} +1 -1
  74. package/dist/{index-7CVumCjj.d.mts → index-BTpkpHIS.d.mts} +65 -9
  75. package/dist/{index-Bh57xARQ.d.mts → index-BUv9gfRT.d.mts} +3 -3
  76. package/dist/{index-C6e9cwAl2.d.mts → index-BjQtqMxP2.d.mts} +4 -4
  77. package/dist/{index-B-u0Tu8X.d.mts → index-Bqi44ODz.d.mts} +37 -37
  78. package/dist/{index-CIzvBH8O.d.mts → index-C8two8wz.d.mts} +1 -1
  79. package/dist/{index-oxZt93RL.d.mts → index-CESqYf8a.d.mts} +2 -2
  80. package/dist/{index-C87P0WpY2.d.mts → index-CmCLAMNs.d.mts} +1 -1
  81. package/dist/index-CyEE1RI5.d.mts +869 -0
  82. package/dist/{index-De_oh9M-2.d.mts → index-D6Uq1btG.d.mts} +87 -10
  83. package/dist/{index-CRZ1jrxp.d.mts → index-DDSt0uS2.d.mts} +160 -12
  84. package/dist/{index-B6WkHnCQ.d.mts → index-DRxgmrad.d.mts} +1 -1
  85. package/dist/{index-U--ajOHy.d.mts → index-DUYjTfHD.d.mts} +1 -1
  86. package/dist/{index-HJkz7i4E.d.mts → index-DdJKsdya.d.mts} +188 -10
  87. package/dist/{index-B4pPwpKk.d.mts → index-DfREUyAk.d.mts} +1 -1
  88. package/dist/{index-ClKwF6LE.d.mts → index-Di-R1gmo.d.mts} +2 -2
  89. package/dist/{index-DWANFpTG.d.mts → index-Jdju2W3y.d.mts} +1 -1
  90. package/dist/{index-DQKVQPUS.d.mts → index-L6mssyeZ.d.mts} +1 -1
  91. package/dist/{index-B8v1-2-V2.d.mts → index-anIxF_eT.d.mts} +1 -1
  92. package/dist/{index-iVisrVdC2.d.mts → index-bYBnDBl32.d.mts} +539 -4
  93. package/dist/{index-Bg3WVL8n.d.mts → index-gNdH1F6r.d.mts} +531 -26
  94. package/dist/{index-zmDRR8gv2.d.mts → index-m5ZQFglW2.d.mts} +1 -1
  95. package/dist/{index-mTaFX2HH2.d.mts → index-uk8icWON2.d.mts} +419 -19
  96. package/dist/kernel/cli/index.d.mts +2 -2
  97. package/dist/kernel/cli/register.d.mts +1 -1
  98. package/dist/kernel/extension/index.d.mts +3 -2
  99. package/dist/kernel/extension/index.mjs +1 -1
  100. package/dist/kernel/index.d.mts +6 -6
  101. package/dist/kernel/index.mjs +1 -1
  102. package/dist/kernel/namespace/index.d.mts +1 -1
  103. package/dist/kernel/observability/index.d.mts +2 -2
  104. package/dist/kernel/observability/index.mjs +1 -1
  105. package/dist/kernel/providers/index.d.mts +1 -1
  106. package/dist/kernel/window/index.d.mts +1 -1
  107. package/dist/{lib-BF5XBSfw.mjs → lib-BdyGVjpO.mjs} +1 -1
  108. package/dist/{lib-Dljw2Cqh.mjs → lib-DxP3tPm9.mjs} +1 -1
  109. package/dist/load-extensions-BGfSWW_R.mjs +1 -0
  110. package/dist/{load-extensions-DGstT4_p.d.mts → load-extensions-Be_lOjm_.d.mts} +27 -14
  111. package/dist/mcp-http-server/index.mjs +1 -1
  112. package/dist/{namespace-BMdYJN_t.mjs → namespace-CqJhR19O.mjs} +1 -1
  113. package/dist/{namespace-Cmu-5_P9.d.mts → namespace-DudchWPb.d.mts} +457 -0
  114. package/dist/{namespace-BEbQb19g.d.mts → namespace-Eir1wQ_r.d.mts} +2 -2
  115. package/dist/node/bus-server/index.d.mts +1 -1
  116. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  117. package/dist/node/transports/index.d.mts +102 -4
  118. package/dist/node/transports/index.mjs +2 -2
  119. package/dist/{orchestrator-shared-CtPB6PAr.mjs → orchestrator-shared-CF-jPH91.mjs} +1 -1
  120. package/dist/ownership-memory-handler-C-y9zQf8.mjs +1 -0
  121. package/dist/package-AlsbnlSt.mjs +159 -0
  122. package/dist/{package-CDj3F-L3.d.mts → package-CwyC-Krg.d.mts} +1 -1
  123. package/dist/{package-DYScYC0D.mjs → package-kkPGlxMm.mjs} +1 -1
  124. package/dist/package.json +1 -1
  125. package/dist/{registry-DNMjJ-Oj.mjs → registry-DtaRGU8i.mjs} +1 -0
  126. package/dist/rules/index.d.mts +1 -1
  127. package/dist/rules/index.mjs +1 -1
  128. package/dist/rules/schemas.d.mts +1 -1
  129. package/dist/runtime-bun/index.d.mts +2 -2
  130. package/dist/runtime-bun/index.mjs +1 -1
  131. package/dist/runtime-node/boot-config.d.mts +45 -0
  132. package/dist/runtime-node/boot-config.mjs +1 -0
  133. package/dist/runtime-node/code-execution/index.d.mts +2 -2
  134. package/dist/runtime-node/code-execution/index.mjs +1 -1
  135. package/dist/runtime-node/extension-discovery.d.mts +2 -2
  136. package/dist/runtime-node/extension-discovery.mjs +1 -1
  137. package/dist/runtime-node/extension-validation.d.mts +1 -1
  138. package/dist/runtime-node/extension-validation.mjs +1 -1
  139. package/dist/runtime-node/index.d.mts +345 -27
  140. package/dist/runtime-node/index.mjs +21 -24
  141. package/dist/runtime-node/makaio-config.d.mts +1 -1
  142. package/dist/runtime-node/makaio-config.mjs +1 -1
  143. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  144. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  145. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  146. package/dist/{schema-BA1cHBbc.d.mts → schema-FY0EakKe.d.mts} +56 -0
  147. package/dist/schemas-CkxAK13D.mjs +1 -0
  148. package/dist/{schemas-CaYEFzK_.d.mts → schemas-FgVQek-j.d.mts} +2 -2
  149. package/dist/services/adapter-runtime/index.d.mts +3 -3
  150. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  151. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  152. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  153. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  154. package/dist/services/agent-runtime/index.d.mts +2 -2
  155. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  156. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  157. package/dist/services/automation-trigger/index.d.mts +19 -0
  158. package/dist/services/capability/index.d.mts +2 -2
  159. package/dist/services/code-execution/index.d.mts +1 -1
  160. package/dist/services/codebase/index.d.mts +2 -2
  161. package/dist/services/codebase/namespace.d.mts +1 -1
  162. package/dist/services/codebase/schemas.d.mts +1 -1
  163. package/dist/services/compression/index.d.mts +2 -2
  164. package/dist/services/compression/namespace.d.mts +1 -1
  165. package/dist/services/compression/schemas.d.mts +1 -1
  166. package/dist/services/context-projection/index.d.mts +94 -0
  167. package/dist/services/context-projection/index.mjs +1 -0
  168. package/dist/services/context-rules/index.d.mts +1 -1
  169. package/dist/services/execution-target/index.d.mts +3 -3
  170. package/dist/services/execution-target/namespace.d.mts +1 -1
  171. package/dist/services/execution-target/schemas.d.mts +1 -1
  172. package/dist/services/filesystem/index.d.mts +1 -1
  173. package/dist/services/index.d.mts +45 -40
  174. package/dist/services/index.mjs +1 -1
  175. package/dist/services/log-import/browser.d.mts +2 -2
  176. package/dist/services/log-import/index.d.mts +2 -2
  177. package/dist/services/log-import/log-import.d.mts +1 -1
  178. package/dist/services/materialization/index.d.mts +1 -1
  179. package/dist/services/model-registry/index.d.mts +1 -1
  180. package/dist/services/preferences/index.d.mts +2 -2
  181. package/dist/services/preferences/schemas.d.mts +1 -1
  182. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  183. package/dist/services/provider-context/index.d.mts +1 -1
  184. package/dist/services/session/handlers/index.d.mts +1 -1
  185. package/dist/services/session/index.d.mts +9 -9
  186. package/dist/services/session/index.mjs +1 -1
  187. package/dist/services/session/messages/namespace.d.mts +1 -1
  188. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  189. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  190. package/dist/services/session/session-events/namespace.d.mts +1 -1
  191. package/dist/services/session/storage/namespace.d.mts +1 -1
  192. package/dist/services/session/storage/schema.d.mts +1 -1
  193. package/dist/services/session/storage/schema.mjs +1 -1
  194. package/dist/services/session/testing/index.mjs +4 -2
  195. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  196. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  197. package/dist/services/session/turns/namespace.d.mts +1 -1
  198. package/dist/services/session-editor/index.d.mts +1 -1
  199. package/dist/services/settings/index.d.mts +3 -3
  200. package/dist/services/settings/namespace.d.mts +232 -3
  201. package/dist/services/settings/namespace.mjs +1 -1
  202. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  203. package/dist/services/settings/storage/index.d.mts +3 -3
  204. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  205. package/dist/services/subagent/index.d.mts +1 -1
  206. package/dist/services/subagent-template/index.d.mts +2 -2
  207. package/dist/services/subagent-template/namespace.d.mts +1 -1
  208. package/dist/services/subagent-template/schemas.d.mts +1 -1
  209. package/dist/services/tool-approval/index.d.mts +1 -1
  210. package/dist/services/tool-approval/index.mjs +1 -1
  211. package/dist/services/tools/index.d.mts +1 -1
  212. package/dist/services/tools/index.mjs +1 -1
  213. package/dist/services/tray-menu/index.d.mts +3 -3
  214. package/dist/services/tray-menu/namespace.d.mts +1 -1
  215. package/dist/services/tray-menu/schemas.d.mts +1 -1
  216. package/dist/services/turn/index.d.mts +1 -1
  217. package/dist/services/turn/namespace.d.mts +1 -1
  218. package/dist/services/workflow-transitions/index.d.mts +1 -1
  219. package/dist/services/workflow-transitions/index.mjs +1 -1
  220. package/dist/session-BNiMZnfF.mjs +1 -0
  221. package/dist/session-CMbztxNO.mjs +95 -0
  222. package/dist/src-BZdw54VU.mjs +1 -0
  223. package/dist/{src-CbAw9kjJ.mjs → src-C0sw_Vs_.mjs} +1 -1
  224. package/dist/{src-Xn6SS74f.mjs → src-CqQSqLQI.mjs} +1 -1
  225. package/dist/storage/drizzle/client.d.mts +1 -1
  226. package/dist/storage/drizzle/client.mjs +1 -1
  227. package/dist/storage/drizzle/index.d.mts +1 -1
  228. package/dist/storage/drizzle/index.mjs +1 -1
  229. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  230. package/dist/storage/handlers/index.d.mts +1 -1
  231. package/dist/{tool-approval-service-pbkGcAV8.mjs → tool-approval-service-CRo3fZRF.mjs} +1 -1
  232. package/dist/{tools-C5Gy0IQG.mjs → tools-CKaxi3Mb.mjs} +1 -1
  233. package/dist/{transition-D-Lgbp1j.d.mts → transition-DMv8cgEd.d.mts} +2 -2
  234. package/dist/{types-CjYcHDPo2.d.mts → types-7L3BrU9m2.d.mts} +1 -1
  235. package/dist/{types-DhbllltK.d.mts → types-DNYO_Rxj.d.mts} +12 -3
  236. package/dist/ui-hooks/index.d.mts +17 -24
  237. package/dist/ui-hooks/index.mjs +1 -1
  238. package/dist/ui-kernel/index.d.mts +11 -2
  239. package/dist/ui-kernel/index.mjs +1 -1
  240. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  241. package/dist/ui-views/index.mjs +1 -1
  242. package/dist/utils/index.d.mts +31 -1
  243. package/dist/utils/index.mjs +2 -2
  244. package/dist/{view-builder-CHUTXJDl.d.mts → view-builder-DJGz9I-u.d.mts} +2 -2
  245. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  246. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  247. package/dist/workflow-engine/index.d.mts +2 -2
  248. package/dist/workflow-engine/index.mjs +1 -1
  249. package/dist/workflow-engine/package.d.mts +1 -1
  250. package/dist/workflow-engine/package.mjs +1 -1
  251. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  252. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  253. package/dist/workflow-engine/testing/conformance.mjs +1 -1
  254. package/dist/workflow-engine/testing/index.d.mts +1 -1
  255. package/dist/workflow-engine/testing/index.mjs +1 -1
  256. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  257. package/dist/workflow-engine/testing/sqlite.mjs +1 -1
  258. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  259. package/dist/{workflow-transitions-C0sg3kar.mjs → workflow-transitions-t0ORS1F5.mjs} +1 -1
  260. package/dist/workflow-worker-DXCXb3g-.mjs +3 -0
  261. package/package.json +9 -1
  262. package/dist/bus-BQ64i3DN.mjs +0 -9
  263. package/dist/client-Bg3_IdaF.mjs +0 -1
  264. package/dist/extension-CfrTp3rC.mjs +0 -1
  265. package/dist/extension-CnNcY1hR.mjs +0 -1
  266. package/dist/extension-namespace-Ct9L6SKr.mjs +0 -1
  267. package/dist/index-D_j_T3nS.d.mts +0 -435
  268. package/dist/load-extensions-BVgxTj_y.mjs +0 -1
  269. package/dist/ownership-memory-handler-xex7sLiX.mjs +0 -1
  270. package/dist/schemas-ClkcU_N5.mjs +0 -1
  271. package/dist/session-6UG5udTX.mjs +0 -95
  272. package/dist/session-BB0s7c2B.mjs +0 -1
  273. package/dist/workflow-worker-ChrMIcKm.mjs +0 -2
  274. /package/dist/{adapter-binding-BxjUfkOn.d.mts → adapter-binding-CaYBrIkL.d.mts} +0 -0
  275. /package/dist/{attempt-control-evidence-7lwRG73Y.mjs → attempt-control-evidence-CHBnJoqN.mjs} +0 -0
  276. /package/dist/{attempt-fixtures-DHdYmr3o.mjs → attempt-fixtures-D3IsP0KH.mjs} +0 -0
  277. /package/dist/{authority-state-bootstrap-CvuWPywM.mjs → authority-state-bootstrap-4F5Wc_6l.mjs} +0 -0
  278. /package/dist/{base-orchestrator-CrXiMJzf.d.mts → base-orchestrator-1ofFsqUz.d.mts} +0 -0
  279. /package/dist/{bootstrap-start-client-C1ZHbv6e.mjs → bootstrap-start-client-9nOdeDYl.mjs} +0 -0
  280. /package/dist/{capability-service-CQ1aw_p-.d.mts → capability-service-CUN0MIS7.d.mts} +0 -0
  281. /package/dist/{client-ByjHcS78.d.mts → client-BY3sBW2L.d.mts} +0 -0
  282. /package/dist/{client-binary-version-verifier-C4fEAUdo.d.mts → client-binary-version-verifier-BeO4Eptw.d.mts} +0 -0
  283. /package/dist/{clients-namespace-D4BxF2Nw.d.mts → clients-namespace-D92YsbKI.d.mts} +0 -0
  284. /package/dist/{config-namespace-B1zyOYwH.d.mts → config-namespace-OEckUfVE.d.mts} +0 -0
  285. /package/dist/{create-static-mount-Dgxgi4W3.mjs → create-static-mount-4B-mNtx1.mjs} +0 -0
  286. /package/dist/{cross-spawn-BMCAyqrN.mjs → cross-spawn-DGqEuNyT.mjs} +0 -0
  287. /package/dist/{definition-ClWxAKQ2.d.mts → definition-DLJg-P4G.d.mts} +0 -0
  288. /package/dist/{esm-Ccx-3z8E.mjs → esm-DwiWcwH0.mjs} +0 -0
  289. /package/dist/{execution-attempt-repository-aabFKcXN.mjs → execution-attempt-repository-CY289HlC.mjs} +0 -0
  290. /package/dist/{execution-attempt-repository-BUah8hma.d.mts → execution-attempt-repository-DOb5V4N2.d.mts} +0 -0
  291. /package/dist/{extension-package-provenance-C7oO5JAE.mjs → extension-package-provenance-ClpN3GHp.mjs} +0 -0
  292. /package/dist/{filesystem-service-CDYoiwWY.d.mts → filesystem-service-BmavE-uO.d.mts} +0 -0
  293. /package/dist/{index-BbkcbY6d.d.mts → index--gbsE1W0.d.mts} +0 -0
  294. /package/dist/{index-DdVpWkaI.d.mts → index-B36rL4gp.d.mts} +0 -0
  295. /package/dist/{index-DM72_93s.d.mts → index-BD1SbHpP.d.mts} +0 -0
  296. /package/dist/{index-KdlZRuTp.d.mts → index-BDcK7jqJ2.d.mts} +0 -0
  297. /package/dist/{index-DAaQ--ki.d.mts → index-BQYGOXY5.d.mts} +0 -0
  298. /package/dist/{index-gAyARaKS.d.mts → index-BneZFJ7x.d.mts} +0 -0
  299. /package/dist/{index-D8ELwT5y.d.mts → index-BujgCaKt.d.mts} +0 -0
  300. /package/dist/{index-DfU8s_xP.d.mts → index-C2StVLk4.d.mts} +0 -0
  301. /package/dist/{index-BGnQ0EyD.d.mts → index-CCTzitBA.d.mts} +0 -0
  302. /package/dist/{index-CVRT01082.d.mts → index-Cj_V1aRL.d.mts} +0 -0
  303. /package/dist/{index-nkix3hP7.d.mts → index-CpN2C9jq.d.mts} +0 -0
  304. /package/dist/{index-D6p17KPs.d.mts → index-CsRPJ9FV.d.mts} +0 -0
  305. /package/dist/{index-BPNfYEA22.d.mts → index-CvdvuhTL2.d.mts} +0 -0
  306. /package/dist/{index-DmX9W3xH2.d.mts → index-D3peNmHN2.d.mts} +0 -0
  307. /package/dist/{index-DiZ4LmyE.d.mts → index-D7smT-YD.d.mts} +0 -0
  308. /package/dist/{index-B78CRVi9.d.mts → index-DEx4ZFkz.d.mts} +0 -0
  309. /package/dist/{index-CjDQn6lw.d.mts → index-DGoJayJg.d.mts} +0 -0
  310. /package/dist/{index-F7cVpFJ9.d.mts → index-DTvYp2GT.d.mts} +0 -0
  311. /package/dist/{index-Htfr-K5U2.d.mts → index-DqliLe_D2.d.mts} +0 -0
  312. /package/dist/{index-BCU5oByg.d.mts → index-DubyRZD9.d.mts} +0 -0
  313. /package/dist/{index-DjSUOMlr.d.mts → index-DwOpaQAE.d.mts} +0 -0
  314. /package/dist/{index-BZoOYV-y.d.mts → index-DxkSkszz.d.mts} +0 -0
  315. /package/dist/{index-tbjIqwa3.d.mts → index-TBJ1kIGA.d.mts} +0 -0
  316. /package/dist/{index-DXQTkwLB.d.mts → index-YOXWpZAS.d.mts} +0 -0
  317. /package/dist/{index-CXpgL3gz2.d.mts → index-aIJ7A4DC2.d.mts} +0 -0
  318. /package/dist/{index-D6liU_KS.d.mts → index-fxh7TB0q.d.mts} +0 -0
  319. /package/dist/{index-xsaaa85T.d.mts → index-qczb9Yx3.d.mts} +0 -0
  320. /package/dist/{index-C_kOkO3E.d.mts → index-zqo2mX_Z.d.mts} +0 -0
  321. /package/dist/{json-value-Ymw2f8i_.d.mts → json-value-Bjl8jzom.d.mts} +0 -0
  322. /package/dist/{jsonl-transport-Bg033Ng0.mjs → jsonl-transport-Ct1RWs0h.mjs} +0 -0
  323. /package/dist/{lib-BizqbepU.mjs → lib-DomKag_k.mjs} +0 -0
  324. /package/dist/{namespace-rJ3ycPMg.d.mts → namespace-Bhx72V7S.d.mts} +0 -0
  325. /package/dist/{namespace-BCVKdu-U.d.mts → namespace-CxEQv9iZ.d.mts} +0 -0
  326. /package/dist/{namespace-COHHDh2I.d.mts → namespace-D09uQ231.d.mts} +0 -0
  327. /package/dist/{namespace-UFcDEBJB.d.mts → namespace-D5DkpaaN.d.mts} +0 -0
  328. /package/dist/{namespace-CvK86QFk.d.mts → namespace-DHLwz4o3.d.mts} +0 -0
  329. /package/dist/{namespace-B5IFLQc-.d.mts → namespace-DHbrNQYD.d.mts} +0 -0
  330. /package/dist/{namespace-s0e215xO.d.mts → namespace-DyD06b5-.d.mts} +0 -0
  331. /package/dist/{namespace-C1pPZKtI.d.mts → namespace-Dz5_Hrz7.d.mts} +0 -0
  332. /package/dist/{namespace-Phxf0Lep.d.mts → namespace-Lkv2nyzb.d.mts} +0 -0
  333. /package/dist/{namespace-DM5vykb7.d.mts → namespace-hlhPqSsw.d.mts} +0 -0
  334. /package/dist/{namespace-DlOQmhgX.d.mts → namespace-x-gk5SmK.d.mts} +0 -0
  335. /package/dist/{namespace-f6Kz5cwX.d.mts → namespace-zusFEJPh.d.mts} +0 -0
  336. /package/dist/{orchestrator-shared--srEeSaY.d.mts → orchestrator-shared-ChU5qRSe.d.mts} +0 -0
  337. /package/dist/{packages-B98-WETs.d.mts → packages-D2s51nGU.d.mts} +0 -0
  338. /package/dist/{providers-namespace-DRcl03bo.d.mts → providers-namespace-BLVt8OyP.d.mts} +0 -0
  339. /package/dist/{runtime-inputs-DBtVIy9h.d.mts → runtime-inputs-BU_kBrP7.d.mts} +0 -0
  340. /package/dist/{schemas-CEJe8O6P.d.mts → schemas-3KTmPuZg.d.mts} +0 -0
  341. /package/dist/{schemas-D_-iXLQ9.d.mts → schemas-B-5_Dp4_.d.mts} +0 -0
  342. /package/dist/{schemas-CeItAAQM.d.mts → schemas-BLxdGZkr.d.mts} +0 -0
  343. /package/dist/{schemas-Cj6Gbqch.d.mts → schemas-BegArpU_.d.mts} +0 -0
  344. /package/dist/{schemas-Ca5RILd-2.d.mts → schemas-BzB6z9oX2.d.mts} +0 -0
  345. /package/dist/{schemas-CtzZDp29.d.mts → schemas-CBBzvIh0.d.mts} +0 -0
  346. /package/dist/{schemas-Cq1d5tid.d.mts → schemas-CD3Mq-jC.d.mts} +0 -0
  347. /package/dist/{schemas-LiiyNNpr.d.mts → schemas-Cl7fPlRv.d.mts} +0 -0
  348. /package/dist/{schemas-DJ2vMsgm.d.mts → schemas-CqawCYTY.d.mts} +0 -0
  349. /package/dist/{schemas-2_D4iVbb.d.mts → schemas-DEg6R9ph.d.mts} +0 -0
  350. /package/dist/{schemas-JjyFxrC0.d.mts → schemas-rMUsvzeJ.d.mts} +0 -0
  351. /package/dist/{server-lifecycle-DUKp1Fbf.d.mts → server-lifecycle-CTJvpdeL.d.mts} +0 -0
  352. /package/dist/{session-lineage-C3myyt5x.d.mts → session-lineage-BuGN3RZs.d.mts} +0 -0
  353. /package/dist/{storage-namespace-IvLOIP7j.d.mts → storage-namespace-B5r_ScUz.d.mts} +0 -0
  354. /package/dist/{storage-namespace-definition-Cv0XiTXb.d.mts → storage-namespace-definition-DiYr8UNl.d.mts} +0 -0
  355. /package/dist/{types-hkExapGH.d.mts → types-BSx8YYlc.d.mts} +0 -0
  356. /package/dist/{types-BYEybzjX.d.mts → types-CpEoQapk.d.mts} +0 -0
  357. /package/dist/{types-QRSc2AUU.d.mts → types-Cuhnt15L.d.mts} +0 -0
  358. /package/dist/{types-QsyX4H21.d.mts → types-DEGuc-fn.d.mts} +0 -0
  359. /package/dist/{types-BRM1AZaP.d.mts → types-DciLiPMd.d.mts} +0 -0
  360. /package/dist/{types-CsmvIK25.mjs → types-wwuw7RkB.mjs} +0 -0
  361. /package/dist/{window-registry-DeG37kt8.d.mts → window-registry-C3W2wtlX.d.mts} +0 -0
@@ -192,6 +192,36 @@ declare function isNpmPackageName(value: string): boolean;
192
192
  */
193
193
  declare function safeStringify(value: unknown): string;
194
194
  //#endregion
195
+ //#region packages/utils/src/summarize-diagnostic-text.d.ts
196
+ /**
197
+ * Default bound for a diagnostic summary.
198
+ *
199
+ * Long enough to carry a schema rejection or a parser message in full, short
200
+ * enough that the summary never buries the identifiers around it in a log line
201
+ * or a persisted failure reason.
202
+ */
203
+ declare const DEFAULT_DIAGNOSTIC_SUMMARY_LENGTH = 200;
204
+ /**
205
+ * Reduce arbitrary text to one bounded, single-line fragment fit for a log line.
206
+ *
207
+ * Diagnostic text often arrives from somewhere that never considered where it
208
+ * would be printed: a multi-line validation report, a parser message carrying
209
+ * the offending input, or a message from another process. Embedded newlines
210
+ * break log framing, control characters can rewrite a terminal, and unbounded
211
+ * length pushes the surrounding identifiers out of view. This collapses all
212
+ * three problems into one shape without editorializing about the content.
213
+ *
214
+ * Truncation is marked with a horizontal ellipsis, and the ellipsis is counted:
215
+ * the result never exceeds `maxLength`. Callers that need the untruncated text
216
+ * keep it themselves — typically as an error's `cause`.
217
+ * @param text - Raw text from a producer, a parser, or a rejected validation.
218
+ * @param maxLength - Longest result to return, ellipsis included. Defaults to
219
+ * {@link DEFAULT_DIAGNOSTIC_SUMMARY_LENGTH}.
220
+ * @returns The text with invisible characters and whitespace runs collapsed to
221
+ * single spaces, trimmed, and truncated to `maxLength`.
222
+ */
223
+ declare function summarizeDiagnosticText(text: string, maxLength?: number): string;
224
+ //#endregion
195
225
  //#region packages/utils/src/serial-lane.d.ts
196
226
  /**
197
227
  * A FIFO lane that runs queued operations one at a time.
@@ -389,4 +419,4 @@ interface TimeoutSignal {
389
419
  */
390
420
  declare function createTimeoutSignal(timeoutMs: number): TimeoutSignal;
391
421
  //#endregion
392
- export { CLI_COMMAND_ABORT_SIGNALS, CLI_COMMAND_SIGNAL_EXIT_CODES, CLI_EXIT_CODES, type CliCommandErrorKind, DEFAULT_TIMEOUTS, DeferredPromise, NPM_PACKAGE_NAME_MAX_LENGTH, type RequiredTimeoutConfig, SerialLane, TIMEOUT_CATEGORIES, type TimeoutCategory, type TimeoutConfig, type TimeoutLayer, type TimeoutLayerInput, type TimeoutSignal, type TimeoutSources, type TrackedTimeoutConfig, canonicalStringify, classifyCliCommandError, createTimeoutSignal, deepFreeze, explainAllTimeouts, explainTimeout, extractJson, getErrorString, isBunRuntime, isNpmPackageName, isRecord, normalizeBusSecret, readStdin, resolveCliSignalExitCode, resolveTimeouts, safeStringify };
422
+ export { CLI_COMMAND_ABORT_SIGNALS, CLI_COMMAND_SIGNAL_EXIT_CODES, CLI_EXIT_CODES, type CliCommandErrorKind, DEFAULT_DIAGNOSTIC_SUMMARY_LENGTH, DEFAULT_TIMEOUTS, DeferredPromise, NPM_PACKAGE_NAME_MAX_LENGTH, type RequiredTimeoutConfig, SerialLane, TIMEOUT_CATEGORIES, type TimeoutCategory, type TimeoutConfig, type TimeoutLayer, type TimeoutLayerInput, type TimeoutSignal, type TimeoutSources, type TrackedTimeoutConfig, canonicalStringify, classifyCliCommandError, createTimeoutSignal, deepFreeze, explainAllTimeouts, explainTimeout, extractJson, getErrorString, isBunRuntime, isNpmPackageName, isRecord, normalizeBusSecret, readStdin, resolveCliSignalExitCode, resolveTimeouts, safeStringify, summarizeDiagnosticText };
@@ -1,2 +1,2 @@
1
- import{n as e,t}from"../npm-package-name-DuTYVICk.mjs";function n(){let e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}var r=class{deferred=n();isTracked=!1;getPromise(){return this.isTracked=!0,this.deferred.promise}resolve(e){this.deferred.resolve(e)}reject(e){this.isTracked&&this.deferred.reject(e)}};const i={failure:1,timeout:124,abort:130},a=[`SIGINT`,`SIGTERM`,`SIGHUP`],o={SIGINT:130,SIGTERM:143,SIGHUP:129};async function s(e){if(process.stdin.isTTY)return null;if(e?.aborted===!0)throw u(e.reason);let t=[],n=process.stdin,r=(async()=>{for await(let e of n)t.push(Buffer.from(e));return Buffer.concat(t).toString(`utf-8`)})();if(r.catch(()=>void 0),e===void 0)return await r;let i,a=new Promise((t,r)=>{i=()=>{let t=u(e.reason);n.destroy(t),r(t)},e.addEventListener(`abort`,i,{once:!0})});try{return await Promise.race([r,a])}finally{i!==void 0&&e.removeEventListener(`abort`,i)}}function c(e){return e instanceof Error&&e.name===`OnceAbortError`?`abort`:e instanceof Error&&e.name===`OnceTimeoutError`?`timeout`:`failure`}function l(e){return typeof e==`string`&&Object.hasOwn(o,e)?o[e]:void 0}function u(e){let t=Error(e===void 0?`Command aborted`:String(e));return t.name=`OnceAbortError`,t}function d(e){let t=JSON.stringify(e,(e,t)=>{if(typeof t==`object`&&t&&!Array.isArray(t)){let e=Object.create(null);for(let n of Object.keys(t).sort())e[n]=t[n];return e}return t});if(t===void 0)throw TypeError(`canonicalStringify requires a top-level JSON-serializable value`);return t}function f(e){if(typeof e==`object`&&e){for(let t of Object.values(e))f(t);return Object.freeze(e)}return e}function p(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function m(e){let t=e.indexOf(`{`),n=e.lastIndexOf(`}`);return t===-1||n===-1||n<=t?e:e.slice(t,n+1)}function h(e){if(!e)return`Unknown error`;if(typeof e==`string`)return e;try{return e instanceof Error?e.message?String(e.message):`Unknown error`:String(e)||`Unknown error`}catch{return`Unknown error`}}function g(e){if(e===void 0)return;let t=e.trim();if(t===``)throw Error(`MAKAIO_BUS_SECRET is set but empty after trimming; refusing to use an empty secret`);return t}function _(){return globalThis.Bun!==void 0}function v(e){if(e===void 0)return`null`;let t=[];try{return JSON.stringify(e,function(e,n){if(typeof n==`bigint`)return n.toString();for(;t.length>0&&t[t.length-1]!==this;)t.pop();if(typeof n==`object`&&n){if(t.includes(n))return`[Circular]`;t.push(n)}return n})??JSON.stringify(String(e))??`"[Unserializable]"`}catch{try{return JSON.stringify(String(e))??`"[Unserializable]"`}catch{return`"[Unserializable]"`}}}var y=class{tail=Promise.resolve();run(e){let t=this.tail.then(e);return this.tail=t.then(()=>void 0,()=>void 0),t}};const b={initialization:3e4,acknowledgement:3e4,completion:6e4,toolApproval:5e3,eventWait:1e4},x=[`initialization`,`acknowledgement`,`completion`,`toolApproval`,`eventWait`];function S(e){let t={...b},n={};for(let e of x)n[e]={layer:`global`,source:`DEFAULT_TIMEOUTS`};for(let{layer:r,source:i,config:a}of e)if(a)for(let e of x){let o=a[e];o!==void 0&&(t[e]=o,n[e]={layer:r,source:i})}return{values:t,sources:n}}function C(e,t){let{layer:n,source:r}=e.sources[t];return`${t}=${e.values[t]}ms (from ${n}: ${r})`}function w(e){return x.map(t=>C(e,t)).join(`
2
- `)}function T(e){let t=new AbortController,n=setTimeout(()=>t.abort(),e);return{signal:t.signal,clear:()=>clearTimeout(n)}}export{a as CLI_COMMAND_ABORT_SIGNALS,o as CLI_COMMAND_SIGNAL_EXIT_CODES,i as CLI_EXIT_CODES,b as DEFAULT_TIMEOUTS,r as DeferredPromise,t as NPM_PACKAGE_NAME_MAX_LENGTH,y as SerialLane,x as TIMEOUT_CATEGORIES,d as canonicalStringify,c as classifyCliCommandError,T as createTimeoutSignal,f as deepFreeze,w as explainAllTimeouts,C as explainTimeout,m as extractJson,h as getErrorString,_ as isBunRuntime,e as isNpmPackageName,p as isRecord,g as normalizeBusSecret,s as readStdin,l as resolveCliSignalExitCode,S as resolveTimeouts,v as safeStringify};
1
+ import{n as e,t}from"../npm-package-name-DuTYVICk.mjs";function n(){let e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}var r=class{deferred=n();isTracked=!1;getPromise(){return this.isTracked=!0,this.deferred.promise}resolve(e){this.deferred.resolve(e)}reject(e){this.isTracked&&this.deferred.reject(e)}};const i={failure:1,timeout:124,abort:130},a=[`SIGINT`,`SIGTERM`,`SIGHUP`],o={SIGINT:130,SIGTERM:143,SIGHUP:129};async function s(e){if(process.stdin.isTTY)return null;if(e?.aborted===!0)throw u(e.reason);let t=[],n=process.stdin,r=(async()=>{for await(let e of n)t.push(Buffer.from(e));return Buffer.concat(t).toString(`utf-8`)})();if(r.catch(()=>void 0),e===void 0)return await r;let i,a=new Promise((t,r)=>{i=()=>{let t=u(e.reason);n.destroy(t),r(t)},e.addEventListener(`abort`,i,{once:!0})});try{return await Promise.race([r,a])}finally{i!==void 0&&e.removeEventListener(`abort`,i)}}function c(e){return e instanceof Error&&e.name===`OnceAbortError`?`abort`:e instanceof Error&&e.name===`OnceTimeoutError`?`timeout`:`failure`}function l(e){return typeof e==`string`&&Object.hasOwn(o,e)?o[e]:void 0}function u(e){let t=Error(e===void 0?`Command aborted`:String(e));return t.name=`OnceAbortError`,t}function d(e){let t=JSON.stringify(e,(e,t)=>{if(typeof t==`object`&&t&&!Array.isArray(t)){let e=Object.create(null);for(let n of Object.keys(t).sort())e[n]=t[n];return e}return t});if(t===void 0)throw TypeError(`canonicalStringify requires a top-level JSON-serializable value`);return t}function f(e){if(typeof e==`object`&&e){for(let t of Object.values(e))f(t);return Object.freeze(e)}return e}function p(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function m(e){let t=e.indexOf(`{`),n=e.lastIndexOf(`}`);return t===-1||n===-1||n<=t?e:e.slice(t,n+1)}function h(e){if(!e)return`Unknown error`;if(typeof e==`string`)return e;try{return e instanceof Error?e.message?String(e.message):`Unknown error`:String(e)||`Unknown error`}catch{return`Unknown error`}}function g(e){if(e===void 0)return;let t=e.trim();if(t===``)throw Error(`MAKAIO_BUS_SECRET is set but empty after trimming; refusing to use an empty secret`);return t}function _(){return globalThis.Bun!==void 0}function v(e){if(e===void 0)return`null`;let t=[];try{return JSON.stringify(e,function(e,n){if(typeof n==`bigint`)return n.toString();for(;t.length>0&&t[t.length-1]!==this;)t.pop();if(typeof n==`object`&&n){if(t.includes(n))return`[Circular]`;t.push(n)}return n})??JSON.stringify(String(e))??`"[Unserializable]"`}catch{try{return JSON.stringify(String(e))??`"[Unserializable]"`}catch{return`"[Unserializable]"`}}}const y=200,b=/[\p{Cc}\p{Cf}]/gu,x=/\s+/gu;function S(e,t=200){let n=e.replace(b,` `).replace(x,` `).trim();return n.length<=t?n:`${n.slice(0,Math.max(0,t-1))}…`}var C=class{tail=Promise.resolve();run(e){let t=this.tail.then(e);return this.tail=t.then(()=>void 0,()=>void 0),t}};const w={initialization:3e4,acknowledgement:3e4,completion:6e4,toolApproval:5e3,eventWait:1e4},T=[`initialization`,`acknowledgement`,`completion`,`toolApproval`,`eventWait`];function E(e){let t={...w},n={};for(let e of T)n[e]={layer:`global`,source:`DEFAULT_TIMEOUTS`};for(let{layer:r,source:i,config:a}of e)if(a)for(let e of T){let o=a[e];o!==void 0&&(t[e]=o,n[e]={layer:r,source:i})}return{values:t,sources:n}}function D(e,t){let{layer:n,source:r}=e.sources[t];return`${t}=${e.values[t]}ms (from ${n}: ${r})`}function O(e){return T.map(t=>D(e,t)).join(`
2
+ `)}function k(e){let t=new AbortController,n=setTimeout(()=>t.abort(),e);return{signal:t.signal,clear:()=>clearTimeout(n)}}export{a as CLI_COMMAND_ABORT_SIGNALS,o as CLI_COMMAND_SIGNAL_EXIT_CODES,i as CLI_EXIT_CODES,y as DEFAULT_DIAGNOSTIC_SUMMARY_LENGTH,w as DEFAULT_TIMEOUTS,r as DeferredPromise,t as NPM_PACKAGE_NAME_MAX_LENGTH,C as SerialLane,T as TIMEOUT_CATEGORIES,d as canonicalStringify,c as classifyCliCommandError,k as createTimeoutSignal,f as deepFreeze,O as explainAllTimeouts,D as explainTimeout,m as extractJson,h as getErrorString,_ as isBunRuntime,e as isNpmPackageName,p as isRecord,g as normalizeBusSecret,s as readStdin,l as resolveCliSignalExitCode,E as resolveTimeouts,v as safeStringify,S as summarizeDiagnosticText};
@@ -1,4 +1,4 @@
1
- import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-JjyFxrC0.mjs";
1
+ import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-rMUsvzeJ.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4
 
@@ -134,8 +134,8 @@ type ProjectedField = z.infer<typeof ProjectedFieldSchema>;
134
134
  declare const ArtifactProjectionPolicySchema: z.ZodObject<{
135
135
  mode: z.ZodEnum<{
136
136
  none: "none";
137
- surface: "surface";
138
137
  comment: "comment";
138
+ surface: "surface";
139
139
  }>;
140
140
  defaultRole: z.ZodOptional<z.ZodEnum<{
141
141
  artifact: "artifact";
@@ -1,2 +1,2 @@
1
- import { $t as AttemptSettlementSnapshot, A as OperationReportDecision, 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, H as RegisterRuntimeInput, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, K as decodeDurableOutcome, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, N as PreparationReceipt, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, V as RecoverableAttemptRecord, W as RuntimeReadinessDecision, X as CompleteProviderOperationInput, Y as sameDurableOutcome, Z as HandoffProviderOperationInput, _ as EXECUTION_ATTEMPT_STATUSES, a as AllocationRefEvolutionDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, c as AttemptExecutionState, d as BootstrapStartState, en as EnsureExecutionAttemptDecision, 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, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nn as EnsureExecutionAttemptPersistenceInput, o as AllocationTerminationDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, r as AllocationRecordingDecision, rn as ReadAttemptSettlementInput, s as AttemptControlState, t as ATTEMPT_OPERATION_START_GATES, tn as EnsureExecutionAttemptInput, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, 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-BUah8hma.mjs";
1
+ import { $t as AttemptSettlementSnapshot, A as OperationReportDecision, 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, H as RegisterRuntimeInput, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, K as decodeDurableOutcome, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, N as PreparationReceipt, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, V as RecoverableAttemptRecord, W as RuntimeReadinessDecision, X as CompleteProviderOperationInput, Y as sameDurableOutcome, Z as HandoffProviderOperationInput, _ as EXECUTION_ATTEMPT_STATUSES, a as AllocationRefEvolutionDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, c as AttemptExecutionState, d as BootstrapStartState, en as EnsureExecutionAttemptDecision, 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, j as OutcomeCodec, jt as evaluateRuntimeRegistration, k as OperationCompletionDecision, kt as evaluateProvisionerIncarnationLoss, l as AttemptOperationStartGate, m as DuplicateExecutionAttemptError, mt as RecordProviderOperationUncertaintyInput, n as AdmitOperationInput, nn as EnsureExecutionAttemptPersistenceInput, o as AllocationTerminationDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, r as AllocationRecordingDecision, rn as ReadAttemptSettlementInput, s as AttemptControlState, t as ATTEMPT_OPERATION_START_GATES, tn as EnsureExecutionAttemptInput, tt as OpenProviderOperationRecord, u as BeginProvisioningInput, 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-DOb5V4N2.mjs";
2
2
  export { ATTEMPT_OPERATION_START_GATES, AdmitOperationInput, AllocationRecordingDecision, AllocationRefEvolution, AllocationRefEvolutionDecision, AllocationTerminationDecision, AttemptControlState, AttemptExecutionState, AttemptOperationStartGate, AttemptOutcomeControlObservation, AttemptReachability, AttemptReachabilityDecision, AttemptSettlementRead, AttemptSettlementSnapshot, BeginProvisioningInput, BootstrapStartState, CompleteOperationInput, CompleteProviderOperationInput, DiscoveredAllocationDecision, DuplicateExecutionAttemptError, DurableOutcome, EXECUTION_ATTEMPT_SETTLEMENT_KINDS, EXECUTION_ATTEMPT_STATUSES, EnsureExecutionAttemptDecision, EnsureExecutionAttemptInput, EnsureExecutionAttemptPersistenceInput, ExecutionAttemptCancellationDecision, ExecutionAttemptCancellationIntent, ExecutionAttemptCreate, ExecutionAttemptOutcomeCommit, ExecutionAttemptOutcomeDecision, ExecutionAttemptRecord, ExecutionAttemptRecoveryOperations, ExecutionAttemptRepository, ExecutionAttemptSettlementKind, ExecutionAttemptStatus, ExecutionOwnerId, GetInstructionInput, HandoffProviderOperationInput, InfrastructureFailureDecision, ListOpenProviderOperationsInput, MarkRuntimeReadyInput, OpenProviderOperationRecord, OperationAdmissionDecision, OperationCompletionDecision, OperationReportDecision, OutcomeCodec, PendingAttemptAbandonmentDecision, PreparationReceipt, ProvisionerIncarnationLossDecision, ProvisioningAbsenceDecision, ProvisioningClaimDecision, ReadAttemptSettlementInput, ReadBootstrapStartStateInput, RecordAllocationInput, RecordAllocationTerminatedInput, RecordInfrastructureFailureInput, RecordProviderOperationUncertaintyInput, RecordProvisionerIncarnationLostInput, RecordProvisioningAbsentInput, RecoverableAttemptRecord, RegisterRuntimeInput, RenewProviderOperationClaimInput, ReportOperationInput, RequestAttemptCancellationInput, RequestExecutionCancellationInput, RuntimeOutcomeFence, RuntimeOutcomeFenceMismatchError, RuntimeReadinessDecision, RuntimeRegistrationDecision, TakeOverProviderOperationInput, assertRuntimeOutcomeFence, decodeDurableOutcome, durableOutcome, evaluateAttemptCancellation, evaluateAttemptReachability, evaluateOperationAdmission, evaluateOperationCompletion, evaluatePreparationReport, evaluateProvisionerIncarnationLoss, evaluateRuntimeReadiness, evaluateRuntimeRegistration, sameAllocationRef, sameDurableOutcome, snapshotAttemptOutcomeControl, snapshotRequestAttemptCancellationInput, snapshotRequestExecutionCancellationInput };
@@ -1 +1 @@
1
- import{_ as e,a as t,b as n,c as r,d as i,f as a,g as o,h as s,i as c,l,m as u,n as d,o as f,p,r as m,s as h,t as g,u as _,v,x as y,y as b}from"../execution-attempt-repository-aabFKcXN.mjs";export{g as ATTEMPT_OPERATION_START_GATES,d as DuplicateExecutionAttemptError,m as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,c as EXECUTION_ATTEMPT_STATUSES,p as RuntimeOutcomeFenceMismatchError,u as assertRuntimeOutcomeFence,t as decodeDurableOutcome,f as durableOutcome,l as evaluateAttemptCancellation,s as evaluateAttemptReachability,o as evaluateOperationAdmission,e as evaluateOperationCompletion,v as evaluatePreparationReport,b as evaluateProvisionerIncarnationLoss,n as evaluateRuntimeReadiness,y as evaluateRuntimeRegistration,h as sameAllocationRef,r as sameDurableOutcome,_ as snapshotAttemptOutcomeControl,i as snapshotRequestAttemptCancellationInput,a as snapshotRequestExecutionCancellationInput};
1
+ import{_ as e,a as t,b as n,c as r,d as i,f as a,g as o,h as s,i as c,l,m as u,n as d,o as f,p,r as m,s as h,t as g,u as _,v,x as y,y as b}from"../execution-attempt-repository-CY289HlC.mjs";export{g as ATTEMPT_OPERATION_START_GATES,d as DuplicateExecutionAttemptError,m as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,c as EXECUTION_ATTEMPT_STATUSES,p as RuntimeOutcomeFenceMismatchError,u as assertRuntimeOutcomeFence,t as decodeDurableOutcome,f as durableOutcome,l as evaluateAttemptCancellation,s as evaluateAttemptReachability,o as evaluateOperationAdmission,e as evaluateOperationCompletion,v as evaluatePreparationReport,b as evaluateProvisionerIncarnationLoss,n as evaluateRuntimeReadiness,y as evaluateRuntimeRegistration,h as sameAllocationRef,r as sameDurableOutcome,_ as snapshotAttemptOutcomeControl,i as snapshotRequestAttemptCancellationInput,a as snapshotRequestExecutionCancellationInput};
@@ -1,5 +1,5 @@
1
- import { $ as InitialProviderOperationClaimContextSource, $t as AttemptSettlementSnapshot, A as OperationReportDecision, 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 ReadAttemptCancellationControlInput, H as RegisterRuntimeInput, Ht as AttemptControlEvidence, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, Jt as evaluateAttemptControlReceipt, K as decodeDurableOutcome, Kt as RecordAttemptControlReceiptInput, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, Ut as AttemptControlEvidenceDecision, V as RecoverableAttemptRecord, Vt as AttemptCancellationControlState, W as RuntimeReadinessDecision, Wt as AttemptControlEvidenceRepository, X as CompleteProviderOperationInput, Xt as snapshotAttemptControlReceipt, Y as sameDurableOutcome, Yt as evaluateAttemptControlReport, Z as HandoffProviderOperationInput, Zt as snapshotAttemptControlReport, _ as EXECUTION_ATTEMPT_STATUSES, _t as isProviderOperationResolved, a as AllocationRefEvolutionDecision, an as replayEnsuredAttempt, at as ProviderOperationClaimDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, cn as snapshotReadAttemptSettlementInput, ct as ProviderOperationLeaseRenewal, d as BootstrapStartState, dt as ProviderOperationOwnershipRecord, en as EnsureExecutionAttemptDecision, 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, in as readAttemptSettlementSnapshot, 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, nn as EnsureExecutionAttemptPersistenceInput, nt as PROVIDER_OPERATION_OBLIGATIONS, o as AllocationTerminationDecision, on as snapshotEnsureExecutionAttemptInput, ot as ProviderOperationCompletionDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, qt as ReportAttemptControlInput, r as AllocationRecordingDecision, rn as ReadAttemptSettlementInput, rt as ProcessBoundProvisionerLossProof, s as AttemptControlState, sn as snapshotEnsureExecutionAttemptPersistenceInput, st as ProviderOperationLeasePolicy, t as ATTEMPT_OPERATION_START_GATES, tn as EnsureExecutionAttemptInput, 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-BUah8hma.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-CDj3F-L3.mjs";
1
+ import { $ as InitialProviderOperationClaimContextSource, $t as AttemptSettlementSnapshot, A as OperationReportDecision, 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 ReadAttemptCancellationControlInput, H as RegisterRuntimeInput, Ht as AttemptControlEvidence, I as RecordAllocationInput, It as RequestExecutionCancellationInput, J as sameAllocationRef, Jt as evaluateAttemptControlReceipt, K as decodeDurableOutcome, Kt as RecordAttemptControlReceiptInput, L as RecordAllocationTerminatedInput, Lt as evaluateAttemptCancellation, M as PendingAttemptAbandonmentDecision, Mt as AttemptOutcomeControlObservation, Nt as ExecutionAttemptCancellationDecision, O as OperationAdmissionDecision, Ot as evaluatePreparationReport, P as ProvisioningClaimDecision, Pt as ExecutionAttemptCancellationIntent, Q as InitialProviderOperationClaimContext, Qt as AttemptSettlementRead, R as RecordInfrastructureFailureInput, Rt as snapshotAttemptOutcomeControl, S as ExecutionAttemptSettlementKind, St as RuntimeOutcomeFence, T as GetInstructionInput, Tt as evaluateAttemptReachability, U as ReportOperationInput, Ut as AttemptControlEvidenceDecision, V as RecoverableAttemptRecord, Vt as AttemptCancellationControlState, W as RuntimeReadinessDecision, Wt as AttemptControlEvidenceRepository, X as CompleteProviderOperationInput, Xt as snapshotAttemptControlReceipt, Y as sameDurableOutcome, Yt as evaluateAttemptControlReport, Z as HandoffProviderOperationInput, Zt as snapshotAttemptControlReport, _ as EXECUTION_ATTEMPT_STATUSES, _t as isProviderOperationResolved, a as AllocationRefEvolutionDecision, an as replayEnsuredAttempt, at as ProviderOperationClaimDecision, b as ExecutionAttemptRecoveryOperations, bt as AttemptReachability, cn as snapshotReadAttemptSettlementInput, ct as ProviderOperationLeaseRenewal, d as BootstrapStartState, dt as ProviderOperationOwnershipRecord, en as EnsureExecutionAttemptDecision, 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, in as readAttemptSettlementSnapshot, 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, nn as EnsureExecutionAttemptPersistenceInput, nt as PROVIDER_OPERATION_OBLIGATIONS, o as AllocationTerminationDecision, on as snapshotEnsureExecutionAttemptInput, ot as ProviderOperationCompletionDecision, p as DiscoveredAllocationDecision, pt as ProvisioningAbsenceDecision, q as durableOutcome, qt as ReportAttemptControlInput, r as AllocationRecordingDecision, rn as ReadAttemptSettlementInput, rt as ProcessBoundProvisionerLossProof, s as AttemptControlState, sn as snapshotEnsureExecutionAttemptPersistenceInput, st as ProviderOperationLeasePolicy, t as ATTEMPT_OPERATION_START_GATES, tn as EnsureExecutionAttemptInput, 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-DOb5V4N2.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-CwyC-Krg.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";
@@ -1 +1 @@
1
- import{B as e,C as t,Ct as n,D as r,Dt as i,E as a,G as o,K as s,Nt as c,O as l,S as u,T as d,Tt as ee,Y as te,at as ne,b as re,dt as f,ht as p,jt as m,kt as h,q as g,rt as _,tt as v,v as y,w as b,x,xt as S,y as C,yt as w}from"../authority-state-bootstrap-CvuWPywM.mjs";import{_ as T,a as E,c as D,d as O,f as k,g as A,h as j,i as M,l as N,m as P,n as F,o as I,p as L,r as R,s as z,t as B,u as V}from"../package-DYScYC0D.mjs";import{_ as H,a as U,b as W,c as G,d as K,f as q,g as J,h as Y,i as X,l as ie,m as ae,n as oe,o as se,p as ce,r as le,s as ue,t as de,u as fe,v as pe,x as me,y as he}from"../execution-attempt-repository-aabFKcXN.mjs";import{assertWorkflowTriggerPayload as ge,compileWorkflowTriggerBindingFilter as _e}from"./workflow-trigger-binding-consumer.mjs";import{a as ve,i as ye,n as be,r as xe,t as Se}from"../execution-attempt-owner-recovery-CE_rvHKE.mjs";import{i as Ce,n as we,r as Te,t as Ee}from"../attempt-control-evidence-7lwRG73Y.mjs";import{PROVIDER_OPERATION_OBLIGATIONS as De,isProviderOperationResolved as Oe}from"./provider-operation.mjs";import{ExecutionAttemptControlDeliveryResponseSchema as ke,ExecutionAttemptSubjects as Z,JsonValueSchema as Q,WorkflowFrameStateSchema as Ae}from"@makaio/framework/contracts";function je(e,t){return t.executionAttemptId===e.executionAttemptId&&t.runtimeIncarnationId===e.runtimeIncarnationId&&t.runtimeGeneration===e.runtimeGeneration&&t.controlRevision===e.cancellation.controlRevision&&t.requestKey===e.cancellation.requestKey}async function Me(e,t){let{executionId:n,executionAttemptId:r,timeoutMs:i,signal:a}=t;if(!Number.isSafeInteger(i)||i<=0)throw TypeError(`timeoutMs must be a positive safe integer`);if(a?.aborted)return{kind:`aborted`};let o=await e.authority.readAttemptCancellationControl({executionId:n,executionAttemptId:r});if(a?.aborted)return{kind:`aborted`};if(o===null)return{kind:`not-found`};if(o.cancellation===null)return{kind:`not-requested`};let{runtimeGeneration:s,runtimeIncarnationId:c}=o.control;if(c===null||s===0)return{kind:`runtime-unregistered`};let l=o.evidence.find(e=>e.controlRevision===o.cancellation?.controlRevision&&e.runtimeGeneration===s);if(l?.receipt&&l.report)return{kind:`evidence-complete`};let u={executionAttemptId:r,runtimeIncarnationId:c,runtimeGeneration:s,cancellation:o.cancellation},d;try{d=ke.parse(await e.bus.request(Z.control.deliver,u,{timeout:i,signal:a}))}catch{return{kind:a?.aborted?`aborted`:`unavailable`}}return d.decision===`refused`?{kind:`refused`,reason:d.reason}:je(u,d.receipt)?{kind:`received`,persistence:await e.authority.recordAttemptControlReceipt({...d.receipt,executionId:n})}:{kind:`invalid-receipt`}}const Ne=new Set([...Ae.shape.status.options]);function $(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Pe(e){if(!$(e))return!1;for(let t of Object.values(e))if(!$(t)||typeof t.status!=`string`||!Ne.has(t.status)||`result`in t&&t.result!==void 0&&!Q.safeParse(t.result).success)return!1;return!0}function Fe(e){let t={trigger:$(e.trigger)?e.trigger:{},steps:Pe(e.steps)?e.steps:{},inputs:Q.safeParse(e.inputs).success?e.inputs:{}};return`item`in e&&(t.item=e.item),typeof e.index==`number`&&(t.index=e.index),t}export{de as ATTEMPT_OPERATION_START_GATES,oe as DuplicateExecutionAttemptError,le as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,X as EXECUTION_ATTEMPT_STATUSES,E as ExecutionAttemptAuthority,De as PROVIDER_OPERATION_OBLIGATIONS,N as RUNTIME_PROBE_DELIVERY_TIMEOUT_MS,ce as RuntimeOutcomeFenceMismatchError,t as WORKFLOW_WORKLOAD_KIND,b as WORKFLOW_WORKLOAD_VERSION,y as WorkflowAttemptOutcomeSchema,M as WorkflowEngineService,B as WorkflowEngineToken,z as WorkflowExecutor,d as WorkflowInvocationInputSchema,s as WorkflowStorageNamespace,g as WorkflowStorageSubjects,I as WorkflowTriggerReconciler,S as activeExecutionAttemptsDual,ae as assertRuntimeOutcomeFence,ge as assertWorkflowTriggerPayload,a as buildWorkflowAttemptInstruction,Fe as buildWorkflowExpressionContextFromResolvedInputs,_e as compileWorkflowTriggerBindingFilter,F as createWorkflowEnginePackage,U as decodeDurableOutcome,C as decodeWorkflowAttemptOutcome,se as durableOutcome,ie as evaluateAttemptCancellation,Ee as evaluateAttemptControlReceipt,we as evaluateAttemptControlReport,Y as evaluateAttemptReachability,J as evaluateOperationAdmission,H as evaluateOperationCompletion,pe as evaluatePreparationReport,he as evaluateProvisionerIncarnationLoss,W as evaluateRuntimeReadiness,me as evaluateRuntimeRegistration,n as executionAttemptCancellationsDual,ee as executionAttemptControlEvidenceDual,i as executionAttemptRequestsDual,h as executionAttemptsDual,j as getWorkflowState,A as initializeWorkflowState,Oe as isProviderOperationResolved,r as parseWorkflowAttemptInstruction,T as patchWorkflowState,m as providerOperationsDual,Se as readAttemptSettlementSnapshot,Me as reconcileAttemptCancellation,D as registerBootstrapStartHandler,P as registerDrizzleWorkflowStorage,k as registerExecutionAttemptHandlers,O as registerOperationAdmissionHandler,V as registerRuntimeRegistrationHandler,be as replayEnsuredAttempt,o as resolveExecutionAttemptPeer,l as runAuthorityDispatchedAttempt,e as runShellStep,ue as sameAllocationRef,G as sameDurableOutcome,Te as snapshotAttemptControlReceipt,Ce as snapshotAttemptControlReport,fe as snapshotAttemptOutcomeControl,xe as snapshotEnsureExecutionAttemptInput,ye as snapshotEnsureExecutionAttemptPersistenceInput,ve as snapshotReadAttemptSettlementInput,K as snapshotRequestAttemptCancellationInput,q as snapshotRequestExecutionCancellationInput,L as submitAttemptOutcome,re as toCommittedWorkflowRunnerCompletion,x as toCommittedWorkflowRunnerResult,u as workflowAttemptOutcomeCodec,te as workflowDefinitionsDual,R as workflowEnginePackage,v as workflowExecutionStateDual,_ as workflowExecutionStateEventsDual,ne as workflowExecutionsDual,c as workflowFinalizationsDual,f as workflowStepSpansDual,p as worklogFrameEntriesDual,w as worklogSummariesDual};
1
+ import{B as e,C as t,Ct as n,D as r,Dt as i,E as a,G as o,K as s,Nt as c,O as l,S as u,T as d,Tt as ee,Y as te,at as ne,b as re,dt as f,ht as p,jt as m,kt as h,q as g,rt as _,tt as v,v as y,w as b,x,xt as S,y as C,yt as w}from"../authority-state-bootstrap-4F5Wc_6l.mjs";import{_ as T,a as E,c as D,d as O,f as k,g as A,h as j,i as M,l as N,m as P,n as F,o as I,p as L,r as R,s as z,t as B,u as V}from"../package-kkPGlxMm.mjs";import{_ as H,a as U,b as W,c as G,d as K,f as q,g as J,h as Y,i as X,l as ie,m as ae,n as oe,o as se,p as ce,r as le,s as ue,t as de,u as fe,v as pe,x as me,y as he}from"../execution-attempt-repository-CY289HlC.mjs";import{assertWorkflowTriggerPayload as ge,compileWorkflowTriggerBindingFilter as _e}from"./workflow-trigger-binding-consumer.mjs";import{a as ve,i as ye,n as be,r as xe,t as Se}from"../execution-attempt-owner-recovery-BZOEVYFH.mjs";import{i as Ce,n as we,r as Te,t as Ee}from"../attempt-control-evidence-CHBnJoqN.mjs";import{PROVIDER_OPERATION_OBLIGATIONS as De,isProviderOperationResolved as Oe}from"./provider-operation.mjs";import{ExecutionAttemptControlDeliveryResponseSchema as ke,ExecutionAttemptSubjects as Z,JsonValueSchema as Q,WorkflowFrameStateSchema as Ae}from"@makaio/framework/contracts";function je(e,t){return t.executionAttemptId===e.executionAttemptId&&t.runtimeIncarnationId===e.runtimeIncarnationId&&t.runtimeGeneration===e.runtimeGeneration&&t.controlRevision===e.cancellation.controlRevision&&t.requestKey===e.cancellation.requestKey}async function Me(e,t){let{executionId:n,executionAttemptId:r,timeoutMs:i,signal:a}=t;if(!Number.isSafeInteger(i)||i<=0)throw TypeError(`timeoutMs must be a positive safe integer`);if(a?.aborted)return{kind:`aborted`};let o=await e.authority.readAttemptCancellationControl({executionId:n,executionAttemptId:r});if(a?.aborted)return{kind:`aborted`};if(o===null)return{kind:`not-found`};if(o.cancellation===null)return{kind:`not-requested`};let{runtimeGeneration:s,runtimeIncarnationId:c}=o.control;if(c===null||s===0)return{kind:`runtime-unregistered`};let l=o.evidence.find(e=>e.controlRevision===o.cancellation?.controlRevision&&e.runtimeGeneration===s);if(l?.receipt&&l.report)return{kind:`evidence-complete`};let u={executionAttemptId:r,runtimeIncarnationId:c,runtimeGeneration:s,cancellation:o.cancellation},d;try{d=ke.parse(await e.bus.request(Z.control.deliver,u,{timeout:i,signal:a}))}catch{return{kind:a?.aborted?`aborted`:`unavailable`}}return d.decision===`refused`?{kind:`refused`,reason:d.reason}:je(u,d.receipt)?{kind:`received`,persistence:await e.authority.recordAttemptControlReceipt({...d.receipt,executionId:n})}:{kind:`invalid-receipt`}}const Ne=new Set([...Ae.shape.status.options]);function $(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function Pe(e){if(!$(e))return!1;for(let t of Object.values(e))if(!$(t)||typeof t.status!=`string`||!Ne.has(t.status)||`result`in t&&t.result!==void 0&&!Q.safeParse(t.result).success)return!1;return!0}function Fe(e){let t={trigger:$(e.trigger)?e.trigger:{},steps:Pe(e.steps)?e.steps:{},inputs:Q.safeParse(e.inputs).success?e.inputs:{}};return`item`in e&&(t.item=e.item),typeof e.index==`number`&&(t.index=e.index),t}export{de as ATTEMPT_OPERATION_START_GATES,oe as DuplicateExecutionAttemptError,le as EXECUTION_ATTEMPT_SETTLEMENT_KINDS,X as EXECUTION_ATTEMPT_STATUSES,E as ExecutionAttemptAuthority,De as PROVIDER_OPERATION_OBLIGATIONS,N as RUNTIME_PROBE_DELIVERY_TIMEOUT_MS,ce as RuntimeOutcomeFenceMismatchError,t as WORKFLOW_WORKLOAD_KIND,b as WORKFLOW_WORKLOAD_VERSION,y as WorkflowAttemptOutcomeSchema,M as WorkflowEngineService,B as WorkflowEngineToken,z as WorkflowExecutor,d as WorkflowInvocationInputSchema,s as WorkflowStorageNamespace,g as WorkflowStorageSubjects,I as WorkflowTriggerReconciler,S as activeExecutionAttemptsDual,ae as assertRuntimeOutcomeFence,ge as assertWorkflowTriggerPayload,a as buildWorkflowAttemptInstruction,Fe as buildWorkflowExpressionContextFromResolvedInputs,_e as compileWorkflowTriggerBindingFilter,F as createWorkflowEnginePackage,U as decodeDurableOutcome,C as decodeWorkflowAttemptOutcome,se as durableOutcome,ie as evaluateAttemptCancellation,Ee as evaluateAttemptControlReceipt,we as evaluateAttemptControlReport,Y as evaluateAttemptReachability,J as evaluateOperationAdmission,H as evaluateOperationCompletion,pe as evaluatePreparationReport,he as evaluateProvisionerIncarnationLoss,W as evaluateRuntimeReadiness,me as evaluateRuntimeRegistration,n as executionAttemptCancellationsDual,ee as executionAttemptControlEvidenceDual,i as executionAttemptRequestsDual,h as executionAttemptsDual,j as getWorkflowState,A as initializeWorkflowState,Oe as isProviderOperationResolved,r as parseWorkflowAttemptInstruction,T as patchWorkflowState,m as providerOperationsDual,Se as readAttemptSettlementSnapshot,Me as reconcileAttemptCancellation,D as registerBootstrapStartHandler,P as registerDrizzleWorkflowStorage,k as registerExecutionAttemptHandlers,O as registerOperationAdmissionHandler,V as registerRuntimeRegistrationHandler,be as replayEnsuredAttempt,o as resolveExecutionAttemptPeer,l as runAuthorityDispatchedAttempt,e as runShellStep,ue as sameAllocationRef,G as sameDurableOutcome,Te as snapshotAttemptControlReceipt,Ce as snapshotAttemptControlReport,fe as snapshotAttemptOutcomeControl,xe as snapshotEnsureExecutionAttemptInput,ye as snapshotEnsureExecutionAttemptPersistenceInput,ve as snapshotReadAttemptSettlementInput,K as snapshotRequestAttemptCancellationInput,q as snapshotRequestExecutionCancellationInput,L as submitAttemptOutcome,re as toCommittedWorkflowRunnerCompletion,x as toCommittedWorkflowRunnerResult,u as workflowAttemptOutcomeCodec,te as workflowDefinitionsDual,R as workflowEnginePackage,v as workflowExecutionStateDual,_ as workflowExecutionStateEventsDual,ne as workflowExecutionsDual,c as workflowFinalizationsDual,f as workflowStepSpansDual,p as worklogFrameEntriesDual,w as worklogSummariesDual};
@@ -1,2 +1,2 @@
1
- import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-CDj3F-L3.mjs";
1
+ import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-CwyC-Krg.mjs";
2
2
  export { WorkflowEngineToken, createWorkflowEnginePackage, workflowEnginePackage };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../package-DYScYC0D.mjs";export{n as WorkflowEngineToken,e as createWorkflowEnginePackage,t as workflowEnginePackage};
1
+ import{n as e,r as t,t as n}from"../package-kkPGlxMm.mjs";export{n as WorkflowEngineToken,e as createWorkflowEnginePackage,t as workflowEnginePackage};
@@ -1,2 +1,2 @@
1
- import { $ as InitialProviderOperationClaimContextSource, Q as InitialProviderOperationClaimContext, X as CompleteProviderOperationInput, Z as HandoffProviderOperationInput, _t as isProviderOperationResolved, at as ProviderOperationClaimDecision, ct as ProviderOperationLeaseRenewal, dt as ProviderOperationOwnershipRecord, et as ListOpenProviderOperationsInput, ft as ProvisionerIncarnationLossDecision, gt as TakeOverProviderOperationInput, ht as RenewProviderOperationClaimInput, it as ProviderOperationClaim, lt as ProviderOperationMutationDecision, mt as RecordProviderOperationUncertaintyInput, nt as PROVIDER_OPERATION_OBLIGATIONS, ot as ProviderOperationCompletionDecision, pt as ProvisioningAbsenceDecision, rt as ProcessBoundProvisionerLossProof, st as ProviderOperationLeasePolicy, tt as OpenProviderOperationRecord, ut as ProviderOperationObligation } from "../execution-attempt-repository-BUah8hma.mjs";
1
+ import { $ as InitialProviderOperationClaimContextSource, Q as InitialProviderOperationClaimContext, X as CompleteProviderOperationInput, Z as HandoffProviderOperationInput, _t as isProviderOperationResolved, at as ProviderOperationClaimDecision, ct as ProviderOperationLeaseRenewal, dt as ProviderOperationOwnershipRecord, et as ListOpenProviderOperationsInput, ft as ProvisionerIncarnationLossDecision, gt as TakeOverProviderOperationInput, ht as RenewProviderOperationClaimInput, it as ProviderOperationClaim, lt as ProviderOperationMutationDecision, mt as RecordProviderOperationUncertaintyInput, nt as PROVIDER_OPERATION_OBLIGATIONS, ot as ProviderOperationCompletionDecision, pt as ProvisioningAbsenceDecision, rt as ProcessBoundProvisionerLossProof, st as ProviderOperationLeasePolicy, tt as OpenProviderOperationRecord, ut as ProviderOperationObligation } from "../execution-attempt-repository-DOb5V4N2.mjs";
2
2
  export { CompleteProviderOperationInput, HandoffProviderOperationInput, InitialProviderOperationClaimContext, InitialProviderOperationClaimContextSource, ListOpenProviderOperationsInput, OpenProviderOperationRecord, PROVIDER_OPERATION_OBLIGATIONS, ProcessBoundProvisionerLossProof, ProviderOperationClaim, ProviderOperationClaimDecision, ProviderOperationCompletionDecision, ProviderOperationLeasePolicy, ProviderOperationLeaseRenewal, ProviderOperationMutationDecision, ProviderOperationObligation, ProviderOperationOwnershipRecord, ProvisionerIncarnationLossDecision, ProvisioningAbsenceDecision, RecordProviderOperationUncertaintyInput, RenewProviderOperationClaimInput, TakeOverProviderOperationInput, isProviderOperationResolved };
@@ -1,4 +1,4 @@
1
- import { j as OutcomeCodec, x as ExecutionAttemptRepository } from "../../execution-attempt-repository-BUah8hma.mjs";
1
+ import { j as OutcomeCodec, x as ExecutionAttemptRepository } from "../../execution-attempt-repository-DOb5V4N2.mjs";
2
2
 
3
3
  //#region subsystems/workflow-engine/src/testing/conformance/types.d.ts
4
4
  /** Narrow fixture input for recovery's oldest-first, identifier-tiebreak ordering contract. */