@makaio/framework 1.0.0-dev-1781472900225 → 1.0.0-dev-1781729394463

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 (401) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{account-identity-D-9gunfD.mjs → account-identity-D5TUafYg.mjs} +1 -1
  3. package/dist/adapter-B5I7Wp4y.mjs +1 -0
  4. package/dist/adapters/config/index.d.mts +1 -1
  5. package/dist/adapters/config/index.mjs +1 -1
  6. package/dist/adapters/index.d.mts +3 -3
  7. package/dist/adapters/index.mjs +1 -1
  8. package/dist/adapters/node.d.mts +1 -1
  9. package/dist/adapters/node.mjs +1 -1
  10. package/dist/await-trigger-DcMVmNW5.mjs +1 -0
  11. package/dist/bus/index.d.mts +21 -21
  12. package/dist/bus/index.mjs +1 -1
  13. package/dist/bus-BgodbPl9.mjs +2 -0
  14. package/dist/bus-HgaFcCZ1.mjs +1 -0
  15. package/dist/canonical-model-BWGkgf3v.mjs +1 -0
  16. package/dist/{client-D24ebgGH.mjs → client-BO-0jTSV.mjs} +1 -1
  17. package/dist/compression-DMoeVgKx.mjs +1 -0
  18. package/dist/contracts/adapter/index.d.mts +2 -2
  19. package/dist/contracts/adapter/index.mjs +1 -1
  20. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  21. package/dist/contracts/artifact/index.d.mts +1 -1
  22. package/dist/contracts/canonical-model/index.d.mts +1 -1
  23. package/dist/contracts/canonical-model/index.mjs +1 -1
  24. package/dist/contracts/client/index.d.mts +2 -2
  25. package/dist/contracts/client/index.mjs +1 -1
  26. package/dist/contracts/common/index.d.mts +1 -1
  27. package/dist/contracts/config/index.d.mts +7 -7
  28. package/dist/contracts/config/index.mjs +1 -1
  29. package/dist/contracts/extension/index.d.mts +3 -3
  30. package/dist/contracts/extension/index.mjs +1 -1
  31. package/dist/contracts/facet/index.d.mts +1 -1
  32. package/dist/contracts/facet/index.mjs +1 -1
  33. package/dist/contracts/harness/index.d.mts +1 -1
  34. package/dist/contracts/harness/index.mjs +1 -1
  35. package/dist/contracts/host/index.d.mts +1 -1
  36. package/dist/contracts/host/index.mjs +1 -1
  37. package/dist/contracts/index.d.mts +208 -9719
  38. package/dist/contracts/index.mjs +1 -1
  39. package/dist/contracts/materialization/index.d.mts +3 -3
  40. package/dist/contracts/materialization/index.mjs +1 -1
  41. package/dist/contracts/model-registry/index.d.mts +1 -1
  42. package/dist/contracts/model-registry/index.mjs +1 -1
  43. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  44. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  45. package/dist/contracts/platform/index.d.mts +1 -1
  46. package/dist/contracts/platform/index.mjs +1 -1
  47. package/dist/contracts/provider/index.d.mts +3 -3
  48. package/dist/contracts/provider/index.mjs +1 -1
  49. package/dist/contracts/session/index.d.mts +3 -3
  50. package/dist/contracts/session/index.mjs +1 -1
  51. package/dist/contracts/shared/index.d.mts +2 -1
  52. package/dist/contracts/skill/index.d.mts +1 -1
  53. package/dist/contracts/skill/index.mjs +1 -1
  54. package/dist/contracts/telemetry/index.d.mts +1 -1
  55. package/dist/contracts/telemetry/index.mjs +1 -1
  56. package/dist/contracts/timeout/index.d.mts +1 -1
  57. package/dist/contracts/toast/index.mjs +1 -1
  58. package/dist/contracts/variant/index.d.mts +1 -1
  59. package/dist/contracts/variant/index.mjs +1 -1
  60. package/dist/contracts/workflow/index.d.mts +3 -0
  61. package/dist/contracts/workflow/index.mjs +1 -0
  62. package/dist/definition-BJ_975aA.mjs +1 -0
  63. package/dist/{definition-B2FH_eOh.d.mts → definition-Cllhr9mi.d.mts} +13 -2
  64. package/dist/{definition-CZcVOhXZ.d.mts → definition-b9jyJqPD.d.mts} +1 -1
  65. package/dist/{detached-extension-handle-BYxNmLfv.mjs → detached-extension-handle-Cx6-0eqg.mjs} +1 -1
  66. package/dist/drizzle/0020_m_mqf47r9j.sql +1 -0
  67. package/dist/drizzle/meta/_journal.json +7 -0
  68. package/dist/{extension-CTkoi8MV.mjs → extension-BJHRahFl.mjs} +1 -1
  69. package/dist/{extension-DNrcv3V7.mjs → extension-CfL70C5n.mjs} +1 -1
  70. package/dist/{filesystem-service-T8JOIWeP.mjs → filesystem-service-Bmyqo6po.mjs} +1 -1
  71. package/dist/git/index.mjs +1 -1
  72. package/dist/{globby-Bos1vjKj.mjs → globby-D4SANVoq.mjs} +1 -1
  73. package/dist/{handlers-Cpy9Q8ho.mjs → handlers-BAycjV02.mjs} +2 -2
  74. package/dist/{harness-HEpELa_v.mjs → harness-DkUpbsuY.mjs} +1 -1
  75. package/dist/{index-BafN3wmA.d.mts → index-BAQ6QBcU.d.mts} +18 -18
  76. package/dist/{index-DDAviCTa.d.mts → index-BEzRpWsS.d.mts} +393 -354
  77. package/dist/{index-CciZTbYG.d.mts → index-CW_LbXdg.d.mts} +4 -4
  78. package/dist/{index-DKR_B-Oa.d.mts → index-CYHWOXUm.d.mts} +1 -1
  79. package/dist/{index-CKaFWH2Q.d.mts → index-CZJc-V9L.d.mts} +40 -19
  80. package/dist/index-Cjo24O5I.d.mts +10036 -0
  81. package/dist/{index-C2XLjebs.d.mts → index-CmHdpW0E.d.mts} +4 -4
  82. package/dist/{index-nEJX7pZ7.d.mts → index-D1KPCXBN.d.mts} +3 -3
  83. package/dist/{index-6QvT0ljq.d.mts → index-D9-vOJvZ.d.mts} +1 -1
  84. package/dist/{index-DGbTPRLw.d.mts → index-DKNmj2sa.d.mts} +22 -22
  85. package/dist/{index-BQ8H7cvY.d.mts → index-DLNRgZPo2.d.mts} +1 -1
  86. package/dist/{index-xeg-bqxO.d.mts → index-DMz-2ACU.d.mts} +105 -105
  87. package/dist/{index-DUI1W-zN.d.mts → index-DTBQOCar.d.mts} +8 -8
  88. package/dist/{index-XzH0OovV.d.mts → index-DWKCb-eJ.d.mts} +2 -2
  89. package/dist/{index-BBteExwv.d.mts → index-DiifAKRu.d.mts} +11 -4
  90. package/dist/{index-ldkFQKNM.d.mts → index-Dw7ErgWU.d.mts} +10 -457
  91. package/dist/{index-BZuF4I8O.d.mts → index-NkNbYFud.d.mts} +1 -55
  92. package/dist/{index-DBd4CgV5.d.mts → index-aciWhUWw.d.mts} +393 -393
  93. package/dist/{index-BaajomEP.d.mts → index-kwq54nx4.d.mts} +15 -15
  94. package/dist/{index-DNmENr9M.d.mts → index-mU2lnU7O.d.mts} +6 -6
  95. package/dist/json-value-DtIkQN7g.d.mts +57 -0
  96. package/dist/kernel/cli/index.d.mts +2 -2
  97. package/dist/kernel/cli/index.mjs +1 -1
  98. package/dist/kernel/cli/register.d.mts +1 -1
  99. package/dist/kernel/cli/register.mjs +1 -1
  100. package/dist/kernel/cli/schemas.mjs +1 -1
  101. package/dist/kernel/extension/index.d.mts +1 -1
  102. package/dist/kernel/extension/index.mjs +1 -1
  103. package/dist/kernel/index.d.mts +5 -5
  104. package/dist/kernel/index.mjs +1 -1
  105. package/dist/kernel/namespace/index.d.mts +1 -1
  106. package/dist/kernel/namespace/index.mjs +1 -1
  107. package/dist/kernel/observability/index.d.mts +1 -1
  108. package/dist/kernel/observability/index.mjs +1 -1
  109. package/dist/kernel/providers/index.d.mts +1 -1
  110. package/dist/kernel/providers/index.mjs +1 -1
  111. package/dist/kernel/window/index.d.mts +1 -1
  112. package/dist/kernel/window/index.mjs +1 -1
  113. package/dist/{lib-DkLlhp9Z.mjs → lib-Ba55od_d.mjs} +3 -3
  114. package/dist/{lib-jOuIcSs9.mjs → lib-CM_BUxN8.mjs} +1 -1
  115. package/dist/{load-extensions-D-DyzN4j.mjs → load-extensions-Cze1RHcG.mjs} +1 -1
  116. package/dist/{load-extensions-CQqw0Smr.d.mts → load-extensions-DNRIy4zC.d.mts} +1 -1
  117. package/dist/loop-gate-handlers-CwU5zAGs.mjs +1 -0
  118. package/dist/mcp-http-server/index.mjs +1 -1
  119. package/dist/{namespace-Ba1gUpUu.d.mts → namespace-3yGm4WF9.d.mts} +2 -2
  120. package/dist/{namespace-D8fZyqIh.d.mts → namespace-B95uYmZB.d.mts} +30 -30
  121. package/dist/{namespace-BxrHvS5c.mjs → namespace-C-piH3w4.mjs} +1 -1
  122. package/dist/{namespace-BQgZChZl.d.mts → namespace-COEUMuHL.d.mts} +154 -154
  123. package/dist/{namespace-Q-z7Lr2f.d.mts → namespace-CTsfVI3H.d.mts} +3 -3
  124. package/dist/{namespace-vf2H23bo.d.mts → namespace-DYJZAGzR.d.mts} +76 -39
  125. package/dist/namespace-DibbhCPP.mjs +1 -0
  126. package/dist/{native-session-supervisor-DbrqcFq9.mjs → native-session-supervisor-7ElwM6Is.mjs} +1 -1
  127. package/dist/node/bus-server/index.d.mts +1 -1
  128. package/dist/node/bus-server/index.mjs +1 -1
  129. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  130. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  131. package/dist/{orchestrator-shared-yFP8e7d5.mjs → orchestrator-shared-Cxk3x8Vs.mjs} +1 -1
  132. package/dist/{package-fwIv7zzj.d.mts → package-MmQvNJ3u.d.mts} +1 -1
  133. package/dist/package-rdrXr17q.mjs +1 -0
  134. package/dist/package.json +1 -1
  135. package/dist/{profile-r4G32bCH.mjs → profile-BMBXUqqh.mjs} +1 -1
  136. package/dist/{provider-context-Ds6GNYnE.mjs → provider-context-DC_eq7es.mjs} +1 -1
  137. package/dist/provider-context-DjSUpHSM.mjs +1 -0
  138. package/dist/{providers-namespace-C0C-Sb4N.d.mts → providers-namespace-5GoTlHXz.d.mts} +7 -7
  139. package/dist/{registry-udUhXSIC.mjs → registry-U_3aYSin.mjs} +2 -1
  140. package/dist/rules/index.d.mts +1 -1
  141. package/dist/rules/index.mjs +1 -1
  142. package/dist/rules/schemas.d.mts +1 -1
  143. package/dist/runtime-bun/index.mjs +1 -1
  144. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  145. package/dist/runtime-node/extension-validation.d.mts +1 -1
  146. package/dist/runtime-node/extension-validation.mjs +1 -1
  147. package/dist/runtime-node/index.d.mts +3 -3
  148. package/dist/runtime-node/index.mjs +2 -2
  149. package/dist/runtime-node/makaio-config.d.mts +1 -1
  150. package/dist/runtime-node/makaio-config.mjs +1 -1
  151. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  152. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  153. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  154. package/dist/{schema-zLCdL-0u.d.mts → schema-B2bO5Yui.d.mts} +28 -2
  155. package/dist/{schema-atatXwNg.mjs → schema-D6WAI8OL.mjs} +1 -1
  156. package/dist/schemas-BWasvfw2.mjs +1 -0
  157. package/dist/{schemas-fEoe6H0K.d.mts → schemas-CDBn9MTz.d.mts} +154 -154
  158. package/dist/schemas-CE1gbhxu.mjs +1 -0
  159. package/dist/{schemas-IDGAJ_zv.d.mts → schemas-CscdPqCt.d.mts} +3 -3
  160. package/dist/{schemas-BbFAwUpf.d.mts → schemas-DMMWmWjq.d.mts} +1 -1
  161. package/dist/scoped-bus-H3xMYR0E.mjs +1 -0
  162. package/dist/services/adapter-runtime/index.d.mts +3 -3
  163. package/dist/services/adapter-runtime/index.mjs +1 -1
  164. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  165. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  166. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  167. package/dist/services/adapter-subsystem/index.mjs +1 -1
  168. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  169. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  170. package/dist/services/agent-runtime/index.d.mts +2 -2
  171. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  172. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  173. package/dist/services/capability/index.d.mts +1 -1
  174. package/dist/services/capability/index.mjs +1 -1
  175. package/dist/services/codebase/index.d.mts +2 -2
  176. package/dist/services/codebase/namespace.d.mts +1 -1
  177. package/dist/services/codebase/schemas.d.mts +1 -1
  178. package/dist/services/compression/index.d.mts +2 -2
  179. package/dist/services/compression/namespace.d.mts +1 -1
  180. package/dist/services/compression/schemas.d.mts +1 -1
  181. package/dist/services/context-rules/index.d.mts +1 -1
  182. package/dist/services/context-rules/index.mjs +1 -1
  183. package/dist/services/execution-target/index.d.mts +3 -3
  184. package/dist/services/execution-target/index.mjs +1 -1
  185. package/dist/services/execution-target/namespace.d.mts +1 -1
  186. package/dist/services/execution-target/schemas.d.mts +1 -1
  187. package/dist/services/filesystem/index.d.mts +1 -1
  188. package/dist/services/filesystem/index.mjs +1 -1
  189. package/dist/services/git/namespace.d.mts +2 -2
  190. package/dist/services/git/namespace.mjs +1 -1
  191. package/dist/services/git/schemas.d.mts +1 -1
  192. package/dist/services/git/schemas.mjs +1 -1
  193. package/dist/services/harness/index.d.mts +3 -3
  194. package/dist/services/harness/index.mjs +1 -1
  195. package/dist/services/index.d.mts +140 -140
  196. package/dist/services/index.mjs +1 -1
  197. package/dist/services/log-import/browser.d.mts +2 -2
  198. package/dist/services/log-import/index.d.mts +2 -2
  199. package/dist/services/log-import/log-import.d.mts +1 -1
  200. package/dist/services/log-import/log-import.mjs +1 -1
  201. package/dist/services/log-import/namespace.mjs +1 -1
  202. package/dist/services/log-import/schemas.mjs +1 -1
  203. package/dist/services/model-registry/index.d.mts +1 -1
  204. package/dist/services/model-registry/index.mjs +1 -1
  205. package/dist/services/preferences/index.d.mts +2 -2
  206. package/dist/services/preferences/schemas.d.mts +1 -1
  207. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  208. package/dist/services/provider-context/index.d.mts +1 -1
  209. package/dist/services/provider-context/index.mjs +1 -1
  210. package/dist/services/provider-runtime/index.mjs +1 -1
  211. package/dist/services/session/handlers/index.d.mts +1 -1
  212. package/dist/services/session/handlers/index.mjs +1 -1
  213. package/dist/services/session/index.d.mts +9 -9
  214. package/dist/services/session/index.mjs +1 -1
  215. package/dist/services/session/messages/namespace.d.mts +1 -1
  216. package/dist/services/session/messages/namespace.mjs +1 -1
  217. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  218. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  219. package/dist/services/session/session-events/namespace.d.mts +1 -1
  220. package/dist/services/session/session-events/namespace.mjs +1 -1
  221. package/dist/services/session/storage/namespace.d.mts +1 -1
  222. package/dist/services/session/storage/schema.d.mts +1 -1
  223. package/dist/services/session/storage/schema.mjs +1 -1
  224. package/dist/services/session/testing/index.mjs +2 -1
  225. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  226. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  227. package/dist/services/session/turns/namespace.d.mts +1 -1
  228. package/dist/services/session/turns/namespace.mjs +1 -1
  229. package/dist/services/session-editor/index.d.mts +1 -1
  230. package/dist/services/session-editor/index.mjs +1 -1
  231. package/dist/services/settings/index.d.mts +3 -3
  232. package/dist/services/settings/index.mjs +1 -1
  233. package/dist/services/settings/namespace.mjs +1 -1
  234. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  235. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  236. package/dist/services/settings/storage/index.d.mts +3 -3
  237. package/dist/services/settings/storage/index.mjs +1 -1
  238. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  239. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  240. package/dist/services/subagent/index.d.mts +1 -1
  241. package/dist/services/subagent/index.mjs +1 -1
  242. package/dist/services/subagent-template/index.d.mts +2 -2
  243. package/dist/services/subagent-template/namespace.d.mts +1 -1
  244. package/dist/services/subagent-template/schemas.d.mts +1 -1
  245. package/dist/services/tool-approval/index.d.mts +1 -1
  246. package/dist/services/tool-approval/index.mjs +1 -1
  247. package/dist/services/tools/index.d.mts +1 -1
  248. package/dist/services/tools/index.mjs +1 -1
  249. package/dist/services/tray-menu/index.d.mts +3 -3
  250. package/dist/services/tray-menu/index.mjs +1 -1
  251. package/dist/services/tray-menu/namespace.d.mts +1 -1
  252. package/dist/services/tray-menu/schemas.d.mts +1 -1
  253. package/dist/services/turn/index.d.mts +1 -1
  254. package/dist/services/turn/namespace.d.mts +1 -1
  255. package/dist/session-0nWT4st6.mjs +39 -0
  256. package/dist/session-Bey-bzcX.mjs +1 -0
  257. package/dist/{skill-B_VlGon5.mjs → skill-N-ttlp1i.mjs} +1 -1
  258. package/dist/{src-6n-8M8EU.mjs → src-Ck2sbaDa.mjs} +1 -1
  259. package/dist/storage/drizzle/client.d.mts +1 -1
  260. package/dist/storage/drizzle/client.mjs +1 -1
  261. package/dist/storage/drizzle/index.d.mts +1 -1
  262. package/dist/storage/drizzle/index.mjs +1 -1
  263. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  264. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  265. package/dist/storage/handlers/index.d.mts +1 -1
  266. package/dist/storage/handlers/index.mjs +1 -1
  267. package/dist/{tool-approval-service-B_28RhuK.mjs → tool-approval-service-DEQiipxj.mjs} +1 -1
  268. package/dist/{tools-BpzJterj.mjs → tools-uAgIrqan.mjs} +1 -1
  269. package/dist/transition-Coowd2dA.d.mts +454 -0
  270. package/dist/{types-BB8iIAjZ.d.mts → types-BslClRkH.d.mts} +1 -1
  271. package/dist/{types-DaznHkuE.d.mts → types-Cagp7JXb.d.mts} +279 -260
  272. package/dist/ui-kernel/index.d.mts +1 -1
  273. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  274. package/dist/{version-SYP_DX4M.mjs → version-DoV_pSzT.mjs} +1 -1
  275. package/dist/workflow-BCKOJ4UC.mjs +1 -0
  276. package/dist/workflow-engine/index.d.mts +61 -31
  277. package/dist/workflow-engine/index.mjs +1 -1
  278. package/dist/workflow-engine/package.d.mts +1 -1
  279. package/dist/workflow-engine/package.mjs +1 -1
  280. package/dist/workflow-engine/workflow-orchestrator.d.mts +3 -1
  281. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  282. package/dist/{workflow-worker-CjuRYLmJ.mjs → workflow-worker-CojIlB6k.mjs} +1 -1
  283. package/package.json +1 -1
  284. package/dist/adapter-ux2xaQ6H.mjs +0 -1
  285. package/dist/await-trigger-uKEHY8E4.mjs +0 -1
  286. package/dist/bus-EZNBPRYi.mjs +0 -2
  287. package/dist/bus-TDrZtNyc.mjs +0 -1
  288. package/dist/canonical-model-BE7t86yt.mjs +0 -1
  289. package/dist/compression-Cy9DIqyr.mjs +0 -1
  290. package/dist/definition-Bija4lGr.mjs +0 -1
  291. package/dist/namespace-CH_NWUKW.mjs +0 -1
  292. package/dist/package-lxB0vpby.mjs +0 -1
  293. package/dist/primitive-runtime-BSg8J7VX.mjs +0 -1
  294. package/dist/schemas-Dvm_0GDr.mjs +0 -1
  295. package/dist/scoped-bus-CRC3ba_l.mjs +0 -1
  296. package/dist/session-Is5VSP2V.mjs +0 -1
  297. package/dist/session-ZAJrcudH.mjs +0 -39
  298. /package/dist/{ajv-Cx19PP7Q.mjs → ajv-B5dPIck0.mjs} +0 -0
  299. /package/dist/{base-orchestrator-BRq4MXa7.d.mts → base-orchestrator-Cw0vpNgB.d.mts} +0 -0
  300. /package/dist/{capability-service-CHl8rrwb.mjs → capability-service-XlymTzz1.mjs} +0 -0
  301. /package/dist/{cleanEnvForAdapter-D32WnVuy.mjs → cleanEnvForAdapter-BooAgM2R.mjs} +0 -0
  302. /package/dist/{client-D2ZftNb6.d.mts → client-CebV_fZc.d.mts} +0 -0
  303. /package/dist/{clients-namespace-CeAB0t06.d.mts → clients-namespace-Bt_VTkEU.d.mts} +0 -0
  304. /package/dist/{config-namespace-DW5KHKPW.mjs → config-namespace-CY9leBnE.mjs} +0 -0
  305. /package/dist/{config-namespace-DloU-hNB.d.mts → config-namespace-DqdFE6zk.d.mts} +0 -0
  306. /package/dist/{create-static-mount-Bi0VpYS8.mjs → create-static-mount-DkK28kKW.mjs} +0 -0
  307. /package/dist/{cross-spawn-C58yEvsS.mjs → cross-spawn-CDXy3BjE.mjs} +0 -0
  308. /package/dist/{cursor-storage-CpuT5POU.mjs → cursor-storage-luQAg7E_.mjs} +0 -0
  309. /package/dist/{definition-BdxbXbrq.d.mts → definition-CuJvtYeG.d.mts} +0 -0
  310. /package/dist/{descriptor-to-package-D-FNxohm.mjs → descriptor-to-package-DdpjpT7n.mjs} +0 -0
  311. /package/dist/{drizzle-D7dkDEB5.mjs → drizzle-DVTAl7Us.mjs} +0 -0
  312. /package/dist/{esm-CP2zvvlx.mjs → esm-CQG9Pc7n.mjs} +0 -0
  313. /package/dist/{event-DaXakaHo.mjs → event-DguYjV6D.mjs} +0 -0
  314. /package/dist/{execution-target-Da6Vjvba.mjs → execution-target-BR8bLkCR.mjs} +0 -0
  315. /package/dist/{extension-discovery-Bv5FDtrM.d.mts → extension-discovery-CIZn5bkq.d.mts} +0 -0
  316. /package/dist/{extension-namespace-O3sKdnY9.mjs → extension-namespace-v3K0qVry.mjs} +0 -0
  317. /package/dist/{facet-Q_vgXb23.mjs → facet-BM4y4aQP.mjs} +0 -0
  318. /package/dist/{filesystem-service-89fN-2Dd.d.mts → filesystem-service-Cwp0sWNc.d.mts} +0 -0
  319. /package/dist/{handler-BIA3ld4C.mjs → handler-2bPhRn0u.mjs} +0 -0
  320. /package/dist/{host-DFqmG2qO.mjs → host-vY07gek-.mjs} +0 -0
  321. /package/dist/{identity-CA5MzB19.mjs → identity-BarL3JYI.mjs} +0 -0
  322. /package/dist/{index-BVhnqzDC2.d.mts → index-B92mToDo2.d.mts} +0 -0
  323. /package/dist/{index-9vCtepE32.d.mts → index-BWIkf5oJ.d.mts} +0 -0
  324. /package/dist/{index-cFuQpzIm.d.mts → index-BjoOSg95.d.mts} +0 -0
  325. /package/dist/{index-BeNVLvtk2.d.mts → index-BvLXySoB2.d.mts} +0 -0
  326. /package/dist/{index-DJSffYTW2.d.mts → index-C23g_M_J2.d.mts} +0 -0
  327. /package/dist/{index-kOSSuOcK.d.mts → index-C4nStEdA.d.mts} +0 -0
  328. /package/dist/{index-DHHKwLww.d.mts → index-COI1tjAf.d.mts} +0 -0
  329. /package/dist/{index-DLPjliGd.d.mts → index-CfIW5biI.d.mts} +0 -0
  330. /package/dist/{index-orAkFukT.d.mts → index-CpKikwK4.d.mts} +0 -0
  331. /package/dist/{index-CkPIPbx9.d.mts → index-Cr9lh21j.d.mts} +0 -0
  332. /package/dist/{index-CBTp2XuF.d.mts → index-CuHqL95P.d.mts} +0 -0
  333. /package/dist/{index-CfpfkKih.d.mts → index-D3ahzHwb.d.mts} +0 -0
  334. /package/dist/{index-BE-yMFTz.d.mts → index-D7Hkmrr3.d.mts} +0 -0
  335. /package/dist/{index-DWqSqcpW.d.mts → index-DOOrKin9.d.mts} +0 -0
  336. /package/dist/{index-CYZqADXY2.d.mts → index-DUD7wikz2.d.mts} +0 -0
  337. /package/dist/{index-BUilJdHr.d.mts → index-Dfi8Rorw.d.mts} +0 -0
  338. /package/dist/{index-BplsE3qw.d.mts → index-DtwGhFFQ.d.mts} +0 -0
  339. /package/dist/{index-DVgKfgh1.d.mts → index-OGIC4puQ.d.mts} +0 -0
  340. /package/dist/{index-D0RWuwl5.d.mts → index-Y8rMeYYX.d.mts} +0 -0
  341. /package/dist/{index-BtL_9HBk.d.mts → index-gAFwNiJT.d.mts} +0 -0
  342. /package/dist/{index-DdCyeZ59.d.mts → index-wq7XeqyG.d.mts} +0 -0
  343. /package/dist/{jsonl-transport-Bb8ltqOe.mjs → jsonl-transport-CGPgD8iU.mjs} +0 -0
  344. /package/dist/{lib-BmcGxHXH.mjs → lib-ZKtnbCqH.mjs} +0 -0
  345. /package/dist/{materialization-DsPIGQP1.mjs → materialization-DBXjSiBn.mjs} +0 -0
  346. /package/dist/{model-registry-DQDclqdw.mjs → model-registry-C2VXobZj.mjs} +0 -0
  347. /package/dist/{model-registry-DLeMw3l8.mjs → model-registry-rYICIwyR.mjs} +0 -0
  348. /package/dist/{namespace-CEqkI6Zu.d.mts → namespace-65uwTpbg.d.mts} +0 -0
  349. /package/dist/{namespace-6u1Uf-iw2.d.mts → namespace-6sIu5nBI2.d.mts} +0 -0
  350. /package/dist/{namespace-q5dD3acO.d.mts → namespace-B3ol3pc-.d.mts} +0 -0
  351. /package/dist/{namespace-DrpHLJAy.mjs → namespace-BO3tODGC.mjs} +0 -0
  352. /package/dist/{namespace-uGUGfpGQ.mjs → namespace-BdO4e1Fm.mjs} +0 -0
  353. /package/dist/{namespace-2G7A4Sza.d.mts → namespace-BsYKEMd8.d.mts} +0 -0
  354. /package/dist/{namespace-DMhz3yvr.d.mts → namespace-CQ8uza7o.d.mts} +0 -0
  355. /package/dist/{namespace-zWB-ULrX.mjs → namespace-CVMZVqB5.mjs} +0 -0
  356. /package/dist/{namespace-nQS4XwnT.d.mts → namespace-D2s-4pyg.d.mts} +0 -0
  357. /package/dist/{namespace-FJsnoEQy.mjs → namespace-DBHwyhME.mjs} +0 -0
  358. /package/dist/{namespace-CN-Llu7H.mjs → namespace-DYSFDC2G.mjs} +0 -0
  359. /package/dist/{namespace-DcUwOJ4f.d.mts → namespace-Dk4OslmY.d.mts} +0 -0
  360. /package/dist/{namespace-B1Bldc48.d.mts → namespace-KMxsPJwm.d.mts} +0 -0
  361. /package/dist/{namespace-DKnJL0Ja.d.mts → namespace-LUNf8zo5.d.mts} +0 -0
  362. /package/dist/{namespace-UUw-S7ia.mjs → namespace-wke7juzy.mjs} +0 -0
  363. /package/dist/{orchestrator-shared-CbS4ueeq.d.mts → orchestrator-shared-ChOdIgh6.d.mts} +0 -0
  364. /package/dist/{out-BUHr98Xe.mjs → out-BoEZjBNz.mjs} +0 -0
  365. /package/dist/{package-YQeRE8bV.mjs → package-CF_Zm2v4.mjs} +0 -0
  366. /package/dist/{platform-CsO-MRJP.mjs → platform-DnbSvm2u.mjs} +0 -0
  367. /package/dist/{providers-FEZT2bQG.mjs → providers-Bd7BOZs0.mjs} +0 -0
  368. /package/dist/{quick-lru-C7AXdpbU.mjs → quick-lru-6e7I1Bgf.mjs} +0 -0
  369. /package/dist/{schema-Ba64XQjo.mjs → schema-DHlTAy0N.mjs} +0 -0
  370. /package/dist/{schema-introspection-D5FaI5B_.mjs → schema-introspection-B7xODt4I.mjs} +0 -0
  371. /package/dist/{schemas-9QC3nvYP.mjs → schemas-ArqQTC0Q.mjs} +0 -0
  372. /package/dist/{schemas-DznsZ0bq.d.mts → schemas-B6tEKf9T.d.mts} +0 -0
  373. /package/dist/{schemas-CRS7tkFP.d.mts → schemas-BemsLc_V.d.mts} +0 -0
  374. /package/dist/{schemas-C5iazMbM2.d.mts → schemas-ByssHRGU2.d.mts} +0 -0
  375. /package/dist/{schemas-5kegIs9D.mjs → schemas-CPI00yvh.mjs} +0 -0
  376. /package/dist/{schemas-Cae5dubB.d.mts → schemas-D4zaFE2p.d.mts} +0 -0
  377. /package/dist/{schemas-9Ifo5zSf.d.mts → schemas-DKncXGnb.d.mts} +0 -0
  378. /package/dist/{schemas-DZfBym73.d.mts → schemas-DWfo0wp4.d.mts} +0 -0
  379. /package/dist/{schemas-BxI5Yq8d.d.mts → schemas-DmGRSeIq.d.mts} +0 -0
  380. /package/dist/{schemas-BSAKbVyd.d.mts → schemas-KlH1hB7u.d.mts} +0 -0
  381. /package/dist/{schemas-DAYPhB5K.mjs → schemas-XeIBqwvE.mjs} +0 -0
  382. /package/dist/{semver-ClOD8k8c.mjs → semver-CIhHqMkw.mjs} +0 -0
  383. /package/dist/{server-lifecycle-CFQaPTf7.mjs → server-lifecycle-C5Z5PSMD.mjs} +0 -0
  384. /package/dist/{server-lifecycle-5iHxcgBO.d.mts → server-lifecycle-_AA6EfzL.d.mts} +0 -0
  385. /package/dist/{session-lineage-D_8W1MI0.d.mts → session-lineage-Cht4jbvV.d.mts} +0 -0
  386. /package/dist/{shared-schemas-jG3EtHZT.mjs → shared-schemas-BEVG96xW.mjs} +0 -0
  387. /package/dist/{src-CRDOZl7K.mjs → src-_VODAJnf.mjs} +0 -0
  388. /package/dist/{storage-namespace-C1JVmZF1.mjs → storage-namespace-D5q9CrBp.mjs} +0 -0
  389. /package/dist/{storage-namespace-gey7EUhM.d.mts → storage-namespace-Di1A3DMm.d.mts} +0 -0
  390. /package/dist/{storage-namespace-definition-BPYSLTfN.d.mts → storage-namespace-definition-BffdI5Bz.d.mts} +0 -0
  391. /package/dist/{storage-namespace-definition-Df8S3E3r.mjs → storage-namespace-definition-CzXPW45M.mjs} +0 -0
  392. /package/dist/{supports-color-AnssSSH9.mjs → supports-color-DcXkvGDF.mjs} +0 -0
  393. /package/dist/{telemetry-DdbvlZ8s.mjs → telemetry-Cvi4rxiE.mjs} +0 -0
  394. /package/dist/{tray-menu-service-am356993.mjs → tray-menu-service-B2AxiQqL.mjs} +0 -0
  395. /package/dist/{types-DhlQpVEb.d.mts → types-BMS6yfLS.d.mts} +0 -0
  396. /package/dist/{types-xLd-e0wf.d.mts → types-Bo78h9e3.d.mts} +0 -0
  397. /package/dist/{types-D-GeeSdd.d.mts → types-CPmOg4X7.d.mts} +0 -0
  398. /package/dist/{types-Bj7cOrBQ.d.mts → types-DCvp_swt.d.mts} +0 -0
  399. /package/dist/{variant-BdNN5edM.mjs → variant-5huHjUTm.mjs} +0 -0
  400. /package/dist/{window-registry-LRjWPwr4.mjs → window-registry-PkrFIwX2.mjs} +0 -0
  401. /package/dist/{window-registry-CA6AC8n7.d.mts → window-registry-ofIUQnfo.d.mts} +0 -0
