@makaio/framework 1.0.0-dev-1790087128488 → 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 (292) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapter-subsystem/index.mjs +1 -1
  3. package/dist/adapters/claude/index.d.mts +44 -44
  4. package/dist/adapters/config/index.d.mts +1 -1
  5. package/dist/adapters/index.d.mts +2 -2
  6. package/dist/adapters/node.d.mts +1 -1
  7. package/dist/bus/index.d.mts +47 -22
  8. package/dist/bus/index.mjs +1 -1
  9. package/dist/bus-D4DBDaoS.mjs +9 -0
  10. package/dist/{client-DWSwtFyI.mjs → client-D1BZILNq.mjs} +1 -1
  11. package/dist/clients/index.d.mts +9 -3
  12. package/dist/clients/index.mjs +1 -1
  13. package/dist/clients/managed-install.d.mts +1 -1
  14. package/dist/code-execution/worker-entry.d.mts +1 -1
  15. package/dist/contracts/adapter/index.d.mts +2 -2
  16. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  17. package/dist/contracts/artifact/index.d.mts +2 -2
  18. package/dist/contracts/auth/index.d.mts +2 -2
  19. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  20. package/dist/contracts/canonical-model/index.d.mts +1 -1
  21. package/dist/contracts/capabilities/index.d.mts +1 -1
  22. package/dist/contracts/client/index.d.mts +3 -3
  23. package/dist/contracts/client/index.mjs +1 -1
  24. package/dist/contracts/code-execution/index.d.mts +1 -1
  25. package/dist/contracts/common/index.d.mts +1 -1
  26. package/dist/contracts/config/index.d.mts +2 -2
  27. package/dist/contracts/extension/index.d.mts +5 -5
  28. package/dist/contracts/facet/index.d.mts +1 -1
  29. package/dist/contracts/harness/index.d.mts +1 -1
  30. package/dist/contracts/host/index.d.mts +1 -1
  31. package/dist/contracts/index.d.mts +173 -173
  32. package/dist/contracts/index.mjs +1 -1
  33. package/dist/contracts/materialization/index.d.mts +2 -2
  34. package/dist/contracts/model-registry/index.d.mts +1 -1
  35. package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
  36. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  37. package/dist/contracts/platform/index.d.mts +1 -1
  38. package/dist/contracts/provider/index.d.mts +2 -2
  39. package/dist/contracts/reaction/index.d.mts +1 -1
  40. package/dist/contracts/session/index.d.mts +2 -2
  41. package/dist/contracts/shared/index.d.mts +2 -2
  42. package/dist/contracts/skill/index.d.mts +1 -1
  43. package/dist/contracts/telemetry/index.d.mts +1 -1
  44. package/dist/contracts/timeout/index.d.mts +1 -1
  45. package/dist/contracts/variant/index.d.mts +1 -1
  46. package/dist/contracts/worker/index.d.mts +2 -2
  47. package/dist/contracts/workflow/index.d.mts +2 -2
  48. package/dist/{contribution-DHJJARJP.d.mts → contribution-kpR61mnG.d.mts} +2 -2
  49. package/dist/{definition-DeIGoROj.d.mts → definition-DWhjp0db.d.mts} +1 -1
  50. package/dist/{detached-extension-handle-W5_yfCyE.mjs → detached-extension-handle-QrXVNUR2.mjs} +1 -1
  51. package/dist/{extension-context-C2qColIL.d.mts → extension-context-CmhBCbbq.d.mts} +1 -1
  52. package/dist/filesystem-service-CIaAqTRi.mjs +1 -0
  53. package/dist/{framework-packages-U4Xhouxe.mjs → framework-packages-C2tvdFmP.mjs} +1 -1
  54. package/dist/{hook-responses-CN5r7i3k.d.mts → hook-responses-C3nUIm-6.d.mts} +1 -1
  55. package/dist/{index-DDff0Q_Y.d.mts → index-04uTOEVU.d.mts} +83 -83
  56. package/dist/{index-D9ExWo6a2.d.mts → index-8HtSFrzb.d.mts} +24 -24
  57. package/dist/{index-Bcq3UKLQ2.d.mts → index-9O8N514B2.d.mts} +7 -7
  58. package/dist/{index-DQU8ZoJr.d.mts → index-BM53WQaQ.d.mts} +1 -1
  59. package/dist/{index-BwaFXFd2.d.mts → index-BTLbhl35.d.mts} +101 -101
  60. package/dist/{index-vA46dx7q.d.mts → index-BV3nQpdO.d.mts} +100 -100
  61. package/dist/{index-DjmCOTLM.d.mts → index-BYwt4CNf.d.mts} +297 -297
  62. package/dist/{index-L6mssyeZ.d.mts → index-BfFi98B_.d.mts} +1 -1
  63. package/dist/{index-CESqYf8a.d.mts → index-C0Jfr8UK.d.mts} +2 -2
  64. package/dist/{index-Cm3HuwMC2.d.mts → index-C9Dz8UoK2.d.mts} +236 -1
  65. package/dist/{index-f31ex0nG.d.mts → index-CFMaXW-s.d.mts} +152 -25
  66. package/dist/{index-DUYjTfHD.d.mts → index-CLwnkYRD.d.mts} +1 -1
  67. package/dist/{index-Dk_f8Cyz2.d.mts → index-CRjWqvy02.d.mts} +7 -7
  68. package/dist/{index-C8two8wz.d.mts → index-CdkIg4Gu.d.mts} +1 -1
  69. package/dist/{index-DfREUyAk.d.mts → index-CkE9MwNX.d.mts} +1 -1
  70. package/dist/{index-DH55jJaM.d.mts → index-CpGWwlRN.d.mts} +14 -14
  71. package/dist/{index-D7dbR7Pu2.d.mts → index-Csua5M_M2.d.mts} +16 -16
  72. package/dist/{index-DJxg7U2X.d.mts → index-D5BLD2Pw.d.mts} +7 -3
  73. package/dist/{index-Xnn0gJhU.d.mts → index-D5Lw1UsO.d.mts} +339 -339
  74. package/dist/{index-B2bxgKiK.d.mts → index-D9BLsMs8.d.mts} +1 -1
  75. package/dist/{index-DdJKsdya.d.mts → index-D9hIDsPr.d.mts} +1 -1
  76. package/dist/{index-DvtVX-Rj.d.mts → index-DDCixELI.d.mts} +2 -2
  77. package/dist/{index-m5ZQFglW2.d.mts → index-DVo_rb2w2.d.mts} +12 -12
  78. package/dist/{index-D17f9C3Y.d.mts → index-J6C4thLY.d.mts} +3 -3
  79. package/dist/{index-DauaMtPH2.d.mts → index-LCumcYK12.d.mts} +379 -379
  80. package/dist/{index-BMPU9fkA.d.mts → index-aAo9ugCm.d.mts} +8 -8
  81. package/dist/{index-Jdju2W3y.d.mts → index-t6LnywuE.d.mts} +1 -1
  82. package/dist/{index-qH2Jhegj2.d.mts → index-u0EteHlR2.d.mts} +1 -1
  83. package/dist/{index-zqo2mX_Z.d.mts → index-ul45YFff.d.mts} +6 -6
  84. package/dist/{index-DNdHuoy6.d.mts → index-xad0YUyF.d.mts} +1 -1
  85. package/dist/kernel/cli/index.d.mts +2 -2
  86. package/dist/kernel/cli/register.d.mts +1 -1
  87. package/dist/kernel/extension/index.d.mts +2 -2
  88. package/dist/kernel/index.d.mts +5 -5
  89. package/dist/kernel/namespace/index.d.mts +1 -1
  90. package/dist/kernel/observability/index.d.mts +1 -1
  91. package/dist/kernel/providers/index.d.mts +1 -1
  92. package/dist/kernel/window/index.d.mts +1 -1
  93. package/dist/{load-extensions-Be_lOjm_.d.mts → load-extensions-CCzTHlUE.d.mts} +1 -1
  94. package/dist/{load-extensions-BGfSWW_R.mjs → load-extensions-eyXZhbRn.mjs} +1 -1
  95. package/dist/{namespace-zusFEJPh.d.mts → namespace-B1FBjHfn.d.mts} +6 -6
  96. package/dist/{namespace-x-gk5SmK.d.mts → namespace-BEi98VfQ.d.mts} +18 -18
  97. package/dist/{namespace-BdsOXWPU.d.mts → namespace-C5tKjqgb.d.mts} +1 -1
  98. package/dist/{namespace-B2L_hlJ0.d.mts → namespace-HLrZerLd.d.mts} +154 -154
  99. package/dist/{namespace-CHc7YF0S.d.mts → namespace-KomML5ti.d.mts} +2 -2
  100. package/dist/native-session-supervisor-BmnAZuia.mjs +1 -0
  101. package/dist/node/bus-server/index.d.mts +1 -1
  102. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  103. package/dist/node/transports/index.d.mts +53 -1
  104. package/dist/node/transports/index.mjs +2 -2
  105. package/dist/node-bridge-backend-DtRT--yn.mjs +1 -0
  106. package/dist/node-pty-backend-C72EgRws.mjs +1 -0
  107. package/dist/{package-Bz938q5F.d.mts → package-BswWlFSn.d.mts} +2 -2
  108. package/dist/{package-kkPGlxMm.mjs → package-CeEUAKHI.mjs} +1 -1
  109. package/dist/package.json +1 -1
  110. package/dist/rules/index.d.mts +1 -1
  111. package/dist/rules/schemas.d.mts +1 -1
  112. package/dist/runtime-bun/index.d.mts +5 -0
  113. package/dist/runtime-bun/index.mjs +1 -1
  114. package/dist/runtime-node/bridge/pty-bridge.cjs +222 -0
  115. package/dist/runtime-node/code-execution/index.d.mts +2 -2
  116. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  117. package/dist/runtime-node/extension-validation.d.mts +1 -1
  118. package/dist/runtime-node/extension-validation.mjs +1 -1
  119. package/dist/runtime-node/index.d.mts +5 -5
  120. package/dist/runtime-node/index.mjs +25 -21
  121. package/dist/runtime-node/makaio-config.d.mts +1 -1
  122. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  123. package/dist/{schemas-Dqro7M1d.d.mts → schemas-BOT1HUv6.d.mts} +154 -154
  124. package/dist/{schemas-C_0aO9S1.d.mts → schemas-Bv7ecHxV.d.mts} +17 -17
  125. package/dist/{schemas-BLxdGZkr.d.mts → schemas-BzSB9u68.d.mts} +4 -4
  126. package/dist/service-base/index.d.mts +35 -5
  127. package/dist/service-base/index.mjs +1 -1
  128. package/dist/services/adapter-runtime/index.d.mts +3 -3
  129. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  130. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  131. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  132. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  133. package/dist/services/agent-runtime/index.d.mts +2 -2
  134. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  135. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  136. package/dist/services/capability/index.d.mts +2 -2
  137. package/dist/services/code-execution/index.d.mts +1 -1
  138. package/dist/services/codebase/index.d.mts +2 -2
  139. package/dist/services/codebase/namespace.d.mts +1 -1
  140. package/dist/services/codebase/schemas.d.mts +1 -1
  141. package/dist/services/compression/index.d.mts +2 -2
  142. package/dist/services/compression/namespace.d.mts +1 -1
  143. package/dist/services/compression/schemas.d.mts +1 -1
  144. package/dist/services/context-rules/index.d.mts +4 -4
  145. package/dist/services/execution-target/index.d.mts +3 -3
  146. package/dist/services/execution-target/namespace.d.mts +1 -1
  147. package/dist/services/execution-target/schemas.d.mts +1 -1
  148. package/dist/services/filesystem/index.d.mts +1 -1
  149. package/dist/services/filesystem/index.mjs +1 -1
  150. package/dist/services/filesystem/namespace.d.mts +6 -6
  151. package/dist/services/filesystem/schemas.d.mts +3 -3
  152. package/dist/services/harness/index.d.mts +3 -3
  153. package/dist/services/index.d.mts +131 -131
  154. package/dist/services/index.mjs +1 -1
  155. package/dist/services/log-import/browser.d.mts +2 -2
  156. package/dist/services/log-import/index.d.mts +2 -2
  157. package/dist/services/log-import/log-import.d.mts +1 -1
  158. package/dist/services/log-import/namespace.d.mts +2 -2
  159. package/dist/services/log-import/schemas.d.mts +1 -1
  160. package/dist/services/materialization/index.d.mts +1 -1
  161. package/dist/services/model-registry/index.d.mts +1 -1
  162. package/dist/services/preferences/index.d.mts +2 -2
  163. package/dist/services/preferences/schemas.d.mts +1 -1
  164. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  165. package/dist/services/provider-context/index.d.mts +1 -1
  166. package/dist/services/session/handlers/index.d.mts +1 -1
  167. package/dist/services/session/index.d.mts +9 -9
  168. package/dist/services/session/index.mjs +1 -1
  169. package/dist/services/session/messages/namespace.d.mts +1 -1
  170. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  171. package/dist/services/session/session-events/namespace.d.mts +1 -1
  172. package/dist/services/session/storage/namespace.d.mts +1 -1
  173. package/dist/services/session/storage/schema.d.mts +1 -1
  174. package/dist/services/session/testing/index.mjs +1 -1
  175. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  176. package/dist/services/session/turns/namespace.d.mts +1 -1
  177. package/dist/services/session-editor/index.d.mts +1 -1
  178. package/dist/services/settings/index.d.mts +3 -3
  179. package/dist/services/settings/namespace.d.mts +14 -14
  180. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  181. package/dist/services/settings/storage/index.d.mts +3 -3
  182. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  183. package/dist/services/subagent/index.d.mts +1 -1
  184. package/dist/services/subagent-template/index.d.mts +2 -2
  185. package/dist/services/subagent-template/namespace.d.mts +1 -1
  186. package/dist/services/subagent-template/schemas.d.mts +1 -1
  187. package/dist/services/tool-approval/index.d.mts +1 -1
  188. package/dist/services/tool-approval/index.mjs +1 -1
  189. package/dist/services/tools/index.d.mts +1 -1
  190. package/dist/services/tools/index.mjs +1 -1
  191. package/dist/services/tray-menu/index.d.mts +3 -3
  192. package/dist/services/tray-menu/namespace.d.mts +1 -1
  193. package/dist/services/tray-menu/schemas.d.mts +1 -1
  194. package/dist/services/turn/index.d.mts +1 -1
  195. package/dist/services/turn/namespace.d.mts +1 -1
  196. package/dist/services/workflow-transitions/index.d.mts +1 -1
  197. package/dist/services/workflow-transitions/index.mjs +1 -1
  198. package/dist/{session-CMbztxNO.mjs → session-D38UuGGX.mjs} +1 -1
  199. package/dist/storage/drizzle/client.d.mts +1 -1
  200. package/dist/storage/drizzle/index.d.mts +1 -1
  201. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  202. package/dist/storage/handlers/index.d.mts +1 -1
  203. package/dist/{tool-approval-service-CRo3fZRF.mjs → tool-approval-service-vG2mEC9p.mjs} +1 -1
  204. package/dist/{tools-CKaxi3Mb.mjs → tools-ByDy0ueE.mjs} +1 -1
  205. package/dist/{transition-BVB-sXKI.d.mts → transition-B0qsutdE.d.mts} +2 -2
  206. package/dist/{types-CVOL6fAm.d.mts → types-BP_P1izV.d.mts} +340 -340
  207. package/dist/{types-Cues-R7O2.d.mts → types-DyBD5MdV2.d.mts} +1 -1
  208. package/dist/ui-kernel/index.d.mts +1 -1
  209. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  210. package/dist/{view-builder-CbZtzUZI.d.mts → view-builder-nKz9DKfE.d.mts} +5 -5
  211. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  212. package/dist/workflow-engine/index.d.mts +62 -62
  213. package/dist/workflow-engine/index.mjs +1 -1
  214. package/dist/workflow-engine/package.d.mts +1 -1
  215. package/dist/workflow-engine/package.mjs +1 -1
  216. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  217. package/dist/workflow-engine/testing/conformance.d.mts +1 -1
  218. package/dist/workflow-engine/testing/index.d.mts +1 -1
  219. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  220. package/dist/{workflow-transitions-t0ORS1F5.mjs → workflow-transitions-UOXY-VZa.mjs} +1 -1
  221. package/package.json +2 -1
  222. package/dist/bus-ceMF9rsq.mjs +0 -9
  223. package/dist/filesystem-service-ClZEAw7E.mjs +0 -1
  224. package/dist/native-session-supervisor-DtuN1Dgs.mjs +0 -1
  225. package/dist/{adapter-binding-CaYBrIkL.d.mts → adapter-binding-DF-j-XHg.d.mts} +0 -0
  226. package/dist/{base-orchestrator-1ofFsqUz.d.mts → base-orchestrator-FNFJ6Cwf.d.mts} +0 -0
  227. package/dist/{capability-service-CUN0MIS7.d.mts → capability-service-BHcRd1td.d.mts} +0 -0
  228. package/dist/{client-BY3sBW2L.d.mts → client-Sx_N8LXo.d.mts} +0 -0
  229. package/dist/{client-binary-version-verifier-BeO4Eptw.d.mts → client-binary-version-verifier-C8gtKQFO.d.mts} +0 -0
  230. package/dist/{clients-namespace-D92YsbKI.d.mts → clients-namespace-CASHxXUM.d.mts} +0 -0
  231. package/dist/{config-namespace-OEckUfVE.d.mts → config-namespace-CeTODseW.d.mts} +0 -0
  232. package/dist/{credential-ref-w4ZYpYW0.d.mts → credential-ref-MsnUkz9G.d.mts} +0 -0
  233. package/dist/{definition-DLJg-P4G.d.mts → definition-D2SO1tX-.d.mts} +0 -0
  234. package/dist/{execution-attempt-repository-DOb5V4N2.d.mts → execution-attempt-repository-C2XKRZ3O.d.mts} +0 -0
  235. package/dist/{extension-discovery-Rup-gANp.d.mts → extension-discovery-BqSPn73R.d.mts} +0 -0
  236. package/dist/{filesystem-service-BmavE-uO.d.mts → filesystem-service-5Ecp3nSV.d.mts} +0 -0
  237. package/dist/{index-DubyRZD9.d.mts → index-62OoZLGr.d.mts} +0 -0
  238. package/dist/{index-DEx4ZFkz.d.mts → index-BCuWtlv5.d.mts} +0 -0
  239. package/dist/{index-BneZFJ7x.d.mts → index-BEPn58tG.d.mts} +0 -0
  240. package/dist/{index-CpN2C9jq.d.mts → index-BOxMyaqG.d.mts} +0 -0
  241. package/dist/{index-fxh7TB0q.d.mts → index-BTd3fTkW.d.mts} +0 -0
  242. package/dist/{index--gbsE1W0.d.mts → index-B_Hf4XPX.d.mts} +0 -0
  243. package/dist/{index-BQYGOXY5.d.mts → index-BjrbddkU.d.mts} +0 -0
  244. package/dist/{index-D7smT-YD.d.mts → index-BleQ0SR7.d.mts} +0 -0
  245. package/dist/{index-CvdvuhTL2.d.mts → index-By1UhKYU2.d.mts} +0 -0
  246. package/dist/{index-YOXWpZAS.d.mts → index-CURT4JaX.d.mts} +0 -0
  247. package/dist/{index-CCTzitBA.d.mts → index-Ce6-SiB3.d.mts} +0 -0
  248. package/dist/{index-DxkSkszz.d.mts → index-CwVSr7Ow.d.mts} +0 -0
  249. package/dist/{index-C2StVLk4.d.mts → index-DAqAa9aL.d.mts} +0 -0
  250. package/dist/{index-CsRPJ9FV.d.mts → index-DDnY7JhE.d.mts} +0 -0
  251. package/dist/{index-DTvYp2GT.d.mts → index-DMgbNdEU.d.mts} +0 -0
  252. package/dist/{index-BD1SbHpP.d.mts → index-DOui-7u2.d.mts} +0 -0
  253. package/dist/{index-BujgCaKt.d.mts → index-DsmyofuM.d.mts} +0 -0
  254. package/dist/{index-DwOpaQAE.d.mts → index-N0-r5Hcd.d.mts} +0 -0
  255. package/dist/{index-Cj_V1aRL.d.mts → index-_OD_Nz3m.d.mts} +0 -0
  256. package/dist/{index-TBJ1kIGA.d.mts → index-rik4Uc5G.d.mts} +0 -0
  257. package/dist/{index-B36rL4gp.d.mts → index-w1AeWV4F.d.mts} +0 -0
  258. package/dist/{json-value-Bjl8jzom.d.mts → json-value--pv1-OHx.d.mts} +0 -0
  259. package/dist/{namespace-DudchWPb.d.mts → namespace-6O0G1s65.d.mts} +0 -0
  260. package/dist/{namespace-hlhPqSsw.d.mts → namespace-CHSwZhH7.d.mts} +0 -0
  261. package/dist/{namespace-D09uQ231.d.mts → namespace-CJ5sH_Bp.d.mts} +0 -0
  262. package/dist/{namespace-DHLwz4o3.d.mts → namespace-CL9OyrHs.d.mts} +0 -0
  263. package/dist/{namespace-DHbrNQYD.d.mts → namespace-D38Fmd0E.d.mts} +0 -0
  264. package/dist/{namespace-MW-Eg_yB.d.mts → namespace-D6W4Erwp.d.mts} +0 -0
  265. package/dist/{namespace-CxEQv9iZ.d.mts → namespace-DbtfwD5Z.d.mts} +0 -0
  266. package/dist/{namespace-Dz5_Hrz7.d.mts → namespace-QV_2m25r.d.mts} +0 -0
  267. package/dist/{namespace-DyD06b5-.d.mts → namespace-Sd6qj6w22.d.mts} +0 -0
  268. package/dist/{orchestrator-shared-ChU5qRSe.d.mts → orchestrator-shared-Bvo0u-1D.d.mts} +0 -0
  269. package/dist/{packages-D2s51nGU.d.mts → packages-KX9yofCa.d.mts} +0 -0
  270. package/dist/{providers-namespace-BLVt8OyP.d.mts → providers-namespace-B-l-OQZk.d.mts} +0 -0
  271. package/dist/{runtime-inputs-BU_kBrP7.d.mts → runtime-inputs-B7nWstrY.d.mts} +0 -0
  272. package/dist/{schema-FY0EakKe.d.mts → schema-De6d0FWI.d.mts} +0 -0
  273. package/dist/{schemas-CqawCYTY.d.mts → schemas-BGTuiO3u.d.mts} +0 -0
  274. package/dist/{schemas-3KTmPuZg.d.mts → schemas-BXkSHQaF.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-Cl7fPlRv.d.mts → schemas-CjFPsYeV.d.mts} +0 -0
  278. package/dist/{schemas-BzB6z9oX2.d.mts → schemas-DPtj1sPC2.d.mts} +0 -0
  279. package/dist/{schemas-CBBzvIh0.d.mts → schemas-Dxfk39-v.d.mts} +0 -0
  280. package/dist/{schemas-BegArpU_.d.mts → schemas-feb64ScA.d.mts} +0 -0
  281. package/dist/{schemas-CU_52YMQ.d.mts → schemas-rliUGyrt.d.mts} +7 -7
  282. /package/dist/{server-lifecycle-CTJvpdeL.d.mts → server-lifecycle-BINetU26.d.mts} +0 -0
  283. /package/dist/{session-lineage-CjE3qppC.d.mts → session-lineage-CmP7L5g2.d.mts} +0 -0
  284. /package/dist/{src-C0sw_Vs_.mjs → src-CkKKoY0M.mjs} +0 -0
  285. /package/dist/{storage-namespace-B5r_ScUz.d.mts → storage-namespace-CwwiV3kt.d.mts} +0 -0
  286. /package/dist/{storage-namespace-definition-DiYr8UNl.d.mts → storage-namespace-definition-DV3IipmH.d.mts} +0 -0
  287. /package/dist/{types-DEGuc-fn.d.mts → types-B_mVEuYd.d.mts} +0 -0
  288. /package/dist/{types-CpEoQapk.d.mts → types-BrsmFcWl.d.mts} +0 -0
  289. /package/dist/{types-DciLiPMd.d.mts → types-CjoaGe_E.d.mts} +0 -0
  290. /package/dist/{types-BSx8YYlc.d.mts → types-CqVuKsLC.d.mts} +0 -0
  291. /package/dist/{types-Cuhnt15L.d.mts → types-D7WtaoMR.d.mts} +0 -0
  292. /package/dist/{window-registry-C3W2wtlX.d.mts → window-registry-1jI3f9ir.d.mts} +0 -0
