@makaio/framework 1.0.0-dev-1784889676396 → 1.0.0-dev-1785344643235

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 (473) hide show
  1. package/dist/.makaio-build.json +3 -2
  2. package/dist/{account-identity-CP4DC0DL.mjs → account-identity-DFx8pwKL.mjs} +1 -1
  3. package/dist/{adapter-CYobxqN_.mjs → adapter-D5c5LrPN.mjs} +1 -1
  4. package/dist/adapters/claude/index.d.mts +204 -27
  5. package/dist/adapters/claude/index.mjs +3 -3
  6. package/dist/adapters/config/index.d.mts +2 -2
  7. package/dist/adapters/config/index.mjs +1 -1
  8. package/dist/adapters/index.d.mts +49 -4
  9. package/dist/adapters/index.mjs +3 -3
  10. package/dist/adapters/node.d.mts +1 -1
  11. package/dist/adapters/node.mjs +1 -1
  12. package/dist/{artifact-DCkizHkS.mjs → artifact-DGiXqb11.mjs} +1 -1
  13. package/dist/attempt-record-codec-CqO1_XnE.mjs +1 -0
  14. package/dist/{auth-C3NOWqTU.mjs → auth-DGEdiHF6.mjs} +1 -1
  15. package/dist/authority-state-bootstrap-GPL_tqaT.mjs +1 -0
  16. package/dist/bus/index.mjs +1 -1
  17. package/dist/{canonical-model-EMRYCVjX.mjs → canonical-model-BAytQ4NV.mjs} +1 -1
  18. package/dist/capabilities-BQEp34ir.mjs +1 -0
  19. package/dist/{client-OYk0Ttck.mjs → client-DbS847wW.mjs} +1 -1
  20. package/dist/clients/index.d.mts +5 -3
  21. package/dist/clients/index.mjs +1 -1
  22. package/dist/clients/managed-install.d.mts +1 -1
  23. package/dist/clients/managed-install.mjs +1 -1
  24. package/dist/{compression-CZ_6fYq8.mjs → compression-74fFeBha.mjs} +1 -1
  25. package/dist/{config-namespace-DTA6EQL8.mjs → config-namespace-TVX-hG4I.mjs} +1 -1
  26. package/dist/{context-resolution-B9ANWbG0.d.mts → context-resolution-BQBk4Ish.d.mts} +6 -4
  27. package/dist/contracts/adapter/index.d.mts +2 -2
  28. package/dist/contracts/adapter/index.mjs +1 -1
  29. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  30. package/dist/contracts/artifact/index.d.mts +2 -2
  31. package/dist/contracts/artifact/index.mjs +1 -1
  32. package/dist/contracts/auth/index.d.mts +2 -2
  33. package/dist/contracts/auth/index.mjs +1 -1
  34. package/dist/contracts/canonical-model/index.d.mts +1 -1
  35. package/dist/contracts/canonical-model/index.mjs +1 -1
  36. package/dist/contracts/capabilities/index.d.mts +2 -0
  37. package/dist/contracts/capabilities/index.mjs +1 -0
  38. package/dist/contracts/client/index.d.mts +2 -2
  39. package/dist/contracts/client/index.mjs +1 -1
  40. package/dist/contracts/common/index.d.mts +1 -1
  41. package/dist/contracts/config/index.d.mts +24 -2
  42. package/dist/contracts/config/index.mjs +1 -1
  43. package/dist/contracts/extension/index.d.mts +4 -4
  44. package/dist/contracts/extension/index.mjs +1 -1
  45. package/dist/contracts/facet/index.d.mts +1 -1
  46. package/dist/contracts/facet/index.mjs +1 -1
  47. package/dist/contracts/harness/index.d.mts +1 -1
  48. package/dist/contracts/harness/index.mjs +1 -1
  49. package/dist/contracts/host/index.d.mts +1 -1
  50. package/dist/contracts/host/index.mjs +1 -1
  51. package/dist/contracts/index.d.mts +1682 -9431
  52. package/dist/contracts/index.mjs +1 -1
  53. package/dist/contracts/materialization/index.d.mts +3 -3
  54. package/dist/contracts/materialization/index.mjs +1 -1
  55. package/dist/contracts/model-registry/index.d.mts +1 -1
  56. package/dist/contracts/model-registry/index.mjs +1 -1
  57. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  58. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  59. package/dist/contracts/platform/index.d.mts +1 -1
  60. package/dist/contracts/platform/index.mjs +1 -1
  61. package/dist/contracts/provider/index.d.mts +2 -2
  62. package/dist/contracts/provider/index.mjs +1 -1
  63. package/dist/contracts/session/index.d.mts +2 -2
  64. package/dist/contracts/session/index.mjs +1 -1
  65. package/dist/contracts/shared/index.d.mts +2 -2
  66. package/dist/contracts/shared/index.mjs +1 -1
  67. package/dist/contracts/skill/index.d.mts +1 -1
  68. package/dist/contracts/skill/index.mjs +1 -1
  69. package/dist/contracts/telemetry/index.d.mts +1 -1
  70. package/dist/contracts/telemetry/index.mjs +1 -1
  71. package/dist/contracts/timeout/index.d.mts +1 -1
  72. package/dist/contracts/timeout/index.mjs +1 -1
  73. package/dist/contracts/toast/index.mjs +1 -1
  74. package/dist/contracts/variant/index.d.mts +1 -1
  75. package/dist/contracts/variant/index.mjs +1 -1
  76. package/dist/contracts/worker-node/index.d.mts +2 -0
  77. package/dist/contracts/worker-node/index.mjs +1 -0
  78. package/dist/contracts/workflow/index.d.mts +3 -3
  79. package/dist/contracts/workflow/index.mjs +1 -1
  80. package/dist/{definition-K3m51lgO.mjs → definition-CJfiv8xm.mjs} +1 -1
  81. package/dist/{detached-extension-handle-BsywhHfk.mjs → detached-extension-handle-Ddfquy5_.mjs} +1 -1
  82. package/dist/drizzle/0030_remote-worker-execution.sql +6 -0
  83. package/dist/drizzle/meta/_journal.json +7 -0
  84. package/dist/execution-attempt-repository-DWXKY41_.d.mts +1056 -0
  85. package/dist/execution-target-Cf645pDj.mjs +1 -0
  86. package/dist/{extension-Cgg45Xk1.mjs → extension-DCA4pYrY.mjs} +1 -1
  87. package/dist/extension-hjOPs10e.mjs +1 -0
  88. package/dist/{filesystem-service-Cupz_Z7S.mjs → filesystem-service-DlP2HfDg.mjs} +1 -1
  89. package/dist/framework-packages-C3RWfJDk.mjs +1 -0
  90. package/dist/git/index.mjs +1 -1
  91. package/dist/{globby-DWp7V-P2.mjs → globby-1yCVCk8s.mjs} +1 -1
  92. package/dist/{handlers-cMBmexF4.mjs → handlers-CfnLyLfE.mjs} +1 -1
  93. package/dist/{harness-DflvHAGV.mjs → harness-DpwsFsE7.mjs} +1 -1
  94. package/dist/{index-BhXCCgJV2.d.mts → index-4fE_hUP02.d.mts} +1 -1
  95. package/dist/{index-BMx59xb7.d.mts → index-8gKx-OVP.d.mts} +13 -7
  96. package/dist/index-B0Kf_OWi.d.mts +267 -0
  97. package/dist/{index-DRiTICBU.d.mts → index-BAXkicoQ.d.mts} +1 -1
  98. package/dist/{index-CnXXq6sW.d.mts → index-BC79QrGC.d.mts} +10 -10
  99. package/dist/{index-CvmWRumB.d.mts → index-BQLUVXIB.d.mts} +1024 -888
  100. package/dist/{index-CKO9S6oo.d.mts → index-BXD3kEs_.d.mts} +28 -10
  101. package/dist/{index-DUf47Jn_.d.mts → index-BskPjMet.d.mts} +8 -8
  102. package/dist/{index-CjyfQ_vQ.d.mts → index-CL-0NeQW.d.mts} +8 -5
  103. package/dist/{index-Cw7_69gV.d.mts → index-CRvpVIqA.d.mts} +1 -1
  104. package/dist/{index-7FjcxGlK.d.mts → index-CUvNKYkV.d.mts} +1 -1
  105. package/dist/{index-CtUTCAJ6.d.mts → index-CVaRZoiu.d.mts} +4 -4
  106. package/dist/{index-Cw84_Dqi.d.mts → index-CnMu8BQl.d.mts} +4 -4
  107. package/dist/{index-DaMfTvfz.d.mts → index-DA9g2A5P.d.mts} +1 -1
  108. package/dist/{index-Bi5jFT9S.d.mts → index-DJAmSnuh.d.mts} +12 -12
  109. package/dist/{index-pjATMrvJ.d.mts → index-DkiTJM5p.d.mts} +693 -31
  110. package/dist/{index-jbgHR5J2.d.mts → index-GHASUiem.d.mts} +1 -1
  111. package/dist/{index-BDDbcWNI.d.mts → index-HsTxm-R3.d.mts} +3 -3
  112. package/dist/{index-Bs3CXR232.d.mts → index-I5YG-qrb2.d.mts} +6 -6
  113. package/dist/{index-0Ju2i8gV.d.mts → index-SsBHjUqA.d.mts} +204 -165
  114. package/dist/index-XZyMxxnU.d.mts +1602 -0
  115. package/dist/{index-dkvGHN10.d.mts → index-brqfk9JQ.d.mts} +6 -6
  116. package/dist/{index-D43lQCHs.d.mts → index-q0Tiqems.d.mts} +131 -131
  117. package/dist/index-w_FmghjT.d.mts +7295 -0
  118. package/dist/kernel/cli/index.d.mts +2 -2
  119. package/dist/kernel/cli/index.mjs +1 -1
  120. package/dist/kernel/cli/register.d.mts +1 -1
  121. package/dist/kernel/cli/register.mjs +1 -1
  122. package/dist/kernel/cli/schemas.mjs +1 -1
  123. package/dist/kernel/extension/index.d.mts +1 -1
  124. package/dist/kernel/extension/index.mjs +1 -1
  125. package/dist/kernel/index.d.mts +14 -8
  126. package/dist/kernel/index.mjs +1 -1
  127. package/dist/kernel/namespace/index.d.mts +1 -1
  128. package/dist/kernel/namespace/index.mjs +1 -1
  129. package/dist/kernel/observability/index.d.mts +1 -1
  130. package/dist/kernel/observability/index.mjs +1 -1
  131. package/dist/kernel/providers/index.d.mts +1 -1
  132. package/dist/kernel/providers/index.mjs +1 -1
  133. package/dist/kernel/window/index.d.mts +1 -1
  134. package/dist/kernel/window/index.mjs +1 -1
  135. package/dist/{lib-BeMM738r.mjs → lib-C7-s68uf.mjs} +1 -1
  136. package/dist/{lib-B7TpTzkG.mjs → lib-DErgth_E.mjs} +2 -2
  137. package/dist/{load-extensions-BLdG90Zi.d.mts → load-extensions-BxsDB87B.d.mts} +1 -1
  138. package/dist/{load-extensions-CUmFCcYi.mjs → load-extensions-D0DfjYLC.mjs} +1 -1
  139. package/dist/{materialization-s8eR1eQ4.mjs → materialization-Jd198K3y.mjs} +1 -1
  140. package/dist/mcp-http-server/index.d.mts +305 -79
  141. package/dist/mcp-http-server/index.mjs +4 -4
  142. package/dist/model-BGgVmRnN.mjs +1 -0
  143. package/dist/modes-BheyN7SS.mjs +1 -0
  144. package/dist/{namespace-DwQtzlY-.mjs → namespace-BqxtpNAn.mjs} +1 -1
  145. package/dist/{namespace-BHliaabz.d.mts → namespace-DBm9K23m.d.mts} +6 -6
  146. package/dist/{namespace-zOfq1Uhn.d.mts → namespace-DI4Yx_xu.d.mts} +27 -27
  147. package/dist/namespace-DJfUADSV.mjs +1 -0
  148. package/dist/{namespace-BphMM6S82.d.mts → namespace-DPgxPa8m2.d.mts} +1 -1
  149. package/dist/{namespace-Bd49QmzS.d.mts → namespace-DWCEo-9M.d.mts} +0 -60
  150. package/dist/{namespace-CriPb5wY.d.mts → namespace-jPUGV-b2.d.mts} +42 -42
  151. package/dist/{native-session-supervisor-Bgz-Q1WH.mjs → native-session-supervisor-DRx0MX-d.mjs} +1 -1
  152. package/dist/node/bus-server/index.d.mts +1 -1
  153. package/dist/node/bus-server/index.mjs +1 -1
  154. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  155. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  156. package/dist/node/transports/index.d.mts +81 -9
  157. package/dist/node/transports/index.mjs +2 -2
  158. package/dist/{orchestrator-shared-CY7Tu7kZ.mjs → orchestrator-shared-BxmHCPvx.mjs} +1 -1
  159. package/dist/package-CNUPPcU1.mjs +7 -0
  160. package/dist/package-DWMxGfzK.d.mts +827 -0
  161. package/dist/{package-DKnzOvoR.mjs → package-Dft_RItb.mjs} +1 -1
  162. package/dist/package.json +1 -1
  163. package/dist/{packages-zDnokBpl.mjs → packages-DtEEP0Vt.mjs} +1 -1
  164. package/dist/{profile-BRi6K6am.mjs → profile-BTAI31Nt.mjs} +1 -1
  165. package/dist/{provider-context-DOsjOjiR.mjs → provider-context-Dq53Cgzz.mjs} +1 -1
  166. package/dist/{provider-context-BYkMl--1.mjs → provider-context-PZIQWcqQ.mjs} +1 -1
  167. package/dist/provider-operation-Cxoe2SUr.d.mts +207 -0
  168. package/dist/providers/index.mjs +1 -1
  169. package/dist/{registry-Dw6l7k3e.mjs → registry-wfF2uTty.mjs} +29 -29
  170. package/dist/{resolved-O2XXjTeu.mjs → resolved-DZgqql2Z.mjs} +1 -1
  171. package/dist/rules/index.d.mts +1 -1
  172. package/dist/rules/index.mjs +1 -1
  173. package/dist/rules/schemas.d.mts +1 -1
  174. package/dist/runtime-bun/index.mjs +1 -1
  175. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  176. package/dist/runtime-node/extension-validation.d.mts +1 -1
  177. package/dist/runtime-node/extension-validation.mjs +1 -1
  178. package/dist/runtime-node/index.d.mts +4 -4
  179. package/dist/runtime-node/index.mjs +24 -24
  180. package/dist/runtime-node/makaio-config.d.mts +1 -1
  181. package/dist/runtime-node/makaio-config.mjs +1 -1
  182. package/dist/runtime-node/static/model-registry.yaml +348 -0
  183. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  184. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  185. package/dist/runtime-node/workflow-worker/worker-entry.d.mts +7 -4
  186. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  187. package/dist/{schema-BO9TgmOs.d.mts → schema-Bwr_NrOS.d.mts} +2 -2
  188. package/dist/{schema-BI0aCHvV.mjs → schema-Dd-e89MO.mjs} +1 -1
  189. package/dist/{schemas-B5tMYfhC.d.mts → schemas-C4yUXs4G.d.mts} +4 -4
  190. package/dist/schemas-CRB2O5zo.mjs +1 -0
  191. package/dist/{schemas-Dgj3WaOI.mjs → schemas-Cm09dXL4.mjs} +1 -1
  192. package/dist/{schemas-BJ8VMXhO.mjs → schemas-DaHQzpgm.mjs} +1 -1
  193. package/dist/{schemas-BDC2Nqj1.d.mts → schemas-ENwK6jmV.d.mts} +14 -14
  194. package/dist/{schemas-ChF2z4RB.d.mts → schemas-N6x2z7Lf.d.mts} +0 -45
  195. package/dist/schemas-tDf_WiC8.mjs +1 -0
  196. package/dist/selection-BNwTKEVT.mjs +1 -0
  197. package/dist/service-base/index.d.mts +47 -2
  198. package/dist/service-base/index.mjs +1 -1
  199. package/dist/services/adapter-runtime/index.d.mts +3 -3
  200. package/dist/services/adapter-runtime/index.mjs +1 -1
  201. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  202. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  203. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  204. package/dist/services/adapter-subsystem/index.mjs +1 -1
  205. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  206. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  207. package/dist/services/agent-runtime/index.d.mts +2 -2
  208. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  209. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  210. package/dist/services/capability/index.d.mts +1 -1
  211. package/dist/services/capability/index.mjs +1 -1
  212. package/dist/services/codebase/index.d.mts +2 -2
  213. package/dist/services/codebase/namespace.d.mts +1 -1
  214. package/dist/services/codebase/schemas.d.mts +1 -1
  215. package/dist/services/compression/index.d.mts +2 -2
  216. package/dist/services/compression/namespace.d.mts +1 -1
  217. package/dist/services/compression/schemas.d.mts +1 -1
  218. package/dist/services/context-rules/index.d.mts +7 -7
  219. package/dist/services/context-rules/index.mjs +1 -1
  220. package/dist/services/execution-target/index.d.mts +4 -4
  221. package/dist/services/execution-target/index.mjs +1 -1
  222. package/dist/services/execution-target/namespace.d.mts +1 -1
  223. package/dist/services/execution-target/namespace.mjs +1 -1
  224. package/dist/services/execution-target/schemas.d.mts +1 -1
  225. package/dist/services/execution-target/schemas.mjs +1 -1
  226. package/dist/services/filesystem/index.d.mts +1 -1
  227. package/dist/services/filesystem/index.mjs +1 -1
  228. package/dist/services/git/namespace.d.mts +2 -2
  229. package/dist/services/git/namespace.mjs +1 -1
  230. package/dist/services/git/schemas.d.mts +2 -2
  231. package/dist/services/git/schemas.mjs +1 -1
  232. package/dist/services/harness/index.d.mts +3 -3
  233. package/dist/services/harness/index.mjs +1 -1
  234. package/dist/services/index.d.mts +86 -371
  235. package/dist/services/index.mjs +1 -1
  236. package/dist/services/log-import/browser.d.mts +2 -2
  237. package/dist/services/log-import/index.d.mts +2 -2
  238. package/dist/services/log-import/log-import.d.mts +1 -1
  239. package/dist/services/log-import/log-import.mjs +1 -1
  240. package/dist/services/log-import/namespace.d.mts +2 -2
  241. package/dist/services/log-import/namespace.mjs +1 -1
  242. package/dist/services/log-import/schemas.d.mts +1 -1
  243. package/dist/services/log-import/schemas.mjs +1 -1
  244. package/dist/services/materialization/index.d.mts +1 -1
  245. package/dist/services/materialization/index.mjs +1 -1
  246. package/dist/services/model-registry/index.d.mts +1 -1
  247. package/dist/services/model-registry/index.mjs +1 -1
  248. package/dist/services/preferences/index.d.mts +2 -2
  249. package/dist/services/preferences/schemas.d.mts +1 -1
  250. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  251. package/dist/services/provider-context/index.d.mts +1 -1
  252. package/dist/services/provider-context/index.mjs +1 -1
  253. package/dist/services/provider-runtime/index.mjs +1 -1
  254. package/dist/services/session/handlers/index.d.mts +1 -1
  255. package/dist/services/session/handlers/index.mjs +1 -1
  256. package/dist/services/session/index.d.mts +9 -9
  257. package/dist/services/session/index.mjs +1 -1
  258. package/dist/services/session/messages/namespace.d.mts +1 -1
  259. package/dist/services/session/messages/namespace.mjs +1 -1
  260. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  261. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  262. package/dist/services/session/session-events/namespace.d.mts +1 -1
  263. package/dist/services/session/session-events/namespace.mjs +1 -1
  264. package/dist/services/session/storage/namespace.d.mts +1 -1
  265. package/dist/services/session/storage/schema.d.mts +1 -1
  266. package/dist/services/session/testing/index.mjs +1 -1
  267. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  268. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  269. package/dist/services/session/turns/namespace.d.mts +1 -1
  270. package/dist/services/session/turns/namespace.mjs +1 -1
  271. package/dist/services/session-editor/index.d.mts +1 -1
  272. package/dist/services/session-editor/index.mjs +1 -1
  273. package/dist/services/settings/index.d.mts +3 -3
  274. package/dist/services/settings/index.mjs +1 -1
  275. package/dist/services/settings/namespace.d.mts +14 -14
  276. package/dist/services/settings/namespace.mjs +1 -1
  277. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  278. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  279. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  280. package/dist/services/settings/storage/index.d.mts +3 -3
  281. package/dist/services/settings/storage/index.mjs +1 -1
  282. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  283. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  284. package/dist/services/subagent/index.d.mts +1 -1
  285. package/dist/services/subagent/index.mjs +1 -1
  286. package/dist/services/subagent-template/index.d.mts +2 -2
  287. package/dist/services/subagent-template/namespace.d.mts +1 -1
  288. package/dist/services/subagent-template/schemas.d.mts +1 -1
  289. package/dist/services/tool-approval/index.d.mts +1 -1
  290. package/dist/services/tool-approval/index.mjs +1 -1
  291. package/dist/services/tools/index.d.mts +1 -1
  292. package/dist/services/tools/index.mjs +1 -1
  293. package/dist/services/tray-menu/index.d.mts +3 -3
  294. package/dist/services/tray-menu/index.mjs +1 -1
  295. package/dist/services/tray-menu/namespace.d.mts +1 -1
  296. package/dist/services/tray-menu/schemas.d.mts +1 -1
  297. package/dist/services/turn/index.d.mts +1 -1
  298. package/dist/services/turn/namespace.d.mts +1 -1
  299. package/dist/services/workflow-transitions/index.d.mts +2 -0
  300. package/dist/services/workflow-transitions/index.mjs +1 -0
  301. package/dist/{session-Carng3Yk.mjs → session-BOGCd18q.mjs} +1 -1
  302. package/dist/{session-idI1jk5X.mjs → session-BTFiDoGz.mjs} +1 -1
  303. package/dist/{session-lineage-Cte63dGx.d.mts → session-lineage-B_JW5LpF.d.mts} +1 -1
  304. package/dist/{shared-RP_KARKF.mjs → shared-BQ0CHIVy.mjs} +1 -1
  305. package/dist/{skill-CpNjWFuE.mjs → skill-BR6rkfLe.mjs} +1 -1
  306. package/dist/{src-XihJcAQS.mjs → src-DD0v-nIj.mjs} +1 -1
  307. package/dist/storage/drizzle/client.d.mts +1 -1
  308. package/dist/storage/drizzle/client.mjs +1 -1
  309. package/dist/storage/drizzle/index.d.mts +50 -2
  310. package/dist/storage/drizzle/index.mjs +1 -1
  311. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  312. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  313. package/dist/storage/handlers/index.d.mts +1 -1
  314. package/dist/storage/handlers/index.mjs +1 -1
  315. package/dist/testing/drizzle-harness.d.mts +44 -3
  316. package/dist/testing/drizzle-harness.mjs +1 -1
  317. package/dist/{tool-approval-service-fIZ9x0kL.mjs → tool-approval-service-kBA0fRzm.mjs} +1 -1
  318. package/dist/tools-PdG9fO1M.mjs +1 -0
  319. package/dist/{transition-BodgGLZx.d.mts → transition-DuVzKt8-.d.mts} +3 -42
  320. package/dist/{types-LspCUW09.d.mts → types-B1MNcwgH.d.mts} +1 -1
  321. package/dist/{types-Bzxo7ATi.d.mts → types-BqVAOzJP.d.mts} +48 -48
  322. package/dist/{types-DBb5jY4Z.d.mts → types-CJ_QZ1yW.d.mts} +47 -3
  323. package/dist/ui-kernel/index.d.mts +1 -1
  324. package/dist/ui-kernel/index.mjs +1 -1
  325. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  326. package/dist/utils/index.d.mts +18 -4
  327. package/dist/utils/index.mjs +1 -1
  328. package/dist/{version-BbWrAPld.mjs → version-CoCeMxDT.mjs} +1 -1
  329. package/dist/{view-builder-tU7iaxrk.d.mts → view-builder-CvoSL2oL.d.mts} +2 -1
  330. package/dist/visibility-qhGWmpSJ.mjs +1 -0
  331. package/dist/worker-node-Bl9_vqYi.mjs +1 -0
  332. package/dist/worker-node-DZTuT1DS.mjs +1 -0
  333. package/dist/workflow-BfDbgtIQ.mjs +1 -0
  334. package/dist/workflow-engine/execution-attempt-repository.d.mts +2 -0
  335. package/dist/workflow-engine/execution-attempt-repository.mjs +1 -0
  336. package/dist/workflow-engine/index.d.mts +619 -685
  337. package/dist/workflow-engine/index.mjs +1 -1
  338. package/dist/workflow-engine/package.d.mts +1 -1
  339. package/dist/workflow-engine/package.mjs +1 -1
  340. package/dist/workflow-engine/provider-operation.d.mts +2 -0
  341. package/dist/workflow-engine/provider-operation.mjs +1 -0
  342. package/dist/workflow-engine/testing/index.d.mts +146 -0
  343. package/dist/workflow-engine/testing/index.mjs +1 -0
  344. package/dist/workflow-engine/testing/sqlite.d.mts +22 -0
  345. package/dist/workflow-engine/testing/sqlite.mjs +130 -0
  346. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  347. package/dist/workflow-transitions-DSc45ixc.mjs +1 -0
  348. package/dist/workflow-worker-BN9XPxQO.mjs +1 -0
  349. package/package.json +20 -3
  350. package/dist/authority-state-bootstrap-C_-F_dtq.mjs +0 -1
  351. package/dist/execution-target-CsZXIvli.mjs +0 -1
  352. package/dist/extension-CjTu6mzW.mjs +0 -1
  353. package/dist/model-uE5IyUFJ.mjs +0 -1
  354. package/dist/namespace-C05pkLbN.mjs +0 -1
  355. package/dist/package-BSG1681x.d.mts +0 -427
  356. package/dist/package-DW1Upu8E.mjs +0 -7
  357. package/dist/schemas-BRxU_oqL.mjs +0 -1
  358. package/dist/schemas-C-J4W1ID.mjs +0 -1
  359. package/dist/selection-YRuVSdck.mjs +0 -1
  360. package/dist/tools-Cs2DwjCC.mjs +0 -1
  361. package/dist/visibility-Cb62p9bv.mjs +0 -1
  362. package/dist/workflow-BX-FxDb0.mjs +0 -1
  363. package/dist/workflow-worker-DR9qYOFc.mjs +0 -1
  364. /package/dist/{adapter-auth-runtime-DFBLXD5K.mjs → adapter-auth-runtime-DO-FVTXg.mjs} +0 -0
  365. /package/dist/{adapter-binding-Dfk_g-lP.d.mts → adapter-binding-DQchUtrK.d.mts} +0 -0
  366. /package/dist/{ajv-C8r45sFs.mjs → ajv-DD3SIL2i.mjs} +0 -0
  367. /package/dist/{attach-error-DCnzW-Yz.mjs → attach-error-C3tngg6J.mjs} +0 -0
  368. /package/dist/{await-trigger-UceeyCyi.mjs → await-trigger-I3lrepb8.mjs} +0 -0
  369. /package/dist/{base-orchestrator-5yH3l39s.d.mts → base-orchestrator-BilsQNW1.d.mts} +0 -0
  370. /package/dist/{capability-service-BzKBK0n2.mjs → capability-service-BqiLlRGA.mjs} +0 -0
  371. /package/dist/{client-DYEHDiJN.d.mts → client-B--e2qcU.d.mts} +0 -0
  372. /package/dist/{client-binary-version-verifier-C12PvQmz.d.mts → client-binary-version-verifier-CgjM_vGF.d.mts} +0 -0
  373. /package/dist/{client-binary-version-verifier-Dv7TGFxh.mjs → client-binary-version-verifier-taewmKTY.mjs} +0 -0
  374. /package/dist/{clients-namespace-DcFmhtLv.d.mts → clients-namespace-DfxjG2ZP.d.mts} +0 -0
  375. /package/dist/{config-namespace-DmP7NVju.d.mts → config-namespace-BCqvufbD.d.mts} +0 -0
  376. /package/dist/{create-static-mount-BLbqGmva.mjs → create-static-mount-bbQhTt6W.mjs} +0 -0
  377. /package/dist/{cross-spawn-BXxQUsPS.mjs → cross-spawn-B57KZuns.mjs} +0 -0
  378. /package/dist/{cursor-storage-DCj4uUxr.mjs → cursor-storage-DIFK_9hg.mjs} +0 -0
  379. /package/dist/{definition-BEvV7tbD.d.mts → definition-gnKgXU91.d.mts} +0 -0
  380. /package/dist/{definitions-C1pgx0Nq.mjs → definitions-xrrY0wgz.mjs} +0 -0
  381. /package/dist/{descriptor-to-package-VfB8lK5w.mjs → descriptor-to-package-DvF08krT.mjs} +0 -0
  382. /package/dist/{drizzle-oCH9H53q.mjs → drizzle-z_0SiGY8.mjs} +0 -0
  383. /package/dist/{esm-ClQELElL.mjs → esm-CltRnX8_.mjs} +0 -0
  384. /package/dist/{event-BOLVCfhH.mjs → event-CmVjR6Ib.mjs} +0 -0
  385. /package/dist/{extension-discovery-B6p3iZaV.d.mts → extension-discovery-CQRdbVQ6.d.mts} +0 -0
  386. /package/dist/{extension-namespace-vrh4ERXR.mjs → extension-namespace-Yu41YepM.mjs} +0 -0
  387. /package/dist/{facet-DqPBpqkl.mjs → facet-BCI00njh.mjs} +0 -0
  388. /package/dist/{filesystem-service-CGdboor3.d.mts → filesystem-service-CQ9yVkSz.d.mts} +0 -0
  389. /package/dist/{handler-GGOD_ofd.mjs → handler-Cbv9FqDO.mjs} +0 -0
  390. /package/dist/{hook-responses-Dg8wDvRo.d.mts → hook-responses-Dh1PWXqJ.d.mts} +0 -0
  391. /package/dist/{host-BfgdjlII.mjs → host-Caq6ZfSJ.mjs} +0 -0
  392. /package/dist/{identity-BmEHHoBw.mjs → identity-D6guMtmi.mjs} +0 -0
  393. /package/dist/{index-DEchpaya.d.mts → index-BIdsFcQs2.d.mts} +0 -0
  394. /package/dist/{index-DquI_1X5.d.mts → index-BVRQEpAg.d.mts} +0 -0
  395. /package/dist/{index-Brdc35b-.d.mts → index-BaZeoZoS.d.mts} +0 -0
  396. /package/dist/{index-BSmwpgkR.d.mts → index-ByKi34v5.d.mts} +0 -0
  397. /package/dist/{index-oYGf2zIe.d.mts → index-CGZQVTid.d.mts} +0 -0
  398. /package/dist/{index-Chy9aknK.d.mts → index-CMJZ2Z8m.d.mts} +0 -0
  399. /package/dist/{index-Bd1GC1kU2.d.mts → index-CjdRdsd0.d.mts} +0 -0
  400. /package/dist/{index-DYUxNOIX.d.mts → index-Cv-o5Krs.d.mts} +0 -0
  401. /package/dist/{index-DC0yVsYL.d.mts → index-DN4NOCqN2.d.mts} +0 -0
  402. /package/dist/{index-CcsJnJOD.d.mts → index-DR40QWlw.d.mts} +0 -0
  403. /package/dist/{index-BG9-vQHD.d.mts → index-DZunhZec.d.mts} +0 -0
  404. /package/dist/{index-BsBvs0aK.d.mts → index-DjgLchuQ.d.mts} +0 -0
  405. /package/dist/{index-pgYFJ5h6.d.mts → index-Dm1nUxCF.d.mts} +0 -0
  406. /package/dist/{index-C96LlS5m.d.mts → index-Ds5_rDEJ.d.mts} +0 -0
  407. /package/dist/{index-GYZs75UP.d.mts → index-dtsLKOID.d.mts} +0 -0
  408. /package/dist/{index-8fJ6dkzR.d.mts → index-gUhidukN.d.mts} +0 -0
  409. /package/dist/{index-BgpYhR2z.d.mts → index-jTaAHsul.d.mts} +0 -0
  410. /package/dist/{index-Ci3_i-WC2.d.mts → index-sS6KUlrx.d.mts} +0 -0
  411. /package/dist/{index-CFeY8lfU.d.mts → index-vA--0lOM.d.mts} +0 -0
  412. /package/dist/{index-BUYyZm5I.d.mts → index-vcSj12YQ.d.mts} +0 -0
  413. /package/dist/{index-CdEhEXlY.d.mts → index-ye0oklfU.d.mts} +0 -0
  414. /package/dist/{json-value-BwVdTylT.d.mts → json-value-Brslhqbm.d.mts} +0 -0
  415. /package/dist/{jsonl-transport-D8RBF0dK.mjs → jsonl-transport-bQl3JwIu.mjs} +0 -0
  416. /package/dist/{lib-3_xcE8J-.mjs → lib-DOBXZmYX.mjs} +0 -0
  417. /package/dist/{model-registry-CoegIvks.mjs → model-registry-CmgcPDH3.mjs} +0 -0
  418. /package/dist/{model-registry-BneK5SGo.mjs → model-registry-xyBKSye-.mjs} +0 -0
  419. /package/dist/{namespace-CDO4rY11.mjs → namespace-B8uKAzWJ.mjs} +0 -0
  420. /package/dist/{namespace-BsF9IxJ9.d.mts → namespace-BOkKoq34.d.mts} +0 -0
  421. /package/dist/{namespace-SQAGytmu.d.mts → namespace-Blp4c8GK.d.mts} +0 -0
  422. /package/dist/{namespace-BeED_Ojz.mjs → namespace-C-9si-fV.mjs} +0 -0
  423. /package/dist/{namespace-De9Mg3zv.d.mts → namespace-CErHuXtb.d.mts} +0 -0
  424. /package/dist/{namespace-BHj13hbA.mjs → namespace-CWGKCNZm.mjs} +0 -0
  425. /package/dist/{namespace-D7pE2QWv.mjs → namespace-CWUDFGOy.mjs} +0 -0
  426. /package/dist/{namespace-D9HNjIdc.d.mts → namespace-Cv1RFP7n.d.mts} +0 -0
  427. /package/dist/{namespace-CI313bRv.d.mts → namespace-Dkod-w11.d.mts} +0 -0
  428. /package/dist/{namespace-lWlqWTKu.d.mts → namespace-GPA7zots.d.mts} +0 -0
  429. /package/dist/{namespace-DWwWnLBu.mjs → namespace-HO2J9sO8.mjs} +0 -0
  430. /package/dist/{namespace-C238RqwB.mjs → namespace-YxU1xf-K.mjs} +0 -0
  431. /package/dist/{namespace-BetqZA7Z.d.mts → namespace-YytVKIgI.d.mts} +0 -0
  432. /package/dist/{namespace-B9CYb9Gh.d.mts → namespace-jDhZjw-i.d.mts} +0 -0
  433. /package/dist/{namespace-BSXHdCVh2.d.mts → namespace-tGRAod3o.d.mts} +0 -0
  434. /package/dist/{orchestrator-shared-BB6j8ezL.d.mts → orchestrator-shared-BHCv-l2O.d.mts} +0 -0
  435. /package/dist/{out-CFkI17mk.mjs → out-CvjtANXN.mjs} +0 -0
  436. /package/dist/{packages-DeIgn0Hn.d.mts → packages-BZ6pzFIq.d.mts} +0 -0
  437. /package/dist/{platform-CWhGFQFX.mjs → platform-Bv8llU9c.mjs} +0 -0
  438. /package/dist/{providers-CUnrif24.mjs → providers-Co5UszRH.mjs} +0 -0
  439. /package/dist/{providers-namespace-sPbGcZ6I.d.mts → providers-namespace-DjFkmvBR.d.mts} +0 -0
  440. /package/dist/{quick-lru-CTBjxfgD.mjs → quick-lru-CrOpWwrf.mjs} +0 -0
  441. /package/dist/{schema-cus0dJ81.mjs → schema-Db-y-09L.mjs} +0 -0
  442. /package/dist/{schema-introspection-BsWLmoFp.mjs → schema-introspection-DgWQCpwx.mjs} +0 -0
  443. /package/dist/{schemas-DYvvMd3c.d.mts → schemas-B1NWNASS.d.mts} +0 -0
  444. /package/dist/{schemas-CMyv7l7-.mjs → schemas-BGExwp3j.mjs} +0 -0
  445. /package/dist/{schemas-Dmij0PIc.d.mts → schemas-BO7uOum6.d.mts} +0 -0
  446. /package/dist/{schemas-BGS9RfqV.mjs → schemas-Bfxskx_2.mjs} +0 -0
  447. /package/dist/{schemas-BKKpQC4X2.d.mts → schemas-BtZqovRH.d.mts} +0 -0
  448. /package/dist/{schemas-BAvt2HDy.d.mts → schemas-CQyRBqD6.d.mts} +0 -0
  449. /package/dist/{schemas-D55eXBgl.d.mts → schemas-CR8hSqTy.d.mts} +0 -0
  450. /package/dist/{schemas-CWxf_Yut.mjs → schemas-CqRm0i9a.mjs} +0 -0
  451. /package/dist/{schemas-CiWCNQ9a2.d.mts → schemas-CwbYk_kZ.d.mts} +0 -0
  452. /package/dist/{schemas-CbMWN9-z.d.mts → schemas-DuIlOWR3.d.mts} +0 -0
  453. /package/dist/{schemas-B4FyOOJj.d.mts → schemas-miYxK_Z1.d.mts} +0 -0
  454. /package/dist/{semver-D3Y7uMEb.mjs → semver-DlM8znk4.mjs} +0 -0
  455. /package/dist/{server-lifecycle-C-3OgoKi.d.mts → server-lifecycle-Dsq56aqC.d.mts} +0 -0
  456. /package/dist/{server-lifecycle-DV6NMsgH.mjs → server-lifecycle-kmQ5PUDv.mjs} +0 -0
  457. /package/dist/{shared-schemas-BNCPgGYP.mjs → shared-schemas-DXwyMCwZ.mjs} +0 -0
  458. /package/dist/{src-ftBp6GpR.mjs → src-CCu8TwL6.mjs} +0 -0
  459. /package/dist/{storage-namespace-B1GI4elv.mjs → storage-namespace-BSrv0vXR.mjs} +0 -0
  460. /package/dist/{storage-namespace-definition-V8sc3drq.d.mts → storage-namespace-definition-BvlX0QV_.d.mts} +0 -0
  461. /package/dist/{storage-namespace-definition-4UYuij1r.mjs → storage-namespace-definition-CkMKt7-I.mjs} +0 -0
  462. /package/dist/{storage-namespace-9N9R61pI.d.mts → storage-namespace-dfywhXR3.d.mts} +0 -0
  463. /package/dist/{supports-color-DwW9N6YC.mjs → supports-color-DUugCQsK.mjs} +0 -0
  464. /package/dist/{telemetry-B42EMbZt.mjs → telemetry-Pr3oP2rk.mjs} +0 -0
  465. /package/dist/{timeout-CvONPl0l.mjs → timeout-DWDhddRJ.mjs} +0 -0
  466. /package/dist/{tray-menu-service-Dgedanv-.mjs → tray-menu-service-BBLa-Rcv.mjs} +0 -0
  467. /package/dist/{types-DkFvBdIY.d.mts → types-BrcjaNPZ.d.mts} +0 -0
  468. /package/dist/{types-DVLq657Y.d.mts → types-DHmPneIO.d.mts} +0 -0
  469. /package/dist/{types-Bju4dmAg.d.mts → types-b54n1o57.d.mts} +0 -0
  470. /package/dist/{ui-config-B2L3Xgqo.mjs → ui-config-CyCdlns_.mjs} +0 -0
  471. /package/dist/{variant-ByI-RZua.mjs → variant-krjlTdJt.mjs} +0 -0
  472. /package/dist/{window-registry-Qcnvlhp7.d.mts → window-registry-BDnZLPVx.d.mts} +0 -0
  473. /package/dist/{window-registry-DsWnCc8z.mjs → window-registry-I-imZHV_.mjs} +0 -0