@@ -1,5 +1,6 @@
1
1
  import * as _$zod from "zod";
2
2
  import * as _$_makaio_core0 from "@makaio/framework/core";
3
+ import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
3
4
  import { SessionPreviewData, SessionPreviewDataSchema, SessionStorageSubjects as SessionStorageSubjects$1, SessionWithPreview, SessionWithPreviewSchema } from "@makaio/framework/contracts";
4
5
  import * as _$drizzle_orm_sqlite_core0 from "drizzle-orm/sqlite-core";
5
6
  import * as _$zod_v4_core0 from "zod/v4/core";
@@ -87,7 +88,7 @@ declare const SessionStorageNamespace$1: {
87
88
  tableName: "sessions";
88
89
  dataType: "string";
89
90
  columnType: "SQLiteText";
90
- data: "discovered" | "closed" | "active" | "archived";
91
+ data: "closed" | "discovered" | "active" | "archived";
91
92
  driverParam: string;
92
93
  notNull: true;
93
94
  hasDefault: false;
@@ -494,6 +495,25 @@ declare const SessionStorageNamespace$1: {
494
495
  }, {}, {
495
496
  length: number | undefined;
496
497
  }>;
498
+ metadata: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
499
+ name: string;
500
+ tableName: "sessions";
501
+ dataType: "json";
502
+ columnType: "SQLiteTextJson";
503
+ data: Record<string, _$_makaio_contracts0.JsonValue>;
504
+ driverParam: string;
505
+ notNull: false;
506
+ hasDefault: false;
507
+ isPrimaryKey: false;
508
+ isAutoincrement: false;
509
+ hasRuntimeDefault: false;
510
+ enumValues: undefined;
511
+ baseColumn: never;
512
+ identity: undefined;
513
+ generated: undefined;
514
+ }, {}, {
515
+ $type: Record<string, _$_makaio_contracts0.JsonValue>;
516
+ }>;
497
517
  spawningToolCallId: _$drizzle_orm_sqlite_core0.SQLiteColumn<{
498
518
  name: "spawning_tool_call_id";
499
519
  tableName: "sessions";
@@ -903,7 +923,7 @@ declare const SessionStorageNamespace$1: {
903
923
  tableName: "agents";
904
924
  dataType: "string";
905
925
  columnType: "SQLiteText";
906
- data: "idle" | "active" | "dead" | "disposed";
926
+ data: "active" | "idle" | "dead" | "disposed";
907
927
  driverParam: string;
908
928
  notNull: true;
909
929
  hasDefault: false;
@@ -992,8 +1012,8 @@ declare const SessionStorageNamespace$1: {
992
1012
  member: "member";
993
1013
  }>;
994
1014
  status: _$zod.ZodEnum<{
995
- idle: "idle";
996
1015
  active: "active";
1016
+ idle: "idle";
997
1017
  dead: "dead";
998
1018
  disposed: "disposed";
999
1019
  }>;
@@ -1001,8 +1021,8 @@ declare const SessionStorageNamespace$1: {
1001
1021
  lastActivityAt: _$zod.ZodNumber;
1002
1022
  }, _$zod_v4_core0.$strip>>;
1003
1023
  status: _$zod.ZodEnum<{
1004
- discovered: "discovered";
1005
1024
  closed: "closed";
1025
+ discovered: "discovered";
1006
1026
  active: "active";
1007
1027
  archived: "archived";
1008
1028
  }>;
@@ -1068,6 +1088,7 @@ declare const SessionStorageNamespace$1: {
1068
1088
  "always-ask": "always-ask";
1069
1089
  "full-access": "full-access";
1070
1090
  }>>>;
1091
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1071
1092
  source: _$zod.ZodOptional<_$zod.ZodString>;
1072
1093
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1073
1094
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1111,8 +1132,8 @@ declare const SessionStorageNamespace$1: {
1111
1132
  member: "member";
1112
1133
  }>;
1113
1134
  status: _$zod.ZodEnum<{
1114
- idle: "idle";
1115
1135
  active: "active";
1136
+ idle: "idle";
1116
1137
  dead: "dead";
1117
1138
  disposed: "disposed";
1118
1139
  }>;
@@ -1120,8 +1141,8 @@ declare const SessionStorageNamespace$1: {
1120
1141
  lastActivityAt: _$zod.ZodNumber;
1121
1142
  }, _$zod_v4_core0.$strip>>;
1122
1143
  status: _$zod.ZodEnum<{
1123
- discovered: "discovered";
1124
1144
  closed: "closed";
1145
+ discovered: "discovered";
1125
1146
  active: "active";
1126
1147
  archived: "archived";
1127
1148
  }>;
@@ -1187,6 +1208,7 @@ declare const SessionStorageNamespace$1: {
1187
1208
  "always-ask": "always-ask";
1188
1209
  "full-access": "full-access";
1189
1210
  }>>>;
1211
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1190
1212
  source: _$zod.ZodOptional<_$zod.ZodString>;
1191
1213
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1192
1214
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1216,8 +1238,8 @@ declare const SessionStorageNamespace$1: {
1216
1238
  request: _$zod.ZodObject<{
1217
1239
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1218
1240
  all: "all";
1219
- discovered: "discovered";
1220
1241
  closed: "closed";
1242
+ discovered: "discovered";
1221
1243
  active: "active";
1222
1244
  archived: "archived";
1223
1245
  }>>;
@@ -1255,8 +1277,8 @@ declare const SessionStorageNamespace$1: {
1255
1277
  member: "member";
1256
1278
  }>;
1257
1279
  status: _$zod.ZodEnum<{
1258
- idle: "idle";
1259
1280
  active: "active";
1281
+ idle: "idle";
1260
1282
  dead: "dead";
1261
1283
  disposed: "disposed";
1262
1284
  }>;
@@ -1264,8 +1286,8 @@ declare const SessionStorageNamespace$1: {
1264
1286
  lastActivityAt: _$zod.ZodNumber;
1265
1287
  }, _$zod_v4_core0.$strip>>;
1266
1288
  status: _$zod.ZodEnum<{
1267
- discovered: "discovered";
1268
1289
  closed: "closed";
1290
+ discovered: "discovered";
1269
1291
  active: "active";
1270
1292
  archived: "archived";
1271
1293
  }>;
@@ -1331,6 +1353,7 @@ declare const SessionStorageNamespace$1: {
1331
1353
  "always-ask": "always-ask";
1332
1354
  "full-access": "full-access";
1333
1355
  }>>>;
1356
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1334
1357
  source: _$zod.ZodOptional<_$zod.ZodString>;
1335
1358
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1336
1359
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1378,8 +1401,8 @@ declare const SessionStorageNamespace$1: {
1378
1401
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
1379
1402
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1380
1403
  all: "all";
1381
- discovered: "discovered";
1382
1404
  closed: "closed";
1405
+ discovered: "discovered";
1383
1406
  active: "active";
1384
1407
  archived: "archived";
1385
1408
  }>>;
@@ -1414,8 +1437,8 @@ declare const SessionStorageNamespace$1: {
1414
1437
  member: "member";
1415
1438
  }>;
1416
1439
  status: _$zod.ZodEnum<{
1417
- idle: "idle";
1418
1440
  active: "active";
1441
+ idle: "idle";
1419
1442
  dead: "dead";
1420
1443
  disposed: "disposed";
1421
1444
  }>;
@@ -1423,8 +1446,8 @@ declare const SessionStorageNamespace$1: {
1423
1446
  lastActivityAt: _$zod.ZodNumber;
1424
1447
  }, _$zod_v4_core0.$strip>>;
1425
1448
  status: _$zod.ZodEnum<{
1426
- discovered: "discovered";
1427
1449
  closed: "closed";
1450
+ discovered: "discovered";
1428
1451
  active: "active";
1429
1452
  archived: "archived";
1430
1453
  }>;
@@ -1490,6 +1513,7 @@ declare const SessionStorageNamespace$1: {
1490
1513
  "always-ask": "always-ask";
1491
1514
  "full-access": "full-access";
1492
1515
  }>>>;
1516
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1493
1517
  source: _$zod.ZodOptional<_$zod.ZodString>;
1494
1518
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1495
1519
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1511,8 +1535,8 @@ declare const SessionStorageNamespace$1: {
1511
1535
  request: _$zod.ZodObject<{
1512
1536
  sessionId: _$zod.ZodString;
1513
1537
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
1514
- discovered: "discovered";
1515
1538
  closed: "closed";
1539
+ discovered: "discovered";
1516
1540
  active: "active";
1517
1541
  archived: "archived";
1518
1542
  }>>;
@@ -1552,6 +1576,7 @@ declare const SessionStorageNamespace$1: {
1552
1576
  targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
1553
1577
  createdAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1554
1578
  lastActivityAt: _$zod.ZodOptional<_$zod.ZodNumber>;
1579
+ metadata: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>>;
1555
1580
  spawningToolCallId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
1556
1581
  }, _$zod_v4_core0.$strip>;
1557
1582
  response: _$zod.ZodObject<{
@@ -1594,8 +1619,8 @@ declare const SessionStorageNamespace$1: {
1594
1619
  member: "member";
1595
1620
  }>;
1596
1621
  status: _$zod.ZodEnum<{
1597
- idle: "idle";
1598
1622
  active: "active";
1623
+ idle: "idle";
1599
1624
  dead: "dead";
1600
1625
  disposed: "disposed";
1601
1626
  }>;
@@ -1603,8 +1628,8 @@ declare const SessionStorageNamespace$1: {
1603
1628
  lastActivityAt: _$zod.ZodNumber;
1604
1629
  }, _$zod_v4_core0.$strip>>;
1605
1630
  status: _$zod.ZodEnum<{
1606
- discovered: "discovered";
1607
1631
  closed: "closed";
1632
+ discovered: "discovered";
1608
1633
  active: "active";
1609
1634
  archived: "archived";
1610
1635
  }>;
@@ -1670,6 +1695,7 @@ declare const SessionStorageNamespace$1: {
1670
1695
  "always-ask": "always-ask";
1671
1696
  "full-access": "full-access";
1672
1697
  }>>>;
1698
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1673
1699
  source: _$zod.ZodOptional<_$zod.ZodString>;
1674
1700
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1675
1701
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1780,8 +1806,8 @@ declare const SessionStorageNamespace$1: {
1780
1806
  member: "member";
1781
1807
  }>;
1782
1808
  status: _$zod.ZodEnum<{
1783
- idle: "idle";
1784
1809
  active: "active";
1810
+ idle: "idle";
1785
1811
  dead: "dead";
1786
1812
  disposed: "disposed";
1787
1813
  }>;
@@ -1789,8 +1815,8 @@ declare const SessionStorageNamespace$1: {
1789
1815
  lastActivityAt: _$zod.ZodNumber;
1790
1816
  }, _$zod_v4_core0.$strip>>;
1791
1817
  status: _$zod.ZodEnum<{
1792
- discovered: "discovered";
1793
1818
  closed: "closed";
1819
+ discovered: "discovered";
1794
1820
  active: "active";
1795
1821
  archived: "archived";
1796
1822
  }>;
@@ -1856,6 +1882,7 @@ declare const SessionStorageNamespace$1: {
1856
1882
  "always-ask": "always-ask";
1857
1883
  "full-access": "full-access";
1858
1884
  }>>>;
1885
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1859
1886
  source: _$zod.ZodOptional<_$zod.ZodString>;
1860
1887
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1861
1888
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1906,8 +1933,8 @@ declare const SessionStorageNamespace$1: {
1906
1933
  member: "member";
1907
1934
  }>;
1908
1935
  status: _$zod.ZodEnum<{
1909
- idle: "idle";
1910
1936
  active: "active";
1937
+ idle: "idle";
1911
1938
  dead: "dead";
1912
1939
  disposed: "disposed";
1913
1940
  }>;
@@ -1915,8 +1942,8 @@ declare const SessionStorageNamespace$1: {
1915
1942
  lastActivityAt: _$zod.ZodNumber;
1916
1943
  }, _$zod_v4_core0.$strip>>;
1917
1944
  status: _$zod.ZodEnum<{
1918
- discovered: "discovered";
1919
1945
  closed: "closed";
1946
+ discovered: "discovered";
1920
1947
  active: "active";
1921
1948
  archived: "archived";
1922
1949
  }>;
@@ -1982,6 +2009,7 @@ declare const SessionStorageNamespace$1: {
1982
2009
  "always-ask": "always-ask";
1983
2010
  "full-access": "full-access";
1984
2011
  }>>>;
2012
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
1985
2013
  source: _$zod.ZodOptional<_$zod.ZodString>;
1986
2014
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1987
2015
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2053,8 +2081,8 @@ declare const SessionStorageNamespace$1: {
2053
2081
  member: "member";
2054
2082
  }>;
2055
2083
  status: _$zod.ZodEnum<{
2056
- idle: "idle";
2057
2084
  active: "active";
2085
+ idle: "idle";
2058
2086
  dead: "dead";
2059
2087
  disposed: "disposed";
2060
2088
  }>;
@@ -2062,8 +2090,8 @@ declare const SessionStorageNamespace$1: {
2062
2090
  lastActivityAt: _$zod.ZodNumber;
2063
2091
  }, _$zod_v4_core0.$strip>>;
2064
2092
  status: _$zod.ZodEnum<{
2065
- discovered: "discovered";
2066
2093
  closed: "closed";
2094
+ discovered: "discovered";
2067
2095
  active: "active";
2068
2096
  archived: "archived";
2069
2097
  }>;
@@ -2129,6 +2157,7 @@ declare const SessionStorageNamespace$1: {
2129
2157
  "always-ask": "always-ask";
2130
2158
  "full-access": "full-access";
2131
2159
  }>>>;
2160
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
2132
2161
  source: _$zod.ZodOptional<_$zod.ZodString>;
2133
2162
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2134
2163
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2172,8 +2201,8 @@ declare const SessionStorageNamespace$1: {
2172
2201
  member: "member";
2173
2202
  }>;
2174
2203
  status: _$zod.ZodEnum<{
2175
- idle: "idle";
2176
2204
  active: "active";
2205
+ idle: "idle";
2177
2206
  dead: "dead";
2178
2207
  disposed: "disposed";
2179
2208
  }>;
@@ -2181,8 +2210,8 @@ declare const SessionStorageNamespace$1: {
2181
2210
  lastActivityAt: _$zod.ZodNumber;
2182
2211
  }, _$zod_v4_core0.$strip>>;
2183
2212
  status: _$zod.ZodEnum<{
2184
- discovered: "discovered";
2185
2213
  closed: "closed";
2214
+ discovered: "discovered";
2186
2215
  active: "active";
2187
2216
  archived: "archived";
2188
2217
  }>;
@@ -2248,6 +2277,7 @@ declare const SessionStorageNamespace$1: {
2248
2277
  "always-ask": "always-ask";
2249
2278
  "full-access": "full-access";
2250
2279
  }>>>;
2280
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
2251
2281
  source: _$zod.ZodOptional<_$zod.ZodString>;
2252
2282
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2253
2283
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2277,8 +2307,8 @@ declare const SessionStorageNamespace$1: {
2277
2307
  request: _$zod.ZodObject<{
2278
2308
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2279
2309
  all: "all";
2280
- discovered: "discovered";
2281
2310
  closed: "closed";
2311
+ discovered: "discovered";
2282
2312
  active: "active";
2283
2313
  archived: "archived";
2284
2314
  }>>;
@@ -2316,8 +2346,8 @@ declare const SessionStorageNamespace$1: {
2316
2346
  member: "member";
2317
2347
  }>;
2318
2348
  status: _$zod.ZodEnum<{
2319
- idle: "idle";
2320
2349
  active: "active";
2350
+ idle: "idle";
2321
2351
  dead: "dead";
2322
2352
  disposed: "disposed";
2323
2353
  }>;
@@ -2325,8 +2355,8 @@ declare const SessionStorageNamespace$1: {
2325
2355
  lastActivityAt: _$zod.ZodNumber;
2326
2356
  }, _$zod_v4_core0.$strip>>;
2327
2357
  status: _$zod.ZodEnum<{
2328
- discovered: "discovered";
2329
2358
  closed: "closed";
2359
+ discovered: "discovered";
2330
2360
  active: "active";
2331
2361
  archived: "archived";
2332
2362
  }>;
@@ -2392,6 +2422,7 @@ declare const SessionStorageNamespace$1: {
2392
2422
  "always-ask": "always-ask";
2393
2423
  "full-access": "full-access";
2394
2424
  }>>>;
2425
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
2395
2426
  source: _$zod.ZodOptional<_$zod.ZodString>;
2396
2427
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2397
2428
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2439,8 +2470,8 @@ declare const SessionStorageNamespace$1: {
2439
2470
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
2440
2471
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2441
2472
  all: "all";
2442
- discovered: "discovered";
2443
2473
  closed: "closed";
2474
+ discovered: "discovered";
2444
2475
  active: "active";
2445
2476
  archived: "archived";
2446
2477
  }>>;
@@ -2475,8 +2506,8 @@ declare const SessionStorageNamespace$1: {
2475
2506
  member: "member";
2476
2507
  }>;
2477
2508
  status: _$zod.ZodEnum<{
2478
- idle: "idle";
2479
2509
  active: "active";
2510
+ idle: "idle";
2480
2511
  dead: "dead";
2481
2512
  disposed: "disposed";
2482
2513
  }>;
@@ -2484,8 +2515,8 @@ declare const SessionStorageNamespace$1: {
2484
2515
  lastActivityAt: _$zod.ZodNumber;
2485
2516
  }, _$zod_v4_core0.$strip>>;
2486
2517
  status: _$zod.ZodEnum<{
2487
- discovered: "discovered";
2488
2518
  closed: "closed";
2519
+ discovered: "discovered";
2489
2520
  active: "active";
2490
2521
  archived: "archived";
2491
2522
  }>;
@@ -2551,6 +2582,7 @@ declare const SessionStorageNamespace$1: {
2551
2582
  "always-ask": "always-ask";
2552
2583
  "full-access": "full-access";
2553
2584
  }>>>;
2585
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
2554
2586
  source: _$zod.ZodOptional<_$zod.ZodString>;
2555
2587
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2556
2588
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2572,8 +2604,8 @@ declare const SessionStorageNamespace$1: {
2572
2604
  request: _$zod.ZodObject<{
2573
2605
  sessionId: _$zod.ZodString;
2574
2606
  status: _$zod.ZodOptional<_$zod.ZodEnum<{
2575
- discovered: "discovered";
2576
2607
  closed: "closed";
2608
+ discovered: "discovered";
2577
2609
  active: "active";
2578
2610
  archived: "archived";
2579
2611
  }>>;
@@ -2613,6 +2645,7 @@ declare const SessionStorageNamespace$1: {
2613
2645
  targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
2614
2646
  createdAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2615
2647
  lastActivityAt: _$zod.ZodOptional<_$zod.ZodNumber>;
2648
+ metadata: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>>;
2616
2649
  spawningToolCallId: _$zod.ZodOptional<_$zod.ZodNullable<_$zod.ZodString>>;
2617
2650
  }, _$zod_v4_core0.$strip>;
2618
2651
  response: _$zod.ZodObject<{
@@ -2655,8 +2688,8 @@ declare const SessionStorageNamespace$1: {
2655
2688
  member: "member";
2656
2689
  }>;
2657
2690
  status: _$zod.ZodEnum<{
2658
- idle: "idle";
2659
2691
  active: "active";
2692
+ idle: "idle";
2660
2693
  dead: "dead";
2661
2694
  disposed: "disposed";
2662
2695
  }>;
@@ -2664,8 +2697,8 @@ declare const SessionStorageNamespace$1: {
2664
2697
  lastActivityAt: _$zod.ZodNumber;
2665
2698
  }, _$zod_v4_core0.$strip>>;
2666
2699
  status: _$zod.ZodEnum<{
2667
- discovered: "discovered";
2668
2700
  closed: "closed";
2701
+ discovered: "discovered";
2669
2702
  active: "active";
2670
2703
  archived: "archived";
2671
2704
  }>;
@@ -2731,6 +2764,7 @@ declare const SessionStorageNamespace$1: {
2731
2764
  "always-ask": "always-ask";
2732
2765
  "full-access": "full-access";
2733
2766
  }>>>;
2767
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
2734
2768
  source: _$zod.ZodOptional<_$zod.ZodString>;
2735
2769
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2736
2770
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2841,8 +2875,8 @@ declare const SessionStorageNamespace$1: {
2841
2875
  member: "member";
2842
2876
  }>;
2843
2877
  status: _$zod.ZodEnum<{
2844
- idle: "idle";
2845
2878
  active: "active";
2879
+ idle: "idle";
2846
2880
  dead: "dead";
2847
2881
  disposed: "disposed";
2848
2882
  }>;
@@ -2850,8 +2884,8 @@ declare const SessionStorageNamespace$1: {
2850
2884
  lastActivityAt: _$zod.ZodNumber;
2851
2885
  }, _$zod_v4_core0.$strip>>;
2852
2886
  status: _$zod.ZodEnum<{
2853
- discovered: "discovered";
2854
2887
  closed: "closed";
2888
+ discovered: "discovered";
2855
2889
  active: "active";
2856
2890
  archived: "archived";
2857
2891
  }>;
@@ -2917,6 +2951,7 @@ declare const SessionStorageNamespace$1: {
2917
2951
  "always-ask": "always-ask";
2918
2952
  "full-access": "full-access";
2919
2953
  }>>>;
2954
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
2920
2955
  source: _$zod.ZodOptional<_$zod.ZodString>;
2921
2956
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
2922
2957
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2967,8 +3002,8 @@ declare const SessionStorageNamespace$1: {
2967
3002
  member: "member";
2968
3003
  }>;
2969
3004
  status: _$zod.ZodEnum<{
2970
- idle: "idle";
2971
3005
  active: "active";
3006
+ idle: "idle";
2972
3007
  dead: "dead";
2973
3008
  disposed: "disposed";
2974
3009
  }>;
@@ -2976,8 +3011,8 @@ declare const SessionStorageNamespace$1: {
2976
3011
  lastActivityAt: _$zod.ZodNumber;
2977
3012
  }, _$zod_v4_core0.$strip>>;
2978
3013
  status: _$zod.ZodEnum<{
2979
- discovered: "discovered";
2980
3014
  closed: "closed";
3015
+ discovered: "discovered";
2981
3016
  active: "active";
2982
3017
  archived: "archived";
2983
3018
  }>;
@@ -3043,6 +3078,7 @@ declare const SessionStorageNamespace$1: {
3043
3078
  "always-ask": "always-ask";
3044
3079
  "full-access": "full-access";
3045
3080
  }>>>;
3081
+ metadata: _$zod.ZodOptional<_$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>>;
3046
3082
  source: _$zod.ZodOptional<_$zod.ZodString>;
3047
3083
  parentExternalSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3048
3084
  logFilePath: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3083,7 +3119,7 @@ declare const SessionStorageNamespace$1: {
3083
3119
  options?: _$_makaio_core0.NamespaceRegistrationOptions;
3084
3120
  defaultTransports?: _$_makaio_core0.TransportRoutingDefault;
3085
3121
  __filterPayload?: {
3086
- [x: string]: string | number | boolean | {
3122
+ [x: string]: string | number | boolean | Record<string, _$_makaio_contracts0.JsonValue> | {
3087
3123
  clientId: string;
3088
3124
  source: string;
3089
3125
  kind: string;
@@ -3099,7 +3135,7 @@ declare const SessionStorageNamespace$1: {
3099
3135
  adapterName: string;
3100
3136
  sessionId: string;
3101
3137
  role: "lead" | "member";
3102
- status: "idle" | "active" | "dead" | "disposed";
3138
+ status: "active" | "idle" | "dead" | "disposed";
3103
3139
  createdAt: number;
3104
3140
  lastActivityAt: number;
3105
3141
  adapterSessionId?: string | undefined;
@@ -3113,7 +3149,7 @@ declare const SessionStorageNamespace$1: {
3113
3149
  clientId?: string | undefined;
3114
3150
  compressionMode?: "auto" | "manual" | "off" | undefined;
3115
3151
  }[];
3116
- status: "discovered" | "closed" | "active" | "archived";
3152
+ status: "closed" | "discovered" | "active" | "archived";
3117
3153
  leadAgentId?: string | undefined;
3118
3154
  parentSessionId?: string | undefined;
3119
3155
  contextInheritance?: "none" | "parent-history" | undefined;
@@ -3157,6 +3193,7 @@ declare const SessionStorageNamespace$1: {
3157
3193
  executionTargetId?: string | undefined;
3158
3194
  spawningToolCallId?: string | undefined;
3159
3195
  approvalPolicyOverride?: "reject" | "always-ask" | "full-access" | null | undefined;
3196
+ metadata?: Record<string, _$_makaio_contracts0.JsonValue> | undefined;
3160
3197
  source?: string | undefined;
3161
3198
  parentExternalSessionId?: string | undefined;
3162
3199
  logFilePath?: string | undefined;
@@ -0,0 +1 @@
1
+ import{t as e}from"./schemas-CPI00yvh.mjs";import{createBusNamespace as t}from"@makaio/framework/core";const n=t(`kernel:cli`,e),r=n.subjects;export{r as n,n as t};
@@ -1 +1 @@
1
- import{r as e}from"./profile-r4G32bCH.mjs";import{z as t}from"zod";import{createBusNamespace as n}from"@makaio/framework/core";const r=t.enum([`running`,`stopped`,`exited`,`unknown`]),i={request:t.object({clientId:t.string(),cwd:t.string(),command:t.string(),args:t.array(t.string()),env:t.record(t.string(),t.string()).optional(),sessionId:t.string().optional(),clientProfileName:e.optional(),adapterSessionId:t.string().optional(),metadata:t.record(t.string(),t.unknown()).optional()}),response:t.object({supervisorSessionId:t.string(),pid:t.number().int().positive()})},a={request:t.union([t.object({supervisorSessionId:t.string()}).strict(),t.object({sessionId:t.string()}).strict(),t.object({adapterSessionId:t.string()}).strict()]),response:t.object({success:t.boolean(),supervisorSessionId:t.string().optional(),pid:t.number().int().positive().optional(),terminalAttachment:t.object({canAttach:t.boolean()}).optional()})},o={request:t.object({supervisorSessionId:t.string(),signal:t.string().optional()}),response:t.object({success:t.boolean()})},s=t.object({supervisorSessionId:t.string(),clientId:t.string(),pid:t.number().int().positive().nullable(),status:r,cwd:t.string(),sessionId:t.string().optional(),adapterSessionId:t.string().optional(),startedAt:t.number().int().nonnegative(),stoppedAt:t.number().int().nonnegative().optional()}),c={request:t.union([t.object({}).strict(),t.object({supervisorSessionId:t.string()}).strict(),t.object({sessionId:t.string()}).strict(),t.object({adapterSessionId:t.string()}).strict()]),response:t.object({runtimes:t.array(s)})},l={launch:i,attach:a,stop:o,status:c},u=n(`native-session-supervisor`,l),d=u.subjects;export{i as a,s as c,a as i,r as l,d as n,c as o,l as r,o as s,u as t};
1
+ import{r as e}from"./profile-BMBXUqqh.mjs";import{z as t}from"zod";import{createBusNamespace as n}from"@makaio/framework/core";const r=t.enum([`running`,`stopped`,`exited`,`unknown`]),i={request:t.object({clientId:t.string(),cwd:t.string(),command:t.string(),args:t.array(t.string()),env:t.record(t.string(),t.string()).optional(),sessionId:t.string().optional(),clientProfileName:e.optional(),adapterSessionId:t.string().optional(),metadata:t.record(t.string(),t.unknown()).optional()}),response:t.object({supervisorSessionId:t.string(),pid:t.number().int().positive()})},a={request:t.union([t.object({supervisorSessionId:t.string()}).strict(),t.object({sessionId:t.string()}).strict(),t.object({adapterSessionId:t.string()}).strict()]),response:t.object({success:t.boolean(),supervisorSessionId:t.string().optional(),pid:t.number().int().positive().optional(),terminalAttachment:t.object({canAttach:t.boolean()}).optional()})},o={request:t.object({supervisorSessionId:t.string(),signal:t.string().optional()}),response:t.object({success:t.boolean()})},s=t.object({supervisorSessionId:t.string(),clientId:t.string(),pid:t.number().int().positive().nullable(),status:r,cwd:t.string(),sessionId:t.string().optional(),adapterSessionId:t.string().optional(),startedAt:t.number().int().nonnegative(),stoppedAt:t.number().int().nonnegative().optional()}),c={request:t.union([t.object({}).strict(),t.object({supervisorSessionId:t.string()}).strict(),t.object({sessionId:t.string()}).strict(),t.object({adapterSessionId:t.string()}).strict()]),response:t.object({runtimes:t.array(s)})},l={launch:i,attach:a,stop:o,status:c},u=n(`native-session-supervisor`,l),d=u.subjects;export{i as a,s as c,a as i,r as l,d as n,c as o,l as r,o as s,u as t};
@@ -1,4 +1,4 @@
1
- import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-5iHxcgBO.mjs";
1
+ import { i as BusServerConfig, n as startBusServer, r as BusServer, t as StartBusServerOptions } from "../../server-lifecycle-_AA6EfzL.mjs";
2
2
  import { BusBroadcastMessage, BusMessage, BusRequestMessage, BusTransport, BusTransportError } from "@makaio/framework/bus";
3
3
  import { TransportAuth, WebSocketLike, WebSocketServerLike, WebSocketServerLike as WebSocketServerLike$1 } from "@makaio/framework/node/transports";
4
4
 
@@ -1 +1 @@
1
- import{n as e,r as t,t as n}from"../../server-lifecycle-CFQaPTf7.mjs";var r=class{connectionListeners=new Set;on(e,t){e===`connection`&&this.connectionListeners.add(t)}off(e,t){e===`connection`&&this.connectionListeners.delete(t)}close(e){this.connectionListeners.clear(),e?.()}accept(e){for(let t of this.connectionListeners)t(e)}};export{r as HonoWebSocketBridge,t as LoopbackTransport,e as createBusServer,n as startBusServer};
1
+ import{n as e,r as t,t as n}from"../../server-lifecycle-C5Z5PSMD.mjs";var r=class{connectionListeners=new Set;on(e,t){e===`connection`&&this.connectionListeners.add(t)}off(e,t){e===`connection`&&this.connectionListeners.delete(t)}close(e){this.connectionListeners.clear(),e?.()}accept(e){for(let t of this.connectionListeners)t(e)}};export{r as HonoWebSocketBridge,t as LoopbackTransport,e as createBusServer,n as startBusServer};
@@ -1,2 +1,2 @@
1
- import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-5iHxcgBO.mjs";
1
+ import { n as startBusServer, t as StartBusServerOptions } from "../../server-lifecycle-_AA6EfzL.mjs";
2
2
  export { StartBusServerOptions, startBusServer };
@@ -1 +1 @@
1
- import{t as e}from"../../server-lifecycle-CFQaPTf7.mjs";export{e as startBusServer};
1
+ import{t as e}from"../../server-lifecycle-C5Z5PSMD.mjs";export{e as startBusServer};
@@ -1 +1 @@
1
- import{n as e}from"./namespace-BxrHvS5c.mjs";import{MakaioBus as t}from"@makaio/framework/bus";import{AdapterSubjects as n,AgentSubjects as r,SessionSubjects as i}from"@makaio/framework/contracts";function a(){t.__resetHandlers?.()}function o(e=10){return new Promise(t=>setTimeout(t,e))}function s(e,t){let n=Date.now();return{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,sessionId:t?.sessionId??`test-session`,role:`member`,status:`idle`,createdAt:n,lastActivityAt:n,...t}}async function c(e,r=e){await t.emit(n.initialized,{adapterName:e,adapterId:r,capabilities:[]})}async function l(n){return(await t.request(e.getEvents,{sessionId:n})).events}function u(e,n,r){let i=[];return r.push(t.on(e,(e=>{let t=e.payload;i.push(n(t))}))),{received:i,clear:()=>{i.length=0}}}function d(e){return u(i.turn.started,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentIds:[...e.agentIds],initiator:e.initiator}),e)}function f(e){return u(i.turn.completed,e=>({sessionId:e.sessionId,turnId:e.turnId,success:e.success,error:e.error,initiator:e.initiator}),e)}function p(e){return u(i.user_message.sent,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,content:e.content,agentIds:[...e.agentIds],origin:e.origin}),e)}function m(e){return u(i.user_message.acknowledged,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentId:e.agentId}),e)}function h(e){return u(i.user_message.completed,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentId:e.agentId,outcome:e.outcome,error:e.error}),e)}const g=s;function _(e){let t=Date.now();return{sessionId:e.sessionId,createdAt:t,lastActivityAt:t,status:e.status??`active`,agents:e.agents??[],leadAgentId:e.leadAgentId,targetWorkingDirectory:e.targetWorkingDirectory}}function v(e){return t.on(i.create,t=>{let n=t.payload.sessionId??`session-${crypto.randomUUID().slice(0,8)}`;e.set(n,_({sessionId:n,agents:[]})),t.setResult({sessionId:n})})}function y(e){return t.on(i.agent.added,t=>{let n=e.get(t.payload.sessionId);if(!n)return;let r=n.agents.length===0,i=t.payload.role??(r?`lead`:`member`);r&&(n.adapterSessionId=t.payload.adapterSessionId,n.adapterName=t.payload.adapterName,n.adapterId=t.payload.adapterId);let a=Date.now();n.agents.push({agentId:t.payload.agentId,adapterId:t.payload.adapterId,adapterName:t.payload.adapterName,sessionId:t.payload.sessionId,role:i,status:`idle`,createdAt:a,lastActivityAt:a}),i===`lead`&&(n.leadAgentId=t.payload.agentId),n.lastActivityAt=Date.now()})}function b(e){return t.on(i.get,t=>{t.setResult({session:e.get(t.payload.sessionId)??null})})}function x(e){return t.on(n.getAgent,t=>{for(let n of e.values()){let e=n.agents.find(e=>e.agentId===t.payload.agentId);if(e){t.setResult({agent:{agentId:e.agentId,sessionId:n.sessionId,adapterSessionId:``}});return}}t.setResult({agent:null})})}function S(){return t.on(n.rehydrateAgent,e=>{e.setResult({})})}function C(e=`/previous/cwd`){return t.on(r.cwd.change,t=>{t.setResult({success:!0,previousCwd:e})})}function w(){return t.on(r.model.change,e=>{e.setResult({success:!0,swapped:!1})})}function T(e){return t.on(n.startAgent,t=>{let{adapterId:n,initialMessage:r}=t.payload,i=t.payload.sessionId??`session-${crypto.randomUUID().slice(0,8)}`,a=`agent-${crypto.randomUUID().slice(0,8)}`,o=r?`msg-${crypto.randomUUID().slice(0,8)}`:void 0,s=`adapter-session-${i}`;e?.({adapterId:n,sessionId:i,initialMessage:r}),t.setResult({success:!0,agentId:a,adapterId:n,adapterSessionId:s,sessionId:i,...o&&{messageId:o}}),j({sessionId:i,agentId:a,adapterId:n,adapterSessionId:s})})}function E(e){return t.on(n.startAgent,t=>{t.setResult({success:!1,message:e})})}function D(e){return t.on(r.sendMessage,t=>{let{agentId:n,adapterId:r,message:i,messageId:a,sessionContext:o,responseSchema:s}=t.payload,c=a??`msg-${crypto.randomUUID().slice(0,8)}`;e?.({agentId:n,adapterId:r,message:i,messageId:c,sessionContext:o,responseSchema:s}),t.setResult({messageId:c})})}function O(e,n){return t.on(r.sendMessage,t=>{if(e.has(t.payload.agentId))throw Error(n);t.setResult({messageId:t.payload.messageId??`generated-id`})})}async function k(e,n){await t.emit(r.complete,{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,adapterSessionId:`adapter-session-${e}`,messageId:n})}async function A(e,n){await t.emit(r.complete,{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,adapterSessionId:`adapter-session-${e}`,messageId:`msg-error-${e}`,outcome:`error`,error:n})}function j(e){setImmediate(()=>{t.emit(i.agent.added,{sessionId:e.sessionId,agentId:e.agentId,adapterId:e.adapterId,adapterName:e.adapterId,adapterSessionId:e.adapterSessionId,role:e.role})})}function M(e,r){let i=new Map,a=t.on(n.startAgent,t=>{r.payload=t.payload;let n=`agent-${crypto.randomUUID().slice(0,8)}`,a=t.payload.initialMessage?`msg-${crypto.randomUUID().slice(0,8)}`:void 0,o=`adapter-session-${e}`;i.set(n,{agentId:n,sessionId:e,adapterSessionId:o,adapterId:t.payload.adapterId}),t.setResult({success:!0,agentId:n,adapterId:t.payload.adapterId,adapterSessionId:o,sessionId:e,...a&&{messageId:a}}),j({sessionId:e,agentId:n,adapterId:t.payload.adapterId,adapterSessionId:o})}),o=t.on(n.getAgent,e=>{let t=i.get(e.payload.agentId);e.setResult({agent:t?{agentId:t.agentId,sessionId:t.sessionId,adapterSessionId:t.adapterSessionId}:null})});return()=>{a(),o()}}export{c as C,o as E,p as S,a as T,T as _,A as a,m as b,v as c,E as d,x as f,D as g,S as h,k as i,C as l,w as m,_ as n,y as o,b as p,j as r,M as s,g as t,O as u,f as v,l as w,h as x,d as y};
1
+ import{n as e}from"./namespace-C-piH3w4.mjs";import{MakaioBus as t}from"@makaio/framework/bus";import{AdapterSubjects as n,AgentSubjects as r,SessionSubjects as i}from"@makaio/framework/contracts";function a(){t.__resetHandlers?.()}function o(e=10){return new Promise(t=>setTimeout(t,e))}function s(e,t){let n=Date.now();return{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,sessionId:t?.sessionId??`test-session`,role:`member`,status:`idle`,createdAt:n,lastActivityAt:n,...t}}async function c(e,r=e){await t.emit(n.initialized,{adapterName:e,adapterId:r,capabilities:[]})}async function l(n){return(await t.request(e.getEvents,{sessionId:n})).events}function u(e,n,r){let i=[];return r.push(t.on(e,(e=>{let t=e.payload;i.push(n(t))}))),{received:i,clear:()=>{i.length=0}}}function d(e){return u(i.turn.started,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentIds:[...e.agentIds],initiator:e.initiator}),e)}function f(e){return u(i.turn.completed,e=>({sessionId:e.sessionId,turnId:e.turnId,success:e.success,error:e.error,initiator:e.initiator}),e)}function p(e){return u(i.user_message.sent,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,content:e.content,agentIds:[...e.agentIds],origin:e.origin}),e)}function m(e){return u(i.user_message.acknowledged,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentId:e.agentId}),e)}function h(e){return u(i.user_message.completed,e=>({sessionId:e.sessionId,turnId:e.turnId,messageId:e.messageId,agentId:e.agentId,outcome:e.outcome,error:e.error}),e)}const g=s;function _(e){let t=Date.now();return{sessionId:e.sessionId,createdAt:t,lastActivityAt:t,status:e.status??`active`,agents:e.agents??[],leadAgentId:e.leadAgentId,targetWorkingDirectory:e.targetWorkingDirectory}}function v(e){return t.on(i.create,t=>{let n=t.payload.sessionId??`session-${crypto.randomUUID().slice(0,8)}`;e.set(n,_({sessionId:n,agents:[]})),t.setResult({sessionId:n})})}function y(e){return t.on(i.agent.added,t=>{let n=e.get(t.payload.sessionId);if(!n)return;let r=n.agents.length===0,i=t.payload.role??(r?`lead`:`member`);r&&(n.adapterSessionId=t.payload.adapterSessionId,n.adapterName=t.payload.adapterName,n.adapterId=t.payload.adapterId);let a=Date.now();n.agents.push({agentId:t.payload.agentId,adapterId:t.payload.adapterId,adapterName:t.payload.adapterName,sessionId:t.payload.sessionId,role:i,status:`idle`,createdAt:a,lastActivityAt:a}),i===`lead`&&(n.leadAgentId=t.payload.agentId),n.lastActivityAt=Date.now()})}function b(e){return t.on(i.get,t=>{t.setResult({session:e.get(t.payload.sessionId)??null})})}function x(e){return t.on(n.getAgent,t=>{for(let n of e.values()){let e=n.agents.find(e=>e.agentId===t.payload.agentId);if(e){t.setResult({agent:{agentId:e.agentId,sessionId:n.sessionId,adapterSessionId:``}});return}}t.setResult({agent:null})})}function S(){return t.on(n.rehydrateAgent,e=>{e.setResult({})})}function C(e=`/previous/cwd`){return t.on(r.cwd.change,t=>{t.setResult({success:!0,previousCwd:e})})}function w(){return t.on(r.model.change,e=>{e.setResult({success:!0,swapped:!1})})}function T(e){return t.on(n.startAgent,t=>{let{adapterId:n,initialMessage:r}=t.payload,i=t.payload.sessionId??`session-${crypto.randomUUID().slice(0,8)}`,a=`agent-${crypto.randomUUID().slice(0,8)}`,o=r?`msg-${crypto.randomUUID().slice(0,8)}`:void 0,s=`adapter-session-${i}`;e?.({adapterId:n,sessionId:i,initialMessage:r}),t.setResult({success:!0,agentId:a,adapterId:n,adapterSessionId:s,sessionId:i,...o&&{messageId:o}}),j({sessionId:i,agentId:a,adapterId:n,adapterSessionId:s})})}function E(e){return t.on(n.startAgent,t=>{t.setResult({success:!1,message:e})})}function D(e){return t.on(r.sendMessage,t=>{let{agentId:n,adapterId:r,message:i,messageId:a,sessionContext:o,responseSchema:s}=t.payload,c=a??`msg-${crypto.randomUUID().slice(0,8)}`;e?.({agentId:n,adapterId:r,message:i,messageId:c,sessionContext:o,responseSchema:s}),t.setResult({messageId:c})})}function O(e,n){return t.on(r.sendMessage,t=>{if(e.has(t.payload.agentId))throw Error(n);t.setResult({messageId:t.payload.messageId??`generated-id`})})}async function k(e,n){await t.emit(r.complete,{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,adapterSessionId:`adapter-session-${e}`,messageId:n})}async function A(e,n){await t.emit(r.complete,{agentId:e,adapterId:`adapter-${e}`,adapterName:`test-adapter`,adapterSessionId:`adapter-session-${e}`,messageId:`msg-error-${e}`,outcome:`error`,error:n})}function j(e){setImmediate(()=>{t.emit(i.agent.added,{sessionId:e.sessionId,agentId:e.agentId,adapterId:e.adapterId,adapterName:e.adapterId,adapterSessionId:e.adapterSessionId,role:e.role})})}function M(e,r){let i=new Map,a=t.on(n.startAgent,t=>{r.payload=t.payload;let n=`agent-${crypto.randomUUID().slice(0,8)}`,a=t.payload.initialMessage?`msg-${crypto.randomUUID().slice(0,8)}`:void 0,o=`adapter-session-${e}`;i.set(n,{agentId:n,sessionId:e,adapterSessionId:o,adapterId:t.payload.adapterId}),t.setResult({success:!0,agentId:n,adapterId:t.payload.adapterId,adapterSessionId:o,sessionId:e,...a&&{messageId:a}}),j({sessionId:e,agentId:n,adapterId:t.payload.adapterId,adapterSessionId:o})}),o=t.on(n.getAgent,e=>{let t=i.get(e.payload.agentId);e.setResult({agent:t?{agentId:t.agentId,sessionId:t.sessionId,adapterSessionId:t.adapterSessionId}:null})});return()=>{a(),o()}}export{c as C,o as E,p as S,a as T,T as _,A as a,m as b,v as c,E as d,x as f,D as g,S as h,k as i,C as l,w as m,_ as n,y as o,b as p,j as r,M as s,g as t,O as u,f as v,l as w,h as x,d as y};
@@ -1,6 +1,6 @@
1
1
  import { IMakaioBus } from "@makaio/framework/bus";
2
2
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
3
- import { IWorkflowRunner, IWorkflowTriggerTypeRegistry, MakaioNodeExtension, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, WorkflowDefinition } from "@makaio/framework/contracts";
3
+ import { IWorkflowRunner, IWorkflowTriggerTypeRegistry, LoopGateHandler, MakaioNodeExtension, StationHandler, StepRunnerBusAuth, StepRunnerPlatformDefaults, WorkflowDefinition } from "@makaio/framework/contracts";
4
4
  import { BaseService } from "@makaio/framework/service-base";
5
5
  import { MakaioDatabase } from "@makaio/framework/storage/drizzle";
6
6