@makaio/framework 1.0.0-dev-1790614475240 → 1.0.0-dev-1790750768917

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 (418) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/config/index.d.mts +1 -1
  3. package/dist/adapters/config/index.mjs +1 -1
  4. package/dist/adapters/index.d.mts +2 -2
  5. package/dist/adapters/index.mjs +1 -1
  6. package/dist/adapters/node.d.mts +1 -1
  7. package/dist/adapters/node.mjs +1 -1
  8. package/dist/{attempt-record-codec-DXpdMgyI.mjs → attempt-record-codec-zQnXwJF-.mjs} +1 -1
  9. package/dist/{caller-owned-adapter-stub-D8RZEdRn.mjs → caller-owned-adapter-stub-BLbPeCP9.mjs} +1 -1
  10. package/dist/clients/hook-subjects.d.mts +158 -0
  11. package/dist/clients/hook-subjects.mjs +1 -0
  12. package/dist/clients/index.d.mts +3 -129
  13. package/dist/clients/index.mjs +1 -1
  14. package/dist/clients/managed-install.d.mts +1 -1
  15. package/dist/clients/managed-install.mjs +1 -1
  16. package/dist/code-execution/worker-entry.d.mts +1 -1
  17. package/dist/code-execution/worker-entry.mjs +1 -1
  18. package/dist/{code-execution-BspFbEdT.mjs → code-execution-Bdqurit9.mjs} +1 -1
  19. package/dist/{code-execution-DWSux6k1.mjs → code-execution-BwqsnOwu.mjs} +1 -1
  20. package/dist/contracts/adapter/index.d.mts +2 -2
  21. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  22. package/dist/contracts/artifact/index.d.mts +2 -2
  23. package/dist/contracts/auth/index.d.mts +2 -2
  24. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  25. package/dist/contracts/canonical-model/index.d.mts +1 -1
  26. package/dist/contracts/capabilities/index.d.mts +1 -1
  27. package/dist/contracts/client/index.d.mts +2 -2
  28. package/dist/contracts/code-execution/index.d.mts +1 -1
  29. package/dist/contracts/common/index.d.mts +1 -1
  30. package/dist/contracts/config/index.d.mts +2 -2
  31. package/dist/contracts/extension/index.d.mts +5 -5
  32. package/dist/contracts/facet/index.d.mts +1 -1
  33. package/dist/contracts/harness/index.d.mts +1 -1
  34. package/dist/contracts/host/index.d.mts +1 -1
  35. package/dist/contracts/index.d.mts +90 -90
  36. package/dist/contracts/materialization/index.d.mts +2 -2
  37. package/dist/contracts/model-registry/index.d.mts +1 -1
  38. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  39. package/dist/contracts/platform/index.d.mts +1 -1
  40. package/dist/contracts/provider/index.d.mts +2 -2
  41. package/dist/contracts/reaction/index.d.mts +1 -1
  42. package/dist/contracts/session/index.d.mts +2 -2
  43. package/dist/contracts/shared/index.d.mts +2 -2
  44. package/dist/contracts/skill/index.d.mts +1 -1
  45. package/dist/contracts/telemetry/index.d.mts +1 -1
  46. package/dist/contracts/timeout/index.d.mts +1 -1
  47. package/dist/contracts/variant/index.d.mts +1 -1
  48. package/dist/contracts/worker/index.d.mts +2 -2
  49. package/dist/contracts/workflow/index.d.mts +2 -2
  50. package/dist/{contribution-DTb65rRN.d.mts → contribution-CCVRsaNB.d.mts} +2 -2
  51. package/dist/{definition-DWhjp0db.d.mts → definition-i4PufQpo.d.mts} +1 -1
  52. package/dist/{detached-extension-handle-QrXVNUR2.mjs → detached-extension-handle-DtnyN7vI.mjs} +1 -1
  53. package/dist/{execution-attempt-owner-recovery-BZOEVYFH.mjs → execution-attempt-owner-recovery-CvnTavxP.mjs} +1 -1
  54. package/dist/{execution-target-CDeIBu4b.mjs → execution-target-BumuKpUR.mjs} +1 -1
  55. package/dist/{extension-kOwzAMud.mjs → extension-C9EyvptA.mjs} +1 -1
  56. package/dist/{extension-context-DH84KOm9.d.mts → extension-context-BWrjVPXR.d.mts} +1 -1
  57. package/dist/fast-connection-CAm0eRI4.mjs +1 -0
  58. package/dist/{filesystem-service-CIaAqTRi.mjs → filesystem-service-yIGQgXXP.mjs} +1 -1
  59. package/dist/{framework-packages-D2fycy02.mjs → framework-packages-blqho6Nk.mjs} +1 -1
  60. package/dist/git/index.mjs +1 -1
  61. package/dist/{globby-CxGKRBGC.mjs → globby-DBl3Lybh.mjs} +1 -1
  62. package/dist/{handlers-CfWqy2KP.mjs → handlers-DmEPQqPX.mjs} +1 -1
  63. package/dist/{hook-responses-OETFKaAL.d.mts → hook-responses-v6EA_7WC.d.mts} +1 -1
  64. package/dist/inbound-hooks/fast-connection.d.mts +37 -0
  65. package/dist/inbound-hooks/fast-connection.mjs +1 -0
  66. package/dist/inbound-hooks/index.d.mts +3 -42
  67. package/dist/inbound-hooks/index.mjs +1 -1
  68. package/dist/inbound-hooks/stdio.d.mts +42 -0
  69. package/dist/inbound-hooks/stdio.mjs +1 -0
  70. package/dist/{index-B1uHTa1l.d.mts → index-BBrLhtLK.d.mts} +1 -1
  71. package/dist/{index-DPsQ_cFG2.d.mts → index-BIf8JHBp2.d.mts} +1 -1
  72. package/dist/{index-wQB90bP1.d.mts → index-BytbaguH.d.mts} +4 -4
  73. package/dist/{index-_CsKmUOy.d.mts → index-C0NhPcTU.d.mts} +6 -6
  74. package/dist/{index-1mY0aNe3.d.mts → index-CBzHX2vt.d.mts} +1 -1
  75. package/dist/{index-DyWD9bfP.d.mts → index-CE6cAf_r.d.mts} +1 -1
  76. package/dist/{index-C0Jfr8UK.d.mts → index-CPPulAkE.d.mts} +2 -2
  77. package/dist/{index-3G70bNLs.d.mts → index-CexFpJGs.d.mts} +17 -17
  78. package/dist/{index-CU0AgN84.d.mts → index-CfGPuR1W.d.mts} +3 -3
  79. package/dist/{index-BfFi98B_.d.mts → index-CrZ-G2qH.d.mts} +1 -1
  80. package/dist/{index-BRXETFym.d.mts → index-Cxx1aoPR.d.mts} +1 -1
  81. package/dist/{index-DDCixELI.d.mts → index-D-1RUdHM.d.mts} +1 -1
  82. package/dist/{index-e3AB0Iyv.d.mts → index-DKPap20V.d.mts} +33 -33
  83. package/dist/{index-DHTLIeW62.d.mts → index-DUqPPB_X2.d.mts} +7 -7
  84. package/dist/{index-CLwnkYRD.d.mts → index-DWWP2cUb.d.mts} +1 -1
  85. package/dist/{index-bXozN5vc.d.mts → index-DZkpkd7L.d.mts} +8 -8
  86. package/dist/{index-DrfwkH1x.d.mts → index-D_fMdJbU.d.mts} +8 -8
  87. package/dist/{index-CdkIg4Gu.d.mts → index-DeXQczqV.d.mts} +1 -1
  88. package/dist/{index-CVRQS5jk.d.mts → index-Di2-G_3M.d.mts} +1 -1
  89. package/dist/{index-C-tLT_IE.d.mts → index-DpqO6tbz.d.mts} +14 -14
  90. package/dist/{index-CtwkMknv.d.mts → index-Fmdwbgei.d.mts} +8 -8
  91. package/dist/{index-D9BLsMs8.d.mts → index-OLasQ7NP.d.mts} +1 -1
  92. package/dist/{index-BM8oUon_.d.mts → index-gOYLLgKk.d.mts} +12 -12
  93. package/dist/{index-BYMgvz_a2.d.mts → index-hoGiyiqe2.d.mts} +8 -8
  94. package/dist/{index-t6LnywuE.d.mts → index-l8b_NgVk.d.mts} +1 -1
  95. package/dist/{index-6UlianLY2.d.mts → index-zD2RYwIn2.d.mts} +11 -11
  96. package/dist/kernel/cli/index.d.mts +2 -2
  97. package/dist/kernel/cli/index.mjs +1 -1
  98. package/dist/kernel/cli/register.d.mts +1 -1
  99. package/dist/kernel/cli/register.mjs +1 -1
  100. package/dist/kernel/cli/schemas.mjs +1 -1
  101. package/dist/kernel/extension/index.d.mts +2 -2
  102. package/dist/kernel/extension/index.mjs +1 -1
  103. package/dist/kernel/index.d.mts +5 -5
  104. package/dist/kernel/index.mjs +1 -1
  105. package/dist/kernel/namespace/index.d.mts +1 -1
  106. package/dist/kernel/namespace/index.mjs +1 -1
  107. package/dist/kernel/observability/index.d.mts +1 -1
  108. package/dist/kernel/observability/index.mjs +1 -1
  109. package/dist/kernel/providers/index.d.mts +1 -1
  110. package/dist/kernel/providers/index.mjs +1 -1
  111. package/dist/kernel/window/index.d.mts +1 -1
  112. package/dist/kernel/window/index.mjs +1 -1
  113. package/dist/{lib-BdyGVjpO.mjs → lib-BvRpcV8o.mjs} +1 -1
  114. package/dist/{lib-DxP3tPm9.mjs → lib-C0osDjMk.mjs} +1 -1
  115. package/dist/{load-extensions-eyXZhbRn.mjs → load-extensions-C4HK679X.mjs} +1 -1
  116. package/dist/{load-extensions-CCzTHlUE.d.mts → load-extensions-CMdXwAq-.d.mts} +1 -1
  117. package/dist/mcp-http-server/index.mjs +1 -1
  118. package/dist/{namespace-CHSwZhH7.d.mts → namespace-BH9U2C1O.d.mts} +2 -2
  119. package/dist/{namespace-B9iQN3FQ.d.mts → namespace-C42bZCbK.d.mts} +5 -5
  120. package/dist/namespace-CUKQ8osk.mjs +1 -0
  121. package/dist/{namespace-CMntzAPI.mjs → namespace-D-_gP6_l.mjs} +1 -1
  122. package/dist/{namespace-DAzOxaux.d.mts → namespace-D74MefGI.d.mts} +2 -2
  123. package/dist/{namespace-CNX4llM5.d.mts → namespace-DK5qZpST.d.mts} +6 -6
  124. package/dist/{namespace-D38Fmd0E.d.mts → namespace-DYnHI_Nk.d.mts} +6 -6
  125. package/dist/node/bus-server/index.d.mts +1 -1
  126. package/dist/node/bus-server/index.mjs +1 -1
  127. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  128. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  129. package/dist/{orchestrator-shared-CF-jPH91.mjs → orchestrator-shared-yQ-cLSjx.mjs} +1 -1
  130. package/dist/{ownership-memory-handler-C-y9zQf8.mjs → ownership-memory-handler-BkB4ondL.mjs} +1 -1
  131. package/dist/{package-CeEUAKHI.mjs → package-C-XcWpYW.mjs} +1 -1
  132. package/dist/{package-BSz4hbav.mjs → package-C_PVR-xw.mjs} +1 -1
  133. package/dist/{package-AlsbnlSt.mjs → package-CuXEeVP0.mjs} +1 -1
  134. package/dist/{package-BjtsXnaA.d.mts → package-Ir6SEHkA.d.mts} +1 -1
  135. package/dist/package.json +1 -1
  136. package/dist/{provider-context-D6GIZ5DC.mjs → provider-context-DHS1LRQA.mjs} +1 -1
  137. package/dist/rules/index.d.mts +1 -1
  138. package/dist/rules/index.mjs +1 -1
  139. package/dist/rules/schemas.d.mts +1 -1
  140. package/dist/runtime-bun/index.mjs +1 -1
  141. package/dist/runtime-node/code-execution/index.d.mts +2 -2
  142. package/dist/runtime-node/code-execution/index.mjs +1 -1
  143. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  144. package/dist/runtime-node/extension-validation.d.mts +1 -1
  145. package/dist/runtime-node/extension-validation.mjs +1 -1
  146. package/dist/runtime-node/index.d.mts +5 -5
  147. package/dist/runtime-node/index.mjs +3 -3
  148. package/dist/runtime-node/makaio-config.d.mts +1 -1
  149. package/dist/runtime-node/makaio-config.mjs +1 -1
  150. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  151. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  152. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  153. package/dist/{schema-Cz6-4_Dn.mjs → schema-C0lK_6u-.mjs} +1 -1
  154. package/dist/{schemas-BjhhkGN_.d.mts → schemas-BBMHnFq8.d.mts} +4 -4
  155. package/dist/{schemas-DnyXA-9o.d.mts → schemas-C8YaJLKz.d.mts} +2 -2
  156. package/dist/{schemas-BXkSHQaF.d.mts → schemas-CEc_v3dl.d.mts} +2 -2
  157. package/dist/{schemas-D9pXu76T.d.mts → schemas-CtL2su-K.d.mts} +4 -4
  158. package/dist/{schemas-feb64ScA.d.mts → schemas-DNP5mdxx.d.mts} +7 -7
  159. package/dist/{schemas-CBDNnyz4.d.mts → schemas-DnwAE1ao.d.mts} +1 -1
  160. package/dist/{schemas-RwAlAMbq2.d.mts → schemas-DrrpHMbF2.d.mts} +7 -7
  161. package/dist/services/adapter-runtime/index.d.mts +3 -3
  162. package/dist/services/adapter-runtime/index.mjs +1 -1
  163. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  164. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  165. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  166. package/dist/services/adapter-subsystem/index.mjs +1 -1
  167. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  168. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  169. package/dist/services/agent-runtime/index.d.mts +2 -2
  170. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  171. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  172. package/dist/services/automation-trigger/index.mjs +1 -1
  173. package/dist/services/capability/index.d.mts +2 -2
  174. package/dist/services/capability/index.mjs +1 -1
  175. package/dist/services/code-execution/index.d.mts +1 -1
  176. package/dist/services/code-execution/index.mjs +1 -1
  177. package/dist/services/codebase/index.d.mts +2 -2
  178. package/dist/services/codebase/namespace.d.mts +1 -1
  179. package/dist/services/codebase/schemas.d.mts +1 -1
  180. package/dist/services/compression/index.d.mts +2 -2
  181. package/dist/services/compression/namespace.d.mts +1 -1
  182. package/dist/services/compression/schemas.d.mts +1 -1
  183. package/dist/services/context-rules/index.d.mts +4 -4
  184. package/dist/services/context-rules/index.mjs +1 -1
  185. package/dist/services/execution-target/index.d.mts +3 -3
  186. package/dist/services/execution-target/index.mjs +1 -1
  187. package/dist/services/execution-target/namespace.d.mts +1 -1
  188. package/dist/services/execution-target/namespace.mjs +1 -1
  189. package/dist/services/execution-target/schemas.d.mts +1 -1
  190. package/dist/services/execution-target/schemas.mjs +1 -1
  191. package/dist/services/filesystem/index.d.mts +1 -1
  192. package/dist/services/filesystem/index.mjs +1 -1
  193. package/dist/services/filesystem/namespace.d.mts +6 -6
  194. package/dist/services/filesystem/schemas.d.mts +3 -3
  195. package/dist/services/git/namespace.mjs +1 -1
  196. package/dist/services/git/schemas.mjs +1 -1
  197. package/dist/services/harness/index.d.mts +3 -3
  198. package/dist/services/harness/index.mjs +1 -1
  199. package/dist/services/index.d.mts +60 -60
  200. package/dist/services/index.mjs +1 -1
  201. package/dist/services/log-import/browser.d.mts +2 -2
  202. package/dist/services/log-import/index.d.mts +2 -2
  203. package/dist/services/log-import/log-import.d.mts +1 -1
  204. package/dist/services/log-import/log-import.mjs +1 -1
  205. package/dist/services/log-import/namespace.mjs +1 -1
  206. package/dist/services/log-import/schemas.mjs +1 -1
  207. package/dist/services/materialization/index.d.mts +1 -1
  208. package/dist/services/materialization/index.mjs +1 -1
  209. package/dist/services/model-registry/index.d.mts +1 -1
  210. package/dist/services/model-registry/index.mjs +1 -1
  211. package/dist/services/preferences/index.d.mts +2 -2
  212. package/dist/services/preferences/schemas.d.mts +1 -1
  213. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  214. package/dist/services/provider-context/index.d.mts +1 -1
  215. package/dist/services/provider-context/index.mjs +1 -1
  216. package/dist/services/provider-runtime/index.mjs +1 -1
  217. package/dist/services/session/handlers/index.d.mts +1 -1
  218. package/dist/services/session/handlers/index.mjs +1 -1
  219. package/dist/services/session/index.d.mts +9 -9
  220. package/dist/services/session/index.mjs +1 -1
  221. package/dist/services/session/messages/namespace.d.mts +1 -1
  222. package/dist/services/session/messages/namespace.mjs +1 -1
  223. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  224. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  225. package/dist/services/session/session-events/namespace.d.mts +1 -1
  226. package/dist/services/session/session-events/namespace.mjs +1 -1
  227. package/dist/services/session/storage/namespace.d.mts +1 -1
  228. package/dist/services/session/storage/schema.d.mts +1 -1
  229. package/dist/services/session/testing/index.mjs +1 -1
  230. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  231. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  232. package/dist/services/session/turns/namespace.d.mts +1 -1
  233. package/dist/services/session/turns/namespace.mjs +1 -1
  234. package/dist/services/session-editor/index.d.mts +1 -1
  235. package/dist/services/session-editor/index.mjs +1 -1
  236. package/dist/services/settings/index.d.mts +3 -3
  237. package/dist/services/settings/index.mjs +1 -1
  238. package/dist/services/settings/namespace.d.mts +2 -2
  239. package/dist/services/settings/namespace.mjs +1 -1
  240. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  241. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  242. package/dist/services/settings/storage/index.d.mts +3 -3
  243. package/dist/services/settings/storage/index.mjs +1 -1
  244. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  245. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  246. package/dist/services/subagent/index.d.mts +1 -1
  247. package/dist/services/subagent/index.mjs +1 -1
  248. package/dist/services/subagent-template/index.d.mts +2 -2
  249. package/dist/services/subagent-template/namespace.d.mts +1 -1
  250. package/dist/services/subagent-template/schemas.d.mts +1 -1
  251. package/dist/services/tool-approval/index.d.mts +1 -1
  252. package/dist/services/tool-approval/index.mjs +1 -1
  253. package/dist/services/tools/index.d.mts +1 -1
  254. package/dist/services/tools/index.mjs +1 -1
  255. package/dist/services/tray-menu/index.d.mts +3 -3
  256. package/dist/services/tray-menu/index.mjs +1 -1
  257. package/dist/services/tray-menu/namespace.d.mts +1 -1
  258. package/dist/services/tray-menu/schemas.d.mts +1 -1
  259. package/dist/services/turn/index.d.mts +1 -1
  260. package/dist/services/turn/namespace.d.mts +1 -1
  261. package/dist/services/workflow-transitions/index.d.mts +1 -1
  262. package/dist/services/workflow-transitions/index.mjs +1 -1
  263. package/dist/{session-Tj_635zr.mjs → session-BjV4HPCQ.mjs} +1 -1
  264. package/dist/{session-lineage-BQ9NWlt6.d.mts → session-lineage-CLrQb1Hz.d.mts} +1 -1
  265. package/dist/{src-CkKKoY0M.mjs → src-BDw_ijvA.mjs} +1 -1
  266. package/dist/src-CnTMHQm0.mjs +1 -0
  267. package/dist/storage/drizzle/client.d.mts +1 -1
  268. package/dist/storage/drizzle/client.mjs +1 -1
  269. package/dist/storage/drizzle/index.d.mts +1 -1
  270. package/dist/storage/drizzle/index.mjs +1 -1
  271. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  272. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  273. package/dist/storage/handlers/index.d.mts +1 -1
  274. package/dist/storage/handlers/index.mjs +1 -1
  275. package/dist/{storage-namespace-NHTWAjaX.d.mts → storage-namespace-DoxNJ9Cg.d.mts} +10 -10
  276. package/dist/{tool-approval-service-BCN4W8eS.mjs → tool-approval-service-Bc0IC6Hj.mjs} +1 -1
  277. package/dist/{tools-BCL_dtHe.mjs → tools-Cbuj-ClQ.mjs} +1 -1
  278. package/dist/{transition-DK43U3QJ.d.mts → transition-DNNBGMtx.d.mts} +2 -2
  279. package/dist/{types-CW-4Y0k_2.d.mts → types-BfuE1-1V2.d.mts} +1 -1
  280. package/dist/{types-jmH0Yad4.d.mts → types-DsZBnL7z.d.mts} +6 -6
  281. package/dist/ui-kernel/index.d.mts +4 -4
  282. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  283. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  284. package/dist/{view-builder-tgwZ1ucc.d.mts → view-builder-HU_v1Jg7.d.mts} +2 -2
  285. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  286. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  287. package/dist/workflow-engine/index.d.mts +19 -19
  288. package/dist/workflow-engine/index.mjs +1 -1
  289. package/dist/workflow-engine/package.d.mts +1 -1
  290. package/dist/workflow-engine/package.mjs +1 -1
  291. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  292. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  293. package/dist/workflow-engine/testing/conformance.mjs +1 -1
  294. package/dist/workflow-engine/testing/index.d.mts +1 -1
  295. package/dist/workflow-engine/testing/index.mjs +1 -1
  296. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  297. package/dist/workflow-engine/testing/sqlite.mjs +1 -1
  298. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  299. package/dist/{workflow-transitions-7d9lGi08.mjs → workflow-transitions-CvT6P03B.mjs} +1 -1
  300. package/dist/{workflow-worker-BCLy_g_a.mjs → workflow-worker-CvQN2dmX.mjs} +1 -1
  301. package/package.json +13 -1
  302. package/dist/namespace-BPf6AbBO.mjs +0 -1
  303. package/dist/src-BZdw54VU.mjs +0 -1
  304. /package/dist/{adapter-auth-runtime-B6yX_QfG.mjs → adapter-auth-runtime-CYgj-Ht4.mjs} +0 -0
  305. /package/dist/{adapter-binding-DF-j-XHg.d.mts → adapter-binding-DG877aQO.d.mts} +0 -0
  306. /package/dist/{attach-error-wNJ8Q5uU.mjs → attach-error-mkj6SVd2.mjs} +0 -0
  307. /package/dist/{attempt-control-evidence-CHBnJoqN.mjs → attempt-control-evidence-DmNT2Wkb.mjs} +0 -0
  308. /package/dist/{attempt-fixtures-D3IsP0KH.mjs → attempt-fixtures-DPGw7peT.mjs} +0 -0
  309. /package/dist/{authority-state-bootstrap-4F5Wc_6l.mjs → authority-state-bootstrap-kIU-C2nI.mjs} +0 -0
  310. /package/dist/{base-orchestrator-DH6W4NQg.d.mts → base-orchestrator-CYU2iHqB.d.mts} +0 -0
  311. /package/dist/{bootstrap-start-client-9nOdeDYl.mjs → bootstrap-start-client-DyKCj6Eu.mjs} +0 -0
  312. /package/dist/{capability-service-BHcRd1td.d.mts → capability-service-BEVVEaTj.d.mts} +0 -0
  313. /package/dist/{client-Sx_N8LXo.d.mts → client-CkfU-f8m.d.mts} +0 -0
  314. /package/dist/{client-binary-version-verifier-DcHCFmsI.mjs → client-binary-version-verifier-CITusS9s.mjs} +0 -0
  315. /package/dist/{client-binary-version-verifier-C8gtKQFO.d.mts → client-binary-version-verifier-DgGke3gW.d.mts} +0 -0
  316. /package/dist/{clients-namespace-CASHxXUM.d.mts → clients-namespace-BRijqVIc.d.mts} +0 -0
  317. /package/dist/{config-namespace-Ctia-VDG.d.mts → config-namespace-9pC41Rtl.d.mts} +0 -0
  318. /package/dist/{create-static-mount-4B-mNtx1.mjs → create-static-mount-Dt-iC0Uq.mjs} +0 -0
  319. /package/dist/{credential-ref-MsnUkz9G.d.mts → credential-ref-DHhA4VTS.d.mts} +0 -0
  320. /package/dist/{cross-spawn-DGqEuNyT.mjs → cross-spawn-DIqCmSCD.mjs} +0 -0
  321. /package/dist/{cursor-storage-BvjxwBW6.mjs → cursor-storage-TgG0XBrI.mjs} +0 -0
  322. /package/dist/{definition-Cx175qXh.d.mts → definition-RnEMoWgj.d.mts} +0 -0
  323. /package/dist/{descriptor-to-package-BPIArq6N.mjs → descriptor-to-package-BmbVrmaM.mjs} +0 -0
  324. /package/dist/{drizzle-_w6sUR8p.mjs → drizzle-C9VHmFKj.mjs} +0 -0
  325. /package/dist/{esm-DwiWcwH0.mjs → esm-CC8hYyqN.mjs} +0 -0
  326. /package/dist/{event-D5_UaIBZ.mjs → event-DK8N_EOT.mjs} +0 -0
  327. /package/dist/{execution-attempt-repository-CY289HlC.mjs → execution-attempt-repository-BMbbbk7n.mjs} +0 -0
  328. /package/dist/{execution-attempt-repository-C2XKRZ3O.d.mts → execution-attempt-repository-Dyluu7wy.d.mts} +0 -0
  329. /package/dist/{extension-discovery-BqSPn73R.d.mts → extension-discovery-DmV1H6kV.d.mts} +0 -0
  330. /package/dist/{extension-namespace-CeRpt6C8.mjs → extension-namespace-BwNmFrd3.mjs} +0 -0
  331. /package/dist/{extension-package-provenance-ClpN3GHp.mjs → extension-package-provenance-DAc6EC8S.mjs} +0 -0
  332. /package/dist/{filesystem-service-5Ecp3nSV.d.mts → filesystem-service-RvR9ogzG.d.mts} +0 -0
  333. /package/dist/{handler-Cc1MhaR4.mjs → handler-BY2DDdyI.mjs} +0 -0
  334. /package/dist/{identity-DgTjgflr.mjs → identity-DBdzjf61.mjs} +0 -0
  335. /package/dist/{index-CwVSr7Ow.d.mts → index-2XwNyZAw.d.mts} +0 -0
  336. /package/dist/{index-B_Hf4XPX.d.mts → index-AtnMf7Qf.d.mts} +0 -0
  337. /package/dist/{index-BCuWtlv5.d.mts → index-B-ZgZuHg.d.mts} +0 -0
  338. /package/dist/{index-u0EteHlR2.d.mts → index-B4MBx8vA2.d.mts} +0 -0
  339. /package/dist/{index-Bmb7jPIe2.d.mts → index-BN4sKsLl2.d.mts} +0 -0
  340. /package/dist/{index-BjrbddkU.d.mts → index-BS3GYAN9.d.mts} +0 -0
  341. /package/dist/{index-CURT4JaX.d.mts → index-BrJ_6xi2.d.mts} +0 -0
  342. /package/dist/{index-w1AeWV4F.d.mts → index-BuRaseJB.d.mts} +0 -0
  343. /package/dist/{index-DmV9ybgT.d.mts → index-C5u82-qr.d.mts} +0 -0
  344. /package/dist/{index-DMgbNdEU.d.mts → index-C9G0Namh.d.mts} +0 -0
  345. /package/dist/{index-C9vF42jh.d.mts → index-CE-VlXE2.d.mts} +0 -0
  346. /package/dist/{index-2YW8DTb62.d.mts → index-CFet5T7v2.d.mts} +0 -0
  347. /package/dist/{index-rik4Uc5G.d.mts → index-CVQ852YA.d.mts} +0 -0
  348. /package/dist/{index-By1UhKYU2.d.mts → index-CVlnG_H22.d.mts} +0 -0
  349. /package/dist/{index-DOui-7u2.d.mts → index-C_LQ5NSy.d.mts} +0 -0
  350. /package/dist/{index-_OD_Nz3m.d.mts → index-Cc5kDe9y.d.mts} +0 -0
  351. /package/dist/{index-DDnY7JhE.d.mts → index-CnyQ2N42.d.mts} +0 -0
  352. /package/dist/{index-BOxMyaqG.d.mts → index-D-rTv5WO.d.mts} +0 -0
  353. /package/dist/{index-BEPn58tG.d.mts → index-D1es2sEA.d.mts} +0 -0
  354. /package/dist/{index-62OoZLGr.d.mts → index-DJZZS_H0.d.mts} +0 -0
  355. /package/dist/{index-N0-r5Hcd.d.mts → index-DggZJ6TT.d.mts} +0 -0
  356. /package/dist/{index-BV3nQpdO.d.mts → index-Do3__CB3.d.mts} +0 -0
  357. /package/dist/{index-DsmyofuM.d.mts → index-lJLrusa5.d.mts} +0 -0
  358. /package/dist/{index-BleQ0SR7.d.mts → index-riopop0h.d.mts} +0 -0
  359. /package/dist/{index-DAqAa9aL.d.mts → index-yfLm_tCv.d.mts} +0 -0
  360. /package/dist/{json-value--pv1-OHx.d.mts → json-value-B2gMynW3.d.mts} +0 -0
  361. /package/dist/{jsonl-transport-Ct1RWs0h.mjs → jsonl-transport-_zPQoMpM.mjs} +0 -0
  362. /package/dist/{lib-DomKag_k.mjs → lib-l8EW0aRq.mjs} +0 -0
  363. /package/dist/{model-registry-CeDu27XL.mjs → model-registry-BJbUh4uw.mjs} +0 -0
  364. /package/dist/{namespace-HLrZerLd.d.mts → namespace-B6S7ZFyX.d.mts} +0 -0
  365. /package/dist/{namespace-CqJhR19O.mjs → namespace-BG-DwVwA.mjs} +0 -0
  366. /package/dist/{namespace-Bo6-o_rW.mjs → namespace-BWTEnslo.mjs} +0 -0
  367. /package/dist/{namespace-Sd6qj6w22.d.mts → namespace-CO9J3NB-2.d.mts} +0 -0
  368. /package/dist/{namespace-CJ5sH_Bp.d.mts → namespace-CVO6bZ4F.d.mts} +0 -0
  369. /package/dist/{namespace-KomML5ti.d.mts → namespace-CytKzWBF.d.mts} +0 -0
  370. /package/dist/{namespace-C9xmGXbW.mjs → namespace-D1tJewLB.mjs} +0 -0
  371. /package/dist/{namespace-DbtfwD5Z.d.mts → namespace-D8pSI--d.d.mts} +0 -0
  372. /package/dist/{namespace-CnRQ8tCJ.mjs → namespace-DS4y8Kv9.mjs} +0 -0
  373. /package/dist/{namespace-J87EeVTm.mjs → namespace-DaFbUCqO.mjs} +0 -0
  374. /package/dist/{namespace-QV_2m25r.d.mts → namespace-Dcs8KeNG.d.mts} +0 -0
  375. /package/dist/{namespace-C_NGRHKs.d.mts → namespace-Dt7hJA-a.d.mts} +0 -0
  376. /package/dist/{namespace-CL9OyrHs.d.mts → namespace-F8g5LZte.d.mts} +0 -0
  377. /package/dist/{namespace-Bz0ZDWhE.d.mts → namespace-u4eoUCLp.d.mts} +0 -0
  378. /package/dist/{node-bridge-backend-DtRT--yn.mjs → node-bridge-backend-CsJ3_7CF.mjs} +0 -0
  379. /package/dist/{node-pty-backend-C72EgRws.mjs → node-pty-backend-o9xyqPMi.mjs} +0 -0
  380. /package/dist/{orchestrator-shared-Bvo0u-1D.d.mts → orchestrator-shared-B96yveBr.d.mts} +0 -0
  381. /package/dist/{out-EjlaPopg.mjs → out-GD8gVf9J.mjs} +0 -0
  382. /package/dist/{ownership-recovery-guard-C9h8K1jo.mjs → ownership-recovery-guard-C00rcqvz.mjs} +0 -0
  383. /package/dist/{package-BCKYMTYG.mjs → package-B6mFblgK.mjs} +0 -0
  384. /package/dist/{package-BwlW7N32.mjs → package-Dke3gaTJ.mjs} +0 -0
  385. /package/dist/{packages-vF9F4M41.mjs → packages-CZ2x-Ver.mjs} +0 -0
  386. /package/dist/{packages-KX9yofCa.d.mts → packages-Fy4a6vQy.d.mts} +0 -0
  387. /package/dist/{providers-CahjB0Kh.mjs → providers-CIb7WiA8.mjs} +0 -0
  388. /package/dist/{providers-namespace-B-l-OQZk.d.mts → providers-namespace-Bg03KVpr.d.mts} +0 -0
  389. /package/dist/{quick-lru-C1yB5RCQ.mjs → quick-lru-BgvUj18f.mjs} +0 -0
  390. /package/dist/{registry-DtaRGU8i.mjs → registry-mZnnYsTk.mjs} +0 -0
  391. /package/dist/{runtime-inputs-B7nWstrY.d.mts → runtime-inputs-qWXJyPAC.d.mts} +0 -0
  392. /package/dist/{schema-DLE6Dqyc.d.mts → schema-C58MdqlI.d.mts} +0 -0
  393. /package/dist/{schema-BnuyCklU.mjs → schema-CdUStsjr.mjs} +0 -0
  394. /package/dist/{schema-introspection-_Yw9L_mB.mjs → schema-introspection-CRLs6TZU.mjs} +0 -0
  395. /package/dist/{schemas-BNQtL3Ln.d.mts → schemas-BKE3qw_w.d.mts} +0 -0
  396. /package/dist/{schemas-C0Fb2-LN.d.mts → schemas-BNG5UOHC.d.mts} +0 -0
  397. /package/dist/{schemas-BNRFKQdz.mjs → schemas-BzzkGp4E.mjs} +0 -0
  398. /package/dist/{schemas-BOT1HUv6.d.mts → schemas-CUfqNSQj.d.mts} +0 -0
  399. /package/dist/{schemas-Djjq4LLs.mjs → schemas-D9hVAoP5.mjs} +0 -0
  400. /package/dist/{schemas-DekYSXka.mjs → schemas-dPLES84M.mjs} +0 -0
  401. /package/dist/{schemas-Dxfk39-v.d.mts → schemas-hXVl5GeF.d.mts} +0 -0
  402. /package/dist/{schemas-BGTuiO3u.d.mts → schemas-zWy59x9Y.d.mts} +0 -0
  403. /package/dist/{server-lifecycle-BjbuCO-s.mjs → server-lifecycle-CmsnIyst.mjs} +0 -0
  404. /package/dist/{server-lifecycle-BINetU26.d.mts → server-lifecycle-DJcc_FqN.d.mts} +0 -0
  405. /package/dist/{shared-schemas-CnOyMY42.mjs → shared-schemas-DwAPAqeD.mjs} +0 -0
  406. /package/dist/{src-CqQSqLQI.mjs → src-CHyuN-wv.mjs} +0 -0
  407. /package/dist/{storage-namespace-TBX8VgK3.mjs → storage-namespace-CYZOP3RS.mjs} +0 -0
  408. /package/dist/{storage-namespace-definition-DV3IipmH.d.mts → storage-namespace-definition--9lrtKns.d.mts} +0 -0
  409. /package/dist/{supports-color-CjiFmM1U.mjs → supports-color-BZuv8Isw.mjs} +0 -0
  410. /package/dist/{tray-menu-service-BRrnoqaY.mjs → tray-menu-service-DGhHTNyy.mjs} +0 -0
  411. /package/dist/{types-CjoaGe_E.d.mts → types-BfQSVqtV.d.mts} +0 -0
  412. /package/dist/{types-B_mVEuYd.d.mts → types-CA6i6flt.d.mts} +0 -0
  413. /package/dist/{types-wwuw7RkB.mjs → types-CGL_-qT6.mjs} +0 -0
  414. /package/dist/{types-CqVuKsLC.d.mts → types-D-Q9gxe2.d.mts} +0 -0
  415. /package/dist/{types-D7WtaoMR.d.mts → types-DEDjIt3d.d.mts} +0 -0
  416. /package/dist/{types-MFZzmywp.d.mts → types-DVZYa4bZ.d.mts} +0 -0
  417. /package/dist/{window-registry-2MZdZPdA.mjs → window-registry-BB_bd5Yu.mjs} +0 -0
  418. /package/dist/{window-registry-1jI3f9ir.d.mts → window-registry-DqVHgb6Y.d.mts} +0 -0
