@makaio/framework 1.0.0-dev-1788721567504 → 1.0.0-dev-1788832451167

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 (309) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/adapters/config/index.d.mts +1 -1
  3. package/dist/adapters/index.d.mts +2 -2
  4. package/dist/adapters/node.d.mts +1 -1
  5. package/dist/{artifact-Btbuib48.mjs → artifact-ClvHqL3w.mjs} +1 -1
  6. package/dist/attempt-fixtures-CnrnF5_4.mjs +1 -0
  7. package/dist/attempt-record-codec-B32Whx75.mjs +1 -0
  8. package/dist/authority-state-bootstrap-7Cgb9TR2.mjs +1 -0
  9. package/dist/bootstrap-start-client-DrvofWwi.mjs +1 -0
  10. package/dist/bus/index.d.mts +46 -28
  11. package/dist/bus/index.mjs +1 -1
  12. package/dist/bus-CobBUqjo.mjs +2 -0
  13. package/dist/bus-Uy9C3TBM.mjs +1 -0
  14. package/dist/clients/index.d.mts +1 -1
  15. package/dist/clients/managed-install.d.mts +1 -1
  16. package/dist/code-execution/worker-entry.d.mts +1 -1
  17. package/dist/{context-resolution-CoKFKIqz.d.mts → context-resolution-BrtoXnez.d.mts} +97 -18
  18. package/dist/contracts/adapter/index.d.mts +2 -2
  19. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  20. package/dist/contracts/artifact/index.d.mts +3 -3
  21. package/dist/contracts/artifact/index.mjs +1 -1
  22. package/dist/contracts/auth/index.d.mts +2 -2
  23. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  24. package/dist/contracts/canonical-model/index.d.mts +1 -1
  25. package/dist/contracts/capabilities/index.d.mts +2 -2
  26. package/dist/contracts/client/index.d.mts +2 -2
  27. package/dist/contracts/code-execution/index.d.mts +1 -1
  28. package/dist/contracts/common/index.d.mts +1 -1
  29. package/dist/contracts/config/index.d.mts +1 -1
  30. package/dist/contracts/extension/index.d.mts +5 -5
  31. package/dist/contracts/facet/index.d.mts +1 -1
  32. package/dist/contracts/harness/index.d.mts +1 -1
  33. package/dist/contracts/host/index.d.mts +1 -1
  34. package/dist/contracts/index.d.mts +901 -183
  35. package/dist/contracts/index.mjs +1 -1
  36. package/dist/contracts/materialization/index.d.mts +3 -3
  37. package/dist/contracts/materialization/index.mjs +1 -1
  38. package/dist/contracts/model-registry/index.d.mts +1 -1
  39. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  40. package/dist/contracts/platform/index.d.mts +1 -1
  41. package/dist/contracts/provider/index.d.mts +2 -2
  42. package/dist/contracts/reaction/index.d.mts +1 -1
  43. package/dist/contracts/session/index.d.mts +2 -2
  44. package/dist/contracts/shared/index.d.mts +2 -2
  45. package/dist/contracts/skill/index.d.mts +1 -1
  46. package/dist/contracts/telemetry/index.d.mts +1 -1
  47. package/dist/contracts/timeout/index.d.mts +1 -1
  48. package/dist/contracts/variant/index.d.mts +1 -1
  49. package/dist/contracts/worker/index.d.mts +2 -2
  50. package/dist/contracts/worker/index.mjs +1 -1
  51. package/dist/contracts/workflow/index.d.mts +2 -2
  52. package/dist/contracts/workflow/index.mjs +1 -1
  53. package/dist/{contribution-CUHLVLsT.d.mts → contribution-Crm-mctl.d.mts} +2 -2
  54. package/dist/{definition-DyGImhyi.d.mts → definition-u_5rYQtc.d.mts} +1 -1
  55. package/dist/{detached-extension-handle-D0aI0pJA.mjs → detached-extension-handle-DAXKQT9c.mjs} +1 -1
  56. package/dist/{execution-attempt-repository-CRdrgou3.d.mts → execution-attempt-repository-CgB7uiYD.d.mts} +242 -9
  57. package/dist/execution-attempt-repository-D0cCU7dI.mjs +1 -0
  58. package/dist/{execution-target-H0RWV7Py.mjs → execution-target-BcoF_oDB.mjs} +1 -1
  59. package/dist/{hook-responses-9Ywsqzzq.d.mts → hook-responses-DcapjzLb.d.mts} +1 -1
  60. package/dist/{index-D1wTWSLR.d.mts → index-BADuMxcP.d.mts} +458 -458
  61. package/dist/{index-8NdPPzUh2.d.mts → index-BDAfOYSw2.d.mts} +12 -12
  62. package/dist/{index-DHnSLGP4.d.mts → index-BDzqNCXs.d.mts} +1 -1
  63. package/dist/{index-CxwqnZpT.d.mts → index-BakMNLkB.d.mts} +175 -80
  64. package/dist/{index-B0VO0rAl.d.mts → index-Bo3LRb2u.d.mts} +1 -1
  65. package/dist/{index-CVcG4Q3X.d.mts → index-Bsr4rZl0.d.mts} +13 -13
  66. package/dist/{index-B_8bA2JW.d.mts → index-BvgLFm-U.d.mts} +1 -1
  67. package/dist/{index-Dg11JxKZ.d.mts → index-BwccWakG.d.mts} +1 -1
  68. package/dist/{index-BJdkVFX9.d.mts → index-BxOFB25y.d.mts} +335 -78
  69. package/dist/{index-37_b--BH.d.mts → index-C1PfDEIV.d.mts} +52 -47
  70. package/dist/{index-CPRQ4dWX.d.mts → index-CBixkF0n.d.mts} +12 -0
  71. package/dist/{index-CyWGSxrs.d.mts → index-CGJgZGqN.d.mts} +292 -292
  72. package/dist/{index--Ws52sWV2.d.mts → index-COOM1j_L2.d.mts} +4 -4
  73. package/dist/{index-BmevAPME2.d.mts → index-Cbv_3Xi12.d.mts} +1 -1
  74. package/dist/{index-DWBkiiXH.d.mts → index-CfJKwWJa.d.mts} +1 -1
  75. package/dist/{index-DV38-klA2.d.mts → index-CiKzWCW02.d.mts} +273 -26
  76. package/dist/{index-AdcDBUnc.d.mts → index-D6RMsZko.d.mts} +95 -95
  77. package/dist/{index-CIEycZrt.d.mts → index-DIhkK4Y0.d.mts} +1 -1
  78. package/dist/{index-BKIxdzIw.d.mts → index-DZXpKlyB.d.mts} +21 -21
  79. package/dist/{index-DBD_oFEt2.d.mts → index-DZnb56vt2.d.mts} +1 -1
  80. package/dist/{index-Cny5RvjO.d.mts → index-J-kv32zv.d.mts} +2 -2
  81. package/dist/{index-BNzUyVwV.d.mts → index-LOh6AEqx.d.mts} +10 -10
  82. package/dist/{index-CYjgoYeX.d.mts → index-LryUXslm.d.mts} +3 -3
  83. package/dist/{index-CFI6FxC7.d.mts → index-QJW9g1mG.d.mts} +2 -2
  84. package/dist/{index-B0yMCJW8.d.mts → index-rygpcDBV.d.mts} +1 -1
  85. package/dist/{index-I5a37JCm.d.mts → index-vXmPEZ5O.d.mts} +382 -82
  86. package/dist/kernel/cli/index.d.mts +2 -2
  87. package/dist/kernel/cli/register.d.mts +1 -1
  88. package/dist/kernel/extension/index.d.mts +1 -1
  89. package/dist/kernel/index.d.mts +5 -5
  90. package/dist/kernel/namespace/index.d.mts +1 -1
  91. package/dist/kernel/observability/index.d.mts +1 -1
  92. package/dist/kernel/providers/index.d.mts +1 -1
  93. package/dist/kernel/window/index.d.mts +1 -1
  94. package/dist/{lib-Cm-uEoC1.mjs → lib-271rPR7A.mjs} +1 -1
  95. package/dist/{lib-BpGvHZye.mjs → lib-RFpLjUda.mjs} +1 -1
  96. package/dist/{load-extensions-BQoXaHhR.d.mts → load-extensions-CY8ELnCp.d.mts} +1 -1
  97. package/dist/{load-extensions-DG5LvPyM.mjs → load-extensions-D9inWcDy.mjs} +1 -1
  98. package/dist/{materialization-lVd9_-jr.mjs → materialization-B_LA9pfy.mjs} +1 -1
  99. package/dist/{namespace-DOezqDti.d.mts → namespace-BymM0nl_.d.mts} +27 -27
  100. package/dist/{namespace-Bo94cenp.d.mts → namespace-Cs-cOyrn.d.mts} +136 -136
  101. package/dist/{namespace-BdAK0lD8.d.mts → namespace-DdqVQSyc.d.mts} +2 -2
  102. package/dist/{namespace-BRuHzhPo.d.mts → namespace-DlrX8feY.d.mts} +45 -45
  103. package/dist/{namespace-CsnrP8AD.d.mts → namespace-Dw5H_KCF.d.mts} +1 -1
  104. package/dist/{namespace-CstawJgN.d.mts → namespace-DykqxEyX.d.mts} +2 -2
  105. package/dist/node/bus-server/index.d.mts +1 -1
  106. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  107. package/dist/node/transports/index.d.mts +56 -16
  108. package/dist/node/transports/index.mjs +2 -2
  109. package/dist/package-CzKoZ1k0.mjs +7 -0
  110. package/dist/{package-DkZmsdCd.d.mts → package-DkpF17X_.d.mts} +458 -17
  111. package/dist/package.json +1 -1
  112. package/dist/rules/index.d.mts +1 -1
  113. package/dist/rules/schemas.d.mts +1 -1
  114. package/dist/runtime-bun/index.mjs +1 -1
  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 +6 -6
  120. package/dist/runtime-node/index.mjs +24 -24
  121. package/dist/runtime-node/makaio-config.d.mts +1 -1
  122. package/dist/runtime-node/workflow-execution-bus-access.mjs +1 -1
  123. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  124. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  125. package/dist/runtime-node/workflow-worker/worker-entry.d.mts +22 -2
  126. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  127. package/dist/{schema-B3Pf7JP7.d.mts → schema-C9PauHXt.d.mts} +2 -2
  128. package/dist/{schemas-CJKHYluy.d.mts → schemas-B2UbGJpJ.d.mts} +15 -15
  129. package/dist/{schemas-B50oWBuj.d.mts → schemas-BDZFd3Wb.d.mts} +2 -2
  130. package/dist/schemas-CNkUEbIr.mjs +1 -0
  131. package/dist/schemas-CeHU889f.mjs +1 -0
  132. package/dist/{schemas-DTJtS14K.d.mts → schemas-ClGDFa44.d.mts} +136 -136
  133. package/dist/scoped-bus-DwVrmi_1.mjs +1 -0
  134. package/dist/services/adapter-runtime/index.d.mts +3 -3
  135. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  136. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  137. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  138. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  139. package/dist/services/agent-runtime/index.d.mts +2 -2
  140. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  141. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  142. package/dist/services/capability/index.d.mts +2 -2
  143. package/dist/services/code-execution/index.d.mts +1 -1
  144. package/dist/services/codebase/index.d.mts +2 -2
  145. package/dist/services/codebase/namespace.d.mts +1 -1
  146. package/dist/services/codebase/schemas.d.mts +1 -1
  147. package/dist/services/compression/index.d.mts +2 -2
  148. package/dist/services/compression/namespace.d.mts +1 -1
  149. package/dist/services/compression/schemas.d.mts +1 -1
  150. package/dist/services/context-rules/index.d.mts +4 -4
  151. package/dist/services/execution-target/index.d.mts +3 -3
  152. package/dist/services/execution-target/index.mjs +1 -1
  153. package/dist/services/execution-target/namespace.d.mts +1 -1
  154. package/dist/services/execution-target/namespace.mjs +1 -1
  155. package/dist/services/execution-target/schemas.d.mts +1 -1
  156. package/dist/services/execution-target/schemas.mjs +1 -1
  157. package/dist/services/filesystem/index.d.mts +1 -1
  158. package/dist/services/filesystem/namespace.d.mts +6 -6
  159. package/dist/services/filesystem/schemas.d.mts +3 -3
  160. package/dist/services/index.d.mts +124 -122
  161. package/dist/services/index.mjs +1 -1
  162. package/dist/services/log-import/browser.d.mts +2 -2
  163. package/dist/services/log-import/index.d.mts +2 -2
  164. package/dist/services/log-import/log-import.d.mts +1 -1
  165. package/dist/services/materialization/index.d.mts +1 -1
  166. package/dist/services/model-registry/index.d.mts +1 -1
  167. package/dist/services/preferences/index.d.mts +2 -2
  168. package/dist/services/preferences/schemas.d.mts +1 -1
  169. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  170. package/dist/services/provider-context/index.d.mts +1 -1
  171. package/dist/services/session/handlers/index.d.mts +1 -1
  172. package/dist/services/session/index.d.mts +9 -9
  173. package/dist/services/session/messages/namespace.d.mts +1 -1
  174. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  175. package/dist/services/session/session-events/namespace.d.mts +1 -1
  176. package/dist/services/session/storage/namespace.d.mts +1 -1
  177. package/dist/services/session/storage/schema.d.mts +1 -1
  178. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  179. package/dist/services/session/turns/namespace.d.mts +1 -1
  180. package/dist/services/session-editor/index.d.mts +1 -1
  181. package/dist/services/settings/index.d.mts +3 -3
  182. package/dist/services/settings/namespace.d.mts +12 -12
  183. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  184. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  185. package/dist/services/settings/storage/index.d.mts +3 -3
  186. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  187. package/dist/services/subagent/index.d.mts +1 -1
  188. package/dist/services/subagent-template/index.d.mts +2 -2
  189. package/dist/services/subagent-template/namespace.d.mts +1 -1
  190. package/dist/services/subagent-template/schemas.d.mts +1 -1
  191. package/dist/services/tool-approval/index.d.mts +1 -1
  192. package/dist/services/tools/index.d.mts +1 -1
  193. package/dist/services/tray-menu/index.d.mts +3 -3
  194. package/dist/services/tray-menu/namespace.d.mts +1 -1
  195. package/dist/services/tray-menu/schemas.d.mts +1 -1
  196. package/dist/services/turn/index.d.mts +1 -1
  197. package/dist/services/turn/namespace.d.mts +1 -1
  198. package/dist/services/workflow-transitions/index.d.mts +1 -1
  199. package/dist/{src-BmSQ3rlz.mjs → src-DEgV239R.mjs} +1 -1
  200. package/dist/storage/drizzle/client.d.mts +1 -1
  201. package/dist/storage/drizzle/index.d.mts +1 -1
  202. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  203. package/dist/storage/handlers/index.d.mts +1 -1
  204. package/dist/{transition-DxsrTsn4.d.mts → transition-DFA_ckdP.d.mts} +2 -2
  205. package/dist/{types-Czdm5op1.d.mts → types-DkfDRSTr.d.mts} +356 -356
  206. package/dist/{types-CtDGkyLx2.d.mts → types-p55qvq922.d.mts} +1 -1
  207. package/dist/ui-kernel/index.d.mts +1 -1
  208. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  209. package/dist/{view-builder-D-Wz_l_B.d.mts → view-builder-CYW_9n4A.d.mts} +1 -1
  210. package/dist/worker-B4nD_Erm.mjs +1 -0
  211. package/dist/{workflow-BomH9DBB.mjs → workflow-H8hsEikC.mjs} +1 -1
  212. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -2
  213. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -1
  214. package/dist/workflow-engine/index.d.mts +300 -216
  215. package/dist/workflow-engine/index.mjs +1 -1
  216. package/dist/workflow-engine/package.d.mts +1 -1
  217. package/dist/workflow-engine/package.mjs +1 -1
  218. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  219. package/dist/workflow-engine/testing/conformance.d.mts +85 -0
  220. package/dist/workflow-engine/testing/conformance.mjs +1 -0
  221. package/dist/workflow-engine/testing/index.d.mts +12 -5
  222. package/dist/workflow-engine/testing/index.mjs +1 -1
  223. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  224. package/dist/workflow-engine/testing/sqlite.mjs +75 -46
  225. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  226. package/dist/workflow-worker-CmIkKnpF.mjs +2 -0
  227. package/package.json +13 -1
  228. package/dist/attempt-record-codec-BORASgzn.mjs +0 -1
  229. package/dist/authority-state-bootstrap-eitx6Ukn.mjs +0 -1
  230. package/dist/bus-D6NoBhIV.mjs +0 -2
  231. package/dist/bus-UgFdHybD.mjs +0 -1
  232. package/dist/package-UemD2NWn.mjs +0 -7
  233. package/dist/runtime-registration-client-BTtFpt_k.mjs +0 -1
  234. package/dist/schemas-C3kyQWGf.mjs +0 -1
  235. package/dist/schemas-TK29KWx-.mjs +0 -1
  236. package/dist/scoped-bus-DoPmCJeM.mjs +0 -1
  237. package/dist/worker-DlRdLf2d.mjs +0 -1
  238. package/dist/workflow-worker-DjUfKshi.mjs +0 -1
  239. /package/dist/{adapter-binding-CATvmGuz.d.mts → adapter-binding-D68U_Hmh.d.mts} +0 -0
  240. /package/dist/{base-orchestrator-B4YW6z_Q.d.mts → base-orchestrator-DA95InJU.d.mts} +0 -0
  241. /package/dist/{capability-service-BW1-teFU.d.mts → capability-service-s4ZYSEWc.d.mts} +0 -0
  242. /package/dist/{client-binary-version-verifier-lcv83Hq3.d.mts → client-binary-version-verifier-kd9LP9AQ.d.mts} +0 -0
  243. /package/dist/{client-BG0WX5Vz.d.mts → client-f5A-6La5.d.mts} +0 -0
  244. /package/dist/{clients-namespace-DLAjOTTb.d.mts → clients-namespace-q4PqU1cA.d.mts} +0 -0
  245. /package/dist/{config-namespace-CH7sJZ4f.d.mts → config-namespace-Cp71zTT0.d.mts} +0 -0
  246. /package/dist/{create-static-mount-DxuixuLZ.mjs → create-static-mount-CmQgA0jq.mjs} +0 -0
  247. /package/dist/{definition-BrgzUuFk.d.mts → definition-BHSzhrUf.d.mts} +0 -0
  248. /package/dist/{extension-context-QmFuHdq5.d.mts → extension-context-BmU5XKjI.d.mts} +0 -0
  249. /package/dist/{extension-discovery-Dhu3WplO.d.mts → extension-discovery-DnO7bINK.d.mts} +0 -0
  250. /package/dist/{filesystem-service-ZJ43SbBi.d.mts → filesystem-service-BBArEDPL.d.mts} +0 -0
  251. /package/dist/{index-BC-6qNeo.d.mts → index-B-zl-O-Y.d.mts} +0 -0
  252. /package/dist/{index-BfV8U4XX.d.mts → index-BB0HypzC.d.mts} +0 -0
  253. /package/dist/{index-8y4hT9WL.d.mts → index-Bf2MgOni.d.mts} +0 -0
  254. /package/dist/{index-B4svZC6L.d.mts → index-C9xVZ-gt.d.mts} +0 -0
  255. /package/dist/{index-kzIjbrS02.d.mts → index-CDLf3Fka2.d.mts} +0 -0
  256. /package/dist/{index-BuMsrli0.d.mts → index-CPWBGotQ.d.mts} +0 -0
  257. /package/dist/{index-pvX-BIpr2.d.mts → index-CcrXttC02.d.mts} +0 -0
  258. /package/dist/{index-B5dP8rj6.d.mts → index-CkpR5sIH.d.mts} +0 -0
  259. /package/dist/{index-CmbkCxj-.d.mts → index-Co1da7YK.d.mts} +0 -0
  260. /package/dist/{index-VzLAV0Yt.d.mts → index-CrcfeFOo.d.mts} +0 -0
  261. /package/dist/{index-BM56936c.d.mts → index-CsFN2nv7.d.mts} +0 -0
  262. /package/dist/{index-CVpaGijY.d.mts → index-D-JbTXIH.d.mts} +0 -0
  263. /package/dist/{index-l01zsChf.d.mts → index-D94yE5Dr.d.mts} +0 -0
  264. /package/dist/{index-D037TVsm.d.mts → index-DQD2-jcL.d.mts} +0 -0
  265. /package/dist/{index-D8D-yibS2.d.mts → index-DSLTgc7h2.d.mts} +0 -0
  266. /package/dist/{index-CL0Jo1b92.d.mts → index-DSN2t48K.d.mts} +0 -0
  267. /package/dist/{index-DQ8o3JGi.d.mts → index-DW4SE_sH.d.mts} +0 -0
  268. /package/dist/{index-DgspOUa72.d.mts → index-DYHxzwok2.d.mts} +0 -0
  269. /package/dist/{index-BMRB9yhF.d.mts → index-D_sMzTvv.d.mts} +0 -0
  270. /package/dist/{index-BFWvT0NG.d.mts → index-Df1c_2PF.d.mts} +0 -0
  271. /package/dist/{index-B2Y1Wvbh.d.mts → index-Dn_SGTgp.d.mts} +0 -0
  272. /package/dist/{index-C4V8Pmi4.d.mts → index-KAAnSRZt.d.mts} +0 -0
  273. /package/dist/{index-Ek4y8M9J2.d.mts → index-NhW2h2wH2.d.mts} +0 -0
  274. /package/dist/{index-CqdMbYmR.d.mts → index-mK-rgiit.d.mts} +0 -0
  275. /package/dist/{index-BTEJfzjE.d.mts → index-xaBSwHxJ.d.mts} +0 -0
  276. /package/dist/{json-value-DPqb-SJ8.d.mts → json-value-pX6xnLGw.d.mts} +0 -0
  277. /package/dist/{jsonl-transport-Cyyh5Wje.mjs → jsonl-transport-DQIlRX_y.mjs} +0 -0
  278. /package/dist/{lib-BqV8hYtk.mjs → lib-6eNAiNK7.mjs} +0 -0
  279. /package/dist/{namespace-DBO1OzYB.d.mts → namespace-9ychTEk_.d.mts} +0 -0
  280. /package/dist/{namespace-CVFaZv8x.d.mts → namespace-BGDq7HmW.d.mts} +0 -0
  281. /package/dist/{namespace-K23m4b0n.d.mts → namespace-BMG3RCdr.d.mts} +0 -0
  282. /package/dist/{namespace-CPm9dhi2.d.mts → namespace-BoyqQiW9.d.mts} +0 -0
  283. /package/dist/{namespace-BUYDmd0r.d.mts → namespace-CPR2xem0.d.mts} +0 -0
  284. /package/dist/{namespace-CPG6u60N.d.mts → namespace-CQEYu8az.d.mts} +0 -0
  285. /package/dist/{namespace-DqZweTbX.d.mts → namespace-CVg_cpkh.d.mts} +0 -0
  286. /package/dist/{namespace-B0ftHlK3.d.mts → namespace-DG0hjPcx.d.mts} +0 -0
  287. /package/dist/{orchestrator-shared-CNHSImNY.d.mts → orchestrator-shared-BzqqcY2z.d.mts} +0 -0
  288. /package/dist/{packages-CxPMEg8D.d.mts → packages-Cx-BwSZr.d.mts} +0 -0
  289. /package/dist/{provider-operation-DbdyFwNm.d.mts → provider-operation-B2wQST6N.d.mts} +0 -0
  290. /package/dist/{providers-namespace-CfZKp-C0.d.mts → providers-namespace-DsKTnuO1.d.mts} +0 -0
  291. /package/dist/{schemas-ChmQldVH.d.mts → schemas--LAbwXvw.d.mts} +0 -0
  292. /package/dist/{schemas-CF8QwRqt.d.mts → schemas-Bk50UoMA.d.mts} +0 -0
  293. /package/dist/{schemas-BCXvEWyF.d.mts → schemas-CBpjAhut.d.mts} +0 -0
  294. /package/dist/{schemas-bfZNpl0B.d.mts → schemas-CHRuwe18.d.mts} +0 -0
  295. /package/dist/{schemas-BGvkTiCx.d.mts → schemas-CzGN0eqW.d.mts} +0 -0
  296. /package/dist/{schemas-Pe892GgN.d.mts → schemas-DmULJ7Jk.d.mts} +0 -0
  297. /package/dist/{schemas-B6Q-qdmn.d.mts → schemas-Dxvjq-Bi.d.mts} +0 -0
  298. /package/dist/{schemas-CenET9Cq.d.mts → schemas-Wqo3_F6-.d.mts} +0 -0
  299. /package/dist/{server-lifecycle-L8zja8t8.d.mts → server-lifecycle-WFZcCMwF.d.mts} +0 -0
  300. /package/dist/{session-lineage-bUkd3fqx.d.mts → session-lineage-C9kppcCa.d.mts} +0 -0
  301. /package/dist/{src-BacfeiI4.mjs → src-DIyWekjW.mjs} +0 -0
  302. /package/dist/{storage-namespace-YmE8XCCL.d.mts → storage-namespace-BWU-8rvj.d.mts} +0 -0
  303. /package/dist/{storage-namespace-definition-BsnYAPot.d.mts → storage-namespace-definition-B-8JKvzm.d.mts} +0 -0
  304. /package/dist/{types-DdpSEmTO.d.mts → types-8rMNe3AS.d.mts} +0 -0
  305. /package/dist/{types-DnK6Wa_Y.d.mts → types-BFeWU3WM.d.mts} +0 -0
  306. /package/dist/{types-tyv0B605.d.mts → types-BnPJa-C_.d.mts} +0 -0
  307. /package/dist/{types-OKJCOjme.d.mts → types-DQTCNM2i.d.mts} +0 -0
  308. /package/dist/{types-BlB23n4f.d.mts → types-DxHeL0pF.d.mts} +0 -0
  309. /package/dist/{window-registry-Pcf35cac.d.mts → window-registry-DQP5P2_0.d.mts} +0 -0
