@makaio/framework 1.0.0-dev-1781023871421 → 1.0.0-dev-1781034508425

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 (365) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{account-identity-DT5NOtFi.mjs → account-identity-CgzOqnVm.mjs} +1 -1
  3. package/dist/{adapter-C1eI-fGV.mjs → adapter-Dt2FDMs4.mjs} +1 -1
  4. package/dist/adapters/acp-client/index.d.mts +4 -4
  5. package/dist/adapters/config/index.d.mts +1 -1
  6. package/dist/adapters/config/index.mjs +1 -1
  7. package/dist/adapters/index.d.mts +2 -2
  8. package/dist/adapters/index.mjs +6 -13
  9. package/dist/adapters/node.d.mts +1 -1
  10. package/dist/adapters/node.mjs +1 -1
  11. package/dist/ajv-B-geJci9.mjs +8 -0
  12. package/dist/await-trigger-CmK_k2oe.mjs +1 -0
  13. package/dist/bus/index.d.mts +2 -2
  14. package/dist/{client-bx74gm4R.mjs → client-BBJf1mVA.mjs} +1 -1
  15. package/dist/{clients-namespace-GmSJpBUV.d.mts → clients-namespace-DOr4mmmr.d.mts} +7 -7
  16. package/dist/contracts/adapter/index.d.mts +2 -2
  17. package/dist/contracts/adapter/index.mjs +1 -1
  18. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  19. package/dist/contracts/artifact/index.d.mts +1 -1
  20. package/dist/contracts/client/index.d.mts +2 -2
  21. package/dist/contracts/client/index.mjs +1 -1
  22. package/dist/contracts/common/index.d.mts +1 -1
  23. package/dist/contracts/config/index.d.mts +1 -1
  24. package/dist/contracts/config/index.mjs +1 -1
  25. package/dist/contracts/extension/index.d.mts +3 -3
  26. package/dist/contracts/extension/index.mjs +1 -1
  27. package/dist/contracts/facet/index.d.mts +1 -1
  28. package/dist/contracts/facet/index.mjs +1 -1
  29. package/dist/contracts/harness/index.d.mts +1 -1
  30. package/dist/contracts/harness/index.mjs +1 -1
  31. package/dist/contracts/host/index.d.mts +1 -1
  32. package/dist/contracts/host/index.mjs +1 -1
  33. package/dist/contracts/index.d.mts +192 -192
  34. package/dist/contracts/index.mjs +1 -1
  35. package/dist/contracts/materialization/index.d.mts +3 -3
  36. package/dist/contracts/materialization/index.mjs +1 -1
  37. package/dist/contracts/model-registry/index.d.mts +1 -1
  38. package/dist/contracts/model-registry/index.mjs +1 -1
  39. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  40. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  41. package/dist/contracts/platform/index.d.mts +1 -1
  42. package/dist/contracts/platform/index.mjs +1 -1
  43. package/dist/contracts/provider/index.d.mts +2 -2
  44. package/dist/contracts/session/index.d.mts +2 -2
  45. package/dist/contracts/session/index.mjs +1 -1
  46. package/dist/contracts/shared/index.d.mts +1 -1
  47. package/dist/contracts/skill/index.d.mts +1 -1
  48. package/dist/contracts/skill/index.mjs +1 -1
  49. package/dist/contracts/telemetry/index.d.mts +1 -1
  50. package/dist/contracts/telemetry/index.mjs +1 -1
  51. package/dist/contracts/timeout/index.d.mts +1 -1
  52. package/dist/contracts/toast/index.mjs +1 -1
  53. package/dist/contracts/variant/index.d.mts +1 -1
  54. package/dist/contracts/variant/index.mjs +1 -1
  55. package/dist/create-static-mount-Btee48F5.mjs +1 -0
  56. package/dist/cross-spawn-CTptpCy4.mjs +1 -0
  57. package/dist/{cursor-storage-CtVJ3JzB.mjs → cursor-storage-BOsCO4oj.mjs} +1 -1
  58. package/dist/{definition-CrgHIpTK.d.mts → definition-BidQ9_x8.d.mts} +1 -1
  59. package/dist/{definition-BLCdXGzh.d.mts → definition-CWCNiH-q.d.mts} +1 -1
  60. package/dist/descriptor-to-package-CY8oc2gl.mjs +1 -0
  61. package/dist/detached-extension-handle-Bo5Q06_g.mjs +1 -0
  62. package/dist/esm-BdLRFEUy.mjs +3 -0
  63. package/dist/expression/index.d.mts +120 -0
  64. package/dist/expression/index.mjs +1431 -0
  65. package/dist/{extension-C-4BHMRI.mjs → extension-CbCanyuh.mjs} +1 -1
  66. package/dist/{extension-CpIUgBKI.mjs → extension-DFIZ3FCJ.mjs} +1 -1
  67. package/dist/extension-discovery-CffOPDvn.d.mts +163 -0
  68. package/dist/fast-uri-DARKlakU.mjs +1 -0
  69. package/dist/{filesystem-service-B8rhBRgB.mjs → filesystem-service-B9RbT-n-.mjs} +1 -1
  70. package/dist/git/index.mjs +17 -17
  71. package/dist/globby-DPHEhf86.mjs +1 -0
  72. package/dist/{handlers-CkTsQLra.mjs → handlers-Bl2Af8zt.mjs} +1 -1
  73. package/dist/{index-CCGVh9BF2.d.mts → index-B-_F8N_E.d.mts} +12 -12
  74. package/dist/{index-Caig6TeF.d.mts → index-B5lijQs7.d.mts} +93 -17
  75. package/dist/{index-Bh_Ne7LF.d.mts → index-BF8DYsOC.d.mts} +30 -30
  76. package/dist/{index-472sOmsW.d.mts → index-BLmI8xDN.d.mts} +4 -4
  77. package/dist/index-BM7lYmmQ.d.mts +1133 -0
  78. package/dist/{index-Cm0dUkWL.d.mts → index-BXip2Nlo.d.mts} +18 -18
  79. package/dist/{index-CelJCBjk.d.mts → index-Brlbx33t.d.mts} +15 -15
  80. package/dist/{index-B3PK4FIn.d.mts → index-Bs5H4PFm.d.mts} +92 -92
  81. package/dist/{index-B_zQC98V.d.mts → index-Dnd_-839.d.mts} +8 -8
  82. package/dist/{index-DUaw0Dw8.d.mts → index-DuIPU8sG.d.mts} +139 -139
  83. package/dist/{index-Bvb2mMH6.d.mts → index-LbBWaNnT.d.mts} +98 -98
  84. package/dist/{index-DBw-89vC2.d.mts → index-WZX3cU1L.d.mts} +5 -5
  85. package/dist/{index-mNec7V-9.d.mts → index-ayGCeZ8t.d.mts} +24 -24
  86. package/dist/{index-D90OmGmV.d.mts → index-k7SK-A0P.d.mts} +3 -3
  87. package/dist/{index-soFznFCy2.d.mts → index-o9__SHM7.d.mts} +1 -1
  88. package/dist/jsonl-transport-DN1zyi6w.mjs +3 -0
  89. package/dist/kernel/cli/index.d.mts +1 -1
  90. package/dist/kernel/cli/index.mjs +1 -1
  91. package/dist/kernel/cli/schemas.mjs +1 -1
  92. package/dist/kernel/extension/index.d.mts +1 -1
  93. package/dist/kernel/extension/index.mjs +1 -1
  94. package/dist/kernel/index.d.mts +5 -5
  95. package/dist/kernel/index.mjs +1 -1
  96. package/dist/kernel/namespace/index.d.mts +1 -1
  97. package/dist/kernel/namespace/index.mjs +1 -1
  98. package/dist/kernel/observability/index.d.mts +1 -1
  99. package/dist/kernel/observability/index.mjs +1 -1
  100. package/dist/kernel/providers/index.d.mts +1 -1
  101. package/dist/kernel/providers/index.mjs +1 -1
  102. package/dist/kernel/window/index.d.mts +1 -1
  103. package/dist/kernel/window/index.mjs +1 -1
  104. package/dist/lib--v_LnhHr.mjs +5 -0
  105. package/dist/lib-DtXofYKC.mjs +4 -0
  106. package/dist/lib-X80cqNZ5.mjs +155 -0
  107. package/dist/load-extensions-CESuhxma.mjs +1 -0
  108. package/dist/load-extensions-t2rtaz1C.d.mts +117 -0
  109. package/dist/mcp-http-server/index.d.mts +561 -0
  110. package/dist/mcp-http-server/index.mjs +11 -0
  111. package/dist/{namespace-Dr8K0MCp.d.mts → namespace-B0l_lsLW.d.mts} +12 -12
  112. package/dist/{namespace-BM7Djng9.d.mts → namespace-BFM1kQbS.d.mts} +2 -2
  113. package/dist/{namespace-DgqkaOVu.d.mts → namespace-BnVlQiRv.d.mts} +22 -22
  114. package/dist/{namespace-CaaNnKcR.d.mts → namespace-BsmSZbub.d.mts} +2 -2
  115. package/dist/{namespace-DD8Oiqo7.d.mts → namespace-CfqAh9gM.d.mts} +20 -20
  116. package/dist/{namespace-TyiTsLFv.d.mts → namespace-DldKDPMI.d.mts} +28 -28
  117. package/dist/{namespace-5QQqbF-B.d.mts → namespace-SD7Y-_iY.d.mts} +36 -36
  118. package/dist/{namespace-DLovh2Ws.d.mts → namespace-YsOUkmgE.d.mts} +12 -12
  119. package/dist/{namespace-DuXK5AYN.mjs → namespace-eOeUjGPB.mjs} +1 -1
  120. package/dist/{namespace-EQniz-Aw.d.mts → namespace-l8A5zTPU2.d.mts} +2 -2
  121. package/dist/{namespace-CxhsoFUP.d.mts → namespace-sd3QrSzo.d.mts} +20 -20
  122. package/dist/{native-session-supervisor-B1TnaPUF.mjs → native-session-supervisor-DeKpxhWO.mjs} +1 -1
  123. package/dist/node/bus-server/index.d.mts +1 -1
  124. package/dist/node/bus-server/index.mjs +1 -1
  125. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  126. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  127. package/dist/{orchestrator-shared-CIDiFJMD.mjs → orchestrator-shared-DaPATFz1.mjs} +1 -1
  128. package/dist/out-Rp-RSvc2.mjs +41 -0
  129. package/dist/{profile-6ynCD5k3.mjs → profile-D39-Zy_W.mjs} +1 -1
  130. package/dist/{provider-context-CK6B4X_8.mjs → provider-context-ClL5nCQg.mjs} +1 -1
  131. package/dist/quick-lru-8GhFeKMZ.mjs +1 -0
  132. package/dist/rules/index.d.mts +27 -0
  133. package/dist/rules/index.mjs +1 -0
  134. package/dist/rules/schemas.d.mts +2 -0
  135. package/dist/rules/schemas.mjs +1 -0
  136. package/dist/runtime-bun/index.d.mts +385 -0
  137. package/dist/runtime-bun/index.mjs +1 -0
  138. package/dist/runtime-node/bus/runtime/namespace.d.mts +61 -0
  139. package/dist/runtime-node/bus/runtime/namespace.mjs +1 -0
  140. package/dist/runtime-node/bus/runtime/schemas.d.mts +54 -0
  141. package/dist/runtime-node/bus/runtime/schemas.mjs +1 -0
  142. package/dist/runtime-node/extension-discovery.d.mts +2 -0
  143. package/dist/runtime-node/extension-discovery.mjs +1 -0
  144. package/dist/runtime-node/extension-validation.d.mts +2 -0
  145. package/dist/runtime-node/extension-validation.mjs +1 -0
  146. package/dist/runtime-node/index.d.mts +745 -0
  147. package/dist/runtime-node/index.mjs +148 -0
  148. package/dist/runtime-node/makaio-config.d.mts +153 -0
  149. package/dist/runtime-node/makaio-config.mjs +1 -0
  150. package/dist/runtime-node/workflow-worker/index.d.mts +2 -0
  151. package/dist/runtime-node/workflow-worker/index.mjs +1 -0
  152. package/dist/runtime-node/workflow-worker/worker-entry.d.mts +39 -0
  153. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -0
  154. package/dist/{schema-M5YTvSAG.d.mts → schema-BycLqlQI.d.mts} +2 -2
  155. package/dist/{schema-e0wU_lcV.mjs → schema-DxHkeT-G.mjs} +1 -1
  156. package/dist/schema-introspection-A6FnQ1qg.mjs +1 -0
  157. package/dist/{schemas-C46QfKzv.d.mts → schemas-BI4gqRlW.d.mts} +17 -17
  158. package/dist/{schemas-DATniTHb.d.mts → schemas-BkeedMoC.d.mts} +7 -7
  159. package/dist/{schemas-DVF1A4DF.d.mts → schemas-C3wZhEAc.d.mts} +4 -4
  160. package/dist/{schemas-ClOOT1W6.d.mts → schemas-C4u2d8jR.d.mts} +3 -3
  161. package/dist/{schemas-CaLhkkLn.mjs → schemas-CSUwpaNm.mjs} +1 -1
  162. package/dist/{schemas-DiYVzG6e.d.mts → schemas-CaeiaR4r2.d.mts} +15 -15
  163. package/dist/{schemas-j7ivZ2HI.d.mts → schemas-D7wxjmif.d.mts} +2 -2
  164. package/dist/schemas-WJ9OOsOF.d.mts +171 -0
  165. package/dist/{schemas-wg_6PAdV.d.mts → schemas-mD6cFIJs.d.mts} +1 -1
  166. package/dist/semver-DhHJv6Dt.mjs +1 -0
  167. package/dist/services/adapter-runtime/index.d.mts +3 -3
  168. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  169. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  170. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  171. package/dist/services/adapter-subsystem/index.mjs +1 -1
  172. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  173. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  174. package/dist/services/agent-runtime/index.d.mts +2 -2
  175. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  176. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  177. package/dist/services/capability/index.d.mts +1 -1
  178. package/dist/services/capability/index.mjs +1 -1
  179. package/dist/services/codebase/index.d.mts +2 -2
  180. package/dist/services/codebase/namespace.d.mts +1 -1
  181. package/dist/services/codebase/schemas.d.mts +1 -1
  182. package/dist/services/compression/index.d.mts +2 -2
  183. package/dist/services/compression/namespace.d.mts +1 -1
  184. package/dist/services/compression/schemas.d.mts +1 -1
  185. package/dist/services/context-rules/index.d.mts +1 -1
  186. package/dist/services/context-rules/index.mjs +1 -1
  187. package/dist/services/execution-target/index.d.mts +3 -3
  188. package/dist/services/execution-target/namespace.d.mts +1 -1
  189. package/dist/services/execution-target/schemas.d.mts +1 -1
  190. package/dist/services/filesystem/index.d.mts +1 -1
  191. package/dist/services/filesystem/index.mjs +1 -1
  192. package/dist/services/filesystem/namespace.d.mts +6 -6
  193. package/dist/services/filesystem/schemas.d.mts +3 -3
  194. package/dist/services/git/namespace.d.mts +2 -2
  195. package/dist/services/git/schemas.d.mts +1 -1
  196. package/dist/services/harness/index.d.mts +31 -31
  197. package/dist/services/harness/storage/schema.d.mts +4 -4
  198. package/dist/services/index.d.mts +99 -98
  199. package/dist/services/index.mjs +1 -1
  200. package/dist/services/log-import/browser.d.mts +2 -2
  201. package/dist/services/log-import/index.d.mts +2 -2
  202. package/dist/services/log-import/log-import.d.mts +1 -1
  203. package/dist/services/log-import/log-import.mjs +1 -1
  204. package/dist/services/log-import/namespace.mjs +1 -1
  205. package/dist/services/log-import/schemas.mjs +1 -1
  206. package/dist/services/model-registry/index.d.mts +1 -1
  207. package/dist/services/model-registry/index.mjs +1 -1
  208. package/dist/services/preferences/index.d.mts +2 -2
  209. package/dist/services/preferences/schemas.d.mts +1 -1
  210. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  211. package/dist/services/provider-context/index.d.mts +1 -1
  212. package/dist/services/provider-context/index.mjs +1 -1
  213. package/dist/services/provider-runtime/index.mjs +1 -1
  214. package/dist/services/session/handlers/index.d.mts +1 -1
  215. package/dist/services/session/handlers/index.mjs +1 -1
  216. package/dist/services/session/index.d.mts +9 -9
  217. package/dist/services/session/index.mjs +1 -1
  218. package/dist/services/session/messages/namespace.d.mts +1 -1
  219. package/dist/services/session/messages/namespace.mjs +1 -1
  220. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  221. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  222. package/dist/services/session/session-events/namespace.d.mts +1 -1
  223. package/dist/services/session/session-events/namespace.mjs +1 -1
  224. package/dist/services/session/storage/namespace.d.mts +1 -1
  225. package/dist/services/session/storage/schema.d.mts +1 -1
  226. package/dist/services/session/testing/index.mjs +1 -1
  227. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  228. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  229. package/dist/services/session/turns/namespace.d.mts +1 -1
  230. package/dist/services/session/turns/namespace.mjs +1 -1
  231. package/dist/services/session-editor/index.d.mts +1 -1
  232. package/dist/services/session-editor/index.mjs +1 -1
  233. package/dist/services/settings/index.d.mts +3 -3
  234. package/dist/services/settings/index.mjs +1 -1
  235. package/dist/services/settings/namespace.d.mts +12 -12
  236. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  237. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  238. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  239. package/dist/services/settings/storage/index.d.mts +3 -3
  240. package/dist/services/settings/storage/index.mjs +1 -1
  241. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  242. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  243. package/dist/services/subagent/index.d.mts +1 -1
  244. package/dist/services/subagent-template/index.d.mts +2 -2
  245. package/dist/services/subagent-template/namespace.d.mts +1 -1
  246. package/dist/services/subagent-template/schemas.d.mts +1 -1
  247. package/dist/services/tool-approval/index.d.mts +1 -1
  248. package/dist/services/tool-approval/index.mjs +1 -1
  249. package/dist/services/tools/index.d.mts +1 -1
  250. package/dist/services/tools/index.mjs +1 -1
  251. package/dist/services/tray-menu/index.d.mts +3 -3
  252. package/dist/services/tray-menu/index.mjs +1 -1
  253. package/dist/services/tray-menu/namespace.d.mts +1 -1
  254. package/dist/services/tray-menu/schemas.d.mts +1 -1
  255. package/dist/services/turn/index.d.mts +1 -1
  256. package/dist/services/turn/namespace.d.mts +1 -1
  257. package/dist/services/turn/schemas.d.mts +10 -10
  258. package/dist/{session-DuVOYctZ.mjs → session-C1Cami7U.mjs} +1 -1
  259. package/dist/{session-BoldSdNZ2.mjs → session-DOGx_Qrm2.mjs} +1 -1
  260. package/dist/{skill-CQO4mDqK.mjs → skill-BNQnWVIG.mjs} +1 -1
  261. package/dist/src-BdKH_3mM.mjs +1 -0
  262. package/dist/src-CUlokMRL.mjs +21 -0
  263. package/dist/storage/drizzle/client.d.mts +1 -1
  264. package/dist/storage/drizzle/index.d.mts +1 -1
  265. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  266. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  267. package/dist/storage/handlers/index.d.mts +1 -1
  268. package/dist/storage/handlers/index.mjs +1 -1
  269. package/dist/storage-namespace-DecBVTzH.mjs +1 -0
  270. package/dist/{storage-namespace-BXkoh5Sy.d.mts → storage-namespace-DyOwnbQO.d.mts} +10 -10
  271. package/dist/style.css +540 -540
  272. package/dist/supports-color-CcNsYzyh.mjs +1 -0
  273. package/dist/{tool-approval-service-BvZWhYZp.mjs → tool-approval-service-DRe1lqy-.mjs} +1 -1
  274. package/dist/tools-BXEIs_Ur.mjs +1 -0
  275. package/dist/{types-Dy3YTcTF.d.mts → types-BQB_1_Tv.d.mts} +55 -55
  276. package/dist/{types-BCMUtBj1.d.mts → types-CLojY5bP.d.mts} +1 -1
  277. package/dist/{types-CCdqjeuH.d.mts → types-DVAi-qkD.d.mts} +2 -81
  278. package/dist/{types-DZHvOc_Q.d.mts → types-igF72H-P.d.mts} +1 -1
  279. package/dist/ui-components/index.d.mts +1 -1
  280. package/dist/ui-components/index.mjs +2 -2
  281. package/dist/ui-hooks/index.d.mts +6 -6
  282. package/dist/ui-kernel/index.d.mts +4 -4
  283. package/dist/ui-kernel/pages/namespace.d.mts +4 -4
  284. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  285. package/dist/ui-views/index.mjs +2 -2
  286. package/dist/version-B4NO_fID.mjs +1 -0
  287. package/dist/workflow-worker-BWoY_2ue.mjs +1 -0
  288. package/package.json +53 -1
  289. package/dist/globby-rtWVaFHv.mjs +0 -41
  290. package/dist/schema-introspection-Dn1jWQs1.mjs +0 -1
  291. package/dist/schemas-CVvwIfG4.mjs +0 -1
  292. package/dist/storage-namespace-DWsYLAXa.mjs +0 -1
  293. package/dist/tools-D-luYcDw.mjs +0 -1431
  294. package/dist/version-BeT3ASEe.mjs +0 -1
  295. /package/dist/{base-orchestrator-wyumsn3b.d.mts → base-orchestrator-D9E-Y8Kr.d.mts} +0 -0
  296. /package/dist/{capability-service-CJbmhfv9.mjs → capability-service-C2RapAHW.mjs} +0 -0
  297. /package/dist/{cleanEnvForAdapter-KkYzQa1f.mjs → cleanEnvForAdapter-GVzUk_oB.mjs} +0 -0
  298. /package/dist/{config-namespace-CPY9YsR8.d.mts → config-namespace-B5fFJwQj.d.mts} +0 -0
  299. /package/dist/{config-namespace-ncYg2ct_.mjs → config-namespace-DydHz9so.mjs} +0 -0
  300. /package/dist/{definition-pkJ6szUl.d.mts → definition-C4DLI1SC.d.mts} +0 -0
  301. /package/dist/{drizzle-Eq8W1EbD.mjs → drizzle-YUDNFNbV.mjs} +0 -0
  302. /package/dist/{extension-namespace-cMh_mMiL.mjs → extension-namespace-BBgYOttA.mjs} +0 -0
  303. /package/dist/{facet-BuwhrThl.mjs → facet-DMrryX_0.mjs} +0 -0
  304. /package/dist/{filesystem-service-p_iJVHd4.d.mts → filesystem-service-Cw4_S1bm.d.mts} +0 -0
  305. /package/dist/{harness-BRCMcvQN.mjs → harness-B8E_wRwa.mjs} +0 -0
  306. /package/dist/{host-Br9VuOyr.mjs → host-DbMiI5wQ.mjs} +0 -0
  307. /package/dist/{index-D9MwJ2Q8.d.mts → index-2mvEGCcP.d.mts} +0 -0
  308. /package/dist/{index-D5d5HeWI2.d.mts → index-8AU9itst2.d.mts} +0 -0
  309. /package/dist/{index-DKC62dY5.d.mts → index-AJDF86bD2.d.mts} +0 -0
  310. /package/dist/{index-L4GjJDKb.d.mts → index-B0bwOIpr.d.mts} +0 -0
  311. /package/dist/{index-CokQYGVP.d.mts → index-B3SbibGM.d.mts} +0 -0
  312. /package/dist/{index-CHQ1SqT0.d.mts → index-BKqJTm2-.d.mts} +0 -0
  313. /package/dist/{index-DMKnON5s.d.mts → index-BPn5ODFL.d.mts} +0 -0
  314. /package/dist/{index-CLpjm52M.d.mts → index-BWA-Bf0T.d.mts} +0 -0
  315. /package/dist/{index-x_lVDp_J.d.mts → index-BZmLqP2a.d.mts} +0 -0
  316. /package/dist/{index-DGBu6bHi2.d.mts → index-BkKMwRJj.d.mts} +0 -0
  317. /package/dist/{index-BFg9BUpx.d.mts → index-Bo6dMW5B.d.mts} +0 -0
  318. /package/dist/{index-DANINzMu.d.mts → index-CBW3XX7b.d.mts} +0 -0
  319. /package/dist/{index-eemAKwsB.d.mts → index-CE2F0_8r.d.mts} +0 -0
  320. /package/dist/{index-U-A8eyGT.d.mts → index-CJt_4GQu.d.mts} +0 -0
  321. /package/dist/{index-BGfWS6GE.d.mts → index-ChpYWZGc.d.mts} +0 -0
  322. /package/dist/{index-DKia0MX1.d.mts → index-DOAUskuB.d.mts} +0 -0
  323. /package/dist/{index-CGmcS0Ma.d.mts → index-DOfnh3xf.d.mts} +0 -0
  324. /package/dist/{index-De3kPhlN.d.mts → index-DYLb4v5z.d.mts} +0 -0
  325. /package/dist/{index-B80L4YqA.d.mts → index-DpKxkrU8.d.mts} +0 -0
  326. /package/dist/{index-Cs0kZXIz2.d.mts → index-FjZOM4M0.d.mts} +0 -0
  327. /package/dist/{index-BVgfS-AJ.d.mts → index-Ksoed-mL.d.mts} +0 -0
  328. /package/dist/{index-8SZkg7s6.d.mts → index-j7hM0JEz.d.mts} +0 -0
  329. /package/dist/{index-vtXJuwrz.d.mts → index-rQU8B-JX.d.mts} +0 -0
  330. /package/dist/{index-ChunCFu4.d.mts → index-sQ-7cpgm2.d.mts} +0 -0
  331. /package/dist/{materialization-CuUBu4XI.mjs → materialization-3QUnQLbC.mjs} +0 -0
  332. /package/dist/{model-registry-Scn_MC2d.mjs → model-registry-DdZrE4sa.mjs} +0 -0
  333. /package/dist/{model-registry-CfXytvzx.mjs → model-registry-j-rCKcik.mjs} +0 -0
  334. /package/dist/{namespace-DkRgbZYn.mjs → namespace-BGGiHXkz.mjs} +0 -0
  335. /package/dist/{namespace-CFLAmQfh.mjs → namespace-BbjCyZC9.mjs} +0 -0
  336. /package/dist/{namespace-CTm3nEvh.d.mts → namespace-Buecxx19.d.mts} +0 -0
  337. /package/dist/{namespace-LViZ-EQk.mjs → namespace-CCfEHbi9.mjs} +0 -0
  338. /package/dist/{namespace-BoD94mrN.mjs → namespace-DzS4SSkr2.mjs} +0 -0
  339. /package/dist/{namespace-xcmbQlxh.mjs → namespace-FT8igkn4.mjs} +0 -0
  340. /package/dist/{namespace-CaoZ3S78.d.mts → namespace-oS2v7viW.d.mts} +0 -0
  341. /package/dist/{namespace-IV1QK__V.d.mts → namespace-wYMkOtE0.d.mts} +0 -0
  342. /package/dist/{orchestrator-shared-Dfa7FMyw.d.mts → orchestrator-shared-DXAvgseP.d.mts} +0 -0
  343. /package/dist/{platform-DZ7z-wXD.mjs → platform-Dhv22LiX.mjs} +0 -0
  344. /package/dist/{providers-u8i15co9.mjs → providers-B1p0P-vB.mjs} +0 -0
  345. /package/dist/{providers-namespace-DSEpli4A.d.mts → providers-namespace-BITpk8sN.d.mts} +0 -0
  346. /package/dist/{schema-CoyE6mPt.mjs → schema-DdMn1KCD.mjs} +0 -0
  347. /package/dist/{schemas-DaRSfYLf.d.mts → schemas-7y9O8b0X.d.mts} +0 -0
  348. /package/dist/{schemas-DE-GNmSD.mjs → schemas-B-Z4U9FN.mjs} +0 -0
  349. /package/dist/{schemas-jFe1AuI-.mjs → schemas-BCIuTWRl2.mjs} +0 -0
  350. /package/dist/{schemas-Bd0OjRQf.d.mts → schemas-CMyv6Mkq.d.mts} +0 -0
  351. /package/dist/{schemas-CDBSjg7o.d.mts → schemas-PmHLOkr-.d.mts} +0 -0
  352. /package/dist/{server-lifecycle-FXTPW39-.mjs → server-lifecycle-JTFuSJhg.mjs} +0 -0
  353. /package/dist/{server-lifecycle-YoSGFGnU.d.mts → server-lifecycle-JX0MpLfX.d.mts} +0 -0
  354. /package/dist/{session-lineage-CRsc9g1x.d.mts → session-lineage-PY_8PUTH.d.mts} +0 -0
  355. /package/dist/{shared-schemas-CPShiLNp.mjs → shared-schemas-CbbcM1GQ.mjs} +0 -0
  356. /package/dist/{storage-namespace-definition-Bkx5rSto.d.mts → storage-namespace-definition-QTqbbw5b.d.mts} +0 -0
  357. /package/dist/{storage-namespace-definition-CqSdsuCC.mjs → storage-namespace-definition-RvjfFysN.mjs} +0 -0
  358. /package/dist/{telemetry-CvdLBWuk.mjs → telemetry-O0394b7p.mjs} +0 -0
  359. /package/dist/{tray-menu-service-DuXq5k22.mjs → tray-menu-service-CsaXURTf.mjs} +0 -0
  360. /package/dist/{types-dyP-bXXE.d.mts → types-Bnf1bRcq.d.mts} +0 -0
  361. /package/dist/{types-MfJZ67e9.d.mts → types-C6R2eyMZ.d.mts} +0 -0
  362. /package/dist/{types-C2Ob9zz_.d.mts → types-CycWG-_j.d.mts} +0 -0
  363. /package/dist/{variant-CT6XBP6T.mjs → variant-COVbYmMs.mjs} +0 -0
  364. /package/dist/{window-registry-DW-dKRjQ.mjs → window-registry-XjOExitT.mjs} +0 -0
  365. /package/dist/{window-registry-CBcrGTv4.d.mts → window-registry-r3VFP-_d.d.mts} +0 -0
