@makaio/framework 1.0.0-dev-1779046984397

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 (410) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +363 -0
  3. package/dist/account-identity-Ce1Bwrqi.mjs +1 -0
  4. package/dist/adapter-CbyjCE2d.mjs +1 -0
  5. package/dist/adapters/acp-client/index.d.mts +209 -0
  6. package/dist/adapters/acp-client/index.mjs +1 -0
  7. package/dist/adapters/config/index.d.mts +429 -0
  8. package/dist/adapters/config/index.mjs +1 -0
  9. package/dist/adapters/index.d.mts +4175 -0
  10. package/dist/adapters/index.mjs +11 -0
  11. package/dist/adapters/node.d.mts +263 -0
  12. package/dist/adapters/node.mjs +4 -0
  13. package/dist/adapters/stream-session/index.d.mts +1384 -0
  14. package/dist/adapters/stream-session/index.mjs +1 -0
  15. package/dist/adapters/stream-session/testing/index.d.mts +29 -0
  16. package/dist/adapters/stream-session/testing/index.mjs +1 -0
  17. package/dist/base-orchestrator-9z8TuA5a.d.mts +772 -0
  18. package/dist/bus/index.d.mts +3331 -0
  19. package/dist/bus/index.mjs +1 -0
  20. package/dist/bus-B1seC4M_.mjs +2 -0
  21. package/dist/capability-service-tnpR_TaB.mjs +1 -0
  22. package/dist/chunk-Dc06z0qk.mjs +1 -0
  23. package/dist/chunk-cpUYaJdV.mjs +1 -0
  24. package/dist/cleanEnvForAdapter-DvcIGXTG.mjs +1 -0
  25. package/dist/client-Dh4x4GQN.mjs +1 -0
  26. package/dist/clients/index.d.mts +2786 -0
  27. package/dist/clients/index.mjs +1 -0
  28. package/dist/clients-namespace-B0xAPZ6J.d.mts +332 -0
  29. package/dist/config-namespace-DLSs83zr.d.mts +638 -0
  30. package/dist/config-namespace-MJT8P0Ud.mjs +1 -0
  31. package/dist/contracts/adapter/index.d.mts +3 -0
  32. package/dist/contracts/adapter/index.mjs +1 -0
  33. package/dist/contracts/adapter/schemas/session-lineage.d.mts +2 -0
  34. package/dist/contracts/adapter/schemas/session-lineage.mjs +1 -0
  35. package/dist/contracts/client/index.d.mts +3 -0
  36. package/dist/contracts/client/index.mjs +1 -0
  37. package/dist/contracts/common/index.d.mts +2 -0
  38. package/dist/contracts/common/index.mjs +1 -0
  39. package/dist/contracts/config/index.d.mts +455 -0
  40. package/dist/contracts/config/index.mjs +1 -0
  41. package/dist/contracts/extension/index.d.mts +3 -0
  42. package/dist/contracts/extension/index.mjs +1 -0
  43. package/dist/contracts/harness/index.d.mts +2 -0
  44. package/dist/contracts/harness/index.mjs +1 -0
  45. package/dist/contracts/host/index.d.mts +2 -0
  46. package/dist/contracts/host/index.mjs +1 -0
  47. package/dist/contracts/index.d.mts +12665 -0
  48. package/dist/contracts/index.mjs +1 -0
  49. package/dist/contracts/model-registry/index.d.mts +2 -0
  50. package/dist/contracts/model-registry/index.mjs +1 -0
  51. package/dist/contracts/native-session-supervisor/index.d.mts +2 -0
  52. package/dist/contracts/native-session-supervisor/index.mjs +1 -0
  53. package/dist/contracts/platform/index.d.mts +2 -0
  54. package/dist/contracts/platform/index.mjs +1 -0
  55. package/dist/contracts/provider/index.d.mts +3 -0
  56. package/dist/contracts/provider/index.mjs +1 -0
  57. package/dist/contracts/session/index.d.mts +3 -0
  58. package/dist/contracts/session/index.mjs +1 -0
  59. package/dist/contracts/shared/index.d.mts +2 -0
  60. package/dist/contracts/shared/index.mjs +1 -0
  61. package/dist/contracts/skill/index.d.mts +2 -0
  62. package/dist/contracts/skill/index.mjs +1 -0
  63. package/dist/contracts/toast/index.d.mts +198 -0
  64. package/dist/contracts/toast/index.mjs +1 -0
  65. package/dist/contracts/variant/index.d.mts +2 -0
  66. package/dist/contracts/variant/index.mjs +1 -0
  67. package/dist/core/index.d.mts +1001 -0
  68. package/dist/core/index.mjs +1 -0
  69. package/dist/credential-ref-DLCsoKVZ.mjs +1 -0
  70. package/dist/cursor-storage-DOQdvo9j.mjs +1 -0
  71. package/dist/definition-DkYy1PZz.mjs +1 -0
  72. package/dist/definition-DtUNiGom.d.mts +158 -0
  73. package/dist/definition-DxvZ9e22.d.mts +376 -0
  74. package/dist/drizzle-CWVVw7Er.mjs +1 -0
  75. package/dist/execution-target-BW_uiBVe.mjs +1 -0
  76. package/dist/extension-COqwS-2Q.mjs +1 -0
  77. package/dist/extension-Cbrl4YGX.mjs +1 -0
  78. package/dist/extension-namespace-zaGKi6Qj.mjs +1 -0
  79. package/dist/handlers-iGKUJ380.mjs +41 -0
  80. package/dist/harness-CEq1Zkf9.mjs +1 -0
  81. package/dist/hooks/index.d.mts +423 -0
  82. package/dist/hooks/index.mjs +1 -0
  83. package/dist/host-CXAUGGN0.mjs +1 -0
  84. package/dist/identity-B_A0mE63.mjs +1 -0
  85. package/dist/index-6lyShOoU.d.mts +225 -0
  86. package/dist/index-7sXlairn2.d.mts +43 -0
  87. package/dist/index-BAKM2GMH2.d.mts +535 -0
  88. package/dist/index-BB419vv-.d.mts +3897 -0
  89. package/dist/index-BJOfdtbw.d.mts +729 -0
  90. package/dist/index-BXP9GK5q.d.mts +1075 -0
  91. package/dist/index-BdPwu6c0.d.mts +1730 -0
  92. package/dist/index-BePI0ckL.d.mts +40 -0
  93. package/dist/index-Bigx81Kr.d.mts +37 -0
  94. package/dist/index-BnNqbx2I.d.mts +134 -0
  95. package/dist/index-Bv15sNLn.d.mts +389 -0
  96. package/dist/index-C-myW_aK.d.mts +412 -0
  97. package/dist/index-C9F3Fc1A.d.mts +2938 -0
  98. package/dist/index-CNxS4Tlu.d.mts +1 -0
  99. package/dist/index-CVA0m1g9.d.mts +995 -0
  100. package/dist/index-C_kS2aqV2.d.mts +438 -0
  101. package/dist/index-Ch3ph52M2.d.mts +40 -0
  102. package/dist/index-CnZOKNjU.d.mts +89 -0
  103. package/dist/index-D1T-PPqF.d.mts +67 -0
  104. package/dist/index-D7T8XCku.d.mts +341 -0
  105. package/dist/index-DBQtpFLE.d.mts +4843 -0
  106. package/dist/index-DEw90pa2.d.mts +183 -0
  107. package/dist/index-DQRsGXb5.d.mts +109 -0
  108. package/dist/index-Dd5s4MSm.d.mts +72 -0
  109. package/dist/index-DubqLGH8.d.mts +1002 -0
  110. package/dist/index-ESSDWIB7.d.mts +11 -0
  111. package/dist/index-N5K1NOYs.d.mts +184 -0
  112. package/dist/index-PdUSmPT2.d.mts +180 -0
  113. package/dist/index-SzSiyG61.d.mts +117 -0
  114. package/dist/index-T0471kWA.d.mts +6760 -0
  115. package/dist/index-WKjrpcA_.d.mts +218 -0
  116. package/dist/index-hapw9_En.d.mts +13592 -0
  117. package/dist/index-iID2R9G1.d.mts +1490 -0
  118. package/dist/kernel/cli/index.d.mts +141 -0
  119. package/dist/kernel/cli/index.mjs +1 -0
  120. package/dist/kernel/cli/schemas.d.mts +63 -0
  121. package/dist/kernel/cli/schemas.mjs +1 -0
  122. package/dist/kernel/extension/index.d.mts +2 -0
  123. package/dist/kernel/extension/index.mjs +1 -0
  124. package/dist/kernel/index.d.mts +296 -0
  125. package/dist/kernel/index.mjs +1 -0
  126. package/dist/kernel/namespace/index.d.mts +2 -0
  127. package/dist/kernel/namespace/index.mjs +1 -0
  128. package/dist/kernel/observability/index.d.mts +2 -0
  129. package/dist/kernel/observability/index.mjs +1 -0
  130. package/dist/kernel/providers/index.d.mts +2 -0
  131. package/dist/kernel/providers/index.mjs +1 -0
  132. package/dist/kernel/window/index.d.mts +2 -0
  133. package/dist/kernel/window/index.mjs +1 -0
  134. package/dist/model-registry-BNzpR6TU.mjs +1 -0
  135. package/dist/model-registry-CIscwC52.mjs +1 -0
  136. package/dist/namespace-0yuzAKlr.mjs +1 -0
  137. package/dist/namespace-8cNguvIp.mjs +1 -0
  138. package/dist/namespace-BK2erxpV.d.mts +921 -0
  139. package/dist/namespace-Bmc7AW4J2.mjs +1 -0
  140. package/dist/namespace-C2ufjgaQ.d.mts +767 -0
  141. package/dist/namespace-C54Oj025.d.mts +159 -0
  142. package/dist/namespace-CCDEOwmW.d.mts +1313 -0
  143. package/dist/namespace-CfEWMXBx.mjs +1 -0
  144. package/dist/namespace-CkLUtc0g.d.mts +580 -0
  145. package/dist/namespace-D5Wrt7YU.mjs +1 -0
  146. package/dist/namespace-DZcuLwEA.d.mts +51 -0
  147. package/dist/namespace-Db-p67Rg.mjs +1 -0
  148. package/dist/namespace-FWx6HxaW.d.mts +611 -0
  149. package/dist/namespace-GLGGcWPH.d.mts +43 -0
  150. package/dist/namespace-N0dfwSg6.mjs +1 -0
  151. package/dist/namespace-O5SNY-LV.d.mts +2226 -0
  152. package/dist/namespace-ZbthBQVt.d.mts +142 -0
  153. package/dist/namespace-bq4Prtzn.d.mts +2046 -0
  154. package/dist/namespace-pNcSglBS.mjs +1 -0
  155. package/dist/namespace-ptv-pw_g.d.mts +3019 -0
  156. package/dist/namespace-xkvVw3hf2.d.mts +189 -0
  157. package/dist/native-session-supervisor-L-UIaEfd.mjs +1 -0
  158. package/dist/node/bus-server/index.d.mts +178 -0
  159. package/dist/node/bus-server/index.mjs +1 -0
  160. package/dist/node/bus-server/server-lifecycle.d.mts +2 -0
  161. package/dist/node/bus-server/server-lifecycle.mjs +1 -0
  162. package/dist/node/machine-identity/index.d.mts +85 -0
  163. package/dist/node/machine-identity/index.mjs +3 -0
  164. package/dist/node/transports/index.d.mts +1752 -0
  165. package/dist/node/transports/index.mjs +2 -0
  166. package/dist/orchestrator-shared-DrjtTXYh.d.mts +249 -0
  167. package/dist/orchestrator-shared-Wv1GI2mW.mjs +1 -0
  168. package/dist/platform-BbSLVg5b.mjs +1 -0
  169. package/dist/profile-4StaDQW0.mjs +1 -0
  170. package/dist/provider-context-CNRQ4d5m.mjs +1 -0
  171. package/dist/providers/index.d.mts +135 -0
  172. package/dist/providers/index.mjs +1 -0
  173. package/dist/providers-Cr4Za8a1.mjs +1 -0
  174. package/dist/providers-namespace-CDwxY_DV.d.mts +583 -0
  175. package/dist/schema-BwzXEtT2.d.mts +837 -0
  176. package/dist/schema-CAw_BqaG.mjs +1 -0
  177. package/dist/schema-introspection-D61TT_7b.mjs +1 -0
  178. package/dist/schema-uSGW-6oM.mjs +1 -0
  179. package/dist/schemas-BXstpWVp.mjs +1 -0
  180. package/dist/schemas-BdMU-gew.d.mts +160 -0
  181. package/dist/schemas-C40ZAJ33.mjs +1 -0
  182. package/dist/schemas-C5xtVqdb.d.mts +46 -0
  183. package/dist/schemas-CGZy_rU6.d.mts +13 -0
  184. package/dist/schemas-CLxtoKFy.mjs +1 -0
  185. package/dist/schemas-Co_sVhzz.mjs +1 -0
  186. package/dist/schemas-D9108Iv1.d.mts +182 -0
  187. package/dist/schemas-DENVYyds.d.mts +463 -0
  188. package/dist/schemas-DbWs_hj8.d.mts +174 -0
  189. package/dist/schemas-Di0XnnMX.d.mts +73 -0
  190. package/dist/schemas-KMA1efQg.d.mts +944 -0
  191. package/dist/schemas-qmn5SWPU.d.mts +312 -0
  192. package/dist/schemas-sshQEF3l.d.mts +237 -0
  193. package/dist/server-lifecycle-Cf_SZ27k.d.mts +160 -0
  194. package/dist/server-lifecycle-DbFwlrTW.mjs +1 -0
  195. package/dist/service-base/index.d.mts +98 -0
  196. package/dist/service-base/index.mjs +1 -0
  197. package/dist/services/adapter-runtime/index.d.mts +4 -0
  198. package/dist/services/adapter-runtime/index.mjs +1 -0
  199. package/dist/services/adapter-runtime/namespace.d.mts +2 -0
  200. package/dist/services/adapter-runtime/namespace.mjs +1 -0
  201. package/dist/services/adapter-runtime/schemas.d.mts +2 -0
  202. package/dist/services/adapter-runtime/schemas.mjs +1 -0
  203. package/dist/services/adapter-subsystem/index.d.mts +3 -0
  204. package/dist/services/adapter-subsystem/index.mjs +1 -0
  205. package/dist/services/adapter-subsystem/namespace.d.mts +2 -0
  206. package/dist/services/adapter-subsystem/namespace.mjs +1 -0
  207. package/dist/services/agent-runtime/index.d.mts +3 -0
  208. package/dist/services/agent-runtime/index.mjs +1 -0
  209. package/dist/services/agent-runtime/namespace.d.mts +2 -0
  210. package/dist/services/agent-runtime/namespace.mjs +1 -0
  211. package/dist/services/agent-runtime/schemas.d.mts +2 -0
  212. package/dist/services/agent-runtime/schemas.mjs +1 -0
  213. package/dist/services/capability/index.d.mts +2 -0
  214. package/dist/services/capability/index.mjs +1 -0
  215. package/dist/services/cli-detection/namespace.d.mts +56 -0
  216. package/dist/services/cli-detection/namespace.mjs +1 -0
  217. package/dist/services/codebase/index.d.mts +3 -0
  218. package/dist/services/codebase/index.mjs +1 -0
  219. package/dist/services/codebase/namespace.d.mts +2 -0
  220. package/dist/services/codebase/namespace.mjs +1 -0
  221. package/dist/services/codebase/schemas.d.mts +2 -0
  222. package/dist/services/codebase/schemas.mjs +1 -0
  223. package/dist/services/compression/index.d.mts +3 -0
  224. package/dist/services/compression/index.mjs +1 -0
  225. package/dist/services/compression/namespace.d.mts +2 -0
  226. package/dist/services/compression/namespace.mjs +1 -0
  227. package/dist/services/compression/schemas.d.mts +2 -0
  228. package/dist/services/compression/schemas.mjs +1 -0
  229. package/dist/services/context-rules/index.d.mts +412 -0
  230. package/dist/services/context-rules/index.mjs +1 -0
  231. package/dist/services/credential-change/index.d.mts +17 -0
  232. package/dist/services/credential-change/index.mjs +1 -0
  233. package/dist/services/definition/index.d.mts +2 -0
  234. package/dist/services/definition/index.mjs +1 -0
  235. package/dist/services/definition/namespace.d.mts +71 -0
  236. package/dist/services/definition/namespace.mjs +1 -0
  237. package/dist/services/definition/schemas.d.mts +38 -0
  238. package/dist/services/definition/schemas.mjs +1 -0
  239. package/dist/services/dialog/namespace.d.mts +105 -0
  240. package/dist/services/dialog/namespace.mjs +1 -0
  241. package/dist/services/dialog/schemas.d.mts +109 -0
  242. package/dist/services/dialog/schemas.mjs +1 -0
  243. package/dist/services/execution-target/index.d.mts +4 -0
  244. package/dist/services/execution-target/index.mjs +1 -0
  245. package/dist/services/execution-target/namespace.d.mts +2 -0
  246. package/dist/services/execution-target/namespace.mjs +1 -0
  247. package/dist/services/execution-target/schemas.d.mts +2 -0
  248. package/dist/services/execution-target/schemas.mjs +1 -0
  249. package/dist/services/filesystem/namespace.d.mts +432 -0
  250. package/dist/services/filesystem/namespace.mjs +1 -0
  251. package/dist/services/filesystem/schemas.d.mts +240 -0
  252. package/dist/services/filesystem/schemas.mjs +1 -0
  253. package/dist/services/harness/index.d.mts +861 -0
  254. package/dist/services/harness/index.mjs +1 -0
  255. package/dist/services/harness/storage/schema.d.mts +424 -0
  256. package/dist/services/harness/storage/schema.mjs +1 -0
  257. package/dist/services/index.d.mts +5703 -0
  258. package/dist/services/index.mjs +1 -0
  259. package/dist/services/local-notification/index.d.mts +25 -0
  260. package/dist/services/local-notification/index.mjs +1 -0
  261. package/dist/services/local-notification/namespace.d.mts +73 -0
  262. package/dist/services/local-notification/namespace.mjs +1 -0
  263. package/dist/services/local-notification/schemas.d.mts +88 -0
  264. package/dist/services/local-notification/schemas.mjs +1 -0
  265. package/dist/services/log-import/browser.d.mts +3 -0
  266. package/dist/services/log-import/browser.mjs +1 -0
  267. package/dist/services/log-import/index.d.mts +275 -0
  268. package/dist/services/log-import/index.mjs +2 -0
  269. package/dist/services/log-import/log-import.d.mts +3 -0
  270. package/dist/services/log-import/log-import.mjs +1 -0
  271. package/dist/services/log-import/namespace.d.mts +327 -0
  272. package/dist/services/log-import/namespace.mjs +1 -0
  273. package/dist/services/log-import/schemas.d.mts +217 -0
  274. package/dist/services/log-import/schemas.mjs +1 -0
  275. package/dist/services/model-registry/index.d.mts +2 -0
  276. package/dist/services/model-registry/index.mjs +1 -0
  277. package/dist/services/preferences/index.d.mts +3 -0
  278. package/dist/services/preferences/index.mjs +1 -0
  279. package/dist/services/preferences/schemas.d.mts +2 -0
  280. package/dist/services/preferences/schemas.mjs +1 -0
  281. package/dist/services/preferences/storage-namespace.d.mts +3 -0
  282. package/dist/services/preferences/storage-namespace.mjs +1 -0
  283. package/dist/services/provider-context/index.d.mts +2 -0
  284. package/dist/services/provider-context/index.mjs +1 -0
  285. package/dist/services/provider-runtime/index.d.mts +136 -0
  286. package/dist/services/provider-runtime/index.mjs +1 -0
  287. package/dist/services/session/handlers/index.d.mts +2 -0
  288. package/dist/services/session/handlers/index.mjs +1 -0
  289. package/dist/services/session/index.d.mts +10 -0
  290. package/dist/services/session/index.mjs +1 -0
  291. package/dist/services/session/messages/namespace.d.mts +2 -0
  292. package/dist/services/session/messages/namespace.mjs +1 -0
  293. package/dist/services/session/orchestrator-testing/index.d.mts +2 -0
  294. package/dist/services/session/orchestrator-testing/index.mjs +1 -0
  295. package/dist/services/session/session-events/namespace.d.mts +2 -0
  296. package/dist/services/session/session-events/namespace.mjs +1 -0
  297. package/dist/services/session/storage/namespace.d.mts +2 -0
  298. package/dist/services/session/storage/namespace.mjs +1 -0
  299. package/dist/services/session/storage/schema.d.mts +2 -0
  300. package/dist/services/session/storage/schema.mjs +1 -0
  301. package/dist/services/session/testing/index.d.mts +35 -0
  302. package/dist/services/session/testing/index.mjs +52 -0
  303. package/dist/services/session/testing/orchestrator-shared.d.mts +2 -0
  304. package/dist/services/session/testing/orchestrator-shared.mjs +1 -0
  305. package/dist/services/session/turns/namespace.d.mts +2 -0
  306. package/dist/services/session/turns/namespace.mjs +1 -0
  307. package/dist/services/session-editor/index.d.mts +119 -0
  308. package/dist/services/session-editor/index.mjs +1 -0
  309. package/dist/services/settings/index.d.mts +47 -0
  310. package/dist/services/settings/index.mjs +1 -0
  311. package/dist/services/settings/namespace.d.mts +662 -0
  312. package/dist/services/settings/namespace.mjs +1 -0
  313. package/dist/services/settings/storage/clients-namespace.d.mts +2 -0
  314. package/dist/services/settings/storage/clients-namespace.mjs +1 -0
  315. package/dist/services/settings/storage/extension-configs/namespace.d.mts +184 -0
  316. package/dist/services/settings/storage/extension-configs/namespace.mjs +1 -0
  317. package/dist/services/settings/storage/index.d.mts +4 -0
  318. package/dist/services/settings/storage/index.mjs +1 -0
  319. package/dist/services/settings/storage/providers-namespace.d.mts +2 -0
  320. package/dist/services/settings/storage/providers-namespace.mjs +1 -0
  321. package/dist/services/tool-approval/index.d.mts +2 -0
  322. package/dist/services/tool-approval/index.mjs +1 -0
  323. package/dist/services/tools/index.d.mts +2 -0
  324. package/dist/services/tools/index.mjs +1 -0
  325. package/dist/services/tray-menu/index.d.mts +4 -0
  326. package/dist/services/tray-menu/index.mjs +1 -0
  327. package/dist/services/tray-menu/namespace.d.mts +2 -0
  328. package/dist/services/tray-menu/namespace.mjs +1 -0
  329. package/dist/services/tray-menu/schemas.d.mts +2 -0
  330. package/dist/services/tray-menu/schemas.mjs +1 -0
  331. package/dist/services/turn/index.d.mts +2 -0
  332. package/dist/services/turn/index.mjs +1 -0
  333. package/dist/services/turn/namespace.d.mts +2 -0
  334. package/dist/services/turn/namespace.mjs +1 -0
  335. package/dist/services/turn/schemas.d.mts +335 -0
  336. package/dist/services/turn/schemas.mjs +1 -0
  337. package/dist/services/worker/index.d.mts +3 -0
  338. package/dist/services/worker/index.mjs +1 -0
  339. package/dist/services/worker/namespace.d.mts +2 -0
  340. package/dist/services/worker/namespace.mjs +1 -0
  341. package/dist/services/worker/schemas.d.mts +2 -0
  342. package/dist/services/worker/schemas.mjs +1 -0
  343. package/dist/session-Do6lDZM4.mjs +123 -0
  344. package/dist/session-lineage-Eev4uo4I.d.mts +65 -0
  345. package/dist/session-piI1R5rP.mjs +1 -0
  346. package/dist/shared-DxHLl9UP.mjs +1 -0
  347. package/dist/shared-schemas-BgQv_tnu.mjs +1 -0
  348. package/dist/skill-CB5h-ZFQ.mjs +1 -0
  349. package/dist/storage/drizzle/client.d.mts +78 -0
  350. package/dist/storage/drizzle/client.mjs +1 -0
  351. package/dist/storage/drizzle/index.d.mts +98 -0
  352. package/dist/storage/drizzle/index.mjs +1 -0
  353. package/dist/storage/handlers/drizzle/index.d.mts +2 -0
  354. package/dist/storage/handlers/drizzle/index.mjs +1 -0
  355. package/dist/storage/handlers/index.d.mts +33 -0
  356. package/dist/storage/handlers/index.mjs +1 -0
  357. package/dist/storage/index.d.mts +192 -0
  358. package/dist/storage/index.mjs +1 -0
  359. package/dist/storage-namespace-ADwyijoe.mjs +1 -0
  360. package/dist/storage-namespace-DAm8iWEj.d.mts +221 -0
  361. package/dist/storage-namespace-definition-CHu2k14q.mjs +1 -0
  362. package/dist/storage-namespace-definition-CJgqyXH1.d.mts +17 -0
  363. package/dist/style.css +3782 -0
  364. package/dist/testing/drizzle-harness.d.mts +130 -0
  365. package/dist/testing/drizzle-harness.mjs +1 -0
  366. package/dist/testing/index.d.mts +106 -0
  367. package/dist/testing/index.mjs +1 -0
  368. package/dist/tool-approval-service-BcBSUZCO.mjs +1 -0
  369. package/dist/tools/index.d.mts +825 -0
  370. package/dist/tools/index.mjs +1 -0
  371. package/dist/tools/testing/index.d.mts +53 -0
  372. package/dist/tools/testing/index.mjs +1 -0
  373. package/dist/tools-CDSgj0ee.mjs +1 -0
  374. package/dist/tray-menu-service-CTXC1Elg.mjs +1 -0
  375. package/dist/types-6WxLfoM3.d.mts +31 -0
  376. package/dist/types-BjToUrHp.d.mts +6619 -0
  377. package/dist/types-CD1LJwPc.d.mts +1009 -0
  378. package/dist/types-Cvrj2ogm.d.mts +305 -0
  379. package/dist/types-DYF5LxZY.d.mts +233 -0
  380. package/dist/types-t295YC6T.d.mts +262 -0
  381. package/dist/types-vNpkAe4Y.d.mts +128 -0
  382. package/dist/ui-components/index.d.mts +2342 -0
  383. package/dist/ui-components/index.mjs +8 -0
  384. package/dist/ui-config-CXmbsqZV.mjs +1 -0
  385. package/dist/ui-hooks/index.d.mts +1805 -0
  386. package/dist/ui-hooks/index.mjs +1 -0
  387. package/dist/ui-kernel/index.d.mts +2793 -0
  388. package/dist/ui-kernel/index.mjs +1 -0
  389. package/dist/ui-kernel/pages/namespace.d.mts +88 -0
  390. package/dist/ui-kernel/pages/namespace.mjs +1 -0
  391. package/dist/ui-kernel/pages/schemas.d.mts +2 -0
  392. package/dist/ui-kernel/pages/schemas.mjs +1 -0
  393. package/dist/ui-views/index.d.mts +487 -0
  394. package/dist/ui-views/index.mjs +30 -0
  395. package/dist/utils/health-probe.d.mts +26 -0
  396. package/dist/utils/health-probe.mjs +1 -0
  397. package/dist/utils/index.d.mts +227 -0
  398. package/dist/utils/index.mjs +2 -0
  399. package/dist/utils/keychain.d.mts +31 -0
  400. package/dist/utils/keychain.mjs +1 -0
  401. package/dist/utils/resolve-package-root.d.mts +12 -0
  402. package/dist/utils/resolve-package-root.mjs +1 -0
  403. package/dist/utils/workspace-root.d.mts +27 -0
  404. package/dist/utils/workspace-root.mjs +2 -0
  405. package/dist/variant-D5kSrL3m.mjs +1 -0
  406. package/dist/version-CjS20oXi.mjs +1 -0
  407. package/dist/visibility-CZu8ooOA.mjs +1 -0
  408. package/dist/window-registry-CUftmDr3.mjs +1 -0
  409. package/dist/window-registry-C_IJmY8_.d.mts +130 -0
  410. package/package.json +346 -0
