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

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 (511) hide show
  1. package/dist/.makaio-build.json +4 -3
  2. package/dist/{account-identity-DFx8pwKL.mjs → account-identity-DGpXd8h_.mjs} +1 -1
  3. package/dist/adapter-BkdJaOOG.mjs +1 -0
  4. package/dist/adapter-subsystem/index.d.mts +138 -6
  5. package/dist/adapter-subsystem/index.mjs +1 -1
  6. package/dist/adapters/acp-client/index.d.mts +105 -7
  7. package/dist/adapters/acp-client/index.mjs +2 -2
  8. package/dist/adapters/claude/index.d.mts +24 -24
  9. package/dist/adapters/config/index.d.mts +1 -1
  10. package/dist/adapters/config/index.mjs +1 -1
  11. package/dist/adapters/index.d.mts +379 -812
  12. package/dist/adapters/index.mjs +6 -6
  13. package/dist/adapters/node.d.mts +1 -1
  14. package/dist/adapters/node.mjs +1 -1
  15. package/dist/adapters/stream-session/index.d.mts +28 -7
  16. package/dist/adapters/stream-session/index.mjs +1 -1
  17. package/dist/agent-namespace-D51PODFf.mjs +1 -0
  18. package/dist/{ajv-DD3SIL2i.mjs → ajv-L5fKxaia.mjs} +2 -2
  19. package/dist/artifact-k3veR4Yx.mjs +1 -0
  20. package/dist/attach-error-BSlc7JfL.mjs +1 -0
  21. package/dist/{auth-DGEdiHF6.mjs → auth-A1K_7q-8.mjs} +1 -1
  22. package/dist/authority-state-bootstrap-YwtEImIB.mjs +1 -0
  23. package/dist/automation-trigger-CuSdQwir.mjs +1 -0
  24. package/dist/await-trigger-ph1S0zVI.mjs +1 -0
  25. package/dist/bus/index.d.mts +17 -3
  26. package/dist/bus/index.mjs +1 -1
  27. package/dist/bus-BIj0_aG6.mjs +1 -0
  28. package/dist/bus-CqgrphNE.mjs +2 -0
  29. package/dist/{canonical-model-BAytQ4NV.mjs → canonical-model-DJASlL4m.mjs} +1 -1
  30. package/dist/{capabilities-BQEp34ir.mjs → capabilities-Bqckjh7G.mjs} +1 -1
  31. package/dist/{client-DbS847wW.mjs → client-BL5__WT0.mjs} +1 -1
  32. package/dist/clients/index.d.mts +7 -7
  33. package/dist/clients/index.mjs +1 -1
  34. package/dist/clients/managed-install.d.mts +1 -1
  35. package/dist/clients/managed-install.mjs +1 -1
  36. package/dist/{compression-74fFeBha.mjs → compression-BbttSqm8.mjs} +1 -1
  37. package/dist/{config-namespace-TVX-hG4I.mjs → config-namespace-CyzeLWSg.mjs} +1 -1
  38. package/dist/{context-resolution-DNRkyQto.d.mts → context-resolution-CW0ya4QO.d.mts} +14 -14
  39. package/dist/contracts/adapter/index.d.mts +3 -3
  40. package/dist/contracts/adapter/index.mjs +1 -1
  41. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  42. package/dist/contracts/artifact/index.d.mts +3 -3
  43. package/dist/contracts/artifact/index.mjs +1 -1
  44. package/dist/contracts/auth/index.d.mts +2 -2
  45. package/dist/contracts/auth/index.mjs +1 -1
  46. package/dist/contracts/automation-trigger/index.d.mts +4 -0
  47. package/dist/contracts/automation-trigger/index.mjs +1 -0
  48. package/dist/contracts/canonical-model/index.d.mts +1 -1
  49. package/dist/contracts/canonical-model/index.mjs +1 -1
  50. package/dist/contracts/capabilities/index.d.mts +1 -1
  51. package/dist/contracts/capabilities/index.mjs +1 -1
  52. package/dist/contracts/client/index.d.mts +2 -2
  53. package/dist/contracts/client/index.mjs +1 -1
  54. package/dist/contracts/common/index.d.mts +1 -1
  55. package/dist/contracts/config/index.d.mts +1 -1
  56. package/dist/contracts/config/index.mjs +1 -1
  57. package/dist/contracts/extension/index.d.mts +6 -5
  58. package/dist/contracts/extension/index.mjs +1 -1
  59. package/dist/contracts/facet/index.d.mts +1 -1
  60. package/dist/contracts/facet/index.mjs +1 -1
  61. package/dist/contracts/harness/index.d.mts +1 -1
  62. package/dist/contracts/harness/index.mjs +1 -1
  63. package/dist/contracts/host/index.d.mts +1 -1
  64. package/dist/contracts/host/index.mjs +1 -1
  65. package/dist/contracts/index.d.mts +161 -100
  66. package/dist/contracts/index.mjs +1 -1
  67. package/dist/contracts/materialization/index.d.mts +3 -3
  68. package/dist/contracts/materialization/index.mjs +1 -1
  69. package/dist/contracts/model-registry/index.d.mts +1 -1
  70. package/dist/contracts/model-registry/index.mjs +1 -1
  71. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  72. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  73. package/dist/contracts/platform/index.d.mts +1 -1
  74. package/dist/contracts/platform/index.mjs +1 -1
  75. package/dist/contracts/provider/index.d.mts +2 -2
  76. package/dist/contracts/provider/index.mjs +1 -1
  77. package/dist/contracts/reaction/index.d.mts +2 -0
  78. package/dist/contracts/reaction/index.mjs +1 -0
  79. package/dist/contracts/session/index.d.mts +3 -3
  80. package/dist/contracts/session/index.mjs +1 -1
  81. package/dist/contracts/shared/index.d.mts +3 -3
  82. package/dist/contracts/shared/index.mjs +1 -1
  83. package/dist/contracts/skill/index.d.mts +1 -1
  84. package/dist/contracts/skill/index.mjs +1 -1
  85. package/dist/contracts/telemetry/index.d.mts +1 -1
  86. package/dist/contracts/telemetry/index.mjs +1 -1
  87. package/dist/contracts/timeout/index.d.mts +1 -1
  88. package/dist/contracts/timeout/index.mjs +1 -1
  89. package/dist/contracts/toast/index.mjs +1 -1
  90. package/dist/contracts/variant/index.d.mts +1 -1
  91. package/dist/contracts/variant/index.mjs +1 -1
  92. package/dist/contracts/worker-node/index.d.mts +1 -1
  93. package/dist/contracts/worker-node/index.mjs +1 -1
  94. package/dist/contracts/workflow/index.d.mts +3 -3
  95. package/dist/contracts/workflow/index.mjs +1 -1
  96. package/dist/contribution-BH-wKsWI.d.mts +35 -0
  97. package/dist/core/index.d.mts +60 -1
  98. package/dist/core/index.mjs +1 -1
  99. package/dist/definition-BYgHlmMw.d.mts +375 -0
  100. package/dist/{definition-CJfiv8xm.mjs → definition-CDg-Jq1T.mjs} +1 -1
  101. package/dist/{detached-extension-handle-Ddfquy5_.mjs → detached-extension-handle-DKd17UB6.mjs} +1 -1
  102. package/dist/drizzle/0031_adapter_session_currency.sql +66 -0
  103. package/dist/drizzle/0032_native_session_ownership.sql +77 -0
  104. package/dist/drizzle/0033_m_msf3hu2s.sql +1 -0
  105. package/dist/drizzle/meta/_journal.json +21 -0
  106. package/dist/{execution-attempt-repository-DWXKY41_.d.mts → execution-attempt-repository-DFyAnchJ.d.mts} +1 -1
  107. package/dist/{execution-target-Cf645pDj.mjs → execution-target-ByNwZh5-.mjs} +1 -1
  108. package/dist/extension-DMdmj9gi.mjs +1 -0
  109. package/dist/extension-DUmibvMk.mjs +1 -0
  110. package/dist/extension-context-CqfddWXs.d.mts +295 -0
  111. package/dist/{extension-discovery-CQRdbVQ6.d.mts → extension-discovery-Fhps4icD.d.mts} +2 -0
  112. package/dist/{extension-namespace-Yu41YepM.mjs → extension-namespace-B554RmCp.mjs} +1 -1
  113. package/dist/extension-package-provenance-Dh_-Z-tE.mjs +1 -0
  114. package/dist/{filesystem-service-DlP2HfDg.mjs → filesystem-service-FAtd9gWH.mjs} +1 -1
  115. package/dist/framework-packages-D_2hBZ-p.mjs +1 -0
  116. package/dist/git/index.mjs +1 -1
  117. package/dist/{globby-1yCVCk8s.mjs → globby-BBLuT_vy.mjs} +1 -1
  118. package/dist/handlers-2yd00VEq.mjs +57 -0
  119. package/dist/{harness-DpwsFsE7.mjs → harness-KxbWGL4I.mjs} +1 -1
  120. package/dist/{hook-responses-Dh1PWXqJ.d.mts → hook-responses-CQZIv3L3.d.mts} +2 -293
  121. package/dist/{index-HsTxm-R3.d.mts → index-3eUIRy7T.d.mts} +250 -20
  122. package/dist/{index-brqfk9JQ.d.mts → index-B4xdTT3c.d.mts} +6 -6
  123. package/dist/{index-CmFbzuiW.d.mts → index-B5op6AsV.d.mts} +72 -62
  124. package/dist/{index-CMgLxw14.d.mts → index-B6GOuxVy2.d.mts} +18 -18
  125. package/dist/index-BFhJe-Sb.d.mts +302 -0
  126. package/dist/{index-fmR2JNgJ.d.mts → index-BQprJNA_.d.mts} +4 -4
  127. package/dist/{index-EjsSBQXy2.d.mts → index-BSQ30wYP.d.mts} +1 -1
  128. package/dist/{index-Hk9mpC3o.d.mts → index-BSbGB23v.d.mts} +8 -8
  129. package/dist/{index-BbF2gRwd.d.mts → index-BiAYXjgM.d.mts} +41 -41
  130. package/dist/{index-sFsAqeK1.d.mts → index-ByZi9bml.d.mts} +7616 -4158
  131. package/dist/{index-CMJZ2Z8m.d.mts → index-C7HcDpHE.d.mts} +4 -0
  132. package/dist/{index-BskPjMet.d.mts → index-CB4aIUoF.d.mts} +16 -16
  133. package/dist/{index-B-xrJCwa.d.mts → index-CDusRXio.d.mts} +136 -137
  134. package/dist/{index-CUvNKYkV.d.mts → index-CSN_0sCo.d.mts} +19 -2
  135. package/dist/{index-BAXkicoQ.d.mts → index-C__EQfKa.d.mts} +1 -1
  136. package/dist/{index-BfLulUMy2.d.mts → index-CqQYgsbB.d.mts} +1659 -217
  137. package/dist/{index-DF9ffhVe.d.mts → index-CwDiyJkJ.d.mts} +327 -756
  138. package/dist/{index-GHASUiem.d.mts → index-DBadVauL.d.mts} +1 -1
  139. package/dist/{index-gUhidukN.d.mts → index-DI7-tIL3.d.mts} +299 -2
  140. package/dist/index-DP3o_13U.d.mts +165 -0
  141. package/dist/{index-DSBT83c0.d.mts → index-DcYAAJ0V.d.mts} +24 -3
  142. package/dist/{index-DqkjRTr7.d.mts → index-Dch_AxUg.d.mts} +77 -39
  143. package/dist/{index-XZyMxxnU.d.mts → index-DcqSUsX6.d.mts} +39 -83
  144. package/dist/{index-B0Kf_OWi.d.mts → index-DgOfgjx3.d.mts} +1 -1
  145. package/dist/{index-Ds5_rDEJ.d.mts → index-DwLRZscE.d.mts} +1 -12
  146. package/dist/{index-DkiTJM5p.d.mts → index-DxYDRoDE2.d.mts} +17 -3
  147. package/dist/{index-CRvpVIqA.d.mts → index-OsbtyMgx2.d.mts} +10 -1
  148. package/dist/{index-BaZeoZoS.d.mts → index-bIe_57cL.d.mts} +1 -1
  149. package/dist/{json-value-Brslhqbm.d.mts → json-value-C1RGgS0a.d.mts} +16 -1
  150. package/dist/{json-value-DmU8ibo_.mjs → json-value-D57aJhVn.mjs} +1 -1
  151. package/dist/kernel/cli/index.d.mts +2 -2
  152. package/dist/kernel/cli/index.mjs +1 -1
  153. package/dist/kernel/cli/register.d.mts +1 -1
  154. package/dist/kernel/cli/register.mjs +1 -1
  155. package/dist/kernel/cli/schemas.mjs +1 -1
  156. package/dist/kernel/extension/index.d.mts +1 -1
  157. package/dist/kernel/extension/index.mjs +1 -1
  158. package/dist/kernel/index.d.mts +9 -9
  159. package/dist/kernel/index.mjs +1 -1
  160. package/dist/kernel/namespace/index.d.mts +2 -2
  161. package/dist/kernel/namespace/index.mjs +1 -1
  162. package/dist/kernel/observability/index.d.mts +1 -1
  163. package/dist/kernel/observability/index.mjs +1 -1
  164. package/dist/kernel/providers/index.d.mts +1 -1
  165. package/dist/kernel/providers/index.mjs +1 -1
  166. package/dist/kernel/window/index.d.mts +1 -1
  167. package/dist/kernel/window/index.mjs +1 -1
  168. package/dist/{lib-C7-s68uf.mjs → lib-B_rJ6r0T.mjs} +1 -1
  169. package/dist/{lib-DErgth_E.mjs → lib-CnOAtohU.mjs} +1 -1
  170. package/dist/load-extensions-CW9uzNR5.mjs +1 -0
  171. package/dist/{load-extensions-BxsDB87B.d.mts → load-extensions-DUpaMQ7G.d.mts} +17 -13
  172. package/dist/{materialization-Jd198K3y.mjs → materialization-CcpCDhXh.mjs} +1 -1
  173. package/dist/mcp-http-server/index.mjs +1 -1
  174. package/dist/model-ZH3L1dPW.mjs +1 -0
  175. package/dist/{namespace-BqxtpNAn.mjs → namespace-B7bntOB8.mjs} +1 -1
  176. package/dist/{namespace-CWUDFGOy.mjs → namespace-BFqkUTJp.mjs} +1 -1
  177. package/dist/{namespace-D-WH2uYV2.d.mts → namespace-CAy4P5mW.d.mts} +8 -8
  178. package/dist/{namespace-B8uKAzWJ.mjs → namespace-CFjdyNXG.mjs} +1 -1
  179. package/dist/{namespace-DV-Hr9sZ.d.mts → namespace-ChnRTUG4.d.mts} +11 -1
  180. package/dist/namespace-CxrOLeeP.mjs +1 -0
  181. package/dist/{namespace-g_mbIZq_.d.mts → namespace-DSlfFhB1.d.mts} +410 -26
  182. package/dist/{namespace-Dkod-w11.d.mts → namespace-DwZwGXgF.d.mts} +4 -0
  183. package/dist/{namespace-BXvD9t0I.d.mts → namespace-Rge9mMI-.d.mts} +27 -19
  184. package/dist/{native-session-supervisor-DRx0MX-d.mjs → native-session-supervisor-fZYPUk0-.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/{orchestrator-shared-BHCv-l2O.d.mts → orchestrator-shared-B-KRW1Z0.d.mts} +1 -0
  190. package/dist/orchestrator-shared-CTCZc6Vl.mjs +1 -0
  191. package/dist/ownership-memory-handler-Bblp93YC.mjs +1 -0
  192. package/dist/{package-DWMxGfzK.d.mts → package-Bf3hyuzs.d.mts} +234 -84
  193. package/dist/package-CBdvjyyZ.mjs +1 -0
  194. package/dist/package-CddkNbZI.mjs +1 -0
  195. package/dist/package-ypz4rKvn.mjs +7 -0
  196. package/dist/package.json +1 -1
  197. package/dist/{profile-BTAI31Nt.mjs → profile-BtznZlq3.mjs} +1 -1
  198. package/dist/{provider-context-Dq53Cgzz.mjs → provider-context-BrLZYnDW.mjs} +1 -1
  199. package/dist/{provider-context-PZIQWcqQ.mjs → provider-context-Dh-VOOYF.mjs} +1 -1
  200. package/dist/reaction-BS0k4eNN.mjs +1 -0
  201. package/dist/{registry-wfF2uTty.mjs → registry-BO_bOoky.mjs} +2 -2
  202. package/dist/{resolved-DZgqql2Z.mjs → resolved-DMByz1_2.mjs} +1 -1
  203. package/dist/rules/index.d.mts +1 -1
  204. package/dist/rules/index.mjs +1 -1
  205. package/dist/rules/schemas.d.mts +1 -1
  206. package/dist/runtime-bun/index.mjs +1 -1
  207. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  208. package/dist/runtime-node/extension-validation.d.mts +1 -1
  209. package/dist/runtime-node/extension-validation.mjs +1 -1
  210. package/dist/runtime-node/index.d.mts +4 -4
  211. package/dist/runtime-node/index.mjs +24 -24
  212. package/dist/runtime-node/makaio-config.d.mts +1 -1
  213. package/dist/runtime-node/makaio-config.mjs +1 -1
  214. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  215. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  216. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  217. package/dist/{schema-Dd-e89MO.mjs → schema-DBG7Jq5_.mjs} +1 -1
  218. package/dist/{schema-DKUb4rkr.d.mts → schema-DKTzriEY.d.mts} +519 -9
  219. package/dist/{schemas-B5eUUi6u.d.mts → schemas-9qeeHGBf.d.mts} +8 -8
  220. package/dist/{schemas-CRB2O5zo.mjs → schemas-BqD8LlQw.mjs} +1 -1
  221. package/dist/{schemas-DaHQzpgm.mjs → schemas-CsjN7cmM.mjs} +1 -1
  222. package/dist/schemas-DSkBOdx_.mjs +1 -0
  223. package/dist/schemas-DplrlAyR.mjs +1 -0
  224. package/dist/{schemas-DuIlOWR3.d.mts → schemas-VbB1FTxx.d.mts} +4 -0
  225. package/dist/scoped-bus-ClwTWqX8.mjs +1 -0
  226. package/dist/{selection-BNwTKEVT.mjs → selection-7Ku8DBnh.mjs} +1 -1
  227. package/dist/services/adapter-runtime/index.d.mts +3 -3
  228. package/dist/services/adapter-runtime/index.mjs +1 -1
  229. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  230. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  231. package/dist/services/adapter-subsystem/index.d.mts +4 -4
  232. package/dist/services/adapter-subsystem/index.mjs +1 -1
  233. package/dist/services/adapter-subsystem/namespace.d.mts +2 -2
  234. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  235. package/dist/services/agent-runtime/index.d.mts +2 -2
  236. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  237. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  238. package/dist/services/automation-trigger/index.d.mts +943 -0
  239. package/dist/services/automation-trigger/index.mjs +1 -0
  240. package/dist/services/capability/index.d.mts +1 -1
  241. package/dist/services/capability/index.mjs +1 -1
  242. package/dist/services/codebase/index.d.mts +2 -2
  243. package/dist/services/codebase/namespace.d.mts +1 -1
  244. package/dist/services/codebase/schemas.d.mts +1 -1
  245. package/dist/services/compression/index.d.mts +2 -2
  246. package/dist/services/compression/namespace.d.mts +1 -1
  247. package/dist/services/compression/schemas.d.mts +1 -1
  248. package/dist/services/context-rules/index.d.mts +4 -4
  249. package/dist/services/context-rules/index.mjs +1 -1
  250. package/dist/services/execution-target/index.d.mts +3 -3
  251. package/dist/services/execution-target/index.mjs +1 -1
  252. package/dist/services/execution-target/namespace.d.mts +1 -1
  253. package/dist/services/execution-target/namespace.mjs +1 -1
  254. package/dist/services/execution-target/schemas.d.mts +1 -1
  255. package/dist/services/execution-target/schemas.mjs +1 -1
  256. package/dist/services/filesystem/index.d.mts +1 -1
  257. package/dist/services/filesystem/index.mjs +1 -1
  258. package/dist/services/filesystem/namespace.d.mts +6 -6
  259. package/dist/services/filesystem/schemas.d.mts +3 -3
  260. package/dist/services/git/namespace.d.mts +2 -2
  261. package/dist/services/git/namespace.mjs +1 -1
  262. package/dist/services/git/schemas.d.mts +1 -1
  263. package/dist/services/git/schemas.mjs +1 -1
  264. package/dist/services/harness/index.d.mts +3 -3
  265. package/dist/services/harness/index.mjs +1 -1
  266. package/dist/services/index.d.mts +449 -83
  267. package/dist/services/index.mjs +1 -1
  268. package/dist/services/log-import/browser.d.mts +2 -2
  269. package/dist/services/log-import/index.d.mts +3 -3
  270. package/dist/services/log-import/log-import.d.mts +1 -1
  271. package/dist/services/log-import/log-import.mjs +1 -1
  272. package/dist/services/log-import/namespace.mjs +1 -1
  273. package/dist/services/log-import/schemas.mjs +1 -1
  274. package/dist/services/materialization/index.d.mts +1 -1
  275. package/dist/services/materialization/index.mjs +1 -1
  276. package/dist/services/model-registry/index.d.mts +1 -1
  277. package/dist/services/model-registry/index.mjs +1 -1
  278. package/dist/services/preferences/index.d.mts +2 -2
  279. package/dist/services/preferences/schemas.d.mts +1 -1
  280. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  281. package/dist/services/provider-context/index.d.mts +1 -1
  282. package/dist/services/provider-context/index.mjs +1 -1
  283. package/dist/services/provider-runtime/index.mjs +1 -1
  284. package/dist/services/session/handlers/index.d.mts +2 -2
  285. package/dist/services/session/handlers/index.mjs +1 -1
  286. package/dist/services/session/index.d.mts +10 -10
  287. package/dist/services/session/index.mjs +1 -1
  288. package/dist/services/session/messages/namespace.d.mts +1 -1
  289. package/dist/services/session/messages/namespace.mjs +1 -1
  290. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  291. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  292. package/dist/services/session/session-events/namespace.d.mts +1 -1
  293. package/dist/services/session/session-events/namespace.mjs +1 -1
  294. package/dist/services/session/storage/namespace.d.mts +1 -1
  295. package/dist/services/session/storage/schema.d.mts +2 -2
  296. package/dist/services/session/storage/schema.mjs +1 -1
  297. package/dist/services/session/testing/index.d.mts +12 -4
  298. package/dist/services/session/testing/index.mjs +36 -4
  299. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  300. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  301. package/dist/services/session/turns/namespace.d.mts +1 -1
  302. package/dist/services/session/turns/namespace.mjs +1 -1
  303. package/dist/services/session-editor/index.d.mts +1 -1
  304. package/dist/services/session-editor/index.mjs +1 -1
  305. package/dist/services/settings/index.d.mts +3 -3
  306. package/dist/services/settings/index.mjs +1 -1
  307. package/dist/services/settings/namespace.d.mts +8 -8
  308. package/dist/services/settings/namespace.mjs +1 -1
  309. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  310. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  311. package/dist/services/settings/storage/index.d.mts +3 -3
  312. package/dist/services/settings/storage/index.mjs +1 -1
  313. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  314. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  315. package/dist/services/subagent/index.d.mts +1 -1
  316. package/dist/services/subagent/index.mjs +1 -1
  317. package/dist/services/subagent-template/index.d.mts +2 -2
  318. package/dist/services/subagent-template/namespace.d.mts +1 -1
  319. package/dist/services/subagent-template/schemas.d.mts +1 -1
  320. package/dist/services/tool-approval/index.d.mts +1 -1
  321. package/dist/services/tool-approval/index.mjs +1 -1
  322. package/dist/services/tools/index.d.mts +1 -1
  323. package/dist/services/tools/index.mjs +1 -1
  324. package/dist/services/tray-menu/index.d.mts +3 -3
  325. package/dist/services/tray-menu/index.mjs +1 -1
  326. package/dist/services/tray-menu/namespace.d.mts +1 -1
  327. package/dist/services/tray-menu/schemas.d.mts +1 -1
  328. package/dist/services/turn/index.d.mts +1 -1
  329. package/dist/services/turn/namespace.d.mts +1 -1
  330. package/dist/services/workflow-transitions/index.d.mts +1 -1
  331. package/dist/services/workflow-transitions/index.mjs +1 -1
  332. package/dist/session-BMy2kRpX.mjs +90 -0
  333. package/dist/session-Cipx34j6.mjs +1 -0
  334. package/dist/{session-lineage-B_JW5LpF.d.mts → session-lineage-B_PVa1XN.d.mts} +1 -1
  335. package/dist/shared-BFVuCDPx.mjs +1 -0
  336. package/dist/{skill-BR6rkfLe.mjs → skill-C1D51nhh.mjs} +1 -1
  337. package/dist/{src-DD0v-nIj.mjs → src-xbmzokNe.mjs} +1 -1
  338. package/dist/storage/drizzle/client.d.mts +1 -1
  339. package/dist/storage/drizzle/client.mjs +1 -1
  340. package/dist/storage/drizzle/index.d.mts +42 -2
  341. package/dist/storage/drizzle/index.mjs +1 -1
  342. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  343. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  344. package/dist/storage/handlers/index.d.mts +1 -1
  345. package/dist/storage/handlers/index.mjs +1 -1
  346. package/dist/tool-approval-service-BVgN9Q1r.mjs +1 -0
  347. package/dist/{tools-PdG9fO1M.mjs → tools-DxwHox1a.mjs} +1 -1
  348. package/dist/{transition-DwqL8W9V.d.mts → transition-BF1nevaC.d.mts} +7 -34
  349. package/dist/{types-DMLDHFR9.d.mts → types-BNjPhj_a.d.mts} +1 -1
  350. package/dist/{types-DR60yv6W.d.mts → types-CijlWGwb.d.mts} +1575 -157
  351. package/dist/types-ClpEaoAm.d.mts +2917 -0
  352. package/dist/ui-hooks/index.d.mts +29 -2
  353. package/dist/ui-hooks/index.mjs +1 -1
  354. package/dist/ui-kernel/index.d.mts +2 -2
  355. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  356. package/dist/ui-views/index.d.mts +1 -1
  357. package/dist/utils/index.d.mts +77 -1
  358. package/dist/utils/index.mjs +2 -2
  359. package/dist/{version-CoCeMxDT.mjs → version-BfNnVAGr.mjs} +1 -1
  360. package/dist/{view-builder-qp51cMWh.d.mts → view-builder-Bc9dx6jF.d.mts} +1 -1
  361. package/dist/{visibility-qhGWmpSJ.mjs → visibility-Dl1o2I01.mjs} +1 -1
  362. package/dist/{worker-node-Bl9_vqYi.mjs → worker-node-BDOYPEpi.mjs} +1 -1
  363. package/dist/{worker-node-DZTuT1DS.mjs → worker-node-DJ41Tr-F.mjs} +1 -1
  364. package/dist/workflow-Hzc5jlnV.mjs +1 -0
  365. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  366. package/dist/workflow-engine/index.d.mts +161 -442
  367. package/dist/workflow-engine/index.mjs +1 -1
  368. package/dist/workflow-engine/package.d.mts +1 -1
  369. package/dist/workflow-engine/package.mjs +1 -1
  370. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  371. package/dist/workflow-engine/testing/index.d.mts +2 -2
  372. package/dist/workflow-engine/testing/index.mjs +1 -1
  373. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  374. package/dist/workflow-engine/testing/sqlite.mjs +27 -27
  375. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  376. package/dist/workflow-engine/workflow-trigger-binding-consumer.d.mts +46 -0
  377. package/dist/workflow-engine/workflow-trigger-binding-consumer.mjs +1 -0
  378. package/dist/{workflow-transitions-DSc45ixc.mjs → workflow-transitions-DM0fN_eP.mjs} +1 -1
  379. package/dist/workflow-worker-DARC7UZl.mjs +1 -0
  380. package/dist/zod-json-schema-BAGAFfCN.mjs +1 -0
  381. package/package.json +29 -1
  382. package/dist/adapter-D5c5LrPN.mjs +0 -1
  383. package/dist/artifact-DGiXqb11.mjs +0 -1
  384. package/dist/attach-error-C3tngg6J.mjs +0 -1
  385. package/dist/authority-state-bootstrap-GPL_tqaT.mjs +0 -1
  386. package/dist/await-trigger-I3lrepb8.mjs +0 -1
  387. package/dist/bus-B6SAjgOC.mjs +0 -2
  388. package/dist/bus-C2l3K74u.mjs +0 -1
  389. package/dist/extension-DCA4pYrY.mjs +0 -1
  390. package/dist/extension-hjOPs10e.mjs +0 -1
  391. package/dist/framework-packages-C3RWfJDk.mjs +0 -1
  392. package/dist/handlers-CfnLyLfE.mjs +0 -57
  393. package/dist/load-extensions-D0DfjYLC.mjs +0 -1
  394. package/dist/model-BGgVmRnN.mjs +0 -1
  395. package/dist/namespace-DJfUADSV.mjs +0 -1
  396. package/dist/orchestrator-shared-BxmHCPvx.mjs +0 -1
  397. package/dist/package-CNUPPcU1.mjs +0 -7
  398. package/dist/package-Dft_RItb.mjs +0 -1
  399. package/dist/schemas-Cm09dXL4.mjs +0 -1
  400. package/dist/scoped-bus-C9BdNwfM.mjs +0 -1
  401. package/dist/session-BOGCd18q.mjs +0 -1
  402. package/dist/session-BTFiDoGz.mjs +0 -76
  403. package/dist/shared-BQ0CHIVy.mjs +0 -1
  404. package/dist/tool-approval-service-kBA0fRzm.mjs +0 -1
  405. package/dist/types-CJ_QZ1yW.d.mts +0 -1487
  406. package/dist/workflow-BfDbgtIQ.mjs +0 -1
  407. package/dist/workflow-worker-BN9XPxQO.mjs +0 -1
  408. package/dist/{adapter-auth-runtime-DO-FVTXg.mjs → adapter-auth-runtime-D9Lnl7cc.mjs} +0 -0
  409. package/dist/{adapter-binding-DQchUtrK.d.mts → adapter-binding-B-FBoCys.d.mts} +0 -0
  410. package/dist/{attempt-record-codec-CqO1_XnE.mjs → attempt-record-codec-DaFLKR5C.mjs} +0 -0
  411. package/dist/{base-orchestrator-BilsQNW1.d.mts → base-orchestrator-D9u4NyiM.d.mts} +0 -0
  412. package/dist/{capability-service-BqiLlRGA.mjs → capability-service-CJHNkjvm.mjs} +0 -0
  413. package/dist/{client-B--e2qcU.d.mts → client-4ihewPUm.d.mts} +0 -0
  414. package/dist/{client-binary-version-verifier-taewmKTY.mjs → client-binary-version-verifier-DJajc_Ff.mjs} +0 -0
  415. package/dist/{client-binary-version-verifier-CgjM_vGF.d.mts → client-binary-version-verifier-jDDZ64Ah.d.mts} +0 -0
  416. package/dist/{clients-namespace-DfxjG2ZP.d.mts → clients-namespace-DFWuUawf.d.mts} +0 -0
  417. package/dist/{config-namespace-BCqvufbD.d.mts → config-namespace-D1kyZj0B.d.mts} +0 -0
  418. package/dist/{create-static-mount-bbQhTt6W.mjs → create-static-mount-9tnGpIeK.mjs} +0 -0
  419. package/dist/{cross-spawn-B57KZuns.mjs → cross-spawn-BIgueAqr.mjs} +0 -0
  420. package/dist/{cursor-storage-DIFK_9hg.mjs → cursor-storage-ROWfiTh1.mjs} +0 -0
  421. package/dist/{definition-gnKgXU91.d.mts → definition-DB-kKc0d.d.mts} +0 -0
  422. package/dist/{definitions-xrrY0wgz.mjs → definitions-CF6YmEhL.mjs} +0 -0
  423. package/dist/{descriptor-to-package-DvF08krT.mjs → descriptor-to-package-BecVCopf.mjs} +0 -0
  424. package/dist/{drizzle-z_0SiGY8.mjs → drizzle-CPv3vdTE.mjs} +0 -0
  425. package/dist/{esm-CltRnX8_.mjs → esm-CBFWM8u_.mjs} +0 -0
  426. package/dist/{event-CmVjR6Ib.mjs → event-DR8U9Efx.mjs} +0 -0
  427. package/dist/{facet-BCI00njh.mjs → facet-DVsW12iF.mjs} +0 -0
  428. package/dist/{filesystem-service-CQ9yVkSz.d.mts → filesystem-service-Cm2RHKBa.d.mts} +0 -0
  429. package/dist/{handler-Cbv9FqDO.mjs → handler-Bqlk-6BY.mjs} +0 -0
  430. package/dist/{host-Caq6ZfSJ.mjs → host-k5yoyKHg.mjs} +0 -0
  431. package/dist/{identity-D6guMtmi.mjs → identity-DC3Pk0ps.mjs} +0 -0
  432. package/dist/{index-dtsLKOID.d.mts → index-42UdYStR.d.mts} +0 -0
  433. package/dist/{index-DR40QWlw.d.mts → index-BJAB-BW_.d.mts} +0 -0
  434. package/dist/{index-Dm1nUxCF.d.mts → index-BJMezANn.d.mts} +0 -0
  435. package/dist/{index-Cv-o5Krs.d.mts → index-BRCrFirq.d.mts} +0 -0
  436. package/dist/{index-BVRQEpAg.d.mts → index-BRzHs7Bx.d.mts} +6 -6
  437. /package/dist/{index-vA--0lOM.d.mts → index-BVcQcphK.d.mts} +0 -0
  438. /package/dist/{index-ye0oklfU.d.mts → index-BcvqDfcN.d.mts} +0 -0
  439. /package/dist/{index-CGZQVTid.d.mts → index-BeENojSx2.d.mts} +0 -0
  440. /package/dist/{index-DjgLchuQ.d.mts → index-Beo_Ik8-.d.mts} +0 -0
  441. /package/dist/{index-sS6KUlrx.d.mts → index-BgGe9WZz.d.mts} +0 -0
  442. /package/dist/{index-CWHfOz6d.d.mts → index-CK3f0bAL.d.mts} +0 -0
  443. /package/dist/{index-DZunhZec.d.mts → index-CQuRTeRa.d.mts} +0 -0
  444. /package/dist/{index-jTaAHsul.d.mts → index-CRmE88hi.d.mts} +0 -0
  445. /package/dist/{index-CjdRdsd0.d.mts → index-CvW9_SzR.d.mts} +0 -0
  446. /package/dist/{index-ByKi34v5.d.mts → index-CxSSdIZz.d.mts} +0 -0
  447. /package/dist/{index-vcSj12YQ.d.mts → index-E4SET1AA.d.mts} +0 -0
  448. /package/dist/{index-DN4NOCqN2.d.mts → index-Ol9RBB0W2.d.mts} +0 -0
  449. /package/dist/{index-BIdsFcQs2.d.mts → index-aoxdnhJ42.d.mts} +0 -0
  450. /package/dist/{index-SsBHjUqA.d.mts → index-nydhGvXa.d.mts} +0 -0
  451. /package/dist/{jsonl-transport-bQl3JwIu.mjs → jsonl-transport-Bp_6pB2a.mjs} +0 -0
  452. /package/dist/{lib-DOBXZmYX.mjs → lib-Bwdd2m81.mjs} +0 -0
  453. /package/dist/{model-registry-CmgcPDH3.mjs → model-registry-Y854mUml.mjs} +0 -0
  454. /package/dist/{model-registry-xyBKSye-.mjs → model-registry-yURX738J.mjs} +0 -0
  455. /package/dist/{modes-BheyN7SS.mjs → modes-DmUsjHdV.mjs} +0 -0
  456. /package/dist/{namespace-HO2J9sO8.mjs → namespace-B9FEGuEu.mjs} +0 -0
  457. /package/dist/{namespace-jDhZjw-i.d.mts → namespace-Bi3CmYQy.d.mts} +0 -0
  458. /package/dist/{namespace-GPA7zots.d.mts → namespace-BusZERU8.d.mts} +0 -0
  459. /package/dist/{namespace-BOkKoq34.d.mts → namespace-ByP1Iipi.d.mts} +0 -0
  460. /package/dist/{namespace-YytVKIgI.d.mts → namespace-C1D77w7U.d.mts} +0 -0
  461. /package/dist/{namespace-CErHuXtb.d.mts → namespace-C6CVEGH8.d.mts} +0 -0
  462. /package/dist/{namespace-C-9si-fV.mjs → namespace-CfIW0hpQ.mjs} +0 -0
  463. /package/dist/{namespace-YxU1xf-K.mjs → namespace-CkBbNFSU.mjs} +0 -0
  464. /package/dist/{namespace-DWCEo-9M.d.mts → namespace-DX1Ec15L.d.mts} +0 -0
  465. /package/dist/{namespace-CWGKCNZm.mjs → namespace-DbNWsPFY.mjs} +0 -0
  466. /package/dist/{namespace-Cv1RFP7n.d.mts → namespace-Dgg0uoe6.d.mts} +0 -0
  467. /package/dist/{namespace-tGRAod3o.d.mts → namespace-s2y_NFKf.d.mts} +0 -0
  468. /package/dist/{namespace-Blp4c8GK.d.mts → namespace-yREpGJgG.d.mts} +0 -0
  469. /package/dist/{out-CvjtANXN.mjs → out-DrhwCgqM.mjs} +0 -0
  470. /package/dist/{packages-DtEEP0Vt.mjs → packages-FBv3fAOR.mjs} +0 -0
  471. /package/dist/{packages-BZ6pzFIq.d.mts → packages-N3-2Kl-Y.d.mts} +0 -0
  472. /package/dist/{platform-Bv8llU9c.mjs → platform-BrsMv_S3.mjs} +0 -0
  473. /package/dist/{provider-operation-Cxoe2SUr.d.mts → provider-operation-DJ_TLZFf.d.mts} +0 -0
  474. /package/dist/{providers-Co5UszRH.mjs → providers-CCcn4Ndp.mjs} +0 -0
  475. /package/dist/{providers-namespace-DjFkmvBR.d.mts → providers-namespace-DeJBh6MP.d.mts} +0 -0
  476. /package/dist/{quick-lru-CrOpWwrf.mjs → quick-lru-uwB0hP-y.mjs} +0 -0
  477. /package/dist/{schema-introspection-DgWQCpwx.mjs → schema-introspection-C1wvklj9.mjs} +0 -0
  478. /package/dist/{schema-Db-y-09L.mjs → schema-jIapW8Kb.mjs} +0 -0
  479. /package/dist/{schemas-CR8hSqTy.d.mts → schemas-B7zo7Zcx.d.mts} +0 -0
  480. /package/dist/{schemas-CqRm0i9a.mjs → schemas-BNdiVBWh.mjs} +0 -0
  481. /package/dist/{schemas-B1NWNASS.d.mts → schemas-C-Bm6Oac.d.mts} +0 -0
  482. /package/dist/{schemas-BO7uOum6.d.mts → schemas-CD0wOQxx.d.mts} +0 -0
  483. /package/dist/{schemas-N6x2z7Lf.d.mts → schemas-CeUI2i5j.d.mts} +0 -0
  484. /package/dist/{schemas-CwbYk_kZ.d.mts → schemas-Cg-Kwp8c.d.mts} +0 -0
  485. /package/dist/{schemas-BtZqovRH.d.mts → schemas-Cv3rR9Sz.d.mts} +0 -0
  486. /package/dist/{schemas-tDf_WiC8.mjs → schemas-CvHFbzdy.mjs} +0 -0
  487. /package/dist/{schemas-BsVYZviy.d.mts → schemas-DZH9lpxs.d.mts} +0 -0
  488. /package/dist/{schemas-BGExwp3j.mjs → schemas-DgwEVUt-.mjs} +0 -0
  489. /package/dist/{schemas-Bfxskx_2.mjs → schemas-mLpOfMoN.mjs} +0 -0
  490. /package/dist/{schemas-CQyRBqD6.d.mts → schemas-qA279_j_.d.mts} +0 -0
  491. /package/dist/{schemas-miYxK_Z1.d.mts → schemas-sMoRnBdZ.d.mts} +0 -0
  492. /package/dist/{semver-DlM8znk4.mjs → semver-DTXuyLcK.mjs} +0 -0
  493. /package/dist/{server-lifecycle-Dsq56aqC.d.mts → server-lifecycle-C_8iKgat.d.mts} +0 -0
  494. /package/dist/{server-lifecycle-kmQ5PUDv.mjs → server-lifecycle-DKx_fWlq.mjs} +0 -0
  495. /package/dist/{shared-schemas-DXwyMCwZ.mjs → shared-schemas-aahW97QW.mjs} +0 -0
  496. /package/dist/{src-CCu8TwL6.mjs → src-DHqsl5Pg.mjs} +0 -0
  497. /package/dist/{storage-namespace-BSrv0vXR.mjs → storage-namespace-Dz2jsssp.mjs} +0 -0
  498. /package/dist/{storage-namespace-dfywhXR3.d.mts → storage-namespace-Tf3P5yJ5.d.mts} +0 -0
  499. /package/dist/{storage-namespace-definition-BvlX0QV_.d.mts → storage-namespace-definition-BsnYAPot.d.mts} +0 -0
  500. /package/dist/{storage-namespace-definition-CkMKt7-I.mjs → storage-namespace-definition-CDef0E20.mjs} +0 -0
  501. /package/dist/{supports-color-DUugCQsK.mjs → supports-color-i7OTnKcZ.mjs} +0 -0
  502. /package/dist/{telemetry-Pr3oP2rk.mjs → telemetry-BvCBUjFg.mjs} +0 -0
  503. /package/dist/{timeout-DWDhddRJ.mjs → timeout-B0nYjLc8.mjs} +0 -0
  504. /package/dist/{tray-menu-service-BBLa-Rcv.mjs → tray-menu-service-Deo6yyP8.mjs} +0 -0
  505. /package/dist/{types-BrcjaNPZ.d.mts → types-CNS55jvt.d.mts} +0 -0
  506. /package/dist/{types-b54n1o57.d.mts → types-Ce6LL25v.d.mts} +0 -0
  507. /package/dist/{types-DHmPneIO.d.mts → types-xCdGghb2.d.mts} +0 -0
  508. /package/dist/{ui-config-CyCdlns_.mjs → ui-config-BIyGzMNL.mjs} +0 -0
  509. /package/dist/{variant-krjlTdJt.mjs → variant-B4uWdxW7.mjs} +0 -0
  510. /package/dist/{window-registry-BDnZLPVx.d.mts → window-registry-BLtVx3Iw.d.mts} +0 -0
  511. /package/dist/{window-registry-I-imZHV_.mjs → window-registry-CoBJq3u4.mjs} +0 -0
@@ -1,53 +1,53 @@
1
- import { c as ResolveIdResponse, d as ResolveNameRequestSchema, f as ResolveNameResponse, l as ResolveIdResponseSchema, o as ResolveIdRequest, p as ResolveNameResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveNameRequest } from "../schemas-CR8hSqTy.mjs";
2
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-CErHuXtb.mjs";
3
- import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-CRvpVIqA.mjs";
4
- import { p as BindingRecord } from "../schemas-BsVYZviy.mjs";
5
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-DuIlOWR3.mjs";
6
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-Dkod-w11.mjs";
7
- import { t as CapabilityService } from "../index-DN4NOCqN2.mjs";
8
- import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-Blp4c8GK.mjs";
9
- import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-CQyRBqD6.mjs";
10
- import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-miYxK_Z1.mjs";
11
- import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-Cv1RFP7n.mjs";
12
- import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-BrcjaNPZ.mjs";
13
- import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-N6x2z7Lf.mjs";
14
- import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-DWCEo-9M.mjs";
15
- import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, k as ContainerRuntime, n as ContainerSpawnSubjects, q as StatusResponseSchema, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated } from "../index-SsBHjUqA.mjs";
16
- import { $t as RecoveryConfig, A as SelectTurn, At as registerMemorySessionStorage, Bt as normalizeSelectionString, C as MessageRoutingSubjects, Ct as fetchPreviewBySession, D as registerMemoryMessageStorage, Dt as registerDrizzleAgentStorage, E as messages, Et as registerFtsSearchHandler, F as EmbeddingIndexManager, Ft as SessionBridge, Gt as actionRegistry, Ht as registerListActionsHandler, I as registerDrizzleImportCursorStorage, It as assembleForkContext, Jt as ContextWindowTracker, Kt as registerGetStatusCountsHandler, L as importCursors, Lt as FallbackRuntimeOptions, M as turnsDual, Mt as AgentStorageSubjects, N as registerMemoryTurnStorage, Nt as SessionExtensionContextImpl, O as registerDrizzleMessageStorage, Ot as registerMemoryAgentStorage, P as registerDrizzleTurnStorage, Pt as createSessionExtensionContext, Qt as buildTurnInitiator, R as importCursorsDual, Rt as pickFallbackRuntimeOptions, S as MessageRoutingNamespace, St as fetchMessageCountsBySession, T as SelectMessage, Tt as parseForkTransforms, Ut as registerBuiltInActions, Vt as resolveAdapterNameById, Wt as resetBuiltInActionsRegistration, Xt as ContextWindowTrackerConfig, Yt as AgentContextState, Zt as SessionContextWindowState, _ as InsertMessageRouting, _n as SessionOrchestrator, _t as mapAgentsBySession, a as buildSessionContext, an as buildRecoveryContext, b as messageRoutingDual, bt as SearchSessionRow, c as kindToBranchKind, cn as resolveModelCapabilities, ct as registerDrizzleSessionEventStorage, d as registerSpawningToolCallResolver, dn as resolveTargetAgents, dt as SelectSessionEvent, en as buildRecoveryContextWithPipeline, et as EventTransform, f as registerCompressLineageResolver, fn as extractTextContent, ft as sessionEvents, g as StartTurnOptions, gn as ISessionOrchestrator, gt as fetchSessionPreviewMaps, h as MakaioSessionConfig, hn as AdapterRegistry, ht as SessionPreviewMaps, i as getFullConversation, in as verifyAndRecoverAgents, j as turns, jt as AgentStorageNamespace, k as InsertTurn, kt as registerDrizzleSessionStorage, ln as findTurnByAgent, lt as registerMemorySessionEventStorage, m as MakaioSession, mn as TurnContextEnricher, nn as ensureAgentModel, o as BuildContextOptions, on as resolveAdapterId, p as registerParentResolver, pn as normalizeToBlocks, pt as sessionEventsDual, qt as registerResumeHandler, rn as recoverAgent, s as ContextAssemblyResult, sn as resolveExecutionTarget, tn as ensureAgentCwd, un as getOrCreateSession, ut as InsertSessionEvent, v as SelectMessageRouting, vn as registerCoreSessionServiceHandlers, vt as mapToSession, w as InsertMessage, wt as mapRowToSession, x as registerDrizzleMessageRoutingStorage, xt as fetchAgentsBySession, y as messageRouting, yn as MakaioSessionService, yt as SearchFilters, zt as CONNECTOR_SWAP_DEFAULT_PIPELINE } from "../index-BfLulUMy2.mjs";
17
- import { a as registerCompressHandler, c as SessionTurnManager, d as TurnContext, f as TurnPairStateChange, i as registerForkHandler, l as Turn, m as TurnResult, n as routeToAgents, o as registerAttachHandler, p as TurnPairTerminalOutcome, r as registerMergeHandler, s as registerAbandonHandler, t as routeToAgentsCore, u as TurnConfig } from "../index-gUhidukN.mjs";
18
- import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-EjsSBQXy2.mjs";
19
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-g_mbIZq_.mjs";
20
- import { a as agents, s as sessions } from "../schema-DKUb4rkr.mjs";
21
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-BXvD9t0I.mjs";
22
- import { t as TurnStorageNamespace } from "../namespace-BOkKoq34.mjs";
23
- import { n as TurnStorageSubjects } from "../namespace-GPA7zots.mjs";
24
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-D-WH2uYV2.mjs";
25
- import { y as ArtifactSchemaRegistry } from "../packages-BZ6pzFIq.mjs";
26
- import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-BaZeoZoS.mjs";
27
- import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-B0Kf_OWi.mjs";
28
- import { t as ToolApprovalService } from "../index-sS6KUlrx.mjs";
29
- import { t as TrayMenuService } from "../index-ByKi34v5.mjs";
30
- import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-CwbYk_kZ.mjs";
31
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-tGRAod3o.mjs";
32
- import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModelOverrideSchema, _ as ModelRegistryGetLabModelsResponse, a as ModelRegistryService, b as ModelRegistryRefreshRequest, c as IModelRegistryFetcher, d as ModelRegistry, f as ModelRegistryCheckModelInProvidersRequest, g as ModelRegistryGetLabModelsRequest, h as ModelRegistryGetForProviderResponse, i as ModelRegistryProviderNotFoundError, l as ModelRegistryNamespace, m as ModelRegistryGetForProviderRequest, n as CachedRegistryFetcher, o as ModelRegistryServiceOptions, p as ModelRegistryCheckModelInProvidersResponse, r as FallbackRegistryFetcher, s as IModelRegistryCache, t as mergeModelMetadata, u as ModelRegistrySubjects, v as ModelRegistryGetProviderModelsRequest, w as ProviderModelOverride, x as ModelRegistryRefreshResponse, y as ModelRegistryGetProviderModelsResponse } from "../index-CjdRdsd0.mjs";
33
- import { a as InternalPendingRequest, c as SubagentServiceToken, d as SubagentFailureFinalizationError, f as SubagentFailureFinalizationErrorCode, i as InputResolver, l as createSubagentServicePackage, n as TrackOptions, o as SpawnOptions, p as SubagentService, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as subagentServicePackage } from "../index-DjgLchuQ.mjs";
34
- import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-BtZqovRH.mjs";
35
- import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-dfywhXR3.mjs";
36
- import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-B5eUUi6u.mjs";
37
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-YytVKIgI.mjs";
1
+ import { c as ResolveIdResponse, d as ResolveNameRequestSchema, f as ResolveNameResponse, l as ResolveIdResponseSchema, o as ResolveIdRequest, p as ResolveNameResponseSchema, s as ResolveIdRequestSchema, t as AdapterRuntimeSchemas, u as ResolveNameRequest } from "../schemas-B7zo7Zcx.mjs";
2
+ import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-C6CVEGH8.mjs";
3
+ import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-OsbtyMgx2.mjs";
4
+ import { p as BindingRecord } from "../schemas-DZH9lpxs.mjs";
5
+ import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-VbB1FTxx.mjs";
6
+ import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-DwZwGXgF.mjs";
7
+ import { t as CapabilityService } from "../index-Ol9RBB0W2.mjs";
8
+ import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-yREpGJgG.mjs";
9
+ import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-qA279_j_.mjs";
10
+ import { a as CompressResponse, c as CompressionEventSchema, d as ExtractedContextSchema, f as TechnicalDetails, h as TodoEntrySchema, i as CompressRequestSchema, l as CompressionSchemas, m as TodoEntry, n as BugEntrySchema, o as CompressResponseSchema, p as TechnicalDetailsSchema, r as CompressRequest, s as CompressionEvent, t as BugEntry, u as ExtractedContext } from "../schemas-sMoRnBdZ.mjs";
11
+ import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-Dgg0uoe6.mjs";
12
+ import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-CNS55jvt.mjs";
13
+ import { a as ExecutionTargetInputSchema, c as ExecutionTargetResolveRequest, d as ExecutionTargetSchemas, f as ExecutionTargetType, i as ExecutionTargetInput, l as ExecutionTargetResolveRequestSchema, m as LocalExecutionTargetSchema, n as ContainerLocalExecutionTargetSchema, o as ExecutionTargetListQuery, p as ExecutionTargetTypeSchema, r as ExecutionTarget, s as ExecutionTargetListQuerySchema, t as ContainerIsolatedExecutionTargetSchema, u as ExecutionTargetSchema } from "../schemas-CeUI2i5j.mjs";
14
+ import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-DX1Ec15L.mjs";
15
+ import { A as ContainerRuntimeSchema, B as SpawnRequest, C as ContainerIsolatedSpawnRequest, D as ContainerLocalWorkflowSpawnRequest, E as ContainerLocalSpawnRequestSchema, F as ContainerState, G as StatusRequestSchema, H as SpawnResponse, I as ContainerStateSchema, J as StopRequest, K as StatusResponse, L as ContainerStopped, N as ContainerStarted, O as ContainerLocalWorkflowSpawnRequestSchema, P as ContainerStartedSchema, R as ContainerStoppedSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as SpawnResponseSchema, V as SpawnRequestSchema, W as StatusRequest, X as StopResponse, Y as StopRequestSchema, Z as StopResponseSchema, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, k as ContainerRuntime, n as ContainerSpawnSubjects, q as StatusResponseSchema, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated } from "../index-nydhGvXa.mjs";
16
+ import { $t as resetBuiltInActionsRegistration, A as registerDrizzleMessageStorage, An as getOrCreateSession, At as registerMemorySessionOwnershipStorage, Bt as createSessionExtensionContext, C as registerDrizzleMessageRoutingStorage, Ct as fetchAgentsBySession, D as SelectMessage, Dt as parseForkTransforms, E as InsertMessage, Et as mapRowToSession, F as registerMemoryTurnStorage, Fn as AdapterRegistry, Ft as SessionStorageMemoryState, Gt as CONNECTOR_SWAP_DEFAULT_PIPELINE, Ht as assembleForkContext, I as registerDrizzleTurnStorage, In as ISessionOrchestrator, It as createSessionStorageMemoryState, Jn as MakaioSessionService, L as EmbeddingIndexManager, Ln as SessionOrchestrator, Lt as AgentStorageNamespace, M as SelectTurn, Mn as extractTextContent, Mt as registerMemoryAgentStorage, N as turns, Nn as normalizeToBlocks, Nt as registerDrizzleSessionStorage, O as messages, Ot as registerFtsSearchHandler, Pn as TurnContextEnricher, Pt as registerMemorySessionStorage, Qt as registerBuiltInActions, R as registerDrizzleImportCursorStorage, Rn as registerCoreSessionServiceHandlers, Rt as AgentStorageSubjects, St as SearchSessionRow, T as MessageRoutingSubjects, Tt as fetchPreviewBySession, Ut as FallbackRuntimeOptions, Vt as SessionBridge, Wt as pickFallbackRuntimeOptions, Xt as resolveAdapterNameById, Yt as normalizeSelectionString, Zt as registerListActionsHandler, _ as MakaioSessionConfig, _n as verifyAndRecoverAgents, _t as SessionPreviewMaps, an as ContextWindowTrackerConfig, b as SelectMessageRouting, bt as mapToSession, c as BuildContextOptions, dn as RecoveryConfig, dt as registerMemorySessionEventStorage, en as actionRegistry, fn as VerifiedAgents, ft as InsertSessionEvent, g as MakaioSession, gn as recoverAgent, h as registerParentResolver, hn as ensureAgentModel, in as AgentContextState, j as InsertTurn, jn as resolveTargetAgents, jt as registerDrizzleAgentStorage, k as registerMemoryMessageStorage, kn as findTurnByAgent, kt as registerDrizzleSessionOwnershipStorage, l as ContextAssemblyResult, ln as buildTurnInitiator, m as registerCompressLineageResolver, mn as ensureAgentCwd, mt as sessionEvents, nn as registerResumeHandler, nt as EventTransform, o as getFullConversation, on as SessionContextWindowState, p as registerSpawningToolCallResolver, pn as buildRecoveryContextWithPipeline, pt as SelectSessionEvent, rn as ContextWindowTracker, s as buildSessionContext, tn as registerGetStatusCountsHandler, u as kindToBranchKind, un as AgentRecoveryOutcome, ut as registerDrizzleSessionEventStorage, v as StartTurnOptions, vt as fetchSessionPreviewMaps, w as MessageRoutingNamespace, wt as fetchMessageCountsBySession, x as messageRouting, xt as SearchFilters, y as InsertMessageRouting, yn as buildRecoveryContext, yt as mapAgentsBySession, z as importCursors, zt as SessionExtensionContextImpl } from "../index-CqQYgsbB.mjs";
17
+ import { C as Turn, D as TurnPairTerminalOutcome, E as TurnPairStateChange, O as TurnResult, S as SessionTurnManager, T as TurnContext, b as resolveModelCapabilities, c as registerMergeHandler, d as registerAttachHandler, f as registerAbandonHandler, l as registerForkHandler, n as routeToAgents, p as SessionStartError, t as routeToAgentsCore, u as registerCompressHandler, v as resolveAdapterId, w as TurnConfig, y as resolveExecutionTarget } from "../index-DI7-tIL3.mjs";
18
+ import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-BSQ30wYP.mjs";
19
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-DSlfFhB1.mjs";
20
+ import { d as sessions, l as agents } from "../schema-DKTzriEY.mjs";
21
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-Rge9mMI-.mjs";
22
+ import { t as TurnStorageNamespace } from "../namespace-ByP1Iipi.mjs";
23
+ import { n as TurnStorageSubjects } from "../namespace-BusZERU8.mjs";
24
+ import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-CAy4P5mW.mjs";
25
+ import { y as ArtifactSchemaRegistry } from "../packages-N3-2Kl-Y.mjs";
26
+ import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, l as ToolsWithToolsetsResult, o as ToolRegistry, s as ListToolsFilter, u as ToolsetInfo } from "../index-bIe_57cL.mjs";
27
+ import { a as WORKFLOW_START_ACTION_TYPE, i as TransitionActionRegistry, n as TransitionPipelineService, r as TransitionRuleRegistry, t as createTransitionContributionProcessor } from "../index-DgOfgjx3.mjs";
28
+ import { t as ToolApprovalService } from "../index-BgGe9WZz.mjs";
29
+ import { t as TrayMenuService } from "../index-CxSSdIZz.mjs";
30
+ import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../schemas-Cg-Kwp8c.mjs";
31
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-s2y_NFKf.mjs";
32
+ import { C as ModelRegistrySchemas, S as ModelRegistrySchema, T as ProviderModelOverrideSchema, _ as ModelRegistryGetLabModelsResponse, a as ModelRegistryService, b as ModelRegistryRefreshRequest, c as IModelRegistryFetcher, d as ModelRegistry, f as ModelRegistryCheckModelInProvidersRequest, g as ModelRegistryGetLabModelsRequest, h as ModelRegistryGetForProviderResponse, i as ModelRegistryProviderNotFoundError, l as ModelRegistryNamespace, m as ModelRegistryGetForProviderRequest, n as CachedRegistryFetcher, o as ModelRegistryServiceOptions, p as ModelRegistryCheckModelInProvidersResponse, r as FallbackRegistryFetcher, s as IModelRegistryCache, t as mergeModelMetadata, u as ModelRegistrySubjects, v as ModelRegistryGetProviderModelsRequest, w as ProviderModelOverride, x as ModelRegistryRefreshResponse, y as ModelRegistryGetProviderModelsResponse } from "../index-CvW9_SzR.mjs";
33
+ import { a as InternalPendingRequest, c as SubagentServiceToken, d as SubagentFailureFinalizationError, f as SubagentFailureFinalizationErrorCode, i as InputResolver, l as createSubagentServicePackage, n as TrackOptions, o as SpawnOptions, p as SubagentService, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as subagentServicePackage } from "../index-Beo_Ik8-.mjs";
34
+ import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-Cv3rR9Sz.mjs";
35
+ import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-Tf3P5yJ5.mjs";
36
+ import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../schemas-9qeeHGBf.mjs";
37
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-C1D77w7U.mjs";
38
38
  import * as _$zod from "zod";