@@ -0,0 +1 @@
1
+ import{o as e,r as t,t as n}from"./chunk-DTipWd-i.mjs";import{t as r}from"./out-Rp-RSvc2.mjs";import{execFile as i}from"node:child_process";import{promisify as a}from"node:util";import{fileURLToPath as o}from"node:url";import s from"node:fs/promises";import c from"node:path";import l from"node:fs";import"node:events";import u from"node:process";import"node:stream";import"node:stream/promises";var d=e(r(),1);async function f(e,t,n){if(typeof n!=`string`)throw TypeError(`Expected a string, got ${typeof n}`);try{return(await s[e](n))[t]()}catch(e){if(e.code===`ENOENT`)return!1;throw e}}function p(e,t,n){if(typeof n!=`string`)throw TypeError(`Expected a string, got ${typeof n}`);try{return l[e](n)[t]()}catch(e){if(e.code===`ENOENT`)return!1;throw e}}f.bind(void 0,`stat`,`isFile`);const m=f.bind(void 0,`stat`,`isDirectory`);f.bind(void 0,`lstat`,`isSymbolicLink`),p.bind(void 0,`statSync`,`isFile`),p.bind(void 0,`statSync`,`isDirectory`),p.bind(void 0,`lstatSync`,`isSymbolicLink`),a(i);function h(e){return e instanceof URL?o(e):e}var g=e(n(((e,t)=>{function n(e){return Array.isArray(e)?e:[e]}let r=/^\s+$/,i=/(?:[^\\]|^)\\$/,a=/^\\!/,o=/^\\#/,s=/\r?\n/g,c=/^\.{0,2}\/|^\.{1,2}$/,l=/\/$/,u=`node-ignore`;typeof Symbol<`u`&&(u=Symbol.for(`node-ignore`));let d=u,f=(e,t,n)=>(Object.defineProperty(e,t,{value:n}),n),p=/([0-z])-([0-z])/g,m=()=>!1,h=e=>e.replace(p,(e,t,n)=>t.charCodeAt(0)<=n.charCodeAt(0)?e:``),g=e=>{let{length:t}=e;return e.slice(0,t-t%2)},_=[[/^\uFEFF/,()=>``],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,n)=>t+(n.indexOf(`\\`)===0?` `:``)],[/(\\+?)\s/g,(e,t)=>{let{length:n}=t;return t.slice(0,n-n%2)+` `}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>`[^/]`],[/^\//,()=>`^`],[/\//g,()=>`\\/`],[/^\^*\\\*\\\*\\\//,()=>`^(?:.*\\/)?`],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?`^`:`(?:^|\\/)`}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,n)=>t+6<n.length?`(?:\\/[^\\/]+)*`:`\\/.+`],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,n)=>t+n.replace(/\\\*/g,`[^\\/]*`)],[/\\\\\\(?=[$.|*+(){^])/g,()=>`\\`],[/\\\\/g,()=>`\\`],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,n,r,i)=>t===`\\`?`\\[${n}${g(r)}${i}`:i===`]`&&r.length%2==0?`[${h(n)}${r}]`:`[]`],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`]],v=/(^|\\\/)?\\\*$/,y=`regex`,b=`checkRegex`,x={[y](e,t){return`${t?`${t}[^/]+`:`[^/]*`}(?=$|\\/$)`},[b](e,t){return`${t?`${t}[^/]*`:`[^/]*`}(?=$|\\/$)`}},S=e=>_.reduce((t,[n,r])=>t.replace(n,r.bind(e)),e),C=e=>typeof e==`string`,w=e=>e&&C(e)&&!r.test(e)&&!i.test(e)&&e.indexOf(`#`)!==0,T=e=>e.split(s).filter(Boolean);var E=class{constructor(e,t,n,r,i,a){this.pattern=e,this.mark=t,this.negative=i,f(this,`body`,n),f(this,`ignoreCase`,r),f(this,`regexPrefix`,a)}get regex(){let e=`_`+y;return this[e]?this[e]:this._make(y,e)}get checkRegex(){let e=`_`+b;return this[e]?this[e]:this._make(b,e)}_make(e,t){let n=this.regexPrefix.replace(v,x[e]),r=this.ignoreCase?new RegExp(n,`i`):new RegExp(n);return f(this,t,r)}};let D=({pattern:e,mark:t},n)=>{let r=!1,i=e;i.indexOf(`!`)===0&&(r=!0,i=i.substr(1)),i=i.replace(a,`!`).replace(o,`#`);let s=S(i);return new E(e,t,i,n,r,s)};var O=class{constructor(e){this._ignoreCase=e,this._rules=[]}_add(e){if(e&&e[d]){this._rules=this._rules.concat(e._rules._rules),this._added=!0;return}if(C(e)&&(e={pattern:e}),w(e.pattern)){let t=D(e,this._ignoreCase);this._added=!0,this._rules.push(t)}}add(e){return this._added=!1,n(C(e)?T(e):e).forEach(this._add,this),this._added}test(e,t,n){let r=!1,i=!1,a;this._rules.forEach(o=>{let{negative:s}=o;i===s&&r!==i||s&&!r&&!i&&!t||o[n].test(e)&&(r=!s,i=s,a=s?void 0:o)});let o={ignored:r,unignored:i};return a&&(o.rule=a),o}};let k=(e,t)=>{throw new t(e)},A=(e,t,n)=>C(e)?e?A.isNotRelative(e)?n(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:n(`path must not be empty`,TypeError):n(`path must be a string, but got \`${t}\``,TypeError),j=e=>c.test(e);A.isNotRelative=j,A.convert=e=>e;var M=class{constructor({ignorecase:e=!0,ignoreCase:t=e,allowRelativePaths:n=!1}={}){f(this,d,!0),this._rules=new O(t),this._strictPathCheck=!n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}add(e){return this._rules.add(e)&&this._initCache(),this}addPattern(e){return this.add(e)}_test(e,t,n,r){let i=e&&A.convert(e);return A(i,e,this._strictPathCheck?k:m),this._t(i,t,n,r)}checkIgnore(e){if(!l.test(e))return this.test(e);let t=e.split(`/`).filter(Boolean);if(t.pop(),t.length){let e=this._t(t.join(`/`)+`/`,this._testCache,!0,t);if(e.ignored)return e}return this._rules.test(e,!1,b)}_t(e,t,n,r){if(e in t)return t[e];if(r||=e.split(`/`).filter(Boolean),r.pop(),!r.length)return t[e]=this._rules.test(e,n,y);let i=this._t(r.join(`/`)+`/`,t,n,r);return t[e]=i.ignored?i:this._rules.test(e,n,y)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return n(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}};let N=e=>new M(e),P=e=>A(e&&A.convert(e),e,m),F=()=>{A.convert=e=>/^\\\\\?\\/.test(e)||/["<>|\u0000-\u001F]+/u.test(e)?e:e.replace(/\\/g,`/`);let e=/^[a-z]:\//i;A.isNotRelative=t=>e.test(t)||j(t)};typeof process<`u`&&process.platform===`win32`&&F(),t.exports=N,N.default=N,t.exports.isPathValid=P,f(t.exports,Symbol.for(`setupWindows`),F)}))(),1);function _(e){return e.startsWith(`\\\\?\\`)?e:e.replace(/\\/g,`/`)}const v=e=>e[0]===`!`,y=[`**/node_modules`,`**/flow-typed`,`**/coverage`,`**/.git`],b={absolute:!0,dot:!0},x=(e,t)=>v(e)?`!`+c.posix.join(t,e.slice(1)):c.posix.join(t,e),S=(e,t)=>{let n=_(c.relative(t,c.dirname(e.filePath)));return e.content.split(/\r?\n/).filter(e=>e&&!e.startsWith(`#`)).map(e=>x(e,n))},C=(e,t)=>{if(t=_(t),c.isAbsolute(e)){if(_(e).startsWith(t))return c.relative(t,e);throw Error(`Path ${e} is not in cwd ${t}`)}return e},w=(e,t)=>{let n=e.flatMap(e=>S(e,t)),r=(0,g.default)().add(n);return e=>(e=h(e),e=C(e,t),e?r.ignores(_(e)):!1)},T=(e={})=>({cwd:h(e.cwd)??u.cwd(),suppressErrors:!!e.suppressErrors,deep:typeof e.deep==`number`?e.deep:1/0,ignore:[...e.ignore??[],...y]}),E=async(e,t)=>{let{cwd:n,suppressErrors:r,deep:i,ignore:a}=T(t),o=await(0,d.default)(e,{cwd:n,suppressErrors:r,deep:i,ignore:a,...b});return w(await Promise.all(o.map(async e=>({filePath:e,content:await s.readFile(e,`utf8`)}))),n)};var D=t({globby:()=>U});const O=e=>{if(e.some(e=>typeof e!=`string`))throw TypeError(`Patterns must be a string or an array of strings`)},k=(e,t)=>{let n=v(e)?e.slice(1):e;return c.isAbsolute(n)?n:c.join(t,n)},A=({directoryPath:e,files:t,extensions:n})=>{let r=n?.length>0?`.${n.length>1?`{${n.join(`,`)}}`:n[0]}`:``;return t?t.map(t=>c.posix.join(e,`**/${c.extname(t)?t:`${t}${r}`}`)):[c.posix.join(e,`**${r?`/*${r}`:``}`)]},j=async(e,{cwd:t=u.cwd(),files:n,extensions:r}={})=>(await Promise.all(e.map(async e=>await m(k(e,t))?A({directoryPath:e,files:n,extensions:r}):e))).flat(),M=e=>(e=[...new Set([e].flat())],O(e),e),N=e=>{if(!e)return;let t;try{t=l.statSync(e)}catch{return}if(!t.isDirectory())throw Error("The `cwd` option must be a path to a directory")},P=(e={})=>(e={...e,ignore:e.ignore??[],expandDirectories:e.expandDirectories??!0,cwd:h(e.cwd)},N(e.cwd),e),F=e=>async(t,n)=>e(M(t),P(n)),I=e=>{let{ignoreFiles:t,gitignore:n}=e,r=t?M(t):[];return n&&r.push(`**/.gitignore`),r},L=async e=>{let t=I(e);return R(t.length>0&&await E(t,e))},R=e=>{let t=new Set;return n=>{let r=c.normalize(n.path??n);return t.has(r)||e&&e(r)?!1:(t.add(r),!0)}},z=(e,t)=>e.flat().filter(e=>t(e)),B=(e,t)=>{let n=[];for(;e.length>0;){let r=e.findIndex(e=>v(e));if(r===-1){n.push({patterns:e,options:t});break}let i=e[r].slice(1);for(let e of n)e.options.ignore.push(i);r!==0&&n.push({patterns:e.slice(0,r),options:{...t,ignore:[...t.ignore,i]}}),e=e.slice(r+1)}return n},V=(e,t)=>({...t?{cwd:t}:{},...Array.isArray(e)?{files:e}:e}),H=async(e,t)=>{let n=B(e,t),{cwd:r,expandDirectories:i}=t;if(!i)return n;let a=V(i,r);return Promise.all(n.map(async e=>{let{patterns:t,options:n}=e;return[t,n.ignore]=await Promise.all([j(t,a),j(n.ignore,{cwd:r})]),{patterns:t,options:n}}))},U=F(async(e,t)=>{let[n,r]=await Promise.all([H(e,t),L(t)]);return z(await Promise.all(n.map(e=>(0,d.default)(e.patterns,e.options))),r)}),{convertPathToPattern:W}=d.default;export{D as n,U as t};
@@ -1,4 +1,4 @@
1
- import{agents as e}from"./services/session/storage/schema.mjs";import{t}from"./schema-CoyE6mPt.mjs";import{n}from"./namespace-DuXK5AYN.mjs";import{SessionStorageSubjects as r}from"./services/session/storage/namespace.mjs";import{TurnStorageSubjects as i}from"./services/turn/namespace.mjs";import"./services/session/turns/namespace.mjs";import{AdapterRuntimeSubjects as a}from"./services/adapter-runtime/namespace.mjs";import{MessageStorageSubjects as o}from"./services/session/messages/namespace.mjs";import{n as s}from"./namespace-DkRgbZYn.mjs";import{ProviderStorageSubjects as c}from"./services/settings/storage/providers-namespace.mjs";import{ExecutionTargetSubjects as l}from"./services/execution-target/namespace.mjs";import{r as u,t as d}from"./provider-context-CK6B4X_8.mjs";import{ExtractedContextSchema as f}from"./services/compression/schemas.mjs";import{PreferencesSubjects as p}from"./services/preferences/storage-namespace.mjs";import{z as m}from"zod";import{AdapterSubjects as h,AgentResolutionSubjects as g,AgentStatusSchema as _,AgentSubjects as v,MakaioSessionAgentSchema as y,SessionSubjects as b,TurnUsageSchema as x}from"@makaio/framework/contracts";import{and as S,asc as C,desc as w,eq as T,sql as ee}from"drizzle-orm";import{createStorageNamespaceDefinition as te}from"@makaio/framework/storage";import{HookAbortError as E}from"@makaio/framework/hooks";import{AdapterRuntimeSubjects as ne}from"@makaio/framework/services/adapter-runtime";import{buildProviderContext as re}from"@makaio/framework/services/provider-context";const D=te(`agent`,{schemas:{get:{request:m.object({agentId:m.string()}),response:m.object({agent:y.nullable()})},set:{request:m.object({agentId:m.string(),agent:y}),response:m.object({success:m.boolean()})},delete:{request:m.object({agentId:m.string()}),response:m.object({success:m.boolean()})},listByAdapter:{request:m.object({adapterName:m.string(),status:m.enum([`idle`,`active`,`dead`,`disposed`,`all`]).optional()}),response:m.object({agents:m.array(y)})},listBySession:{request:m.object({sessionId:m.string()}),response:m.object({agents:m.array(y)})},updateStatus:{request:m.object({agentId:m.string(),status:_}),response:m.object({success:m.boolean()})},updateActivity:{request:m.object({agentId:m.string(),lastActivityAt:m.number()}),response:m.object({success:m.boolean()})},updateRuntime:{request:m.object({agentId:m.string(),cwd:m.string().optional(),model:m.string().optional(),providerConfigId:m.string().optional()}).refine(e=>e.cwd!==void 0||e.model!==void 0||e.providerConfigId!==void 0,{message:`At least one runtime field (cwd, model, or providerConfigId) must be provided`}),response:m.object({success:m.boolean()})}},extensions:{drizzle:{agents:e}}}),O=D.subjects;function ie(e){if(e)try{let t=JSON.parse(e),n=x.safeParse(t);return n.success?n.data:void 0}catch{return}}function k(e){return{turnId:e.turnId,sessionId:e.sessionId,turnNumber:e.turnNumber,startedAt:e.startedAt,completedAt:e.completedAt??void 0,status:e.status,error:e.error??void 0,usage:ie(e.usage)}}function ae(e,t,n){let r=[oe(e,t),se(e,t),ce(e,t),A(e,t),j(e,t),M(e,t),le(e,t)];return()=>r.forEach(e=>e())}function oe(e,n){return e.on(i.create,async e=>{let{sessionId:r,turnId:i}=e.payload,a=Date.now(),o=i??crypto.randomUUID();await n.run(ee`
1
+ import{agents as e}from"./services/session/storage/schema.mjs";import{t}from"./schema-DdMn1KCD.mjs";import{n}from"./namespace-eOeUjGPB.mjs";import{SessionStorageSubjects as r}from"./services/session/storage/namespace.mjs";import{TurnStorageSubjects as i}from"./services/turn/namespace.mjs";import"./services/session/turns/namespace.mjs";import{AdapterRuntimeSubjects as a}from"./services/adapter-runtime/namespace.mjs";import{MessageStorageSubjects as o}from"./services/session/messages/namespace.mjs";import{n as s}from"./namespace-BGGiHXkz.mjs";import{ProviderStorageSubjects as c}from"./services/settings/storage/providers-namespace.mjs";import{ExecutionTargetSubjects as l}from"./services/execution-target/namespace.mjs";import{r as u,t as d}from"./provider-context-ClL5nCQg.mjs";import{ExtractedContextSchema as f}from"./services/compression/schemas.mjs";import{PreferencesSubjects as p}from"./services/preferences/storage-namespace.mjs";import{z as m}from"zod";import{AdapterSubjects as h,AgentResolutionSubjects as g,AgentStatusSchema as _,AgentSubjects as v,MakaioSessionAgentSchema as y,SessionSubjects as b,TurnUsageSchema as x}from"@makaio/framework/contracts";import{and as S,asc as C,desc as w,eq as T,sql as ee}from"drizzle-orm";import{createStorageNamespaceDefinition as te}from"@makaio/framework/storage";import{HookAbortError as E}from"@makaio/framework/hooks";import{AdapterRuntimeSubjects as ne}from"@makaio/framework/services/adapter-runtime";import{buildProviderContext as re}from"@makaio/framework/services/provider-context";const D=te(`agent`,{schemas:{get:{request:m.object({agentId:m.string()}),response:m.object({agent:y.nullable()})},set:{request:m.object({agentId:m.string(),agent:y}),response:m.object({success:m.boolean()})},delete:{request:m.object({agentId:m.string()}),response:m.object({success:m.boolean()})},listByAdapter:{request:m.object({adapterName:m.string(),status:m.enum([`idle`,`active`,`dead`,`disposed`,`all`]).optional()}),response:m.object({agents:m.array(y)})},listBySession:{request:m.object({sessionId:m.string()}),response:m.object({agents:m.array(y)})},updateStatus:{request:m.object({agentId:m.string(),status:_}),response:m.object({success:m.boolean()})},updateActivity:{request:m.object({agentId:m.string(),lastActivityAt:m.number()}),response:m.object({success:m.boolean()})},updateRuntime:{request:m.object({agentId:m.string(),cwd:m.string().optional(),model:m.string().optional(),providerConfigId:m.string().optional()}).refine(e=>e.cwd!==void 0||e.model!==void 0||e.providerConfigId!==void 0,{message:`At least one runtime field (cwd, model, or providerConfigId) must be provided`}),response:m.object({success:m.boolean()})}},extensions:{drizzle:{agents:e}}}),O=D.subjects;function ie(e){if(e)try{let t=JSON.parse(e),n=x.safeParse(t);return n.success?n.data:void 0}catch{return}}function k(e){return{turnId:e.turnId,sessionId:e.sessionId,turnNumber:e.turnNumber,startedAt:e.startedAt,completedAt:e.completedAt??void 0,status:e.status,error:e.error??void 0,usage:ie(e.usage)}}function ae(e,t,n){let r=[oe(e,t),se(e,t),ce(e,t),A(e,t),j(e,t),M(e,t),le(e,t)];return()=>r.forEach(e=>e())}function oe(e,n){return e.on(i.create,async e=>{let{sessionId:r,turnId:i}=e.payload,a=Date.now(),o=i??crypto.randomUUID();await n.run(ee`
2
2
  WITH next_num AS (
3
3
  SELECT COALESCE(MAX(turn_number), 0) + 1 AS n
4
4
  FROM turns
@@ -44,8 +44,8 @@ type ContainerRuntime = z.infer<typeof ContainerRuntimeSchema>;
44
44
  * Container state.
45
45
  */
46
46
  declare const ContainerStateSchema: z.ZodEnum<{
47
- created: "created";
48
47
  running: "running";
48
+ created: "created";
49
49
  stopped: "stopped";
50
50
  destroyed: "destroyed";
51
51
  }>;
@@ -116,8 +116,8 @@ declare const ContainerIsolatedSpawnRequestSchema: z.ZodObject<{
116
116
  repoUrl: z.ZodString;
117
117
  branch: z.ZodOptional<z.ZodString>;
118
118
  busMode: z.ZodEnum<{
119
- relay: "relay";
120
119
  host: "host";
120
+ relay: "relay";
121
121
  }>;
122
122
  relayUrl: z.ZodOptional<z.ZodString>;
123
123
  }, z.core.$strip>;
@@ -183,8 +183,8 @@ declare const SpawnRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
183
183
  repoUrl: z.ZodString;
184
184
  branch: z.ZodOptional<z.ZodString>;
185
185
  busMode: z.ZodEnum<{
186
- relay: "relay";
187
186
  host: "host";
187
+ relay: "relay";
188
188
  }>;
189
189
  relayUrl: z.ZodOptional<z.ZodString>;
190
190
  }, z.core.$strip>], "mode">;
@@ -225,8 +225,8 @@ type StatusRequest = z.infer<typeof StatusRequestSchema>;
225
225
  */
226
226
  declare const StatusResponseSchema: z.ZodObject<{
227
227
  state: z.ZodEnum<{
228
- created: "created";
229
228
  running: "running";
229
+ created: "created";
230
230
  stopped: "stopped";
231
231
  destroyed: "destroyed";
232
232
  }>;
@@ -334,8 +334,8 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
334
334
  repoUrl: _$zod.ZodString;
335
335
  branch: _$zod.ZodOptional<_$zod.ZodString>;
336
336
  busMode: _$zod.ZodEnum<{
337
- relay: "relay";
338
337
  host: "host";
338
+ relay: "relay";
339
339
  }>;
340
340
  relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
341
341
  }, _$zod_v4_core0.$strip>], "mode">;
@@ -360,8 +360,8 @@ declare const DockerNamespace: _$_makaio_core0.BusNamespaceDefinition<"docker",
360
360
  }, _$zod_v4_core0.$strip>;
361
361
  response: _$zod.ZodObject<{
362
362
  state: _$zod.ZodEnum<{
363
- created: "created";
364
363
  running: "running";
364
+ created: "created";
365
365
  stopped: "stopped";
366
366
  destroyed: "destroyed";
367
367
  }>;
@@ -452,8 +452,8 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
452
452
  repoUrl: _$zod.ZodString;
453
453
  branch: _$zod.ZodOptional<_$zod.ZodString>;
454
454
  busMode: _$zod.ZodEnum<{
455
- relay: "relay";
456
455
  host: "host";
456
+ relay: "relay";
457
457
  }>;
458
458
  relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
459
459
  }, _$zod_v4_core0.$strip>], "mode">;
@@ -478,8 +478,8 @@ declare const DockerSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSu
478
478
  }, _$zod_v4_core0.$strip>;
479
479
  response: _$zod.ZodObject<{
480
480
  state: _$zod.ZodEnum<{
481
- created: "created";
482
481
  running: "running";
482
+ created: "created";
483
483
  stopped: "stopped";
484
484
  destroyed: "destroyed";
485
485
  }>;
@@ -572,8 +572,8 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
572
572
  repoUrl: _$zod.ZodString;
573
573
  branch: _$zod.ZodOptional<_$zod.ZodString>;
574
574
  busMode: _$zod.ZodEnum<{
575
- relay: "relay";
576
575
  host: "host";
576
+ relay: "relay";
577
577
  }>;
578
578
  relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
579
579
  }, _$zod_v4_core0.$strip>], "mode">;
@@ -598,8 +598,8 @@ declare const ContainerSpawnNamespace: _$_makaio_core0.BusNamespaceDefinition<"d
598
598
  }, _$zod_v4_core0.$strip>;
599
599
  response: _$zod.ZodObject<{
600
600
  state: _$zod.ZodEnum<{
601
- created: "created";
602
601
  running: "running";
602
+ created: "created";
603
603
  stopped: "stopped";
604
604
  destroyed: "destroyed";
605
605
  }>;
@@ -690,8 +690,8 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
690
690
  repoUrl: _$zod.ZodString;
691
691
  branch: _$zod.ZodOptional<_$zod.ZodString>;
692
692
  busMode: _$zod.ZodEnum<{
693
- relay: "relay";
694
693
  host: "host";
694
+ relay: "relay";
695
695
  }>;
696
696
  relayUrl: _$zod.ZodOptional<_$zod.ZodString>;
697
697
  }, _$zod_v4_core0.$strip>], "mode">;
