@makaio/framework 1.0.0-dev-1786014320559 → 1.0.0-dev-1787670071418

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 (528) hide show
  1. package/README.md +2 -0
  2. package/dist/.makaio-build.json +2 -2
  3. package/dist/{account-identity-DGpXd8h_.mjs → account-identity-B3vLwm9O.mjs} +1 -1
  4. package/dist/adapter-Dz1fX5Wa.mjs +1 -0
  5. package/dist/adapter-subsystem/index.d.mts +118 -76
  6. package/dist/adapter-subsystem/index.mjs +1 -1
  7. package/dist/adapters/claude/index.d.mts +5 -5
  8. package/dist/adapters/config/index.d.mts +1 -1
  9. package/dist/adapters/config/index.mjs +1 -1
  10. package/dist/adapters/index.d.mts +73 -53
  11. package/dist/adapters/index.mjs +6 -6
  12. package/dist/adapters/node.d.mts +1 -1
  13. package/dist/adapters/node.mjs +1 -1
  14. package/dist/adapters/stream-session/index.mjs +1 -1
  15. package/dist/{artifact-k3veR4Yx.mjs → artifact-Btbuib48.mjs} +1 -1
  16. package/dist/attach-error-Cb3GbeKe.mjs +1 -0
  17. package/dist/{auth-A1K_7q-8.mjs → auth-C6tVtaOX.mjs} +1 -1
  18. package/dist/{authority-state-bootstrap-YwtEImIB.mjs → authority-state-bootstrap-CLYus369.mjs} +1 -1
  19. package/dist/{automation-trigger-CuSdQwir.mjs → automation-trigger-ByjNlClm.mjs} +1 -1
  20. package/dist/bus/index.d.mts +22 -4
  21. package/dist/bus/index.mjs +1 -1
  22. package/dist/{bus-CqgrphNE.mjs → bus-D6NoBhIV.mjs} +1 -1
  23. package/dist/bus-UgFdHybD.mjs +1 -0
  24. package/dist/caller-owned-adapter-stub-C1M7FKrv.mjs +1 -0
  25. package/dist/{canonical-model-DJASlL4m.mjs → canonical-model-DXOvCaVg.mjs} +1 -1
  26. package/dist/capabilities-BUwuA7XX.mjs +1 -0
  27. package/dist/capability-j3NekkIu.mjs +1 -0
  28. package/dist/{client-BL5__WT0.mjs → client-BkznbdsO.mjs} +1 -1
  29. package/dist/clients/index.d.mts +1 -1
  30. package/dist/clients/index.mjs +1 -1
  31. package/dist/clients/managed-install.d.mts +1 -1
  32. package/dist/clients/managed-install.mjs +1 -1
  33. package/dist/code-execution/worker-entry.d.mts +21 -0
  34. package/dist/code-execution/worker-entry.mjs +1 -0
  35. package/dist/code-execution-Ckmn8OZu.mjs +1 -0
  36. package/dist/code-execution-CweDSWco.mjs +1 -0
  37. package/dist/code-execution-DqkQjKa1.mjs +1 -0
  38. package/dist/{compression-BbttSqm8.mjs → compression-CtgeVLpP.mjs} +1 -1
  39. package/dist/{config-namespace-CyzeLWSg.mjs → config-namespace-CjWvw8ij.mjs} +1 -1
  40. package/dist/{context-resolution-CW0ya4QO.d.mts → context-resolution-841T7jBI.d.mts} +6 -6
  41. package/dist/contracts/adapter/index.d.mts +3 -3
  42. package/dist/contracts/adapter/index.mjs +1 -1
  43. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  44. package/dist/contracts/artifact/index.d.mts +2 -2
  45. package/dist/contracts/artifact/index.mjs +1 -1
  46. package/dist/contracts/auth/index.d.mts +2 -2
  47. package/dist/contracts/auth/index.mjs +1 -1
  48. package/dist/contracts/automation-trigger/index.d.mts +3 -3
  49. package/dist/contracts/automation-trigger/index.mjs +1 -1
  50. package/dist/contracts/canonical-model/index.d.mts +1 -1
  51. package/dist/contracts/canonical-model/index.mjs +1 -1
  52. package/dist/contracts/capabilities/index.d.mts +1 -1
  53. package/dist/contracts/capabilities/index.mjs +1 -1
  54. package/dist/contracts/client/index.d.mts +2 -2
  55. package/dist/contracts/client/index.mjs +1 -1
  56. package/dist/contracts/code-execution/index.d.mts +2 -0
  57. package/dist/contracts/code-execution/index.mjs +1 -0
  58. package/dist/contracts/common/index.d.mts +1 -1
  59. package/dist/contracts/config/index.d.mts +1 -1
  60. package/dist/contracts/config/index.mjs +1 -1
  61. package/dist/contracts/extension/index.d.mts +5 -5
  62. package/dist/contracts/extension/index.mjs +1 -1
  63. package/dist/contracts/facet/index.d.mts +1 -1
  64. package/dist/contracts/facet/index.mjs +1 -1
  65. package/dist/contracts/harness/index.d.mts +1 -1
  66. package/dist/contracts/harness/index.mjs +1 -1
  67. package/dist/contracts/host/index.d.mts +1 -1
  68. package/dist/contracts/host/index.mjs +1 -1
  69. package/dist/contracts/index.d.mts +81 -71
  70. package/dist/contracts/index.mjs +1 -1
  71. package/dist/contracts/materialization/index.d.mts +3 -3
  72. package/dist/contracts/materialization/index.mjs +1 -1
  73. package/dist/contracts/model-registry/index.d.mts +1 -1
  74. package/dist/contracts/model-registry/index.mjs +1 -1
  75. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  76. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  77. package/dist/contracts/platform/index.d.mts +1 -1
  78. package/dist/contracts/platform/index.mjs +1 -1
  79. package/dist/contracts/provider/index.d.mts +2 -2
  80. package/dist/contracts/provider/index.mjs +1 -1
  81. package/dist/contracts/reaction/index.d.mts +1 -1
  82. package/dist/contracts/reaction/index.mjs +1 -1
  83. package/dist/contracts/session/index.d.mts +3 -3
  84. package/dist/contracts/session/index.mjs +1 -1
  85. package/dist/contracts/shared/index.d.mts +3 -3
  86. package/dist/contracts/shared/index.mjs +1 -1
  87. package/dist/contracts/skill/index.d.mts +1 -1
  88. package/dist/contracts/skill/index.mjs +1 -1
  89. package/dist/contracts/telemetry/index.d.mts +1 -1
  90. package/dist/contracts/telemetry/index.mjs +1 -1
  91. package/dist/contracts/timeout/index.d.mts +1 -1
  92. package/dist/contracts/timeout/index.mjs +1 -1
  93. package/dist/contracts/toast/index.mjs +1 -1
  94. package/dist/contracts/variant/index.d.mts +1 -1
  95. package/dist/contracts/variant/index.mjs +1 -1
  96. package/dist/contracts/worker-node/index.d.mts +1 -1
  97. package/dist/contracts/worker-node/index.mjs +1 -1
  98. package/dist/contracts/workflow/index.d.mts +2 -2
  99. package/dist/contracts/workflow/index.mjs +1 -1
  100. package/dist/{contribution-BH-wKsWI.d.mts → contribution-CUHLVLsT.d.mts} +2 -2
  101. package/dist/core/index.d.mts +25 -2
  102. package/dist/{definition-CDg-Jq1T.mjs → definition-BH4QLGLI.mjs} +1 -1
  103. package/dist/{definition-BYgHlmMw.d.mts → definition-DyGImhyi.d.mts} +1 -1
  104. package/dist/{detached-extension-handle-DKd17UB6.mjs → detached-extension-handle-D0aI0pJA.mjs} +1 -1
  105. package/dist/drizzle/0034_m_msha1388.sql +41 -0
  106. package/dist/drizzle/0035_m_mshgj6x7.sql +40 -0
  107. package/dist/drizzle/0036_m_msivwbgm.sql +1 -0
  108. package/dist/drizzle/0037_runtime_instance_incarnation_counter.sql +6 -0
  109. package/dist/drizzle/meta/_journal.json +28 -0
  110. package/dist/event-B8ELuk6k.mjs +1 -0
  111. package/dist/{execution-attempt-repository-DFyAnchJ.d.mts → execution-attempt-repository-BJ2W6wwx.d.mts} +1 -1
  112. package/dist/{execution-target-ByNwZh5-.mjs → execution-target-H0RWV7Py.mjs} +1 -1
  113. package/dist/{extension-DUmibvMk.mjs → extension-Bfkr2DBs.mjs} +1 -1
  114. package/dist/{extension-DMdmj9gi.mjs → extension-Cz39YNXy.mjs} +1 -1
  115. package/dist/{extension-context-CqfddWXs.d.mts → extension-context-QmFuHdq5.d.mts} +3 -3
  116. package/dist/{extension-discovery-Fhps4icD.d.mts → extension-discovery-Dhu3WplO.d.mts} +9 -1
  117. package/dist/{filesystem-service-FAtd9gWH.mjs → filesystem-service-CiUw0YN5.mjs} +1 -1
  118. package/dist/framework-packages-BHgul8Kl.mjs +1 -0
  119. package/dist/git/index.mjs +2 -2
  120. package/dist/{globby-BBLuT_vy.mjs → globby-QBDqstzq.mjs} +1 -1
  121. package/dist/handlers-BsHAFtye.mjs +57 -0
  122. package/dist/{harness-KxbWGL4I.mjs → harness-YQ2ewID9.mjs} +1 -1
  123. package/dist/{hook-responses-CQZIv3L3.d.mts → hook-responses-9Ywsqzzq.d.mts} +1 -1
  124. package/dist/identity-OjRlG6dZ.mjs +1 -0
  125. package/dist/{index-B6GOuxVy2.d.mts → index-8NdPPzUh2.d.mts} +16 -16
  126. package/dist/{index-BFhJe-Sb.d.mts → index-B0VO0rAl.d.mts} +1 -1
  127. package/dist/{index-DI7-tIL3.d.mts → index-B0yMCJW8.d.mts} +39 -14
  128. package/dist/{index-CqQYgsbB.d.mts → index-BNzUyVwV.d.mts} +513 -170
  129. package/dist/{index-3eUIRy7T.d.mts → index-BkbnC65b.d.mts} +197 -25
  130. package/dist/index-Bqk0pJBQ2.d.mts +138 -0
  131. package/dist/{index-CB4aIUoF.d.mts → index-BuMsrli0.d.mts} +16 -16
  132. package/dist/{index-ByZi9bml.d.mts → index-C146Eq_J.d.mts} +567 -1833
  133. package/dist/{index-C__EQfKa.d.mts → index-CIEycZrt.d.mts} +1 -1
  134. package/dist/{index-DxYDRoDE2.d.mts → index-CMekqu_D.d.mts} +28 -8
  135. package/dist/{index-nydhGvXa.d.mts → index-CPRQ4dWX.d.mts} +0 -23
  136. package/dist/{index-BSQ30wYP.d.mts → index-CPi0UpRh.d.mts} +1 -1
  137. package/dist/{index-DcYAAJ0V.d.mts → index-CYjgoYeX.d.mts} +3 -3
  138. package/dist/{index-CSN_0sCo.d.mts → index-CmwAJ8-5.d.mts} +1 -1
  139. package/dist/index-Cny5RvjO.d.mts +800 -0
  140. package/dist/{index-CwDiyJkJ.d.mts → index-D-4jv_66.d.mts} +183 -183
  141. package/dist/{index-B4xdTT3c.d.mts → index-D8D-yibS2.d.mts} +10 -10
  142. package/dist/index-DHnSLGP4.d.mts +268 -0
  143. package/dist/{index-Dch_AxUg.d.mts → index-DI2lS7VT.d.mts} +15 -15
  144. package/dist/{index-DcqSUsX6.d.mts → index-DJ2KgJDJ2.d.mts} +16 -16
  145. package/dist/{index-CDusRXio.d.mts → index-DNI6UF9h.d.mts} +76 -76
  146. package/dist/index-DQ8o3JGi.d.mts +132 -0
  147. package/dist/index-DWBkiiXH.d.mts +18 -0
  148. package/dist/{index-BiAYXjgM.d.mts → index-DXtQRehh.d.mts} +26 -26
  149. package/dist/{index-B5op6AsV.d.mts → index-D_4K3Tf_.d.mts} +80 -205
  150. package/dist/index-Dg11JxKZ.d.mts +496 -0
  151. package/dist/json-value-BBZ6uGwc.mjs +1 -0
  152. package/dist/json-value-DPqb-SJ8.d.mts +177 -0
  153. package/dist/kernel/cli/index.d.mts +2 -2
  154. package/dist/kernel/cli/index.mjs +1 -1
  155. package/dist/kernel/cli/register.d.mts +1 -1
  156. package/dist/kernel/cli/register.mjs +1 -1
  157. package/dist/kernel/cli/schemas.mjs +1 -1
  158. package/dist/kernel/extension/index.d.mts +1 -1
  159. package/dist/kernel/extension/index.mjs +1 -1
  160. package/dist/kernel/index.d.mts +5 -5
  161. package/dist/kernel/index.mjs +1 -1
  162. package/dist/kernel/namespace/index.d.mts +1 -1
  163. package/dist/kernel/namespace/index.mjs +1 -1
  164. package/dist/kernel/observability/index.d.mts +1 -1
  165. package/dist/kernel/observability/index.mjs +1 -1
  166. package/dist/kernel/providers/index.d.mts +1 -1
  167. package/dist/kernel/providers/index.mjs +1 -1
  168. package/dist/kernel/window/index.d.mts +1 -1
  169. package/dist/kernel/window/index.mjs +1 -1
  170. package/dist/{lib-CnOAtohU.mjs → lib-BpGvHZye.mjs} +2 -2
  171. package/dist/{lib-B_rJ6r0T.mjs → lib-Cm-uEoC1.mjs} +1 -1
  172. package/dist/{load-extensions-DUpaMQ7G.d.mts → load-extensions-BQoXaHhR.d.mts} +1 -1
  173. package/dist/{load-extensions-CW9uzNR5.mjs → load-extensions-DG5LvPyM.mjs} +1 -1
  174. package/dist/{materialization-CcpCDhXh.mjs → materialization-lVd9_-jr.mjs} +1 -1
  175. package/dist/mcp-http-server/index.mjs +1 -1
  176. package/dist/model-DrzPt3ou.mjs +1 -0
  177. package/dist/{namespace-B7bntOB8.mjs → namespace-BL7lHlmg.mjs} +1 -1
  178. package/dist/{namespace-CAy4P5mW.d.mts → namespace-BNp7n_gu.d.mts} +4 -4
  179. package/dist/{namespace-DSlfFhB1.d.mts → namespace-BRuHzhPo.d.mts} +154 -2
  180. package/dist/{namespace-ChnRTUG4.d.mts → namespace-C06lJSuj.d.mts} +6 -6
  181. package/dist/{namespace-Rge9mMI-.d.mts → namespace-DOezqDti.d.mts} +18 -18
  182. package/dist/{namespace-C6CVEGH8.d.mts → namespace-DknCutQZ.d.mts} +50 -0
  183. package/dist/namespace-sCPb79-7.mjs +1 -0
  184. package/dist/{native-session-supervisor-fZYPUk0-.mjs → native-session-supervisor-LKio8XZn.mjs} +1 -1
  185. package/dist/node/bus-server/index.d.mts +1 -1
  186. package/dist/node/bus-server/index.mjs +1 -1
  187. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  188. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  189. package/dist/npm-package-name-DuTYVICk.mjs +1 -0
  190. package/dist/orchestrator-shared-BGlN-m-V.mjs +1 -0
  191. package/dist/{orchestrator-shared-B-KRW1Z0.d.mts → orchestrator-shared-CNHSImNY.d.mts} +9 -10
  192. package/dist/ownership-memory-handler-BpGdR_uG.mjs +1 -0
  193. package/dist/ownership-recovery-guard-DyW5vGBr.mjs +1 -0
  194. package/dist/{package-ypz4rKvn.mjs → package-B01gmu75.mjs} +1 -1
  195. package/dist/{package-Bf3hyuzs.d.mts → package-BNFTUFLB.d.mts} +2 -2
  196. package/dist/package-DttKA9wN.mjs +1 -0
  197. package/dist/{package-CddkNbZI.mjs → package-JtjbO-Oi.mjs} +1 -1
  198. package/dist/package.json +1 -1
  199. package/dist/{profile-BtznZlq3.mjs → profile-N5qGUpF0.mjs} +1 -1
  200. package/dist/{provider-context-Dh-VOOYF.mjs → provider-context-CG42JlP9.mjs} +1 -1
  201. package/dist/{provider-context-BrLZYnDW.mjs → provider-context-zTDSH2x9.mjs} +1 -1
  202. package/dist/{reaction-BS0k4eNN.mjs → reaction-D3TNwPK8.mjs} +1 -1
  203. package/dist/{registry-BO_bOoky.mjs → registry-Dk12tAfv.mjs} +1 -1
  204. package/dist/{resolved-DMByz1_2.mjs → resolved-sq8RXNDf.mjs} +1 -1
  205. package/dist/rules/index.d.mts +1 -1
  206. package/dist/rules/index.mjs +1 -1
  207. package/dist/rules/schemas.d.mts +1 -1
  208. package/dist/rules/schemas.mjs +1 -1
  209. package/dist/runtime-bun/index.mjs +1 -1
  210. package/dist/runtime-node/code-execution/index.d.mts +3 -0
  211. package/dist/runtime-node/code-execution/index.mjs +1 -0
  212. package/dist/runtime-node/extension-discovery.d.mts +2 -2
  213. package/dist/runtime-node/extension-discovery.mjs +1 -1
  214. package/dist/runtime-node/extension-validation.d.mts +1 -1
  215. package/dist/runtime-node/extension-validation.mjs +1 -1
  216. package/dist/runtime-node/index.d.mts +6 -4
  217. package/dist/runtime-node/index.mjs +24 -24
  218. package/dist/runtime-node/makaio-config.d.mts +1 -1
  219. package/dist/runtime-node/makaio-config.mjs +1 -1
  220. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  221. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  222. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  223. package/dist/{schema-DKTzriEY.d.mts → schema-B3Pf7JP7.d.mts} +250 -3
  224. package/dist/{schema-DBG7Jq5_.mjs → schema-Dq-7si8u.mjs} +1 -1
  225. package/dist/{schemas-C-Bm6Oac.d.mts → schemas-BXc9qOpl.d.mts} +2 -0
  226. package/dist/{schemas-DSkBOdx_.mjs → schemas-BfO5jkrL.mjs} +1 -1
  227. package/dist/{schemas-B7zo7Zcx.d.mts → schemas-C1mxTfd7.d.mts} +60 -4
  228. package/dist/schemas-C3kyQWGf.mjs +1 -0
  229. package/dist/{schemas-9qeeHGBf.d.mts → schemas-Dd13TMgU.d.mts} +8 -8
  230. package/dist/{schemas-DZH9lpxs.d.mts → schemas-OWvBn7AH.d.mts} +4 -4
  231. package/dist/{schemas-CsjN7cmM.mjs → schemas-QWDnauKX.mjs} +1 -1
  232. package/dist/schemas-TK29KWx-.mjs +1 -0
  233. package/dist/schemas-_2Syo_01.mjs +1 -0
  234. package/dist/scoped-bus-DoPmCJeM.mjs +1 -0
  235. package/dist/{selection-7Ku8DBnh.mjs → selection-DL3ric7K.mjs} +1 -1
  236. package/dist/services/adapter-runtime/index.d.mts +4 -4
  237. package/dist/services/adapter-runtime/index.mjs +1 -1
  238. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  239. package/dist/services/adapter-runtime/schemas.d.mts +2 -2
  240. package/dist/services/adapter-runtime/schemas.mjs +1 -1
  241. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  242. package/dist/services/adapter-subsystem/index.mjs +1 -1
  243. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  244. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  245. package/dist/services/agent-runtime/index.d.mts +2 -2
  246. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  247. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  248. package/dist/services/automation-trigger/index.mjs +1 -1
  249. package/dist/services/capability/index.d.mts +3 -2
  250. package/dist/services/capability/index.mjs +1 -1
  251. package/dist/services/code-execution/index.d.mts +2 -0
  252. package/dist/services/code-execution/index.mjs +1 -0
  253. package/dist/services/codebase/index.d.mts +2 -2
  254. package/dist/services/codebase/namespace.d.mts +1 -1
  255. package/dist/services/codebase/schemas.d.mts +1 -1
  256. package/dist/services/compression/index.d.mts +2 -2
  257. package/dist/services/compression/namespace.d.mts +1 -1
  258. package/dist/services/compression/schemas.d.mts +1 -1
  259. package/dist/services/context-rules/index.d.mts +4 -4
  260. package/dist/services/context-rules/index.mjs +1 -1
  261. package/dist/services/execution-target/index.d.mts +3 -3
  262. package/dist/services/execution-target/index.mjs +1 -1
  263. package/dist/services/execution-target/namespace.d.mts +1 -1
  264. package/dist/services/execution-target/namespace.mjs +1 -1
  265. package/dist/services/execution-target/schemas.d.mts +1 -1
  266. package/dist/services/execution-target/schemas.mjs +1 -1
  267. package/dist/services/filesystem/index.d.mts +1 -1
  268. package/dist/services/filesystem/index.mjs +1 -1
  269. package/dist/services/filesystem/namespace.d.mts +6 -6
  270. package/dist/services/filesystem/schemas.d.mts +3 -3
  271. package/dist/services/git/namespace.d.mts +18 -0
  272. package/dist/services/git/namespace.mjs +1 -1
  273. package/dist/services/git/schemas.d.mts +10 -1
  274. package/dist/services/git/schemas.mjs +1 -1
  275. package/dist/services/harness/index.mjs +1 -1
  276. package/dist/services/index.d.mts +164 -64
  277. package/dist/services/index.mjs +1 -1
  278. package/dist/services/log-import/browser.d.mts +2 -2
  279. package/dist/services/log-import/index.d.mts +2 -2
  280. package/dist/services/log-import/log-import.d.mts +1 -1
  281. package/dist/services/log-import/log-import.mjs +1 -1
  282. package/dist/services/log-import/namespace.mjs +1 -1
  283. package/dist/services/log-import/schemas.mjs +1 -1
  284. package/dist/services/materialization/index.d.mts +1 -1
  285. package/dist/services/materialization/index.mjs +1 -1
  286. package/dist/services/model-registry/index.d.mts +1 -1
  287. package/dist/services/model-registry/index.mjs +1 -1
  288. package/dist/services/preferences/index.d.mts +2 -2
  289. package/dist/services/preferences/schemas.d.mts +1 -1
  290. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  291. package/dist/services/provider-context/index.d.mts +1 -1
  292. package/dist/services/provider-context/index.mjs +1 -1
  293. package/dist/services/provider-runtime/index.mjs +1 -1
  294. package/dist/services/session/handlers/index.d.mts +1 -1
  295. package/dist/services/session/handlers/index.mjs +1 -1
  296. package/dist/services/session/index.d.mts +10 -10
  297. package/dist/services/session/index.mjs +1 -1
  298. package/dist/services/session/messages/namespace.d.mts +1 -1
  299. package/dist/services/session/messages/namespace.mjs +1 -1
  300. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  301. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  302. package/dist/services/session/session-events/namespace.d.mts +1 -1
  303. package/dist/services/session/session-events/namespace.mjs +1 -1
  304. package/dist/services/session/storage/namespace.d.mts +1 -1
  305. package/dist/services/session/storage/schema.d.mts +2 -2
  306. package/dist/services/session/storage/schema.mjs +1 -1
  307. package/dist/services/session/testing/index.d.mts +22 -1
  308. package/dist/services/session/testing/index.mjs +38 -14
  309. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  310. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  311. package/dist/services/session/turns/namespace.d.mts +1 -1
  312. package/dist/services/session/turns/namespace.mjs +1 -1
  313. package/dist/services/session-editor/index.d.mts +1 -1
  314. package/dist/services/session-editor/index.mjs +1 -1
  315. package/dist/services/settings/index.d.mts +3 -3
  316. package/dist/services/settings/index.mjs +1 -1
  317. package/dist/services/settings/namespace.d.mts +8 -8
  318. package/dist/services/settings/namespace.mjs +1 -1
  319. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  320. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  321. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  322. package/dist/services/settings/storage/index.d.mts +3 -3
  323. package/dist/services/settings/storage/index.mjs +1 -1
  324. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  325. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  326. package/dist/services/subagent/index.d.mts +1 -1
  327. package/dist/services/subagent/index.mjs +1 -1
  328. package/dist/services/subagent-template/index.d.mts +2 -2
  329. package/dist/services/subagent-template/namespace.d.mts +1 -1
  330. package/dist/services/subagent-template/schemas.d.mts +1 -1
  331. package/dist/services/tool-approval/index.d.mts +1 -1
  332. package/dist/services/tool-approval/index.mjs +1 -1
  333. package/dist/services/tools/index.d.mts +1 -1
  334. package/dist/services/tools/index.mjs +1 -1
  335. package/dist/services/tray-menu/index.d.mts +3 -3
  336. package/dist/services/tray-menu/index.mjs +1 -1
  337. package/dist/services/tray-menu/namespace.d.mts +1 -1
  338. package/dist/services/tray-menu/schemas.d.mts +1 -1
  339. package/dist/services/turn/index.d.mts +1 -1
  340. package/dist/services/turn/namespace.d.mts +1 -1
  341. package/dist/services/workflow-transitions/index.d.mts +1 -1
  342. package/dist/services/workflow-transitions/index.mjs +1 -1
  343. package/dist/session-BOpTI79g.mjs +1 -0
  344. package/dist/session-CXOPk3yg.mjs +95 -0
  345. package/dist/{session-lineage-B_PVa1XN.d.mts → session-lineage-bUkd3fqx.d.mts} +1 -1
  346. package/dist/{shared-BFVuCDPx.mjs → shared-B9AWRm9A.mjs} +1 -1
  347. package/dist/{skill-C1D51nhh.mjs → skill-DGNtc_ww.mjs} +1 -1
  348. package/dist/{src-xbmzokNe.mjs → src-BmSQ3rlz.mjs} +1 -1
  349. package/dist/storage/drizzle/client.d.mts +1 -1
  350. package/dist/storage/drizzle/client.mjs +1 -1
  351. package/dist/storage/drizzle/index.d.mts +41 -2
  352. package/dist/storage/drizzle/index.mjs +1 -1
  353. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  354. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  355. package/dist/storage/handlers/index.d.mts +1 -1
  356. package/dist/storage/handlers/index.mjs +1 -1
  357. package/dist/tool-approval-service-BFDOFUGC.mjs +1 -0
  358. package/dist/{tools-DxwHox1a.mjs → tools-DWKWX3eV.mjs} +1 -1
  359. package/dist/{transition-BF1nevaC.d.mts → transition-D3zUBTPc.d.mts} +6 -6
  360. package/dist/{types-BNjPhj_a.d.mts → types-CtDGkyLx2.d.mts} +1 -1
  361. package/dist/types-Cwza95hS.mjs +1 -0
  362. package/dist/{types-CijlWGwb.d.mts → types-DcxBYlPA.d.mts} +3023 -43
  363. package/dist/types-DnK6Wa_Y.d.mts +260 -0
  364. package/dist/{types-ClpEaoAm.d.mts → types-OKJCOjme.d.mts} +24 -4
  365. package/dist/ui-kernel/index.d.mts +1 -1
  366. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  367. package/dist/utils/index.d.mts +22 -1
  368. package/dist/utils/index.mjs +2 -2
  369. package/dist/utils/project-manifest.mjs +1 -1
  370. package/dist/{version-BfNnVAGr.mjs → version-BYeVh1pI.mjs} +1 -1
  371. package/dist/{view-builder-Bc9dx6jF.d.mts → view-builder-B0j9p5C0.d.mts} +4 -4
  372. package/dist/{visibility-Dl1o2I01.mjs → visibility-DtDLRBdr.mjs} +1 -1
  373. package/dist/worker-node-CjuQb9hl.mjs +1 -0
  374. package/dist/{worker-node-DJ41Tr-F.mjs → worker-node-Dtf9ilsR.mjs} +1 -1
  375. package/dist/workflow-C4mck_NW.mjs +1 -0
  376. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  377. package/dist/workflow-engine/index.d.mts +126 -126
  378. package/dist/workflow-engine/index.mjs +1 -1
  379. package/dist/workflow-engine/package.d.mts +1 -1
  380. package/dist/workflow-engine/package.mjs +1 -1
  381. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  382. package/dist/workflow-engine/testing/index.d.mts +2 -2
  383. package/dist/workflow-engine/testing/index.mjs +1 -1
  384. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  385. package/dist/workflow-engine/testing/sqlite.mjs +1 -1
  386. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  387. package/dist/{workflow-transitions-DM0fN_eP.mjs → workflow-transitions-c_VQbyV0.mjs} +1 -1
  388. package/dist/workflow-worker-aNbdgqml.mjs +1 -0
  389. package/package.json +18 -1
  390. package/dist/adapter-BkdJaOOG.mjs +0 -1
  391. package/dist/agent-namespace-D51PODFf.mjs +0 -1
  392. package/dist/attach-error-BSlc7JfL.mjs +0 -1
  393. package/dist/bus-BIj0_aG6.mjs +0 -1
  394. package/dist/capabilities-Bqckjh7G.mjs +0 -1
  395. package/dist/capability-service-CJHNkjvm.mjs +0 -1
  396. package/dist/event-DR8U9Efx.mjs +0 -1
  397. package/dist/framework-packages-D_2hBZ-p.mjs +0 -1
  398. package/dist/handlers-2yd00VEq.mjs +0 -57
  399. package/dist/identity-DC3Pk0ps.mjs +0 -1
  400. package/dist/index-OsbtyMgx2.d.mts +0 -98
  401. package/dist/json-value-C1RGgS0a.d.mts +0 -72
  402. package/dist/json-value-D57aJhVn.mjs +0 -1
  403. package/dist/model-ZH3L1dPW.mjs +0 -1
  404. package/dist/namespace-CxrOLeeP.mjs +0 -1
  405. package/dist/orchestrator-shared-CTCZc6Vl.mjs +0 -1
  406. package/dist/ownership-memory-handler-Bblp93YC.mjs +0 -1
  407. package/dist/schemas-BqD8LlQw.mjs +0 -1
  408. package/dist/schemas-CvHFbzdy.mjs +0 -1
  409. package/dist/schemas-DplrlAyR.mjs +0 -1
  410. package/dist/scoped-bus-ClwTWqX8.mjs +0 -1
  411. package/dist/session-BMy2kRpX.mjs +0 -90
  412. package/dist/session-Cipx34j6.mjs +0 -1
  413. package/dist/tool-approval-service-BVgN9Q1r.mjs +0 -1
  414. package/dist/worker-node-BDOYPEpi.mjs +0 -1
  415. package/dist/workflow-Hzc5jlnV.mjs +0 -1
  416. package/dist/workflow-worker-DARC7UZl.mjs +0 -1
  417. package/dist/{adapter-auth-runtime-D9Lnl7cc.mjs → adapter-auth-runtime-DHHppU4f.mjs} +0 -0
  418. package/dist/{adapter-binding-B-FBoCys.d.mts → adapter-binding-CATvmGuz.d.mts} +0 -0
  419. package/dist/{ajv-L5fKxaia.mjs → ajv-krzJXh1X.mjs} +0 -0
  420. package/dist/{attempt-record-codec-DaFLKR5C.mjs → attempt-record-codec-BYfYkj4M.mjs} +0 -0
  421. package/dist/{await-trigger-ph1S0zVI.mjs → await-trigger-Bkg2BQfg.mjs} +0 -0
  422. package/dist/{base-orchestrator-D9u4NyiM.d.mts → base-orchestrator-B4YW6z_Q.d.mts} +0 -0
  423. package/dist/{index-Ol9RBB0W2.d.mts → capability-service-BW1-teFU.d.mts} +0 -0
  424. package/dist/{client-4ihewPUm.d.mts → client-BG0WX5Vz.d.mts} +0 -0
  425. package/dist/{client-binary-version-verifier-DJajc_Ff.mjs → client-binary-version-verifier-0lCKZOTg.mjs} +0 -0
  426. package/dist/{client-binary-version-verifier-jDDZ64Ah.d.mts → client-binary-version-verifier-lcv83Hq3.d.mts} +0 -0
  427. package/dist/{clients-namespace-DFWuUawf.d.mts → clients-namespace-DLAjOTTb.d.mts} +0 -0
  428. package/dist/{config-namespace-D1kyZj0B.d.mts → config-namespace-CH7sJZ4f.d.mts} +0 -0
  429. package/dist/{create-static-mount-9tnGpIeK.mjs → create-static-mount-DxuixuLZ.mjs} +0 -0
  430. package/dist/{cross-spawn-BIgueAqr.mjs → cross-spawn-CZygZJMH.mjs} +0 -0
  431. package/dist/{cursor-storage-ROWfiTh1.mjs → cursor-storage-bsc9lZKk.mjs} +0 -0
  432. package/dist/{definition-DB-kKc0d.d.mts → definition-BrgzUuFk.d.mts} +0 -0
  433. package/dist/{definitions-CF6YmEhL.mjs → definitions-CRpdnHYM.mjs} +0 -0
  434. package/dist/{descriptor-to-package-BecVCopf.mjs → descriptor-to-package-CcjdoWP4.mjs} +0 -0
  435. package/dist/{drizzle-CPv3vdTE.mjs → drizzle-Bzc-OGVI.mjs} +0 -0
  436. package/dist/{esm-CBFWM8u_.mjs → esm-i-S5TW72.mjs} +0 -0
  437. package/dist/{extension-namespace-B554RmCp.mjs → extension-namespace-QoTTwKPt.mjs} +0 -0
  438. package/dist/{extension-package-provenance-Dh_-Z-tE.mjs → extension-package-provenance-aYrZuS4W.mjs} +0 -0
  439. package/dist/{facet-DVsW12iF.mjs → facet-BnMh7Jyc.mjs} +0 -0
  440. package/dist/{filesystem-service-Cm2RHKBa.d.mts → filesystem-service-ZJ43SbBi.d.mts} +0 -0
  441. package/dist/{handler-Bqlk-6BY.mjs → handler-DF1fVDpf.mjs} +0 -0
  442. package/dist/{host-k5yoyKHg.mjs → host-B-_ntOMH.mjs} +0 -0
  443. package/dist/{index-DwLRZscE.d.mts → index-8y4hT9WL.d.mts} +0 -0
  444. package/dist/{index-C7HcDpHE.d.mts → index-B-3I98nw.d.mts} +0 -0
  445. package/dist/{index-BcvqDfcN.d.mts → index-B2Y1Wvbh.d.mts} +0 -0
  446. package/dist/{index-BRCrFirq.d.mts → index-B4svZC6L.d.mts} +0 -0
  447. package/dist/{index-CQuRTeRa.d.mts → index-B5dP8rj6.d.mts} +0 -0
  448. package/dist/{index-CRmE88hi.d.mts → index-BC-6qNeo.d.mts} +0 -0
  449. package/dist/{index-CxSSdIZz.d.mts → index-BFWvT0NG.d.mts} +0 -0
  450. package/dist/{index-DP3o_13U.d.mts → index-BM56936c.d.mts} +0 -0
  451. package/dist/{index-BVcQcphK.d.mts → index-BMRB9yhF.d.mts} +0 -0
  452. package/dist/{index-bIe_57cL.d.mts → index-BTEJfzjE.d.mts} +0 -0
  453. package/dist/{index-DgOfgjx3.d.mts → index-BfV8U4XX.d.mts} +0 -0
  454. package/dist/{index-DBadVauL.d.mts → index-BmevAPME2.d.mts} +0 -0
  455. package/dist/{index-BJAB-BW_.d.mts → index-C4V8Pmi4.d.mts} +0 -0
  456. package/dist/{index-aoxdnhJ42.d.mts → index-CL0Jo1b92.d.mts} +0 -0
  457. package/dist/{index-CvW9_SzR.d.mts → index-CVpaGijY.d.mts} +0 -0
  458. package/dist/{index-E4SET1AA.d.mts → index-CmbkCxj-.d.mts} +0 -0
  459. package/dist/{index-BgGe9WZz.d.mts → index-CqdMbYmR.d.mts} +0 -0
  460. package/dist/{index-BQprJNA_.d.mts → index-D037TVsm.d.mts} +0 -0
  461. package/dist/{index-BeENojSx2.d.mts → index-DgspOUa72.d.mts} +0 -0
  462. package/dist/{index-42UdYStR.d.mts → index-Ek4y8M9J2.d.mts} +0 -0
  463. package/dist/{index-Beo_Ik8-.d.mts → index-VzLAV0Yt.d.mts} +0 -0
  464. package/dist/{index-BSbGB23v.d.mts → index-jxPncqWZ2.d.mts} +0 -0
  465. package/dist/{index-BRzHs7Bx.d.mts → index-kzIjbrS02.d.mts} +6 -6
  466. /package/dist/{index-BJMezANn.d.mts → index-l01zsChf.d.mts} +0 -0
  467. /package/dist/{index-CK3f0bAL.d.mts → index-pvX-BIpr2.d.mts} +0 -0
  468. /package/dist/{jsonl-transport-Bp_6pB2a.mjs → jsonl-transport-Cyyh5Wje.mjs} +0 -0
  469. /package/dist/{lib-Bwdd2m81.mjs → lib-BqV8hYtk.mjs} +0 -0
  470. /package/dist/{model-registry-yURX738J.mjs → model-registry-C9rFu3kV.mjs} +0 -0
  471. /package/dist/{model-registry-Y854mUml.mjs → model-registry-Cixxx2jv.mjs} +0 -0
  472. /package/dist/{modes-DmUsjHdV.mjs → modes-DwsJ3yVl.mjs} +0 -0
  473. /package/dist/{namespace-ByP1Iipi.d.mts → namespace-B0ftHlK3.d.mts} +0 -0
  474. /package/dist/{namespace-C1D77w7U.d.mts → namespace-BGRHcrmp.d.mts} +0 -0
  475. /package/dist/{namespace-Bi3CmYQy.d.mts → namespace-BUYDmd0r.d.mts} +0 -0
  476. /package/dist/{namespace-CkBbNFSU.mjs → namespace-BW3Bfu9h.mjs} +0 -0
  477. /package/dist/{namespace-DX1Ec15L.d.mts → namespace-BdAK0lD8.d.mts} +0 -0
  478. /package/dist/{namespace-Dgg0uoe6.d.mts → namespace-CPG6u60N.d.mts} +0 -0
  479. /package/dist/{namespace-BusZERU8.d.mts → namespace-CVFaZv8x.d.mts} +0 -0
  480. /package/dist/{namespace-yREpGJgG.d.mts → namespace-DBO1OzYB.d.mts} +0 -0
  481. /package/dist/{namespace-CfIW0hpQ.mjs → namespace-DiwqpB-c.mjs} +0 -0
  482. /package/dist/{namespace-s2y_NFKf.d.mts → namespace-DqZweTbX.d.mts} +0 -0
  483. /package/dist/{namespace-CFjdyNXG.mjs → namespace-Du0accdE.mjs} +0 -0
  484. /package/dist/{namespace-BFqkUTJp.mjs → namespace-NXm_zvL1.mjs} +0 -0
  485. /package/dist/{namespace-B9FEGuEu.mjs → namespace-jVTsuZHX.mjs} +0 -0
  486. /package/dist/{namespace-DwZwGXgF.d.mts → namespace-l-HG1rLF.d.mts} +0 -0
  487. /package/dist/{namespace-DbNWsPFY.mjs → namespace-tjoxekmf.mjs} +0 -0
  488. /package/dist/{out-DrhwCgqM.mjs → out-8bOYN6EF.mjs} +0 -0
  489. /package/dist/{package-CBdvjyyZ.mjs → package-EGTn-Ng1.mjs} +0 -0
  490. /package/dist/{packages-FBv3fAOR.mjs → packages-Bp124-gx.mjs} +0 -0
  491. /package/dist/{packages-N3-2Kl-Y.d.mts → packages-CxPMEg8D.d.mts} +0 -0
  492. /package/dist/{platform-BrsMv_S3.mjs → platform-CxyYPrkf.mjs} +0 -0
  493. /package/dist/{provider-operation-DJ_TLZFf.d.mts → provider-operation-DbdyFwNm.d.mts} +0 -0
  494. /package/dist/{providers-CCcn4Ndp.mjs → providers-C-eekMxD.mjs} +0 -0
  495. /package/dist/{providers-namespace-DeJBh6MP.d.mts → providers-namespace-CfZKp-C0.d.mts} +0 -0
  496. /package/dist/{quick-lru-uwB0hP-y.mjs → quick-lru-CCEnf7y6.mjs} +0 -0
  497. /package/dist/{schema-jIapW8Kb.mjs → schema-C0opCPww.mjs} +0 -0
  498. /package/dist/{schema-introspection-C1wvklj9.mjs → schema-introspection-6-r_KEJQ.mjs} +0 -0
  499. /package/dist/{schemas-CeUI2i5j.d.mts → schemas-B50oWBuj.d.mts} +0 -0
  500. /package/dist/{schemas-CD0wOQxx.d.mts → schemas-B6Q-qdmn.d.mts} +0 -0
  501. /package/dist/{schemas-DgwEVUt-.mjs → schemas-B8hKbBwI.mjs} +0 -0
  502. /package/dist/{schemas-sMoRnBdZ.d.mts → schemas-BGvkTiCx.d.mts} +0 -0
  503. /package/dist/{schemas-BNdiVBWh.mjs → schemas-BivbWRkG.mjs} +0 -0
  504. /package/dist/{schemas-Cg-Kwp8c.d.mts → schemas-ChmQldVH.d.mts} +0 -0
  505. /package/dist/{schemas-VbB1FTxx.d.mts → schemas-D7ScxLrf.d.mts} +0 -0
  506. /package/dist/{schemas-Cv3rR9Sz.d.mts → schemas-Pe892GgN.d.mts} +0 -0
  507. /package/dist/{schemas-qA279_j_.d.mts → schemas-bfZNpl0B.d.mts} +0 -0
  508. /package/dist/{schemas-mLpOfMoN.mjs → schemas-scyC2tFF.mjs} +0 -0
  509. /package/dist/{semver-DTXuyLcK.mjs → semver-BI7kTNsY.mjs} +0 -0
  510. /package/dist/{server-lifecycle-DKx_fWlq.mjs → server-lifecycle-B_OZnoe-.mjs} +0 -0
  511. /package/dist/{server-lifecycle-C_8iKgat.d.mts → server-lifecycle-L8zja8t8.d.mts} +0 -0
  512. /package/dist/{shared-schemas-aahW97QW.mjs → shared-schemas-CQ6blrEW.mjs} +0 -0
  513. /package/dist/{src-DHqsl5Pg.mjs → src-BacfeiI4.mjs} +0 -0
  514. /package/dist/{storage-namespace-Dz2jsssp.mjs → storage-namespace-BZce8kkW.mjs} +0 -0
  515. /package/dist/{storage-namespace-Tf3P5yJ5.d.mts → storage-namespace-YmE8XCCL.d.mts} +0 -0
  516. /package/dist/{storage-namespace-definition-CDef0E20.mjs → storage-namespace-definition-Cca-zwXU.mjs} +0 -0
  517. /package/dist/{supports-color-i7OTnKcZ.mjs → supports-color-SV_FgSN2.mjs} +0 -0
  518. /package/dist/{telemetry-BvCBUjFg.mjs → telemetry-BqoC87F-.mjs} +0 -0
  519. /package/dist/{timeout-B0nYjLc8.mjs → timeout-DVlN2Zhy.mjs} +0 -0
  520. /package/dist/{tray-menu-service-Deo6yyP8.mjs → tray-menu-service-eVVxgPLc.mjs} +0 -0
  521. /package/dist/{types-xCdGghb2.d.mts → types-BlB23n4f.d.mts} +0 -0
  522. /package/dist/{types-CNS55jvt.d.mts → types-DdpSEmTO.d.mts} +0 -0
  523. /package/dist/{types-Ce6LL25v.d.mts → types-tyv0B605.d.mts} +0 -0
  524. /package/dist/{ui-config-BIyGzMNL.mjs → ui-config-B35GloSX.mjs} +0 -0
  525. /package/dist/{variant-B4uWdxW7.mjs → variant-Dwnge3J_.mjs} +0 -0
  526. /package/dist/{window-registry-CoBJq3u4.mjs → window-registry-CKiMJjId.mjs} +0 -0
  527. /package/dist/{window-registry-BLtVx3Iw.d.mts → window-registry-Pcf35cac.d.mts} +0 -0
  528. /package/dist/{zod-json-schema-BAGAFfCN.mjs → zod-json-schema-Dixc-B1T.mjs} +0 -0