@@ -17,9 +17,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
17
17
  scope: _$zod.ZodString;
18
18
  context: _$zod.ZodOptional<_$zod.ZodString>;
19
19
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
20
- mobile: "mobile";
21
20
  desktop: "desktop";
22
21
  tablet: "tablet";
22
+ mobile: "mobile";
23
23
  }>>;
24
24
  }, _$zod_v4_core0.$strip>;
25
25
  category: _$zod.ZodString;
@@ -38,9 +38,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
38
38
  scope: _$zod.ZodString;
39
39
  context: _$zod.ZodOptional<_$zod.ZodString>;
40
40
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
41
- mobile: "mobile";
42
41
  desktop: "desktop";
43
42
  tablet: "tablet";
43
+ mobile: "mobile";
44
44
  }>>;
45
45
  }, _$zod_v4_core0.$strip>;
46
46
  category: _$zod.ZodString;
@@ -60,9 +60,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
60
60
  scope: _$zod.ZodString;
61
61
  context: _$zod.ZodOptional<_$zod.ZodString>;
62
62
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
63
- mobile: "mobile";
64
63
  desktop: "desktop";
65
64
  tablet: "tablet";
65
+ mobile: "mobile";
66
66
  }>>;
67
67
  }, _$zod_v4_core0.$strip>;