@@ -716,8 +716,8 @@ declare const ContainerSpawnSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core
716
716
  }, _$zod_v4_core0.$strip>;
717
717
  response: _$zod.ZodObject<{
718
718
  state: _$zod.ZodEnum<{
719
- created: "created";
720
719
  running: "running";
720
+ created: "created";
721
721
  stopped: "stopped";
722
722
  destroyed: "destroyed";
723
723
  }>;
@@ -1561,8 +1561,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1561
1561
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
1562
1562
  error: "error";
1563
1563
  info: "info";
1564
- debug: "debug";
1565
1564
  warn: "warn";
1565
+ debug: "debug";
1566
1566
  }>>;
1567
1567
  }, _$zod_v4_core0.$strip>;
1568
1568
  error: _$zod.ZodObject<{
@@ -3150,8 +3150,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3150
3150
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
3151
3151
  error: "error";
3152
3152
  info: "info";
3153
- debug: "debug";
3154
3153
  warn: "warn";
3154
+ debug: "debug";
3155
3155
  }>>;
3156
3156
  }, _$zod_v4_core0.$strip>;
3157
3157
  error: _$zod.ZodObject<{
@@ -4763,8 +4763,8 @@ declare const AdapterSchemas: {
4763
4763
  level: _$zod.ZodOptional<_$zod.ZodEnum<{
4764
4764
  error: "error";
4765
4765
  info: "info";
4766
- debug: "debug";
4767
4766
  warn: "warn";
4767
+ debug: "debug";
4768
4768
  }>>;
4769
4769
  }, _$zod_v4_core0.$strip>;
4770
4770
  error: _$zod.ZodObject<{
@@ -6350,24 +6350,55 @@ type SessionDiscovered = z.infer<typeof SessionDiscoveredSchema$1>;
6350
6350
  * host-tier resolver, not at the bus transport layer.
6351
6351
  */
6352
6352
  declare const AgentSelectionBaseSchema: z.ZodObject<{
6353
+ /**
6354
+ * Resolution strategy discriminant.
6355
+ *
6356
+ * Open string — framework handles `'adapter'`, host registers
6357
+ * resolvers for additional kinds. Unknown kinds are resolved via
6358
+ * `AgentResolutionSubjects.resolve` bus RPC.
6359
+ */
6353
6360
  kind: z.ZodString;
6354
- providerConfigId: z.ZodOptional<z.ZodString>;
6355
- model: z.ZodOptional<z.ZodString>;
6361
+ /**
6362
+ * Provider config UUID — "use these credentials."
6363
+ *
6364
+ * Links to a user-created `ProviderConfigRecord` with endpoint overrides
6365
+ * and credentials. Orthogonal to resolution strategy: resolution
6366
+ * produces an adapter + model, this field selects which
6367
+ * account/credentials to use for the API call.
6368
+ *
6369
+ * When omitted, credentials resolve through a fallback chain:
6370
+ * 1. Persona/profile/virtualModel resolution may produce a
6371
+ * `providerConfigId` from the resolved entity
6372
+ * 2. If still absent, the adapter receives a sentinel context and
6373
+ * falls back to environment variables or local tooling
6374
+ * (see `createSentinelProviderContext`)
6375
+ *
6376
+ * Renamed from the legacy wire name `providerId` for clarity — this
6377
+ * points to a ProviderConfig instance, not a ProviderDefinition.
6378
+ */
6379
+ providerConfigId: z.ZodOptional<z.ZodString>; /** Model identifier (e.g., `'sonnet'`, `'gpt-4o'`). Overrides resolved model. */
6380
+ model: z.ZodOptional<z.ZodString>; /** Reasoning effort level. Overrides resolved reasoning effort. */
6356
6381
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
6357
6382
  none: "none";
6358
6383
  low: "low";
6359
6384
  medium: "medium";
6360
6385
  high: "high";
6361
6386
  "extra-high": "extra-high";
6362
- }>>;
6387
+ }>>; /** Working directory for agent execution. */
6363
6388
  cwd: z.ZodOptional<z.ZodString>;
6389
+ /**
6390
+ * System prompt configuration.
6391
+ *
6392
+ * - `string`: Replace/set the entire system prompt.
6393
+ * - `{ mode: 'append', content: string }`: Append to the resolved system prompt.
6394
+ */
6364
6395
  systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6365
6396
  mode: z.ZodLiteral<"append">;
6366
6397
  content: z.ZodString;
6367
- }, z.core.$strip>]>>;
6368
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6369
- disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6370
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6398
+ }, z.core.$strip>]>>; /** Allowed tool names (adapter-specific). Empty array = disable all tools. */
6399
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>; /** Disallowed tool names (adapter-specific). Takes precedence over allowedTools. */
6400
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>; /** Environment variables to pass to agent execution. */
6401
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; /** MCP session context with caller-provided servers and tools. */
6371
6402
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
6372
6403
  sessionId: z.ZodString;