@@ -141,15 +141,16 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
141
141
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
142
142
  name: z.ZodString;
143
143
  clientId: z.ZodOptional<z.ZodString>;
144
+ adapterName: z.ZodOptional<z.ZodString>;
144
145
  nativeTools: z.ZodObject<{
145
146
  enabled: z.ZodArray<z.ZodString>;
146
147
  disabled: z.ZodArray<z.ZodString>;
147
148
  }, z.core.$strip>;
149
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
148
150
  registryTools: z.ZodObject<{
149
151
  enabled: z.ZodArray<z.ZodString>;
150
152
  disabled: z.ZodArray<z.ZodString>;
151
153
  }, z.core.$strip>;
152
- adapterName: z.ZodOptional<z.ZodString>;
153
154
  skills: z.ZodOptional<z.ZodObject<{
154
155
  enabled: z.ZodArray<z.ZodString>;
155
156
  disabled: z.ZodArray<z.ZodString>;
@@ -175,7 +176,6 @@ declare const HarnessDefinitionCreateSchema: z.ZodObject<{
175
176
  "always-ask": "always-ask";
176
177
  "full-access": "full-access";
177
178
  }>>>;
178
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
179
179
  approvalPolicy: z.ZodOptional<z.ZodEnum<{
180
180
  reject: "reject";
181
181
  "always-ask": "always-ask";
@@ -317,15 +317,16 @@ declare const HarnessSchemas: {
317
317
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
318
318
  name: z.ZodString;
319
319
  clientId: z.ZodOptional<z.ZodString>;
320
+ adapterName: z.ZodOptional<z.ZodString>;
320
321
  nativeTools: z.ZodObject<{
321
322
  enabled: z.ZodArray<z.ZodString>;
322
323
  disabled: z.ZodArray<z.ZodString>;
323
324
  }, z.core.$strip>;
325
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
324
326
  registryTools: z.ZodObject<{
325
327
  enabled: z.ZodArray<z.ZodString>;
326
328
  disabled: z.ZodArray<z.ZodString>;
327
329
  }, z.core.$strip>;
328
- adapterName: z.ZodOptional<z.ZodString>;
329
330
  skills: z.ZodOptional<z.ZodObject<{
330
331
  enabled: z.ZodArray<z.ZodString>;
331
332
  disabled: z.ZodArray<z.ZodString>;
@@ -351,7 +352,6 @@ declare const HarnessSchemas: {
351
352
  "always-ask": "always-ask";
352
353
  "full-access": "full-access";
353
354
  }>>>;
354
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
355
355
  approvalPolicy: z.ZodOptional<z.ZodEnum<{
356
356
  reject: "reject";
357
357
  "always-ask": "always-ask";
@@ -760,15 +760,16 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
760
760
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
761
761
  name: z.ZodString;
762
762
  clientId: z.ZodOptional<z.ZodString>;
763
+ adapterName: z.ZodOptional<z.ZodString>;
763
764
  nativeTools: z.ZodObject<{
764
765
  enabled: z.ZodArray<z.ZodString>;
765
766
  disabled: z.ZodArray<z.ZodString>;
766
767
  }, z.core.$strip>;
768
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
767
769
  registryTools: z.ZodObject<{
768
770
  enabled: z.ZodArray<z.ZodString>;
769
771
  disabled: z.ZodArray<z.ZodString>;
770
772
  }, z.core.$strip>;
771
- adapterName: z.ZodOptional<z.ZodString>;
772
773
  skills: z.ZodOptional<z.ZodObject<{
773
774
  enabled: z.ZodArray<z.ZodString>;
774
775
  disabled: z.ZodArray<z.ZodString>;
@@ -794,7 +795,6 @@ declare const HarnessNamespace: _$_makaio_core0.BusNamespaceDefinition<"harness"
794
795
  "always-ask": "always-ask";
795
796
  "full-access": "full-access";
796
797
  }>>>;
797
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
798
798
  approvalPolicy: z.ZodOptional<z.ZodEnum<{
799
799
  reject: "reject";
800
800
  "always-ask": "always-ask";
@@ -1203,15 +1203,16 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
1203
1203
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1204
1204
  name: z.ZodString;
1205
1205
  clientId: z.ZodOptional<z.ZodString>;
1206
+ adapterName: z.ZodOptional<z.ZodString>;
1206
1207
  nativeTools: z.ZodObject<{
1207
1208
  enabled: z.ZodArray<z.ZodString>;
1208
1209
  disabled: z.ZodArray<z.ZodString>;
1209
1210
  }, z.core.$strip>;
1211
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1210
1212
  registryTools: z.ZodObject<{
1211
1213
  enabled: z.ZodArray<z.ZodString>;
1212
1214
  disabled: z.ZodArray<z.ZodString>;
1213
1215
  }, z.core.$strip>;
1214
- adapterName: z.ZodOptional<z.ZodString>;
1215
1216
  skills: z.ZodOptional<z.ZodObject<{
1216
1217
  enabled: z.ZodArray<z.ZodString>;
1217
1218
  disabled: z.ZodArray<z.ZodString>;
@@ -1237,7 +1238,6 @@ declare const HarnessSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
1237
1238
  "always-ask": "always-ask";
1238
1239
  "full-access": "full-access";
1239
1240
  }>>>;
1240
- credentials: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1241
1241
  approvalPolicy: z.ZodOptional<z.ZodEnum<{
1242
1242
  reject: "reject";
1243
1243
  "always-ask": "always-ask";
@@ -1,4 +1,4 @@
1
- import { t as CapabilityService } from "./capability-service-CUN0MIS7.mjs";
1
+ import { t as CapabilityService } from "./capability-service-BHcRd1td.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";
@@ -55,8 +55,8 @@ declare const LogImporterInfoSchema: z.ZodObject<{
55
55
  adapterName: z.ZodString;
56
56
  displayName: z.ZodString;
57
57
  source: z.ZodEnum<{
58
- extension: "extension";
59
58
  adapter: "adapter";
59
+ extension: "extension";
60
60
  }>;
61
61
  logFilePattern: z.ZodString;
62
62
  isRunning: z.ZodBoolean;
@@ -197,8 +197,8 @@ declare const MaterializationSchemas: {
197
197
  template: z.ZodString;
198
198
  }, z.core.$strip>], "kind">;
199
199
  appliesTo: z.ZodArray<z.ZodEnum<{
200
- artifact: "artifact";
201
200
  workpiece: "workpiece";
201
+ artifact: "artifact";
202
202
  surface: "surface";
203
203
  }>>;
204
204
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -239,8 +239,8 @@ declare const MaterializationSchemas: {
239
239
  template: z.ZodString;
240
240
  }, z.core.$strip>], "kind">;
241
241
  appliesTo: z.ZodArray<z.ZodEnum<{
242
- artifact: "artifact";
243
242
  workpiece: "workpiece";
243
+ artifact: "artifact";
244
244
  surface: "surface";
245
245
  }>>;
246
246
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -439,8 +439,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
439
439
  template: z.ZodString;
440
440
  }, z.core.$strip>], "kind">;
441
441
  appliesTo: z.ZodArray<z.ZodEnum<{
442
- artifact: "artifact";
443
442
  workpiece: "workpiece";
443
+ artifact: "artifact";
444
444
  surface: "surface";
445
445
  }>>;
446
446
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -481,8 +481,8 @@ declare const MaterializationNamespace: _$_makaio_core0.BusNamespaceDefinition<"
481
481
  template: z.ZodString;
482
482
  }, z.core.$strip>], "kind">;
483
483
  appliesTo: z.ZodArray<z.ZodEnum<{
484
- artifact: "artifact";
485
484
  workpiece: "workpiece";
485
+ artifact: "artifact";
486
486
  surface: "surface";
487
487
  }>>;
488
488
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -693,8 +693,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
693
693
  template: z.ZodString;
694
694
  }, z.core.$strip>], "kind">;