39
39
  import * as _$_makaio_core0 from "@makaio/framework/core";
40
40
  import { MakaioError } from "@makaio/framework/core";
41
41
  import { IMakaioBus } from "@makaio/framework/bus";
42
42
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
43
- import { AgentResolutionContext, ArtifactContextSelector, ArtifactKindRegistration, ArtifactLifecycleHookRegistration, ArtifactObservation, ArtifactProjectionPolicy, ArtifactRef, ArtifactRevision, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, RegisteredStepBlock, RegisteredTriggerBlock, ResolvableCanonicalModel, ResolvedArtifactContextWire, WorkflowBlockCollection } from "@makaio/framework/contracts";
43
+ import { AgentResolutionContext, ArtifactContextSelector, ArtifactKindRegistration, ArtifactLifecycleHookRegistration, ArtifactObservation, ArtifactProjectionPolicy, ArtifactRef, ArtifactRevision, CanonicalModelResolvedSelection, MakaioNodeExtension, ProviderDefinition, ReactionDefinition, ReactionDescriptor, ReactionOutcome, ReactionRuleRef, RegisteredStepBlock, ResolvableCanonicalModel, ResolvedArtifactContextWire, WorkflowBlockCollection } from "@makaio/framework/contracts";
44
+ import { ContributionProcessor, KernelExtensionContext, KernelMakaioExtension } from "@makaio/framework/kernel";
44
45
  import { BaseService } from "@makaio/framework/service-base";