68
68
  category: _$zod.ZodString;
@@ -81,9 +81,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
81
81
  scope: _$zod.ZodOptional<_$zod.ZodString>;
82
82
  context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
83
83
  viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
84
- mobile: "mobile";
85
84
  desktop: "desktop";
86
85
  tablet: "tablet";
86
+ mobile: "mobile";
87
87
  }>>>;
88
88
  }, _$zod_v4_core0.$strip>>;
89
89
  category: _$zod.ZodOptional<_$zod.ZodString>;
@@ -98,9 +98,9 @@ declare const PreferencesNamespace: _$_makaio_core0.BusNamespaceDefinition<"pref
98
98
  scope: _$zod.ZodString;
99
99
  context: _$zod.ZodOptional<_$zod.ZodString>;
100
100
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
101
- mobile: "mobile";
102
101
  desktop: "desktop";
103
102
  tablet: "tablet";
103
+ mobile: "mobile";
104
104
  }>>;
105
105
  }, _$zod_v4_core0.$strip>;
106
106
  category: _$zod.ZodString;
@@ -124,9 +124,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
124
124
  scope: _$zod.ZodString;
125
125
  context: _$zod.ZodOptional<_$zod.ZodString>;
126
126
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
127
- mobile: "mobile";
128
127
  desktop: "desktop";