6373
6404
  servers: z.ZodArray<z.ZodObject<{
@@ -6449,6 +6480,13 @@ declare const AgentSelectionBaseSchema: z.ZodObject<{
6449
6480
  exposed: z.ZodBoolean;
6450
6481
  }, z.core.$strip>>;
6451
6482
  }, z.core.$strip>>;
6483
+ /**
6484
+ * Directory restrictions for file-system tool execution.
6485
+ *
6486
+ * - `undefined`: no restriction (use adapter/runtime defaults)
6487
+ * - `[]`: deny all filesystem paths
6488
+ * - non-empty array: restrict access to listed directories
6489
+ */
6452
6490
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
6453
6491
  }, z.core.$loose>;
6454
6492
  type AgentSelectionBase = z.infer<typeof AgentSelectionBaseSchema>;
@@ -6617,24 +6655,55 @@ type AgentSelection = AgentSelectionKindMap[keyof AgentSelectionKindMap];
6617
6655
  * {@link AgentSelection} type after resolver validation.
6618
6656
  */
6619
6657
  declare const AgentSelectionSchema: z.ZodObject<{
6658
+ /**
6659
+ * Resolution strategy discriminant.
6660
+ *
6661
+ * Open string — framework handles `'adapter'`, host registers
6662
+ * resolvers for additional kinds. Unknown kinds are resolved via
6663
+ * `AgentResolutionSubjects.resolve` bus RPC.
6664
+ */
6620
6665
  kind: z.ZodString;
6621
- providerConfigId: z.ZodOptional<z.ZodString>;
6622
- model: z.ZodOptional<z.ZodString>;
6666
+ /**
6667
+ * Provider config UUID — "use these credentials."
6668
+ *
6669
+ * Links to a user-created `ProviderConfigRecord` with endpoint overrides
6670
+ * and credentials. Orthogonal to resolution strategy: resolution
6671
+ * produces an adapter + model, this field selects which
6672
+ * account/credentials to use for the API call.
6673
+ *
6674
+ * When omitted, credentials resolve through a fallback chain:
6675
+ * 1. Persona/profile/virtualModel resolution may produce a
6676
+ * `providerConfigId` from the resolved entity
6677
+ * 2. If still absent, the adapter receives a sentinel context and
6678
+ * falls back to environment variables or local tooling
6679
+ * (see `createSentinelProviderContext`)
6680
+ *
6681
+ * Renamed from the legacy wire name `providerId` for clarity — this
6682
+ * points to a ProviderConfig instance, not a ProviderDefinition.
6683
+ */
6684
+ providerConfigId: z.ZodOptional<z.ZodString>; /** Model identifier (e.g., `'sonnet'`, `'gpt-4o'`). Overrides resolved model. */
6685
+ model: z.ZodOptional<z.ZodString>; /** Reasoning effort level. Overrides resolved reasoning effort. */
6623
6686
  reasoningEffort: z.ZodOptional<z.ZodEnum<{
6624
6687
  none: "none";
6625
6688
  low: "low";
6626
6689
  medium: "medium";
6627
6690
  high: "high";
6628
6691
  "extra-high": "extra-high";
6629
- }>>;
6692
+ }>>; /** Working directory for agent execution. */
6630
6693
  cwd: z.ZodOptional<z.ZodString>;