45
46
  import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
46
47
  import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
47
48
  import * as _$_makaio_ai_adapters_core0 from "@makaio/framework/adapters";
48
49
  import { FacetNamespaceRegistration } from "@makaio/framework/contracts/facet";
49
50
  import { GitService } from "@makaio/framework/git";
50
- import { ContributionProcessor } from "@makaio/framework/kernel";
51
51
  import * as _$type_fest0 from "type-fest";
52
52
  import * as _$zod_v4_core0 from "zod/v4/core";
53
53
 
@@ -110,7 +110,7 @@ interface RunAfterInput {
110
110
  * The observation that was just appended.
111
111
  *
112
112
  * Present only for {@link ArtifactLifecycleHookRegistry.runAfterObservationAdded}.
113
- * Forwarded to {@link ArtifactReactionHookContext.observation} so that
113
+ * Forwarded to {@link AfterArtifactHookContext.observation} so that
114
114
  * `afterObservationAdded` hooks can inspect the observation without an
115
115
  * additional bus round-trip.
116
116
  */
@@ -120,7 +120,7 @@ interface RunAfterInput {
120
120
  /** Effective projection policy for this artifact kind. */
121
121
  readonly projectionPolicy: ArtifactProjectionPolicy;
122
122
  /**
123
- * Skip the default provider projection tier while preserving custom reactions.
123
+ * Skip the default provider projection tier while preserving custom after hooks.
124
124
  *
125
125
  * The lifecycle writer sets this when a before-hook called
126
126
  * `skipMaterialization()`. Hooks at priority `>= 0` still run; hooks at
@@ -129,7 +129,7 @@ interface RunAfterInput {
129
129
  readonly skipDefaultProjection?: boolean;
130
130
  /**
131
131
  * Metadata bag propagated from the paired before-hook run.
132
- * A mutable `Map` is accepted but exposed as read-only to reaction hooks.
132
+ * A mutable `Map` is accepted but exposed as read-only to after hooks.
133
133
  */
134
134
  readonly meta: Map<string, unknown>;
135
135
  }
@@ -157,7 +157,7 @@ declare class ArtifactLifecycleHookRejectedError extends Error {
157
157
  * Each call to {@link registerHooks} returns a cleanup function that removes
158
158
  * exactly the hooks registered in that call.
159
159
  *
160
- * The bus is accepted at construction time so that reaction hook contexts can
160
+ * The bus is accepted at construction time so that after-hook contexts can
161
161
  * issue RPC calls (e.g. `ArtifactSubjects.resolve`) during hook execution.
162
162
  */
163
163
  declare class ArtifactLifecycleHookRegistry extends BaseService {
@@ -226,35 +226,36 @@ declare class ArtifactLifecycleHookRegistry extends BaseService {
226
226
  */
227
227
  private runBeforeHooks;
228
228
  /**
229
- * Run all `afterCreate` reaction hooks for a newly created artifact.
229
+ * Run all `afterCreate` after hooks for a newly created artifact.
230
230
  *
231
231
  * Hooks run in descending priority order (highest first). Any hook may call
232
- * {@link ArtifactReactionHookContext.preventDefault} to suppress subsequent
233
- * lower-priority hooks. Errors thrown by individual hooks are caught and
234
- * logged; they never propagate to the caller.
235
- * @param input - Reaction context fields for the completed create.
232
+ * {@link AfterArtifactHookContext.preventDefault} to suppress subsequent
233
+ * hooks in the negative-priority default-projection tier. Hooks at priority
234
+ * `>= 0` still run. Errors thrown by individual hooks are caught and logged;
235
+ * they never propagate to the caller.
236
+ * @param input - After-hook context fields for the completed create.
236
237
  */
237
238
  runAfterCreate(input: RunAfterInput): Promise<void>;
238
239
  /**
239
- * Run all `afterRevise` reaction hooks for a revised artifact.
240
- * @param input - Reaction context fields for the completed revise.
240
+ * Run all `afterRevise` after hooks for a revised artifact.
241
+ * @param input - After-hook context fields for the completed revise.
241
242
  */
242
243
  runAfterRevise(input: RunAfterInput): Promise<void>;
243
244
  /**
244
- * Run all `afterStatusChanged` reaction hooks.
245
- * @param input - Reaction context fields for the status change.
245
+ * Run all `afterStatusChanged` after hooks.
246
+ * @param input - After-hook context fields for the status change.
246
247
  */
247
248
  runAfterStatusChanged(input: RunAfterInput): Promise<void>;
248
249
  /**
249
- * Run all `afterObservationAdded` reaction hooks.
250
- * @param input - Reaction context fields for the observation.
250
+ * Run all `afterObservationAdded` after hooks.
251
+ * @param input - After-hook context fields for the observation.
251
252
  */
252
253
  runAfterObservationAdded(input: RunAfterInput): Promise<void>;
253
254
  /**
254
255
  * Shared implementation for after-hook pipelines.
255
256
  * @param event - The specific after-hook event type.
256
257
  * @param semanticEvent - The semantic event name passed to hook contexts.
257
- * @param input - Reaction context fields.
258
+ * @param input - After-hook context fields.
258
259
  */
259
260
  private runAfterHooks;
260
261
  }
@@ -393,14 +394,16 @@ declare function createFacetNamespaceContributionProcessor(): ContributionProces
393
394
  //#endregion
394
395
  //#region services/core/src/workflow-blocks/workflow-block-registry.d.ts
395
396
  /**
396
- * Registry for workflow blocks contributed by extensions.
397
+ * Registry for workflow step blocks contributed by extensions.
397
398
  *
398
- * Manages trigger and step block registrations, serves them via the
399
- * `workflow-blocks.list` bus subject, and emits `workflow-blocks.changed`
400
- * on mutations.
399
+ * Manages step block registrations, serves them via the `workflow-blocks.list`
400
+ * bus subject, and emits `workflow-blocks.changed` on mutations.
401
+ *
402
+ * Workflow start conditions are deliberately absent: they are executable
403
+ * automation trigger types owned by the automation trigger registry, and a
404
+ * second declarative catalog for them could only ever drift from runtime truth.
401
405
  */
402
406
  declare class WorkflowBlockRegistry extends BaseService {
403
- private readonly triggersByExtension;
404
407
  private readonly stepsByExtension;
405
408
  private revision;
406
409
  private cache;
@@ -413,22 +416,17 @@ declare class WorkflowBlockRegistry extends BaseService {
413
416
  */
414
417
  protected onInit(): void;
415
418
  /**
416
- * Registers all workflow blocks from an extension.
419
+ * Registers all workflow step blocks from an extension.
417
420
  * @param extensionName - The extension contributing the blocks.
418
- * @param collection - The trigger and step block declarations.
421
+ * @param collection - The step block declarations.
419
422
  * @throws If a block name collides with an existing registration.
420
423
  */
421
424
  register(extensionName: string, collection: WorkflowBlockCollection): Promise<void>;
422
425
  /**
423
- * Deregisters all workflow blocks for an extension.
426
+ * Deregisters all workflow step blocks for an extension.
424
427
  * @param extensionName - The extension to remove.
425
428
  */
426
429
  deregister(extensionName: string): Promise<void>;
427
- /**
428
- * Returns all registered trigger blocks.
429
- * @returns Flat list of all trigger blocks across all extensions.
430
- */
431
- listTriggers(): RegisteredTriggerBlock[];
432
430
  /**
433
431
  * Returns all registered step blocks.
434
432
  * @returns Flat list of all step blocks across all extensions.
@@ -444,14 +442,239 @@ declare class WorkflowBlockRegistry extends BaseService {
444
442
  //#endregion
445
443
  //#region services/core/src/workflow-blocks/workflow-block-contribution-processor.d.ts
446
444
  /**
447
- * Processes workflow block contributions from extensions.
445
+ * Processes workflow step block contributions from extensions.
448
446
  *
449
- * Registers and deregisters blocks with the {@link WorkflowBlockRegistry}
450
- * as extensions activate and stop.
447
+ * Registers and deregisters step blocks with the {@link WorkflowBlockRegistry}
448
+ * as extensions activate and stop. Workflow start conditions travel through the
449
+ * automation trigger contribution processor instead.
451
450
  * @returns Contribution processor that manages workflow block registration.
452
451
  */
453
452
  declare function createWorkflowBlockContributionProcessor(): ContributionProcessor;
454
453
  //#endregion
454
+ //#region services/core/src/reaction/reaction-registry.d.ts
455
+ /**
456
+ * Host-supplied input for a single Reaction invocation.
457
+ *
458
+ * The host has already evaluated its (consumer-owned) rule system and
459
+ * resolved raw parameters before calling {@link ReactionRegistry.invoke};
460
+ * this input carries everything the runtime needs to build the frozen
461
+ * {@link ReactionExecutionContext} envelope for the handler. Its
462
+ * `eventPayload`, `hostContext`, and `ruleRef` remain host-owned references;
463
+ * hosts must detach them before invocation when they need deeper isolation.
464
+ */
465
+ interface ReactionInvocationInput {
466
+ /** Event kind string the host evaluated when deciding to dispatch. */
467
+ readonly eventKind: string;
468
+ /** Event payload the host evaluated, passed through verbatim. */
469
+ readonly eventPayload: unknown;
470
+ /** Host-composed context, passed through verbatim. */
471
+ readonly hostContext: unknown;
472
+ /**
473
+ * Opaque host-supplied reference to the rule that caused this dispatch, or
474
+ * `undefined` when the host dispatched without a rule system.
475
+ */
476
+ readonly ruleRef?: ReactionRuleRef;
477
+ /** Bus correlation identifier from the triggering message, when one exists. */
478
+ readonly correlationId?: string;
479
+ /**
480
+ * Absolute deadline for this invocation as epoch milliseconds. An
481
+ * invocation already past its deadline never enters handler code; a
482
+ * deadline reached mid-flight aborts the per-invocation signal. Deadlines
483
+ * beyond the platform timer cap (~24.8 days) are honored via rescheduling.
484
+ * Non-finite values (`NaN`, `±Infinity`) are deterministically treated as
485
+ * "no deadline"; the value is still passed through verbatim on the
486
+ * execution context.
487
+ */
488
+ readonly deadlineEpochMs?: number;
489
+ /**
490
+ * Optional host-owned cancellation signal (e.g. an extension-wide shutdown
491
+ * signal) layered UNDER the runtime-controlled per-invocation signal: its
492
+ * abort propagates into the per-invocation signal, but the handler only
493
+ * ever observes the per-invocation signal, so aborting one invocation can
494
+ * never affect another sharing the same host signal.
495
+ */
496
+ readonly hostSignal?: AbortSignal;
497
+ }
498
+ /**
499
+ * Owner-aware registry and in-process dispatcher for Reactions contributed by
500
+ * extensions.
501
+ *
502
+ * Registration is keyed by the owning extension: every Reaction kind must
503
+ * carry the canonical `<extensionName>.` prefix, kinds are globally unique,
504
+ * and a registration batch is atomic — executable definitions and their
505
+ * serializable descriptors are validated in full before either index changes,
506
+ * so a failing batch leaves no partial registration.
507
+ *
508
+ * Dispatch is a plain in-process call ({@link invoke}): the host resolves
509
+ * parameters itself and receives a normalized {@link ReactionOutcome}.
510
+ * Invocations are independent — no queuing, no ordering, no shared
511
+ * runtime-owned mutable invocation state, and one invocation's failure never
512
+ * suppresses another. Host-owned context references may intentionally be
513
+ * shared. A handler closure captured by an in-flight invocation completes
514
+ * normally even if its extension deregisters mid-flight; deregistration only
515
+ * prevents NEW dispatches from resolving the kind.
516
+ *
517
+ * This service intentionally exposes NO bus subjects in this phase: Reactions
518
+ * are scoped to in-process host invocation. Bus-based discovery (a
519
+ * `list`/`changed` surface like the workflow-block registry's) is a
520
+ * deliberate later seam, not an omission.
521
+ */
522
+ declare class ReactionRegistry extends BaseService {
523
+ /** Registered definitions grouped by owning extension. */
524
+ private definitionsByExtension;
525
+ /** Global kind index for collision checks and dispatch lookup. */
526
+ private definitionsByKind;
527
+ /**
528
+ * @param bus - Bus instance used for the service lifecycle.
529
+ */
530
+ constructor(bus: IMakaioBus);
531
+ /**
532
+ * Initialize the service.
533
+ *
534
+ * Registers no bus handlers by design — Reaction dispatch is an in-process
535
+ * host call in this phase (see class docs).
536
+ */
537
+ protected onInit(): void;
538
+ /**
539
+ * Clears all in-memory registrations so handler closure references are
540
+ * released on teardown.
541
+ */
542
+ protected onDestroy(): void;
543
+ /**
544
+ * Atomically registers the complete Reaction batch contributed by an extension.
545
+ *
546
+ * Each call replaces that extension's previous batch. The whole incoming
547
+ * batch, including every descriptor snapshot, is validated before either
548
+ * registry index changes, so a failure preserves the prior batch. Kinds
549
+ * owned by another extension still collide; an empty batch removes this
550
+ * extension's current registrations.
551
+ * @param extensionName - The extension contributing the complete batch.
552
+ * @param reactions - Complete Reaction definitions to register.
553
+ * @throws If a kind is not namespaced by `<extensionName>.`, has an empty
554
+ * local name, duplicates another incoming kind, or belongs to another owner.
555
+ */
556
+ register(extensionName: string, reactions: readonly ReactionDefinition[]): void;
557
+ /**
558
+ * Deregisters all Reactions contributed by an extension.
559
+ *
560
+ * Idempotent — a no-op when the extension has no registered Reactions.
561
+ * In-flight invocations already dispatched keep their captured handler
562
+ * closures and complete independently; only new dispatches stop resolving.
563
+ * @param extensionName - The extension to remove.
564
+ */
565
+ deregister(extensionName: string): void;
566
+ /**
567
+ * Returns detached serializable descriptors for all registered Reactions.
568
+ *
569
+ * Descriptor factories run only during successful batch validation; listing
570
+ * cannot execute extension code or mutate the stored discovery snapshot.
571
+ * @returns Detached discovery metadata for every registered Reaction.
572
+ */
573
+ listDescriptors(): ReactionDescriptor[];
574
+ /**
575
+ * Invokes a registered Reaction with host-resolved parameters.
576
+ *
577
+ * Every failure mode is a normalized {@link ReactionOutcome} rather than a
578
+ * throw — including an unknown kind. A host may dispatch from a persisted
579
+ * rule that races extension deregistration, so "kind not registered" is an
580
+ * invocation-level failure of that dispatch, not a programming error at the
581
+ * call site; keeping the outcome surface uniform means hosts handle exactly
582
+ * one shape.
583
+ *
584
+ * Guarantees:
585
+ * - An already-aborted host signal or an already-past deadline fails the
586
+ * invocation without entering the handler; these cheap gates run BEFORE
587
+ * parameter validation, so an already-dead dispatch never pays for it.
588
+ * - Parameters are validated against the Reaction's live Zod schema BEFORE
589
+ * handler entry; invalid parameters — and schema code that itself throws
590
+ * (e.g. a throwing transform) — never reach the handler and normalize to
591
+ * a failure outcome.
592
+ * - Each invocation gets its own runtime-owned {@link AbortSignal}; the
593
+ * optional host signal and deadline propagate into it from parameter
594
+ * validation through handler settlement (listeners and timers are
595
+ * released after settle), and aborting one invocation never affects
596
+ * another. Cancellation is cooperative after handler entry: a mid-flight
597
+ * abort only signals the handler, and a handler that resolves anyway still
598
+ * yields a success outcome. A cancellation observed before handler entry
599
+ * always yields a failure outcome.
600
+ * - The handler receives a frozen top-level invocation envelope.
601
+ * `eventPayload`, `hostContext`, and `ruleRef` are host-owned values passed
602
+ * through verbatim, not deep-cloned or frozen. Hosts detach those values
603
+ * before invocation when they need deeper isolation.
604
+ * - Any thrown value (including non-`Error`) is caught, logged with the
605
+ * kind, invocation id, and correlation id, and normalized to a failure
606
+ * outcome.
607
+ * @param kind - Canonical Reaction kind to invoke.
608
+ * @param parameters - Host-resolved, not-yet-validated invocation parameters.
609
+ * @param input - Host-supplied invocation input (event, context, controls).
610
+ * @returns Normalized outcome of this invocation.
611
+ */
612
+ invoke(kind: string, parameters: unknown, input: ReactionInvocationInput): Promise<ReactionOutcome>;
613
+ /**
614
+ * Logs an invocation failure with correlation metadata and returns the
615
+ * normalized failure outcome carrying the same message.
616
+ * @param kind - Reaction kind that failed to invoke.
617
+ * @param invocationId - Runtime-minted identifier of the failed invocation.
618
+ * @param correlationId - Bus correlation identifier, when one exists.
619
+ * @param message - Normalized failure message for the log line and outcome.
620
+ * @param cause - Original thrown value, retained only in the log.
621
+ * @returns Normalized failure outcome carrying `message`.
622
+ */
623
+ private failure;
624
+ /**
625
+ * Logs an invocation failure line with correlation metadata.
626
+ * @param kind - Reaction kind that failed to invoke.
627
+ * @param invocationId - Runtime-minted identifier of the failed invocation.
628
+ * @param correlationId - Bus correlation identifier, when one exists.
629
+ * @param logMessage - Failure-site message for the log line.
630
+ * @param cause - Original thrown value rendered after the log line.
631
+ */
632
+ private logFailure;
633
+ /**
634
+ * Validates a complete registration batch without mutating registry state.
635
+ * @param extensionName - Owner of the proposed definitions.
636
+ * @param reactions - Definitions to validate.
637
+ * @returns Registered definitions paired with validated descriptor snapshots.
638
+ * @throws If namespace, descriptor, or kind-uniqueness invariants are violated.
639
+ */
640
+ private validateBatch;
641
+ }
642
+ //#endregion
643
+ //#region services/core/src/reaction/reaction-contribution-processor.d.ts
644
+ /** Runtime hooks used to replay contributions after registry activation. */
645
+ interface ReactionContributionProcessorOptions {
646
+ /**
647
+ * Enumerate active extensions in dependency order.
648
+ *
649
+ * The registry can be enabled after an extension contributing Reactions is
650
+ * already active, so it replays those active contributors after startup.
651
+ * @param callback - Called for each active extension and its context.
652
+ */
653
+ readonly forEachActiveExtension: (callback: (name: string, pkg: KernelMakaioExtension, ctx: KernelExtensionContext) => void) => void;
654
+ }
655
+ /**
656
+ * Processes Reaction contributions from extensions.
657
+ *
658
+ * Calls each extension's `reactions.createReactions(ctx)` factory during
659
+ * activation and registers the returned definitions with the
660
+ * {@link ReactionRegistry} under the extension name; deregisters them when the
661
+ * extension stops.
662
+ *
663
+ * Contributor activation is atomic: if `createReactions` or the registry
664
+ * replacement throws, the existing registration and its cleanup remain
665
+ * intact. Failed registry-owner replay clears its cleanup ownership because
666
+ * the coordinator destroys that registry service before a later retry.
667
+ * @param options - Runtime hooks used for late registry-owner activation.
668
+ * @returns Contribution processor that manages Reaction registration.
669
+ */
670
+ declare function createReactionContributionProcessor(options: ReactionContributionProcessorOptions): ContributionProcessor;
671
+ //#endregion
672
+ //#region services/core/src/reaction/packages.d.ts
673
+ /** Token for the Reaction registry service. */
674
+ declare const ReactionRegistryToken: _$_makaio_contracts0.ExtensionToken<ReactionRegistry>;
675
+ /** Package that starts the framework Reaction registry. */
676
+ declare const reactionRegistryPackage: MakaioNodeExtension<IMakaioBus>;
677
+ //#endregion
455
678
  //#region services/core/src/canonical-model/resolver-deps.d.ts
456
679
  /** A resolved model target from default chain resolution. */
457
680
  interface ResolvedDefaultTarget {
@@ -720,6 +943,13 @@ declare class CanonicalModelService extends BaseService {
720
943
  * MakaioExtension manifest for {@link CanonicalModelService}.
721
944
  *
722
945
  * Canonical model resolution is surface-agnostic and framework-owned.
946
+ *
947
+ * The adapter subsystem is declared because the service awaits
948
+ * `adapterSubsystem.ensureReady` in `onInit` — a hard request that fails when
949
+ * the subsystem has not started yet. That ordering was previously only an
950
+ * accident of the load order, which held until an unrelated dependency moved
951
+ * the subsystem later in the graph; declaring it makes the requirement the
952
+ * coordinator's to satisfy rather than the load list's to preserve.
723
953
  */
724
954
  declare const canonicalModelPackage: MakaioNodeExtension<IMakaioBus>;
725
955
  //#endregion
@@ -786,7 +1016,23 @@ declare const transitionPipelinePackage: MakaioNodeExtension<IMakaioBus>;
786
1016
  * @returns Model-registry package.
787
1017
  */
788
1018
  declare function createModelRegistryPackage(fetcher: IModelRegistryFetcher): MakaioNodeExtension<IMakaioBus>;
789
- /** Framework packages that are independent of host-specific factories. */
1019
+ /**
1020
+ * Framework packages that are independent of host-specific factories.
1021
+ *
1022
+ * **Independent of factories, not self-contained.** Members may declare
1023
+ * dependencies on packages a host composes from a *sibling* set, and two do
1024
+ * today: `session-client-account-linking` names `makaio.clients-core`, and
1025
+ * {@link canonicalModelPackage} names the adapter subsystem. Neither can be a
1026
+ * member — both live in packages that depend on this one, so naming them here
1027
+ * would invert the layering — which is why handing this array to a coordinator
1028
+ * on its own has never validated and is not the contract.
1029
+ *
1030
+ * The obligation that carries instead: a host composing this set composes the
1031
+ * clients set and the adapter subsystem alongside it. The node boot path does,
1032
+ * and the subsystem is pushed into the same load set immediately before these
1033
+ * packages so the ordering the canonical-model service needs is the
1034
+ * coordinator's to satisfy rather than the array order's to preserve.
1035
+ */
790
1036
  declare const frameworkCorePackages: ReadonlyArray<MakaioNodeExtension<IMakaioBus>>;
791
1037
  //#endregion
792
1038
  //#region services/core/src/namespace-catalog.d.ts
@@ -2853,6 +3099,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2853
3099
  adapterConfig?: Record<string, unknown> | undefined;
2854
3100
  adapterName?: string | undefined;
2855
3101
  adapterId?: string | undefined;
3102
+ machineId?: string | undefined;
2856
3103
  }, {
2857
3104
  [x: string]: unknown;
2858
3105
  kind: string;
@@ -2999,6 +3246,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2999
3246
  adapterConfig?: Record<string, unknown> | undefined;
3000
3247
  adapterName?: string | undefined;
3001
3248
  adapterId?: string | undefined;
3249
+ machineId?: string | undefined;
3002
3250
  }, {
3003
3251
  [x: string]: unknown;
3004
3252
  kind: string;
@@ -3141,6 +3389,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3141
3389
  adapterName: _$zod.ZodString;
3142
3390
  sessionId: _$zod.ZodString;
3143
3391
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3392
+ currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3393
+ currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
3394
+ confirmed: "confirmed";
3395
+ moved: "moved";
3396
+ inherited: "inherited";
3397
+ }>>;
3398
+ revision: _$zod.ZodOptional<_$zod.ZodNumber>;
3399
+ currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
3144
3400
  model: _$zod.ZodOptional<_$zod.ZodString>;
3145
3401
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
3146
3402
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -3161,6 +3417,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3161
3417
  status: _$zod.ZodEnum<{
3162
3418
  idle: "idle";
3163
3419
  active: "active";
3420
+ starting: "starting";
3164
3421
  dead: "dead";
3165
3422
  disposed: "disposed";
3166
3423
  }>;
@@ -3178,6 +3435,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3178
3435
  adapterName: _$zod.ZodString;
3179
3436
  sessionId: _$zod.ZodString;
3180
3437
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3438
+ currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3439
+ currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
3440
+ confirmed: "confirmed";
3441
+ moved: "moved";
3442
+ inherited: "inherited";
3443
+ }>>;
3444
+ revision: _$zod.ZodOptional<_$zod.ZodNumber>;
3445
+ currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
3181
3446
  model: _$zod.ZodOptional<_$zod.ZodString>;
3182
3447
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
3183
3448
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -3198,6 +3463,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3198
3463
  status: _$zod.ZodEnum<{
3199
3464
  idle: "idle";
3200
3465
  active: "active";
3466
+ starting: "starting";
3201
3467
  dead: "dead";
3202
3468
  disposed: "disposed";
3203
3469
  }>;
@@ -3224,6 +3490,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3224
3490
  all: "all";
3225
3491
  idle: "idle";
3226
3492
  active: "active";
3493
+ starting: "starting";
3227
3494
  dead: "dead";
3228
3495
  disposed: "disposed";
3229
3496
  }>>;
@@ -3235,6 +3502,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3235
3502
  adapterName: _$zod.ZodString;
3236
3503
  sessionId: _$zod.ZodString;
3237
3504
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3505
+ currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3506
+ currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
3507
+ confirmed: "confirmed";
3508
+ moved: "moved";
3509
+ inherited: "inherited";
3510
+ }>>;
3511
+ revision: _$zod.ZodOptional<_$zod.ZodNumber>;
3512
+ currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
3238
3513
  model: _$zod.ZodOptional<_$zod.ZodString>;
3239
3514
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
3240
3515
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -3255,6 +3530,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3255
3530
  status: _$zod.ZodEnum<{
3256
3531
  idle: "idle";
3257
3532
  active: "active";
3533
+ starting: "starting";
3258
3534
  dead: "dead";
3259
3535
  disposed: "disposed";
3260
3536
  }>;
@@ -3274,6 +3550,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3274
3550
  adapterName: _$zod.ZodString;
3275
3551
  sessionId: _$zod.ZodString;
3276
3552
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3553
+ currentAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3554
+ currentAdapterSessionIdState: _$zod.ZodOptional<_$zod.ZodEnum<{
3555
+ confirmed: "confirmed";
3556
+ moved: "moved";
3557
+ inherited: "inherited";
3558
+ }>>;
3559
+ revision: _$zod.ZodOptional<_$zod.ZodNumber>;
3560
+ currencyFence: _$zod.ZodOptional<_$zod.ZodNumber>;
3277
3561
  model: _$zod.ZodOptional<_$zod.ZodString>;
3278
3562
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
3279
3563
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -3294,6 +3578,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3294
3578
  status: _$zod.ZodEnum<{
3295
3579
  idle: "idle";
3296
3580
  active: "active";
3581
+ starting: "starting";
3297
3582
  dead: "dead";
3298
3583
  disposed: "disposed";
3299
3584
  }>;
@@ -3308,12 +3593,21 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3308
3593
  status: _$zod.ZodEnum<{
3309
3594
  idle: "idle";
3310
3595
  active: "active";
3596
+ starting: "starting";
3311
3597
  dead: "dead";
3312
3598
  disposed: "disposed";
3313
3599
  }>;
3600
+ expectedStatus: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodEnum<{
3601
+ idle: "idle";
3602
+ active: "active";
3603
+ starting: "starting";
3604
+ dead: "dead";
3605
+ disposed: "disposed";
3606
+ }>>>;
3314
3607
  }, _$zod_v4_core0.$strip>;
3315
3608
  response: _$zod.ZodObject<{
3316
3609
  success: _$zod.ZodBoolean;
3610
+ transitioned: _$zod.ZodBoolean;
3317
3611
  }, _$zod_v4_core0.$strip>;
3318
3612
  };
3319
3613
  updateActivity: {
@@ -3440,6 +3734,78 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3440
3734
  }, {}, {
3441
3735
  length: number | undefined;
3442
3736
  }>;
3737
+ currentAdapterSessionId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3738
+ name: "current_adapter_session_id";
3739
+ tableName: "agents";
3740
+ dataType: "string";
3741
+ columnType: "SQLiteText";
3742
+ data: string;
3743
+ driverParam: string;
3744
+ notNull: false;
3745
+ hasDefault: false;
3746
+ isPrimaryKey: false;
3747
+ isAutoincrement: false;
3748
+ hasRuntimeDefault: false;
3749
+ enumValues: [string, ...string[]];
3750
+ baseColumn: never;
3751
+ identity: undefined;
3752
+ generated: undefined;
3753
+ }, {}, {
3754
+ length: number | undefined;
3755
+ }>;
3756
+ currentAdapterSessionIdState: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3757
+ name: "current_adapter_session_id_state";
3758
+ tableName: "agents";
3759
+ dataType: "string";
3760
+ columnType: "SQLiteText";
3761
+ data: "confirmed" | "moved" | "inherited";
3762
+ driverParam: string;
3763
+ notNull: true;
3764
+ hasDefault: true;
3765
+ isPrimaryKey: false;
3766
+ isAutoincrement: false;
3767
+ hasRuntimeDefault: false;
3768
+ enumValues: ["inherited", "moved", "confirmed"];
3769
+ baseColumn: never;
3770
+ identity: undefined;
3771
+ generated: undefined;
3772
+ }, {}, {
3773
+ length: number | undefined;
3774
+ }>;
3775
+ revision: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3776
+ name: string;
3777
+ tableName: "agents";
3778
+ dataType: "number";
3779
+ columnType: "SQLiteInteger";
3780
+ data: number;
3781
+ driverParam: number;
3782
+ notNull: true;
3783
+ hasDefault: true;
3784
+ isPrimaryKey: false;
3785
+ isAutoincrement: false;
3786
+ hasRuntimeDefault: false;
3787
+ enumValues: undefined;
3788
+ baseColumn: never;
3789
+ identity: undefined;
3790
+ generated: undefined;
3791
+ }, {}, {}>;
3792
+ currencyFence: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3793
+ name: string;
3794
+ tableName: "agents";
3795
+ dataType: "number";
3796
+ columnType: "SQLiteInteger";
3797
+ data: number;
3798
+ driverParam: number;
3799
+ notNull: true;
3800
+ hasDefault: true;
3801
+ isPrimaryKey: false;
3802
+ isAutoincrement: false;
3803
+ hasRuntimeDefault: false;
3804
+ enumValues: undefined;
3805
+ baseColumn: never;
3806
+ identity: undefined;
3807
+ generated: undefined;
3808
+ }, {}, {}>;
3443
3809
  model: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