@@ -1,52 +1,51 @@
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-D55eXBgl.mjs";
2
- import { n as AdapterRuntimeSubjects, t as AdapterRuntimeNamespace } from "../namespace-De9Mg3zv.mjs";
3
- import { a as resolveDeterministicAdapterId, i as registerAdapterRuntimeIdentityHandlers, n as RegisteredAdapterRuntimeIdentityHandlers, r as buildDeterministicAdapterId, t as AdapterIdentityRegistry } from "../index-Cw7_69gV.mjs";
4
- import { p as BindingRecord } from "../schemas-B5tMYfhC.mjs";
5
- import { a as AgentRuntimeSelectionSchema, i as AgentRuntimeSelection, n as AgentInstanceStatusSchema, r as AgentRuntimeSchemas, t as AgentInstanceStatus } from "../schemas-CbMWN9-z.mjs";
6
- import { n as AgentRuntimeSubjects, t as AgentRuntimeNamespace } from "../namespace-CI313bRv.mjs";
7
- import { t as CapabilityService } from "../index-DC0yVsYL.mjs";
8
- import { n as CodebaseSubjects, t as CodebaseNamespace } from "../namespace-SQAGytmu.mjs";
9
- import { n as CodebaseChangedEventSchema, r as CodebaseSchemas, t as CodebaseChangedEvent } from "../schemas-BAvt2HDy.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-B4FyOOJj.mjs";
11
- import { n as CompressionSubjects, t as CompressionNamespace } from "../namespace-D9HNjIdc.mjs";
12
- import { a as ContextRuleInput, n as ContextRuleAction, t as ContextRule } from "../types-DkFvBdIY.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-ChF2z4RB.mjs";
14
- import { n as ExecutionTargetSubjects, t as ExecutionTargetNamespace } from "../namespace-Bd49QmzS.mjs";
15
- import { B as SpawnRequestSchema, C as ContainerIsolatedSpawnRequest, D as ContainerRuntime, E as ContainerLocalSpawnRequestSchema, F as ContainerStopped, G as StatusResponse, H as SpawnResponseSchema, I as ContainerStoppedSchema, J as StopRequestSchema, K as StatusResponseSchema, M as ContainerStartedSchema, N as ContainerState, O as ContainerRuntimeSchema, P as ContainerStateSchema, S as ContainerDestroyedSchema, T as ContainerLocalSpawnRequest, U as StatusRequest, V as SpawnResponse, W as StatusRequestSchema, X as StopResponseSchema, Y as StopResponse, a as DockerSubjects, b as ContainerCreatedSchema, i as DockerNamespace, j as ContainerStarted, n as ContainerSpawnSubjects, q as StopRequest, t as ContainerSpawnNamespace, w as ContainerIsolatedSpawnRequestSchema, x as ContainerDestroyed, y as ContainerCreated, z as SpawnRequest } from "../index-0Ju2i8gV.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-Bs3CXR232.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-8fJ6dkzR.mjs";
18
- import { a as activateProviderContext, c as RuntimeProviderContextResolutionErrorCode, l as resolveRuntimeProviderContext, n as ProviderContextActivationErrorCode, s as RuntimeProviderContextResolutionError, t as ProviderContextActivationError } from "../index-BhXCCgJV2.mjs";
19
- import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-CriPb5wY.mjs";
20
- import { a as agents, s as sessions } from "../schema-BO9TgmOs.mjs";
21
- import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-zOfq1Uhn.mjs";
22
- import { t as TurnStorageNamespace } from "../namespace-BsF9IxJ9.mjs";
23
- import { n as TurnStorageSubjects } from "../namespace-lWlqWTKu.mjs";
24
- import { i as MessageStorageSubjects, r as MessageStorageNamespace } from "../namespace-BphMM6S82.mjs";
25
- import { y as ArtifactSchemaRegistry } from "../packages-DeIgn0Hn.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-Brdc35b-.mjs";
27
- import { t as ToolApprovalService } from "../index-Ci3_i-WC2.mjs";
28
- import { t as TrayMenuService } from "../index-BSmwpgkR.mjs";
29
- 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-CiWCNQ9a2.mjs";
30
- import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../namespace-BSXHdCVh2.mjs";
31
- 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-Bd1GC1kU2.mjs";
32
- 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-BsBvs0aK.mjs";
33
- import { a as PreferenceValueSchema, i as PreferenceKeySchema, n as PreferenceItemSchema, o as PreferencesSchemas, r as PreferenceKey, t as PreferenceItem } from "../schemas-BKKpQC4X2.mjs";
34
- import { n as PreferencesSubjects, t as PreferencesNamespace } from "../storage-namespace-9N9R61pI.mjs";
35
- 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-BDC2Nqj1.mjs";
36
- import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-BetqZA7Z.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-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-C4yUXs4G.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-I5YG-qrb2.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-4fE_hUP02.mjs";
19
+ import { i as SessionStorageSubjects, r as SessionStorageNamespace } from "../namespace-jPUGV-b2.mjs";
20
+ import { a as agents, s as sessions } from "../schema-Bwr_NrOS.mjs";
21
+ import { n as SessionEventStorageSubjects, t as SessionEventStorageNamespace } from "../namespace-DI4Yx_xu.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-DPgxPa8m2.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-ENwK6jmV.mjs";
37
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../namespace-YytVKIgI.mjs";
37
38
  import * as _$zod from "zod";
