@makaio/framework 1.0.0-dev-1790114433794 → 1.0.0-dev-1790165101280

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 (288) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.mjs +1 -1
  3. package/dist/adapters/config/index.d.mts +1 -1
  4. package/dist/adapters/index.d.mts +2 -2
  5. package/dist/adapters/node.d.mts +1 -1
  6. package/dist/bus/index.d.mts +27 -2
  7. package/dist/bus/index.mjs +1 -1
  8. package/dist/{bus-CX0d5tTa.mjs → bus-D4DBDaoS.mjs} +1 -1
  9. package/dist/clients/index.d.mts +2 -1
  10. package/dist/clients/index.mjs +1 -1
  11. package/dist/clients/managed-install.d.mts +1 -1
  12. package/dist/code-execution/worker-entry.d.mts +1 -1
  13. package/dist/contracts/adapter/index.d.mts +2 -2
  14. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  15. package/dist/contracts/artifact/index.d.mts +2 -2
  16. package/dist/contracts/auth/index.d.mts +2 -2
  17. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  18. package/dist/contracts/canonical-model/index.d.mts +1 -1
  19. package/dist/contracts/capabilities/index.d.mts +1 -1
  20. package/dist/contracts/client/index.d.mts +2 -2
  21. package/dist/contracts/code-execution/index.d.mts +1 -1
  22. package/dist/contracts/common/index.d.mts +1 -1
  23. package/dist/contracts/config/index.d.mts +2 -2
  24. package/dist/contracts/extension/index.d.mts +5 -5
  25. package/dist/contracts/facet/index.d.mts +1 -1
  26. package/dist/contracts/harness/index.d.mts +1 -1
  27. package/dist/contracts/host/index.d.mts +1 -1
  28. package/dist/contracts/index.d.mts +47 -47
  29. package/dist/contracts/index.mjs +1 -1
  30. package/dist/contracts/materialization/index.d.mts +2 -2
  31. package/dist/contracts/model-registry/index.d.mts +1 -1
  32. package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
  33. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  34. package/dist/contracts/platform/index.d.mts +1 -1
  35. package/dist/contracts/provider/index.d.mts +2 -2
  36. package/dist/contracts/reaction/index.d.mts +1 -1
  37. package/dist/contracts/session/index.d.mts +2 -2
  38. package/dist/contracts/shared/index.d.mts +2 -2
  39. package/dist/contracts/skill/index.d.mts +1 -1
  40. package/dist/contracts/telemetry/index.d.mts +1 -1
  41. package/dist/contracts/timeout/index.d.mts +1 -1
  42. package/dist/contracts/variant/index.d.mts +1 -1
  43. package/dist/contracts/worker/index.d.mts +2 -2
  44. package/dist/contracts/workflow/index.d.mts +2 -2
  45. package/dist/{contribution-1GL7Rjaq.d.mts → contribution-kpR61mnG.d.mts} +2 -2
  46. package/dist/{definition-DeIGoROj.d.mts → definition-DWhjp0db.d.mts} +1 -1
  47. package/dist/{detached-extension-handle-W5_yfCyE.mjs → detached-extension-handle-QrXVNUR2.mjs} +1 -1
  48. package/dist/{extension-context-pQ7Uio_s.d.mts → extension-context-CmhBCbbq.d.mts} +4 -4
  49. package/dist/filesystem-service-CIaAqTRi.mjs +1 -0
  50. package/dist/{framework-packages-U4Xhouxe.mjs → framework-packages-C2tvdFmP.mjs} +1 -1
  51. package/dist/{hook-responses-B882RcQc.d.mts → hook-responses-C3nUIm-6.d.mts} +1 -1
  52. package/dist/{index-6bsTWnnc.d.mts → index-04uTOEVU.d.mts} +39 -39
  53. package/dist/{index-FyY9jdCQ2.d.mts → index-8HtSFrzb.d.mts} +16 -16
  54. package/dist/{index-UjNxC0VC2.d.mts → index-9O8N514B2.d.mts} +4 -4
  55. package/dist/{index-DQU8ZoJr.d.mts → index-BM53WQaQ.d.mts} +1 -1
  56. package/dist/{index-ConhyAnB.d.mts → index-BTLbhl35.d.mts} +21 -21
  57. package/dist/{index-Di-R1gmo.d.mts → index-BYwt4CNf.d.mts} +80 -80
  58. package/dist/{index-L6mssyeZ.d.mts → index-BfFi98B_.d.mts} +1 -1
  59. package/dist/{index-CESqYf8a.d.mts → index-C0Jfr8UK.d.mts} +2 -2
  60. package/dist/{index-DqliLe_D2.d.mts → index-C9Dz8UoK2.d.mts} +242 -7
  61. package/dist/{index-BtMWM80d.d.mts → index-CFMaXW-s.d.mts} +36 -36
  62. package/dist/{index-DUYjTfHD.d.mts → index-CLwnkYRD.d.mts} +1 -1
  63. package/dist/{index-aIJ7A4DC2.d.mts → index-CRjWqvy02.d.mts} +4 -4
  64. package/dist/{index-C8two8wz.d.mts → index-CdkIg4Gu.d.mts} +1 -1
  65. package/dist/{index-DfREUyAk.d.mts → index-CkE9MwNX.d.mts} +1 -1
  66. package/dist/{index-DJVQG6Nn.d.mts → index-CpGWwlRN.d.mts} +14 -14
  67. package/dist/{index-BDcK7jqJ2.d.mts → index-Csua5M_M2.d.mts} +8 -8
  68. package/dist/{index-DJxg7U2X.d.mts → index-D5BLD2Pw.d.mts} +7 -3
  69. package/dist/{index-B2bxgKiK.d.mts → index-D9BLsMs8.d.mts} +1 -1
  70. package/dist/{index-DdJKsdya.d.mts → index-D9hIDsPr.d.mts} +1 -1
  71. package/dist/{index-D6Uq1btG.d.mts → index-DDCixELI.d.mts} +1 -1
  72. package/dist/{index-m5ZQFglW2.d.mts → index-DVo_rb2w2.d.mts} +12 -12
  73. package/dist/{index-DpLjyQ-Z.d.mts → index-J6C4thLY.d.mts} +3 -3
  74. package/dist/{index-D2TphOHU2.d.mts → index-LCumcYK12.d.mts} +3 -3
  75. package/dist/{index-anIxF_eT.d.mts → index-aAo9ugCm.d.mts} +4 -4
  76. package/dist/{index-Jdju2W3y.d.mts → index-t6LnywuE.d.mts} +1 -1
  77. package/dist/{index-zqo2mX_Z.d.mts → index-ul45YFff.d.mts} +6 -6
  78. package/dist/{index-CmCLAMNs.d.mts → index-xad0YUyF.d.mts} +1 -1
  79. package/dist/kernel/cli/index.d.mts +2 -2
  80. package/dist/kernel/cli/register.d.mts +1 -1
  81. package/dist/kernel/extension/index.d.mts +2 -2
  82. package/dist/kernel/index.d.mts +5 -5
  83. package/dist/kernel/namespace/index.d.mts +1 -1
  84. package/dist/kernel/observability/index.d.mts +1 -1
  85. package/dist/kernel/providers/index.d.mts +1 -1
  86. package/dist/kernel/window/index.d.mts +1 -1
  87. package/dist/{load-extensions-Be_lOjm_.d.mts → load-extensions-CCzTHlUE.d.mts} +1 -1
  88. package/dist/{load-extensions-BGfSWW_R.mjs → load-extensions-eyXZhbRn.mjs} +1 -1
  89. package/dist/{namespace-zusFEJPh.d.mts → namespace-B1FBjHfn.d.mts} +6 -6
  90. package/dist/native-session-supervisor-BmnAZuia.mjs +1 -0
  91. package/dist/node/bus-server/index.d.mts +1 -1
  92. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  93. package/dist/node/transports/index.d.mts +53 -1
  94. package/dist/node/transports/index.mjs +2 -2
  95. package/dist/node-bridge-backend-DtRT--yn.mjs +1 -0
  96. package/dist/node-pty-backend-C72EgRws.mjs +1 -0
  97. package/dist/{package-CwyC-Krg.d.mts → package-BswWlFSn.d.mts} +1 -1
  98. package/dist/{package-kkPGlxMm.mjs → package-CeEUAKHI.mjs} +1 -1
  99. package/dist/package.json +1 -1
  100. package/dist/rules/index.d.mts +1 -1
  101. package/dist/rules/schemas.d.mts +1 -1
  102. package/dist/runtime-bun/index.d.mts +5 -0
  103. package/dist/runtime-bun/index.mjs +1 -1
  104. package/dist/runtime-node/bridge/pty-bridge.cjs +222 -0
  105. package/dist/runtime-node/code-execution/index.d.mts +2 -2
  106. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  107. package/dist/runtime-node/extension-validation.d.mts +1 -1
  108. package/dist/runtime-node/extension-validation.mjs +1 -1
  109. package/dist/runtime-node/index.d.mts +5 -5
  110. package/dist/runtime-node/index.mjs +25 -21
  111. package/dist/runtime-node/makaio-config.d.mts +1 -1
  112. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  113. package/dist/{schemas-BLxdGZkr.d.mts → schemas-BzSB9u68.d.mts} +4 -4
  114. package/dist/{schemas-B7YzDHLs.d.mts → schemas-CjFPsYeV.d.mts} +4 -4
  115. package/dist/{schemas-DNNHiY8g2.d.mts → schemas-DPtj1sPC2.d.mts} +7 -7
  116. package/dist/service-base/index.d.mts +35 -5
  117. package/dist/service-base/index.mjs +1 -1
  118. package/dist/services/adapter-runtime/index.d.mts +3 -3
  119. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  120. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  121. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  122. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  123. package/dist/services/agent-runtime/index.d.mts +2 -2
  124. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  125. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  126. package/dist/services/capability/index.d.mts +2 -2
  127. package/dist/services/code-execution/index.d.mts +1 -1
  128. package/dist/services/codebase/index.d.mts +2 -2
  129. package/dist/services/codebase/namespace.d.mts +1 -1
  130. package/dist/services/codebase/schemas.d.mts +1 -1
  131. package/dist/services/compression/index.d.mts +2 -2
  132. package/dist/services/compression/namespace.d.mts +1 -1
  133. package/dist/services/compression/schemas.d.mts +1 -1
  134. package/dist/services/context-rules/index.d.mts +4 -4
  135. package/dist/services/execution-target/index.d.mts +3 -3
  136. package/dist/services/execution-target/namespace.d.mts +1 -1
  137. package/dist/services/execution-target/schemas.d.mts +1 -1
  138. package/dist/services/filesystem/index.d.mts +1 -1
  139. package/dist/services/filesystem/index.mjs +1 -1
  140. package/dist/services/filesystem/namespace.d.mts +6 -6
  141. package/dist/services/filesystem/schemas.d.mts +3 -3
  142. package/dist/services/git/namespace.d.mts +2 -2
  143. package/dist/services/git/schemas.d.mts +2 -2
  144. package/dist/services/harness/index.d.mts +3 -3
  145. package/dist/services/index.d.mts +51 -51
  146. package/dist/services/index.mjs +1 -1
  147. package/dist/services/log-import/browser.d.mts +2 -2
  148. package/dist/services/log-import/index.d.mts +2 -2
  149. package/dist/services/log-import/log-import.d.mts +1 -1
  150. package/dist/services/materialization/index.d.mts +1 -1
  151. package/dist/services/model-registry/index.d.mts +1 -1
  152. package/dist/services/preferences/index.d.mts +2 -2
  153. package/dist/services/preferences/schemas.d.mts +1 -1
  154. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  155. package/dist/services/provider-context/index.d.mts +1 -1
  156. package/dist/services/session/handlers/index.d.mts +1 -1
  157. package/dist/services/session/index.d.mts +9 -9
  158. package/dist/services/session/index.mjs +1 -1
  159. package/dist/services/session/messages/namespace.d.mts +1 -1
  160. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  161. package/dist/services/session/session-events/namespace.d.mts +1 -1
  162. package/dist/services/session/storage/namespace.d.mts +1 -1
  163. package/dist/services/session/storage/schema.d.mts +1 -1
  164. package/dist/services/session/testing/index.mjs +1 -1
  165. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  166. package/dist/services/session/turns/namespace.d.mts +1 -1
  167. package/dist/services/session-editor/index.d.mts +1 -1
  168. package/dist/services/settings/index.d.mts +3 -3
  169. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  170. package/dist/services/settings/storage/index.d.mts +3 -3
  171. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  172. package/dist/services/subagent/index.d.mts +1 -1
  173. package/dist/services/subagent-template/index.d.mts +2 -2
  174. package/dist/services/subagent-template/namespace.d.mts +1 -1
  175. package/dist/services/subagent-template/schemas.d.mts +1 -1
  176. package/dist/services/tool-approval/index.d.mts +1 -1
  177. package/dist/services/tool-approval/index.mjs +1 -1
  178. package/dist/services/tools/index.d.mts +1 -1
  179. package/dist/services/tools/index.mjs +1 -1
  180. package/dist/services/tray-menu/index.d.mts +3 -3
  181. package/dist/services/tray-menu/namespace.d.mts +1 -1
  182. package/dist/services/tray-menu/schemas.d.mts +1 -1
  183. package/dist/services/turn/index.d.mts +1 -1
  184. package/dist/services/turn/namespace.d.mts +1 -1
  185. package/dist/services/workflow-transitions/index.d.mts +1 -1
  186. package/dist/services/workflow-transitions/index.mjs +1 -1
  187. package/dist/{session-CMbztxNO.mjs → session-D38UuGGX.mjs} +1 -1
  188. package/dist/{session-lineage-BuGN3RZs.d.mts → session-lineage-CmP7L5g2.d.mts} +1 -1
  189. package/dist/storage/drizzle/client.d.mts +1 -1
  190. package/dist/storage/drizzle/index.d.mts +1 -1
  191. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  192. package/dist/storage/handlers/index.d.mts +1 -1
  193. package/dist/{storage-namespace-DaCB01dg.d.mts → storage-namespace-CwwiV3kt.d.mts} +10 -10
  194. package/dist/{tool-approval-service-CRo3fZRF.mjs → tool-approval-service-vG2mEC9p.mjs} +1 -1
  195. package/dist/{tools-CKaxi3Mb.mjs → tools-ByDy0ueE.mjs} +1 -1
  196. package/dist/{transition-DMv8cgEd.d.mts → transition-B0qsutdE.d.mts} +2 -2
  197. package/dist/{types-Dvsn8TOX.d.mts → types-BP_P1izV.d.mts} +3 -3
  198. package/dist/{types-7L3BrU9m2.d.mts → types-DyBD5MdV2.d.mts} +1 -1
  199. package/dist/ui-kernel/index.d.mts +4 -4
  200. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  201. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  202. package/dist/{view-builder-BVIbIS_J.d.mts → view-builder-nKz9DKfE.d.mts} +4 -4
  203. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  204. package/dist/workflow-engine/index.d.mts +25 -25
  205. package/dist/workflow-engine/index.mjs +1 -1
  206. package/dist/workflow-engine/package.d.mts +1 -1
  207. package/dist/workflow-engine/package.mjs +1 -1
  208. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  209. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  210. package/dist/workflow-engine/testing/index.d.mts +1 -1
  211. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  212. package/dist/{workflow-transitions-t0ORS1F5.mjs → workflow-transitions-UOXY-VZa.mjs} +1 -1
  213. package/package.json +2 -1
  214. package/dist/filesystem-service-ClZEAw7E.mjs +0 -1
  215. package/dist/native-session-supervisor-DtuN1Dgs.mjs +0 -1
  216. package/dist/{adapter-binding-CaYBrIkL.d.mts → adapter-binding-DF-j-XHg.d.mts} +0 -0
  217. package/dist/{base-orchestrator-1ofFsqUz.d.mts → base-orchestrator-FNFJ6Cwf.d.mts} +0 -0
  218. package/dist/{capability-service-CUN0MIS7.d.mts → capability-service-BHcRd1td.d.mts} +0 -0
  219. package/dist/{client-BY3sBW2L.d.mts → client-Sx_N8LXo.d.mts} +0 -0
  220. package/dist/{client-binary-version-verifier-BeO4Eptw.d.mts → client-binary-version-verifier-C8gtKQFO.d.mts} +0 -0
  221. package/dist/{clients-namespace-D92YsbKI.d.mts → clients-namespace-CASHxXUM.d.mts} +0 -0
  222. package/dist/{config-namespace-OEckUfVE.d.mts → config-namespace-CeTODseW.d.mts} +0 -0
  223. package/dist/{credential-ref-w4ZYpYW0.d.mts → credential-ref-MsnUkz9G.d.mts} +0 -0
  224. package/dist/{definition-DLJg-P4G.d.mts → definition-D2SO1tX-.d.mts} +0 -0
  225. package/dist/{execution-attempt-repository-DOb5V4N2.d.mts → execution-attempt-repository-C2XKRZ3O.d.mts} +0 -0
  226. package/dist/{extension-discovery-Rup-gANp.d.mts → extension-discovery-BqSPn73R.d.mts} +0 -0
  227. package/dist/{filesystem-service-BmavE-uO.d.mts → filesystem-service-5Ecp3nSV.d.mts} +0 -0
  228. package/dist/{index-DubyRZD9.d.mts → index-62OoZLGr.d.mts} +0 -0
  229. package/dist/{index-DEx4ZFkz.d.mts → index-BCuWtlv5.d.mts} +0 -0
  230. package/dist/{index-BneZFJ7x.d.mts → index-BEPn58tG.d.mts} +0 -0
  231. package/dist/{index-CpN2C9jq.d.mts → index-BOxMyaqG.d.mts} +0 -0
  232. package/dist/{index-fxh7TB0q.d.mts → index-BTd3fTkW.d.mts} +0 -0
  233. package/dist/{index-DGoJayJg.d.mts → index-BV3nQpdO.d.mts} +0 -0
  234. package/dist/{index--gbsE1W0.d.mts → index-B_Hf4XPX.d.mts} +0 -0
  235. package/dist/{index-BQYGOXY5.d.mts → index-BjrbddkU.d.mts} +0 -0
  236. package/dist/{index-D7smT-YD.d.mts → index-BleQ0SR7.d.mts} +0 -0
  237. package/dist/{index-CvdvuhTL2.d.mts → index-By1UhKYU2.d.mts} +0 -0
  238. package/dist/{index-YOXWpZAS.d.mts → index-CURT4JaX.d.mts} +0 -0
  239. package/dist/{index-CCTzitBA.d.mts → index-Ce6-SiB3.d.mts} +0 -0
  240. package/dist/{index-DxkSkszz.d.mts → index-CwVSr7Ow.d.mts} +0 -0
  241. package/dist/{index-DOD7Lmgu.d.mts → index-D5Lw1UsO.d.mts} +0 -0
  242. package/dist/{index-C2StVLk4.d.mts → index-DAqAa9aL.d.mts} +0 -0
  243. package/dist/{index-CsRPJ9FV.d.mts → index-DDnY7JhE.d.mts} +0 -0
  244. package/dist/{index-DTvYp2GT.d.mts → index-DMgbNdEU.d.mts} +0 -0
  245. package/dist/{index-BD1SbHpP.d.mts → index-DOui-7u2.d.mts} +0 -0
  246. package/dist/{index-BujgCaKt.d.mts → index-DsmyofuM.d.mts} +0 -0
  247. package/dist/{index-DwOpaQAE.d.mts → index-N0-r5Hcd.d.mts} +0 -0
  248. package/dist/{index-Cj_V1aRL.d.mts → index-_OD_Nz3m.d.mts} +0 -0
  249. package/dist/{index-TBJ1kIGA.d.mts → index-rik4Uc5G.d.mts} +0 -0
  250. package/dist/{index-D3peNmHN2.d.mts → index-u0EteHlR2.d.mts} +0 -0
  251. package/dist/{index-B36rL4gp.d.mts → index-w1AeWV4F.d.mts} +0 -0
  252. package/dist/{json-value-Bjl8jzom.d.mts → json-value--pv1-OHx.d.mts} +0 -0
  253. package/dist/{namespace-DudchWPb.d.mts → namespace-6O0G1s65.d.mts} +0 -0
  254. package/dist/{namespace-BtOBQybk.d.mts → namespace-BEi98VfQ.d.mts} +0 -0
  255. package/dist/{namespace-B1CgZ0oQ.d.mts → namespace-C5tKjqgb.d.mts} +0 -0
  256. package/dist/{namespace-hlhPqSsw.d.mts → namespace-CHSwZhH7.d.mts} +0 -0
  257. package/dist/{namespace-D09uQ231.d.mts → namespace-CJ5sH_Bp.d.mts} +0 -0
  258. package/dist/{namespace-DHLwz4o3.d.mts → namespace-CL9OyrHs.d.mts} +0 -0
  259. package/dist/{namespace-DHbrNQYD.d.mts → namespace-D38Fmd0E.d.mts} +0 -0
  260. package/dist/{namespace-MW-Eg_yB.d.mts → namespace-D6W4Erwp.d.mts} +0 -0
  261. package/dist/{namespace-CxEQv9iZ.d.mts → namespace-DbtfwD5Z.d.mts} +0 -0
  262. package/dist/{namespace-D5DkpaaN.d.mts → namespace-HLrZerLd.d.mts} +0 -0
  263. package/dist/{namespace-Bhx72V7S.d.mts → namespace-KomML5ti.d.mts} +0 -0
  264. package/dist/{namespace-Dz5_Hrz7.d.mts → namespace-QV_2m25r.d.mts} +0 -0
  265. package/dist/{namespace-DyD06b5-.d.mts → namespace-Sd6qj6w22.d.mts} +0 -0
  266. package/dist/{orchestrator-shared-ChU5qRSe.d.mts → orchestrator-shared-Bvo0u-1D.d.mts} +0 -0
  267. package/dist/{packages-D2s51nGU.d.mts → packages-KX9yofCa.d.mts} +0 -0
  268. package/dist/{providers-namespace-BLVt8OyP.d.mts → providers-namespace-B-l-OQZk.d.mts} +0 -0
  269. package/dist/{runtime-inputs-BU_kBrP7.d.mts → runtime-inputs-B7nWstrY.d.mts} +0 -0
  270. package/dist/{schema-FY0EakKe.d.mts → schema-De6d0FWI.d.mts} +0 -0
  271. package/dist/{schemas-CqawCYTY.d.mts → schemas-BGTuiO3u.d.mts} +0 -0
  272. package/dist/{schemas-CD3Mq-jC.d.mts → schemas-BOT1HUv6.d.mts} +0 -0
  273. package/dist/{schemas-3KTmPuZg.d.mts → schemas-BXkSHQaF.d.mts} +0 -0
  274. package/dist/{schemas--wiEYYQs.d.mts → schemas-Bv7ecHxV.d.mts} +0 -0
  275. package/dist/{schemas-B-5_Dp4_.d.mts → schemas-C0Fb2-LN.d.mts} +0 -0
  276. package/dist/{schemas-DiXL8NfA.d.mts → schemas-Cb9OJ9va.d.mts} +0 -0
  277. package/dist/{schemas-CBBzvIh0.d.mts → schemas-Dxfk39-v.d.mts} +0 -0
  278. package/dist/{schemas-BegArpU_.d.mts → schemas-feb64ScA.d.mts} +0 -0
  279. package/dist/{schemas-rMUsvzeJ.d.mts → schemas-rliUGyrt.d.mts} +1 -1
  280. /package/dist/{server-lifecycle-CTJvpdeL.d.mts → server-lifecycle-BINetU26.d.mts} +0 -0
  281. /package/dist/{src-C0sw_Vs_.mjs → src-CkKKoY0M.mjs} +0 -0
  282. /package/dist/{storage-namespace-definition-DiYr8UNl.d.mts → storage-namespace-definition-DV3IipmH.d.mts} +0 -0
  283. /package/dist/{types-DEGuc-fn.d.mts → types-B_mVEuYd.d.mts} +0 -0
  284. /package/dist/{types-CpEoQapk.d.mts → types-BrsmFcWl.d.mts} +0 -0
  285. /package/dist/{types-DciLiPMd.d.mts → types-CjoaGe_E.d.mts} +0 -0
  286. /package/dist/{types-BSx8YYlc.d.mts → types-CqVuKsLC.d.mts} +0 -0
  287. /package/dist/{types-Cuhnt15L.d.mts → types-D7WtaoMR.d.mts} +0 -0
  288. /package/dist/{window-registry-C3W2wtlX.d.mts → window-registry-1jI3f9ir.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- import { r as ExtensionDiscovery, t as DiscoveredExtension } from "../extension-discovery-Rup-gANp.mjs";
1
+ import { r as ExtensionDiscovery, t as DiscoveredExtension } from "../extension-discovery-BqSPn73R.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region runtimes/node/src/makaio-config.d.ts
@@ -1,2 +1,2 @@
1
- import { $ as CreateIsolatedWorkflowRuntimeOptions, $t as computeContributionPackageDigest, A as createLocalGitWorkspacePreparation, At as runWorkerBootstrapExchange, B as HeadlessWorkerMaterializer, C as admitWorkflowRunOperation, Ct as WorkerRunnerOptions, D as loadWorkflowModule, Dt as createNodeWorkflowRunnerPackageOptions, E as registerWorkerRuntime, Et as createNodeWorkflowRunner, F as HeadlessWorkerBootstrap, Ft as IWorkflowRunner, G as runHeadlessWorkflowWorker, H as HeadlessWorkflowWorkerDeps, I as HeadlessWorkerBootstrapCredentials, It as RuntimeLoadedWorkflow, J as WorkloadControlBinding, Jt as MaterializationError, K as InstalledWorkloadAdapter, L as HeadlessWorkerBusConnector, Lt as ThinWorkflowPiscinaRunnerOptions, M as HeadlessWorkerDeps, Mt as withWorkerBootstrapDeadline, N as HeadlessWorkerResult, Nt as createWorkerBusAuth, O as loadWorkflowModules, Ot as BootstrapExchangeResult, P as runHeadlessWorker, Pt as ThinWorkflowPiscinaRunner, Qt as assertNoSymlinkEscape, R as HeadlessWorkerContributionLoader, Rt as WorkflowRunResult, S as RuntimeRegistrationRefusedError, St as WorkerRunner, T as registerAndAdmitWorkflowRun, Tt as NodeWorkflowRunnerPackageOptions, U as HeadlessWorkflowWorkerResult, V as HeadlessWorkerPostCommitObserver, W as MaterializedWorkspace, X as WorkloadInvocationResult, Xt as WorkspaceRootResolver, Y as WorkloadInvocationPreparation, Yt as ParsedSriIntegrity, Z as runWorkloadInvocation, Zt as assertContainedIn, _ as OperationDeliveryEndpointIdentity, _t as OutcomeReconnect, a as InstalledAttemptControlEndpoint, an as WorkflowWorkerEntryMode, at as InProcessWorkflowRunner, b as RegisterAndAdmitWorkflowRunOptions, bt as submitAttemptOutcomeWithAck, c as BootstrapStartRefusedError, ct as PiscinaThinWorkflowProviderOptions, d as bootstrapWorkerRuntime, dt as createWorkflowLaunchResolver, en as computeDirectoryDigest, et as IsolatedWorkflowRuntime, f as AdmitWorkflowRunOperationOptions, ft as AttemptOutcomeDeliveryError, g as OperationDeliveryEndpoint, gt as OutcomeDeliveryError, h as OperationAdmissionRefusedError, ht as DELIVERED_DECISIONS, i as AttemptControlReportOptions, in as verifyContribution, it as createIsolatedWorkflowRuntime, j as LocalGitSourceOptions, jt as BootstrapDeadlineExceededError, k as loadWorkflowFromConfig, kt as WorkerBootstrapExchangeOptions, l as BootstrapWorkerRuntimeOptions, lt as WorkflowAttemptInstructionReader, m as DeliverableOperationKind, mt as AuthorityRequestDeliveryError, n as AttemptControlEndpointIdentity, nn as materializeLocalDirectory, nt as WorkflowRuntimeAuthorityConnector, o as installAttemptControlEndpoint, on as WorkflowWorkerEntryResolverOptions, ot as InProcessWorkflowRunnerOptions, p as AdmittedWorkflowRun, pt as AttemptOutcomeSubmitPayload, q as RunWorkloadInvocationOptions, qt as LocalDirectoryMaterializerOptions, r as AttemptControlLastReport, rn as parseSriIntegrity, rt as WorkflowRuntimeContributionLoader, s as BootstrapRuntimeConnection, sn as resolveWorkflowWorkerEntry, st as PiscinaThinWorkflowProvider, t as AttemptControlEndpointDeps, tn as computeFileDigest, tt as IsolatedWorkflowRuntimeContext, u as StartedWorkerRuntime, ut as WorkflowLaunchResolver, v as OperationDeliveryHandler, vt as OutcomeSubmitPayload, w as installOperationDeliveryEndpoint, wt as CreateNodeWorkflowRunnerPackageOptionsParams, x as RegisterWorkerRuntimeOptions, xt as submitOutcomeWithAck, y as OperationDeliveryHandlers, yt as OutcomeSubmitRetryConfig, z as HeadlessWorkerExecutor } from "../../index-DdJKsdya.mjs";
1
+ import { $ as CreateIsolatedWorkflowRuntimeOptions, $t as computeContributionPackageDigest, A as createLocalGitWorkspacePreparation, At as runWorkerBootstrapExchange, B as HeadlessWorkerMaterializer, C as admitWorkflowRunOperation, Ct as WorkerRunnerOptions, D as loadWorkflowModule, Dt as createNodeWorkflowRunnerPackageOptions, E as registerWorkerRuntime, Et as createNodeWorkflowRunner, F as HeadlessWorkerBootstrap, Ft as IWorkflowRunner, G as runHeadlessWorkflowWorker, H as HeadlessWorkflowWorkerDeps, I as HeadlessWorkerBootstrapCredentials, It as RuntimeLoadedWorkflow, J as WorkloadControlBinding, Jt as MaterializationError, K as InstalledWorkloadAdapter, L as HeadlessWorkerBusConnector, Lt as ThinWorkflowPiscinaRunnerOptions, M as HeadlessWorkerDeps, Mt as withWorkerBootstrapDeadline, N as HeadlessWorkerResult, Nt as createWorkerBusAuth, O as loadWorkflowModules, Ot as BootstrapExchangeResult, P as runHeadlessWorker, Pt as ThinWorkflowPiscinaRunner, Qt as assertNoSymlinkEscape, R as HeadlessWorkerContributionLoader, Rt as WorkflowRunResult, S as RuntimeRegistrationRefusedError, St as WorkerRunner, T as registerAndAdmitWorkflowRun, Tt as NodeWorkflowRunnerPackageOptions, U as HeadlessWorkflowWorkerResult, V as HeadlessWorkerPostCommitObserver, W as MaterializedWorkspace, X as WorkloadInvocationResult, Xt as WorkspaceRootResolver, Y as WorkloadInvocationPreparation, Yt as ParsedSriIntegrity, Z as runWorkloadInvocation, Zt as assertContainedIn, _ as OperationDeliveryEndpointIdentity, _t as OutcomeReconnect, a as InstalledAttemptControlEndpoint, an as WorkflowWorkerEntryMode, at as InProcessWorkflowRunner, b as RegisterAndAdmitWorkflowRunOptions, bt as submitAttemptOutcomeWithAck, c as BootstrapStartRefusedError, ct as PiscinaThinWorkflowProviderOptions, d as bootstrapWorkerRuntime, dt as createWorkflowLaunchResolver, en as computeDirectoryDigest, et as IsolatedWorkflowRuntime, f as AdmitWorkflowRunOperationOptions, ft as AttemptOutcomeDeliveryError, g as OperationDeliveryEndpoint, gt as OutcomeDeliveryError, h as OperationAdmissionRefusedError, ht as DELIVERED_DECISIONS, i as AttemptControlReportOptions, in as verifyContribution, it as createIsolatedWorkflowRuntime, j as LocalGitSourceOptions, jt as BootstrapDeadlineExceededError, k as loadWorkflowFromConfig, kt as WorkerBootstrapExchangeOptions, l as BootstrapWorkerRuntimeOptions, lt as WorkflowAttemptInstructionReader, m as DeliverableOperationKind, mt as AuthorityRequestDeliveryError, n as AttemptControlEndpointIdentity, nn as materializeLocalDirectory, nt as WorkflowRuntimeAuthorityConnector, o as installAttemptControlEndpoint, on as WorkflowWorkerEntryResolverOptions, ot as InProcessWorkflowRunnerOptions, p as AdmittedWorkflowRun, pt as AttemptOutcomeSubmitPayload, q as RunWorkloadInvocationOptions, qt as LocalDirectoryMaterializerOptions, r as AttemptControlLastReport, rn as parseSriIntegrity, rt as WorkflowRuntimeContributionLoader, s as BootstrapRuntimeConnection, sn as resolveWorkflowWorkerEntry, st as PiscinaThinWorkflowProvider, t as AttemptControlEndpointDeps, tn as computeFileDigest, tt as IsolatedWorkflowRuntimeContext, u as StartedWorkerRuntime, ut as WorkflowLaunchResolver, v as OperationDeliveryHandler, vt as OutcomeSubmitPayload, w as installOperationDeliveryEndpoint, wt as CreateNodeWorkflowRunnerPackageOptionsParams, x as RegisterWorkerRuntimeOptions, xt as submitOutcomeWithAck, y as OperationDeliveryHandlers, yt as OutcomeSubmitRetryConfig, z as HeadlessWorkerExecutor } from "../../index-D9hIDsPr.mjs";
2
2
  export { AdmitWorkflowRunOperationOptions, AdmittedWorkflowRun, AttemptControlEndpointDeps, AttemptControlEndpointIdentity, AttemptControlLastReport, AttemptControlReportOptions, AttemptOutcomeDeliveryError, AttemptOutcomeSubmitPayload, AuthorityRequestDeliveryError, BootstrapDeadlineExceededError, BootstrapExchangeResult, BootstrapRuntimeConnection, BootstrapStartRefusedError, BootstrapWorkerRuntimeOptions, CreateIsolatedWorkflowRuntimeOptions, CreateNodeWorkflowRunnerPackageOptionsParams, DELIVERED_DECISIONS, DeliverableOperationKind, HeadlessWorkerBootstrap, HeadlessWorkerBootstrapCredentials, HeadlessWorkerBusConnector, HeadlessWorkerContributionLoader, HeadlessWorkerDeps, HeadlessWorkerExecutor, HeadlessWorkerMaterializer, HeadlessWorkerPostCommitObserver, HeadlessWorkerResult, HeadlessWorkflowWorkerDeps, HeadlessWorkflowWorkerResult, IWorkflowRunner, InProcessWorkflowRunner, InProcessWorkflowRunnerOptions, InstalledAttemptControlEndpoint, InstalledWorkloadAdapter, IsolatedWorkflowRuntime, IsolatedWorkflowRuntimeContext, LocalDirectoryMaterializerOptions, LocalGitSourceOptions, MaterializationError, MaterializedWorkspace, NodeWorkflowRunnerPackageOptions, OperationAdmissionRefusedError, OperationDeliveryEndpoint, OperationDeliveryEndpointIdentity, OperationDeliveryHandler, OperationDeliveryHandlers, OutcomeDeliveryError, OutcomeReconnect, OutcomeSubmitPayload, OutcomeSubmitRetryConfig, ParsedSriIntegrity, PiscinaThinWorkflowProvider, PiscinaThinWorkflowProviderOptions, RegisterAndAdmitWorkflowRunOptions, RegisterWorkerRuntimeOptions, RunWorkloadInvocationOptions, RuntimeLoadedWorkflow, RuntimeRegistrationRefusedError, StartedWorkerRuntime, ThinWorkflowPiscinaRunner, ThinWorkflowPiscinaRunnerOptions, WorkerBootstrapExchangeOptions, WorkerRunner, WorkerRunnerOptions, WorkflowAttemptInstructionReader, WorkflowLaunchResolver, WorkflowRunResult, WorkflowRuntimeAuthorityConnector, WorkflowRuntimeContributionLoader, WorkflowWorkerEntryMode, WorkflowWorkerEntryResolverOptions, WorkloadControlBinding, WorkloadInvocationPreparation, WorkloadInvocationResult, WorkspaceRootResolver, admitWorkflowRunOperation, assertContainedIn, assertNoSymlinkEscape, bootstrapWorkerRuntime, computeContributionPackageDigest, computeDirectoryDigest, computeFileDigest, createIsolatedWorkflowRuntime, createLocalGitWorkspacePreparation, createNodeWorkflowRunner, createNodeWorkflowRunnerPackageOptions, createWorkerBusAuth, createWorkflowLaunchResolver, installAttemptControlEndpoint, installOperationDeliveryEndpoint, loadWorkflowFromConfig, loadWorkflowModule, loadWorkflowModules, materializeLocalDirectory, parseSriIntegrity, registerAndAdmitWorkflowRun, registerWorkerRuntime, resolveWorkflowWorkerEntry, runHeadlessWorker, runHeadlessWorkflowWorker, runWorkerBootstrapExchange, runWorkloadInvocation, submitAttemptOutcomeWithAck, submitOutcomeWithAck, verifyContribution, withWorkerBootstrapDeadline };
@@ -17,8 +17,8 @@ declare const AdapterSubsystemSchemas: {
17
17
  response: z.ZodObject<{
18
18
  config: z.ZodNullable<z.ZodObject<{
19
19
  description: z.ZodOptional<z.ZodString>;
20
- displayName: z.ZodOptional<z.ZodString>;
21
20
  protocol: z.ZodOptional<z.ZodString>;
21
+ displayName: z.ZodOptional<z.ZodString>;
22
22
  clientId: z.ZodOptional<z.ZodString>;
23
23
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
24
24
  label: z.ZodString;
@@ -45,8 +45,8 @@ declare const AdapterSubsystemSchemas: {
45
45
  response: z.ZodObject<{
46
46
  configs: z.ZodArray<z.ZodObject<{
47
47
  description: z.ZodOptional<z.ZodString>;
48
- displayName: z.ZodOptional<z.ZodString>;
49
48
  protocol: z.ZodOptional<z.ZodString>;
49
+ displayName: z.ZodOptional<z.ZodString>;
50
50
  clientId: z.ZodOptional<z.ZodString>;
51
51
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
52
  label: z.ZodString;
@@ -1716,8 +1716,8 @@ declare const AdapterSubsystemSchemas: {
1716
1716
  response: z.ZodObject<{
1717
1717
  config: z.ZodObject<{
1718
1718
  description: z.ZodOptional<z.ZodString>;
1719
- displayName: z.ZodOptional<z.ZodString>;
1720
1719
  protocol: z.ZodOptional<z.ZodString>;
1720
+ displayName: z.ZodOptional<z.ZodString>;
1721
1721
  clientId: z.ZodOptional<z.ZodString>;
1722
1722
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1723
1723
  label: z.ZodString;
@@ -3121,8 +3121,8 @@ type BindingRecord = z.infer<typeof BindingRecordSchema>;
3121
3121
  /** Normalized adapter file-backed read model. */
3122
3122
  declare const AdapterFileConfigSchema: z.ZodObject<{
3123
3123
  description: z.ZodOptional<z.ZodString>;
3124
- displayName: z.ZodOptional<z.ZodString>;
3125
3124
  protocol: z.ZodOptional<z.ZodString>;
3125
+ displayName: z.ZodOptional<z.ZodString>;
3126
3126
  clientId: z.ZodOptional<z.ZodString>;
3127
3127
  helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
3128
3128
  label: z.ZodString;
@@ -10,8 +10,8 @@ import { UiNavigationLevel } from "@makaio/framework/contracts";
10
10
  */
11
11
  declare const SurfaceIdSchema: z.ZodEnum<{
12
12
  tray: "tray";
13
- web: "web";
14
13
  mobile: "mobile";
14
+ web: "web";
15
15
  electron: "electron";
16
16
  electrobun: "electrobun";
17
17
  }>;
@@ -101,8 +101,8 @@ declare const PageMetadataSchema: z.ZodObject<{
101
101
  level: z.ZodCustom<UiNavigationLevel, UiNavigationLevel>;
102
102
  surfaces: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodEnum<{
103
103
  tray: "tray";
104
- web: "web";
105
104
  mobile: "mobile";
105
+ web: "web";
106
106
  electron: "electron";
107
107
  electrobun: "electrobun";
108
108
  }>>]>>;
@@ -127,8 +127,8 @@ declare const PageSchemas: {
127
127
  readonly request: z.ZodObject<{
128
128
  surface: z.ZodOptional<z.ZodEnum<{
129
129
  tray: "tray";
130
- web: "web";
131
130
  mobile: "mobile";
131
+ web: "web";
132
132
  electron: "electron";
133
133
  electrobun: "electrobun";
134
134
  }>>;
@@ -147,8 +147,8 @@ declare const PageSchemas: {
147
147
  level: z.ZodCustom<UiNavigationLevel, UiNavigationLevel>;
148
148
  surfaces: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"all">, z.ZodArray<z.ZodEnum<{
149
149
  tray: "tray";
150
- web: "web";
151
150
  mobile: "mobile";
151
+ web: "web";
152
152
  electron: "electron";
153
153
  electrobun: "electrobun";
154
154
  }>>]>>;
@@ -13,9 +13,9 @@ declare const PreferenceKeySchema: z.ZodObject<{
13
13
  scope: z.ZodString;
14
14
  context: z.ZodOptional<z.ZodString>;
15
15
  viewport: z.ZodOptional<z.ZodEnum<{
16
- mobile: "mobile";
17
16
  desktop: "desktop";
18
17
  tablet: "tablet";
18
+ mobile: "mobile";
19
19
  }>>;
20
20
  }, z.core.$strip>;
21
21
  type PreferenceKey = z.infer<typeof PreferenceKeySchema>;
@@ -33,9 +33,9 @@ declare const PreferenceItemSchema: z.ZodObject<{
33
33
  scope: z.ZodString;
34
34
  context: z.ZodOptional<z.ZodString>;
35
35
  viewport: z.ZodOptional<z.ZodEnum<{
36
- mobile: "mobile";
37
36
  desktop: "desktop";
38
37
  tablet: "tablet";
38
+ mobile: "mobile";
39
39
  }>>;
40
40
  }, z.core.$strip>;
41
41
  category: z.ZodString;
@@ -67,9 +67,9 @@ declare const PreferencesSchemas: {
67
67
  scope: z.ZodString;
68
68
  context: z.ZodOptional<z.ZodString>;
69
69
  viewport: z.ZodOptional<z.ZodEnum<{
70
- mobile: "mobile";
71
70
  desktop: "desktop";
72
71
  tablet: "tablet";
72
+ mobile: "mobile";
73
73
  }>>;
74
74
  }, z.core.$strip>;
75
75
  category: z.ZodString;
@@ -94,9 +94,9 @@ declare const PreferencesSchemas: {
94
94
  scope: z.ZodString;
95
95
  context: z.ZodOptional<z.ZodString>;
96
96
  viewport: z.ZodOptional<z.ZodEnum<{
97
- mobile: "mobile";
98
97
  desktop: "desktop";
99
98
  tablet: "tablet";
99
+ mobile: "mobile";
100
100
  }>>;
101
101
  }, z.core.$strip>;
102
102
  category: z.ZodString;
@@ -122,9 +122,9 @@ declare const PreferencesSchemas: {
122
122
  scope: z.ZodString;
123
123
  context: z.ZodOptional<z.ZodString>;
124
124
  viewport: z.ZodOptional<z.ZodEnum<{
125
- mobile: "mobile";
126
125
  desktop: "desktop";
127
126
  tablet: "tablet";
127
+ mobile: "mobile";
128
128
  }>>;
129
129
  }, z.core.$strip>;
130
130
  category: z.ZodString;
@@ -149,9 +149,9 @@ declare const PreferencesSchemas: {
149
149
  scope: z.ZodOptional<z.ZodString>;
150
150
  context: z.ZodOptional<z.ZodOptional<z.ZodString>>;
151
151
  viewport: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
152
- mobile: "mobile";
153
152
  desktop: "desktop";
154
153
  tablet: "tablet";
154
+ mobile: "mobile";
155
155
  }>>>;
156
156
  }, z.core.$strip>>;
157
157
  category: z.ZodOptional<z.ZodString>;
@@ -166,9 +166,9 @@ declare const PreferencesSchemas: {
166
166
  scope: z.ZodString;
167
167
  context: z.ZodOptional<z.ZodString>;
168
168
  viewport: z.ZodOptional<z.ZodEnum<{
169
- mobile: "mobile";
170
169
  desktop: "desktop";
171
170
  tablet: "tablet";
171
+ mobile: "mobile";
172
172
  }>>;
173
173
  }, z.core.$strip>;
174
174
  category: z.ZodString;
@@ -41,6 +41,7 @@ declare abstract class BaseService {
41
41
  protected readonly bus: IMakaioBus;
42
42
  private readonly _cleanups;
43
43
  private _initialized;
44
+ private _serviceLifecycleGeneration;
44
45
  private _initPromise;
45
46
  private _destroyPromise;
46
47
  /**
@@ -72,8 +73,8 @@ declare abstract class BaseService {
72
73
  /**
73
74
  * Destroy the service and unsubscribe all registered handlers.
74
75
  *
75
- * Calls the optional `onDestroy()` hook before running cleanups, then
76
- * resets the initialized flag. Safe to call multiple times (idempotent).
76
+ * Unsubscribes handlers before the optional `onDestroy()` hook, then runs
77
+ * resource cleanups. Safe to call multiple times (idempotent).
77
78
  *
78
79
  * Teardown is best-effort but never silent: a failing `onDestroy()` does not
79
80
  * skip cleanups, and a failing cleanup does not skip the ones after it. Once
@@ -92,12 +93,22 @@ declare abstract class BaseService {
92
93
  /**
93
94
  * Register a bus handler and enqueue its unsubscribe function for teardown.
94
95
  *
95
- * Equivalent to `this._cleanups.push(this.bus.on(subject, handler, options))`.
96
+ * The handler is unsubscribed before an awaitable `onDestroy()` begins.
96
97
  * @param subject - The subject definition to listen on
97
98
  * @param handler - Handler function for the subject
98
99
  * @param options - Optional handler filter and dispatch priority
99
100
  */
100
101
  protected registerHandler<S extends SubjectDefinition>(subject: S, handler: HandlerForSubjectDefinition<S>, options?: OnOptions): void;
102
+ /**
103
+ * Enqueue a bus handler disposer for removal before `onDestroy()` runs.
104
+ *
105
+ * Use this for handler registrations returned by helpers when
106
+ * {@link registerHandler} cannot express their construction. Shutdown and
107
+ * completion protocols that must accept already-admitted work through
108
+ * `onDestroy()` remain resource cleanups.
109
+ * @param cleanup - Bus handler disposer to invoke before `onDestroy()`
110
+ */
111
+ protected addHandlerCleanup(cleanup: () => void): void;
101
112
  /**
102
113
  * Enqueue an arbitrary cleanup function to be called on `destroy()`.
103
114
  *
@@ -105,6 +116,20 @@ declare abstract class BaseService {
105
116
  * @param fn - Function to invoke during teardown
106
117
  */
107
118
  protected addCleanup(fn: () => void | Promise<void>): void;
119
+ /**
120
+ * Current successful service lifecycle generation.
121
+ *
122
+ * Capture this at callback entry and use {@link isCurrentLifecycle} after
123
+ * awaitable work before producing lifecycle-scoped side effects.
124
+ * @returns Monotonic lifecycle generation
125
+ */
126
+ protected get serviceLifecycleGeneration(): number;
127
+ /**
128
+ * Whether a captured lifecycle generation still owns this service.
129
+ * @param generation - Lifecycle generation captured at callback entry
130
+ * @returns `true` while that lifecycle remains active
131
+ */
132
+ protected isCurrentLifecycle(generation: number): boolean;
108
133
  /**
109
134
  * Service initialization hook.
110
135
  *
@@ -116,7 +141,7 @@ declare abstract class BaseService {
116
141
  /**
117
142
  * Optional service teardown hook.
118
143
  *
119
- * Called by `destroy()` before automatic handler unsubscription.
144
+ * Called by `destroy()` after automatic handler unsubscription.
120
145
  * Implement only when there are resources beyond bus handlers to clean up
121
146
  * (e.g., stopping trackers, clearing maps, releasing external handles).
122
147
  *
@@ -126,7 +151,12 @@ declare abstract class BaseService {
126
151
  */
127
152
  protected onDestroy?(): void | Promise<void>;
128
153
  /**
129
- * Run every registered cleanup, collecting rather than raising failures.
154
+ * Unsubscribe every registered bus handler before an async destroy hook runs.
155
+ * @returns Failures thrown by handler disposers, in registration order
156
+ */
157
+ private unregisterHandlers;
158
+ /**
159
+ * Run every remaining resource cleanup, collecting rather than raising failures.
130
160
  *
131
161
  * A cleanup that throws must not prevent the ones registered after it from
132
162
  * running, so failures are returned to the caller, which decides whether to
@@ -1 +1 @@
1
- import{getErrorString as e}from"@makaio/framework/utils";var t=class{bus;_cleanups=[];_initialized=!1;_initPromise=null;_destroyPromise=null;constructor(e){this.bus=e}get initialized(){return this._initialized}async init(){if(this._destroyPromise&&await this._destroyPromise,!this._initialized)return this._initPromise||=(async()=>{try{await this.onInit(),this._initialized=!0}catch(e){for(let e of await this.runCleanups())this.logCleanupError(e);throw this._cleanups.length=0,e}finally{this._initPromise=null}})(),this._initPromise}async destroy(){if(this._destroyPromise)return this._destroyPromise;this._destroyPromise=(async()=>{if(this._initPromise)try{await this._initPromise}catch{return}if(!this._initialized)return;this._initialized=!1;let t=[];try{await this.onDestroy?.()}catch(e){t.push(e)}if(t.push(...await this.runCleanups()),this._cleanups.length=0,t.length>0){let n=t.map(t=>e(t)).join(`; `);throw AggregateError(t,`Service '${this.constructor.name}' failed to tear down cleanly: ${n}`)}})(),await this._destroyPromise,this._destroyPromise=null}registerHandler(e,t,n){this._cleanups.push(this.bus.on(e,t,n))}addCleanup(e){this._cleanups.push(e)}async runCleanups(){let e=[];for(let t of this._cleanups)try{await t()}catch(t){e.push(t)}return e}logCleanupError(e){let t=this;if(t.logger?.error){t.logger.error(`Cleanup failed while unwinding a failed initialization`,e);return}console.error(`Cleanup failed while unwinding a failed initialization`,e)}};export{t as BaseService};
1
+ import{getErrorString as e}from"@makaio/framework/utils";var t=class{bus;_cleanups=[];_initialized=!1;_serviceLifecycleGeneration=0;_initPromise=null;_destroyPromise=null;constructor(e){this.bus=e}get initialized(){return this._initialized}async init(){if(this._destroyPromise&&await this._destroyPromise,!this._initialized)return this._initPromise||=(async()=>{try{await this.onInit(),this._serviceLifecycleGeneration+=1,this._initialized=!0}catch(e){for(let e of await this.runCleanups())this.logCleanupError(e);throw this._cleanups.length=0,e}finally{this._initPromise=null}})(),this._initPromise}async destroy(){if(this._destroyPromise)return this._destroyPromise;this._destroyPromise=(async()=>{if(this._initPromise)try{await this._initPromise}catch{return}if(!this._initialized)return;this._initialized=!1;let t=this.unregisterHandlers();try{await this.onDestroy?.()}catch(e){t.push(e)}if(t.push(...await this.runCleanups()),this._cleanups.length=0,t.length>0){let n=t.map(t=>e(t)).join(`; `);throw AggregateError(t,`Service '${this.constructor.name}' failed to tear down cleanly: ${n}`)}})(),await this._destroyPromise,this._destroyPromise=null}registerHandler(e,t,n){this.addHandlerCleanup(this.bus.on(e,t,n))}addHandlerCleanup(e){this._cleanups.push({cleanup:e,kind:`handler`})}addCleanup(e){this._cleanups.push({cleanup:e,kind:`resource`})}get serviceLifecycleGeneration(){return this._serviceLifecycleGeneration}isCurrentLifecycle(e){return this._initialized&&this._serviceLifecycleGeneration===e}unregisterHandlers(){let e=[],t=[];for(let n of this._cleanups){if(n.kind!==`handler`){t.push(n);continue}try{n.cleanup()}catch(t){e.push(t)}}return this._cleanups.splice(0,this._cleanups.length,...t),e}async runCleanups(){let e=[];for(let t of this._cleanups)try{await t.cleanup()}catch(t){e.push(t)}return e}logCleanupError(e){let t=this;if(t.logger?.error){t.logger.error(`Cleanup failed while unwinding a failed initialization`,e);return}console.error(`Cleanup failed while unwinding a failed initialization`,e)}};export{t as BaseService};
@@ -1,4 +1,4 @@
1
- import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-DiXL8NfA.mjs";
2
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-MW-Eg_yB.mjs";
3
- import { a as ResolveLiveAdapterIdentity, c as resolveDeterministicAdapterId, i as ResolveLiveAdapterId, n as AdapterRuntimeIdentityHandlerOptions, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../../index-DQU8ZoJr.mjs";
1
+ import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-Cb9OJ9va.mjs";
2
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-D6W4Erwp.mjs";
3
+ import { a as ResolveLiveAdapterIdentity, c as resolveDeterministicAdapterId, i as ResolveLiveAdapterId, n as AdapterRuntimeIdentityHandlerOptions, o as buildDeterministicAdapterId, r as RegisteredAdapterRuntimeIdentityHandlers, s as registerAdapterRuntimeIdentityHandlers, t as AdapterIdentityRegistry } from "../../index-BM53WQaQ.mjs";
4
4
  export { AdapterIdentityRegistry, AdapterRuntimeIdentityHandlerOptions, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, RegisteredAdapterRuntimeIdentityHandlers, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveAdapterId, ResolveLiveAdapterIdentity, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema, buildDeterministicAdapterId, registerAdapterRuntimeIdentityHandlers, resolveDeterministicAdapterId };
@@ -1,2 +1,2 @@
1
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-MW-Eg_yB.mjs";
1
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../../namespace-D6W4Erwp.mjs";
2
2
  export { AdapterRuntimeNamespace, AdapterRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-DiXL8NfA.mjs";
1
+ import { _ as ResolveNameResponseSchema, a as GetMachineIdResponseSchema, c as ResolveIdResponse, d as ResolveLiveIdentityRequestSchema, f as ResolveLiveIdentityResponse, g as ResolveNameResponse, h as ResolveNameRequestSchema, i as GetMachineIdResponse, l as ResolveIdResponseSchema, m as ResolveNameRequest, n as GetMachineIdRequest, o as ResolveIdRequest, p as ResolveLiveIdentityResponseSchema, r as GetMachineIdRequestSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveLiveIdentityRequest } from "../../schemas-Cb9OJ9va.mjs";
2
2
  export { AdapterRuntimeSchemas, GetMachineIdRequest, GetMachineIdRequestSchema, GetMachineIdResponse, GetMachineIdResponseSchema, ResolveIdRequest, ResolveIdRequestSchema, ResolveIdResponse, ResolveIdResponseSchema, ResolveLiveIdentityRequest, ResolveLiveIdentityRequestSchema, ResolveLiveIdentityResponse, ResolveLiveIdentityResponseSchema, ResolveNameRequest, ResolveNameRequestSchema, ResolveNameResponse, ResolveNameResponseSchema };
@@ -1,4 +1,4 @@
1
- import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-BLxdGZkr.mjs";
2
- import { a as CreateCanonicalProviderConfigInput, c as AdapterFileConfigSet, i as CanonicalProviderConfigPatchSchema, l as IAdapterConfigRepository, n as CanonicalProviderConfigAuthPayload, o as CreateCanonicalProviderConfigInputPayload, r as CanonicalProviderConfigPatch, s as CreateCanonicalProviderConfigInputSchema, t as CanonicalProviderConfigAuth, u as ProviderConfigFileSet } from "../../index-D7smT-YD.mjs";
3
- import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-zusFEJPh.mjs";
1
+ import { C as ProviderRuntimeSnapshot, S as ProviderConfigFileRecordSchema, T as AdapterSubsystemSchemas, _ as EffectiveAdapter, a as AdapterRuntimePackages, b as ProviderConfigAuthSummarySchema, c as AdapterRuntimeSnapshotErrorCode, d as AdapterRuntimeSnapshotResolutionSchema, f as AdapterRuntimeSnapshotSchema, g as CompatibleAuthOptionSchema, h as CompatibleAuthOption, i as AdapterReadinessSchema, l as AdapterRuntimeSnapshotErrorCodeSchema, m as BindingRecordSchema, n as AdapterFileConfigSchema, o as AdapterRuntimePackagesSchema, p as BindingRecord, r as AdapterReadiness, s as AdapterRuntimeSnapshot, t as AdapterFileConfig, u as AdapterRuntimeSnapshotResolution, v as EffectiveAdapterSchema, w as ProviderRuntimeSnapshotSchema, x as ProviderConfigFileRecord, y as ProviderConfigAuthSummary } from "../../schemas-BzSB9u68.mjs";
2
+ import { a as CreateCanonicalProviderConfigInput, c as AdapterFileConfigSet, i as CanonicalProviderConfigPatchSchema, l as IAdapterConfigRepository, n as CanonicalProviderConfigAuthPayload, o as CreateCanonicalProviderConfigInputPayload, r as CanonicalProviderConfigPatch, s as CreateCanonicalProviderConfigInputSchema, t as CanonicalProviderConfigAuth, u as ProviderConfigFileSet } from "../../index-BleQ0SR7.mjs";
3
+ import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-B1FBjHfn.mjs";
4
4
  export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterFileConfig, AdapterFileConfigSchema, AdapterFileConfigSet, AdapterReadiness, AdapterReadinessSchema, AdapterRuntimePackages, AdapterRuntimePackagesSchema, AdapterRuntimeSnapshot, AdapterRuntimeSnapshotErrorCode, AdapterRuntimeSnapshotErrorCodeSchema, AdapterRuntimeSnapshotResolution, AdapterRuntimeSnapshotResolutionSchema, AdapterRuntimeSnapshotSchema, AdapterSubsystemNamespace, AdapterSubsystemSchemas, AdapterSubsystemSubjects, BindingRecord, BindingRecordSchema, CanonicalProviderConfigAuth, CanonicalProviderConfigAuthPayload, CanonicalProviderConfigPatch, CanonicalProviderConfigPatchSchema, CompatibleAuthOption, CompatibleAuthOptionSchema, CreateCanonicalProviderConfigInput, CreateCanonicalProviderConfigInputPayload, CreateCanonicalProviderConfigInputSchema, EffectiveAdapter, EffectiveAdapterSchema, IAdapterConfigRepository, ProviderConfigAuthSummary, ProviderConfigAuthSummarySchema, ProviderConfigFileRecord, ProviderConfigFileRecordSchema, ProviderConfigFileSet, ProviderRuntimeSnapshot, ProviderRuntimeSnapshotSchema };
@@ -1,2 +1,2 @@
1
- import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-zusFEJPh.mjs";
1
+ import { n as AdapterSubsystemNamespace, r as AdapterSubsystemSubjects, t as ADAPTER_SUBSYSTEM_PACKAGE_NAME } from "../../namespace-B1FBjHfn.mjs";
2
2
  export { ADAPTER_SUBSYSTEM_PACKAGE_NAME, AdapterSubsystemNamespace, AdapterSubsystemSubjects };
@@ -1,3 +1,3 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CD3Mq-jC.mjs";
2
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-D5DkpaaN.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-BOT1HUv6.mjs";
2
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-HLrZerLd.mjs";
3
3
  export { type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-D5DkpaaN.mjs";
1
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../../namespace-HLrZerLd.mjs";
2
2
  export { AgentRuntimeNamespace, AgentRuntimeSubjects };
@@ -1,2 +1,2 @@
1
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-CD3Mq-jC.mjs";
1
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../../schemas-BOT1HUv6.mjs";
2
2
  export { AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeSchemas, AgentRuntimeSelection, AgentRuntimeSelectionSchema };
@@ -1,3 +1,3 @@
1
- import { t as CapabilityService } from "../../capability-service-CUN0MIS7.mjs";
2
- import { n as capabilityPackage, t as CapabilityToken } from "../../index-Jdju2W3y.mjs";
1
+ import { t as CapabilityService } from "../../capability-service-BHcRd1td.mjs";
2
+ import { n as capabilityPackage, t as CapabilityToken } from "../../index-t6LnywuE.mjs";
3
3
  export { CapabilityService, CapabilityToken, capabilityPackage };
@@ -1,2 +1,2 @@
1
- import { a as selectCodeExecutionProvider, c as createEffectiveExecutionSignal, d as CodeExecutionService, i as CodeExecutionSelectionFailureCode, l as CodeExecutionServiceToken, n as CodeExecutionProviderSelected, o as EffectiveExecutionSignal, r as CodeExecutionProviderSelection, s as EffectiveExecutionSignalOptions, t as CodeExecutionProviderRejected, u as codeExecutionPackage } from "../../index-C8two8wz.mjs";
1
+ import { a as selectCodeExecutionProvider, c as createEffectiveExecutionSignal, d as CodeExecutionService, i as CodeExecutionSelectionFailureCode, l as CodeExecutionServiceToken, n as CodeExecutionProviderSelected, o as EffectiveExecutionSignal, r as CodeExecutionProviderSelection, s as EffectiveExecutionSignalOptions, t as CodeExecutionProviderRejected, u as codeExecutionPackage } from "../../index-CdkIg4Gu.mjs";
2
2
  export { CodeExecutionProviderRejected, CodeExecutionProviderSelected, CodeExecutionProviderSelection, CodeExecutionSelectionFailureCode, CodeExecutionService, CodeExecutionServiceToken, EffectiveExecutionSignal, EffectiveExecutionSignalOptions, codeExecutionPackage, createEffectiveExecutionSignal, selectCodeExecutionProvider };
@@ -1,3 +1,3 @@
1
- import { n as CodebaseSubjects, t as CodebaseNamespace } from "../../namespace-DHLwz4o3.mjs";
2
- import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../../schemas-CqawCYTY.mjs";
1
+ import { n as CodebaseSubjects, t as CodebaseNamespace } from "../../namespace-CL9OyrHs.mjs";
2
+ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../../schemas-BGTuiO3u.mjs";
3
3
  export { type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects };
@@ -1,2 +1,2 @@
1
- import { n as CodebaseSubjects, t as CodebaseNamespace } from "../../namespace-DHLwz4o3.mjs";
1
+ import { n as CodebaseSubjects, t as CodebaseNamespace } from "../../namespace-CL9OyrHs.mjs";
2
2
  export { CodebaseNamespace, CodebaseSubjects };
@@ -1,2 +1,2 @@
1
- import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../../schemas-CqawCYTY.mjs";
1
+ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../../schemas-BGTuiO3u.mjs";
2
2
  export { CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseSchemas };
@@ -1,3 +1,3 @@
1
- import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../../schemas-B-5_Dp4_.mjs";
2
- import { n as CompressionSubjects, t as CompressionNamespace } from "../../namespace-Dz5_Hrz7.mjs";
1
+ import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../../schemas-C0Fb2-LN.mjs";
2
+ import { n as CompressionSubjects, t as CompressionNamespace } from "../../namespace-QV_2m25r.mjs";
3
3
  export { type BugEntry, BugEntrySchema, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ExtractedContext, ExtractedContextSchema, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema };
@@ -1,2 +1,2 @@
1
- import { n as CompressionSubjects, t as CompressionNamespace } from "../../namespace-Dz5_Hrz7.mjs";
1
+ import { n as CompressionSubjects, t as CompressionNamespace } from "../../namespace-QV_2m25r.mjs";
2
2
  export { CompressionNamespace, CompressionSubjects };
@@ -1,2 +1,2 @@
1
- import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../../schemas-B-5_Dp4_.mjs";
1
+ import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../../schemas-C0Fb2-LN.mjs";
2
2
  export { BugEntry, BugEntrySchema, CompressRequest, CompressRequestSchema, CompressResponse, CompressResponseSchema, CompressionEvent, CompressionEventSchema, CompressionSchemas, ExtractedContext, ExtractedContextSchema, TechnicalDetails, TechnicalDetailsSchema, TodoEntry, TodoEntrySchema };
@@ -1,4 +1,4 @@
1
- import { _ as ManagedInstructionFileTarget, a as ContextRuleInput, b as TurnContextRuleAction, c as ContextRuleScope, d as ContextSnapshot, f as ContextSnapshotBase, g as MANAGED_INSTRUCTION_FILE_TARGETS, h as FileContextRuleAction, i as ContextRuleCondition, l as ContextRuleScopeFields, m as DEFAULT_CONTEXT_RULE_TURN_CONTEXT_KEY, n as ContextRuleAction, o as ContextRuleListQuery, p as ContextSnapshotExtensions, r as ContextRuleChangedEvent, s as ContextRuleResolutionRequest, t as ContextRule, u as ContextRuleScopeIdentity, v as ResolvedContextRule, y as ResolvedContextRules } from "../../types-DEGuc-fn.mjs";
1
+ import { _ as ManagedInstructionFileTarget, a as ContextRuleInput, b as TurnContextRuleAction, c as ContextRuleScope, d as ContextSnapshot, f as ContextSnapshotBase, g as MANAGED_INSTRUCTION_FILE_TARGETS, h as FileContextRuleAction, i as ContextRuleCondition, l as ContextRuleScopeFields, m as DEFAULT_CONTEXT_RULE_TURN_CONTEXT_KEY, n as ContextRuleAction, o as ContextRuleListQuery, p as ContextSnapshotExtensions, r as ContextRuleChangedEvent, s as ContextRuleResolutionRequest, t as ContextRule, u as ContextRuleScopeIdentity, v as ResolvedContextRule, y as ResolvedContextRules } from "../../types-B_mVEuYd.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -161,8 +161,8 @@ declare const ContextRuleChangedEventSchema: z.ZodObject<{
161
161
  ruleId: z.ZodString;
162
162
  changeType: z.ZodEnum<{
163
163
  updated: "updated";
164
- created: "created";
165
164
  deleted: "deleted";
165
+ created: "created";
166
166
  }>;
167
167
  previous: z.ZodNullable<z.ZodObject<{
168
168
  scope: z.ZodEnum<{
@@ -314,8 +314,8 @@ declare const ContextRulesServiceNamespace: _$_makaio_core0.BusNamespaceDefiniti
314
314
  ruleId: _$zod.ZodString;
315
315
  changeType: _$zod.ZodEnum<{
316
316
  updated: "updated";
317
- created: "created";
318
317
  deleted: "deleted";
318
+ created: "created";
319
319
  }>;
320
320
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
321
321
  scope: _$zod.ZodEnum<{
@@ -384,8 +384,8 @@ declare const ContextRulesServiceSubjects: _$_makaio_core0.BusSubjects<_$_makaio
384
384
  ruleId: _$zod.ZodString;
385
385
  changeType: _$zod.ZodEnum<{
386
386
  updated: "updated";
387
- created: "created";
388
387
  deleted: "deleted";
388
+ created: "created";
389
389
  }>;
390
390
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
391
391
  scope: _$zod.ZodEnum<{
@@ -1,4 +1,4 @@
1
- import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-3KTmPuZg.mjs";
2
- import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-hlhPqSsw.mjs";
3
- import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, M as ContainerSessionRuntimeBindingSchema, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, _ as ContainerConnectorAuthValue, a as DockerSubjects, b as ContainerCreatedSchema, c as ContainerAdapterAuthEnvelopeSchema, d as ContainerBootstrapConfig, f as ContainerBootstrapConfigSchema, g as ContainerConnectorAuthDeliverySchema, h as ContainerConnectorAuthDelivery, i as DockerNamespace, j as ContainerSessionRuntimeBinding, k as ContainerRuntime, l as ContainerAdapterAuthSelector, m as ContainerBootstrapSpawnRequestSchema, n as ContainerSpawnSubjects, o as CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, p as ContainerBootstrapSpawnRequest, q as StatusResponseSchema, r as CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, s as ContainerAdapterAuthEnvelope, t as ContainerSpawnNamespace, u as ContainerAdapterAuthSelectorSchema, v as ContainerConnectorAuthValueSchema, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as CredentialFreeGitRemoteSchema } from "../../index-CpN2C9jq.mjs";
1
+ import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-BXkSHQaF.mjs";
2
+ import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-CHSwZhH7.mjs";
3
+ import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, M as ContainerSessionRuntimeBindingSchema, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, _ as ContainerConnectorAuthValue, a as DockerSubjects, b as ContainerCreatedSchema, c as ContainerAdapterAuthEnvelopeSchema, d as ContainerBootstrapConfig, f as ContainerBootstrapConfigSchema, g as ContainerConnectorAuthDeliverySchema, h as ContainerConnectorAuthDelivery, i as DockerNamespace, j as ContainerSessionRuntimeBinding, k as ContainerRuntime, l as ContainerAdapterAuthSelector, m as ContainerBootstrapSpawnRequestSchema, n as ContainerSpawnSubjects, o as CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, p as ContainerBootstrapSpawnRequest, q as StatusResponseSchema, r as CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, s as ContainerAdapterAuthEnvelope, t as ContainerSpawnNamespace, u as ContainerAdapterAuthSelectorSchema, v as ContainerConnectorAuthValueSchema, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as CredentialFreeGitRemoteSchema } from "../../index-BOxMyaqG.mjs";
4
4
  export { CONTAINER_BOOTSTRAP_CHANNEL_ENDPOINT, CONTAINER_BOOTSTRAP_PRIVATE_ENV_VARS, ContainerAdapterAuthEnvelope, ContainerAdapterAuthEnvelopeSchema, ContainerAdapterAuthSelector, ContainerAdapterAuthSelectorSchema, ContainerBootstrapConfig, ContainerBootstrapConfigSchema, ContainerBootstrapSpawnRequest, ContainerBootstrapSpawnRequestSchema, ContainerConnectorAuthDelivery, ContainerConnectorAuthDeliverySchema, ContainerConnectorAuthValue, ContainerConnectorAuthValueSchema, ContainerCreated, ContainerCreatedSchema, ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, ContainerLocalWorkflowSpawnRequest, ContainerLocalWorkflowSpawnRequestSchema, ContainerRuntime, ContainerRuntimeSchema, ContainerSessionRuntimeBinding, ContainerSessionRuntimeBindingSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, ContainerStarted, ContainerStartedSchema, ContainerState, ContainerStateSchema, ContainerStopped, ContainerStoppedSchema, CredentialFreeGitRemoteSchema, DockerNamespace, DockerSubjects, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema, SpawnRequest, SpawnRequestSchema, SpawnResponse, SpawnResponseSchema, StatusRequest, StatusRequestSchema, StatusResponse, StatusResponseSchema, StopRequest, StopRequestSchema, StopResponse, StopResponseSchema };
@@ -1,2 +1,2 @@
1
- import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-hlhPqSsw.mjs";
1
+ import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../../namespace-CHSwZhH7.mjs";
2
2
  export { ExecutionTargetNamespace, ExecutionTargetSubjects };
@@ -1,2 +1,2 @@
1
- import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-3KTmPuZg.mjs";
1
+ import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../../schemas-BXkSHQaF.mjs";
2
2
  export { ContainerIsolatedExecutionTargetSchema, ContainerLocalExecutionTargetSchema, ExecutionTarget, ExecutionTargetInput, ExecutionTargetInputSchema, ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetType, ExecutionTargetTypeSchema, LocalExecutionTargetSchema };
@@ -1,3 +1,3 @@
1
- import { t as FileSystemService } from "../../filesystem-service-BmavE-uO.mjs";
1
+ import { t as FileSystemService } from "../../filesystem-service-5Ecp3nSV.mjs";
2
2
  import { FileSystemSubjects, FsNamespace, FsSubjects } from "./namespace.mjs";
3
3
  export { FileSystemService, FileSystemSubjects, FsNamespace, FsSubjects };
@@ -1 +1 @@
1
- import{FileSystemSubjects as e,FsNamespace as t,FsSubjects as n}from"./namespace.mjs";import{t as r}from"../../filesystem-service-ClZEAw7E.mjs";export{r as FileSystemService,e as FileSystemSubjects,t as FsNamespace,n as FsSubjects};
1
+ import{FileSystemSubjects as e,FsNamespace as t,FsSubjects as n}from"./namespace.mjs";import{t as r}from"../../filesystem-service-CIaAqTRi.mjs";export{r as FileSystemService,e as FileSystemSubjects,t as FsNamespace,n as FsSubjects};
@@ -11,8 +11,8 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
11
11
  path: _$zod.ZodString;
12
12
  kind: _$zod.ZodEnum<{
13
13
  change: "change";
14
- create: "create";
15
14
  delete: "delete";
15
+ create: "create";
16
16
  }>;
17
17
  }, _$zod_v4_core0.$strip>;
18
18
  batch: _$zod.ZodObject<{
@@ -20,8 +20,8 @@ declare const FsNamespace: _$_makaio_core0.BusNamespaceDefinition<"fs", {
20
20
  path: _$zod.ZodString;
21
21
  kind: _$zod.ZodEnum<{
22
22
  change: "change";
23
- create: "create";
24
23
  delete: "delete";
24
+ create: "create";
25
25
  }>;
26
26
  }, _$zod_v4_core0.$strip>>;
27
27
  }, _$zod_v4_core0.$strip>;
@@ -154,8 +154,8 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
154
154
  path: _$zod.ZodString;
155
155
  kind: _$zod.ZodEnum<{
156
156
  change: "change";
157
- create: "create";
158
157
  delete: "delete";
158
+ create: "create";
159
159
  }>;
160
160
  }, _$zod_v4_core0.$strip>;
161
161
  batch: _$zod.ZodObject<{
@@ -163,8 +163,8 @@ declare const FsSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjec
163
163
  path: _$zod.ZodString;
164
164
  kind: _$zod.ZodEnum<{
165
165
  change: "change";
166
- create: "create";
167
166
  delete: "delete";
167
+ create: "create";
168
168
  }>;
169
169
  }, _$zod_v4_core0.$strip>>;
170
170
  }, _$zod_v4_core0.$strip>;
@@ -295,8 +295,8 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
295
295
  path: _$zod.ZodString;
296
296
  kind: _$zod.ZodEnum<{
297
297
  change: "change";
298
- create: "create";
299
298
  delete: "delete";
299
+ create: "create";
300
300
  }>;
301
301
  }, _$zod_v4_core0.$strip>;
302
302
  batch: _$zod.ZodObject<{
@@ -304,8 +304,8 @@ declare const FileSystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fl
304
304
  path: _$zod.ZodString;
305
305
  kind: _$zod.ZodEnum<{
306
306
  change: "change";
307
- create: "create";
308
307
  delete: "delete";
308
+ create: "create";
309
309
  }>;
310
310
  }, _$zod_v4_core0.$strip>>;
311
311
  }, _$zod_v4_core0.$strip>;
@@ -6,8 +6,8 @@ import { z } from "zod";
6
6
  */
7
7
  declare const FsChangeKindSchema: z.ZodEnum<{
8
8
  change: "change";
9
- create: "create";
10
9
  delete: "delete";
10
+ create: "create";
11
11
  }>;
12
12
  type FsChangeKind = z.infer<typeof FsChangeKindSchema>;
13
13
  /**
@@ -17,8 +17,8 @@ declare const FsChangedSchema: z.ZodObject<{
17
17
  path: z.ZodString;
18
18
  kind: z.ZodEnum<{
19
19
  change: "change";
20
- create: "create";
21
20
  delete: "delete";
21
+ create: "create";
22
22
  }>;
23
23
  }, z.core.$strip>;
24
24
  type FsChanged = z.infer<typeof FsChangedSchema>;
@@ -30,8 +30,8 @@ declare const FsBatchSchema: z.ZodObject<{
30
30
  path: z.ZodString;
31
31
  kind: z.ZodEnum<{
32
32
  change: "change";
33
- create: "create";
34
33
  delete: "delete";
34
+ create: "create";
35
35
  }>;
36
36
  }, z.core.$strip>>;
37
37
  }, z.core.$strip>;
@@ -429,8 +429,8 @@ declare const GitNamespace: _$_makaio_core0.BusNamespaceDefinition<"git", {
429
429
  repoPath: _$zod.ZodOptional<_$zod.ZodString>;
430
430
  source: _$zod.ZodString;
431
431
  approach: _$zod.ZodOptional<_$zod.ZodEnum<{
432
- merge: "merge";
433
432
  squash: "squash";
433
+ merge: "merge";
434
434
  "fast-forward-only": "fast-forward-only";
435
435
  }>>;
436
436
  message: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1016,8 +1016,8 @@ declare const GitSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubje
1016
1016
  repoPath: _$zod.ZodOptional<_$zod.ZodString>;
1017
1017
  source: _$zod.ZodString;
1018
1018
  approach: _$zod.ZodOptional<_$zod.ZodEnum<{
1019
- merge: "merge";
1020
1019
  squash: "squash";
1020
+ merge: "merge";
1021
1021
  "fast-forward-only": "fast-forward-only";
1022
1022
  }>>;
1023
1023
  message: _$zod.ZodOptional<_$zod.ZodString>;
@@ -552,8 +552,8 @@ type GitCreateCommitResponse = z.infer<typeof GitCreateCommitResponseSchema>;
552
552
  * - 'fast-forward-only': Only allow fast-forward merges
553
553
  */
554
554
  declare const GitMergeApproachSchema: z.ZodEnum<{
555
- merge: "merge";
556
555
  squash: "squash";
556
+ merge: "merge";
557
557
  "fast-forward-only": "fast-forward-only";
558
558
  }>;
559
559
  type GitMergeApproach = z.infer<typeof GitMergeApproachSchema>;
@@ -562,8 +562,8 @@ declare const GitMergeRequestSchema: z.ZodObject<{
562
562
  repoPath: z.ZodOptional<z.ZodString>;
563
563
  source: z.ZodString;
564
564
  approach: z.ZodOptional<z.ZodEnum<{
565
- merge: "merge";
566
565
  squash: "squash";
566
+ merge: "merge";
567
567
  "fast-forward-only": "fast-forward-only";
568
568
  }>>;
569
569
  message: z.ZodOptional<z.ZodString>;