3444
3810
  name: "model";
3445
3811
  tableName: "agents";
@@ -3635,14 +4001,14 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
3635
4001
  tableName: "agents";
3636
4002
  dataType: "string";
3637
4003
  columnType: "SQLiteText";
3638
- data: "idle" | "active" | "dead" | "disposed";
4004
+ data: "idle" | "active" | "starting" | "dead" | "disposed";
3639
4005
  driverParam: string;
3640
4006
  notNull: true;
3641
4007
  hasDefault: false;
3642
4008
  isPrimaryKey: false;
3643
4009
  isAutoincrement: false;
3644
4010
  hasRuntimeDefault: false;
3645
- enumValues: ["idle", "active", "dead", "disposed"];
4011
+ enumValues: ["starting", "idle", "active", "dead", "disposed"];
3646
4012
  baseColumn: never;
3647
4013
  identity: undefined;
3648
4014
  generated: undefined;
@@ -4047,9 +4413,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4047
4413
  changed: _$zod.ZodObject<{
4048
4414
  ruleId: _$zod.ZodString;
4049
4415
  changeType: _$zod.ZodEnum<{
4416
+ updated: "updated";
4050
4417
  created: "created";
4051
4418
  deleted: "deleted";
4052
- updated: "updated";
4053
4419
  }>;
4054
4420
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
4055
4421
  scope: _$zod.ZodEnum<{
@@ -4678,18 +5044,18 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4678
5044
  changed: _$zod.ZodObject<{
4679
5045
  path: _$zod.ZodString;
4680
5046
  kind: _$zod.ZodEnum<{
5047
+ change: "change";
4681
5048
  create: "create";
4682
5049
  delete: "delete";
4683
- change: "change";
4684
5050
  }>;
4685
5051
  }, _$zod_v4_core0.$strip>;
4686
5052
  batch: _$zod.ZodObject<{
4687
5053
  changes: _$zod.ZodArray<_$zod.ZodObject<{
4688
5054
  path: _$zod.ZodString;
4689
5055
  kind: _$zod.ZodEnum<{
5056
+ change: "change";
4690
5057
  create: "create";
4691
5058
  delete: "delete";
4692
- change: "change";
4693
5059
  }>;
4694
5060
  }, _$zod_v4_core0.$strip>>;
4695
5061
  }, _$zod_v4_core0.$strip>;
@@ -4881,7 +5247,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4881
5247
  name: _$zod.ZodString;
4882
5248
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
4883
5249
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4884
- credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4885
5250
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
4886
5251
  "file.read": "file.read";
4887
5252
  "file.write": "file.write";
@@ -4903,6 +5268,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4903
5268
  "always-ask": "always-ask";
4904
5269
  "full-access": "full-access";
4905
5270
  }>>>;
5271
+ credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4906
5272
  approvalPolicy: _$zod.ZodEnum<{
4907
5273
  reject: "reject";
4908
5274
  "always-ask": "always-ask";
@@ -7249,8 +7615,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7249
7615
  model: _$zod.ZodOptional<_$zod.ZodString>;
7250
7616
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
7251
7617
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
7252
- fork: "fork";
7253
7618
  fresh: "fresh";
7619
+ fork: "fork";
7254
7620
  }>>;
7255
7621
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7256
7622
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -7265,16 +7631,16 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7265
7631
  request: _$zod.ZodObject<{
7266
7632
  name: _$zod.ZodString;
7267
7633
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
7268
- providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
7269
7634
  adapterName: _$zod.ZodString;
7635
+ providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
7270
7636
  model: _$zod.ZodOptional<_$zod.ZodString>;
7271
7637
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
7272
7638
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7273
7639
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7274
7640
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7275
7641
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
7276
- fork: "fork";
7277
7642
  fresh: "fresh";
7643
+ fork: "fork";
7278
7644
  }>>;
7279
7645
  }, _$zod_v4_core0.$strip>;
