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

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 (280) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/claude/index.d.mts +24 -24
  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/artifact--nbPrvm5.mjs +1 -0
  7. package/dist/attempt-control-evidence-BKw1U3wL.mjs +1 -0
  8. package/dist/bus/index.mjs +1 -1
  9. package/dist/clients/index.d.mts +1 -1
  10. package/dist/clients/managed-install.d.mts +1 -1
  11. package/dist/code-execution/worker-entry.d.mts +1 -1
  12. package/dist/contracts/adapter/index.d.mts +2 -2
  13. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  14. package/dist/contracts/artifact/index.d.mts +3 -3
  15. package/dist/contracts/artifact/index.mjs +1 -1
  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 +1 -1
  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 +301 -75
  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 +1 -1
  33. package/dist/contracts/platform/index.d.mts +1 -1
  34. package/dist/contracts/provider/index.d.mts +2 -2
  35. package/dist/contracts/reaction/index.d.mts +1 -1
  36. package/dist/contracts/session/index.d.mts +2 -2
  37. package/dist/contracts/shared/index.d.mts +2 -2
  38. package/dist/contracts/skill/index.d.mts +1 -1
  39. package/dist/contracts/telemetry/index.d.mts +1 -1
  40. package/dist/contracts/timeout/index.d.mts +1 -1
  41. package/dist/contracts/variant/index.d.mts +1 -1
  42. package/dist/contracts/worker/index.d.mts +2 -2
  43. package/dist/contracts/worker/index.mjs +1 -1
  44. package/dist/contracts/workflow/index.d.mts +2 -2
  45. package/dist/contracts/workflow/index.mjs +1 -1
  46. package/dist/{contribution-BfEEQ8YZ.d.mts → contribution-CejwVIb3.d.mts} +2 -2
  47. package/dist/{definition-6d5JBi55.d.mts → definition-DSOXLpQj.d.mts} +1 -1
  48. package/dist/{detached-extension-handle-BJnk3WEh.mjs → detached-extension-handle-BNvRSUVO.mjs} +1 -1
  49. package/dist/{execution-attempt-repository-DSpz2kyW.d.mts → execution-attempt-repository-BoNwNybg.d.mts} +85 -3
  50. package/dist/{extension-context-Cpf_n5FH.d.mts → extension-context-SrQpa_kp.d.mts} +3 -3
  51. package/dist/{hook-responses-CpEfxEmG.d.mts → hook-responses-E1gipXIp.d.mts} +1 -1
  52. package/dist/{index-BxJRljy-.d.mts → index-0_Ao0hwU.d.mts} +236 -101
  53. package/dist/{index-C75h1xHF2.d.mts → index-6BDbhx3A2.d.mts} +1 -1
  54. package/dist/{index-hm8NV4CJ2.d.mts → index-B7VWSBm72.d.mts} +4 -4
  55. package/dist/{index-BTluq4-E.d.mts → index-B94tZHiU.d.mts} +6295 -3178
  56. package/dist/{index-Dzozmb5u.d.mts → index-BFchykav.d.mts} +3 -3
  57. package/dist/{index-Dckvm0Ml2.d.mts → index-BN0qpem12.d.mts} +16 -16
  58. package/dist/{index-CVh7ZP2I.d.mts → index-BN2_TMtX.d.mts} +6 -6
  59. package/dist/{index-CilWtThn.d.mts → index-BPrpnLRQ.d.mts} +4 -4
  60. package/dist/{index-BfwHYuRf.d.mts → index-BTwMms1p.d.mts} +1 -1
  61. package/dist/{index-Bj2JCo9V.d.mts → index-BXair-QK.d.mts} +1 -1
  62. package/dist/{index-DR308wUB2.d.mts → index-BeLI73yw2.d.mts} +3 -3
  63. package/dist/{index-CRM23ToM2.d.mts → index-BncQwKi-2.d.mts} +39 -39
  64. package/dist/{index-BlHq_Ksb.d.mts → index-CLmjrH8K.d.mts} +2 -2
  65. package/dist/{index-BM-FPWjs2.d.mts → index-CTNGL-cq2.d.mts} +1 -1
  66. package/dist/{index-D7IZQNhD.d.mts → index-CgYGg-Ne2.d.mts} +2 -2
  67. package/dist/{index-DY_0TRvM.d.mts → index-Cp9olTr7.d.mts} +8 -8
  68. package/dist/{index-CCNCo440.d.mts → index-D1rYHYPO.d.mts} +16 -16
  69. package/dist/{index-DvoitgXV.d.mts → index-DKq33gti.d.mts} +22 -22
  70. package/dist/{index-Bn6sN1op.d.mts → index-DUH2eTyC.d.mts} +1 -1
  71. package/dist/{index-C742b1FV.d.mts → index-DUdGqxHD.d.mts} +1 -1
  72. package/dist/{index-BfzuauBt2.d.mts → index-DWlmiprx2.d.mts} +1 -1
  73. package/dist/{index-6kg8YFYt.d.mts → index-DnZksNTM.d.mts} +1 -1
  74. package/dist/{index-B3G-Hzwn.d.mts → index-Dp3UZQv_.d.mts} +1 -1
  75. package/dist/{index-CjMMvZch.d.mts → index-DxUstDMY.d.mts} +1 -1
  76. package/dist/{index-GTCM4lXx.d.mts → index-MKNhvbfG.d.mts} +4 -4
  77. package/dist/{index-CDhbUjUH.d.mts → index-OLGGmjgd.d.mts} +1 -1
  78. package/dist/{index-Bzxs2nVR.d.mts → index-yapYXeah.d.mts} +8 -8
  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 +1 -1
  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/{lib-BmXBuE-w.mjs → lib-B1Mvm4hQ.mjs} +1 -1
  88. package/dist/{lib-R-c_q77C.mjs → lib-D1-cvcTz.mjs} +1 -1
  89. package/dist/{load-extensions-Bu10B5B1.d.mts → load-extensions-D6SVKBPw.d.mts} +1 -1
  90. package/dist/{load-extensions-s4YmICgn.mjs → load-extensions-bwisKaW0.mjs} +1 -1
  91. package/dist/{namespace-CY-9Evdf.d.mts → namespace-BYBMtQUy.d.mts} +4 -4
  92. package/dist/{namespace-btfJrUf6.d.mts → namespace-CYYFqmtJ.d.mts} +6 -6
  93. package/dist/{namespace-fEBskugJ.d.mts → namespace-CZJQrexB.d.mts} +18 -18
  94. package/dist/{namespace-CfA0C0JR.d.mts → namespace-CfNNUjVv.d.mts} +2 -2
  95. package/dist/{namespace-B0_Sg-1m.d.mts → namespace-CjFT0wBT.d.mts} +2 -2
  96. package/dist/{namespace-Dmbm2JzV.d.mts → namespace-l1Rcc4mp.d.mts} +2 -2
  97. package/dist/node/bus-server/index.d.mts +1 -1
  98. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  99. package/dist/{package-BaTrCWZl.d.mts → package-CnR_tOsW.d.mts} +21 -3
  100. package/dist/package-tvzH3A0x.mjs +7 -0
  101. package/dist/package.json +1 -1
  102. package/dist/rules/index.d.mts +1 -1
  103. package/dist/rules/schemas.d.mts +1 -1
  104. package/dist/runtime-bun/index.mjs +1 -1
  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 +2 -2
  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-yXs929kr.d.mts → schemas-Ct0tTtkV.d.mts} +11 -11
  114. package/dist/{schemas-CQe4xCRn.d.mts → schemas-D6JvwH-h.d.mts} +2 -2
  115. package/dist/{schemas-Cz7H2f7S.d.mts → schemas-DChhgfU0.d.mts} +7 -7
  116. package/dist/{schemas-CSeLgroC.d.mts → schemas-DNUfTOJ0.d.mts} +1 -1
  117. package/dist/{schemas-bcDK-fK3.d.mts → schemas-mTWvDwx9.d.mts} +8 -8
  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/namespace.d.mts +6 -6
  140. package/dist/services/filesystem/schemas.d.mts +3 -3
  141. package/dist/services/harness/index.d.mts +3 -3
  142. package/dist/services/index.d.mts +57 -57
  143. package/dist/services/log-import/browser.d.mts +2 -2
  144. package/dist/services/log-import/index.d.mts +2 -2
  145. package/dist/services/log-import/log-import.d.mts +1 -1
  146. package/dist/services/log-import/namespace.d.mts +2 -2
  147. package/dist/services/log-import/schemas.d.mts +1 -1
  148. package/dist/services/materialization/index.d.mts +1 -1
  149. package/dist/services/model-registry/index.d.mts +1 -1
  150. package/dist/services/preferences/index.d.mts +2 -2
  151. package/dist/services/preferences/schemas.d.mts +1 -1
  152. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  153. package/dist/services/provider-context/index.d.mts +1 -1
  154. package/dist/services/session/handlers/index.d.mts +1 -1
  155. package/dist/services/session/index.d.mts +9 -9
  156. package/dist/services/session/messages/namespace.d.mts +1 -1
  157. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  158. package/dist/services/session/session-events/namespace.d.mts +1 -1
  159. package/dist/services/session/storage/namespace.d.mts +1 -1
  160. package/dist/services/session/storage/schema.d.mts +1 -1
  161. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  162. package/dist/services/session/turns/namespace.d.mts +1 -1
  163. package/dist/services/session-editor/index.d.mts +1 -1
  164. package/dist/services/settings/index.d.mts +3 -3
  165. package/dist/services/settings/namespace.d.mts +8 -8
  166. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  167. package/dist/services/settings/storage/index.d.mts +3 -3
  168. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  169. package/dist/services/subagent/index.d.mts +1 -1
  170. package/dist/services/subagent-template/index.d.mts +2 -2
  171. package/dist/services/subagent-template/namespace.d.mts +1 -1
  172. package/dist/services/subagent-template/schemas.d.mts +1 -1
  173. package/dist/services/tool-approval/index.d.mts +1 -1
  174. package/dist/services/tools/index.d.mts +1 -1
  175. package/dist/services/tray-menu/index.d.mts +3 -3
  176. package/dist/services/tray-menu/namespace.d.mts +1 -1
  177. package/dist/services/tray-menu/schemas.d.mts +1 -1
  178. package/dist/services/turn/index.d.mts +1 -1
  179. package/dist/services/turn/namespace.d.mts +1 -1
  180. package/dist/services/workflow-transitions/index.d.mts +1 -1
  181. package/dist/{session-lineage-CEyJWg_J.d.mts → session-lineage-9_qwkjUq.d.mts} +1 -1
  182. package/dist/{src-CmLn6zYj.mjs → src-BZdlyUxT.mjs} +1 -1
  183. package/dist/storage/drizzle/client.d.mts +1 -1
  184. package/dist/storage/drizzle/index.d.mts +1 -1
  185. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  186. package/dist/storage/handlers/index.d.mts +1 -1
  187. package/dist/{transition-bYkXnLY2.d.mts → transition-DNi6L7i2.d.mts} +2 -2
  188. package/dist/{types-Bnc-pdB12.d.mts → types-BeAxyCuU2.d.mts} +1 -1
  189. package/dist/{types-BNKqcHfP.d.mts → types-DXobLxrf.d.mts} +18 -18
  190. package/dist/ui-kernel/index.d.mts +1 -1
  191. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  192. package/dist/{view-builder-CA5qUx85.d.mts → view-builder-B5gP9RnN.d.mts} +1 -1
  193. package/dist/worker-Cmme3rMM.mjs +1 -0
  194. package/dist/{workflow-5yHn_Knq.mjs → workflow-DNks09Ip.mjs} +1 -1
  195. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  196. package/dist/workflow-engine/index.d.mts +89 -51
  197. package/dist/workflow-engine/index.mjs +1 -1
  198. package/dist/workflow-engine/package.d.mts +1 -1
  199. package/dist/workflow-engine/package.mjs +1 -1
  200. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  201. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  202. package/dist/workflow-engine/testing/conformance.mjs +2 -2
  203. package/dist/workflow-engine/testing/index.d.mts +3 -1
  204. package/dist/workflow-engine/testing/index.mjs +1 -1
  205. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  206. package/dist/workflow-engine/testing/sqlite.mjs +50 -33
  207. package/package.json +1 -1
  208. package/dist/artifact-Cxm5ZX7L.mjs +0 -1
  209. package/dist/package-BT94BLu4.mjs +0 -7
  210. package/dist/worker-Cx1JDOB9.mjs +0 -1
  211. package/dist/{adapter-binding-DhANVB-O.d.mts → adapter-binding-CTssGlH_.d.mts} +0 -0
  212. package/dist/{attempt-fixtures-CMx-2OlG.mjs → attempt-fixtures-B8FSy_vs.mjs} +0 -0
  213. package/dist/{attempt-record-codec-D2Gb_epJ.mjs → attempt-record-codec-BrungudT.mjs} +0 -0
  214. package/dist/{base-orchestrator-tAgnJAKu.d.mts → base-orchestrator-C5Z9Aowq.d.mts} +0 -0
  215. package/dist/{capability-service-Cpkonrc0.d.mts → capability-service-DX3wLjdt.d.mts} +0 -0
  216. package/dist/{client-At2zn3yg.d.mts → client-BsXMxeCN.d.mts} +0 -0
  217. package/dist/{client-binary-version-verifier-EOj8xXqm.d.mts → client-binary-version-verifier-uMFQoKZj.d.mts} +0 -0
  218. package/dist/{clients-namespace-CVRwXq8f.d.mts → clients-namespace-1hXA6qNd.d.mts} +0 -0
  219. package/dist/{config-namespace-D7GbrasR.d.mts → config-namespace-Bpq9WOY4.d.mts} +0 -0
  220. package/dist/{create-static-mount-BIH26VH8.mjs → create-static-mount-Cr24q94C.mjs} +0 -0
  221. package/dist/{definition-VK1rERAp.d.mts → definition-Ckt_WmJw.d.mts} +0 -0
  222. package/dist/{extension-discovery-B0ZL076T.d.mts → extension-discovery-Dx118u_N.d.mts} +0 -0
  223. package/dist/{filesystem-service-BWoNtujU.d.mts → filesystem-service-DtApanQk.d.mts} +0 -0
  224. package/dist/{index-Bk0Xjk-B.d.mts → index-1AKlC3kZ.d.mts} +0 -0
  225. package/dist/{index-CDA33y5A.d.mts → index-5KVPGsig.d.mts} +0 -0
  226. package/dist/{index-8a41yDOl.d.mts → index-B4lidHiL.d.mts} +0 -0
  227. package/dist/{index-DzHc6hsJ.d.mts → index-Bw7benCh.d.mts} +0 -0
  228. package/dist/{index-DXSVC0bM.d.mts → index-C0zo4Id_.d.mts} +0 -0
  229. package/dist/{index-BL1F1xYB.d.mts → index-C3n8beRR.d.mts} +0 -0
  230. package/dist/{index-BBkJsViX2.d.mts → index-C4DMSFLE2.d.mts} +6 -6
  231. /package/dist/{index-C8oBOTl_.d.mts → index-C86rKLPD.d.mts} +0 -0
  232. /package/dist/{index-BIlFSGnW.d.mts → index-CIl66QhT.d.mts} +0 -0
  233. /package/dist/{index-D4XNkbM4.d.mts → index-CUcEfh31.d.mts} +0 -0
  234. /package/dist/{index-DwY1Mt9a.d.mts → index-CrDp6vHG.d.mts} +0 -0
  235. /package/dist/{index-DCfYa3cF.d.mts → index-CzKJC3Bt.d.mts} +0 -0
  236. /package/dist/{index-Ccaqmi0J.d.mts → index-DK8lSIvY.d.mts} +0 -0
  237. /package/dist/{index-Du-eXjEN.d.mts → index-DLsopffG.d.mts} +0 -0
  238. /package/dist/{index-BcPO9w0j.d.mts → index-DNN9jOVO.d.mts} +0 -0
  239. /package/dist/{index-krTCFThl2.d.mts → index-DSRxn5Zr2.d.mts} +0 -0
  240. /package/dist/{index-CSJOBx3H.d.mts → index-Dfv9hyZE.d.mts} +0 -0
  241. /package/dist/{index-BpsurXEW.d.mts → index-DqS8eCAT.d.mts} +0 -0
  242. /package/dist/{index-CjazerMN.d.mts → index-Dv5aNxoa.d.mts} +0 -0
  243. /package/dist/{index-CWeWBh-_.d.mts → index-DxxORQny.d.mts} +0 -0
  244. /package/dist/{index-BTHdi23O.d.mts → index-DyBuGOvY.d.mts} +0 -0
  245. /package/dist/{index-DwKPj8jD.d.mts → index-lLuIAmRB.d.mts} +0 -0
  246. /package/dist/{index-Bn1JTbn_2.d.mts → index-qLkIGcgv2.d.mts} +0 -0
  247. /package/dist/{index-DCHdW5g-.d.mts → index-tCFckLG6.d.mts} +0 -0
  248. /package/dist/{json-value-BKUDMT7k.d.mts → json-value-Bjl8jzom.d.mts} +0 -0
  249. /package/dist/{jsonl-transport-3yp3clGp.mjs → jsonl-transport-D4ch0vsf.mjs} +0 -0
  250. /package/dist/{lib-DF6sgNx_.mjs → lib-BLdnqIFF.mjs} +0 -0
  251. /package/dist/{namespace-BHb_9sh4.d.mts → namespace-BHkEHrUG.d.mts} +0 -0
  252. /package/dist/{namespace-KTRWfIPy.d.mts → namespace-Bivbsfms.d.mts} +0 -0
  253. /package/dist/{namespace-BiEV44Mk.d.mts → namespace-C-4xI2rm.d.mts} +0 -0
  254. /package/dist/{namespace-BNNFD-ul.d.mts → namespace-CvCk6Y9i.d.mts} +0 -0
  255. /package/dist/{namespace-BgaVgd00.d.mts → namespace-DXrdGpbs.d.mts} +0 -0
  256. /package/dist/{namespace-B3MnuAqp.d.mts → namespace-Dwf7aOLt.d.mts} +0 -0
  257. /package/dist/{namespace-Czr38fiF.d.mts → namespace-E4ajXk0W.d.mts} +0 -0
  258. /package/dist/{namespace-CjmNxtr1.d.mts → namespace-XUB3XnBK.d.mts} +0 -0
  259. /package/dist/{orchestrator-shared-Cwc6JKkV.d.mts → orchestrator-shared-D2I9gyOl.d.mts} +0 -0
  260. /package/dist/{packages-DTz_1dCa.d.mts → packages-Dj9Nul23.d.mts} +0 -0
  261. /package/dist/{providers-namespace-Bming6U8.d.mts → providers-namespace-BA0JT--_.d.mts} +0 -0
  262. /package/dist/{runtime-inputs-DeOea-ab.d.mts → runtime-inputs-CIYLDuBM.d.mts} +0 -0
  263. /package/dist/{schema-DFCBjTB7.d.mts → schema-B098Jz9p.d.mts} +0 -0
  264. /package/dist/{schemas-DqWwz4eR.d.mts → schemas-ADuQFkhH.d.mts} +0 -0
  265. /package/dist/{schemas-BLy33xay.d.mts → schemas-BZyi7v9g.d.mts} +0 -0
  266. /package/dist/{schemas-DYIVJDlx.d.mts → schemas-COQUToGQ.d.mts} +0 -0
  267. /package/dist/{schemas-DwqibWUL.d.mts → schemas-DKy_XYjq.d.mts} +0 -0
  268. /package/dist/{schemas-DTBWnWjN.d.mts → schemas-DMxM4U1A.d.mts} +0 -0
  269. /package/dist/{schemas-GyKYcV-Z2.d.mts → schemas-DNvDh0eE2.d.mts} +0 -0
  270. /package/dist/{schemas-BkCqhK3X.d.mts → schemas-DYtUc2WA.d.mts} +0 -0
  271. /package/dist/{server-lifecycle-_m_x1_TC.d.mts → server-lifecycle-B8UabaW3.d.mts} +0 -0
  272. /package/dist/{src-DdaPoQOD.mjs → src-D9PYcdDS.mjs} +0 -0
  273. /package/dist/{storage-namespace-zRXWqAfO.d.mts → storage-namespace-DITavhRL.d.mts} +0 -0
  274. /package/dist/{storage-namespace-definition-CsaZPU3n.d.mts → storage-namespace-definition-1uCuoHvM.d.mts} +0 -0
  275. /package/dist/{types-CccTiXH2.d.mts → types-BlaguWul.d.mts} +0 -0
  276. /package/dist/{types-nor1SQLZ.d.mts → types-CbXf822E.d.mts} +0 -0
  277. /package/dist/{types-DjxvRcX6.d.mts → types-KF8zuMhi.d.mts} +0 -0
  278. /package/dist/{types-Dswhi1L9.d.mts → types-RWRXplnM.d.mts} +0 -0
  279. /package/dist/{types-DXGVwrQn.d.mts → types-nY8yr3th.d.mts} +0 -0
  280. /package/dist/{window-registry-DQ7udUzI.d.mts → window-registry-Dq5uOWpH.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- import { D as ClientDefinitionInput, E as ClientDefinition } from "./hook-responses-CpEfxEmG.mjs";
1
+ import { D as ClientDefinitionInput, E as ClientDefinition } from "./hook-responses-E1gipXIp.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -89,9 +89,9 @@ declare const ClientSchemas: {
89
89
  baseConfigDir: z.ZodOptional<z.ZodString>;
90
90
  projectDir: z.ZodOptional<z.ZodString>;
91
91
  configInheritance: z.ZodOptional<z.ZodEnum<{
92
- empty: "empty";
93
92
  "auth-only": "auth-only";
94
93
  full: "full";
94
+ empty: "empty";
95
95
  }>>;
96
96
  }, z.core.$strip>;