695
695
  appliesTo: z.ZodArray<z.ZodEnum<{
696
- artifact: "artifact";
697
696
  workpiece: "workpiece";
697
+ artifact: "artifact";
698
698
  surface: "surface";
699
699
  }>>;
700
700
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -735,8 +735,8 @@ declare const MaterializationSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_c
735
735
  template: z.ZodString;
736
736
  }, z.core.$strip>], "kind">;
737
737
  appliesTo: z.ZodArray<z.ZodEnum<{
738
- artifact: "artifact";
739
738
  workpiece: "workpiece";
739
+ artifact: "artifact";
740
740
  surface: "surface";
741
741
  }>>;
742
742
  valueMapping: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1,4 +1,4 @@
1
- import { n as ExtensionContext$1, r as NodeExtensionContext$1 } from "./extension-context-C2qColIL.mjs";
1
+ import { n as ExtensionContext$1, r as NodeExtensionContext$1 } from "./extension-context-CmhBCbbq.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4
 
@@ -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-Cuhnt15L.mjs";
2
- import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-D09uQ231.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-D7WtaoMR.mjs";
2
+ import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-CJ5sH_Bp.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-D09uQ231.mjs";
1
+ import { n as CliRpcSubjects, t as CliNamespace } from "../../namespace-CJ5sH_Bp.mjs";
2
2
  export { CliNamespace, CliRpcSubjects };