7280
7646
  response: _$zod.ZodObject<{
@@ -7290,8 +7656,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7290
7656
  model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
7291
7657
  systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
7292
7658
  contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
7293
- fork: "fork";
7294
7659
  fresh: "fresh";
7660
+ fork: "fork";
7295
7661
  }>>>;
7296
7662
  allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
7297
7663
  disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
@@ -7315,4 +7681,4 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7315
7681
  };
7316
7682
  }>];
7317
7683
  //#endregion
7318
- export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, type ArtifactContextKindRegistry, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerLocalWorkflowSpawnRequest, ContainerLocalWorkflowSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, EmbeddingIndexManager, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, ProviderContextActivationError, type ProviderContextActivationErrorCode, type ProviderModelOverride, ProviderModelOverrideSchema, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveArtifactContextOptions, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, RuntimeProviderContextResolutionError, type RuntimeProviderContextResolutionErrorCode, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentFailureFinalizationError, type SubagentFailureFinalizationErrorCode, SubagentManager, SubagentService, SubagentServiceToken, type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema, ToolApprovalService, ToolApprovalToken, ToolRegistry, type ToolRegistryOptions, ToolRegistryToken, type ToolsWithToolsetsResult, type ToolsetInfo, type ToolsetPolicy, type ToolsetPolicyProvider, type TrackOptions, type TrackedSubagent, TransitionActionRegistry, TransitionPipelineService, TransitionPipelineToken, TransitionRuleRegistry, type TrayMenuEntry, TrayMenuEntrySchema, type TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, type TrayMenuItemClicked, TrayMenuItemClickedSchema, type TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects, TrayMenuToken, Turn, type TurnConfig, type TurnContext, TurnContextEnricher, type TurnPairStateChange, type TurnPairTerminalOutcome, type TurnResult, TurnStorageNamespace, TurnStorageSubjects, WORKFLOW_START_ACTION_TYPE, WorkflowBlockRegistry, WorkflowBlockRegistryToken, actionRegistry, activateProviderContext, agents, artifactLifecycleHookRegistryPackage, artifactSchemaRegistryPackage, assembleForkContext, buildDeterministicAdapterId, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, canonicalModelPackage, capabilityPackage, createArtifactKindContributionProcessor, createArtifactLifecycleHookContributionProcessor, createFacetNamespaceContributionProcessor, createModelRegistryPackage, createSessionExtensionContext, createSubagentServicePackage, createToolContributionProcessor, createTransitionContributionProcessor, createWorkflowBlockContributionProcessor, ensureAgentCwd, ensureAgentModel, extractTextContent, facetNamespaceRegistryPackage, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, frameworkCorePackages, getFullConversation, getOrCreateSession, importCursors, importCursorsDual, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, mergeModelMetadata, messageRouting, messageRoutingDual, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, recoverAgent, registerAbandonHandler, registerAdapterRuntimeIdentityHandlers, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveArtifactContext, resolveDeterministicAdapterId, resolveExecutionTarget, resolveModelCapabilities, resolveRuntimeProviderContext, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionBridgePackage, sessionEvents, sessionEventsDual, sessionOrchestratorPackage, sessionPackage, sessionStoragePackage, sessions, subagentServicePackage, toolApprovalPackage, toolRegistryPackage, transitionPipelinePackage, trayMenuPackage, turns, turnsDual, verifyAndRecoverAgents, workflowBlockRegistryPackage };
7684
+ export { AdapterIdentityRegistry, AdapterRegistry, AdapterRuntimeNamespace, AdapterRuntimeSchemas, AdapterRuntimeSubjects, type AgentContextState, type AgentInstanceStatus, AgentInstanceStatusSchema, type AgentRecoveryOutcome, AgentRuntimeNamespace, AgentRuntimeSchemas, type AgentRuntimeSelection, AgentRuntimeSelectionSchema, AgentRuntimeSubjects, AgentStorageNamespace, AgentStorageSubjects, type AmbiguousMatch, type ArtifactContextKindRegistry, ArtifactLifecycleHookRegistry, ArtifactLifecycleHookRegistryToken, ArtifactLifecycleHookRejectedError, ArtifactSchemaRegistry, ArtifactSchemaRegistryToken, type AwaitResult, type BugEntry, BugEntrySchema, type BuildContextOptions, CONNECTOR_SWAP_DEFAULT_PIPELINE, CachedRegistryFetcher, CanonicalModelResolutionError, type CanonicalModelResolutionErrorCode, CanonicalModelResolver, type CanonicalModelResolverDeps, CanonicalModelService, CapabilityService, CapabilityToken, type CodebaseChangedEvent, CodebaseChangedEventSchema, CodebaseNamespace, CodebaseSchemas, CodebaseSubjects, type CompressRequest, CompressRequestSchema, type CompressResponse, CompressResponseSchema, type CompressionEvent, CompressionEventSchema, CompressionNamespace, CompressionSchemas, CompressionSubjects, type ContainerCreated, ContainerCreatedSchema, type ContainerDestroyed, ContainerDestroyedSchema, ContainerIsolatedExecutionTargetSchema, type ContainerIsolatedSpawnRequest, ContainerIsolatedSpawnRequestSchema, ContainerLocalExecutionTargetSchema, type ContainerLocalSpawnRequest, ContainerLocalSpawnRequestSchema, type ContainerLocalWorkflowSpawnRequest, ContainerLocalWorkflowSpawnRequestSchema, type ContainerRuntime, ContainerRuntimeSchema, ContainerSpawnNamespace, ContainerSpawnSubjects, type ContainerStarted, ContainerStartedSchema, type ContainerState, ContainerStateSchema, type ContainerStopped, ContainerStoppedSchema, type ContextAssemblyResult, ContextWindowTracker, type ContextWindowTrackerConfig, type DefaultModelResolution, DockerNamespace, DockerSubjects, EmbeddingIndexManager, type EventTransform, type ExecutionTarget, type ExecutionTargetInput, ExecutionTargetInputSchema, type ExecutionTargetListQuery, ExecutionTargetListQuerySchema, ExecutionTargetNamespace, type ExecutionTargetResolveRequest, ExecutionTargetResolveRequestSchema, ExecutionTargetSchema, ExecutionTargetSchemas, ExecutionTargetSubjects, type ExecutionTargetType, ExecutionTargetTypeSchema, type ExtractedContext, ExtractedContextSchema, FacetNamespaceRegistry, FacetNamespaceRegistryToken, FallbackRegistryFetcher, type FallbackRuntimeOptions, FrameworkServicesCoreNamespaces, type IModelRegistryCache, type IModelRegistryFetcher, type ISessionOrchestrator, type InputResolver, type InsertMessage, type InsertMessageRouting, type InsertSessionEvent, type InsertTurn, type InternalPendingRequest, type ListToolsFilter, LocalExecutionTargetSchema, MakaioSession, type MakaioSessionConfig, MakaioSessionService, MessageRoutingNamespace, MessageRoutingSubjects, MessageStorageNamespace, MessageStorageSubjects, type ModelRegistry, type ModelRegistryCheckModelInProvidersRequest, type ModelRegistryCheckModelInProvidersResponse, type ModelRegistryGetForProviderRequest, type ModelRegistryGetForProviderResponse, type ModelRegistryGetLabModelsRequest, type ModelRegistryGetLabModelsResponse, type ModelRegistryGetProviderModelsRequest, type ModelRegistryGetProviderModelsResponse, ModelRegistryNamespace, ModelRegistryProviderNotFoundError, type ModelRegistryRefreshRequest, type ModelRegistryRefreshResponse, ModelRegistrySchema, ModelRegistrySchemas, ModelRegistryService, type ModelRegistryServiceOptions, ModelRegistrySubjects, ModelRegistryToken, type PreferenceItem, PreferenceItemSchema, type PreferenceKey, PreferenceKeySchema, PreferenceValueSchema, PreferencesNamespace, PreferencesSchemas, PreferencesSubjects, ProviderContextActivationError, type ProviderContextActivationErrorCode, type ProviderModelOverride, ProviderModelOverrideSchema, type ReactionContributionProcessorOptions, type ReactionInvocationInput, ReactionRegistry, ReactionRegistryToken, type RecoveryConfig, type RegisteredAdapterRuntimeIdentityHandlers, type ResolveArtifactContextOptions, type ResolveIdRequest, ResolveIdRequestSchema, type ResolveIdResponse, ResolveIdResponseSchema, type ResolveNameRequest, ResolveNameRequestSchema, type ResolveNameResponse, ResolveNameResponseSchema, type ResolvedDefaultTarget, type ResolvedSelection, type RunAfterInput, type RunBeforeInput, type RunBeforeResult, RuntimeProviderContextResolutionError, type RuntimeProviderContextResolutionErrorCode, type SearchFilters, type SearchSessionRow, type SelectMessage, type SelectMessageRouting, type SelectSessionEvent, type SelectTurn, SessionBridge, SessionBridgeToken, type SessionContextWindowState, SessionEventStorageNamespace, SessionEventStorageSubjects, SessionExtensionContextImpl, SessionOrchestrator, SessionOrchestratorToken, type SessionPreviewMaps, SessionStartError, type SessionStorageMemoryState, SessionStorageNamespace, SessionStorageSubjects, SessionStorageToken, SessionToken, SessionTurnManager, type SpawnOptions, type SpawnRequest, SpawnRequestSchema, type SpawnResponse, SpawnResponseSchema, type StartTurnOptions, type StatusRequest, StatusRequestSchema, type StatusResponse, StatusResponseSchema, type StopRequest, StopRequestSchema, type StopResponse, StopResponseSchema, SubagentFailureFinalizationError, type SubagentFailureFinalizationErrorCode, SubagentManager, SubagentService, SubagentServiceToken, type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema, type TechnicalDetails, TechnicalDetailsSchema, type TodoEntry, TodoEntrySchema, ToolApprovalService, ToolApprovalToken, ToolRegistry, type ToolRegistryOptions, ToolRegistryToken, type ToolsWithToolsetsResult, type ToolsetInfo, type ToolsetPolicy, type ToolsetPolicyProvider, type TrackOptions, type TrackedSubagent, TransitionActionRegistry, TransitionPipelineService, TransitionPipelineToken, TransitionRuleRegistry, type TrayMenuEntry, TrayMenuEntrySchema, type TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, type TrayMenuItemClicked, TrayMenuItemClickedSchema, type TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects, TrayMenuToken, Turn, type TurnConfig, type TurnContext, TurnContextEnricher, type TurnPairStateChange, type TurnPairTerminalOutcome, type TurnResult, TurnStorageNamespace, TurnStorageSubjects, type VerifiedAgents, WORKFLOW_START_ACTION_TYPE, WorkflowBlockRegistry, WorkflowBlockRegistryToken, actionRegistry, activateProviderContext, agents, artifactLifecycleHookRegistryPackage, artifactSchemaRegistryPackage, assembleForkContext, buildDeterministicAdapterId, buildRecoveryContext, buildRecoveryContextWithPipeline, buildSessionContext, buildTurnInitiator, canonicalModelPackage, capabilityPackage, createArtifactKindContributionProcessor, createArtifactLifecycleHookContributionProcessor, createFacetNamespaceContributionProcessor, createModelRegistryPackage, createReactionContributionProcessor, createSessionExtensionContext, createSessionStorageMemoryState, createSubagentServicePackage, createToolContributionProcessor, createTransitionContributionProcessor, createWorkflowBlockContributionProcessor, ensureAgentCwd, ensureAgentModel, extractTextContent, facetNamespaceRegistryPackage, fetchAgentsBySession, fetchMessageCountsBySession, fetchPreviewBySession, fetchSessionPreviewMaps, findTurnByAgent, frameworkCorePackages, getFullConversation, getOrCreateSession, importCursors, kindToBranchKind, mapAgentsBySession, mapRowToSession, mapToSession, mergeModelMetadata, messageRouting, messages, normalizeSelectionString, normalizeToBlocks, parseForkTransforms, pickFallbackRuntimeOptions, reactionRegistryPackage, recoverAgent, registerAbandonHandler, registerAdapterRuntimeIdentityHandlers, registerAttachHandler, registerBuiltInActions, registerCompressHandler, registerCompressLineageResolver, registerCoreSessionServiceHandlers, registerDrizzleAgentStorage, registerDrizzleImportCursorStorage, registerDrizzleMessageRoutingStorage, registerDrizzleMessageStorage, registerDrizzleSessionEventStorage, registerDrizzleSessionOwnershipStorage, registerDrizzleSessionStorage, registerDrizzleTurnStorage, registerForkHandler, registerFtsSearchHandler, registerGetStatusCountsHandler, registerListActionsHandler, registerMemoryAgentStorage, registerMemoryMessageStorage, registerMemorySessionEventStorage, registerMemorySessionOwnershipStorage, registerMemorySessionStorage, registerMemoryTurnStorage, registerMergeHandler, registerParentResolver, registerResumeHandler, registerSpawningToolCallResolver, resetBuiltInActionsRegistration, resolveAdapterId, resolveAdapterNameById, resolveArtifactContext, resolveDeterministicAdapterId, resolveExecutionTarget, resolveModelCapabilities, resolveRuntimeProviderContext, resolveTargetAgents, routeToAgents, routeToAgentsCore, sessionBridgePackage, sessionEvents, sessionOrchestratorPackage, sessionPackage, sessionStoragePackage, sessions, subagentServicePackage, toolApprovalPackage, toolRegistryPackage, transitionPipelinePackage, trayMenuPackage, turns, verifyAndRecoverAgents, workflowBlockRegistryPackage };