129
128
  tablet: "tablet";
129
+ mobile: "mobile";
130
130
  }>>;
131
131
  }, _$zod_v4_core0.$strip>;
132
132
  category: _$zod.ZodString;
@@ -145,9 +145,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
145
145
  scope: _$zod.ZodString;
146
146
  context: _$zod.ZodOptional<_$zod.ZodString>;
147
147
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
148
- mobile: "mobile";
149
148
  desktop: "desktop";
150
149
  tablet: "tablet";
150
+ mobile: "mobile";
151
151
  }>>;
152
152
  }, _$zod_v4_core0.$strip>;
153
153
  category: _$zod.ZodString;
@@ -167,9 +167,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
167
167
  scope: _$zod.ZodString;
168
168
  context: _$zod.ZodOptional<_$zod.ZodString>;
169
169
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
170
- mobile: "mobile";
171
170
  desktop: "desktop";
172
171
  tablet: "tablet";
172
+ mobile: "mobile";
173
173
  }>>;
174
174
  }, _$zod_v4_core0.$strip>;
175
175
  category: _$zod.ZodString;
@@ -188,9 +188,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
188
188
  scope: _$zod.ZodOptional<_$zod.ZodString>;
189
189
  context: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
190
190
  viewport: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodEnum<{
191
- mobile: "mobile";
192
191
  desktop: "desktop";
193
192
  tablet: "tablet";
193
+ mobile: "mobile";
194
194
  }>>>;