38
- import { z } 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, TransitionActionFactory, TransitionActionInvocation, TransitionEvaluationContext, TransitionEventType, TransitionRuleDefinition, TransitionRuleDefinitionSchema, WorkflowBlockCollection } 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";
44
44
  import { BaseService } from "@makaio/framework/service-base";
45
45
  import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
46
46
  import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
47
47
  import * as _$_makaio_ai_adapters_core0 from "@makaio/framework/adapters";
48
48
  import { FacetNamespaceRegistration } from "@makaio/framework/contracts/facet";
49
- import { Condition } from "@makaio/framework/rules";
50
49
  import { GitService } from "@makaio/framework/git";
51
50
  import { ContributionProcessor } from "@makaio/framework/kernel";
52
51
  import * as _$type_fest0 from "type-fest";
@@ -453,265 +452,6 @@ declare class WorkflowBlockRegistry extends BaseService {
453
452
  */
454
453
  declare function createWorkflowBlockContributionProcessor(): ContributionProcessor;
455
454
  //#endregion
456
- //#region services/core/src/workflow-transitions/transition-action-registry.d.ts
457
- /**
458
- * Built-in action type identifier for starting a workflow via the bus.
459
- *
460
- * Input fields (all optional):
461
- * - `workflowId` — required workflow ID
462
- * - `input` — workflow input payload
463
- * - `inputExpression` — jexl expression resolving workflow input from the transition context
464
- * - `config` — workflow config overrides
465
- * - `artifactRef` — explicit artifact binding target
466
- * - `scope` — execution scope override
467
- */
468
- declare const WORKFLOW_START_ACTION_TYPE = "workflow.start";
469
- /**
470
- * Registry for executable transition action factories.
471
- *
472
- * Manages built-in actions (seeded at construction) and extension-contributed
473
- * actions. Duplicate action type keys hard-fail registration. Source keys
474
- * support clean deregistration on extension stop.
475
- *
476
- * Unlike rules, actions are executable (factory-based), not static. Each
477
- * dispatch call creates a fresh handler via the registered factory.
478
- */
479
- declare class TransitionActionRegistry {
480
- /** All factories indexed by action type string. */
481
- private readonly factories;
482
- /** Factories indexed by source key for deregistration. */
483
- private readonly factoriesBySource;
484
- /**
485
- * @param bus - Bus instance forwarded to the built-in `workflow.start` factory.
486
- */
487
- constructor(bus: IMakaioBus);
488
- /**
489
- * Register custom action factories from a source (extension name).
490
- *
491
- * Source keys and type keys are checked for collisions before any mutations.
492
- * Built-in action types (`workflow.start`) may not be overridden.
493
- * @param sourceKey - Stable source identifier (extension name).
494
- * @param actions - Map of action type string to factory.
495
- * @throws If the source or any action type collides with an existing registration.
496
- */
497
- register(sourceKey: string, actions: Readonly<Record<string, TransitionActionFactory>>): void;
498
- /**
499
- * Deregister all action factories contributed by a source.
500
- *
501
- * Built-in actions (`__builtin__`) cannot be deregistered.
502
- * No-op when the source has no registered factories.
503
- * @param sourceKey - Source identifier previously passed to {@link register}.
504
- */
505
- deregister(sourceKey: string): void;
506
- /**
507
- * Resolve and invoke the action handler for the given invocation.
508
- *
509
- * Creates a fresh handler via the registered factory, then delegates
510
- * execution to the handler's `execute` method.
511
- * @param invocation - Action invocation descriptor from the matched rule.
512
- * @param context - Evaluation context from the triggering artifact event.
513
- * @throws If no factory is registered for `invocation.type`.
514
- */
515
- dispatch(invocation: TransitionActionInvocation, context: TransitionEvaluationContext): Promise<void>;
516
- /**
517
- * Check whether an action type is registered.
518
- * @param actionType - Action type identifier to check.
519
- * @returns `true` when the type has a registered factory.
520
- */
521
- has(actionType: string): boolean;
522
- /**
523
- * List all registered action type strings.
524
- * @returns Array of registered action type identifiers.
525
- */
526
- listTypes(): string[];
527
- }
528
- //#endregion
529
- //#region services/core/src/workflow-transitions/transition-rule-registry.d.ts
530
- type TransitionRuleDefinitionInput = z.input<typeof TransitionRuleDefinitionSchema>;
531
- interface SourceSnapshot {
532
- ruleIds: readonly string[];
533
- }
534
- /**
535
- * A {@link TransitionRuleDefinition} with its optional `when` condition
536
- * pre-parsed at registration time so the pipeline avoids re-parsing on
537
- * every incoming artifact event.
538
- */
539
- interface PreparedTransitionRule {
540
- /** The original serializable rule definition. */
541
- readonly rule: TransitionRuleDefinition;
542
- /**
543
- * Pre-parsed condition produced by `ConditionSchema.parse(rule.when)`.
544
- * `undefined` when the rule has no `when` clause — it always matches.
545
- */
546
- readonly condition: Condition | undefined;
547
- }
548
- /**
549
- * Registry for serializable transition rules contributed by workflow bundles
550
- * and extensions.
551
- *
552
- * Rules are stored under a stable source key (bundle ID or extension name) and
553
- * indexed by event type for fast pipeline evaluation. Duplicate rule IDs
554
- * hard-fail registration across all sources. Source keys support clean
555
- * deregistration.
556
- *
557
- * Rules are purely static and serializable — no functions.
558
- */
559
- declare class TransitionRuleRegistry {
560
- /** All rules indexed by source key. */
561
- private readonly rulesBySource;
562
- /** Index: event type → flat list of prepared rules across all sources. */
563
- private readonly rulesByEventType;
564
- /** All registered rule IDs for collision detection. */
565
- private readonly ruleIdSet;
566
- /**
567
- * Register transition rules from a source (bundle or extension).
568
- *
569
- * The source key, rule definitions, rule IDs, and conditions are checked
570
- * before any mutations are applied — registration is atomic: either all rules
571
- * from the source are added or none are.
572
- * @param sourceKey - Stable identifier for the contributing source (bundle ID or extension name).
573
- * @param rules - Rule definitions to register. IDs must not collide with existing registrations.
574
- * @throws If the source or any rule ID collides, or if any rule definition or condition is invalid.
575
- */
576
- register(sourceKey: string, rules: readonly TransitionRuleDefinitionInput[]): void;
577
- /**
578
- * Deregister all rules contributed by a source.
579
- *
580
- * No-op when the source has no registered rules.
581
- * @param sourceKey - Source identifier previously passed to {@link register}.
582
- */
583
- deregister(sourceKey: string): void;
584
- /**
585
- * Return all enabled prepared rules matching the given event type.
586
- *
587
- * Returns a shallow copy of the internal bucket to prevent external mutation.
588
- * Each entry carries the original rule definition alongside its pre-parsed
589
- * condition so the pipeline avoids re-parsing per event.
590
- * @param eventType - Artifact event type to query.
591
- * @returns Enabled prepared rules registered for the event type.
592
- */
593
- getRulesForEvent(eventType: TransitionEventType): PreparedTransitionRule[];
594
- /**
595
- * Snapshot the current rule IDs registered under a source.
596
- *
597
- * Used for diagnostics and deduplication checks.
598
- * @param sourceKey - Source identifier.
599
- * @returns Snapshot of registered rule IDs, or `undefined` if the source has no rules.
600
- */
601
- snapshotSource(sourceKey: string): SourceSnapshot | undefined;
602
- }
603
- //#endregion
604
- //#region services/core/src/workflow-transitions/transition-pipeline-service.d.ts
605
- /**
606
- * Service that watches artifact bus events and fires transition rules.
607
- *
608
- * On initialization the service subscribes to the three artifact lifecycle
609
- * events (`artifact.created`, `artifact.revised`, `artifact.status.changed`).
610
- * For each incoming event it evaluates the registered rules for that event type
611
- * using `@makaio/rules`, then dispatches the matching rule's action through the
612
- * {@link TransitionActionRegistry}.
613
- *
614
- * Loop protection: the service maintains an in-memory depth counter keyed by
615
- * `${kind}:${id}` for each artifact. Each time a `workflow.start` action is
616
- * dispatched for an artifact the counter is incremented. Incoming events for an
617
- * artifact whose counter has reached {@link MAX_TRANSITION_DEPTH} are silently
618
- * dropped. Counters are pruned after {@link DEPTH_ENTRY_TTL_MS} to prevent
619
- * unbounded growth.
620
- */
621
- declare class TransitionPipelineService extends BaseService {
622
- /** Registry of serializable transition rules. */
623
- readonly ruleRegistry: TransitionRuleRegistry;
624
- /** Registry of executable action factories. */
625
- readonly actionRegistry: TransitionActionRegistry;
626
- /**
627
- * In-memory depth tracker keyed by `${kind}:${id}`.
628
- *
629
- * Counts how many `workflow.start` actions have been dispatched for each
630
- * artifact in the current execution chain. Entries expire after
631
- * {@link DEPTH_ENTRY_TTL_MS}.
632
- */
633
- private readonly depthMap;
634
- /**
635
- * @param bus - Bus instance used for artifact event subscriptions and workflow.start dispatch.
636
- */
637
- constructor(bus: IMakaioBus);
638
- /**
639
- * Subscribe to all three artifact lifecycle event types.
640
- */
641
- protected onInit(): void;
642
- /**
643
- * Evaluate all enabled rules for the event type, then dispatch matching actions.
644
- * @param eventType - The artifact event type that fired.
645
- * @param contextBase - Partial evaluation context built from the event payload.
646
- */
647
- private handleArtifactEvent;
648
- /**
649
- * Resolve a status-change artifact ref into the exact revision that emitted
650
- * the event before rule evaluation.
651
- * @param ref - Revisioned artifact reference from the status.changed event.
652
- * @returns Full artifact revision, or `undefined` when the artifact store cannot provide it.
653
- */
654
- private resolveStatusChangedArtifact;
655
- /**
656
- * Resolve the previous revision for an artifact.revised event.
657
- *
658
- * The original `previous` context value remains the event's artifact ref for
659
- * compatibility; this helper adds a full `previousArtifact` snapshot when the
660
- * artifact store can provide it so rules can compare before/after state.
661
- * @param ref - Revisioned artifact reference from the revised event.
662
- * @returns Full previous artifact revision, or `undefined` when unavailable.
663
- */
664
- private resolvePreviousRevisedArtifact;
665
- /**
666
- * Evaluate a single prepared rule condition and dispatch its action if the condition matches.
667
- *
668
- * The condition is pre-parsed at registration time, so this method only evaluates it
669
- * against the current event context — no schema parsing overhead per event.
670
- *
671
- * When dispatch succeeds and the action type is `workflow.start`, the in-memory
672
- * depth counter for the artifact is incremented so subsequent events in the same
673
- * execution chain are correctly depth-checked.
674
- * @param entry - The prepared rule (definition + pre-parsed condition) to evaluate.
675
- * @param eventType - The artifact event type.
676
- * @param contextBase - Partial evaluation context from the event payload.
677
- * @param artifactKey - Composite `${kind}:${id}` key for depth tracking.
678
- * @param incomingDepth - Current loop-protection depth for this artifact.
679
- */
680
- private evaluateAndDispatch;
681
- /**
682
- * Derive the composite artifact key used for depth tracking.
683
- * @param artifact - Artifact ref or revision from the event payload.
684
- * @returns A `${kind}:${id}` string, falling back to `'unknown:unknown'` when
685
- * the artifact lacks these fields.
686
- */
687
- private artifactKey;
688
- /**
689
- * Read the current dispatch depth for the given artifact key.
690
- *
691
- * Prunes stale entries lazily on each read so the map does not grow
692
- * unboundedly when artifacts are no longer active.
693
- * @param key - Composite `${kind}:${id}` key.
694
- * @returns Current dispatch count, or `0` when absent or expired.
695
- */
696
- private readDepth;
697
- /**
698
- * Increment the dispatch depth counter for the given artifact key and reset its TTL.
699
- * @param key - Composite `${kind}:${id}` key.
700
- */
701
- private incrementDepth;
702
- }
703
- //#endregion
704
- //#region services/core/src/workflow-transitions/transition-contribution-processor.d.ts
705
- /**
706
- * Processes transition rule and action contributions from extensions.
707
- *
708
- * During activation: validates namespace prefixes, then registers rules and
709
- * actions with the {@link TransitionPipelineService}. On stop: deregisters
710
- * all contributions from that extension.
711
- * @returns Contribution processor for transition pipeline registration.
712
- */
713
- declare function createTransitionContributionProcessor(): ContributionProcessor;
714
- //#endregion
715
455
  //#region services/core/src/canonical-model/resolver-deps.d.ts
716
456
  /** A resolved model target from default chain resolution. */
717
457
  interface ResolvedDefaultTarget {
@@ -1088,13 +828,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1088
828
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1089
829
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1090
830
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
831
+ settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1091
832
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1092
833
  label: _$zod.ZodString;
1093
834
  url: _$zod.ZodString;
1094
835
  }, _$zod_v4_core0.$strict>>>;
1095
836
  instructions: _$zod.ZodOptional<_$zod.ZodString>;
1096
837
  providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
1097
- settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1098
838
  name: _$zod.ZodString;
1099
839
  enabled: _$zod.ZodBoolean;
1100
840
  bindings: _$zod.ZodArray<_$zod.ZodObject<{
@@ -1113,13 +853,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
1113
853
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
1114
854
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
1115
855
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
856
+ settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1116
857
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
1117
858
  label: _$zod.ZodString;
1118
859
  url: _$zod.ZodString;
1119
860
  }, _$zod_v4_core0.$strict>>>;
1120
861
  instructions: _$zod.ZodOptional<_$zod.ZodString>;
1121
862
  providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
1122
- settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1123
863
  name: _$zod.ZodString;
1124
864
  enabled: _$zod.ZodBoolean;
1125
865
  bindings: _$zod.ZodArray<_$zod.ZodObject<{
@@ -2724,13 +2464,13 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
2724
2464
  displayName: _$zod.ZodOptional<_$zod.ZodString>;
2725
2465
  protocol: _$zod.ZodOptional<_$zod.ZodString>;
2726
2466
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
2467
+ settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
2727
2468
  helpLinks: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
2728
2469
  label: _$zod.ZodString;
2729
2470
  url: _$zod.ZodString;
2730
2471
  }, _$zod_v4_core0.$strict>>>;
2731
2472
  instructions: _$zod.ZodOptional<_$zod.ZodString>;
2732
2473
  providerDefinitionIds: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
2733
- settings: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
2734
2474
  name: _$zod.ZodString;
2735
2475
  enabled: _$zod.ZodBoolean;
2736
2476
  bindings: _$zod.ZodArray<_$zod.ZodObject<{
@@ -4307,9 +4047,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4307
4047
  changed: _$zod.ZodObject<{
4308
4048
  ruleId: _$zod.ZodString;
4309
4049
  changeType: _$zod.ZodEnum<{
4310
- deleted: "deleted";
4311
- updated: "updated";
4312
4050
  created: "created";
4051
+ updated: "updated";
4052
+ deleted: "deleted";
4313
4053
  }>;
4314
4054
  previous: _$zod.ZodNullable<_$zod.ZodObject<{
4315
4055
  scope: _$zod.ZodEnum<{
@@ -4418,9 +4158,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4418
4158
  };
4419
4159
  }>, _$_makaio_core0.BusNamespaceDefinition<"docker", {
4420
4160
  'container.spawn': {
4421
- request: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4161
+ request: _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodObject<{
4422
4162
  sessionId: _$zod.ZodString;
4423
- executionId: _$zod.ZodOptional<_$zod.ZodString>;
4424
4163
  adapter: _$zod.ZodString;
4425
4164
  runtime: _$zod.ZodDefault<_$zod.ZodEnum<{
4426
4165
  full: "full";
@@ -4433,7 +4172,20 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4433
4172
  worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
4434
4173
  }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
4435
4174
  sessionId: _$zod.ZodString;
4436
- executionId: _$zod.ZodOptional<_$zod.ZodString>;
4175
+ adapter: _$zod.ZodString;
4176
+ runtime: _$zod.ZodDefault<_$zod.ZodEnum<{
4177
+ full: "full";
4178
+ simple: "simple";
4179
+ }>>;
4180
+ image: _$zod.ZodOptional<_$zod.ZodString>;
4181
+ mode: _$zod.ZodLiteral<"container-local">;
4182
+ repoPath: _$zod.ZodString;
4183
+ baseBranch: _$zod.ZodString;
4184
+ worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
4185
+ executionId: _$zod.ZodString;
4186
+ executionAttemptId: _$zod.ZodString;
4187
+ }, _$zod_v4_core0.$strict>]>, _$zod.ZodObject<{
4188
+ sessionId: _$zod.ZodString;
4437
4189
  adapter: _$zod.ZodString;
4438
4190
  runtime: _$zod.ZodDefault<_$zod.ZodEnum<{
4439
4191
  full: "full";
@@ -4443,12 +4195,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4443
4195
  mode: _$zod.ZodLiteral<"container-isolated">;
4444
4196
  repoUrl: _$zod.ZodString;
4445
4197
  branch: _$zod.ZodOptional<_$zod.ZodString>;
4446
- busMode: _$zod.ZodEnum<{
4447
- relay: "relay";
4448
- host: "host";
4449
- }>;
4450
- relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
4451
- }, _$zod_v4_core0.$strict>], "mode">;
4198
+ }, _$zod_v4_core0.$strict>]>;
4452
4199
  response: _$zod.ZodObject<{
4453
4200
  containerId: _$zod.ZodString;
4454
4201
  worktreePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4457,9 +4204,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4457
4204
  };
4458
4205
  'bootstrap.spawn': _$_makaio_core0.ChannelSubjectSchema<{
4459
4206
  request: _$zod.ZodReadonly<_$zod.ZodObject<{
4460
- descriptor: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
4207
+ descriptor: _$zod.ZodUnion<readonly [_$zod.ZodUnion<readonly [_$zod.ZodObject<{
4461
4208
  sessionId: _$zod.ZodString;
4462
- executionId: _$zod.ZodOptional<_$zod.ZodString>;
4463
4209
  adapter: _$zod.ZodString;
4464
4210
  runtime: _$zod.ZodDefault<_$zod.ZodEnum<{
4465
4211
  full: "full";
@@ -4472,7 +4218,20 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4472
4218
  worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
4473
4219
  }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
4474
4220
  sessionId: _$zod.ZodString;
4475
- executionId: _$zod.ZodOptional<_$zod.ZodString>;
4221
+ adapter: _$zod.ZodString;
4222
+ runtime: _$zod.ZodDefault<_$zod.ZodEnum<{
4223
+ full: "full";
4224
+ simple: "simple";
4225
+ }>>;
4226
+ image: _$zod.ZodOptional<_$zod.ZodString>;
4227
+ mode: _$zod.ZodLiteral<"container-local">;
4228
+ repoPath: _$zod.ZodString;
4229
+ baseBranch: _$zod.ZodString;
4230
+ worktreeBranch: _$zod.ZodOptional<_$zod.ZodString>;
4231
+ executionId: _$zod.ZodString;
4232
+ executionAttemptId: _$zod.ZodString;
4233
+ }, _$zod_v4_core0.$strict>]>, _$zod.ZodObject<{
4234
+ sessionId: _$zod.ZodString;
4476
4235
  adapter: _$zod.ZodString;
4477
4236
  runtime: _$zod.ZodDefault<_$zod.ZodEnum<{
4478
4237
  full: "full";
@@ -4482,23 +4241,9 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4482
4241
  mode: _$zod.ZodLiteral<"container-isolated">;
4483
4242
  repoUrl: _$zod.ZodString;
4484
4243
  branch: _$zod.ZodOptional<_$zod.ZodString>;
4485
- busMode: _$zod.ZodEnum<{
4486
- relay: "relay";
4487
- host: "host";
4488
- }>;
4489
- relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
4490
- }, _$zod_v4_core0.$strict>], "mode">;
4244
+ }, _$zod_v4_core0.$strict>]>;
4491
4245
  bootstrapConfig: _$zod.ZodObject<{
4492
4246
  busAuthSecret: _$zod.ZodOptional<_$zod.ZodString>;
4493
- relayPeer: _$zod.ZodOptional<_$zod.ZodObject<{
4494
- id: _$zod.ZodString;
4495
- signingPublicKey: _$zod.ZodString;
4496
- }, _$zod_v4_core0.$strict>>;
4497
- relayIdentity: _$zod.ZodOptional<_$zod.ZodObject<{
4498
- id: _$zod.ZodString;
4499
- signingPublicKey: _$zod.ZodString;
4500
- signingPrivateKeyPem: _$zod.ZodString;
4501
- }, _$zod_v4_core0.$strict>>;
4502
4247
  gitToken: _$zod.ZodOptional<_$zod.ZodString>;
4503
4248
  runtimeEnv: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4504
4249
  sessionRuntime: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodObject<{
@@ -4567,8 +4312,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4567
4312
  }, _$zod_v4_core0.$strip>;
4568
4313
  response: _$zod.ZodObject<{
4569
4314
  state: _$zod.ZodEnum<{
4570
- running: "running";
4571
4315
  created: "created";
4316
+ running: "running";
4572
4317
  stopped: "stopped";
4573
4318
  destroyed: "destroyed";
4574
4319
  }>;
@@ -4633,11 +4378,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4633
4378
  type: _$zod.ZodLiteral<"container-isolated">;
4634
4379
  image: _$zod.ZodOptional<_$zod.ZodString>;
4635
4380
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4636
- busMode: _$zod.ZodEnum<{
4637
- relay: "relay";
4638
- host: "host";
4639
- }>;
4640
- relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
4641
4381
  gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
4642
4382
  token: "token";
4643
4383
  "ssh-agent": "ssh-agent";
@@ -4674,11 +4414,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4674
4414
  image: _$zod.ZodOptional<_$zod.ZodString>;
4675
4415
  enabled: _$zod.ZodBoolean;
4676
4416
  scope: _$zod.ZodString;
4677
- busMode: _$zod.ZodEnum<{
4678
- relay: "relay";
4679
- host: "host";
4680
- }>;
4681
- relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
4682
4417
  gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
4683
4418
  token: "token";
4684
4419
  "ssh-agent": "ssh-agent";
@@ -4740,11 +4475,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4740
4475
  type: _$zod.ZodLiteral<"container-isolated">;
4741
4476
  image: _$zod.ZodOptional<_$zod.ZodString>;
4742
4477
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4743
- busMode: _$zod.ZodEnum<{
4744
- relay: "relay";
4745
- host: "host";
4746
- }>;
4747
- relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
4748
4478
  gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
4749
4479
  token: "token";
4750
4480
  "ssh-agent": "ssh-agent";
@@ -4790,11 +4520,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4790
4520
  type: _$zod.ZodLiteral<"container-isolated">;
4791
4521
  image: _$zod.ZodOptional<_$zod.ZodString>;
4792
4522
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4793
- busMode: _$zod.ZodEnum<{
4794
- relay: "relay";
4795
- host: "host";
4796
- }>;
4797
- relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
4798
4523
  gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
4799
4524
  token: "token";
4800
4525
  "ssh-agent": "ssh-agent";
@@ -4835,11 +4560,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4835
4560
  type: _$zod.ZodLiteral<"container-isolated">;
4836
4561
  image: _$zod.ZodOptional<_$zod.ZodString>;
4837
4562
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4838
- busMode: _$zod.ZodEnum<{
4839
- relay: "relay";
4840
- host: "host";
4841
- }>;
4842
- relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
4843
4563
  gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
4844
4564
  token: "token";
4845
4565
  "ssh-agent": "ssh-agent";
@@ -4878,11 +4598,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4878
4598
  type: _$zod.ZodLiteral<"container-isolated">;
4879
4599
  image: _$zod.ZodOptional<_$zod.ZodString>;
4880
4600
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4881
- busMode: _$zod.ZodEnum<{
4882
- relay: "relay";
4883
- host: "host";
4884
- }>;
4885
- relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
4886
4601
  gitCredentialMode: _$zod.ZodDefault<_$zod.ZodEnum<{
4887
4602
  token: "token";
4888
4603
  "ssh-agent": "ssh-agent";
@@ -4915,8 +4630,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
4915
4630
  id: _$zod.ZodString;
4916
4631
  config: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
4917
4632
  enabled: _$zod.ZodBoolean;
4918
- scope: _$zod.ZodString;
4919
4633
  extensionName: _$zod.ZodString;
4634
+ scope: _$zod.ZodString;
4920
4635
  }, _$zod_v4_core0.$strip>;
4921
4636
  }, _$zod_v4_core0.$strip>;
4922
4637
  response: _$zod.ZodObject<{
@@ -5165,7 +4880,6 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5165
4880
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5166
4881
  name: _$zod.ZodString;
5167
4882
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
5168
- credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5169
4883
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
5170
4884
  toolCapabilityMap: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodEnum<{
5171
4885
  "file.read": "file.read";
@@ -5188,6 +4902,7 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
5188
4902
  "always-ask": "always-ask";
5189
4903
  "full-access": "full-access";
5190
4904
  }>>>;
4905
+ credentials: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
5191
4906
  approvalPolicy: _$zod.ZodEnum<{
5192
4907
  reject: "reject";
5193
4908
  "always-ask": "always-ask";
@@ -7534,8 +7249,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7534
7249
  model: _$zod.ZodOptional<_$zod.ZodString>;
7535
7250
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
7536
7251
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
7537
- fresh: "fresh";
7538
7252
  fork: "fork";
7253
+ fresh: "fresh";
7539
7254
  }>>;
7540
7255
  allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7541
7256
  disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
@@ -7551,16 +7266,16 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7551
7266
  name: _$zod.ZodString;
7552
7267
  enabled: _$zod.ZodDefault<_$zod.ZodBoolean>;
7553
7268
  providerConfigId: _$zod.ZodOptional<_$zod.ZodString>;
7554
- adapterName: _$zod.ZodString;
7555
7269
  model: _$zod.ZodOptional<_$zod.ZodString>;
7556
7270
  systemPrompt: _$zod.ZodOptional<_$zod.ZodString>;
7271
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7272
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7273
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7557
7274
  contextMode: _$zod.ZodDefault<_$zod.ZodEnum<{
7558
- fresh: "fresh";
7559
7275
  fork: "fork";
7276
+ fresh: "fresh";
7560
7277
  }>>;
7561
- disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7562
- allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7563
- allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
7278
+ adapterName: _$zod.ZodString;
7564
7279
  }, _$zod_v4_core0.$strip>;
7565
7280
  response: _$zod.ZodObject<{
7566
7281
  id: _$zod.ZodString;
@@ -7575,8 +7290,8 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7575
7290
  model: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
7576
7291
  systemPrompt: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodString>>;
7577
7292
  contextMode: _$zod.ZodOptional<_$zod.ZodDefault<_$zod.ZodEnum<{
7578
- fresh: "fresh";
7579
7293
  fork: "fork";
7294
+ fresh: "fresh";
7580
7295
  }>>>;
7581
7296
  allowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
7582
7297
  disallowedTools: _$zod.ZodOptional<_$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>>;
@@ -7600,4 +7315,4 @@ declare const FrameworkServicesCoreNamespaces: readonly [_$_makaio_core0.BusName
7600
7315
  };
7601
7316
  }>];
7602
7317
  //#endregion
7603
- 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 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 };
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 };