@@ -0,0 +1,638 @@
1
+ import * as _$zod from "zod";
2
+ import { z } from "zod";
3
+ import * as _$_makaio_core0 from "@makaio/framework/core";
4
+ import * as _$zod_v4_core0 from "zod/v4/core";
5
+
6
+ //#region packages/contracts/src/config/config-schema.d.ts
7
+ /**
8
+ * Bootstrap config schema for Makaio runtime configuration.
9
+ *
10
+ * This is the minimal config needed to bootstrap the system - stored in
11
+ * `~/.makaio/config.json`. It controls:
12
+ * - Runtime mode (local/remote/hybrid)
13
+ * - Bus connectivity for remote/hybrid modes
14
+ * - Relay connection settings
15
+ * @example
16
+ * ```json
17
+ * {
18
+ * "$schema": "makaio/config/v1",
19
+ * "mode": "local"
20
+ * }
21
+ * ```
22
+ */
23
+ declare const ConfigSchema: z.ZodObject<{
24
+ $schema: z.ZodDefault<z.ZodLiteral<"makaio/config/v1">>;
25
+ mode: z.ZodDefault<z.ZodEnum<{
26
+ local: "local";
27
+ remote: "remote";
28
+ hybrid: "hybrid";
29
+ }>>;
30
+ role: z.ZodDefault<z.ZodEnum<{
31
+ "main-dev-machine": "main-dev-machine";
32
+ server: "server";
33
+ }>>;
34
+ bus: z.ZodOptional<z.ZodObject<{
35
+ remote: z.ZodOptional<z.ZodObject<{
36
+ url: z.ZodOptional<z.ZodString>;
37
+ secret: z.ZodOptional<z.ZodString>;
38
+ }, z.core.$strip>>;
39
+ }, z.core.$strip>>;
40
+ relay: z.ZodOptional<z.ZodObject<{
41
+ url: z.ZodOptional<z.ZodString>;
42
+ token: z.ZodOptional<z.ZodString>;
43
+ autoReconnect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
44
+ maxReconnectAttempts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
45
+ heartbeatInterval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
46
+ }, z.core.$strip>>;
47
+ features: z.ZodOptional<z.ZodObject<{
48
+ voiceBridge: z.ZodDefault<z.ZodBoolean>;
49
+ }, z.core.$strip>>;
50
+ fileWatcher: z.ZodOptional<z.ZodObject<{
51
+ backend: z.ZodDefault<z.ZodEnum<{
52
+ auto: "auto";
53
+ watchman: "watchman";
54
+ parcel: "parcel";
55
+ chokidar: "chokidar";
56
+ }>>;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ /**
60
+ * Inferred type for the bootstrap config.
61
+ */
62
+ type Config = z.infer<typeof ConfigSchema>;
63
+ /**
64
+ * Relay connection configuration type, derived from the bootstrap config schema.
65
+ */
66
+ type RelayConfig = NonNullable<Config['relay']>;
67
+ //#endregion
68
+ //#region packages/contracts/src/model/schemas.d.ts
69
+ /**
70
+ * Standardized reasoning levels used across the Makaio Framework.
71
+ *
72
+ * These are provider-agnostic labels that adapters map to native values
73
+ * (token budgets, effort strings, etc.) via `ReasoningLevelMapSchema`.
74
+ */
75
+ declare const AIReasoningLevelSchema: z.ZodEnum<{
76
+ none: "none";
77
+ low: "low";
78
+ medium: "medium";
79
+ high: "high";
80
+ "extra-high": "extra-high";
81
+ }>;
82
+ /**
83
+ * Inferred union type for reasoning levels.
84
+ */
85
+ type AIReasoningLevel = z.infer<typeof AIReasoningLevelSchema>;
86
+ declare const ReasoningLevelMapSchema: z.ZodObject<{
87
+ none: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
88
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
89
+ medium: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
90
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
91
+ 'extra-high': z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
92
+ }, z.core.$strip>;
93
+ /**
94
+ * Inferred type for reasoning level mappings.
95
+ */
96
+ type ReasoningLevelMap = z.infer<typeof ReasoningLevelMapSchema>;
97
+ /**
98
+ * Capabilities of a speech-to-text model.
99
+ *
100
+ * Presence on a model's capabilities indicates STT support;
101
+ * absence means unknown or unsupported.
102
+ */
103
+ declare const STTCapabilitySchema: z.ZodObject<{
104
+ modes: z.ZodArray<z.ZodEnum<{
105
+ batch: "batch";
106
+ streaming: "streaming";
107
+ }>>;
108
+ vocabularyBiasing: z.ZodOptional<z.ZodBoolean>;
109
+ }, z.core.$strip>;
110
+ /** Inferred STT capability type. */
111
+ type STTCapability = z.infer<typeof STTCapabilitySchema>;
112
+ /**
113
+ * Capabilities of a text-to-speech model.
114
+ *
115
+ * Presence on a model's capabilities indicates TTS support;
116
+ * absence means unknown or unsupported.
117
+ */
118
+ declare const TTSCapabilitySchema: z.ZodObject<{
119
+ modes: z.ZodArray<z.ZodEnum<{
120
+ streaming: "streaming";
121
+ buffered: "buffered";
122
+ }>>;
123
+ voiceSelection: z.ZodOptional<z.ZodBoolean>;
124
+ voiceInstructions: z.ZodOptional<z.ZodBoolean>;
125
+ outputFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
+ }, z.core.$strip>;
127
+ /** Inferred TTS capability type. */
128
+ type TTSCapability = z.infer<typeof TTSCapabilitySchema>;
129
+ /**
130
+ * Supplementary model metadata populated by rich provider APIs.
131
+ *
132
+ * Not used for routing or adapter logic — purely informational for
133
+ * display, cost estimation, and generation-time enrichment.
134
+ * Providers like NanoGPT return this data; leaner APIs (Anthropic, Z.AI) don't.
135
+ */
136
+ declare const AIModelMetadataSchema: z.ZodObject<{
137
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
138
+ capabilities: z.ZodOptional<z.ZodObject<{
139
+ vision: z.ZodOptional<z.ZodBoolean>;
140
+ toolCalling: z.ZodOptional<z.ZodBoolean>;
141
+ parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
142
+ structuredOutput: z.ZodOptional<z.ZodBoolean>;
143
+ pdfUpload: z.ZodOptional<z.ZodBoolean>;
144
+ speechToText: z.ZodOptional<z.ZodObject<{
145
+ modes: z.ZodArray<z.ZodEnum<{
146
+ batch: "batch";
147
+ streaming: "streaming";
148
+ }>>;
149
+ vocabularyBiasing: z.ZodOptional<z.ZodBoolean>;
150
+ }, z.core.$strip>>;
151
+ textToSpeech: z.ZodOptional<z.ZodObject<{
152
+ modes: z.ZodArray<z.ZodEnum<{
153
+ streaming: "streaming";
154
+ buffered: "buffered";
155
+ }>>;
156
+ voiceSelection: z.ZodOptional<z.ZodBoolean>;
157
+ voiceInstructions: z.ZodOptional<z.ZodBoolean>;
158
+ outputFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
+ }, z.core.$strip>>;
160
+ }, z.core.$strip>>;
161
+ pricing: z.ZodOptional<z.ZodObject<{
162
+ token: z.ZodOptional<z.ZodObject<{
163
+ inputPerMillion: z.ZodNumber;
164
+ inputCachedPerMillion: z.ZodOptional<z.ZodNumber>;
165
+ cacheWritePerMillion: z.ZodOptional<z.ZodNumber>;
166
+ outputPerMillion: z.ZodNumber;
167
+ }, z.core.$strip>>;
168
+ request: z.ZodOptional<z.ZodObject<{
169
+ multiplier: z.ZodNumber;
170
+ }, z.core.$strip>>;
171
+ }, z.core.$strip>>;
172
+ includedInSubscription: z.ZodOptional<z.ZodBoolean>;
173
+ description: z.ZodOptional<z.ZodString>;
174
+ }, z.core.$strip>;
175
+ /**
176
+ * Inferred type for model metadata.
177
+ */
178
+ type AIModelMetadata = z.infer<typeof AIModelMetadataSchema>;
179
+ /**
180
+ * Canonical AI model descriptor.
181
+ *
182
+ * Single source of truth for model metadata across the platform.
183
+ * Used in provider presets, adapter responses, settings storage, and UI.
184
+ *
185
+ * Core fields (name, contextWindowSize, etc.) are used by adapters, routing,
186
+ * and UI selection. The optional `metadata` bag
187
+ * carries supplementary information from rich provider APIs.
188
+ */
189
+ declare const AIModelSchema: z.ZodObject<{
190
+ name: z.ZodString;
191
+ friendlyName: z.ZodOptional<z.ZodString>;
192
+ family: z.ZodOptional<z.ZodString>;
193
+ contextWindowSize: z.ZodNumber;
194
+ labId: z.ZodString;
195
+ supportedReasoningLevels: z.ZodOptional<z.ZodObject<{
196
+ none: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
197
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
198
+ medium: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
199
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
200
+ 'extra-high': z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
201
+ }, z.core.$strip>>;
202
+ metadata: z.ZodOptional<z.ZodObject<{
203
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
204
+ capabilities: z.ZodOptional<z.ZodObject<{
205
+ vision: z.ZodOptional<z.ZodBoolean>;
206
+ toolCalling: z.ZodOptional<z.ZodBoolean>;
207
+ parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
208
+ structuredOutput: z.ZodOptional<z.ZodBoolean>;
209
+ pdfUpload: z.ZodOptional<z.ZodBoolean>;
210
+ speechToText: z.ZodOptional<z.ZodObject<{
211
+ modes: z.ZodArray<z.ZodEnum<{
212
+ batch: "batch";
213
+ streaming: "streaming";
214
+ }>>;
215
+ vocabularyBiasing: z.ZodOptional<z.ZodBoolean>;
216
+ }, z.core.$strip>>;
217
+ textToSpeech: z.ZodOptional<z.ZodObject<{
218
+ modes: z.ZodArray<z.ZodEnum<{
219
+ streaming: "streaming";
220
+ buffered: "buffered";
221
+ }>>;
222
+ voiceSelection: z.ZodOptional<z.ZodBoolean>;
223
+ voiceInstructions: z.ZodOptional<z.ZodBoolean>;
224
+ outputFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
225
+ }, z.core.$strip>>;
226
+ }, z.core.$strip>>;
227
+ pricing: z.ZodOptional<z.ZodObject<{
228
+ token: z.ZodOptional<z.ZodObject<{
229
+ inputPerMillion: z.ZodNumber;
230
+ inputCachedPerMillion: z.ZodOptional<z.ZodNumber>;
231
+ cacheWritePerMillion: z.ZodOptional<z.ZodNumber>;
232
+ outputPerMillion: z.ZodNumber;
233
+ }, z.core.$strip>>;
234
+ request: z.ZodOptional<z.ZodObject<{
235
+ multiplier: z.ZodNumber;
236
+ }, z.core.$strip>>;
237
+ }, z.core.$strip>>;
238
+ includedInSubscription: z.ZodOptional<z.ZodBoolean>;
239
+ description: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strip>>;
241
+ }, z.core.$strip>;
242
+ /**
243
+ * Inferred type for canonical model descriptors.
244
+ */
245
+ type AIModel = z.infer<typeof AIModelSchema>;
246
+ /**
247
+ * Provider-resolved AI model descriptor.
248
+ *
249
+ * Structurally identical to {@link AIModel}. The distinct type name marks
250
+ * explicit provider boundaries: provider `availableModels`,
251
+ * fetcher return types, and bus response schemas.
252
+ */
253
+ type ProviderAIModel = AIModel;
254
+ /**
255
+ * Zod schema for {@link ProviderAIModel}.
256
+ */
257
+ declare const ProviderAIModelSchema: z.ZodObject<{
258
+ name: z.ZodString;
259
+ friendlyName: z.ZodOptional<z.ZodString>;
260
+ family: z.ZodOptional<z.ZodString>;
261
+ contextWindowSize: z.ZodNumber;
262
+ labId: z.ZodString;
263
+ supportedReasoningLevels: z.ZodOptional<z.ZodObject<{
264
+ none: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
265
+ low: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
266
+ medium: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
267
+ high: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
268
+ 'extra-high': z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
269
+ }, z.core.$strip>>;
270
+ metadata: z.ZodOptional<z.ZodObject<{
271
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
272
+ capabilities: z.ZodOptional<z.ZodObject<{
273
+ vision: z.ZodOptional<z.ZodBoolean>;
274
+ toolCalling: z.ZodOptional<z.ZodBoolean>;
275
+ parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
276
+ structuredOutput: z.ZodOptional<z.ZodBoolean>;
277
+ pdfUpload: z.ZodOptional<z.ZodBoolean>;
278
+ speechToText: z.ZodOptional<z.ZodObject<{
279
+ modes: z.ZodArray<z.ZodEnum<{
280
+ batch: "batch";
281
+ streaming: "streaming";
282
+ }>>;
283
+ vocabularyBiasing: z.ZodOptional<z.ZodBoolean>;
284
+ }, z.core.$strip>>;
285
+ textToSpeech: z.ZodOptional<z.ZodObject<{
286
+ modes: z.ZodArray<z.ZodEnum<{
287
+ streaming: "streaming";
288
+ buffered: "buffered";
289
+ }>>;
290
+ voiceSelection: z.ZodOptional<z.ZodBoolean>;
291
+ voiceInstructions: z.ZodOptional<z.ZodBoolean>;
292
+ outputFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
293
+ }, z.core.$strip>>;
294
+ }, z.core.$strip>>;
295
+ pricing: z.ZodOptional<z.ZodObject<{
296
+ token: z.ZodOptional<z.ZodObject<{
297
+ inputPerMillion: z.ZodNumber;
298
+ inputCachedPerMillion: z.ZodOptional<z.ZodNumber>;
299
+ cacheWritePerMillion: z.ZodOptional<z.ZodNumber>;
300
+ outputPerMillion: z.ZodNumber;
301
+ }, z.core.$strip>>;
302
+ request: z.ZodOptional<z.ZodObject<{
303
+ multiplier: z.ZodNumber;
304
+ }, z.core.$strip>>;
305
+ }, z.core.$strip>>;
306
+ includedInSubscription: z.ZodOptional<z.ZodBoolean>;
307
+ description: z.ZodOptional<z.ZodString>;
308
+ }, z.core.$strip>>;
309
+ }, z.core.$strip>;
310
+ /**
311
+ * Model descriptor returned by live provider fetchers.
312
+ *
313
+ * Like {@link AIModel} but with `labId` optional — fetchers for multi-lab
314
+ * aggregators (GitHub Copilot, OpenRouter) cannot always determine the
315
+ * originating lab. The registry generation script resolves lab assignment
316
+ * during the merge phase.
317
+ */
318
+ type DiscoveredAIModel = Omit<AIModel, 'labId'> & {
319
+ labId?: string;
320
+ };
321
+ //#endregion
322
+ //#region packages/contracts/src/config/config-subjects.d.ts
323
+ /**
324
+ * Config domain schemas.
325
+ *
326
+ * Subjects for config-related bus communication.
327
+ * Each key becomes a subject identifier as: `config.{key}`
328
+ *
329
+ * **Bus subjects:**
330
+ * - `config.get` - Request to get current config
331
+ * - `config.update` - Request to update config
332
+ * @example
333
+ * ```typescript
334
+ * // Get current config
335
+ * const config = await bus.request(ConfigSubjects.get, {});
336
+ *
337
+ * // Update config
338
+ * await bus.request(ConfigSubjects.update, { config: newConfig });
339
+ * ```
340
+ */
341
+ declare const ConfigSchemas: {
342
+ /**
343
+ * Get current config request.
344
+ * Empty request payload, returns full config.
345
+ */
346
+ get: {
347
+ request: z.ZodObject<{}, z.core.$strip>;
348
+ response: z.ZodObject<{
349
+ config: z.ZodObject<{
350
+ $schema: z.ZodDefault<z.ZodLiteral<"makaio/config/v1">>;
351
+ mode: z.ZodDefault<z.ZodEnum<{
352
+ local: "local";
353
+ remote: "remote";
354
+ hybrid: "hybrid";
355
+ }>>;
356
+ role: z.ZodDefault<z.ZodEnum<{
357
+ "main-dev-machine": "main-dev-machine";
358
+ server: "server";
359
+ }>>;
360
+ bus: z.ZodOptional<z.ZodObject<{
361
+ remote: z.ZodOptional<z.ZodObject<{
362
+ url: z.ZodOptional<z.ZodString>;
363
+ secret: z.ZodOptional<z.ZodString>;
364
+ }, z.core.$strip>>;
365
+ }, z.core.$strip>>;
366
+ relay: z.ZodOptional<z.ZodObject<{
367
+ url: z.ZodOptional<z.ZodString>;
368
+ token: z.ZodOptional<z.ZodString>;
369
+ autoReconnect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
370
+ maxReconnectAttempts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
371
+ heartbeatInterval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
372
+ }, z.core.$strip>>;
373
+ features: z.ZodOptional<z.ZodObject<{
374
+ voiceBridge: z.ZodDefault<z.ZodBoolean>;
375
+ }, z.core.$strip>>;
376
+ fileWatcher: z.ZodOptional<z.ZodObject<{
377
+ backend: z.ZodDefault<z.ZodEnum<{
378
+ auto: "auto";
379
+ watchman: "watchman";
380
+ parcel: "parcel";
381
+ chokidar: "chokidar";
382
+ }>>;
383
+ }, z.core.$strip>>;
384
+ }, z.core.$strip>;
385
+ }, z.core.$strip>;
386
+ };
387
+ /**
388
+ * Update config request.
389
+ * Accepts full config object, validates and saves it.
390
+ */
391
+ update: {
392
+ request: z.ZodObject<{
393
+ config: z.ZodObject<{
394
+ $schema: z.ZodDefault<z.ZodLiteral<"makaio/config/v1">>;
395
+ mode: z.ZodDefault<z.ZodEnum<{
396
+ local: "local";
397
+ remote: "remote";
398
+ hybrid: "hybrid";
399
+ }>>;
400
+ role: z.ZodDefault<z.ZodEnum<{
401
+ "main-dev-machine": "main-dev-machine";
402
+ server: "server";
403
+ }>>;
404
+ bus: z.ZodOptional<z.ZodObject<{
405
+ remote: z.ZodOptional<z.ZodObject<{
406
+ url: z.ZodOptional<z.ZodString>;
407
+ secret: z.ZodOptional<z.ZodString>;
408
+ }, z.core.$strip>>;
409
+ }, z.core.$strip>>;
410
+ relay: z.ZodOptional<z.ZodObject<{
411
+ url: z.ZodOptional<z.ZodString>;
412
+ token: z.ZodOptional<z.ZodString>;
413
+ autoReconnect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
414
+ maxReconnectAttempts: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
415
+ heartbeatInterval: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
416
+ }, z.core.$strip>>;
417
+ features: z.ZodOptional<z.ZodObject<{
418
+ voiceBridge: z.ZodDefault<z.ZodBoolean>;
419
+ }, z.core.$strip>>;
420
+ fileWatcher: z.ZodOptional<z.ZodObject<{
421
+ backend: z.ZodDefault<z.ZodEnum<{
422
+ auto: "auto";
423
+ watchman: "watchman";
424
+ parcel: "parcel";
425
+ chokidar: "chokidar";
426
+ }>>;
427
+ }, z.core.$strip>>;
428
+ }, z.core.$strip>;
429
+ }, z.core.$strip>;
430
+ response: z.ZodObject<{
431
+ success: z.ZodBoolean;
432
+ }, z.core.$strip>;
433
+ };
434
+ };
435
+ /**
436
+ * Type for config.get response.
437
+ */
438
+ type ConfigGetResponse = z.infer<typeof ConfigSchemas.get.response>;
439
+ /**
440
+ * Type for config.update request.
441
+ */
442
+ type ConfigUpdateRequest = z.infer<typeof ConfigSchemas.update.request>;
443
+ /**
444
+ * Type for config.update response.
445
+ */
446
+ type ConfigUpdateResponse = z.infer<typeof ConfigSchemas.update.response>;
447
+ //#endregion
448
+ //#region packages/contracts/src/config/config-namespace.d.ts
449
+ /**
450
+ * Config namespace definition.
451
+ * Defines the `config` subjects for explicit registration by composition roots.
452
+ * @example
453
+ * ```typescript
454
+ * // Get current config
455
+ * const result = await bus.request(ConfigSubjects.get, {});
456
+ * console.log(result.config);
457
+ *
458
+ * // Update config
459
+ * await bus.request(ConfigSubjects.update, { config: newConfig });
460
+ * ```
461
+ */
462
+ declare const ConfigNamespace: _$_makaio_core0.BusNamespaceDefinition<"config", {
463
+ get: {
464
+ request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
465
+ response: _$zod.ZodObject<{
466
+ config: _$zod.ZodObject<{
467
+ $schema: _$zod.ZodDefault<_$zod.ZodLiteral<"makaio/config/v1">>;
468
+ mode: _$zod.ZodDefault<_$zod.ZodEnum<{
469
+ local: "local";
470
+ remote: "remote";
471
+ hybrid: "hybrid";
472
+ }>>;
473
+ role: _$zod.ZodDefault<_$zod.ZodEnum<{
474
+ "main-dev-machine": "main-dev-machine";
475
+ server: "server";
476
+ }>>;
477
+ bus: _$zod.ZodOptional<_$zod.ZodObject<{
478
+ remote: _$zod.ZodOptional<_$zod.ZodObject<{
479
+ url: _$zod.ZodOptional<_$zod.ZodString>;
480
+ secret: _$zod.ZodOptional<_$zod.ZodString>;
481
+ }, _$zod_v4_core0.$strip>>;
482
+ }, _$zod_v4_core0.$strip>>;
483
+ relay: _$zod.ZodOptional<_$zod.ZodObject<{
484
+ url: _$zod.ZodOptional<_$zod.ZodString>;
485
+ token: _$zod.ZodOptional<_$zod.ZodString>;
486
+ autoReconnect: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
487
+ maxReconnectAttempts: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodNumber>>;
488
+ heartbeatInterval: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodNumber>>;
489
+ }, _$zod_v4_core0.$strip>>;
490
+ features: _$zod.ZodOptional<_$zod.ZodObject<{
491
+ voiceBridge: _$zod.ZodDefault<_$zod.ZodBoolean>;
492
+ }, _$zod_v4_core0.$strip>>;
493
+ fileWatcher: _$zod.ZodOptional<_$zod.ZodObject<{
494
+ backend: _$zod.ZodDefault<_$zod.ZodEnum<{
495
+ auto: "auto";
496
+ watchman: "watchman";
497
+ parcel: "parcel";
498
+ chokidar: "chokidar";
499
+ }>>;
500
+ }, _$zod_v4_core0.$strip>>;
501
+ }, _$zod_v4_core0.$strip>;
502
+ }, _$zod_v4_core0.$strip>;
503
+ };
504
+ update: {
505
+ request: _$zod.ZodObject<{
506
+ config: _$zod.ZodObject<{
507
+ $schema: _$zod.ZodDefault<_$zod.ZodLiteral<"makaio/config/v1">>;
508
+ mode: _$zod.ZodDefault<_$zod.ZodEnum<{
509
+ local: "local";
510
+ remote: "remote";
511
+ hybrid: "hybrid";
512
+ }>>;
513
+ role: _$zod.ZodDefault<_$zod.ZodEnum<{
514
+ "main-dev-machine": "main-dev-machine";
515
+ server: "server";
516
+ }>>;
517
+ bus: _$zod.ZodOptional<_$zod.ZodObject<{
518
+ remote: _$zod.ZodOptional<_$zod.ZodObject<{
519
+ url: _$zod.ZodOptional<_$zod.ZodString>;
520
+ secret: _$zod.ZodOptional<_$zod.ZodString>;
521
+ }, _$zod_v4_core0.$strip>>;
522
+ }, _$zod_v4_core0.$strip>>;
523
+ relay: _$zod.ZodOptional<_$zod.ZodObject<{
524
+ url: _$zod.ZodOptional<_$zod.ZodString>;
525
+ token: _$zod.ZodOptional<_$zod.ZodString>;
526
+ autoReconnect: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
527
+ maxReconnectAttempts: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodNumber>>;
528
+ heartbeatInterval: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodNumber>>;
529
+ }, _$zod_v4_core0.$strip>>;
530
+ features: _$zod.ZodOptional<_$zod.ZodObject<{
531
+ voiceBridge: _$zod.ZodDefault<_$zod.ZodBoolean>;
532
+ }, _$zod_v4_core0.$strip>>;
533
+ fileWatcher: _$zod.ZodOptional<_$zod.ZodObject<{
534
+ backend: _$zod.ZodDefault<_$zod.ZodEnum<{
535
+ auto: "auto";
536
+ watchman: "watchman";
537
+ parcel: "parcel";
538
+ chokidar: "chokidar";
539
+ }>>;
540
+ }, _$zod_v4_core0.$strip>>;
541
+ }, _$zod_v4_core0.$strip>;
542
+ }, _$zod_v4_core0.$strip>;
543
+ response: _$zod.ZodObject<{
544
+ success: _$zod.ZodBoolean;
545
+ }, _$zod_v4_core0.$strip>;
546
+ };
547
+ }>;
548
+ /**
549
+ * Config subjects for type-safe bus communication.
550
+ */
551
+ declare const ConfigSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"config", {
552
+ get: {
553
+ request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
554
+ response: _$zod.ZodObject<{
555
+ config: _$zod.ZodObject<{
556
+ $schema: _$zod.ZodDefault<_$zod.ZodLiteral<"makaio/config/v1">>;
557
+ mode: _$zod.ZodDefault<_$zod.ZodEnum<{
558
+ local: "local";
559
+ remote: "remote";
560
+ hybrid: "hybrid";
561
+ }>>;
562
+ role: _$zod.ZodDefault<_$zod.ZodEnum<{
563
+ "main-dev-machine": "main-dev-machine";
564
+ server: "server";
565
+ }>>;
566
+ bus: _$zod.ZodOptional<_$zod.ZodObject<{
567
+ remote: _$zod.ZodOptional<_$zod.ZodObject<{
568
+ url: _$zod.ZodOptional<_$zod.ZodString>;
569
+ secret: _$zod.ZodOptional<_$zod.ZodString>;
570
+ }, _$zod_v4_core0.$strip>>;
571
+ }, _$zod_v4_core0.$strip>>;
572
+ relay: _$zod.ZodOptional<_$zod.ZodObject<{
573
+ url: _$zod.ZodOptional<_$zod.ZodString>;
574
+ token: _$zod.ZodOptional<_$zod.ZodString>;
575
+ autoReconnect: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
576
+ maxReconnectAttempts: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodNumber>>;
577
+ heartbeatInterval: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodNumber>>;
578
+ }, _$zod_v4_core0.$strip>>;
579
+ features: _$zod.ZodOptional<_$zod.ZodObject<{
580
+ voiceBridge: _$zod.ZodDefault<_$zod.ZodBoolean>;
581
+ }, _$zod_v4_core0.$strip>>;
582
+ fileWatcher: _$zod.ZodOptional<_$zod.ZodObject<{
583
+ backend: _$zod.ZodDefault<_$zod.ZodEnum<{
584
+ auto: "auto";
585
+ watchman: "watchman";
586
+ parcel: "parcel";
587
+ chokidar: "chokidar";
588
+ }>>;
589
+ }, _$zod_v4_core0.$strip>>;
590
+ }, _$zod_v4_core0.$strip>;
591
+ }, _$zod_v4_core0.$strip>;
592
+ };
593
+ update: {
594
+ request: _$zod.ZodObject<{
595
+ config: _$zod.ZodObject<{
596
+ $schema: _$zod.ZodDefault<_$zod.ZodLiteral<"makaio/config/v1">>;
597
+ mode: _$zod.ZodDefault<_$zod.ZodEnum<{
598
+ local: "local";
599
+ remote: "remote";
600
+ hybrid: "hybrid";
601
+ }>>;
602
+ role: _$zod.ZodDefault<_$zod.ZodEnum<{
603
+ "main-dev-machine": "main-dev-machine";
604
+ server: "server";
605
+ }>>;
606
+ bus: _$zod.ZodOptional<_$zod.ZodObject<{
607
+ remote: _$zod.ZodOptional<_$zod.ZodObject<{
608
+ url: _$zod.ZodOptional<_$zod.ZodString>;
609
+ secret: _$zod.ZodOptional<_$zod.ZodString>;
610
+ }, _$zod_v4_core0.$strip>>;
611
+ }, _$zod_v4_core0.$strip>>;
612
+ relay: _$zod.ZodOptional<_$zod.ZodObject<{
613
+ url: _$zod.ZodOptional<_$zod.ZodString>;
614
+ token: _$zod.ZodOptional<_$zod.ZodString>;
615
+ autoReconnect: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodBoolean>>;
616
+ maxReconnectAttempts: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodNumber>>;
617
+ heartbeatInterval: _$zod.ZodDefault<_$zod.ZodOptional<_$zod.ZodNumber>>;
618
+ }, _$zod_v4_core0.$strip>>;
619
+ features: _$zod.ZodOptional<_$zod.ZodObject<{
620
+ voiceBridge: _$zod.ZodDefault<_$zod.ZodBoolean>;
621
+ }, _$zod_v4_core0.$strip>>;
622
+ fileWatcher: _$zod.ZodOptional<_$zod.ZodObject<{
623
+ backend: _$zod.ZodDefault<_$zod.ZodEnum<{
624
+ auto: "auto";
625
+ watchman: "watchman";
626
+ parcel: "parcel";
627
+ chokidar: "chokidar";
628
+ }>>;
629
+ }, _$zod_v4_core0.$strip>>;
630
+ }, _$zod_v4_core0.$strip>;
631
+ }, _$zod_v4_core0.$strip>;
632
+ response: _$zod.ZodObject<{
633
+ success: _$zod.ZodBoolean;
634
+ }, _$zod_v4_core0.$strip>;
635
+ };
636
+ }>, "config">;
637
+ //#endregion
638
+ export { TTSCapability as _, ConfigUpdateRequest as a, RelayConfig as b, AIModelMetadata as c, AIReasoningLevelSchema as d, DiscoveredAIModel as f, STTCapability as g, ReasoningLevelMap as h, ConfigSchemas as i, AIModelSchema as l, ProviderAIModelSchema as m, ConfigSubjects as n, ConfigUpdateResponse as o, ProviderAIModel as p, ConfigGetResponse as r, AIModel as s, ConfigNamespace as t, AIReasoningLevel as u, Config as v, ConfigSchema as y };
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";import{createBusNamespace as t}from"@makaio/framework/core";const n=e.object({$schema:e.literal(`makaio/config/v1`).default(`makaio/config/v1`),mode:e.enum([`local`,`remote`,`hybrid`]).default(`local`),role:e.enum([`main-dev-machine`,`server`]).default(`main-dev-machine`),bus:e.object({remote:e.object({url:e.string().url().optional(),secret:e.string().optional()}).optional()}).optional(),relay:e.object({url:e.string().url().optional(),token:e.string().optional(),autoReconnect:e.boolean().optional().default(!0),maxReconnectAttempts:e.number().int().min(0).optional().default(5),heartbeatInterval:e.number().int().positive().optional().default(3e4)}).optional(),features:e.object({voiceBridge:e.boolean().default(!1)}).optional(),fileWatcher:e.object({backend:e.enum([`auto`,`watchman`,`parcel`,`chokidar`]).default(`auto`)}).optional()}),r={get:{request:e.object({}),response:e.object({config:n})},update:{request:e.object({config:n}),response:e.object({success:e.boolean()})}},i=t(`config`,r),a=i.subjects;export{n as i,a as n,r,i as t};
@@ -0,0 +1,3 @@
1
+ import { C as AdapterRuntimeOptionsSchema, D as AdapterNamespace, E as AdapterSessionStatusSchema, O as AdapterSubjects, S as AdapterRuntimeOptions, T as AdapterSessionStatus, _ as RehydrateAgentResponse, a as AgentSelection, b as StartAgentResponse, c as AgentSelectionKindMap, d as SessionDiscoveredSchema, f as SessionLinked, g as RehydrateAgentRequest, h as SessionUsageSchema, i as AdapterSelectionSchema, l as AgentSelectionSchema, m as SessionUsage, n as ProviderContextSchema, o as AgentSelectionBase, p as SessionLinkedSchema, r as AdapterSelection, s as AgentSelectionBaseSchema, t as ProviderContext, u as SessionDiscovered, v as RehydrateAgentSchema, w as AdapterSchemas, x as StartAgentSchema, y as StartAgentRequest } from "../../index-T0471kWA.mjs";
2
+ import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, f as SessionLineageSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../../session-lineage-Eev4uo4I.mjs";
3
+ export { AdapterNamespace, AdapterRuntimeOptions, AdapterRuntimeOptionsSchema, AdapterSchemas, AdapterSelection, AdapterSelectionSchema, AdapterSessionStatus, AdapterSessionStatusSchema, AdapterSubjects, AgentSelection, AgentSelectionBase, AgentSelectionBaseSchema, AgentSelectionKindMap, AgentSelectionSchema, COMPRESS_SESSION_LINEAGE_KIND, CompressSessionLineageSchema, FORK_SESSION_LINEAGE_KIND, ForkSessionLineageSchema, ProviderContext, ProviderContextSchema, ROOT_SESSION_LINEAGE_KIND, RehydrateAgentRequest, RehydrateAgentResponse, RehydrateAgentSchema, RootSessionLineageSchema, SESSION_LINEAGE_KINDS, SUBAGENT_SESSION_LINEAGE_KIND, SessionDiscovered, SessionDiscoveredSchema, SessionLineage, SessionLineageKind, SessionLineageKindSchema, SessionLineageSchema, SessionLinked, SessionLinkedSchema, SessionUsage, SessionUsageSchema, StartAgentRequest, StartAgentResponse, StartAgentSchema, SubagentSessionLineageSchema };
@@ -0,0 +1 @@
1
+ import{ct as e,f as t,g as n,i as r,lt as i,n as a,r as o,st as s,ut as c,x as l,xt as u}from"../../schemas-BXstpWVp.mjs";import{COMPRESS_SESSION_LINEAGE_KIND as d,CompressSessionLineageSchema as f,FORK_SESSION_LINEAGE_KIND as p,ForkSessionLineageSchema as m,ROOT_SESSION_LINEAGE_KIND as h,RootSessionLineageSchema as g,SESSION_LINEAGE_KINDS as _,SUBAGENT_SESSION_LINEAGE_KIND as v,SessionLineageKindSchema as y,SessionLineageSchema as b,SubagentSessionLineageSchema as x}from"./schemas/session-lineage.mjs";import{n as S,r as C,t as w}from"../../adapter-CbyjCE2d.mjs";export{w as AdapterNamespace,u as AdapterRuntimeOptionsSchema,C as AdapterSchemas,e as AdapterSelectionSchema,a as AdapterSessionStatusSchema,S as AdapterSubjects,i as AgentSelectionBaseSchema,c as AgentSelectionSchema,d as COMPRESS_SESSION_LINEAGE_KIND,f as CompressSessionLineageSchema,p as FORK_SESSION_LINEAGE_KIND,m as ForkSessionLineageSchema,s as ProviderContextSchema,h as ROOT_SESSION_LINEAGE_KIND,n as RehydrateAgentSchema,g as RootSessionLineageSchema,_ as SESSION_LINEAGE_KINDS,v as SUBAGENT_SESSION_LINEAGE_KIND,r as SessionDiscoveredSchema,y as SessionLineageKindSchema,b as SessionLineageSchema,o as SessionLinkedSchema,t as SessionUsageSchema,l as StartAgentSchema,x as SubagentSessionLineageSchema};
@@ -0,0 +1,2 @@
1
+ import { a as ROOT_SESSION_LINEAGE_KIND, c as SUBAGENT_SESSION_LINEAGE_KIND, d as SessionLineageKindSchema, f as SessionLineageSchema, i as ForkSessionLineageSchema, l as SessionLineage, n as CompressSessionLineageSchema, o as RootSessionLineageSchema, p as SubagentSessionLineageSchema, r as FORK_SESSION_LINEAGE_KIND, s as SESSION_LINEAGE_KINDS, t as COMPRESS_SESSION_LINEAGE_KIND, u as SessionLineageKind } from "../../../session-lineage-Eev4uo4I.mjs";
2
+ export { COMPRESS_SESSION_LINEAGE_KIND, CompressSessionLineageSchema, FORK_SESSION_LINEAGE_KIND, ForkSessionLineageSchema, ROOT_SESSION_LINEAGE_KIND, RootSessionLineageSchema, SESSION_LINEAGE_KINDS, SUBAGENT_SESSION_LINEAGE_KIND, SessionLineage, SessionLineageKind, SessionLineageKindSchema, SessionLineageSchema, SubagentSessionLineageSchema };
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";const t=[`root`,`fork`,`subagent`,`compress`],n=`root`,r=`fork`,i=`subagent`,a=`compress`,o=e.enum(t),s=e.object({kind:e.literal(n),parentAdapterSessionId:e.null(),forkPointMessageId:e.null()}),c=e.object({kind:e.literal(r),parentAdapterSessionId:e.string(),forkPointMessageId:e.string()}),l=e.object({kind:e.literal(i),parentAdapterSessionId:e.string(),forkPointMessageId:e.null()}),u=e.object({kind:e.literal(a),parentAdapterSessionId:e.string(),forkPointMessageId:e.null()}),d=e.discriminatedUnion(`kind`,[s,c,l,u]);export{a as COMPRESS_SESSION_LINEAGE_KIND,u as CompressSessionLineageSchema,r as FORK_SESSION_LINEAGE_KIND,c as ForkSessionLineageSchema,n as ROOT_SESSION_LINEAGE_KIND,s as RootSessionLineageSchema,t as SESSION_LINEAGE_KINDS,i as SUBAGENT_SESSION_LINEAGE_KIND,o as SessionLineageKindSchema,d as SessionLineageSchema,l as SubagentSessionLineageSchema};