195
195
  }, _$zod_v4_core0.$strip>>;
196
196
  category: _$zod.ZodOptional<_$zod.ZodString>;
@@ -205,9 +205,9 @@ declare const PreferencesSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.F
205
205
  scope: _$zod.ZodString;
206
206
  context: _$zod.ZodOptional<_$zod.ZodString>;
207
207
  viewport: _$zod.ZodOptional<_$zod.ZodEnum<{
208
- mobile: "mobile";
209
208
  desktop: "desktop";
210
209
  tablet: "tablet";
210
+ mobile: "mobile";
211
211
  }>>;
212
212
  }, _$zod_v4_core0.$strip>;
213
213
  category: _$zod.ZodString;
@@ -1 +1 @@
1
- import{a as e}from"./ownership-recovery-guard-C9h8K1jo.mjs";import{SessionStorageSubjects as t}from"./services/session/storage/namespace.mjs";import"./session-Tj_635zr.mjs";import n from"node:path";import{lstatSync as r,realpathSync as i}from"node:fs";import{AgentSubjects as a,ApprovalSubjects as o,HarnessSubjects as s,ToolNameError as c,computeMetaTags as l,resolveToolPolicy as u,toolVocabularyForAdapter as d}from"@makaio/framework/contracts";import{BaseService as f}from"@makaio/framework/service-base";import{extractToolFilePath as p,extractToolRawFilePath as m}from"@makaio/framework/tools";const h={"full-access":0,"always-ask":1,reject:2};function g(){return`apr_${crypto.randomUUID()}`}function _(e){switch(e){case`allow`:return`full-access`;case`deny`:return`reject`;case`ask`:return`always-ask`}}function v(e){if(!e?.length)return`neutral`;let t=l(e);return t.includes(`destructive`)?`destructive`:t.includes(`read-only`)?`safe`:`neutral`}function y(e,t){if(e)return t&&e.toolApprovalOverrides?.[t]!==void 0?e.toolApprovalOverrides[t]:e.approvalPolicy}function b(e,t,n,r){let i=r[t];if(!i?.length)return e;let a=e;for(let e of i){let t=n[e];t&&h[t]>h[a]&&(a=t)}return a}function x(e,t,n){return n.handled?n.data.allowedDirectories??void 0:t?[]:void 0}function S(e,t,n){if(!n||!e?.cwd)return{};let r=E(e,t);return{cwd:e.cwd,...r&&{allowedDirectories:r}}}function C(e,t,n){if(!(!e&&!t))return!n||!n.handled?{policy:`always-ask`}:{policy:_(n.data.action),...n.data.personaName&&{personaName:n.data.personaName},...n.data.profileName&&{profileName:n.data.profileName}}}function w(e,t,n,r){if(!t||!e)return{kind:`none`};let{allowedTools:i,disallowedTools:a}=e;if(i===void 0&&a===void 0)return{kind:`none`};let o=d(e.adapterName);if(o===void 0)return{kind:`none`};let s;try{s=u(o,{allowedTools:i,disallowedTools:a})}catch(e){if(e instanceof c)return{kind:`deny`,message:e.message};throw e}let l=s.checkToolCall(t,n??{});if(!l.allowed)return{kind:`deny`,message:l.reason};if(i===void 0)return{kind:`none`};let f=E(e,r);return f!==void 0&&!k(f,t,n,e.cwd)?{kind:`none`}:{kind:`granted`}}const T=new Set([`Glob`,`Grep`]);function E(e,t){if(e.allowedDirectories!==void 0)return e.allowedDirectories;if((e.personaId||e.profileId)&&t)return x(e.personaId,e.profileId,t)}function D(e){let t=e;for(;;)try{return n.resolve(i(t),n.relative(t,e))}catch(e){if(e.code!==`ENOENT`||r(t,{throwIfNoEntry:!1})!==void 0)return;let i=n.dirname(t);if(i===t)return;t=i}}function O(e,t,r){let i=e=>process.platform===`win32`?e.toLowerCase():e;return e.some(e=>{let a=D(n.resolve(r,e));if(a===void 0)return!1;let o=n.relative(i(a),i(t));return o===``||o!==`..`&&!o.startsWith(`..${n.sep}`)&&!n.isAbsolute(o)})}function k(e,t,r,i){if(!i)return!1;let a=r?.path,o=T.has(t)?n.resolve(i,typeof a==`string`&&a.length>0?a:`.`):p(t,r,i);if(o===null)return!1;let s=D(o);return s===void 0?!1:O(e,s,i)}function A(e,t){let n=t.harness?.toolCapabilityMap&&e.toolName?t.harness.toolCapabilityMap[e.toolName]:void 0;return{requestId:g(),toolCallId:e.toolCallId,toolName:e.toolName,args:e.args,agentId:e.agentId,sessionId:e.sessionId,adapterName:t.resolvedAdapterName,...t.personaName&&{personaName:t.personaName},...t.profileName&&{profileName:t.profileName},capabilities:n,riskLevel:v(n),reasoning:e.reasoning,createdAt:Date.now()}}function j(e,t,n,r){return n===`always-ask`?`always-ask`:e===`reject`?`reject`:r?`always-ask`:t.kind===`granted`?`full-access`:e}var M=class extends f{logger=console;options;constructor(e,t={}){super(e),this.options=t}async onInit(){this.registerHandler(a.toolApprove,async e=>{let t=await this.getAgentMetadata(e.payload.agentId,e.payload.sessionId),n=t.kind===`found`?t.agent:null,r=t.kind===`error`,i=(n?.personaId||n?.profileId)&&e.payload.toolName?await this.fetchRawEnrichedPolicy(n?.personaId,n?.profileId,e.payload.toolName):void 0,a=S(n,i,this.options.fileAccessRuleProvider),o=await this.checkFileAccessDenyReason(e.payload,a);if(o){e.setResult({action:`deny`,message:o,shouldAbort:!1});return}let s=await this.resolveSessionOverride(e.payload.sessionId);if(s===`reject`){e.setResult({action:`deny`,message:`Tool use rejected by session approval policy override`,shouldAbort:!1});return}let c=w(n,e.payload.toolName,e.payload.args,i);if(c.kind===`deny`){e.setResult({action:`deny`,message:c.message,shouldAbort:!1});return}if(s===`full-access`&&!r){e.setResult({action:`allow`});return}let l=await this.resolvePolicyWithContext({adapterName:e.payload.adapterName,toolName:e.payload.toolName},n,i);switch(j(l.policy,c,s,r)){case`full-access`:e.setResult({action:`allow`});return;case`reject`:e.setResult({action:`deny`,message:`Tool use rejected by approval policy`,shouldAbort:!1});return;case`always-ask`:await this.dispatchAlwaysAskApproval(e.payload,e.setResult.bind(e),l);return}})}async dispatchAlwaysAskApproval(e,t,n){let r=A(e,n),i=new AbortController,s=this.bus.on(a.session.closed,()=>{i.abort()},{filter:{agentId:r.agentId,...e.adapterSessionId!==void 0&&{adapterSessionId:e.adapterSessionId}}});try{let e=await this.bus.requestOptional(o.request,r,{timeout:0,signal:i.signal});e.handled&&e.data.action===`allow`?t({action:`allow`,...e.data.updatedInput&&{updatedInput:e.data.updatedInput}}):t({action:`deny`,message:e.handled&&e.data.action===`deny`?e.data.message??`User denied tool execution`:`No approval handler available`,shouldAbort:!1})}catch{t({action:`deny`,message:i.signal.aborted?`Approval cancelled — agent session closed`:`Tool approval request failed`,shouldAbort:!1})}finally{s()}}async checkFileAccessDenyReason(e,t){if(!this.options.fileAccessRuleProvider)return;let r=p(e.toolName,e.args,t.cwd??n.sep);if(!r)return;if(!t.cwd)return`Access denied: file access rules could not be evaluated: agent has no working directory`;let i=m(e.toolName,e.args);if(i?.split(/[\\/]/).includes(`..`))return`Access denied: '${i}' contains a '..' segment; file access rules need a path without parent references`;let a=D(r);try{let e=await this.options.fileAccessRuleProvider(t.cwd,t.allowedDirectories);if(e.isDenied(r)||a!==void 0&&a!==r&&e.isDenied(a))return`Access denied: '${r}' is restricted by .makaioignore rules`}catch{return`Access denied: file access rules could not be evaluated`}if(a===void 0)return`Access denied: file access rules could not be evaluated: '${r}' cannot be resolved safely`;let{allowedDirectories:o}=t;if(o!==void 0&&!O(o,a,t.cwd))return`Access denied: '${r}' is outside the agent's allowed directories`}async fetchRawEnrichedPolicy(e,t,n){try{return await this.bus.requestOptional(o.resolveEnrichedPolicy,{toolName:n,personaId:e,profileId:t})}catch(r){return this.logger.error(`[ToolApprovalService] approval.resolveEnrichedPolicy failed; falling back to fail-closed`,{toolName:n,personaId:e,profileId:t,error:r}),{handled:!1}}}async resolvePolicyWithContext(e,t,n){let r=t?.adapterName??e.adapterName,i=C(t?.personaId,t?.profileId,n),a=await this.resolveHarnessPolicy(r,t?.harnessId,t?.clientId),o=y(a,e.toolName),s=i?.policy??o??`always-ask`,c=s;return a?.capabilityOverrides&&a.toolCapabilityMap&&e.toolName&&(c=b(s,e.toolName,a.capabilityOverrides,a.toolCapabilityMap)),{policy:c,harness:a,agent:t,resolvedAdapterName:r,...i?.personaName&&{personaName:i.personaName},...i?.profileName&&{profileName:i.profileName}}}async getAgentMetadata(t,n){try{let r;if(n){let i=await this.bus.requestOptional(e.listBySession,{sessionId:n});r=i.handled?i.data.agents.find(e=>e.agentId===t):void 0}else{let n=await this.bus.requestOptional(e.get,{agentId:t});r=n.handled?n.data.agent:void 0}return r?{kind:`found`,agent:r}:{kind:`absent`}}catch(e){return this.logger.warn(`[ToolApprovalService] agent lookup failed; forcing always-ask`,{agentId:t,sessionId:n,error:e}),{kind:`error`}}}async resolveSessionOverride(e){if(e)try{let n=await this.bus.requestOptional(t.get,{sessionId:e});return n.handled?n.data.session?.approvalPolicyOverride??void 0:void 0}catch{return}}async resolveHarnessPolicy(e,t,n){try{let r=await this.bus.request(s.resolve,{adapterName:e,...t&&{profileHarnessId:t},...n&&{clientId:n}});return{approvalPolicy:r.approvalPolicy,capabilityOverrides:r.capabilityOverrides,toolCapabilityMap:r.toolCapabilityMap,toolApprovalOverrides:r.toolApprovalOverrides}}catch{return}}};export{M as t};
1
+ import{a as e}from"./ownership-recovery-guard-C00rcqvz.mjs";import{SessionStorageSubjects as t}from"./services/session/storage/namespace.mjs";import"./session-BjV4HPCQ.mjs";import n from"node:path";import{lstatSync as r,realpathSync as i}from"node:fs";import{AgentSubjects as a,ApprovalSubjects as o,HarnessSubjects as s,ToolNameError as c,computeMetaTags as l,resolveToolPolicy as u,toolVocabularyForAdapter as d}from"@makaio/framework/contracts";import{BaseService as f}from"@makaio/framework/service-base";import{extractToolFilePath as p,extractToolRawFilePath as m}from"@makaio/framework/tools";const h={"full-access":0,"always-ask":1,reject:2};function g(){return`apr_${crypto.randomUUID()}`}function _(e){switch(e){case`allow`:return`full-access`;case`deny`:return`reject`;case`ask`:return`always-ask`}}function v(e){if(!e?.length)return`neutral`;let t=l(e);return t.includes(`destructive`)?`destructive`:t.includes(`read-only`)?`safe`:`neutral`}function y(e,t){if(e)return t&&e.toolApprovalOverrides?.[t]!==void 0?e.toolApprovalOverrides[t]:e.approvalPolicy}function b(e,t,n,r){let i=r[t];if(!i?.length)return e;let a=e;for(let e of i){let t=n[e];t&&h[t]>h[a]&&(a=t)}return a}function x(e,t,n){return n.handled?n.data.allowedDirectories??void 0:t?[]:void 0}function S(e,t,n){if(!n||!e?.cwd)return{};let r=E(e,t);return{cwd:e.cwd,...r&&{allowedDirectories:r}}}function C(e,t,n){if(!(!e&&!t))return!n||!n.handled?{policy:`always-ask`}:{policy:_(n.data.action),...n.data.personaName&&{personaName:n.data.personaName},...n.data.profileName&&{profileName:n.data.profileName}}}function w(e,t,n,r){if(!t||!e)return{kind:`none`};let{allowedTools:i,disallowedTools:a}=e;if(i===void 0&&a===void 0)return{kind:`none`};let o=d(e.adapterName);if(o===void 0)return{kind:`none`};let s;try{s=u(o,{allowedTools:i,disallowedTools:a})}catch(e){if(e instanceof c)return{kind:`deny`,message:e.message};throw e}let l=s.checkToolCall(t,n??{});if(!l.allowed)return{kind:`deny`,message:l.reason};if(i===void 0)return{kind:`none`};let f=E(e,r);return f!==void 0&&!k(f,t,n,e.cwd)?{kind:`none`}:{kind:`granted`}}const T=new Set([`Glob`,`Grep`]);function E(e,t){if(e.allowedDirectories!==void 0)return e.allowedDirectories;if((e.personaId||e.profileId)&&t)return x(e.personaId,e.profileId,t)}function D(e){let t=e;for(;;)try{return n.resolve(i(t),n.relative(t,e))}catch(e){if(e.code!==`ENOENT`||r(t,{throwIfNoEntry:!1})!==void 0)return;let i=n.dirname(t);if(i===t)return;t=i}}function O(e,t,r){let i=e=>process.platform===`win32`?e.toLowerCase():e;return e.some(e=>{let a=D(n.resolve(r,e));if(a===void 0)return!1;let o=n.relative(i(a),i(t));return o===``||o!==`..`&&!o.startsWith(`..${n.sep}`)&&!n.isAbsolute(o)})}function k(e,t,r,i){if(!i)return!1;let a=r?.path,o=T.has(t)?n.resolve(i,typeof a==`string`&&a.length>0?a:`.`):p(t,r,i);if(o===null)return!1;let s=D(o);return s===void 0?!1:O(e,s,i)}function A(e,t){let n=t.harness?.toolCapabilityMap&&e.toolName?t.harness.toolCapabilityMap[e.toolName]:void 0;return{requestId:g(),toolCallId:e.toolCallId,toolName:e.toolName,args:e.args,agentId:e.agentId,sessionId:e.sessionId,adapterName:t.resolvedAdapterName,...t.personaName&&{personaName:t.personaName},...t.profileName&&{profileName:t.profileName},capabilities:n,riskLevel:v(n),reasoning:e.reasoning,createdAt:Date.now()}}function j(e,t,n,r){return n===`always-ask`?`always-ask`:e===`reject`?`reject`:r?`always-ask`:t.kind===`granted`?`full-access`:e}var M=class extends f{logger=console;options;constructor(e,t={}){super(e),this.options=t}async onInit(){this.registerHandler(a.toolApprove,async e=>{let t=await this.getAgentMetadata(e.payload.agentId,e.payload.sessionId),n=t.kind===`found`?t.agent:null,r=t.kind===`error`,i=(n?.personaId||n?.profileId)&&e.payload.toolName?await this.fetchRawEnrichedPolicy(n?.personaId,n?.profileId,e.payload.toolName):void 0,a=S(n,i,this.options.fileAccessRuleProvider),o=await this.checkFileAccessDenyReason(e.payload,a);if(o){e.setResult({action:`deny`,message:o,shouldAbort:!1});return}let s=await this.resolveSessionOverride(e.payload.sessionId);if(s===`reject`){e.setResult({action:`deny`,message:`Tool use rejected by session approval policy override`,shouldAbort:!1});return}let c=w(n,e.payload.toolName,e.payload.args,i);if(c.kind===`deny`){e.setResult({action:`deny`,message:c.message,shouldAbort:!1});return}if(s===`full-access`&&!r){e.setResult({action:`allow`});return}let l=await this.resolvePolicyWithContext({adapterName:e.payload.adapterName,toolName:e.payload.toolName},n,i);switch(j(l.policy,c,s,r)){case`full-access`:e.setResult({action:`allow`});return;case`reject`:e.setResult({action:`deny`,message:`Tool use rejected by approval policy`,shouldAbort:!1});return;case`always-ask`:await this.dispatchAlwaysAskApproval(e.payload,e.setResult.bind(e),l);return}})}async dispatchAlwaysAskApproval(e,t,n){let r=A(e,n),i=new AbortController,s=this.bus.on(a.session.closed,()=>{i.abort()},{filter:{agentId:r.agentId,...e.adapterSessionId!==void 0&&{adapterSessionId:e.adapterSessionId}}});try{let e=await this.bus.requestOptional(o.request,r,{timeout:0,signal:i.signal});e.handled&&e.data.action===`allow`?t({action:`allow`,...e.data.updatedInput&&{updatedInput:e.data.updatedInput}}):t({action:`deny`,message:e.handled&&e.data.action===`deny`?e.data.message??`User denied tool execution`:`No approval handler available`,shouldAbort:!1})}catch{t({action:`deny`,message:i.signal.aborted?`Approval cancelled — agent session closed`:`Tool approval request failed`,shouldAbort:!1})}finally{s()}}async checkFileAccessDenyReason(e,t){if(!this.options.fileAccessRuleProvider)return;let r=p(e.toolName,e.args,t.cwd??n.sep);if(!r)return;if(!t.cwd)return`Access denied: file access rules could not be evaluated: agent has no working directory`;let i=m(e.toolName,e.args);if(i?.split(/[\\/]/).includes(`..`))return`Access denied: '${i}' contains a '..' segment; file access rules need a path without parent references`;let a=D(r);try{let e=await this.options.fileAccessRuleProvider(t.cwd,t.allowedDirectories);if(e.isDenied(r)||a!==void 0&&a!==r&&e.isDenied(a))return`Access denied: '${r}' is restricted by .makaioignore rules`}catch{return`Access denied: file access rules could not be evaluated`}if(a===void 0)return`Access denied: file access rules could not be evaluated: '${r}' cannot be resolved safely`;let{allowedDirectories:o}=t;if(o!==void 0&&!O(o,a,t.cwd))return`Access denied: '${r}' is outside the agent's allowed directories`}async fetchRawEnrichedPolicy(e,t,n){try{return await this.bus.requestOptional(o.resolveEnrichedPolicy,{toolName:n,personaId:e,profileId:t})}catch(r){return this.logger.error(`[ToolApprovalService] approval.resolveEnrichedPolicy failed; falling back to fail-closed`,{toolName:n,personaId:e,profileId:t,error:r}),{handled:!1}}}async resolvePolicyWithContext(e,t,n){let r=t?.adapterName??e.adapterName,i=C(t?.personaId,t?.profileId,n),a=await this.resolveHarnessPolicy(r,t?.harnessId,t?.clientId),o=y(a,e.toolName),s=i?.policy??o??`always-ask`,c=s;return a?.capabilityOverrides&&a.toolCapabilityMap&&e.toolName&&(c=b(s,e.toolName,a.capabilityOverrides,a.toolCapabilityMap)),{policy:c,harness:a,agent:t,resolvedAdapterName:r,...i?.personaName&&{personaName:i.personaName},...i?.profileName&&{profileName:i.profileName}}}async getAgentMetadata(t,n){try{let r;if(n){let i=await this.bus.requestOptional(e.listBySession,{sessionId:n});r=i.handled?i.data.agents.find(e=>e.agentId===t):void 0}else{let n=await this.bus.requestOptional(e.get,{agentId:t});r=n.handled?n.data.agent:void 0}return r?{kind:`found`,agent:r}:{kind:`absent`}}catch(e){return this.logger.warn(`[ToolApprovalService] agent lookup failed; forcing always-ask`,{agentId:t,sessionId:n,error:e}),{kind:`error`}}}async resolveSessionOverride(e){if(e)try{let n=await this.bus.requestOptional(t.get,{sessionId:e});return n.handled?n.data.session?.approvalPolicyOverride??void 0:void 0}catch{return}}async resolveHarnessPolicy(e,t,n){try{let r=await this.bus.request(s.resolve,{adapterName:e,...t&&{profileHarnessId:t},...n&&{clientId:n}});return{approvalPolicy:r.approvalPolicy,capabilityOverrides:r.capabilityOverrides,toolCapabilityMap:r.toolCapabilityMap,toolApprovalOverrides:r.toolApprovalOverrides}}catch{return}}};export{M as t};
@@ -1 +1 @@
1
- import{l as e}from"./framework-packages-D2fycy02.mjs";import{FILE_ACCESS_RULES_KEY as t,extractToolFilePath as n}from"@makaio/framework/tools";function r(){let t=new Map;return{filter:e=>!!e.tools?.createToolsets,async processActivated(n,r,i){let a=i.getService(e);if(!a)throw Error(`ToolRegistry is not available. Ensure toolRegistryPackage is included in the composition root.`);let o=r.tools.createToolsets(i),s=[];try{for(let e of o)await a.register(e),s.push(()=>a.deregister(e.metadata.name))}catch(e){for(let e=s.length-1;e>=0;--e)try{await s[e]()}catch(e){console.error(`[ToolContributionProcessor] Rollback error for "${n}":`,e)}throw e}t.set(n,s)},async processStopped(e){let n=t.get(e);if(n){for(let t=n.length-1;t>=0;--t)try{await n[t]()}catch(t){console.error(`[ToolContributionProcessor] Deregister error for "${e}":`,t)}t.delete(e)}}}}export{n,r,t};
1
+ import{l as e}from"./framework-packages-blqho6Nk.mjs";import{FILE_ACCESS_RULES_KEY as t,extractToolFilePath as n}from"@makaio/framework/tools";function r(){let t=new Map;return{filter:e=>!!e.tools?.createToolsets,async processActivated(n,r,i){let a=i.getService(e);if(!a)throw Error(`ToolRegistry is not available. Ensure toolRegistryPackage is included in the composition root.`);let o=r.tools.createToolsets(i),s=[];try{for(let e of o)await a.register(e),s.push(()=>a.deregister(e.metadata.name))}catch(e){for(let e=s.length-1;e>=0;--e)try{await s[e]()}catch(e){console.error(`[ToolContributionProcessor] Rollback error for "${n}":`,e)}throw e}t.set(n,s)},async processStopped(e){let n=t.get(e);if(n){for(let t=n.length-1;t>=0;--t)try{await n[t]()}catch(t){console.error(`[ToolContributionProcessor] Deregister error for "${e}":`,t)}t.delete(e)}}}}export{n,r,t};
@@ -1,5 +1,5 @@
1
- import { x as ArtifactRevision$1 } from "./schemas-BNQtL3Ln.mjs";
2
- import { l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
1
+ import { x as ArtifactRevision$1 } from "./schemas-BKE3qw_w.mjs";
2
+ import { l as JsonValue$1 } from "./json-value-B2gMynW3.mjs";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
5
5
 
@@ -1,4 +1,4 @@
1
- import { r as LogImportMode, t as LogImporterInfo } from "./index-u0EteHlR2.mjs";
1
+ import { r as LogImportMode, t as LogImporterInfo } from "./index-B4MBx8vA2.mjs";
2
2
  import * as _$_makaio_bus_core0 from "@makaio/framework/bus";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
  import { LogImportOrchestrator, LogImporter } from "@makaio/framework/adapters";
@@ -1,6 +1,6 @@
1
- import { l as JsonValue$1 } from "./json-value--pv1-OHx.mjs";
2
- import { s as MessageBlock$1 } from "./index-DDCixELI.mjs";
3
- import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-DV3IipmH.mjs";
1
+ import { l as JsonValue$1 } from "./json-value-B2gMynW3.mjs";
2
+ import { s as MessageBlock$1 } from "./index-D-1RUdHM.mjs";
3
+ import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition--9lrtKns.mjs";
4
4
  import * as _$zod from "zod";
5
5
  import { z } from "zod";
6
6
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -1565,8 +1565,8 @@ type Turn$1 = z.infer<typeof TurnSchema$1>;
1565
1565
  */
1566
1566
  declare const MessageRoutingStatusSchema: z.ZodEnum<{
1567
1567
  completed: "completed";
1568
- acknowledged: "acknowledged";
1569
1568
  sent: "sent";
1569
+ acknowledged: "acknowledged";
1570
1570
  }>;
1571
1571
  type MessageRoutingStatus = z.infer<typeof MessageRoutingStatusSchema>;
1572
1572
  /**
@@ -1577,8 +1577,8 @@ declare const MessageRoutingSchema$1: z.ZodObject<{
1577
1577
  agentId: z.ZodString;
1578
1578
  status: z.ZodEnum<{
1579
1579
  completed: "completed";
1580
- acknowledged: "acknowledged";
1581
1580
  sent: "sent";
1581
+ acknowledged: "acknowledged";
1582
1582
  }>;
1583
1583
  timestamp: z.ZodNumber;
1584
1584
  error: z.ZodOptional<z.ZodString>;
@@ -11858,8 +11858,8 @@ declare const SessionSchemas: {
11858
11858
  maxTokens: _$zod.ZodNumber;
11859
11859
  percentage: _$zod.ZodNumber;
11860
11860
  level: _$zod.ZodEnum<{
11861
- warn: "warn";
11862
11861
  ok: "ok";
11862
+ warn: "warn";
11863
11863
  critical: "critical";
11864
11864
  }>;
11865
11865
  lastUpdatedAt: _$zod.ZodNumber;
@@ -1,4 +1,4 @@
1
- import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-BjhhkGN_.mjs";
1
+ import { r as PageSurfaceConfig, s as SurfaceId } from "../schemas-BBMHnFq8.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -2309,8 +2309,8 @@ declare const UiSchemas: {
2309
2309
  ready: z.ZodObject<{
2310
2310
  surface: z.ZodEnum<{
2311
2311
  tray: "tray";
2312
- web: "web";
2313
2312
  mobile: "mobile";
2313
+ web: "web";
2314
2314
  electron: "electron";
2315
2315
  electrobun: "electrobun";
2316
2316
  }>;
@@ -2409,8 +2409,8 @@ declare const UiNamespace: _$_makaio_core0.BusNamespaceDefinition<"ui", {
2409
2409
  ready: _$zod.ZodObject<{
2410
2410
  surface: _$zod.ZodEnum<{
2411
2411
  tray: "tray";
2412
- web: "web";
2413
2412
  mobile: "mobile";
2413
+ web: "web";
2414
2414
  electron: "electron";
2415
2415
  electrobun: "electrobun";
2416
2416
  }>;
@@ -2450,8 +2450,8 @@ declare const UiSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
2450
2450
  ready: _$zod.ZodObject<{
2451
2451
  surface: _$zod.ZodEnum<{
2452
2452
  tray: "tray";
2453
- web: "web";
2454
2453
  mobile: "mobile";
2454
+ web: "web";
2455
2455
  electron: "electron";
2456
2456
  electrobun: "electrobun";
2457
2457
  }>;
@@ -15,8 +15,8 @@ declare const PageNamespace: _$_makaio_core0.BusNamespaceDefinition<"pages", {
15
15
  readonly request: _$zod.ZodObject<{
16
16
  surface: _$zod.ZodOptional<_$zod.ZodEnum<{
17
17
  tray: "tray";
18
- web: "web";
19
18
  mobile: "mobile";
19
+ web: "web";
20
20
  electron: "electron";
21
21
  electrobun: "electrobun";
22
22
  }>>;
@@ -35,8 +35,8 @@ declare const PageNamespace: _$_makaio_core0.BusNamespaceDefinition<"pages", {
35
35
  level: _$zod.ZodCustom<_$_makaio_contracts0.UiNavigationLevel, _$_makaio_contracts0.UiNavigationLevel>;
36
36
  surfaces: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"all">, _$zod.ZodArray<_$zod.ZodEnum<{
37
37
  tray: "tray";
38
- web: "web";
39
38
  mobile: "mobile";
39
+ web: "web";
40
40
  electron: "electron";
41
41
  electrobun: "electrobun";
42
42
  }>>]>>;
@@ -55,8 +55,8 @@ declare const PageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubj
55
55
  readonly request: _$zod.ZodObject<{
56
56
  surface: _$zod.ZodOptional<_$zod.ZodEnum<{
57
57
  tray: "tray";
58
- web: "web";
59
58
  mobile: "mobile";
59
+ web: "web";
60
60
  electron: "electron";
61
61
  electrobun: "electrobun";
62
62
  }>>;
@@ -75,8 +75,8 @@ declare const PageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubj
75
75
  level: _$zod.ZodCustom<_$_makaio_contracts0.UiNavigationLevel, _$_makaio_contracts0.UiNavigationLevel>;
76
76
  surfaces: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodLiteral<"all">, _$zod.ZodArray<_$zod.ZodEnum<{
77
77
  tray: "tray";
78
- web: "web";
79
78
  mobile: "mobile";
79
+ web: "web";
80
80
  electron: "electron";
81
81
  electrobun: "electrobun";
82
82
  }>>]>>;
@@ -1,2 +1,2 @@
1
- import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-BjhhkGN_.mjs";
1
+ import { a as SurfaceCapabilitySchema, c as SurfaceIdSchema, i as SurfaceCapability, l as isPageVisibleOnSurface, n as PageSchemas, o as SurfaceDeclaration, r as PageSurfaceConfig, s as SurfaceId, t as PageMetadata } from "../../schemas-BBMHnFq8.mjs";
2
2
  export { PageMetadata, PageSchemas, PageSurfaceConfig, SurfaceCapability, SurfaceCapabilitySchema, SurfaceDeclaration, SurfaceId, SurfaceIdSchema, isPageVisibleOnSurface };
@@ -1,4 +1,4 @@
1
- import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-BNQtL3Ln.mjs";
1
+ import { p as ArtifactRelation, x as ArtifactRevision$1 } from "./schemas-BKE3qw_w.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
- comment: "comment";
138
137
  surface: "surface";
138
+ comment: "comment";
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-C2XKRZ3O.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-Dyluu7wy.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-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
+ 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-BMbbbk7n.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-C2XKRZ3O.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-BjtsXnaA.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-Dyluu7wy.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-Ir6SEHkA.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";
@@ -836,8 +836,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
836
836
  completed: "completed";
837
837
  cancelled: "cancelled";
838
838
  failed: "failed";
839
- running: "running";
840
839
  paused: "paused";
840
+ running: "running";
841
841
  finalizing: "finalizing";
842
842
  }>;
843
843
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -878,8 +878,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
878
878
  completed: "completed";
879
879
  cancelled: "cancelled";
880
880
  failed: "failed";
881
- running: "running";
882
881
  paused: "paused";
882
+ running: "running";
883
883
  finalizing: "finalizing";
884
884
  }>;
885
885
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -927,8 +927,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
927
927
  completed: "completed";
928
928
  cancelled: "cancelled";
929
929
  failed: "failed";
930
- running: "running";
931
930
  paused: "paused";
931
+ running: "running";
932
932
  finalizing: "finalizing";
933
933
  }>;
934
934
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -1267,8 +1267,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1267
1267
  completed: "completed";
1268
1268
  cancelled: "cancelled";
1269
1269
  failed: "failed";
1270
- running: "running";
1271
1270
  paused: "paused";
1271
+ running: "running";
1272
1272
  finalizing: "finalizing";
1273
1273
  }>>;
1274
1274
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1465,8 +1465,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1465
1465
  completed: "completed";
1466
1466
  cancelled: "cancelled";
1467
1467
  failed: "failed";
1468
- running: "running";
1469
1468
  paused: "paused";
1469
+ running: "running";
1470
1470
  finalizing: "finalizing";
1471
1471
  }>>;
1472
1472
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -1489,8 +1489,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1489
1489
  completed: "completed";
1490
1490
  cancelled: "cancelled";
1491
1491
  failed: "failed";
1492
- running: "running";
1493
1492
  paused: "paused";
1493
+ running: "running";
1494
1494
  finalizing: "finalizing";
1495
1495
  }>;
1496
1496
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -1542,8 +1542,8 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
1542
1542
  completed: "completed";
1543
1543
  cancelled: "cancelled";
1544
1544
  failed: "failed";
1545
- running: "running";
1546
1545
  paused: "paused";
1546
+ running: "running";
1547
1547
  finalizing: "finalizing";
1548
1548
  }>;
1549
1549
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -3065,7 +3065,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
3065
3065
  tableName: "workflow_executions";
3066
3066
  dataType: "string";
3067
3067
  columnType: "SQLiteText";
3068
- data: "pending" | "completed" | "cancelled" | "failed" | "running" | "paused" | "finalizing";
3068
+ data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running" | "finalizing";
3069
3069
  driverParam: string;
3070
3070
  notNull: true;
3071
3071
  hasDefault: false;
@@ -4944,7 +4944,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
4944
4944
  tableName: "worklog_summaries";
4945
4945
  dataType: "string";
4946
4946
  columnType: "SQLiteText";
4947
- data: "pending" | "completed" | "cancelled" | "failed" | "running" | "paused" | "finalizing";
4947
+ data: "pending" | "completed" | "cancelled" | "failed" | "paused" | "running" | "finalizing";
4948
4948
  driverParam: string;
4949
4949
  notNull: true;
4950
4950
  hasDefault: false;
@@ -6040,7 +6040,7 @@ declare const WorkflowStorageNamespace: _$_makaio_storage_core0.StorageNamespace
6040
6040
  tableName: "workflow_finalizations";
6041
6041
  dataType: "string";
6042
6042
  columnType: "SQLiteText";
6043
- data: "acknowledged" | "failed" | "claimed";
6043
+ data: "failed" | "acknowledged" | "claimed";
6044
6044
  driverParam: string;
6045
6045
  notNull: true;
6046
6046
  hasDefault: false;
@@ -6485,8 +6485,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6485
6485
  completed: "completed";
6486
6486
  cancelled: "cancelled";
6487
6487
  failed: "failed";
6488
- running: "running";
6489
6488
  paused: "paused";
6489
+ running: "running";
6490
6490
  finalizing: "finalizing";
6491
6491
  }>;
6492
6492
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6527,8 +6527,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6527
6527
  completed: "completed";
6528
6528
  cancelled: "cancelled";
6529
6529
  failed: "failed";
6530
- running: "running";
6531
6530
  paused: "paused";
6531
+ running: "running";
6532
6532
  finalizing: "finalizing";
6533
6533
  }>;
6534
6534
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6576,8 +6576,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6576
6576
  completed: "completed";
6577
6577
  cancelled: "cancelled";
6578
6578
  failed: "failed";
6579
- running: "running";
6580
6579
  paused: "paused";
6580
+ running: "running";
6581
6581
  finalizing: "finalizing";
6582
6582
  }>;
6583
6583
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -6916,8 +6916,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
6916
6916
  completed: "completed";
6917
6917
  cancelled: "cancelled";
6918
6918
  failed: "failed";
6919
- running: "running";
6920
6919
  paused: "paused";
6920
+ running: "running";
6921
6921
  finalizing: "finalizing";
6922
6922
  }>>;
6923
6923
  error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7114,8 +7114,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7114
7114
  completed: "completed";
7115
7115
  cancelled: "cancelled";
7116
7116
  failed: "failed";
7117
- running: "running";
7118
7117
  paused: "paused";
7118
+ running: "running";
7119
7119
  finalizing: "finalizing";
7120
7120
  }>>;
7121
7121
  artifactRef: z.ZodOptional<z.ZodObject<{
@@ -7138,8 +7138,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7138
7138
  completed: "completed";
7139
7139
  cancelled: "cancelled";
7140
7140
  failed: "failed";
7141
- running: "running";
7142
7141
  paused: "paused";
7142
+ running: "running";
7143
7143
  finalizing: "finalizing";
7144
7144
  }>;
7145
7145
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -7191,8 +7191,8 @@ declare const WorkflowStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_cor
7191
7191
  completed: "completed";
7192
7192
  cancelled: "cancelled";
7193
7193
  failed: "failed";
7194
- running: "running";
7195
7194
  paused: "paused";
7195
+ running: "running";
7196
7196
  finalizing: "finalizing";
7197
7197
  }>;
7198
7198
  inputs: z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>;
@@ -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-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-CeEUAKHI.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
+ 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-kIU-C2nI.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-C-XcWpYW.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-BMbbbk7n.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-CvnTavxP.mjs";import{i as Ce,n as we,r as Te,t as Ee}from"../attempt-control-evidence-DmNT2Wkb.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-BjtsXnaA.mjs";
1
+ import { n as createWorkflowEnginePackage, r as workflowEnginePackage, t as WorkflowEngineToken } from "../package-Ir6SEHkA.mjs";
2
2
  export { WorkflowEngineToken, createWorkflowEnginePackage, workflowEnginePackage };
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../package-CeEUAKHI.mjs";export{n as WorkflowEngineToken,e as createWorkflowEnginePackage,t as workflowEnginePackage};
1
+ import{n as e,r as t,t as n}from"../package-C-XcWpYW.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-C2XKRZ3O.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-Dyluu7wy.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-C2XKRZ3O.mjs";
1
+ import { j as OutcomeCodec, x as ExecutionAttemptRepository } from "../../execution-attempt-repository-Dyluu7wy.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. */