@@ -0,0 +1 @@
1
+ import{AdapterRuntimeSubjects as e}from"./services/adapter-runtime/namespace.mjs";import{AdapterSubjects as t}from"@makaio/framework/contracts";const n=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],r=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];function i(e,t){return e>>>t|e<<32-t}function a(e){let t=new TextEncoder().encode(e),a=t.length*8,o=t.length+9+63>>6<<6>>>0,s=new Uint8Array(o);s.set(t),s[t.length]=128;let c=new DataView(s.buffer),l=Math.floor(a/4294967296),u=a>>>0;c.setUint32(o-8,l,!1),c.setUint32(o-4,u,!1);let d=[...r],f=new Uint32Array(64);for(let e=0;e<s.length;e+=64){for(let t=0;t<16;t+=1)f[t]=c.getUint32(e+t*4,!1);for(let e=16;e<64;e+=1){let t=i(f[e-15],7)^i(f[e-15],18)^f[e-15]>>>3,n=i(f[e-2],17)^i(f[e-2],19)^f[e-2]>>>10;f[e]=f[e-16]+t+f[e-7]+n>>>0}let[t,r,a,o,s,l,u,p]=d;for(let e=0;e<64;e+=1){let c=i(s,6)^i(s,11)^i(s,25),d=s&l^~s&u,m=p+c+d+n[e]+f[e]>>>0,h=(i(t,2)^i(t,13)^i(t,22))+(t&r^t&a^r&a)>>>0;p=u,u=l,l=s,s=o+m>>>0,o=a,a=r,r=t,t=m+h>>>0}d[0]=d[0]+t>>>0,d[1]=d[1]+r>>>0,d[2]=d[2]+a>>>0,d[3]=d[3]+o>>>0,d[4]=d[4]+s>>>0,d[5]=d[5]+l>>>0,d[6]=d[6]+u>>>0,d[7]=d[7]+p>>>0}return d.map(e=>e.toString(16).padStart(8,`0`)).join(``)}function o(e){return JSON.stringify([e.adapterId,e.adapterName,e.machineId,e.ownerInstanceId])}function s(e){return e.ownerInstanceId!==void 0}function c(e,t){let n=a(JSON.stringify([e,t]));return[n.slice(0,8),n.slice(8,12),`5${n.slice(13,16)}`,`a${n.slice(17,20)}`,n.slice(20,32)].join(`-`)}function l(e,t){let n=e.machineId??t;if(!n)throw Error(`resolveId requires machineId when no runtime default machine is configured for adapterName="${e.adapterName}"`);return c(n,e.adapterName)}var u=class{currentMachineId;adapterNamesById=new Map;liveIdentities=new Map;localAdapterIds=new Set;constructor(e){this.currentMachineId=e}replaceKnownAdapterNames(e){for(let e of this.localAdapterIds)this.adapterNamesById.delete(e);if(this.localAdapterIds=new Set,this.currentMachineId)for(let t of e){let e=c(this.currentMachineId,t);this.adapterNamesById.set(e,t),this.localAdapterIds.add(e)}}resolveId(e){let t=l(e,this.currentMachineId);return this.rememberAdapterId(t,e.adapterName),t}rememberAdapterId(e,t){this.adapterNamesById.set(e,t)}rememberLiveIdentity(e){this.adapterNamesById.set(e.adapterId,e.adapterName),this.liveIdentities.set(o(e),{...e})}resolveLiveIdentity(e){if(s(e)){let t=this.liveIdentities.get(o(e));return t===void 0?void 0:{...t}}let t=[...this.liveIdentities.values()].filter(t=>t.adapterId===e.adapterId&&t.adapterName===e.adapterName&&t.machineId===e.machineId);return t.length===1?{...t[0]}:void 0}forgetLiveIdentity(e){this.liveIdentities.delete(o(e))}resolveAdapterName(e){return this.adapterNamesById.get(e)}async resolveAdapterNameFromKnownNames(e,t){return this.resolveAdapterName(e)||(this.replaceKnownAdapterNames(await t()),this.resolveAdapterName(e))}clear(){this.adapterNamesById.clear(),this.liveIdentities.clear(),this.localAdapterIds.clear()}};function d(e,n){return[e.on(t.initialized,e=>{n.rememberLiveIdentity({adapterId:e.payload.adapterId,adapterName:e.payload.adapterName,machineId:e.payload.machineId,ownerInstanceId:e.payload.ownerInstanceId})}),e.on(t.deinitialized,e=>{n.forgetLiveIdentity({adapterId:e.payload.adapterId,adapterName:e.payload.adapterName,machineId:e.payload.machineId,ownerInstanceId:e.payload.ownerInstanceId})})]}function f(e,t){if(!(t.machineId!==e.currentMachineId||!s(t)))return e.resolveLiveAdapterIdentity?.(t.adapterId)}function p(e,t){return e!==void 0&&(t.ownerInstanceId===void 0||e.ownerInstanceId===t.ownerInstanceId)}function m(e,t){return p(e,t)&&e?.adapterName===t.adapterName&&e.machineId===t.machineId}function h(t,n,r){return t.on(e.resolveLiveIdentity,async e=>{let t=e.payload.machineId===r.currentMachineId,i=f(r,e.payload);if(i!==void 0&&e.payload.ownerInstanceId!==void 0&&i.ownerInstanceId!==e.payload.ownerInstanceId&&(await e.next(),e.result!==void 0))return;let a=n.resolveLiveIdentity(e.payload),o=!t||e.payload.ownerInstanceId!==void 0||r.resolveLiveAdapterIdentity===void 0||r.resolveLiveAdapterIdentity(e.payload.adapterId)!==void 0?i??a:void 0;if(!(!p(o,e.payload)&&(await e.next(),e.result!==void 0))){if(!m(o,e.payload))throw Error(`No live adapter matches adapterId="${e.payload.adapterId}", adapterName="${e.payload.adapterName}", machineId="${e.payload.machineId}"`);e.setResult(o)}})}function g(t,n={}){let r=new u(n.currentMachineId);n.knownAdapterNames&&r.replaceKnownAdapterNames(n.knownAdapterNames);for(let e of n.listLiveAdapterIdentities?.()??[])r.rememberLiveIdentity(e);let i=[...d(t,r),t.on(e.resolveId,async e=>{if((e.payload.machineId===void 0||e.payload.machineId===n.currentMachineId)&&n.currentMachineId!==void 0&&n.resolveLiveAdapterId!==void 0){let t=n.resolveLiveAdapterId(e.payload.adapterName);if(!t){if(await e.next(),e.result!==void 0)return;throw Error(`No live local adapter is registered for adapterName="${e.payload.adapterName}"`)}r.rememberAdapterId(t,e.payload.adapterName),e.setResult({adapterId:t});return}e.setResult({adapterId:r.resolveId(e.payload)})}),t.on(e.getMachineId,e=>{e.setResult({machineId:n.currentMachineId})}),t.on(e.resolveName,async e=>{let t=r.resolveAdapterName(e.payload.adapterId)??(n.listKnownAdapterNames?await r.resolveAdapterNameFromKnownNames(e.payload.adapterId,n.listKnownAdapterNames):void 0);if(!t)throw Error(`Adapter not found for adapterId="${e.payload.adapterId}"`);e.setResult({adapterName:t})}),h(t,r,n)];return{registry:r,cleanup:()=>{for(let e of i)e()}}}export{l as i,c as n,g as r,u as t};
@@ -18,8 +18,8 @@ import { ExtensionWarningEntry, ExtensionWarningEntrySchema } from "@makaio/fram
18
18
  * detail, not an externally observable state.