@@ -1,3 +1,3 @@
1
- import { d as TransitionOutcome } from "../../index-D9ExWo6a2.mjs";
2
- import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-D17f9C3Y.mjs";
1
+ import { d as TransitionOutcome } from "../../index-8HtSFrzb.mjs";
2
+ import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, l as ExtensionCoordinatorOptions, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../../index-J6C4thLY.mjs";
3
3
  export { ContributionProcessor, ExtensionConfigResolution, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionOperatorConfigError, ExtensionRuntimeSurface, InstalledExtensionCatalogSource, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, SetEnabledResult, TransitionOutcome, coalesceExtensionOverrides, filterEligibleExtensions, resolveInstalledExtensionRecord };
@@ -1,8 +1,8 @@
1
- import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-D9ExWo6a2.mjs";
2
- import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-D17f9C3Y.mjs";
3
- import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-C3W2wtlX.mjs";
4
- import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-DubyRZD9.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-Cj_V1aRL.mjs";
1
+ import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, c as ExtensionSubjects, d as TransitionOutcome, g as ComponentState, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, v as ExtensionInfo, y as ExtensionInfoSchema } from "../index-8HtSFrzb.mjs";
2
+ import { a as SetEnabledResult, c as ContributionProcessor, d as InstalledExtensionCatalogSource, f as KernelExtensionContext, h as RuntimeEnvironment, i as ExtensionCoordinator, m as RuntimeCapability, n as coalesceExtensionOverrides, o as ExtensionConfigResolution, p as KernelMakaioExtension, r as filterEligibleExtensions, s as ExtensionOperatorConfigError, t as resolveInstalledExtensionRecord, u as ExtensionRuntimeSurface } from "../index-J6C4thLY.mjs";
3
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-1jI3f9ir.mjs";
4
+ import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../index-62OoZLGr.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-_OD_Nz3m.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-DubyRZD9.mjs";
1
+ import { n as KernelSubjects, r as KernelSchemas, t as KernelNamespace } from "../../index-62OoZLGr.mjs";
2
2
  export { KernelNamespace, KernelSchemas, KernelSubjects };