6694
+ /**
6695
+ * System prompt configuration.
6696
+ *
6697
+ * - `string`: Replace/set the entire system prompt.
6698
+ * - `{ mode: 'append', content: string }`: Append to the resolved system prompt.
6699
+ */
6631
6700
  systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
6632
6701
  mode: z.ZodLiteral<"append">;
6633
6702
  content: z.ZodString;
6634
- }, z.core.$strip>]>>;
6635
- allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6636
- disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
6637
- env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6703
+ }, z.core.$strip>]>>; /** Allowed tool names (adapter-specific). Empty array = disable all tools. */
6704
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>; /** Disallowed tool names (adapter-specific). Takes precedence over allowedTools. */
6705
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>; /** Environment variables to pass to agent execution. */
6706
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; /** MCP session context with caller-provided servers and tools. */
6638
6707
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
6639
6708
  sessionId: z.ZodString;
6640
6709
  servers: z.ZodArray<z.ZodObject<{
@@ -6716,6 +6785,13 @@ declare const AgentSelectionSchema: z.ZodObject<{
6716
6785
  exposed: z.ZodBoolean;
6717
6786
  }, z.core.$strip>>;
6718
6787
  }, z.core.$strip>>;
6788
+ /**
6789
+ * Directory restrictions for file-system tool execution.
6790
+ *
6791
+ * - `undefined`: no restriction (use adapter/runtime defaults)
6792
+ * - `[]`: deny all filesystem paths
6793
+ * - non-empty array: restrict access to listed directories
6794
+ */
6719
6795
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
6720
6796
  }, z.core.$loose>;