97
97
  response: z.ZodObject<{
@@ -222,8 +222,8 @@ declare const ClientSchemas: {
222
222
  clientId: z.ZodString;
223
223
  source: z.ZodObject<{
224
224
  layer: z.ZodEnum<{
225
- adapter: "adapter";
226
225
  supervisor: "supervisor";
226
+ adapter: "adapter";
227
227
  "client-hook": "client-hook";
228
228
  statusline: "statusline";
229
229
  "cli-wrapper": "cli-wrapper";
@@ -263,8 +263,8 @@ declare const ClientSchemas: {
263
263
  }>;
264
264
  source: z.ZodObject<{
265
265
  layer: z.ZodEnum<{
266
- adapter: "adapter";
267
266
  supervisor: "supervisor";
267
+ adapter: "adapter";
268
268
  "client-hook": "client-hook";
269
269
  statusline: "statusline";
270
270
  "cli-wrapper": "cli-wrapper";
@@ -506,9 +506,9 @@ declare const ClientSchemas: {
506
506
  cwd: z.ZodOptional<z.ZodString>;
507
507
  machineId: z.ZodOptional<z.ZodString>;
508
508
  startMode: z.ZodOptional<z.ZodEnum<{
509
- fork: "fork";
510
509
  fresh: "fresh";
511
510
  resume: "resume";
511
+ fork: "fork";
512
512
  clear: "clear";
513
513
  compact: "compact";
514
514
  }>>;
@@ -1264,8 +1264,8 @@ type ClientVersionChanged = z.infer<typeof ClientVersionChangedSchema>;
1264
1264
  * - `'cli-wrapper'` — a thin CLI shim wrapping the client binary reported the signal
1265
1265
  */
1266
1266
  declare const ClientRuntimeSourceLayerSchema: z.ZodEnum<{
1267
- adapter: "adapter";
1268
1267
  supervisor: "supervisor";
1268
+ adapter: "adapter";
1269
1269
  "client-hook": "client-hook";
1270
1270
  statusline: "statusline";
1271
1271
  "cli-wrapper": "cli-wrapper";
@@ -1279,8 +1279,8 @@ type ClientRuntimeSourceLayer = z.infer<typeof ClientRuntimeSourceLayerSchema>;
1279
1279
  */
1280
1280
  declare const ClientRuntimeSourceSchema: z.ZodObject<{
1281
1281
  layer: z.ZodEnum<{
1282
- adapter: "adapter";
1283
1282
  supervisor: "supervisor";
1283
+ adapter: "adapter";
1284
1284
  "client-hook": "client-hook";
1285
1285
  statusline: "statusline";
1286
1286
  "cli-wrapper": "cli-wrapper";
@@ -1334,8 +1334,8 @@ declare const ClientRuntimeObserveSchema: {
1334
1334
  clientId: z.ZodString;
1335
1335
  source: z.ZodObject<{
1336
1336
  layer: z.ZodEnum<{
1337
- adapter: "adapter";
1338
1337
  supervisor: "supervisor";
1338
+ adapter: "adapter";
1339
1339
  "client-hook": "client-hook";
1340
1340
  statusline: "statusline";
1341
1341
  "cli-wrapper": "cli-wrapper";
@@ -1387,8 +1387,8 @@ declare const ClientRuntimeStartedSchema: z.ZodObject<{
1387
1387
  }>;
1388
1388
  source: z.ZodObject<{
1389
1389
  layer: z.ZodEnum<{
1390
- adapter: "adapter";
1391
1390
  supervisor: "supervisor";
1391
+ adapter: "adapter";
1392
1392
  "client-hook": "client-hook";
1393
1393
  statusline: "statusline";
1394
1394
  "cli-wrapper": "cli-wrapper";
@@ -1486,9 +1486,9 @@ type ClientSessionObservedBase = z.infer<typeof ClientSessionObservedBaseSchema>
1486
1486
  declare const CLIENT_SESSION_START_MODES: readonly ["fresh", "fork", "resume", "clear", "compact"];
1487
1487
  /** Zod schema for the client-reported session start mode. */
1488
1488
  declare const ClientSessionStartModeSchema: z.ZodEnum<{
1489
- fork: "fork";
1490
1489
  fresh: "fresh";
1491
1490
  resume: "resume";
1491
+ fork: "fork";
1492
1492
  clear: "clear";
1493
1493
  compact: "compact";
1494
1494
  }>;
@@ -1505,9 +1505,9 @@ declare const ClientSessionStartedSchema: z.ZodObject<{
1505
1505
  cwd: z.ZodOptional<z.ZodString>;
1506
1506
  machineId: z.ZodOptional<z.ZodString>;
1507
1507
  startMode: z.ZodOptional<z.ZodEnum<{
1508
- fork: "fork";
1509
1508
  fresh: "fresh";
1510
1509
  resume: "resume";
1510
+ fork: "fork";
1511
1511
  clear: "clear";
1512
1512
  compact: "compact";
1513
1513
  }>>;
@@ -1675,9 +1675,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1675
1675
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
1676
1676
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
1677
1677
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
1678
- empty: "empty";
1679
1678
  "auth-only": "auth-only";
1680
1679
  full: "full";
1680
+ empty: "empty";
1681
1681
  }>>;
1682
1682
  }, _$zod_v4_core0.$strip>;
1683
1683
  response: _$zod.ZodObject<{
@@ -1808,8 +1808,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1808
1808
  clientId: _$zod.ZodString;
1809
1809
  source: _$zod.ZodObject<{
1810
1810
  layer: _$zod.ZodEnum<{
1811
- adapter: "adapter";
1812
1811
  supervisor: "supervisor";
1812
+ adapter: "adapter";
1813
1813
  "client-hook": "client-hook";
1814
1814
  statusline: "statusline";
1815
1815
  "cli-wrapper": "cli-wrapper";
@@ -1849,8 +1849,8 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
1849
1849
  }>;
1850
1850
  source: _$zod.ZodObject<{
1851
1851
  layer: _$zod.ZodEnum<{
1852
- adapter: "adapter";
1853
1852
  supervisor: "supervisor";
1853
+ adapter: "adapter";
1854
1854
  "client-hook": "client-hook";
1855
1855
  statusline: "statusline";
1856
1856
  "cli-wrapper": "cli-wrapper";
@@ -2076,9 +2076,9 @@ declare const ClientNamespace: _$_makaio_core0.BusNamespaceDefinition<"client",
2076
2076
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2077
2077
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2078
2078
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2079
- fork: "fork";
2080
2079
  fresh: "fresh";
2081
2080
  resume: "resume";
2081
+ fork: "fork";
2082
2082
  clear: "clear";
2083
2083
  compact: "compact";
2084
2084
  }>>;
@@ -2315,9 +2315,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2315
2315
  baseConfigDir: _$zod.ZodOptional<_$zod.ZodString>;
2316
2316
  projectDir: _$zod.ZodOptional<_$zod.ZodString>;
2317
2317
  configInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
2318
- empty: "empty";
2319
2318
  "auth-only": "auth-only";
2320
2319
  full: "full";
2320
+ empty: "empty";
2321
2321
  }>>;
2322
2322
  }, _$zod_v4_core0.$strip>;
2323
2323
  response: _$zod.ZodObject<{
@@ -2448,8 +2448,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2448
2448
  clientId: _$zod.ZodString;
2449
2449
  source: _$zod.ZodObject<{
2450
2450
  layer: _$zod.ZodEnum<{
2451
- adapter: "adapter";
2452
2451
  supervisor: "supervisor";
2452
+ adapter: "adapter";
2453
2453
  "client-hook": "client-hook";
2454
2454
  statusline: "statusline";
2455
2455
  "cli-wrapper": "cli-wrapper";
@@ -2489,8 +2489,8 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2489
2489
  }>;
2490
2490
  source: _$zod.ZodObject<{
2491
2491
  layer: _$zod.ZodEnum<{
2492
- adapter: "adapter";
2493
2492
  supervisor: "supervisor";
2493
+ adapter: "adapter";
2494
2494
  "client-hook": "client-hook";
2495
2495
  statusline: "statusline";
2496
2496
  "cli-wrapper": "cli-wrapper";
@@ -2716,9 +2716,9 @@ declare const ClientSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
2716
2716
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
2717
2717
  machineId: _$zod.ZodOptional<_$zod.ZodString>;
2718
2718
  startMode: _$zod.ZodOptional<_$zod.ZodEnum<{
2719
- fork: "fork";
2720
2719
  fresh: "fresh";
2721
2720
  resume: "resume";
2721
+ fork: "fork";
2722
2722
  clear: "clear";
2723
2723
  compact: "compact";
2724
2724
  }>>;
@@ -2978,9 +2978,9 @@ declare const SessionConfigEnvSchema: z.ZodRecord<z.ZodString, z.ZodString>;
2978
2978
  * Policy for materializing a session config directory from a base client config.
2979
2979
  */
2980
2980
  declare const SessionConfigInheritanceSchema: z.ZodEnum<{
2981
- empty: "empty";
2982
2981
  "auth-only": "auth-only";
2983
2982
  full: "full";
2983
+ empty: "empty";
2984
2984
  }>;
2985
2985
  type SessionConfigInheritance = z.infer<typeof SessionConfigInheritanceSchema>;
2986
2986
  /**
@@ -3136,9 +3136,9 @@ declare const ClientSessionConfigSchemas: {
3136
3136
  baseConfigDir: z.ZodOptional<z.ZodString>;
3137
3137
  projectDir: z.ZodOptional<z.ZodString>;
3138
3138
  configInheritance: z.ZodOptional<z.ZodEnum<{
3139
- empty: "empty";
3140
3139
  "auth-only": "auth-only";
3141
3140
  full: "full";
3141
+ empty: "empty";
3142
3142
  }>>;
3143
3143
  }, z.core.$strip>;
3144
3144
  response: z.ZodObject<{
@@ -3192,9 +3192,9 @@ declare const SessionConfigSetupRequestSchema: z.ZodObject<{
3192
3192
  win32: "win32";
3193
3193
  }>;
3194
3194
  configInheritance: z.ZodEnum<{
3195
- empty: "empty";
3196
3195
  "auth-only": "auth-only";
3197
3196
  full: "full";
3197
+ empty: "empty";
3198
3198
  }>;
3199
3199
  }, z.core.$strip>;
3200
3200
  type SessionConfigSetupRequest = z.infer<typeof SessionConfigSetupRequestSchema>;
@@ -1,4 +1,4 @@
1
- import { t as CapabilityService } from "./capability-service-Cpkonrc0.mjs";
1
+ import { t as CapabilityService } from "./capability-service-DX3wLjdt.mjs";
2
2
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
3
3
  import { MakaioNodeExtension } from "@makaio/framework/contracts";
4
4
  import { IMakaioBus } from "@makaio/framework/bus";
@@ -1,4 +1,4 @@
1
- import { t as CapabilityService } from "./capability-service-Cpkonrc0.mjs";
1
+ import { t as CapabilityService } from "./capability-service-DX3wLjdt.mjs";
2
2
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
3
3
  import { CodeExecutionAbortReason, CodeExecutionProviderContext, CodeExecutionRequirements, ICapabilityProvider, ICodeExecutionProvider, MakaioNodeExtension } from "@makaio/framework/contracts";
4
4
  import { IMakaioBus } from "@makaio/framework/bus";
@@ -1,4 +1,4 @@
1
- import { n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-Cpf_n5FH.mjs";
1
+ import { n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-SrQpa_kp.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4
 
@@ -1,4 +1,4 @@
1
- import { d as PiscinaCodeExecutionProviderOptions } from "./types-DjxvRcX6.mjs";
1
+ import { d as PiscinaCodeExecutionProviderOptions } from "./types-KF8zuMhi.mjs";
2
2
  import { CodeExecutionOutcome, CodeExecutionProviderContext, CodeExecutionRequest, CodeExecutionTrustLevel, ICodeExecutionProvider } from "@makaio/framework/contracts";
3
3
 
4
4
  //#region runtimes/node/src/code-execution/piscina-code-execution-provider.d.ts
@@ -1,4 +1,4 @@
1
- import { t as AdapterAuthBinding } from "./adapter-binding-DhANVB-O.mjs";
1
+ import { t as AdapterAuthBinding } from "./adapter-binding-CTssGlH_.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region core/contracts/src/auth/definitions.d.ts
@@ -1,4 +1,4 @@
1
- import { r as ExtensionDiscovery } from "./extension-discovery-B0ZL076T.mjs";
1
+ import { r as ExtensionDiscovery } from "./extension-discovery-Dx118u_N.mjs";
2
2
  import { RegistrableBusNamespaceDefinition } from "@makaio/framework/core";
3
3
  import { ExecutionAttemptBootstrapStartRefusalReason, ExecutionAttemptInstruction, ExecutionAttemptOperationAdmitRefusalReason, ExecutionAttemptOperationDelivery, ExecutionAttemptOperationKind, ExecutionAttemptOperationReceipt, ExecutionAttemptOutcome, ExecutionAttemptRuntimeRegisterRefusalReason, ExecutionAttemptWorkspaceBinding, ExtensionConfigProvider, IWorkerProvider, IWorkflowRunner, IWorkflowRunner as IWorkflowRunner$1, JsonValue, LoopGateHandler, MakaioNodeExtension, NormalizedWorkerCapabilities, OutcomeAckDecision, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, TrayManifest, WorkerBootstrapCredentials, WorkerCapabilities, WorkerContributionManifest, WorkerContributionRef, WorkerDispatch, WorkerMaterializationSpec, WorkerProvisionOutcome, WorkerProvisionRequest, WorkerRequirements, WorkerRuntimeContext, WorkflowDefinition, WorkflowRunContext, WorkflowRunResult, WorkflowRunResult as WorkflowRunResult$1, WorkflowRunnerCompletion, WorkflowRunnerCompletion as WorkflowRunnerCompletion$1, WorkflowRunnerRunOptions, WorkflowWorkerConfig, WorkflowWorkerSource, WorkflowZodSchemas, WorkspaceRequirement } from "@makaio/framework/contracts";
4
4
  import { BusTransport, IMakaioBus, SubjectTelemetryProjectorRegistry } from "@makaio/framework/bus";
@@ -1,7 +1,7 @@
1
- import { a as JsonObjectContractSchema } from "./json-value-BKUDMT7k.mjs";
2
- import { o as ICapabilityProvider } from "./index-Du-eXjEN.mjs";
3
- import { Qt as WorkerContributionManifest, fn as WorkflowWorkerConfig, un as WorkflowWorkerBusAuth } from "./index-BxJRljy-.mjs";
4
- import { t as WorkerRuntimeInputs } from "./runtime-inputs-DeOea-ab.mjs";
1
+ import { a as JsonObjectContractSchema } from "./json-value-Bjl8jzom.mjs";
2
+ import { o as ICapabilityProvider } from "./index-DLsopffG.mjs";
3
+ import { Qt as WorkerContributionManifest, fn as WorkflowWorkerConfig, un as WorkflowWorkerBusAuth } from "./index-0_Ao0hwU.mjs";
4
+ import { t as WorkerRuntimeInputs } from "./runtime-inputs-CIYLDuBM.mjs";
5
5
  import * as _$zod from "zod";
6
6
  import { z } from "zod";
7
7
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -1,4 +1,4 @@
1
- import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-DYIVJDlx.mjs";
1
+ import { c as AdapterRuntimeSnapshotErrorCode } from "./schemas-COQUToGQ.mjs";
2
2
  import { ProviderContext, ResolvedProviderContext } from "@makaio/framework/contracts";
3
3
  import { IMakaioBus } from "@makaio/framework/bus";
4
4
 
@@ -1889,8 +1889,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1889
1889
  success: _$zod.ZodBoolean;
1890
1890
  evidence: _$zod.ZodEnum<{
1891
1891
  unknown: "unknown";
1892
- exited: "exited";
1893
1892
  closed: "closed";
1893
+ exited: "exited";
1894
1894
  released: "released";
1895
1895
  detached: "detached";
1896
1896
  }>;
@@ -2013,9 +2013,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
2013
2013
  timestamp: _$zod.ZodNumber;
2014
2014
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
2015
2015
  error: "error";
2016
+ warn: "warn";
2016
2017
  debug: "debug";
2017
2018
  info: "info";
2018
- warn: "warn";
2019
2019
  }>>;
2020
2020
  }, _$zod_v4_core0.$strip>;
2021
2021
  error: _$zod.ZodObject<{
@@ -3939,8 +3939,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3939
3939
  success: _$zod.ZodBoolean;
3940
3940
  evidence: _$zod.ZodEnum<{
3941
3941
  unknown: "unknown";
3942
- exited: "exited";
3943
3942
  closed: "closed";
3943
+ exited: "exited";
3944
3944
  released: "released";
3945
3945
  detached: "detached";
3946
3946
  }>;
@@ -4063,9 +4063,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
4063
4063
  timestamp: _$zod.ZodNumber;
4064
4064
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
4065
4065
  error: "error";
4066
+ warn: "warn";
4066
4067
  debug: "debug";
4067
4068
  info: "info";
4068
- warn: "warn";
4069
4069
  }>>;
4070
4070
  }, _$zod_v4_core0.$strip>;
4071
4071
  error: _$zod.ZodObject<{
@@ -6013,8 +6013,8 @@ declare const AdapterSchemas: {
6013
6013
  success: _$zod.ZodBoolean;
6014
6014
  evidence: _$zod.ZodEnum<{
6015
6015
  unknown: "unknown";
6016
- exited: "exited";
6017
6016
  closed: "closed";
6017
+ exited: "exited";
6018
6018
  released: "released";
6019
6019
  detached: "detached";
6020
6020
  }>;
@@ -6137,9 +6137,9 @@ declare const AdapterSchemas: {
6137
6137
  timestamp: _$zod.ZodNumber;
6138
6138
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
6139
6139
  error: "error";
6140
+ warn: "warn";
6140
6141
  debug: "debug";
6141
6142
  info: "info";
6142
- warn: "warn";
6143
6143
  }>>;
6144
6144
  }, _$zod_v4_core0.$strip>;
6145
6145
  error: _$zod.ZodObject<{
@@ -8118,8 +8118,8 @@ type AcknowledgeCallerSettlementResponse = z.infer<typeof AcknowledgeCallerSettl
8118
8118
  */
8119
8119
  declare const TeardownEvidenceSchema: z.ZodEnum<{
8120
8120
  unknown: "unknown";
8121
- exited: "exited";
8122
8121
  closed: "closed";
8122
+ exited: "exited";
8123
8123
  released: "released";
8124
8124
  detached: "detached";
8125
8125
  }>;
@@ -8147,8 +8147,8 @@ declare function teardownWasObserved$1(evidence: TeardownEvidence$1): boolean;
8147
8147
  declare const ConnectorTeardownResultSchema$1: z.ZodObject<{
8148
8148
  evidence: z.ZodEnum<{
8149
8149
  unknown: "unknown";
8150
- exited: "exited";
8151
8150
  closed: "closed";
8151
+ exited: "exited";
8152
8152
  released: "released";
8153
8153
  detached: "detached";
8154
8154
  }>;
@@ -1,5 +1,5 @@
1
- import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-nor1SQLZ.mjs";
2
- import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-B3MnuAqp.mjs";
1
+ import { a as CliSubcommandDefinition, c as EmbeddedBusHandle, d as ProvideBusContext, f as defineCliSubcommand, i as CliContribution, l as INTERACTIVE_SUBCOMMAND, n as BeforeRunContext, o as CliSubcommandEntry, p as requireBus, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as OutputWriter } from "../../types-CbXf822E.mjs";
2
+ import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-Dwf7aOLt.mjs";
3
3
  import { z } from "zod";
4
4
  import { CliArgManifest } from "@makaio/framework/contracts/extension";
5
5
 
@@ -1,2 +1,2 @@
1
- import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-B3MnuAqp.mjs";
1
+ import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-Dwf7aOLt.mjs";
2
2
  export { CliNamespace, CliRpcSubjects };
@@ -1,2 +1,2 @@
1
- import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-Dzozmb5u.mjs";
1
+ import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-BFchykav.mjs";
2
2
  export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
@@ -1,8 +1,8 @@
1
- import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-Dckvm0Ml2.mjs";
2
- import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-Dzozmb5u.mjs";
3
- import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-DQ7udUzI.mjs";
4
- import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-Bk0Xjk-B.mjs";
5
- import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-krTCFThl2.mjs";
1
+ import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-BN0qpem12.mjs";
2
+ import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-BFchykav.mjs";
3
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-Dq5uOWpH.mjs";
4
+ import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-1AKlC3kZ.mjs";
5
+ import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-DSRxn5Zr2.mjs";
6
6
  import { z } from "zod";
7
7
  import * as _$_makaio_core0 from "@makaio/framework/core";
8
8
 
@@ -1,2 +1,2 @@
1
- import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-Bk0Xjk-B.mjs";
1
+ import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-1AKlC3kZ.mjs";
2
2
  export { KernelNamespace, KernelSchemas, KernelSubjects };
@@ -1,2 +1,2 @@
1
- import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-Dckvm0Ml2.mjs";
1
+ import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-BN0qpem12.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -1,2 +1,2 @@
1
- import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-krTCFThl2.mjs";
1
+ import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-DSRxn5Zr2.mjs";
2
2
  export { EphemeralIdentityProvider, IdentityProvider, MachineIdentity, MemoryStorageProvider, NoTransportProvider, StorageCleanup, StorageProvider, TransportProvider };
@@ -1,2 +1,2 @@
1
- import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-DQ7udUzI.mjs";
1
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-Dq5uOWpH.mjs";
2
2
  export { STYLE_DEFAULTS, type WindowRegistration, WindowRegistry, type WindowStyle };
@@ -1,4 +1,4 @@
1
- import{a as __toCommonJS,i as __require,t as __commonJSMin}from"./chunk-DTipWd-i.mjs";import{t as require_supports_color}from"./supports-color-DG_rcVqJ.mjs";import{n as require_micromatch,t as require_out}from"./out-og8659Ny.mjs";import{t as require_cross_spawn}from"./cross-spawn-Bi05YtQQ.mjs";import{n as init_tslib_es6,r as tslib_es6_exports,t as require_lib$5}from"./lib-DF6sgNx_.mjs";var require_constants$1=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SpecialToken=void 0,(function(e){e.StartOfInput=`\0`,e.EndOfInput=``,e.EndOfPartialInput=``})(e.SpecialToken||={}),e.NodeType=void 0,(function(e){e[e.InitialNode=0]=`InitialNode`,e[e.SuccessNode=1]=`SuccessNode`,e[e.ErrorNode=2]=`ErrorNode`,e[e.CustomNode=3]=`CustomNode`})(e.NodeType||={});let t=-1,n=/^(-h|--help)(?:=([0-9]+))?$/,r=/^(--[a-z]+(?:-[a-z]+)*|-[a-zA-Z]+)$/,i=/^-[a-zA-Z]{2,}$/,a=/^([^=]+)=([\s\S]*)$/,o=process.env.DEBUG_CLI===`1`;e.BATCH_REGEX=i,e.BINDING_REGEX=a,e.HELP_COMMAND_INDEX=-1,e.HELP_REGEX=n,e.IS_DEBUG=o,e.OPTION_REGEX=r})),require_errors$2=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_constants$1(),n=class extends Error{constructor(e){super(e),this.clipanion={type:`usage`},this.name=`UsageError`}},r=class extends Error{constructor(e,t){if(super(),this.input=e,this.candidates=t,this.clipanion={type:`none`},this.name=`UnknownSyntaxError`,this.candidates.length===0)this.message=`Command not found, but we're not sure what's the alternative.`;else if(this.candidates.every(e=>e.reason!==null&&e.reason===t[0].reason)){let[{reason:e}]=this.candidates;this.message=`${e}\n\n${this.candidates.map(({usage:e})=>`$ ${e}`).join(`
1
+ import{a as __toCommonJS,i as __require,t as __commonJSMin}from"./chunk-DTipWd-i.mjs";import{t as require_supports_color}from"./supports-color-DG_rcVqJ.mjs";import{n as require_micromatch,t as require_out}from"./out-og8659Ny.mjs";import{t as require_cross_spawn}from"./cross-spawn-Bi05YtQQ.mjs";import{n as init_tslib_es6,r as tslib_es6_exports,t as require_lib$5}from"./lib-BLdnqIFF.mjs";var require_constants$1=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SpecialToken=void 0,(function(e){e.StartOfInput=`\0`,e.EndOfInput=``,e.EndOfPartialInput=``})(e.SpecialToken||={}),e.NodeType=void 0,(function(e){e[e.InitialNode=0]=`InitialNode`,e[e.SuccessNode=1]=`SuccessNode`,e[e.ErrorNode=2]=`ErrorNode`,e[e.CustomNode=3]=`CustomNode`})(e.NodeType||={});let t=-1,n=/^(-h|--help)(?:=([0-9]+))?$/,r=/^(--[a-z]+(?:-[a-z]+)*|-[a-zA-Z]+)$/,i=/^-[a-zA-Z]{2,}$/,a=/^([^=]+)=([\s\S]*)$/,o=process.env.DEBUG_CLI===`1`;e.BATCH_REGEX=i,e.BINDING_REGEX=a,e.HELP_COMMAND_INDEX=-1,e.HELP_REGEX=n,e.IS_DEBUG=o,e.OPTION_REGEX=r})),require_errors$2=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_constants$1(),n=class extends Error{constructor(e){super(e),this.clipanion={type:`usage`},this.name=`UsageError`}},r=class extends Error{constructor(e,t){if(super(),this.input=e,this.candidates=t,this.clipanion={type:`none`},this.name=`UnknownSyntaxError`,this.candidates.length===0)this.message=`Command not found, but we're not sure what's the alternative.`;else if(this.candidates.every(e=>e.reason!==null&&e.reason===t[0].reason)){let[{reason:e}]=this.candidates;this.message=`${e}\n\n${this.candidates.map(({usage:e})=>`$ ${e}`).join(`
2
2
  `)}`}else if(this.candidates.length===1){let[{usage:t}]=this.candidates;this.message=`Command not found; did you mean:\n\n$ ${t}\n${a(e)}`}else this.message=`Command not found; did you mean one of:\n\n${this.candidates.map(({usage:e},t)=>`${`${t}.`.padStart(4)} ${e}`).join(`
3
3
  `)}\n\n${a(e)}`}},i=class extends Error{constructor(e,t){super(),this.input=e,this.usages=t,this.clipanion={type:`none`},this.name=`AmbiguousSyntaxError`,this.message=`Cannot find which to pick amongst the following alternatives:\n\n${this.usages.map((e,t)=>`${`${t}.`.padStart(4)} ${e}`).join(`
4
4
  `)}\n\n${a(e)}`}};let a=e=>`While running ${e.filter(e=>e!==t.SpecialToken.EndOfInput&&e!==t.SpecialToken.EndOfPartialInput).map(e=>{let t=JSON.stringify(e);return e.match(/\s/)||e.length===0||t!==`"${e}"`?t:e}).join(` `)}`;e.AmbiguousSyntaxError=i,e.UnknownSyntaxError=r,e.UsageError=n})),require_utils=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_errors$2();let n=Symbol(`clipanion/isOption`);function r(e){return{...e,[n]:!0}}function i(e,t){return e===void 0?[e,t]:typeof e==`object`&&e&&!Array.isArray(e)?[void 0,e]:[e,t]}function a(e,{mergeName:t=!1}={}){let n=e.match(/^([^:]+): (.*)$/m);if(!n)return`validation failed`;let[,r,i]=n;return t&&(i=i[0].toLowerCase()+i.slice(1)),i=r!==`.`||!t?`${r.replace(/^\.(\[|$)/,`$1`)}: ${i}`:`: ${i}`,i}function o(e,n){return n.length===1?new t.UsageError(`${e}${a(n[0],{mergeName:!0})}`):new t.UsageError(`${e}:\n${n.map(e=>`\n- ${a(e)}`).join(``)}`)}function s(e,t,n){if(n===void 0)return t;let r=[],i=[],a=e=>{let n=t;return t=e,a.bind(null,n)};if(!n(t,{errors:r,coercions:i,coercion:a}))throw o(`Invalid value for ${e}`,r);for(let[,e]of i)e();return t}e.applyValidator=s,e.cleanValidationError=a,e.formatError=o,e.isOptionSymbol=n,e.makeCommandOption=r,e.rerouteArguments=i})),require_lib$4=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});let t=/^[a-zA-Z_][a-zA-Z0-9_]*$/;function n(e){return e===null?`null`:e===void 0?`undefined`:e===``?`an empty string`:typeof e==`symbol`?`<${e.toString()}>`:Array.isArray(e)?`an array`:JSON.stringify(e)}function r(e,t){if(e.length===0)return`nothing`;if(e.length===1)return n(e[0]);let r=e.slice(0,-1),i=e[e.length-1],a=e.length>2?`, ${t} `:` ${t} `;return`${r.map(e=>n(e)).join(`, `)}${a}${n(i)}`}function i(e,n){var r,i,a;return typeof n==`number`?`${e?.p??`.`}[${n}]`:t.test(n)?`${e?.p??``}.${n}`:`${e?.p??`.`}[${JSON.stringify(n)}]`}function a(e,t,n){return e===1?t:n}let o=/^#[0-9a-f]{6}$/i,s=/^#[0-9a-f]{6}([0-9a-f]{2})?$/i,c=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/,l=/^[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89aAbB][a-f0-9]{3}-[a-f0-9]{12}$/i,u=/^(?:[1-9]\d{3}(-?)(?:(?:0[1-9]|1[0-2])\1(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])\1(?:29|30)|(?:0[13578]|1[02])(?:\1)31|00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[0-5]))|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)(?:(-?)02(?:\2)29|-?366))T(?:[01]\d|2[0-3])(:?)[0-5]\d(?:\3[0-5]\d)?(?:Z|[+-][01]\d(?:\3[0-5]\d)?)$/;function d({errors:e,p:t}={},n){return e?.push(`${t??`.`}: ${n}`),!1}function f(e,t){return n=>{e[t]=n}}function p(e,t){return n=>{let r=e[t];return e[t]=n,p(e,t).bind(null,r)}}function m(e,t,n){let r=()=>(e(n()),i),i=()=>(e(t),r);return r}function h(){return F({test:(e,t)=>!0})}function g(e){return F({test:(t,r)=>t===e?!0:d(r,`Expected ${n(e)} (got ${n(t)})`)})}function _(){return F({test:(e,t)=>typeof e==`string`?!0:d(t,`Expected a string (got ${n(e)})`)})}function v(e){let t=Array.isArray(e)?e:Object.values(e),i=t.every(e=>typeof e==`string`||typeof e==`number`),a=new Set(t);return a.size===1?g([...a][0]):F({test:(e,o)=>a.has(e)?!0:i?d(o,`Expected one of ${r(t,`or`)} (got ${n(e)})`):d(o,`Expected a valid enumeration value (got ${n(e)})`)})}let y=new Map([[`true`,!0],[`True`,!0],[`1`,!0],[1,!0],[`false`,!1],[`False`,!1],[`0`,!1],[0,!1]]);function b(){return F({test:(e,t)=>{var r;if(typeof e!=`boolean`){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n=y.get(e);if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a boolean (got ${n(e)})`)}return!0}})}function x(){return F({test:(e,t)=>{var r;if(typeof e!=`number`){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n;if(typeof e==`string`){let r;try{r=JSON.parse(e)}catch{}if(typeof r==`number`)if(JSON.stringify(r)===e)n=r;else return d(t,`Received a number that can't be safely represented by the runtime (${e})`)}if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a number (got ${n(e)})`)}return!0}})}function S(e){return F({test:(t,r)=>{var i;if(r?.coercions===void 0)return d(r,`The isPayload predicate can only be used with coercion enabled`);if(r.coercion===void 0)return d(r,`Unbound coercion result`);if(typeof t!=`string`)return d(r,`Expected a string (got ${n(t)})`);let a;try{a=JSON.parse(t)}catch{return d(r,`Expected a JSON string (got ${n(t)})`)}let o={value:a};return e(a,Object.assign(Object.assign({},r),{coercion:p(o,`value`)}))?(r.coercions.push([r.p??`.`,r.coercion.bind(null,o.value)]),!0):!1}})}function C(){return F({test:(e,t)=>{var r;if(!(e instanceof Date)){if(t?.coercions!==void 0){if(t?.coercion===void 0)return d(t,`Unbound coercion result`);let n;if(typeof e==`string`&&u.test(e))n=new Date(e);else{let r;if(typeof e==`string`){let t;try{t=JSON.parse(e)}catch{}typeof t==`number`&&(r=t)}else typeof e==`number`&&(r=e);if(r!==void 0)if(Number.isSafeInteger(r)||!Number.isSafeInteger(r*1e3))n=new Date(r*1e3);else return d(t,`Received a timestamp that can't be safely represented by the runtime (${e})`)}if(n!==void 0)return t.coercions.push([t.p??`.`,t.coercion.bind(null,n)]),!0}return d(t,`Expected a date (got ${n(e)})`)}return!0}})}function w(e,{delimiter:t}={}){return F({test:(r,a)=>{var o;let s=r;if(typeof r==`string`&&t!==void 0&&a?.coercions!==void 0){if(a?.coercion===void 0)return d(a,`Unbound coercion result`);r=r.split(t)}if(!Array.isArray(r))return d(a,`Expected an array (got ${n(r)})`);let c=!0;for(let t=0,n=r.length;t<n&&(c=e(r[t],Object.assign(Object.assign({},a),{p:i(a,t),coercion:p(r,t)}))&&c,!(!c&&a?.errors==null));++t);return r!==s&&a.coercions.push([a.p??`.`,a.coercion.bind(null,r)]),c}})}function T(e,{delimiter:t}={}){let r=w(e,{delimiter:t});return F({test:(t,i)=>{var a,o;if(Object.getPrototypeOf(t).toString()===`[object Set]`)if(i?.coercions!==void 0){if(i?.coercion===void 0)return d(i,`Unbound coercion result`);let e=[...t],n=[...t];return r(n,Object.assign(Object.assign({},i),{coercion:void 0}))?(i.coercions.push([i.p??`.`,m(i.coercion,t,()=>n.some((t,n)=>t!==e[n])?new Set(n):t)]),!0):!1}else{let n=!0;for(let r of t)if(n=e(r,Object.assign({},i))&&n,!n&&i?.errors==null)break;return n}if(i?.coercions!==void 0){if(i?.coercion===void 0)return d(i,`Unbound coercion result`);let e={value:t};return r(t,Object.assign(Object.assign({},i),{coercion:p(e,`value`)}))?(i.coercions.push([i.p??`.`,m(i.coercion,t,()=>new Set(e.value))]),!0):!1}return d(i,`Expected a set (got ${n(t)})`)}})}function E(e,t){let r=w(D([e,t])),a=O(t,{keys:e});return F({test:(o,s)=>{var c,l,u;if(Object.getPrototypeOf(o).toString()===`[object Map]`)if(s?.coercions!==void 0){if(s?.coercion===void 0)return d(s,`Unbound coercion result`);let e=[...o],t=[...o];return r(t,Object.assign(Object.assign({},s),{coercion:void 0}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>t.some((t,n)=>t[0]!==e[n][0]||t[1]!==e[n][1])?new Map(t):o)]),!0):!1}else{let n=!0;for(let[r,a]of o)if(n=e(r,Object.assign({},s))&&n,!n&&s?.errors==null||(n=t(a,Object.assign(Object.assign({},s),{p:i(s,r)}))&&n,!n&&s?.errors==null))break;return n}if(s?.coercions!==void 0){if(s?.coercion===void 0)return d(s,`Unbound coercion result`);let e={value:o};return Array.isArray(o)?r(o,Object.assign(Object.assign({},s),{coercion:void 0}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>new Map(e.value))]),!0):!1:a(o,Object.assign(Object.assign({},s),{coercion:p(e,`value`)}))?(s.coercions.push([s.p??`.`,m(s.coercion,o,()=>new Map(Object.entries(e.value)))]),!0):!1}return d(s,`Expected a map (got ${n(o)})`)}})}function D(e,{delimiter:t}={}){let r=U(e.length);return F({test:(a,o)=>{var s;if(typeof a==`string`&&t!==void 0&&o?.coercions!==void 0){if(o?.coercion===void 0)return d(o,`Unbound coercion result`);a=a.split(t),o.coercions.push([o.p??`.`,o.coercion.bind(null,a)])}if(!Array.isArray(a))return d(o,`Expected a tuple (got ${n(a)})`);let c=r(a,Object.assign({},o));for(let t=0,n=a.length;t<n&&t<e.length&&(c=e[t](a[t],Object.assign(Object.assign({},o),{p:i(o,t),coercion:p(a,t)}))&&c,!(!c&&o?.errors==null));++t);return c}})}function O(e,{keys:t=null}={}){let r=w(D([t??_(),e]));return F({test:(a,o)=>{var s;if(Array.isArray(a)&&o?.coercions!==void 0)return o?.coercion===void 0?d(o,`Unbound coercion result`):r(a,Object.assign(Object.assign({},o),{coercion:void 0}))?(a=Object.fromEntries(a),o.coercions.push([o.p??`.`,o.coercion.bind(null,a)]),!0):!1;if(typeof a!=`object`||!a)return d(o,`Expected an object (got ${n(a)})`);let c=Object.keys(a),l=!0;for(let n=0,r=c.length;n<r&&(l||o?.errors!=null);++n){let r=c[n],s=a[r];if(r===`__proto__`||r===`constructor`){l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Unsafe property name`);continue}if(t!==null&&!t(r,o)){l=!1;continue}if(!e(s,Object.assign(Object.assign({},o),{p:i(o,r),coercion:p(a,r)}))){l=!1;continue}}return l}})}function k(e,t={}){return O(e,t)}function A(e,{extra:t=null}={}){let r=Object.keys(e),a=F({test:(a,o)=>{if(typeof a!=`object`||!a)return d(o,`Expected an object (got ${n(a)})`);let s=new Set([...r,...Object.keys(a)]),c={},l=!0;for(let r of s){if(r===`constructor`||r===`__proto__`)l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Unsafe property name`);else{let s=Object.prototype.hasOwnProperty.call(e,r)?e[r]:void 0,u=Object.prototype.hasOwnProperty.call(a,r)?a[r]:void 0;s===void 0?t===null?l=d(Object.assign(Object.assign({},o),{p:i(o,r)}),`Extraneous property (got ${n(u)})`):Object.defineProperty(c,r,{enumerable:!0,get:()=>u,set:f(a,r)}):l=s(u,Object.assign(Object.assign({},o),{p:i(o,r),coercion:p(a,r)}))&&l}if(!l&&o?.errors==null)break}return t!==null&&(l||o?.errors!=null)&&(l=t(c,o)&&l),l}});return Object.assign(a,{properties:e})}function j(e){return A(e,{extra:O(h())})}let M=e=>F({test:(t,r)=>t instanceof e?!0:d(r,`Expected an instance of ${e.name} (got ${n(t)})`)}),N=(e,{exclusive:t=!1}={})=>F({test:(n,r)=>{var i,a,o;let s=[],c=r?.errors===void 0?void 0:[];for(let i=0,a=e.length;i<a;++i){let a=r?.errors===void 0?void 0:[],o=r?.coercions===void 0?void 0:[];if(e[i](n,Object.assign(Object.assign({},r),{errors:a,coercions:o,p:`${r?.p??`.`}#${i+1}`}))){if(s.push([`#${i+1}`,o]),!t)break}else c?.push(a[0])}if(s.length===1){let[,e]=s[0];return e!==void 0&&((a=r?.coercions)==null||a.push(...e)),!0}return s.length>1?d(r,`Expected to match exactly a single predicate (matched ${s.join(`, `)})`):(o=r?.errors)==null||o.push(...c),!1}});function P(e){return()=>e}function F({test:e}){return P(e)()}var I=class extends Error{constructor({errors:e}={}){let t=`Type mismatch`;if(e&&e.length>0){t+=`