@@ -1,2 +1,2 @@
1
- import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-D9ExWo6a2.mjs";
1
+ import { C as ServiceInfoSchema, S as ServiceInfo, _ as ComponentStateSchema, a as InstalledExtensionRecord, b as ExtensionWarningEntry, c as ExtensionSubjects, d as TransitionOutcome, f as TransitionOutcomeSchema, g as ComponentState, h as ComponentInfoSchema, i as InstalledExtensionOriginSchema, l as SetEnabledReason, m as ComponentInfo, n as InstalledExtensionCatalogEntrySchema, o as InstalledExtensionRecordSchema, p as ComponentIdentitySchema, r as InstalledExtensionOrigin, s as ExtensionNamespace, t as InstalledExtensionCatalogEntry, u as SetEnabledReasonSchema, v as ExtensionInfo, x as ExtensionWarningEntrySchema, y as ExtensionInfoSchema } from "../../index-8HtSFrzb.mjs";
2
2
  export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, InstalledExtensionCatalogEntry, InstalledExtensionCatalogEntrySchema, InstalledExtensionOrigin, InstalledExtensionOriginSchema, InstalledExtensionRecord, InstalledExtensionRecordSchema, ServiceInfo, ServiceInfoSchema, SetEnabledReason, SetEnabledReasonSchema, TransitionOutcome, TransitionOutcomeSchema };
@@ -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-Cj_V1aRL.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-_OD_Nz3m.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-C3W2wtlX.mjs";
1
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-1jI3f9ir.mjs";
2
2
  export { STYLE_DEFAULTS, type WindowRegistration, WindowRegistry, type WindowStyle };
@@ -1,4 +1,4 @@
1
- import { i as ExtensionEntrypointModule, t as DiscoveredExtension } from "./extension-discovery-Rup-gANp.mjs";
1
+ import { i as ExtensionEntrypointModule, t as DiscoveredExtension } from "./extension-discovery-BqSPn73R.mjs";
2
2
  import { KernelMakaioExtension } from "@makaio/framework/kernel";
3
3
  import { CliContribution } from "@makaio/framework/kernel/cli";
4
4
 