19
19
  */
20
20
  declare const ComponentStateSchema: z.ZodEnum<{
21
- failed: "failed";
22
21
  discovered: "discovered";
22
+ failed: "failed";
23
23
  active: "active";
24
24
  skipped: "skipped";
25
25
  stopped: "stopped";
@@ -47,8 +47,8 @@ declare const ComponentInfoSchema: z.ZodObject<{
47
47
  name: z.ZodString;
48
48
  displayName: z.ZodString;
49
49
  state: z.ZodEnum<{
50
- failed: "failed";
51
50
  discovered: "discovered";
51
+ failed: "failed";
52
52
  active: "active";
53
53
  skipped: "skipped";
54
54
  stopped: "stopped";
@@ -68,8 +68,8 @@ declare const ServiceInfoSchema: z.ZodObject<{
68
68
  name: z.ZodString;
69
69
  displayName: z.ZodString;
70
70
  state: z.ZodEnum<{
71
- failed: "failed";
72
71
  discovered: "discovered";
72
+ failed: "failed";
73
73
  active: "active";
74
74
  skipped: "skipped";
75
75
  stopped: "stopped";
@@ -90,8 +90,8 @@ declare const ExtensionInfoSchema: z.ZodObject<{
90
90
  name: z.ZodString;
91
91
  displayName: z.ZodString;
92
92
  state: z.ZodEnum<{
93
- failed: "failed";
94
93
  discovered: "discovered";
94
+ failed: "failed";
95
95
  active: "active";
96
96
  skipped: "skipped";
97
97
  stopped: "stopped";
@@ -138,16 +138,16 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
138
138
  name: z.ZodString;
139
139
  displayName: z.ZodString;
140
140
  from: z.ZodEnum<{
141
- failed: "failed";
142
141
  discovered: "discovered";
142
+ failed: "failed";
143
143
  active: "active";
144
144
  skipped: "skipped";
145
145
  stopped: "stopped";
146
146
  initializing: "initializing";
147
147
  }>;
148
148
  to: z.ZodEnum<{
149
- failed: "failed";
150
149
  discovered: "discovered";
150
+ failed: "failed";
151
151
  active: "active";
152
152
  skipped: "skipped";
153
153
  stopped: "stopped";
@@ -181,8 +181,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
181
181
  name: z.ZodString;
182
182
  displayName: z.ZodString;
183
183
  state: z.ZodEnum<{
184
- failed: "failed";
185
184
  discovered: "discovered";
185
+ failed: "failed";
186
186
  active: "active";
187
187
  skipped: "skipped";
188
188
  stopped: "stopped";
@@ -219,8 +219,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
219
219
  name: z.ZodString;
220
220
  displayName: z.ZodString;
221
221
  state: z.ZodEnum<{
222
- failed: "failed";
223
222
  discovered: "discovered";
223
+ failed: "failed";
224
224
  active: "active";
225
225
  skipped: "skipped";
226
226
  stopped: "stopped";
@@ -536,8 +536,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
536
536
  extensionName: z.ZodString;
537
537
  warnings: z.ZodArray<z.ZodObject<{
538
538
  severity: z.ZodEnum<{
539
- degraded: "degraded";
540
539
  info: "info";
540
+ degraded: "degraded";
541
541
  recommended: "recommended";
542
542
  }>;
543
543
  title: z.ZodString;
@@ -576,8 +576,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
576
576
  extensionName: z.ZodString;
577
577
  warnings: z.ZodArray<z.ZodObject<{
578
578
  severity: z.ZodEnum<{
579
- degraded: "degraded";
580
579
  info: "info";
580
+ degraded: "degraded";
581
581
  recommended: "recommended";
582
582
  }>;
583
583
  title: z.ZodString;
@@ -641,16 +641,16 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
641
641
  name: z.ZodString;
642
642
  displayName: z.ZodString;
643
643
  from: z.ZodEnum<{
644
- failed: "failed";
645
644
  discovered: "discovered";
645
+ failed: "failed";
646
646
  active: "active";
647
647
  skipped: "skipped";
648
648
  stopped: "stopped";
649
649
  initializing: "initializing";
650
650
  }>;
651
651
  to: z.ZodEnum<{
652
- failed: "failed";
653
652
  discovered: "discovered";
653
+ failed: "failed";
654
654
  active: "active";
655
655
  skipped: "skipped";
656
656
  stopped: "stopped";
@@ -684,8 +684,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
684
684
  name: z.ZodString;
685
685
  displayName: z.ZodString;
686
686
  state: z.ZodEnum<{
687
- failed: "failed";
688
687
  discovered: "discovered";
688
+ failed: "failed";
689
689
  active: "active";
690
690
  skipped: "skipped";
691
691
  stopped: "stopped";
@@ -722,8 +722,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
722
722
  name: z.ZodString;
723
723
  displayName: z.ZodString;
724
724
  state: z.ZodEnum<{
725
- failed: "failed";
726
725
  discovered: "discovered";
726
+ failed: "failed";
727
727
  active: "active";
728
728
  skipped: "skipped";
729
729
  stopped: "stopped";
@@ -1039,8 +1039,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
1039
1039
  extensionName: z.ZodString;
1040
1040
  warnings: z.ZodArray<z.ZodObject<{
1041
1041
  severity: z.ZodEnum<{
1042
- degraded: "degraded";
1043
1042
  info: "info";
1043
+ degraded: "degraded";
1044
1044
  recommended: "recommended";
1045
1045
  }>;
1046
1046
  title: z.ZodString;
@@ -1079,8 +1079,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
1079
1079
  extensionName: z.ZodString;
1080
1080
  warnings: z.ZodArray<z.ZodObject<{
1081
1081
  severity: z.ZodEnum<{
1082
- degraded: "degraded";
1083
1082
  info: "info";
1083
+ degraded: "degraded";
1084
1084
  recommended: "recommended";
1085
1085
  }>;
1086
1086
  title: z.ZodString;
@@ -1,4 +1,4 @@
1
- import { n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-CqfddWXs.mjs";
1
+ import { n as NodeExtensionContext$1, t as ExtensionContext$1 } from "./extension-context-QmFuHdq5.mjs";
2
2
  import { z } from "zod";
3
3
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
4
4
 
@@ -1,6 +1,6 @@
1
- import { r as ExecutionTarget } from "./schemas-CeUI2i5j.mjs";
1
+ import { r as ExecutionTarget } from "./schemas-B50oWBuj.mjs";
2
2
  import { IMakaioBus } from "@makaio/framework/bus";
3
- import { IMakaioSession, MakaioSessionAgent, Message, MessageInput, MessageOutcome, ReasoningLevelMap, ResponseSchemaDescriptor, SessionContext, TurnInitiator } from "@makaio/framework/contracts";
3
+ import { IMakaioSession, MakaioSessionAgent, Message, MessageInput, MessageOutcome, ReasoningLevelMap, ResponseSchemaDescriptor, SessionContext, SessionOwnershipRecoveryGuard, TurnInitiator } from "@makaio/framework/contracts";
4
4
 
5
5
  //#region services/core/src/session/entities/turn.d.ts
6
6
  /**
@@ -575,6 +575,8 @@ interface OwnedAdapterInstance {
575
575
  readonly adapterId: string;
576
576
  /** Machine whose namespace those acts are filed under, or `undefined` when the caller named none. */
577
577
  readonly machineId?: string;
578
+ /** Exact runtime owner, absent only before a connector-dispatchable target is proved. */
579
+ readonly ownerInstanceId?: string;
578
580
  }
579
581
  /**
580
582
  * An owned instance whose machine is named.
@@ -589,6 +591,7 @@ interface OwnedAdapterInstance {
589
591
  */
590
592
  type MachineScopedAdapterInstance = OwnedAdapterInstance & {
591
593
  readonly machineId: string;
594
+ readonly ownerInstanceId: string;
592
595
  };
593
596
  /** What a caller knows about the instance it wants, before it is resolved. */
594
597
  interface OwnedAdapterInstanceTarget {
@@ -618,6 +621,18 @@ interface OwnedAdapterInstanceTarget {
618
621
  */
619
622
  readonly storedAdapterId?: string;
620
623
  }
624
+ /**
625
+ * Prove that an explicitly selected adapter instance is currently live on the
626
+ * exact machine the selection names.
627
+ *
628
+ * The proof is announcement-backed rather than hash-backed: hosts may provide
629
+ * opaque adapter IDs, and a deterministic-looking value is not evidence that a
630
+ * runtime has initialized it.
631
+ * @param bus - Bus the live-identity request is issued on.
632
+ * @param target - Complete identity the caller intends to dispatch to.
633
+ * @returns The dispatchable instance, or `undefined` when it has no matching live announcement.
634
+ */
635
+ declare function resolveAnnouncedAdapterInstance(bus: IMakaioBus, target: Required<Pick<OwnedAdapterInstanceTarget, 'adapterId' | 'adapterName' | 'machineId'>>): Promise<MachineScopedAdapterInstance | undefined>;
621
636
  /**
622
637
  * Resolve the instance an attempt addresses **and** the machine it acts for, or
623
638
  * answer that this runtime may not act at all.
@@ -633,9 +648,10 @@ interface OwnedAdapterInstanceTarget {
633
648
  *
634
649
  * **The three answers, and why each is the honest one:**
635
650
  *
636
- * - **A named instance with its machine** is returned unresolved. The caller
637
- * already holds both halves from one source — the selection schema refuses the
638
- * pair any other way — so there is nothing to look up and nothing to second-guess.
651
+ * - **A named instance with its machine** is returned only after the live
652
+ * identity registry confirms the exact triple it announced. The selection
653
+ * schema proves the request is complete; the announcement proves the target
654
+ * currently exists, including when its host supplied an opaque ID.
639
655
  * - **A named instance without a machine** is `undefined`. This is the handler-side
640
656
  * half of the schema's refinement, and it is needed as well as the schema:
641
657
  * the test bus does not validate, and defaulting to this runtime's own identity
@@ -704,7 +720,7 @@ type SessionStartFailureCode = /** The adapter refused or threw; the reservation
704
720
  * `dead` — the durable state must not advertise a start whose settlement
705
721
  * this process can no longer vouch for.
706
722
  */
707
- | 'settlement-unresolved' /** A joined start left the row `starting` more often than the bounded re-read allows. */ | 'start-unresolved' /** Another start won the lead designation and the session still has no agents. */ | 'lead-conflict';
723
+ | 'settlement-unresolved' /** A joined start left the row `starting` more often than the bounded re-read allows. */ | 'start-unresolved' /** Another start won the lead designation and the session still has no agents. */ | 'lead-conflict' /** The session lifecycle gate rejected the reservation before adapter dispatch. */ | 'session-not-active';
708
724
  /** A reserved start that did not end with a usable agent. */
709
725
  declare class SessionStartError extends Error {
710
726
  readonly code: SessionStartFailureCode;
@@ -725,13 +741,16 @@ declare class SessionStartError extends Error {
725
741
  * crossing a transport that may not preserve custom error properties.
726
742
  */
727
743
  readonly deferredAgentIds?: readonly string[];
744
+ /** Stored lifecycle status when the admission gate rejected a reservation. */
745
+ readonly sessionStatus?: 'closed' | 'archived' | 'discovered';
728
746
  /**
729
747
  * @param code - Which modeled outcome this is; the value callers branch on.
730
748
  * @param message - Human-readable detail, including the identifiers involved.
731
749
  * @param cause - Underlying failure, when one exists.
732
750
  * @param deferredAgentIds - The named targets this call could not act for, when the send named any.
751
+ * @param sessionStatus - Non-active session status observed by a refused reservation.
733
752
  */
734
- constructor(code: SessionStartFailureCode, message: string, cause?: unknown, deferredAgentIds?: readonly string[]);
753
+ constructor(code: SessionStartFailureCode, message: string, cause?: unknown, deferredAgentIds?: readonly string[], sessionStatus?: 'closed' | 'archived' | 'discovered');
735
754
  }
736
755
  //#endregion
737
756
  //#region services/core/src/session/handlers/abandon-handler.d.ts
@@ -797,13 +816,15 @@ declare function registerMergeHandler(bus: IMakaioBus): () => void;
797
816
  //#endregion
798
817
  //#region services/core/src/session/handlers/in-flight-start-join.d.ts
799
818
  /** What a consumer does with an agent whose start it joined or arbitrated. */
800
- type StartResolution = /** The agent is usable as it stands. */'use' /** The agent is not part of this send: the row is gone, or terminal. */ | 'drop' /** The agent needs the ordinary fresh-with-history recovery. */ | 'recover';
819
+ type StartResolution = /** The agent is usable as it stands. */'use' /** The agent is not part of this send: the row is gone, or terminal. */ | 'drop' /** The agent belongs to a guarded recovery this runtime cannot prove retired. */ | 'defer' /** The agent needs the ordinary fresh-with-history recovery. */ | 'recover';
801
820
  /** How a send's target set changed once every in-flight start was resolved. */
802
821
  interface InFlightStartResolution {
803
822
  /** Agents that left the session's target set — deleted or `disposed` rows. */
804
823
  readonly droppedAgentIds: ReadonlySet<string>;
805
824
  /** Agents this send must recover before using. */
806
825
  readonly recoveringAgentIds: ReadonlySet<string>;
826
+ /** Agents whose guarded recovery is owned by an unretired or unknown runtime. */
827
+ readonly deferredAgentIds: ReadonlySet<string>;
807
828
  /**
808
829
  * The subset whose recovery this send claimed by **compare-and-swap**, not by
809
830
  * consuming a local attempt.
@@ -823,7 +844,9 @@ interface InFlightStartResolution {
823
844
  * Apply the in-flight-start consumer rule to a session's agents.
824
845
  *
825
846
  * Runs *before* the liveness probe and before the fresh-start branch, and only
826
- * for agents whose stored status is `starting` — every other row costs nothing.
847
+ * for agents whose stored status is `starting`. When this process waits for one
848
+ * of those starts, every materialized row is re-read to a stable pass;
849
+ * otherwise they cost nothing.
827
850
  * The ordering matters at both ends: probing a `starting` agent would find no
828
851
  * registered connector and walk into a second lifecycle for an identity that
829
852
  * already has one in flight, and an agent dropped here may be the session's last,
@@ -832,10 +855,12 @@ interface InFlightStartResolution {
832
855
  * Dropped agents are removed from `session.agents` in place, and every agent that
833
856
  * survives is **replaced by the row this resolution read**, so every later step
834
857
  * of the send sees both the target set and the identities this resolution
835
- * produced. The second half matters as much as the first: a joined attempt can
836
- * bind its agent to a different adapter instance, and a send that kept the
837
- * pre-join snapshot would probe liveness and route at the instance that attempt
838
- * moved off.
858
+ * produced. A local join also refreshes every materialized row: every one was
859
+ * read before the wait, and the send probes and routes at all of their
860
+ * identities afterwards. The second half matters as much as the first: a joined
861
+ * attempt can bind an agent to a different adapter instance, and a send that
862
+ * kept the pre-join snapshot would probe liveness and route at the instance the
863
+ * lifecycle moved off.
839
864
  * @param bus - Bus the joins, reads and compare-and-swaps are issued on.
840
865
  * @param session - Session whose agents are resolved; its `agents` are filtered and refreshed in place.
841
866
  * @returns Which agents left the set, and which the send must recover.
@@ -1019,4 +1044,4 @@ declare function routeToAgentsCore(bus: IMakaioBus, session: IMakaioSession, age
1019
1044
  adapterId: string;
1020
1045
  }>, message: MessageInput, messageId: string, turn: Turn$1, deliveryMode: 'enqueue' | 'immediate' | undefined, onTurnComplete: TurnCompleteCallback, turnManager: TurnCompletionRecorder, sessionContext?: SessionContext, responseSchema?: ResponseSchemaDescriptor, assertDispatch?: () => void): Promise<readonly AgentDispatchOutcome[]>;
1021
1046
  //#endregion
1022
- export { Turn$1 as C, TurnPairTerminalOutcome as D, TurnPairStateChange as E, TurnResult as O, SessionTurnManager as S, TurnContext as T, OwnedAdapterInstanceTarget as _, InFlightStartResolution as a, resolveModelCapabilities as b, registerMergeHandler as c, registerAttachHandler as d, registerAbandonHandler as f, OwnedAdapterInstance as g, MachineScopedAdapterInstance as h, refuseTotalDeferral as i, registerForkHandler as l, SessionStartFailureCode as m, routeToAgents as n, StartResolution as o, SessionStartError as p, admitFreshStartTargets as r, resolveInFlightStarts as s, routeToAgentsCore as t, registerCompressHandler as u, resolveAdapterId as v, TurnConfig as w, resolveOwnedAdapterInstance as x, resolveExecutionTarget as y };
1047
+ export { SessionTurnManager as C, TurnPairStateChange as D, TurnContext as E, TurnPairTerminalOutcome as O, resolveOwnedAdapterInstance as S, TurnConfig as T, OwnedAdapterInstanceTarget as _, InFlightStartResolution as a, resolveExecutionTarget as b, registerMergeHandler as c, registerAttachHandler as d, registerAbandonHandler as f, OwnedAdapterInstance as g, MachineScopedAdapterInstance as h, refuseTotalDeferral as i, TurnResult as k, registerForkHandler as l, SessionStartFailureCode as m, routeToAgents as n, StartResolution as o, SessionStartError as p, admitFreshStartTargets as r, resolveInFlightStarts as s, routeToAgentsCore as t, registerCompressHandler as u, resolveAdapterId as v, Turn$1 as w, resolveModelCapabilities as x, resolveAnnouncedAdapterInstance as y };