@@ -88,7 +88,7 @@ declare const SessionStorageNamespace$1: {
88
88
  tableName: "sessions";
89
89
  dataType: "string";
90
90
  columnType: "SQLiteText";
91
- data: "closed" | "discovered" | "active" | "archived";
91
+ data: "closed" | "discovered" | "archived" | "active";
92
92
  driverParam: string;
93
93
  notNull: true;
94
94
  hasDefault: false;
@@ -202,7 +202,7 @@ declare const SessionStorageNamespace$1: {
202
202
  tableName: "sessions";
203
203
  dataType: "string";
204
204
  columnType: "SQLiteText";
205
- data: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside";
205
+ data: "fork" | "subagent" | "compress" | "branch" | "aside" | "rewrite" | "coordinator";
206
206
  driverParam: string;
207
207
  notNull: false;
208
208
  hasDefault: false;
@@ -1240,8 +1240,8 @@ declare const SessionStorageNamespace$1: {
1240
1240
  status: _$zod.ZodEnum<{
1241
1241
  closed: "closed";
1242
1242
  discovered: "discovered";
1243
- active: "active";
1244
1243
  archived: "archived";
1244
+ active: "active";
1245
1245
  }>;
1246
1246
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1247
1247
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1256,9 +1256,9 @@ declare const SessionStorageNamespace$1: {
1256
1256
  subagent: "subagent";
1257
1257
  compress: "compress";
1258
1258
  branch: "branch";
1259
+ aside: "aside";
1259
1260
  rewrite: "rewrite";
1260
1261
  coordinator: "coordinator";
1261
- aside: "aside";
1262
1262
  }>>;
1263
1263
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
1264
1264
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1382,8 +1382,8 @@ declare const SessionStorageNamespace$1: {
1382
1382
  status: _$zod.ZodEnum<{
1383
1383
  closed: "closed";
1384
1384
  discovered: "discovered";
1385
- active: "active";
1386
1385
  archived: "archived";
1386
+ active: "active";
1387
1387
  }>;
1388
1388
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1389
1389
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1398,9 +1398,9 @@ declare const SessionStorageNamespace$1: {
1398
1398
  subagent: "subagent";
1399
1399
  compress: "compress";
1400
1400
  branch: "branch";
1401
+ aside: "aside";
1401
1402
  rewrite: "rewrite";
1402
1403
  coordinator: "coordinator";
1403
- aside: "aside";
1404
1404
  }>>;
1405
1405
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
1406
1406
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1487,8 +1487,8 @@ declare const SessionStorageNamespace$1: {
1487
1487
  all: "all";
1488
1488
  closed: "closed";
1489
1489
  discovered: "discovered";
1490
- active: "active";
1491
1490
  archived: "archived";
1491
+ active: "active";
1492
1492
  }>>;
1493
1493
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
1494
1494
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -1549,8 +1549,8 @@ declare const SessionStorageNamespace$1: {
1549
1549
  status: _$zod.ZodEnum<{
1550
1550
  closed: "closed";
1551
1551
  discovered: "discovered";
1552
- active: "active";
1553
1552
  archived: "archived";
1553
+ active: "active";
1554
1554
  }>;
1555
1555
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1556
1556
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1565,9 +1565,9 @@ declare const SessionStorageNamespace$1: {
1565
1565
  subagent: "subagent";
1566
1566
  compress: "compress";
1567
1567
  branch: "branch";
1568
+ aside: "aside";
1568
1569
  rewrite: "rewrite";
1569
1570
  coordinator: "coordinator";
1570
- aside: "aside";
1571
1571
  }>>;
1572
1572
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
1573
1573
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1654,9 +1654,9 @@ declare const SessionStorageNamespace$1: {
1654
1654
  subagent: "subagent";
1655
1655
  compress: "compress";
1656
1656
  branch: "branch";
1657
+ aside: "aside";
1657
1658
  rewrite: "rewrite";
1658
1659
  coordinator: "coordinator";
1659
- aside: "aside";
1660
1660
  }>>;
1661
1661
  messageCount: _$zod.ZodNumber;
1662
1662
  hasChildren: _$zod.ZodBoolean;
@@ -1672,8 +1672,8 @@ declare const SessionStorageNamespace$1: {
1672
1672
  all: "all";
1673
1673
  closed: "closed";
1674
1674
  discovered: "discovered";
1675
- active: "active";
1676
1675
  archived: "archived";
1676
+ active: "active";
1677
1677
  }>>;
1678
1678
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
1679
1679
  }, _$zod_v4_core0.$strip>;
@@ -1731,8 +1731,8 @@ declare const SessionStorageNamespace$1: {
1731
1731
  status: _$zod.ZodEnum<{
1732
1732
  closed: "closed";
1733
1733
  discovered: "discovered";
1734
- active: "active";
1735
1734
  archived: "archived";
1735
+ active: "active";
1736
1736
  }>;
1737
1737
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1738
1738
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1747,9 +1747,9 @@ declare const SessionStorageNamespace$1: {
1747
1747
  subagent: "subagent";
1748
1748
  compress: "compress";
1749
1749
  branch: "branch";
1750
+ aside: "aside";
1750
1751
  rewrite: "rewrite";
1751
1752
  coordinator: "coordinator";
1752
- aside: "aside";
1753
1753
  }>>;
1754
1754
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
1755
1755
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1828,14 +1828,14 @@ declare const SessionStorageNamespace$1: {
1828
1828
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1829
1829
  closed: "closed";
1830
1830
  discovered: "discovered";
1831
- active: "active";
1832
1831
  archived: "archived";
1832
+ active: "active";
1833
1833
  }>>;
1834
1834
  expectedStatus: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
1835
1835
  closed: "closed";
1836
1836
  discovered: "discovered";
1837
- active: "active";
1838
1837
  archived: "archived";
1838
+ active: "active";
1839
1839
  }>>>;
1840
1840
  parentSessionId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
1841
1841
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1849,9 +1849,9 @@ declare const SessionStorageNamespace$1: {
1849
1849
  subagent: "subagent";
1850
1850
  compress: "compress";
1851
1851
  branch: "branch";
1852
+ aside: "aside";
1852
1853
  rewrite: "rewrite";
1853
1854
  coordinator: "coordinator";
1854
- aside: "aside";
1855
1855
  }>>;
1856
1856
  isOrchestrated: _$zod.ZodOptional<_$zod.ZodBoolean>;
1857
1857
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1955,8 +1955,8 @@ declare const SessionStorageNamespace$1: {
1955
1955
  status: _$zod.ZodEnum<{
1956
1956
  closed: "closed";
1957
1957
  discovered: "discovered";
1958
- active: "active";
1959
1958
  archived: "archived";
1959
+ active: "active";
1960
1960
  }>;
1961
1961
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
1962
1962
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1971,9 +1971,9 @@ declare const SessionStorageNamespace$1: {
1971
1971
  subagent: "subagent";
1972
1972
  compress: "compress";
1973
1973
  branch: "branch";
1974
+ aside: "aside";
1974
1975
  rewrite: "rewrite";
1975
1976
  coordinator: "coordinator";
1976
- aside: "aside";
1977
1977
  }>>;
1978
1978
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
1979
1979
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2247,8 +2247,8 @@ declare const SessionStorageNamespace$1: {
2247
2247
  status: _$zod.ZodEnum<{
2248
2248
  closed: "closed";
2249
2249
  discovered: "discovered";
2250
- active: "active";
2251
2250
  archived: "archived";
2251
+ active: "active";
2252
2252
  }>;
2253
2253
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2254
2254
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2263,9 +2263,9 @@ declare const SessionStorageNamespace$1: {
2263
2263
  subagent: "subagent";
2264
2264
  compress: "compress";
2265
2265
  branch: "branch";
2266
+ aside: "aside";
2266
2267
  rewrite: "rewrite";
2267
2268
  coordinator: "coordinator";
2268
- aside: "aside";
2269
2269
  }>>;
2270
2270
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
2271
2271
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2396,8 +2396,8 @@ declare const SessionStorageNamespace$1: {
2396
2396
  status: _$zod.ZodEnum<{
2397
2397
  closed: "closed";
2398
2398
  discovered: "discovered";
2399
- active: "active";
2400
2399
  archived: "archived";
2400
+ active: "active";
2401
2401
  }>;
2402
2402
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2403
2403
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2412,9 +2412,9 @@ declare const SessionStorageNamespace$1: {
2412
2412
  subagent: "subagent";
2413
2413
  compress: "compress";
2414
2414
  branch: "branch";
2415
+ aside: "aside";
2415
2416
  rewrite: "rewrite";
2416
2417
  coordinator: "coordinator";
2417
- aside: "aside";
2418
2418
  }>>;
2419
2419
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
2420
2420
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2566,8 +2566,8 @@ declare const SessionStorageNamespace$1: {
2566
2566
  status: _$zod.ZodEnum<{
2567
2567
  closed: "closed";
2568
2568
  discovered: "discovered";
2569
- active: "active";
2570
2569
  archived: "archived";
2570
+ active: "active";
2571
2571
  }>;
2572
2572
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2573
2573
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2582,9 +2582,9 @@ declare const SessionStorageNamespace$1: {
2582
2582
  subagent: "subagent";
2583
2583
  compress: "compress";
2584
2584
  branch: "branch";
2585
+ aside: "aside";
2585
2586
  rewrite: "rewrite";
2586
2587
  coordinator: "coordinator";
2587
- aside: "aside";
2588
2588
  }>>;
2589
2589
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
2590
2590
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2708,8 +2708,8 @@ declare const SessionStorageNamespace$1: {
2708
2708
  status: _$zod.ZodEnum<{
2709
2709
  closed: "closed";
2710
2710
  discovered: "discovered";
2711
- active: "active";
2712
2711
  archived: "archived";
2712
+ active: "active";
2713
2713
  }>;
2714
2714
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2715
2715
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2724,9 +2724,9 @@ declare const SessionStorageNamespace$1: {
2724
2724
  subagent: "subagent";
2725
2725
  compress: "compress";
2726
2726
  branch: "branch";
2727
+ aside: "aside";
2727
2728
  rewrite: "rewrite";
2728
2729
  coordinator: "coordinator";
2729
- aside: "aside";
2730
2730
  }>>;
2731
2731
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
2732
2732
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2813,8 +2813,8 @@ declare const SessionStorageNamespace$1: {
2813
2813
  all: "all";
2814
2814
  closed: "closed";
2815
2815
  discovered: "discovered";
2816
- active: "active";
2817
2816
  archived: "archived";
2817
+ active: "active";
2818
2818
  }>>;
2819
2819
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
2820
2820
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -2875,8 +2875,8 @@ declare const SessionStorageNamespace$1: {
2875
2875
  status: _$zod.ZodEnum<{
2876
2876
  closed: "closed";
2877
2877
  discovered: "discovered";
2878
- active: "active";
2879
2878
  archived: "archived";
2879
+ active: "active";
2880
2880
  }>;
2881
2881
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
2882
2882
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2891,9 +2891,9 @@ declare const SessionStorageNamespace$1: {
2891
2891
  subagent: "subagent";
2892
2892
  compress: "compress";
2893
2893
  branch: "branch";
2894
+ aside: "aside";
2894
2895
  rewrite: "rewrite";
2895
2896
  coordinator: "coordinator";
2896
- aside: "aside";
2897
2897
  }>>;
2898
2898
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
2899
2899
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2980,9 +2980,9 @@ declare const SessionStorageNamespace$1: {
2980
2980
  subagent: "subagent";
2981
2981
  compress: "compress";
2982
2982
  branch: "branch";
2983
+ aside: "aside";
2983
2984
  rewrite: "rewrite";
2984
2985
  coordinator: "coordinator";
2985
- aside: "aside";
2986
2986
  }>>;
2987
2987
  messageCount: _$zod.ZodNumber;
2988
2988
  hasChildren: _$zod.ZodBoolean;
@@ -2998,8 +2998,8 @@ declare const SessionStorageNamespace$1: {
2998
2998
  all: "all";
2999
2999
  closed: "closed";
3000
3000
  discovered: "discovered";
3001
- active: "active";
3002
3001
  archived: "archived";
3002
+ active: "active";
3003
3003
  }>>;
3004
3004
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
3005
3005
  }, _$zod_v4_core0.$strip>;
@@ -3057,8 +3057,8 @@ declare const SessionStorageNamespace$1: {
3057
3057
  status: _$zod.ZodEnum<{
3058
3058
  closed: "closed";
3059
3059
  discovered: "discovered";
3060
- active: "active";
3061
3060
  archived: "archived";
3061
+ active: "active";
3062
3062
  }>;
3063
3063
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3064
3064
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3073,9 +3073,9 @@ declare const SessionStorageNamespace$1: {
3073
3073
  subagent: "subagent";
3074
3074
  compress: "compress";
3075
3075
  branch: "branch";
3076
+ aside: "aside";
3076
3077
  rewrite: "rewrite";
3077
3078
  coordinator: "coordinator";
3078
- aside: "aside";
3079
3079
  }>>;
3080
3080
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
3081
3081
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3154,14 +3154,14 @@ declare const SessionStorageNamespace$1: {
3154
3154
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
3155
3155
  closed: "closed";
3156
3156
  discovered: "discovered";
3157
- active: "active";
3158
3157
  archived: "archived";
3158
+ active: "active";
3159
3159
  }>>;
3160
3160
  expectedStatus: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
3161
3161
  closed: "closed";
3162
3162
  discovered: "discovered";
3163
- active: "active";
3164
3163
  archived: "archived";
3164
+ active: "active";
3165
3165
  }>>>;
3166
3166
  parentSessionId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
3167
3167
  contextInheritance: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3175,9 +3175,9 @@ declare const SessionStorageNamespace$1: {
3175
3175
  subagent: "subagent";
3176
3176
  compress: "compress";
3177
3177
  branch: "branch";
3178
+ aside: "aside";
3178
3179
  rewrite: "rewrite";
3179
3180
  coordinator: "coordinator";
3180
- aside: "aside";
3181
3181
  }>>;
3182
3182
  isOrchestrated: _$zod.ZodOptional<_$zod.ZodBoolean>;
3183
3183
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3281,8 +3281,8 @@ declare const SessionStorageNamespace$1: {
3281
3281
  status: _$zod.ZodEnum<{
3282
3282
  closed: "closed";
3283
3283
  discovered: "discovered";
3284
- active: "active";
3285
3284
  archived: "archived";
3285
+ active: "active";
3286
3286
  }>;
3287
3287
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3288
3288
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3297,9 +3297,9 @@ declare const SessionStorageNamespace$1: {
3297
3297
  subagent: "subagent";
3298
3298
  compress: "compress";
3299
3299
  branch: "branch";
3300
+ aside: "aside";
3300
3301
  rewrite: "rewrite";
3301
3302
  coordinator: "coordinator";
3302
- aside: "aside";
3303
3303
  }>>;
3304
3304
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
3305
3305
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3573,8 +3573,8 @@ declare const SessionStorageNamespace$1: {
3573
3573
  status: _$zod.ZodEnum<{
3574
3574
  closed: "closed";
3575
3575
  discovered: "discovered";
3576
- active: "active";
3577
3576
  archived: "archived";
3577
+ active: "active";
3578
3578
  }>;
3579
3579
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3580
3580
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3589,9 +3589,9 @@ declare const SessionStorageNamespace$1: {
3589
3589
  subagent: "subagent";
3590
3590
  compress: "compress";
3591
3591
  branch: "branch";
3592
+ aside: "aside";
3592
3593
  rewrite: "rewrite";
3593
3594
  coordinator: "coordinator";
3594
- aside: "aside";
3595
3595
  }>>;
3596
3596
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
3597
3597
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3722,8 +3722,8 @@ declare const SessionStorageNamespace$1: {
3722
3722
  status: _$zod.ZodEnum<{
3723
3723
  closed: "closed";
3724
3724
  discovered: "discovered";
3725
- active: "active";
3726
3725
  archived: "archived";
3726
+ active: "active";
3727
3727
  }>;
3728
3728
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
3729
3729
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3738,9 +3738,9 @@ declare const SessionStorageNamespace$1: {
3738
3738
  subagent: "subagent";
3739
3739
  compress: "compress";
3740
3740
  branch: "branch";
3741
+ aside: "aside";
3741
3742
  rewrite: "rewrite";
3742
3743
  coordinator: "coordinator";
3743
- aside: "aside";
3744
3744
  }>>;
3745
3745
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
3746
3746
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3836,7 +3836,7 @@ declare const SessionStorageNamespace$1: {
3836
3836
  options?: _$_makaio_core0.NamespaceRegistrationOptions;
3837
3837
  defaultTransports?: _$_makaio_core0.TransportRoutingDefault;
3838
3838
  __filterPayload?: {
3839
- [x: string]: string | number | boolean | Record<string, _$_makaio_contracts0.JsonValue> | ("closed" | "discovered" | "active" | "archived")[] | {
3839
+ [x: string]: string | number | boolean | Record<string, _$_makaio_contracts0.JsonValue> | ("closed" | "discovered" | "archived" | "active")[] | {
3840
3840
  clientId: string;
3841
3841
  source: string;
3842
3842
  kind: string;
@@ -3875,13 +3875,13 @@ declare const SessionStorageNamespace$1: {
3875
3875
  clientId?: string | undefined;
3876
3876
  compressionMode?: "auto" | "manual" | "off" | undefined;
3877
3877
  }[];
3878
- status: "closed" | "discovered" | "active" | "archived";
3878
+ status: "closed" | "discovered" | "archived" | "active";
3879
3879
  leadAgentId?: string | undefined;
3880
3880
  parentSessionId?: string | undefined;
3881
3881
  contextInheritance?: "none" | "parent-history" | undefined;
3882
3882
  rootSessionId?: string | undefined;
3883
3883
  forkPointMessageId?: string | undefined;
3884
- branchKind?: "fork" | "subagent" | "compress" | "branch" | "rewrite" | "coordinator" | "aside" | undefined;
3884
+ branchKind?: "fork" | "subagent" | "compress" | "branch" | "aside" | "rewrite" | "coordinator" | undefined;
3885
3885
  adapterName?: string | undefined;
3886
3886
  adapterSessionId?: string | undefined;
3887
3887
  currentAdapterSessionId?: 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;
@@ -37,9 +37,9 @@ declare const SubagentTemplateKernelNamespace: _$_makaio_core0.BusNamespaceDefin
37
37
  status: _$zod.ZodEnum<{
38
38
  completed: "completed";
39
39
  cancelled: "cancelled";
40
+ failed: "failed";
40
41
  running: "running";
41
42
  waiting_input: "waiting_input";
42
- failed: "failed";
43
43
  }>;
44
44
  result: _$zod.ZodOptional<_$zod.ZodString>;
45
45
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -101,9 +101,9 @@ declare const SubagentTemplateSubjects: _$_makaio_core0.BusSubjects<_$_makaio_co
101
101
  status: _$zod.ZodEnum<{
102
102
  completed: "completed";
103
103
  cancelled: "cancelled";
104
+ failed: "failed";
104
105
  running: "running";
105
106
  waiting_input: "waiting_input";
106
- failed: "failed";
107
107
  }>;
108
108
  result: _$zod.ZodOptional<_$zod.ZodString>;
109
109
  error: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1,4 +1,4 @@
1
- import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-L8zja8t8.mjs";
1
+ import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-WFZcCMwF.mjs";
2
2
  import { BusBroadcastMessage, BusMessage, BusRequestMessage, BusTransport, BusTransportError } from "@makaio/framework/bus";
3
3
  import { TransportAuth, WebSocketLike, WebSocketServerLike, WebSocketServerLike as WebSocketServerLike$1 } from "@makaio/framework/node/transports";
4
4
 
@@ -1,2 +1,2 @@
1
- import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-L8zja8t8.mjs";
1
+ import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-WFZcCMwF.mjs";
2
2
  export { StartBusServerOptions, startBusServer };
@@ -221,6 +221,17 @@ declare class HmacAuth implements TransportAuth {
221
221
  * @throws Error if authentication fails
222
222
  */
223
223
  authenticateClient(send: (message: unknown) => void): Promise<void>;
224
+ /**
225
+ * Fence a client continuation whose handshake was cleaned up or replaced.
226
+ * @param owner - Pending challenge retained for the entire handshake.
227
+ */
228
+ private assertClientOwner;
229
+ /**
230
+ * Fence server crypto completion after socket cleanup.
231
+ * @param socket - Authenticating socket.
232
+ * @param owner - Pending response retained until authentication finishes.
233
+ */
234
+ private assertServerOwner;
224
235
  /**
225
236
  * Handle incoming message during authentication phase.
226
237
  *
@@ -302,13 +313,13 @@ declare class HmacAuth implements TransportAuth {
302
313
  * characters match, enabling timing-based secret recovery. This method decodes
303
314
  * both signatures to byte arrays and uses a constant-time XOR accumulator so
304
315
  * every comparison takes the same wall-clock time regardless of the match point.
305
- * @param a - First hex signature
316
+ * @param a - Untrusted signature received from the peer
306
317
  * @param b - Second hex signature
307
318
  * @returns True when both signatures are identical
308
319
  */
309
320
  private constantTimeEqual;
310
321
  /**
311
- * Send auth result messages without masking the original auth error.
322
+ * Send negative auth results without masking the original auth error.
312
323
  *
313
324
  * Disconnect races can make `send` throw after auth already failed; callers
314
325
  * should still observe the original failure reason.
@@ -484,6 +495,17 @@ declare class E2EAuth implements TransportAuth {
484
495
  * @param send - Function to send auth messages to the client
485
496
  */
486
497
  authenticateServer(socket: WebSocketLike, send: (message: unknown) => void): Promise<void>;
498
+ /**
499
+ * Reject a client continuation whose handshake was cleaned up or replaced.
500
+ * @param owner - Pending exchange that owns the handshake.
501
+ */
502
+ private assertClientOwner;
503
+ /**
504
+ * Reject server work that outlived its socket handshake.
505
+ * @param socket - Authenticating socket.
506
+ * @param owner - Pending exchange that owns this socket handshake.
507
+ */
508
+ private assertServerOwner;
487
509
  /**
488
510
  * Handle incoming message during authentication phase.
489
511
  * @param message - Parsed message object
@@ -996,6 +1018,20 @@ interface ClientTransportCodec {
996
1018
  decode(message: unknown): Promise<BusMessage>;
997
1019
  }
998
1020
  //#endregion
1021
+ //#region transports/ws/src/connection-error.d.ts
1022
+ /** Stable connection failure categories; callers own the retry policy. */
1023
+ type WebSocketConnectionErrorCode = 'WS_CONNECTION_UNAVAILABLE' | 'WS_HANDSHAKE_TIMEOUT' | 'WS_CONNECTION_TIMEOUT' | 'WS_AUTHENTICATION_REJECTED' | 'WS_POLICY_REJECTED';
1024
+ /** A transport-classified failure, distinct from unknown factory, codec or auth errors. */
1025
+ declare class WebSocketConnectionError extends Error {
1026
+ readonly code: WebSocketConnectionErrorCode;
1027
+ /**
1028
+ * @param code - Machine-readable failure category.
1029
+ * @param message - Human-readable diagnostic.
1030
+ * @param options - Original cause, when available.
1031
+ */
1032
+ constructor(code: WebSocketConnectionErrorCode, message: string, options?: ErrorOptions);
1033
+ }
1034
+ //#endregion
999
1035
  //#region transports/ws/src/ws-client-reconnect.d.ts
1000
1036
  /**
1001
1037
  * Reconnection utilities for `WebSocketClientTransport`.
@@ -1107,16 +1143,15 @@ interface WebSocketClientTransportOptions {
1107
1143
  */
1108
1144
  heartbeat?: WebSocketClientTransportHeartbeatOptions | false;
1109
1145
  /**
1110
- * Maximum time in milliseconds a single connect attempt may wait for the
1111
- * socket to open before the attempt is failed and the socket discarded.
1146
+ * Maximum time in milliseconds for one complete connection attempt:
1147
+ * asynchronous socket creation, opening, authentication and subscription replay.
1112
1148
  *
1113
1149
  * Bounds the WebSocket upgrade so a server (or intermediary) that accepts
1114
1150
  * the TCP connection but never answers cannot wedge the reconnect loop.
1115
- * Also passed as `handshakeTimeout` to the default `ws` factory.
1116
- *
1117
- * This bound starts after `createWebSocket` resolves with a socket instance.
1118
- * Custom async factories that may block before returning a socket should
1119
- * enforce their own factory-level timeout.
1151
+ * The budget starts before `createWebSocket` is called. If a cancelled factory
1152
+ * resolves later, its socket is closed without becoming the active connection.
1153
+ * This does not include waiting for the peer's subscribe-sync-complete frame;
1154
+ * callers requiring a total bootstrap-readiness budget must also bound `ready`.
1120
1155
  * @defaultValue 30000
1121
1156
  */
1122
1157
  connectTimeoutMs?: number;
@@ -1180,7 +1215,7 @@ declare class WebSocketClientTransport implements BusTransport {
1180
1215
  private readonly debug;
1181
1216
  private readonly onConnectedCallback;
1182
1217
  private readonly onDisconnectedCallback;
1183
- private socket;
1218
+ private session;
1184
1219
  private authComplete;
1185
1220
  private readonly correlations;
1186
1221
  private readonly handlers;
@@ -1189,12 +1224,12 @@ declare class WebSocketClientTransport implements BusTransport {
1189
1224
  private subscriptionAckSeq;
1190
1225
  private messageListener;
1191
1226
  private closeListener;
1192
- /** AbortController for the active reconnect loop; `null` when not connected. */
1227
+ /** Owns initial connection and its reconnect loop; `null` when disconnected. */
1193
1228
  private reconnectAbort;
1194
1229
  /**
1195
1230
  * In-flight `handleInboundMessage` promises for the current socket session.
1196
1231
  *
1197
- * Reset to a new `Set` at the start of each connection attempt so that the
1232
+ * Drained and cleared at the start of each connection attempt so that the
1198
1233
  * drain-before-rejectAll logic in `drainAndRejectPendingCorrelations` only
1199
1234
  * waits on the promises belonging to the active session.
1200
1235
  */
@@ -1218,6 +1253,11 @@ declare class WebSocketClientTransport implements BusTransport {
1218
1253
  onConnected: (() => void) | undefined;
1219
1254
  /** Set by the transport registry; called when the connection drops unexpectedly. */
1220
1255
  onDisconnected: (() => void) | undefined;
1256
+ /**
1257
+ * Current socket remains owned during buffered reply drain, even after termination.
1258
+ * @returns The retained socket, or null after its release.
1259
+ */
1260
+ private get socket();
1221
1261
  /**
1222
1262
  * Create a new `WebSocketClientTransport`.
1223
1263
  * @param options - Transport configuration
@@ -1334,9 +1374,9 @@ declare class WebSocketClientTransport implements BusTransport {
1334
1374
  /**
1335
1375
  * Default `ws`-package WebSocket factory (dynamic import avoids bundling in browsers).
1336
1376
  *
1337
- * Passes `connectTimeoutMs` as the `ws` handshake timeout so the protocol
1338
- * layer enforces the same bound as `waitForSocketOpen` (defense in depth —
1339
- * the `ws` default is no handshake timeout at all).
1377
+ * The connection lifecycle owns the single timeout budget, including this
1378
+ * import and socket creation. A second protocol timer would race its typed
1379
+ * outcome and give callers an unstable failure category.
1340
1380
  * @param url - WebSocket server URL
1341
1381
  * @returns Promise resolving to a `WebSocketLike` instance
1342
1382
  */
@@ -2081,4 +2121,4 @@ declare module '@makaio/framework/bus' {
2081
2121
  }
2082
2122
  }
2083
2123
  //#endregion
2084
- export { type ClientTransportCodec, DispatchingAuth, E2EAuth, E2ERelayAuth, type E2ERelayAuthOptions, HmacAuth, type HmacIdentitySecretRegistrationOptions, type HmacIdentitySecretRotationOptions, type RelayControlBusMessage, type RelayControlEnvelopeMessage, type RelayControlHelpers, type RelayControlRegistry, ServerTransport, type TransportAuth, WebSocketClientTransport, type WebSocketClientTransportHeartbeatOptions, type WebSocketClientTransportOptions, type WebSocketClientTransportReconnectOptions, type WebSocketCloseEvent, type WebSocketLike, type WebSocketServerLike, clearHmacIdentitySecretsForTesting, createE2EClientTransport, createE2ERelayClientTransport, createE2ERelayCodec, createRelayControlHelpers, createRelayControlRegistry, createWebSocketCloseEvent, createWebSocketTransport, index_d_exports as crypto, extractSocketErrorMessage, registerHmacIdentitySecret, resolveHmacIdentityAllowedSubjects, resolveHmacIdentityPeer, resolveHmacIdentitySecret, rotateHmacIdentitySecret };
2124
+ export { type ClientTransportCodec, DispatchingAuth, E2EAuth, E2ERelayAuth, type E2ERelayAuthOptions, HmacAuth, type HmacIdentitySecretRegistrationOptions, type HmacIdentitySecretRotationOptions, type RelayControlBusMessage, type RelayControlEnvelopeMessage, type RelayControlHelpers, type RelayControlRegistry, ServerTransport, type TransportAuth, WebSocketClientTransport, type WebSocketClientTransportHeartbeatOptions, type WebSocketClientTransportOptions, type WebSocketClientTransportReconnectOptions, type WebSocketCloseEvent, WebSocketConnectionError, type WebSocketConnectionErrorCode, type WebSocketLike, type WebSocketServerLike, clearHmacIdentitySecretsForTesting, createE2EClientTransport, createE2ERelayClientTransport, createE2ERelayCodec, createRelayControlHelpers, createRelayControlRegistry, createWebSocketCloseEvent, createWebSocketTransport, index_d_exports as crypto, extractSocketErrorMessage, registerHmacIdentitySecret, resolveHmacIdentityAllowedSubjects, resolveHmacIdentityPeer, resolveHmacIdentitySecret, rotateHmacIdentitySecret };