@@ -1 +1 @@
1
- import{t as e}from"./descriptor-to-package-BPIArq6N.mjs";import{n as t}from"./extension-package-provenance-ClpN3GHp.mjs";import{pathToFileURL as n}from"node:url";import*as r from"node:path";import*as i from"node:fs";import{isExtensionManifestLike as a,normalizeExtensionManifestExport as o,versionSatisfies as s}from"@makaio/framework/contracts";import{AutomationCronSchedulerToken as c}from"@makaio/framework/services/automation-trigger";var l=class extends Error{};async function u(e,t){let{frameworkVersion:n,importModule:r=k}=t,i=[],a=[],o=new Map,s;for(let t of e){let{descriptor:e,extensionPath:c}=t,l=`[extensions] ${e.name}@${e.version}`;if(!_(t,n))continue;if(e.execution===`detached`){let t;try{s??=(await import(`./detached-extension-handle-W5_yfCyE.mjs`)).createDetachedExtensionPackage,t=s(e,c)}catch(e){console.warn(`${l}: failed to synthesize detached extension package:`,e instanceof Error?e.message:e);continue}i.push(t),e.config?.defaults&&o.set(e.name,e.config.defaults);continue}if(!e.entrypoints.server){!e.entrypoints.browser&&!e.entrypoints.cli&&console.warn(`${l}: no executable entrypoint declared, skipping`);continue}let u;if(t.preloadedModule)u=t.preloadedModule;else try{let t=w(`server`,e.entrypoints.server,c);if(!t){console.warn(`${l}: server entrypoint could not be resolved within extension directory, skipping`);continue}u=await r(t)}catch(e){console.warn(`${l}: failed to import server entry:`,e instanceof Error?e.message:e);continue}let f=p(u.default,e.name,l);f&&(i.push(...f),d(u,f,l,a),e.config?.defaults&&o.set(e.name,e.config.defaults))}return{packages:i,automationCronSchedulerHostPolicies:a,configDefaults:o}}function d(e,t,n,r){let i=e.automationCronSchedulerHostPolicy;if(i===void 0)return;if(!f(i))throw new l(`${n}: named export 'automationCronSchedulerHostPolicy' is not a valid owner-anchored scheduler policy`);let a=t.find(({name:e})=>e===i.ownerPackageName);if(!a)throw new l(`${n}: automation cron scheduler policy owner '${i.ownerPackageName}' is not a normalized descriptor default package`);if(i.package.name!==c.name)throw new l(`${n}: automation cron scheduler policy package '${i.package.name}' must be named '${c.name}'`);r.push({ownerPackage:a,package:i.package})}function f(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return typeof t.ownerPackageName==`string`&&y(t.package)}function p(e,t,n){return o(e,t,e=>console.warn(`${n}: ${e}`))}async function m(e,n,r){let{importModule:i=k,frameworkVersion:a}=r,o=[...n],s=new Map;o.forEach((e,t)=>{s.has(e.name)||s.set(e.name,t)});let c=new Map;for(let n of e){let e=h(n,a);if(!e)continue;let r=`[extensions] ${n.descriptor.name}@${n.descriptor.version}`,l=s.get(n.descriptor.name),u=l===void 0?void 0:o[l];if(u?.cli)continue;let d=await v(n,e,r,i);if(!d)continue;if(!b(d.default)){console.warn(`${r}: default export is not a valid CliContribution, skipping`);continue}let f=n.descriptor.cli?.name??n.descriptor.name;if(d.default.name!==f){console.warn(`${r}: imported CLI contribution name '${d.default.name}' does not match descriptor CLI name '${f}', skipping`);continue}if(l!==void 0&&u!==void 0){o[l]=t({...u,cli:d.default},u);continue}if(n.descriptor.entrypoints?.server||n.descriptor.entrypoints?.browser){console.warn(`${r}: server or browser entry is present but no package was loaded, skipping CLI-only synthesis`);continue}s.set(n.descriptor.name,o.length),o.push(g(n,d.default)),n.descriptor.config?.defaults&&c.set(n.descriptor.name,n.descriptor.config.defaults)}return{packages:o,configDefaults:c}}function h(e,t){if(_(e,t)&&e.descriptor.execution!==`detached`)return e.descriptor.entrypoints?.cli}function g(t,n){return{...e(t.descriptor),cli:n}}function _(e,t){let{descriptor:n}=e,r=`[extensions] ${n.name}@${n.version}`;try{return s(t,n.makaio.framework)?!0:(console.warn(`${r}: requires framework ${n.makaio.framework}, current is ${t}, skipping`),!1)}catch(e){return console.warn(`${r}: invalid version metadata (framework=${t}, range=${n.makaio.framework}), skipping:`,e instanceof Error?e.message:e),!1}}async function v(e,t,n,r){try{let i=w(`cli`,t,e.extensionPath);if(!i){console.warn(`${n}: cli entrypoint has no resolvable candidate within extension directory, skipping`);return}return await r(i)}catch(e){console.warn(`${n}: failed to import cli entry:`,e instanceof Error?e.message:e);return}}function y(e){return a(e)}function b(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name!=`string`||typeof t.description!=`string`||!Array.isArray(t.subcommands)||`interactive`in t&&t.interactive!==void 0&&typeof t.interactive!=`function`?!1:t.subcommands.length===0?typeof t.interactive==`function`:t.subcommands.every(x)}function x(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name==`string`&&typeof t.description==`string`&&S(t.schema)&&typeof t.handler==`function`}function S(e){return typeof e==`object`&&!!e&&typeof e.safeParse==`function`}function C(e,t){return t===!0?e:t}function w(e,t,n){if(!r.isAbsolute(n))return;let i=C(e,t),a=O(n),o=r.resolve(n,`src`,`${i}.ts`);if(E(o,a))return o;let s=r.resolve(n,`dist`,`${i}.mjs`);if(E(s,a))return s}function T(e,t){let n=O(t);return D(O(e),n)}function E(e,t){try{return D(i.realpathSync(e),t)}catch{return!1}}function D(e,t){return e.startsWith(t+r.sep)}function O(e){let t=r.resolve(e);try{return i.realpathSync(t)}catch{return t}}async function k(e){return await import(n(e).href)}export{_ as a,u as c,b as i,p as l,m as n,y as o,C as r,T as s,l as t,w as u};
1
+ import{t as e}from"./descriptor-to-package-BPIArq6N.mjs";import{n as t}from"./extension-package-provenance-ClpN3GHp.mjs";import{pathToFileURL as n}from"node:url";import*as r from"node:path";import*as i from"node:fs";import{isExtensionManifestLike as a,normalizeExtensionManifestExport as o,versionSatisfies as s}from"@makaio/framework/contracts";import{AutomationCronSchedulerToken as c}from"@makaio/framework/services/automation-trigger";var l=class extends Error{};async function u(e,t){let{frameworkVersion:n,importModule:r=k}=t,i=[],a=[],o=new Map,s;for(let t of e){let{descriptor:e,extensionPath:c}=t,l=`[extensions] ${e.name}@${e.version}`;if(!_(t,n))continue;if(e.execution===`detached`){let t;try{s??=(await import(`./detached-extension-handle-QrXVNUR2.mjs`)).createDetachedExtensionPackage,t=s(e,c)}catch(e){console.warn(`${l}: failed to synthesize detached extension package:`,e instanceof Error?e.message:e);continue}i.push(t),e.config?.defaults&&o.set(e.name,e.config.defaults);continue}if(!e.entrypoints.server){!e.entrypoints.browser&&!e.entrypoints.cli&&console.warn(`${l}: no executable entrypoint declared, skipping`);continue}let u;if(t.preloadedModule)u=t.preloadedModule;else try{let t=w(`server`,e.entrypoints.server,c);if(!t){console.warn(`${l}: server entrypoint could not be resolved within extension directory, skipping`);continue}u=await r(t)}catch(e){console.warn(`${l}: failed to import server entry:`,e instanceof Error?e.message:e);continue}let f=p(u.default,e.name,l);f&&(i.push(...f),d(u,f,l,a),e.config?.defaults&&o.set(e.name,e.config.defaults))}return{packages:i,automationCronSchedulerHostPolicies:a,configDefaults:o}}function d(e,t,n,r){let i=e.automationCronSchedulerHostPolicy;if(i===void 0)return;if(!f(i))throw new l(`${n}: named export 'automationCronSchedulerHostPolicy' is not a valid owner-anchored scheduler policy`);let a=t.find(({name:e})=>e===i.ownerPackageName);if(!a)throw new l(`${n}: automation cron scheduler policy owner '${i.ownerPackageName}' is not a normalized descriptor default package`);if(i.package.name!==c.name)throw new l(`${n}: automation cron scheduler policy package '${i.package.name}' must be named '${c.name}'`);r.push({ownerPackage:a,package:i.package})}function f(e){if(!e||typeof e!=`object`||Array.isArray(e))return!1;let t=e;return typeof t.ownerPackageName==`string`&&y(t.package)}function p(e,t,n){return o(e,t,e=>console.warn(`${n}: ${e}`))}async function m(e,n,r){let{importModule:i=k,frameworkVersion:a}=r,o=[...n],s=new Map;o.forEach((e,t)=>{s.has(e.name)||s.set(e.name,t)});let c=new Map;for(let n of e){let e=h(n,a);if(!e)continue;let r=`[extensions] ${n.descriptor.name}@${n.descriptor.version}`,l=s.get(n.descriptor.name),u=l===void 0?void 0:o[l];if(u?.cli)continue;let d=await v(n,e,r,i);if(!d)continue;if(!b(d.default)){console.warn(`${r}: default export is not a valid CliContribution, skipping`);continue}let f=n.descriptor.cli?.name??n.descriptor.name;if(d.default.name!==f){console.warn(`${r}: imported CLI contribution name '${d.default.name}' does not match descriptor CLI name '${f}', skipping`);continue}if(l!==void 0&&u!==void 0){o[l]=t({...u,cli:d.default},u);continue}if(n.descriptor.entrypoints?.server||n.descriptor.entrypoints?.browser){console.warn(`${r}: server or browser entry is present but no package was loaded, skipping CLI-only synthesis`);continue}s.set(n.descriptor.name,o.length),o.push(g(n,d.default)),n.descriptor.config?.defaults&&c.set(n.descriptor.name,n.descriptor.config.defaults)}return{packages:o,configDefaults:c}}function h(e,t){if(_(e,t)&&e.descriptor.execution!==`detached`)return e.descriptor.entrypoints?.cli}function g(t,n){return{...e(t.descriptor),cli:n}}function _(e,t){let{descriptor:n}=e,r=`[extensions] ${n.name}@${n.version}`;try{return s(t,n.makaio.framework)?!0:(console.warn(`${r}: requires framework ${n.makaio.framework}, current is ${t}, skipping`),!1)}catch(e){return console.warn(`${r}: invalid version metadata (framework=${t}, range=${n.makaio.framework}), skipping:`,e instanceof Error?e.message:e),!1}}async function v(e,t,n,r){try{let i=w(`cli`,t,e.extensionPath);if(!i){console.warn(`${n}: cli entrypoint has no resolvable candidate within extension directory, skipping`);return}return await r(i)}catch(e){console.warn(`${n}: failed to import cli entry:`,e instanceof Error?e.message:e);return}}function y(e){return a(e)}function b(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name!=`string`||typeof t.description!=`string`||!Array.isArray(t.subcommands)||`interactive`in t&&t.interactive!==void 0&&typeof t.interactive!=`function`?!1:t.subcommands.length===0?typeof t.interactive==`function`:t.subcommands.every(x)}function x(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.name==`string`&&typeof t.description==`string`&&S(t.schema)&&typeof t.handler==`function`}function S(e){return typeof e==`object`&&!!e&&typeof e.safeParse==`function`}function C(e,t){return t===!0?e:t}function w(e,t,n){if(!r.isAbsolute(n))return;let i=C(e,t),a=O(n),o=r.resolve(n,`src`,`${i}.ts`);if(E(o,a))return o;let s=r.resolve(n,`dist`,`${i}.mjs`);if(E(s,a))return s}function T(e,t){let n=O(t);return D(O(e),n)}function E(e,t){try{return D(i.realpathSync(e),t)}catch{return!1}}function D(e,t){return e.startsWith(t+r.sep)}function O(e){let t=r.resolve(e);try{return i.realpathSync(t)}catch{return t}}async function k(e){return await import(n(e).href)}export{_ as a,u as c,b as i,p as l,m as n,y as o,C as r,T as s,l as t,w as u};
@@ -14,8 +14,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
14
14
  response: _$zod.ZodObject<{
15
15
  config: _$zod.ZodNullable<_$zod.ZodObject<{
16
16
  description: _$zod.ZodOptional<_$zod.ZodString>;
17
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
18
17
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
18
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
19
19
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
20
20
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
21
21
  label: _$zod.ZodString;
@@ -39,8 +39,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
39
39
  response: _$zod.ZodObject<{
40
40
  configs: _$zod.ZodArray<_$zod.ZodObject<{
41
41
  description: _$zod.ZodOptional<_$zod.ZodString>;
42
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
43
42
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
43
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
44
44
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
45
45
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
46
46
  label: _$zod.ZodString;
@@ -1650,8 +1650,8 @@ declare const AdapterSubsystemNamespace: _$_makaio_core0.BusNamespaceDefinition<
1650
1650
  response: _$zod.ZodObject<{
1651
1651
  config: _$zod.ZodObject<{
1652
1652
  description: _$zod.ZodOptional<_$zod.ZodString>;
1653
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
1654
1653
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1654
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1655
1655
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1656
1656
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1657
1657
  label: _$zod.ZodString;
@@ -1875,8 +1875,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1875
1875
  response: _$zod.ZodObject<{
1876
1876
  config: _$zod.ZodNullable<_$zod.ZodObject<{
1877
1877
  description: _$zod.ZodOptional<_$zod.ZodString>;
1878
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
1879
1878
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1879
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1880
1880
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1881
1881
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1882
1882
  label: _$zod.ZodString;
@@ -1900,8 +1900,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
1900
1900
  response: _$zod.ZodObject<{
1901
1901
  configs: _$zod.ZodArray<_$zod.ZodObject<{
1902
1902
  description: _$zod.ZodOptional<_$zod.ZodString>;
1903
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
1904
1903
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1904
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
1905
1905
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1906
1906
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1907
1907
  label: _$zod.ZodString;
@@ -3511,8 +3511,8 @@ declare const AdapterSubsystemSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
3511
3511
  response: _$zod.ZodObject<{
3512
3512
  config: _$zod.ZodObject<{
3513
3513
  description: _$zod.ZodOptional<_$zod.ZodString>;
3514
- displayName: _$zod.ZodOptional<_$zod.ZodString>;
3515
3514
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
3515
+ displayName: _$zod.ZodOptional<_$zod.ZodString>;
3516
3516
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
3517
3517
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
3518
3518
  label: _$zod.ZodString;
@@ -585,8 +585,8 @@ declare const SessionEventStorageNamespace$1: {
585
585
  type: _$zod.ZodLiteral<"locality.degraded">;
586
586
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
587
587
  intent: _$zod.ZodEnum<{
588
- fork: "fork";
589
588
  resume: "resume";
589
+ fork: "fork";
590
590
  }>;
591
591
  verdictKind: _$zod.ZodLiteral<"degrade">;
592
592
  reason: _$zod.ZodEnum<{
@@ -611,8 +611,8 @@ declare const SessionEventStorageNamespace$1: {
611
611
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
612
612
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
613
613
  intent: _$zod.ZodEnum<{
614
- fork: "fork";
615
614
  resume: "resume";
615
+ fork: "fork";
616
616
  }>;
617
617
  verdictKind: _$zod.ZodLiteral<"foreign">;
618
618
  foreignMachineId: _$zod.ZodString;
@@ -967,8 +967,8 @@ declare const SessionEventStorageNamespace$1: {
967
967
  type: _$zod.ZodLiteral<"locality.degraded">;
968
968
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
969
969
  intent: _$zod.ZodEnum<{
970
- fork: "fork";
971
970
  resume: "resume";
971
+ fork: "fork";
972
972
  }>;
973
973
  verdictKind: _$zod.ZodLiteral<"degrade">;
974
974
  reason: _$zod.ZodEnum<{
@@ -993,8 +993,8 @@ declare const SessionEventStorageNamespace$1: {
993
993
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
994
994
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
995
995
  intent: _$zod.ZodEnum<{
996
- fork: "fork";
997
996
  resume: "resume";
997
+ fork: "fork";
998
998
  }>;
999
999
  verdictKind: _$zod.ZodLiteral<"foreign">;
1000
1000
  foreignMachineId: _$zod.ZodString;
@@ -1339,8 +1339,8 @@ declare const SessionEventStorageNamespace$1: {
1339
1339
  type: _$zod.ZodLiteral<"locality.degraded">;
1340
1340
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1341
1341
  intent: _$zod.ZodEnum<{
1342
- fork: "fork";
1343
1342
  resume: "resume";
1343
+ fork: "fork";
1344
1344
  }>;
1345
1345
  verdictKind: _$zod.ZodLiteral<"degrade">;
1346
1346
  reason: _$zod.ZodEnum<{
@@ -1365,8 +1365,8 @@ declare const SessionEventStorageNamespace$1: {
1365
1365
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1366
1366
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1367
1367
  intent: _$zod.ZodEnum<{
1368
- fork: "fork";
1369
1368
  resume: "resume";
1369
+ fork: "fork";
1370
1370
  }>;
1371
1371
  verdictKind: _$zod.ZodLiteral<"foreign">;
1372
1372
  foreignMachineId: _$zod.ZodString;
@@ -1719,8 +1719,8 @@ declare const SessionEventStorageNamespace$1: {
1719
1719
  type: _$zod.ZodLiteral<"locality.degraded">;
1720
1720
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1721
1721
  intent: _$zod.ZodEnum<{
1722
- fork: "fork";
1723
1722
  resume: "resume";
1723
+ fork: "fork";
1724
1724
  }>;
1725
1725
  verdictKind: _$zod.ZodLiteral<"degrade">;
1726
1726
  reason: _$zod.ZodEnum<{
@@ -1745,8 +1745,8 @@ declare const SessionEventStorageNamespace$1: {
1745
1745
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
1746
1746
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1747
1747
  intent: _$zod.ZodEnum<{
1748
- fork: "fork";
1749
1748
  resume: "resume";
1749
+ fork: "fork";
1750
1750
  }>;
1751
1751
  verdictKind: _$zod.ZodLiteral<"foreign">;
1752
1752
  foreignMachineId: _$zod.ZodString;
@@ -2087,8 +2087,8 @@ declare const SessionEventStorageNamespace$1: {
2087
2087
  type: _$zod.ZodLiteral<"locality.degraded">;
2088
2088
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2089
2089
  intent: _$zod.ZodEnum<{
2090
- fork: "fork";
2091
2090
  resume: "resume";
2091
+ fork: "fork";
2092
2092
  }>;
2093
2093
  verdictKind: _$zod.ZodLiteral<"degrade">;
2094
2094
  reason: _$zod.ZodEnum<{
@@ -2113,8 +2113,8 @@ declare const SessionEventStorageNamespace$1: {
2113
2113
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2114
2114
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2115
2115
  intent: _$zod.ZodEnum<{
2116
- fork: "fork";
2117
2116
  resume: "resume";
2117
+ fork: "fork";
2118
2118
  }>;
2119
2119
  verdictKind: _$zod.ZodLiteral<"foreign">;
2120
2120
  foreignMachineId: _$zod.ZodString;
@@ -2469,8 +2469,8 @@ declare const SessionEventStorageNamespace$1: {
2469
2469
  type: _$zod.ZodLiteral<"locality.degraded">;
2470
2470
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2471
2471
  intent: _$zod.ZodEnum<{
2472
- fork: "fork";
2473
2472
  resume: "resume";
2473
+ fork: "fork";
2474
2474
  }>;
2475
2475
  verdictKind: _$zod.ZodLiteral<"degrade">;
2476
2476
  reason: _$zod.ZodEnum<{
@@ -2495,8 +2495,8 @@ declare const SessionEventStorageNamespace$1: {
2495
2495
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2496
2496
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2497
2497
  intent: _$zod.ZodEnum<{
2498
- fork: "fork";
2499
2498
  resume: "resume";
2499
+ fork: "fork";
2500
2500
  }>;
2501
2501
  verdictKind: _$zod.ZodLiteral<"foreign">;
2502
2502
  foreignMachineId: _$zod.ZodString;
@@ -2841,8 +2841,8 @@ declare const SessionEventStorageNamespace$1: {
2841
2841
  type: _$zod.ZodLiteral<"locality.degraded">;
2842
2842
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2843
2843
  intent: _$zod.ZodEnum<{
2844
- fork: "fork";
2845
2844
  resume: "resume";
2845
+ fork: "fork";
2846
2846
  }>;
2847
2847
  verdictKind: _$zod.ZodLiteral<"degrade">;
2848
2848
  reason: _$zod.ZodEnum<{
@@ -2867,8 +2867,8 @@ declare const SessionEventStorageNamespace$1: {
2867
2867
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2868
2868
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2869
2869
  intent: _$zod.ZodEnum<{
2870
- fork: "fork";
2871
2870
  resume: "resume";
2871
+ fork: "fork";
2872
2872
  }>;
2873
2873
  verdictKind: _$zod.ZodLiteral<"foreign">;
2874
2874
  foreignMachineId: _$zod.ZodString;
@@ -3221,8 +3221,8 @@ declare const SessionEventStorageNamespace$1: {
3221
3221
  type: _$zod.ZodLiteral<"locality.degraded">;
3222
3222
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3223
3223
  intent: _$zod.ZodEnum<{
3224
- fork: "fork";
3225
3224
  resume: "resume";
3225
+ fork: "fork";
3226
3226
  }>;
3227
3227
  verdictKind: _$zod.ZodLiteral<"degrade">;
3228
3228
  reason: _$zod.ZodEnum<{
@@ -3247,8 +3247,8 @@ declare const SessionEventStorageNamespace$1: {
3247
3247
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3248
3248
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3249
3249
  intent: _$zod.ZodEnum<{
3250
- fork: "fork";
3251
3250
  resume: "resume";
3251
+ fork: "fork";
3252
3252
  }>;
3253
3253
  verdictKind: _$zod.ZodLiteral<"foreign">;
3254
3254
  foreignMachineId: _$zod.ZodString;
@@ -3537,14 +3537,14 @@ declare const SessionEventStorageNamespace$1: {
3537
3537
  timestamp: number;
3538
3538
  type: "locality.degraded";
3539
3539
  payload: {
3540
- intent: "fork" | "resume";
3540
+ intent: "resume" | "fork";
3541
3541
  verdictKind: "degrade";
3542
3542
  reason: "adapter-unsupported" | "adapter-mismatch" | "no-adapter-session" | "missing-machine-id" | "machine-mismatch" | "cwd-mismatch" | "transforms-present" | "compression-present" | "connector-swap" | "mid-history-unsupported" | "hybrid-imported-orchestrated" | "native-attempt-failed" | "agent-already-started" | "fork-point-unresolvable" | "adapter-session-moved";
3543
3543
  agentId?: string | undefined;
3544
3544
  adapterId?: string | undefined;
3545
3545
  turnId?: string | undefined;
3546
3546
  } | {
3547
- intent: "fork" | "resume";
3547
+ intent: "resume" | "fork";
3548
3548
  verdictKind: "foreign";
3549
3549
  foreignMachineId: string;
3550
3550
  agentId?: string | undefined;
@@ -2032,8 +2032,8 @@ declare const MessageStorageNamespace$1: {
2032
2032
  agentId: never;
2033
2033
  adapterSessionId: never;
2034
2034
  turnId: string | null;
2035
- timestamp: number;
2036
2035
  limit: never;
2036
+ timestamp: number;
2037
2037
  query: string;
2038
2038
  contentText: string;
2039
2039
  adapterMessageId: string;