6721
6797
  //#endregion
@@ -18,12 +18,12 @@ import { ExtensionWarningEntry, ExtensionWarningEntrySchema } from "@makaio/fram
18
18
  * detail, not an externally observable state.
19
19
  */
20
20
  declare const ComponentStateSchema: z.ZodEnum<{
21
+ failed: "failed";
21
22
  active: "active";
22
23
  discovered: "discovered";
23
- failed: "failed";
24
24
  skipped: "skipped";
25
- stopped: "stopped";
26
25
  initializing: "initializing";
26
+ stopped: "stopped";
27
27
  }>;
28
28
  /** Inferred union of all valid component lifecycle states. */
29
29
  type ComponentState = z.infer<typeof ComponentStateSchema>;
@@ -47,12 +47,12 @@ declare const ComponentInfoSchema: z.ZodObject<{
47
47
  name: z.ZodString;
48
48
  displayName: z.ZodString;
49
49
  state: z.ZodEnum<{
50
+ failed: "failed";
50
51
  active: "active";
51
52
  discovered: "discovered";
52
- failed: "failed";
53
53
  skipped: "skipped";
54
- stopped: "stopped";
55
54
  initializing: "initializing";
55
+ stopped: "stopped";
56
56
  }>;
57
57
  error: z.ZodOptional<z.ZodString>;
58
58
  }, z.core.$strip>;
@@ -68,12 +68,12 @@ declare const ServiceInfoSchema: z.ZodObject<{
68
68
  name: z.ZodString;
69
69
  displayName: z.ZodString;
70
70
  state: z.ZodEnum<{
71
+ failed: "failed";
71
72
  active: "active";
72
73
  discovered: "discovered";
73
- failed: "failed";
74
74
  skipped: "skipped";
75
- stopped: "stopped";
76
75
  initializing: "initializing";
76
+ stopped: "stopped";
77
77
  }>;
78
78
  error: z.ZodOptional<z.ZodString>;
79
79
  critical: z.ZodBoolean;
@@ -90,12 +90,12 @@ declare const ExtensionInfoSchema: z.ZodObject<{
90
90
  name: z.ZodString;
91
91
  displayName: z.ZodString;
92
92
  state: z.ZodEnum<{
93
+ failed: "failed";
93
94
  active: "active";
94
95
  discovered: "discovered";
95
- failed: "failed";
96
96
  skipped: "skipped";
97
- stopped: "stopped";
98
97
  initializing: "initializing";
98
+ stopped: "stopped";
99
99
  }>;
100
100
  error: z.ZodOptional<z.ZodString>;
101
101
  surface: z.ZodOptional<z.ZodEnum<{
@@ -138,20 +138,20 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
138
138
  name: z.ZodString;
139
139
  displayName: z.ZodString;
140
140
  from: z.ZodEnum<{
141
+ failed: "failed";
141
142
  active: "active";
142
143
  discovered: "discovered";
143
- failed: "failed";
144
144
  skipped: "skipped";
145
- stopped: "stopped";
146
145
  initializing: "initializing";
146
+ stopped: "stopped";
147
147
  }>;
148
148
  to: z.ZodEnum<{
149
+ failed: "failed";
149
150
  active: "active";
150
151
  discovered: "discovered";
151
- failed: "failed";
152
152
  skipped: "skipped";
153
- stopped: "stopped";
154
153
  initializing: "initializing";
154
+ stopped: "stopped";
155
155
  }>;
156
156
  error: z.ZodOptional<z.ZodString>;
157
157
  contributes: z.ZodOptional<z.ZodObject<{
@@ -181,12 +181,12 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
181
181
  name: z.ZodString;
182
182
  displayName: z.ZodString;
183
183
  state: z.ZodEnum<{
184
+ failed: "failed";
184
185
  active: "active";
185
186
  discovered: "discovered";
186
- failed: "failed";
187
187
  skipped: "skipped";
188
- stopped: "stopped";
189
188
  initializing: "initializing";
189
+ stopped: "stopped";
190
190
  }>;
191
191
  error: z.ZodOptional<z.ZodString>;
192
192
  surface: z.ZodOptional<z.ZodEnum<{
@@ -219,12 +219,12 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
219
219
  name: z.ZodString;
220
220
  displayName: z.ZodString;
221
221
  state: z.ZodEnum<{
222
+ failed: "failed";
222
223
  active: "active";
223
224
  discovered: "discovered";
224
- failed: "failed";
225
225
  skipped: "skipped";
226
- stopped: "stopped";
227
226
  initializing: "initializing";
227
+ stopped: "stopped";
228
228
  }>;
229
229
  error: z.ZodOptional<z.ZodString>;
230
230
  surface: z.ZodOptional<z.ZodEnum<{
@@ -366,8 +366,8 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
366
366
  }, z.core.$strip>>>;
367
367
  }, z.core.$strip>>>;
368
368
  defaultApprovalPolicy: z.ZodEnum<{
369
- reject: "reject";
370
369
  "always-ask": "always-ask";
370
+ reject: "reject";
371
371
  "full-access": "full-access";
372
372
  }>;
373
373
  logSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -487,9 +487,9 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
487
487
  extensionName: z.ZodString;
488
488
  warnings: z.ZodArray<z.ZodObject<{
489
489
  severity: z.ZodEnum<{
490
- degraded: "degraded";
491
490
  info: "info";
492
491
  recommended: "recommended";
492
+ degraded: "degraded";
493
493
  }>;
494
494
  title: z.ZodString;
495
495
  message: z.ZodString;
@@ -527,9 +527,9 @@ declare const ExtensionNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel
527
527
  extensionName: z.ZodString;
528
528
  warnings: z.ZodArray<z.ZodObject<{
529
529
  severity: z.ZodEnum<{
530
- degraded: "degraded";
531
530
  info: "info";
532
531
  recommended: "recommended";
532
+ degraded: "degraded";
533
533
  }>;
534
534
  title: z.ZodString;
535
535
  message: z.ZodString;
@@ -592,20 +592,20 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
592
592
  name: z.ZodString;
593
593
  displayName: z.ZodString;
594
594
  from: z.ZodEnum<{
595
+ failed: "failed";
595
596
  active: "active";
596
597
  discovered: "discovered";
597
- failed: "failed";
598
598
  skipped: "skipped";
599
- stopped: "stopped";
600
599
  initializing: "initializing";
600
+ stopped: "stopped";
601
601
  }>;
602
602
  to: z.ZodEnum<{
603
+ failed: "failed";
603
604
  active: "active";
604
605
  discovered: "discovered";
605
- failed: "failed";
606
606
  skipped: "skipped";
607
- stopped: "stopped";
608
607
  initializing: "initializing";
608
+ stopped: "stopped";
609
609
  }>;
610
610
  error: z.ZodOptional<z.ZodString>;
611
611
  contributes: z.ZodOptional<z.ZodObject<{
@@ -635,12 +635,12 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
635
635
  name: z.ZodString;
636
636
  displayName: z.ZodString;
637
637
  state: z.ZodEnum<{
638
+ failed: "failed";
638
639
  active: "active";
639
640
  discovered: "discovered";
640
- failed: "failed";
641
641
  skipped: "skipped";
642
- stopped: "stopped";
643
642
  initializing: "initializing";
643
+ stopped: "stopped";
644
644
  }>;
645
645
  error: z.ZodOptional<z.ZodString>;
646
646
  surface: z.ZodOptional<z.ZodEnum<{
@@ -673,12 +673,12 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
673
673
  name: z.ZodString;
674
674
  displayName: z.ZodString;
675
675
  state: z.ZodEnum<{
676
+ failed: "failed";
676
677
  active: "active";
677
678
  discovered: "discovered";
678
- failed: "failed";
679
679
  skipped: "skipped";
680
- stopped: "stopped";
681
680
  initializing: "initializing";
681
+ stopped: "stopped";
682
682
  }>;
683
683
  error: z.ZodOptional<z.ZodString>;
684
684
  surface: z.ZodOptional<z.ZodEnum<{
@@ -820,8 +820,8 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
820
820
  }, z.core.$strip>>>;
821
821
  }, z.core.$strip>>>;
822
822
  defaultApprovalPolicy: z.ZodEnum<{
823
- reject: "reject";
824
823
  "always-ask": "always-ask";
824
+ reject: "reject";
825
825
  "full-access": "full-access";
826
826
  }>;
827
827
  logSources: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -941,9 +941,9 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
941
941
  extensionName: z.ZodString;
942
942
  warnings: z.ZodArray<z.ZodObject<{
943
943
  severity: z.ZodEnum<{
944
- degraded: "degraded";
945
944
  info: "info";
946
945
  recommended: "recommended";
946
+ degraded: "degraded";
947
947
  }>;
948
948
  title: z.ZodString;
949
949
  message: z.ZodString;
@@ -981,9 +981,9 @@ declare const ExtensionSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
981
981
  extensionName: z.ZodString;
982
982
  warnings: z.ZodArray<z.ZodObject<{
983
983
  severity: z.ZodEnum<{
984
- degraded: "degraded";
985
984
  info: "info";
986
985
  recommended: "recommended";
986
+ degraded: "degraded";
987
987
  }>;
988
988
  title: z.ZodString;
989
989
  message: z.ZodString;
@@ -27,8 +27,8 @@ type MakaioVariant = z.infer<typeof MakaioVariantSchema>;
27
27
  */
28
28
  declare const VariantUpgradeStatusSchema: z.ZodEnum<{
29
29
  error: "error";
30
- complete: "complete";
31
30
  progress: "progress";
31
+ complete: "complete";
32
32
  downloading: "downloading";
33
33
  applying: "applying";
34
34
  }>;
@@ -101,8 +101,8 @@ declare const VariantSchemas: {
101
101
  upgradeProgress: z.ZodObject<{
102
102
  status: z.ZodEnum<{
103
103
  error: "error";
104
- complete: "complete";
105
104
  progress: "progress";
105
+ complete: "complete";
106
106
  downloading: "downloading";
107
107
  applying: "applying";
108
108
  }>;
@@ -158,8 +158,8 @@ declare const VariantNamespace: _$_makaio_core0.BusNamespaceDefinition<"host:var
158
158
  upgradeProgress: _$zod.ZodObject<{
159
159
  status: _$zod.ZodEnum<{
160
160
  error: "error";
161
- complete: "complete";
162
161
  progress: "progress";
162
+ complete: "complete";
163
163
  downloading: "downloading";
164
164
  applying: "applying";
165
165
  }>;
@@ -205,8 +205,8 @@ declare const VariantSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatS
205
205
  upgradeProgress: _$zod.ZodObject<{
206
206
  status: _$zod.ZodEnum<{
207
207
  error: "error";
208
- complete: "complete";
209
208
  progress: "progress";
209
+ complete: "complete";
210
210
  downloading: "downloading";
211
211
  applying: "applying";
212
212
  }>;