@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,141 @@
1
+ import { a as CliSubcommandDefinition, c as INTERACTIVE_SUBCOMMAND, d as requireBus, i as CliContribution, l as OutputWriter, n as BeforeRunContext, o as CliSubcommandEntry, r as BeforeRunResult, s as CommandContext, t as ALWAYS_PROCEED, u as defineCliSubcommand } from "../../types-DYF5LxZY.mjs";
2
+ import * as _$zod from "zod";
3
+ import { z } from "zod";
4
+ import * as _$_makaio_core0 from "@makaio/framework/core";
5
+ import { CliArgManifest } from "@makaio/framework/contracts/extension";
6
+ import * as _$zod_v4_core0 from "zod/v4/core";
7
+
8
+ //#region packages/kernel/src/cli/schema-introspection.d.ts
9
+ /**
10
+ * Convert a Zod object schema into serializable CLI argument manifests.
11
+ *
12
+ * Walks the schema's shape, reads `.meta()` from each field (unwrapping
13
+ * optional/default wrappers), and produces a {@link CliArgManifest} per field.
14
+ * This is the serialization counterpart to `schema-adapter.ts`'s registration
15
+ * logic — same introspection, different output format.
16
+ * @param schema - A Zod object schema defining a subcommand's arguments.
17
+ * @returns An array of serializable argument manifests.
18
+ */
19
+ declare function toCliArgManifests(schema: z.ZodObject<z.ZodRawShape>): CliArgManifest[];
20
+ //#endregion
21
+ //#region packages/kernel/src/cli/schema-utils.d.ts
22
+ /**
23
+ * Zod 4's `ZodRawShape[string]` resolves to the internal `$ZodType` which
24
+ * lacks public API methods (`.meta()`, `.isOptional()`). At runtime these
25
+ * methods exist — this type alias restores access.
26
+ */
27
+ type FieldSchema = z.ZodType;
28
+ /**
29
+ * Extract `.meta()` from a Zod schema, unwrapping optionals/defaults.
30
+ *
31
+ * Recursively follows `unwrap()` so that meta attached to the inner schema
32
+ * of `z.optional(z.string().meta({…}))` is still found.
33
+ * @param schema - The Zod schema to inspect.
34
+ * @returns The resolved Zod global metadata or `undefined`.
35
+ */
36
+ declare function getMeta(schema: FieldSchema): z.GlobalMeta | undefined;
37
+ /**
38
+ * Check if a Zod schema resolves to a boolean type, unwrapping wrappers
39
+ * recursively.
40
+ * @param schema - The Zod schema to inspect.
41
+ * @returns `true` if the schema represents a boolean value.
42
+ */
43
+ declare function isBooleanSchema(schema: FieldSchema): boolean;
44
+ /**
45
+ * Check if a Zod schema resolves to a number type, unwrapping wrappers
46
+ * recursively.
47
+ * @param schema - The Zod schema to inspect.
48
+ * @returns `true` if the schema represents a numeric value.
49
+ */
50
+ declare function isNumberSchema(schema: FieldSchema): boolean;
51
+ //#endregion
52
+ //#region packages/kernel/src/bus/cli/namespace.d.ts
53
+ /** CLI bus namespace — `cli.*` subjects. */
54
+ declare const CliNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel:cli", {
55
+ listContributions: {
56
+ request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
57
+ response: _$zod.ZodObject<{
58
+ contributions: _$zod.ZodArray<_$zod.ZodObject<{
59
+ name: _$zod.ZodString;
60
+ description: _$zod.ZodString;
61
+ subcommands: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
62
+ name: _$zod.ZodString;
63
+ description: _$zod.ZodString;
64
+ args: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
65
+ name: _$zod.ZodString;
66
+ description: _$zod.ZodString;
67
+ required: _$zod.ZodOptional<_$zod.ZodBoolean>;
68
+ positional: _$zod.ZodOptional<_$zod.ZodBoolean>;
69
+ short: _$zod.ZodOptional<_$zod.ZodString>;
70
+ type: _$zod.ZodOptional<_$zod.ZodEnum<{
71
+ string: "string";
72
+ number: "number";
73
+ boolean: "boolean";
74
+ }>>;
75
+ }, _$zod_v4_core0.$strip>>>>;
76
+ }, _$zod_v4_core0.$strip>>>>;
77
+ hasInteractive: _$zod.ZodOptional<_$zod.ZodBoolean>;
78
+ }, _$zod_v4_core0.$strip>>;
79
+ }, _$zod_v4_core0.$strip>;
80
+ };
81
+ execute: {
82
+ request: _$zod.ZodObject<{
83
+ command: _$zod.ZodString;
84
+ subcommand: _$zod.ZodString;
85
+ args: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
86
+ }, _$zod_v4_core0.$strip>;
87
+ response: _$zod.ZodObject<{
88
+ exitCode: _$zod.ZodNumber;
89
+ stdout: _$zod.ZodArray<_$zod.ZodString>;
90
+ stderr: _$zod.ZodArray<_$zod.ZodString>;
91
+ }, _$zod_v4_core0.$strip>;
92
+ };
93
+ }>;
94
+ /**
95
+ * Typed subjects for CLI RPC operations.
96
+ *
97
+ * - `CliRpcSubjects.listContributions` — discover extension CLI commands
98
+ * - `CliRpcSubjects.execute` — run a subcommand on the server
99
+ */
100
+ declare const CliRpcSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"kernel:cli", {
101
+ listContributions: {
102
+ request: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
103
+ response: _$zod.ZodObject<{
104
+ contributions: _$zod.ZodArray<_$zod.ZodObject<{
105
+ name: _$zod.ZodString;
106
+ description: _$zod.ZodString;
107
+ subcommands: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
108
+ name: _$zod.ZodString;
109
+ description: _$zod.ZodString;
110
+ args: _$zod.ZodOptional<_$zod.ZodReadonly<_$zod.ZodArray<_$zod.ZodObject<{
111
+ name: _$zod.ZodString;
112
+ description: _$zod.ZodString;
113
+ required: _$zod.ZodOptional<_$zod.ZodBoolean>;
114
+ positional: _$zod.ZodOptional<_$zod.ZodBoolean>;
115
+ short: _$zod.ZodOptional<_$zod.ZodString>;
116
+ type: _$zod.ZodOptional<_$zod.ZodEnum<{
117
+ string: "string";
118
+ number: "number";
119
+ boolean: "boolean";
120
+ }>>;
121
+ }, _$zod_v4_core0.$strip>>>>;
122
+ }, _$zod_v4_core0.$strip>>>>;
123
+ hasInteractive: _$zod.ZodOptional<_$zod.ZodBoolean>;
124
+ }, _$zod_v4_core0.$strip>>;
125
+ }, _$zod_v4_core0.$strip>;
126
+ };
127
+ execute: {
128
+ request: _$zod.ZodObject<{
129
+ command: _$zod.ZodString;
130
+ subcommand: _$zod.ZodString;
131
+ args: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>>;
132
+ }, _$zod_v4_core0.$strip>;
133
+ response: _$zod.ZodObject<{
134
+ exitCode: _$zod.ZodNumber;
135
+ stdout: _$zod.ZodArray<_$zod.ZodString>;
136
+ stderr: _$zod.ZodArray<_$zod.ZodString>;
137
+ }, _$zod_v4_core0.$strip>;
138
+ };
139
+ }>, "kernel:cli">;
140
+ //#endregion
141
+ export { ALWAYS_PROCEED, type BeforeRunContext, type BeforeRunResult, type CliContribution, CliNamespace, CliRpcSubjects, type CliSubcommandDefinition, type CliSubcommandEntry, type CommandContext, type FieldSchema, INTERACTIVE_SUBCOMMAND, type OutputWriter, defineCliSubcommand, getMeta, isBooleanSchema, isNumberSchema, requireBus, toCliArgManifests };
@@ -0,0 +1 @@
1
+ import{a as e,i as t,n,o as r,r as i,t as a}from"../../schema-introspection-D61TT_7b.mjs";const o=`__interactive__`,s={proceed:!0};function c(e){if(!e.bus)throw Error(`This command requires a running Makaio server.`);return e.bus}function l(e,t,n,r){return{name:e,description:t,schema:n,handler:r}}export{s as ALWAYS_PROCEED,e as CliNamespace,r as CliRpcSubjects,o as INTERACTIVE_SUBCOMMAND,l as defineCliSubcommand,n as getMeta,i as isBooleanSchema,t as isNumberSchema,c as requireBus,a as toCliArgManifests};
@@ -0,0 +1,63 @@
1
+ import { z } from "zod";
2
+
3
+ //#region packages/kernel/src/bus/cli/schemas.d.ts
4
+ /**
5
+ * CLI namespace schema definitions.
6
+ *
7
+ * Both subjects are request/response RPCs — no fire-and-forget events.
8
+ */
9
+ declare const CliSchemas: {
10
+ /**
11
+ * List all CLI contributions from loaded extensions.
12
+ *
13
+ * Returns CLI manifest objects (serializable metadata only, no
14
+ * handler code). The CLI uses this to register remote commands and
15
+ * generate `--help` output.
16
+ */
17
+ listContributions: {
18
+ request: z.ZodObject<{}, z.core.$strip>;
19
+ response: z.ZodObject<{
20
+ contributions: z.ZodArray<z.ZodObject<{
21
+ name: z.ZodString;
22
+ description: z.ZodString;
23
+ subcommands: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
24
+ name: z.ZodString;
25
+ description: z.ZodString;
26
+ args: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
27
+ name: z.ZodString;
28
+ description: z.ZodString;
29
+ required: z.ZodOptional<z.ZodBoolean>;
30
+ positional: z.ZodOptional<z.ZodBoolean>;
31
+ short: z.ZodOptional<z.ZodString>;
32
+ type: z.ZodOptional<z.ZodEnum<{
33
+ string: "string";
34
+ number: "number";
35
+ boolean: "boolean";
36
+ }>>;
37
+ }, z.core.$strip>>>>;
38
+ }, z.core.$strip>>>>;
39
+ hasInteractive: z.ZodOptional<z.ZodBoolean>;
40
+ }, z.core.$strip>>;
41
+ }, z.core.$strip>;
42
+ };
43
+ /**
44
+ * Execute a CLI subcommand on the server.
45
+ *
46
+ * The server validates args through the subcommand's Zod schema, runs the
47
+ * handler with a buffering output writer, and returns captured output.
48
+ */
49
+ execute: {
50
+ request: z.ZodObject<{
51
+ command: z.ZodString;
52
+ subcommand: z.ZodString;
53
+ args: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
54
+ }, z.core.$strip>;
55
+ response: z.ZodObject<{
56
+ exitCode: z.ZodNumber;
57
+ stdout: z.ZodArray<z.ZodString>;
58
+ stderr: z.ZodArray<z.ZodString>;
59
+ }, z.core.$strip>;
60
+ };
61
+ };
62
+ //#endregion
63
+ export { CliSchemas };
@@ -0,0 +1 @@
1
+ import{t as e}from"../../schemas-CLxtoKFy.mjs";export{e as CliSchemas};
@@ -0,0 +1,2 @@
1
+ import { a as ExtensionCoordinatorOptions, c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../../index-Bv15sNLn.mjs";
2
+ export { ContributionProcessor, ExtensionCoordinator, ExtensionCoordinatorOptions, ExtensionRuntimeSurface, KernelExtensionContext, KernelMakaioExtension, RuntimeCapability, RuntimeEnvironment, coalesceExtensionOverrides, filterEligibleExtensions };
@@ -0,0 +1 @@
1
+ import{n as e,r as t,t as n}from"../../extension-COqwS-2Q.mjs";export{n as ExtensionCoordinator,e as coalesceExtensionOverrides,t as filterEligibleExtensions};
@@ -0,0 +1,296 @@
1
+ import { c as ExtensionInfo, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, s as ComponentStateSchema, t as ExtensionNamespace } from "../index-DubqLGH8.mjs";
2
+ import { c as KernelMakaioExtension, i as ContributionProcessor, l as RuntimeCapability, n as filterEligibleExtensions, o as ExtensionRuntimeSurface, r as ExtensionCoordinator, s as KernelExtensionContext, t as coalesceExtensionOverrides, u as RuntimeEnvironment } from "../index-Bv15sNLn.mjs";
3
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../window-registry-C_IJmY8_.mjs";
4
+ import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../index-6lyShOoU.mjs";
5
+ import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../index-SzSiyG61.mjs";
6
+ import { z } from "zod";
7
+ import * as _$_makaio_core0 from "@makaio/framework/core";
8
+
9
+ //#region packages/kernel/src/boot-namespace.d.ts
10
+ /**
11
+ * Boot namespace for bus operations.
12
+ */
13
+ declare const BootNamespace: _$_makaio_core0.BusNamespaceDefinition<"kernel:boot", {
14
+ /**
15
+ * Request the current boot state for late subscribers.
16
+ *
17
+ * Subject: `kernel:boot.getState`
18
+ * Type: RPC (request/response)
19
+ * Purpose: Allows clients that connect after boot has started (or completed)
20
+ * to retrieve the current boot state. Returns the same shape as `progress`
21
+ * plus additional fields indicating whether boot is complete and any failures.
22
+ */
23
+ getState: {
24
+ request: z.ZodObject<{}, z.core.$strip>;
25
+ response: z.ZodObject<{
26
+ complete: z.ZodBoolean;
27
+ completedCount: z.ZodNumber;
28
+ totalCount: z.ZodNumber;
29
+ currentService: z.ZodOptional<z.ZodString>;
30
+ failedServices: z.ZodArray<z.ZodString>;
31
+ skippedServices: z.ZodDefault<z.ZodArray<z.ZodString>>;
32
+ totalDurationMs: z.ZodOptional<z.ZodNumber>;
33
+ }, z.core.$strip>;
34
+ };
35
+ /**
36
+ * Signal that a service has begun its startup sequence.
37
+ *
38
+ * Subject: `kernel:boot.service.starting`
39
+ * Type: Event (fire-and-forget)
40
+ * Purpose: Emitted immediately before a service's `create()` method is invoked.
41
+ * Allows observers to track which services are actively starting.
42
+ */
43
+ 'service.starting': z.ZodObject<{
44
+ name: z.ZodString;
45
+ displayName: z.ZodString;
46
+ }, z.core.$strip>;
47
+ /**
48
+ * Signal that a service has successfully completed startup.
49
+ *
50
+ * Subject: `kernel:boot.service.ready`
51
+ * Type: Event (fire-and-forget)
52
+ * Purpose: Emitted after a service's `create()` method resolves successfully.
53
+ * Includes elapsed startup duration for performance monitoring.
54
+ * @param durationMs - Elapsed time in milliseconds from `service.starting` to ready.
55
+ */
56
+ 'service.ready': z.ZodObject<{
57
+ name: z.ZodString;
58
+ displayName: z.ZodString;
59
+ durationMs: z.ZodNumber;
60
+ }, z.core.$strip>;
61
+ /**
62
+ * Signal that a service failed to start.
63
+ *
64
+ * Subject: `kernel:boot.service.failed`
65
+ * Type: Event (fire-and-forget)
66
+ * Purpose: Emitted when a service's `create()` method throws or rejects.
67
+ * Carries the error message for diagnostics and UI error display.
68
+ * @param errorMessage - Stringified error from the failed startup attempt.
69
+ */
70
+ 'service.failed': z.ZodObject<{
71
+ name: z.ZodString;
72
+ displayName: z.ZodString;
73
+ errorMessage: z.ZodString;
74
+ }, z.core.$strip>;
75
+ /**
76
+ * Signal that a service intentionally skipped startup.
77
+ *
78
+ * Subject: `kernel:boot.service.skipped`
79
+ * Type: Event (fire-and-forget)
80
+ * Purpose: Emitted when a service's `create()` throws a {@link ServiceSkipError},
81
+ * indicating the service opted out due to role, feature flag, or environment
82
+ * mismatch — not an error condition.
83
+ * @param reason - Human-readable explanation from the ServiceSkipError.
84
+ */
85
+ 'service.skipped': z.ZodObject<{
86
+ name: z.ZodString;
87
+ displayName: z.ZodString;
88
+ reason: z.ZodString;
89
+ }, z.core.$strip>;
90
+ /**
91
+ * Signal the current boot progress across all services.
92
+ *
93
+ * Subject: `kernel:boot.progress`
94
+ * Type: Event (fire-and-forget)
95
+ * Purpose: Emitted after each service completes (successfully or not).
96
+ * Used by progress indicators to show startup completion percentage.
97
+ * @param completedCount - Number of services that have finished (ready or failed).
98
+ * @param totalCount - Total number of services registered for this boot sequence.
99
+ * @param currentService - Display name of the service currently starting, if any.
100
+ */
101
+ progress: z.ZodObject<{
102
+ completedCount: z.ZodNumber;
103
+ totalCount: z.ZodNumber;
104
+ currentService: z.ZodOptional<z.ZodString>;
105
+ }, z.core.$strip>;
106
+ /**
107
+ * Signal that all services have completed their startup attempts.
108
+ *
109
+ * Subject: `kernel:boot.complete`
110
+ * Type: Event (fire-and-forget)
111
+ * Purpose: Emitted once all registered services have resolved or rejected.
112
+ * Carries the total boot duration and names of any failed services.
113
+ * @param totalDurationMs - Elapsed time in milliseconds for the entire boot sequence.
114
+ * @param failedServices - Array of service names that failed to start (may be empty).
115
+ */
116
+ complete: z.ZodObject<{
117
+ totalDurationMs: z.ZodNumber;
118
+ failedServices: z.ZodArray<z.ZodString>;
119
+ }, z.core.$strip>;
120
+ }>;
121
+ /**
122
+ * Boot subjects for type-safe bus operations.
123
+ *
124
+ * Subjects:
125
+ * - `getState` — RPC to retrieve the current boot state for late subscribers
126
+ * - `service.starting` — event: emitted before a service begins startup
127
+ * - `service.ready` — event: emitted when a service finishes startup successfully
128
+ * - `service.failed` — event: emitted when a service startup throws an unexpected error
129
+ * - `service.skipped` — event: emitted when a service throws ServiceSkipError (intentional opt-out)
130
+ * - `progress` — event: emitted after each service completes, with overall progress
131
+ * - `complete` — event: emitted once all services have settled
132
+ *
133
+ * Dot-notation keys produce nested access:
134
+ * ```typescript
135
+ * BootSubjects.service.starting
136
+ * BootSubjects.complete
137
+ * ```
138
+ */
139
+ declare const BootSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"kernel:boot", {
140
+ /**
141
+ * Request the current boot state for late subscribers.
142
+ *
143
+ * Subject: `kernel:boot.getState`
144
+ * Type: RPC (request/response)
145
+ * Purpose: Allows clients that connect after boot has started (or completed)
146
+ * to retrieve the current boot state. Returns the same shape as `progress`
147
+ * plus additional fields indicating whether boot is complete and any failures.
148
+ */
149
+ getState: {
150
+ request: z.ZodObject<{}, z.core.$strip>;
151
+ response: z.ZodObject<{
152
+ complete: z.ZodBoolean;
153
+ completedCount: z.ZodNumber;
154
+ totalCount: z.ZodNumber;
155
+ currentService: z.ZodOptional<z.ZodString>;
156
+ failedServices: z.ZodArray<z.ZodString>;
157
+ skippedServices: z.ZodDefault<z.ZodArray<z.ZodString>>;
158
+ totalDurationMs: z.ZodOptional<z.ZodNumber>;
159
+ }, z.core.$strip>;
160
+ };
161
+ /**
162
+ * Signal that a service has begun its startup sequence.
163
+ *
164
+ * Subject: `kernel:boot.service.starting`
165
+ * Type: Event (fire-and-forget)
166
+ * Purpose: Emitted immediately before a service's `create()` method is invoked.
167
+ * Allows observers to track which services are actively starting.
168
+ */
169
+ 'service.starting': z.ZodObject<{
170
+ name: z.ZodString;
171
+ displayName: z.ZodString;
172
+ }, z.core.$strip>;
173
+ /**
174
+ * Signal that a service has successfully completed startup.
175
+ *
176
+ * Subject: `kernel:boot.service.ready`
177
+ * Type: Event (fire-and-forget)
178
+ * Purpose: Emitted after a service's `create()` method resolves successfully.
179
+ * Includes elapsed startup duration for performance monitoring.
180
+ * @param durationMs - Elapsed time in milliseconds from `service.starting` to ready.
181
+ */
182
+ 'service.ready': z.ZodObject<{
183
+ name: z.ZodString;
184
+ displayName: z.ZodString;
185
+ durationMs: z.ZodNumber;
186
+ }, z.core.$strip>;
187
+ /**
188
+ * Signal that a service failed to start.
189
+ *
190
+ * Subject: `kernel:boot.service.failed`
191
+ * Type: Event (fire-and-forget)
192
+ * Purpose: Emitted when a service's `create()` method throws or rejects.
193
+ * Carries the error message for diagnostics and UI error display.
194
+ * @param errorMessage - Stringified error from the failed startup attempt.
195
+ */
196
+ 'service.failed': z.ZodObject<{
197
+ name: z.ZodString;
198
+ displayName: z.ZodString;
199
+ errorMessage: z.ZodString;
200
+ }, z.core.$strip>;
201
+ /**
202
+ * Signal that a service intentionally skipped startup.
203
+ *
204
+ * Subject: `kernel:boot.service.skipped`
205
+ * Type: Event (fire-and-forget)
206
+ * Purpose: Emitted when a service's `create()` throws a {@link ServiceSkipError},
207
+ * indicating the service opted out due to role, feature flag, or environment
208
+ * mismatch — not an error condition.
209
+ * @param reason - Human-readable explanation from the ServiceSkipError.
210
+ */
211
+ 'service.skipped': z.ZodObject<{
212
+ name: z.ZodString;
213
+ displayName: z.ZodString;
214
+ reason: z.ZodString;
215
+ }, z.core.$strip>;
216
+ /**
217
+ * Signal the current boot progress across all services.
218
+ *
219
+ * Subject: `kernel:boot.progress`
220
+ * Type: Event (fire-and-forget)
221
+ * Purpose: Emitted after each service completes (successfully or not).
222
+ * Used by progress indicators to show startup completion percentage.
223
+ * @param completedCount - Number of services that have finished (ready or failed).
224
+ * @param totalCount - Total number of services registered for this boot sequence.
225
+ * @param currentService - Display name of the service currently starting, if any.
226
+ */
227
+ progress: z.ZodObject<{
228
+ completedCount: z.ZodNumber;
229
+ totalCount: z.ZodNumber;
230
+ currentService: z.ZodOptional<z.ZodString>;
231
+ }, z.core.$strip>;
232
+ /**
233
+ * Signal that all services have completed their startup attempts.
234
+ *
235
+ * Subject: `kernel:boot.complete`
236
+ * Type: Event (fire-and-forget)
237
+ * Purpose: Emitted once all registered services have resolved or rejected.
238
+ * Carries the total boot duration and names of any failed services.
239
+ * @param totalDurationMs - Elapsed time in milliseconds for the entire boot sequence.
240
+ * @param failedServices - Array of service names that failed to start (may be empty).
241
+ */
242
+ complete: z.ZodObject<{
243
+ totalDurationMs: z.ZodNumber;
244
+ failedServices: z.ZodArray<z.ZodString>;
245
+ }, z.core.$strip>;
246
+ }>, "kernel:boot">;
247
+ //#endregion
248
+ //#region packages/kernel/src/service-skip-error.d.ts
249
+ /**
250
+ * Thrown from a service factory to signal that the service intentionally opts
251
+ * out of starting in the current runtime context (e.g. wrong role, disabled
252
+ * feature flag).
253
+ *
254
+ * {@link ExtensionCoordinator} catches this error and routes the package to
255
+ * the skipped list instead of the failed list, emitting
256
+ * `kernel:boot.service.skipped` instead of `kernel:boot.service.failed`.
257
+ *
258
+ * **Contract:** Only valid for non-critical services.
259
+ * Throwing `ServiceSkipError` from a critical service is treated as a real
260
+ * failure to prevent silent startup holes.
261
+ * @example
262
+ * ```typescript
263
+ * factory: async (ctx) => {
264
+ * const { config } = await ctx.bus.request(ConfigSubjects.get, {});
265
+ * if (config.role !== 'main-dev-machine') {
266
+ * throw new ServiceSkipError(`role=${String(config.role)}, expected main-dev-machine`);
267
+ * }
268
+ * return new CronTriggerEvaluator(ctx.bus);
269
+ * }
270
+ * ```
271
+ */
272
+ declare class ServiceSkipError extends Error {
273
+ /**
274
+ * Human-readable reason why the service chose to skip.
275
+ * Included in the `service.skipped` bus event.
276
+ */
277
+ readonly reason: string;
278
+ /**
279
+ * @param reason - Human-readable explanation for why the service is skipping
280
+ */
281
+ constructor(reason: string);
282
+ }
283
+ //#endregion
284
+ //#region packages/kernel/src/shutdown.d.ts
285
+ /**
286
+ * Create an ordered, idempotent shutdown sequence.
287
+ *
288
+ * Steps run in the order provided. Errors in individual steps are logged
289
+ * but do not prevent subsequent steps from running. Concurrent calls to
290
+ * the returned function share the same promise (idempotent).
291
+ * @param steps - Cleanup functions in shutdown order (typically reverse-startup).
292
+ * @returns An async function that executes all steps once.
293
+ */
294
+ declare function createShutdownSequence(steps: ReadonlyArray<() => Promise<void> | void>): () => Promise<void>;
295
+ //#endregion
296
+ export { BootNamespace, BootSubjects, type ComponentInfo, type ComponentState, ComponentStateSchema, type ContributionProcessor, EphemeralIdentityProvider, ExtensionCoordinator, type ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, type ExtensionRuntimeSurface, ExtensionSubjects, type IdentityProvider, type KernelExtensionContext, type KernelMakaioExtension, KernelNamespace, KernelSchemas, KernelSubjects, type MachineIdentity, MemoryStorageProvider, NoTransportProvider, type RuntimeCapability, type RuntimeEnvironment, STYLE_DEFAULTS, type ServiceInfo, ServiceInfoSchema, ServiceSkipError, type StorageCleanup, type StorageProvider, type TransportProvider, type WindowRegistration, WindowRegistry, type WindowStyle, coalesceExtensionOverrides, createShutdownSequence, filterEligibleExtensions, getWorkflowTriggerTypeRegistry, setWorkflowTriggerTypeRegistry };
@@ -0,0 +1 @@
1
+ import{a as e,i as t,n,r,t as i}from"../namespace-0yuzAKlr.mjs";import{n as a,t as o}from"../window-registry-CUftmDr3.mjs";import"./window/index.mjs";import{n as s,r as c,t as l}from"../providers-Cr4Za8a1.mjs";import{a as u,i as d,n as f,o as p,r as m,t as h}from"../extension-COqwS-2Q.mjs";import{a as g,c as _,n as v,o as y,t as b}from"../extension-namespace-zaGKi6Qj.mjs";import"./observability/index.mjs";function x(e){let t=null;return()=>t||(t=(async()=>{for(let t of e)try{await t()}catch(e){console.warn(`[shutdown]`,e)}})(),t)}export{u as BootNamespace,p as BootSubjects,g as ComponentStateSchema,l as EphemeralIdentityProvider,h as ExtensionCoordinator,y as ExtensionInfoSchema,b as ExtensionNamespace,v as ExtensionSubjects,i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,c as MemoryStorageProvider,s as NoTransportProvider,o as STYLE_DEFAULTS,_ as ServiceInfoSchema,d as ServiceSkipError,a as WindowRegistry,f as coalesceExtensionOverrides,x as createShutdownSequence,m as filterEligibleExtensions,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
@@ -0,0 +1,2 @@
1
+ import { a as KernelSchemas, i as setWorkflowTriggerTypeRegistry, n as KernelSubjects, r as getWorkflowTriggerTypeRegistry, t as KernelNamespace } from "../../index-6lyShOoU.mjs";
2
+ export { KernelNamespace, KernelSchemas, KernelSubjects, getWorkflowTriggerTypeRegistry, setWorkflowTriggerTypeRegistry };
@@ -0,0 +1 @@
1
+ import{a as e,i as t,n,r,t as i}from"../../namespace-0yuzAKlr.mjs";export{i as KernelNamespace,e as KernelSchemas,n as KernelSubjects,r as getWorkflowTriggerTypeRegistry,t as setWorkflowTriggerTypeRegistry};
@@ -0,0 +1,2 @@
1
+ import { a as ComponentInfoSchema, c as ExtensionInfo, d as ExtensionWarningEntrySchema, f as ServiceInfo, i as ComponentInfo, l as ExtensionInfoSchema, n as ExtensionSubjects, o as ComponentState, p as ServiceInfoSchema, r as ComponentIdentitySchema, s as ComponentStateSchema, t as ExtensionNamespace, u as ExtensionWarningEntry } from "../../index-DubqLGH8.mjs";
2
+ export { ComponentIdentitySchema, ComponentInfo, ComponentInfoSchema, ComponentState, ComponentStateSchema, ExtensionInfo, ExtensionInfoSchema, ExtensionNamespace, ExtensionSubjects, ExtensionWarningEntry, ExtensionWarningEntrySchema, ServiceInfo, ServiceInfoSchema };
@@ -0,0 +1 @@
1
+ import{a as e,c as t,i as n,n as r,o as i,r as a,s as o,t as s}from"../../extension-namespace-zaGKi6Qj.mjs";export{a as ComponentIdentitySchema,n as ComponentInfoSchema,e as ComponentStateSchema,i as ExtensionInfoSchema,s as ExtensionNamespace,r as ExtensionSubjects,o as ExtensionWarningEntrySchema,t as ServiceInfoSchema};
@@ -0,0 +1,2 @@
1
+ import { a as MachineIdentity, c as StorageProvider, i as IdentityProvider, n as NoTransportProvider, o as TransportProvider, r as MemoryStorageProvider, s as StorageCleanup, t as EphemeralIdentityProvider } from "../../index-SzSiyG61.mjs";
2
+ export { EphemeralIdentityProvider, IdentityProvider, MachineIdentity, MemoryStorageProvider, NoTransportProvider, StorageCleanup, StorageProvider, TransportProvider };
@@ -0,0 +1 @@
1
+ import{n as e,r as t,t as n}from"../../providers-Cr4Za8a1.mjs";export{n as EphemeralIdentityProvider,t as MemoryStorageProvider,e as NoTransportProvider};
@@ -0,0 +1,2 @@
1
+ import { i as WindowStyle, n as WindowRegistration, r as WindowRegistry, t as STYLE_DEFAULTS } from "../../window-registry-C_IJmY8_.mjs";
2
+ export { STYLE_DEFAULTS, type WindowRegistration, WindowRegistry, type WindowStyle };
@@ -0,0 +1 @@
1
+ import{n as e,t}from"../../window-registry-CUftmDr3.mjs";export{t as STYLE_DEFAULTS,e as WindowRegistry};
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";import{createBusNamespace as t}from"@makaio/framework/core";const n=e.object({name:e.string(),friendlyName:e.string().optional(),contextWindowSize:e.number().int().nonnegative(),provider:e.string()}),r={supportedModels:{request:e.object({}),response:e.object({models:e.array(n)})}},i=t(`modelRegistry:public`,r),a=i.subjects;export{n as i,a as n,r,i as t};
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";import{createBusNamespace as t}from"@makaio/framework/core";import{AIModelSchema as n,ProviderAIModelSchema as r}from"@makaio/framework/contracts";import{BaseService as i}from"@makaio/framework/service-base";import{ModelRegistryPublicSubjects as a}from"@makaio/framework/contracts/model-registry";const o=e.object({name:e.string(),models:e.array(n)}),s=n.partial().extend({canonicalModel:e.string().optional(),name:e.never({error:`Provider model overrides cannot include identity fields`}).optional(),labId:e.never({error:`Provider model overrides cannot include identity fields`}).optional()}),c=e.object({name:e.string(),models:e.record(e.string(),s)}),l=e.object({$schema:e.literal(`makaio/model-registry/v2`),updatedAt:e.string().datetime(),labs:e.record(e.string(),o),providers:e.record(e.string(),c)}).superRefine((e,t)=>{let n=new Map;for(let[r,i]of Object.entries(e.labs))for(let[e,a]of i.models.entries()){a.labId!==r&&t.addIssue({code:`custom`,path:[`labs`,r,`models`,e,`labId`],message:`Lab model labId "${a.labId}" does not match lab key "${r}"`});let i=n.get(a.name);if(i!==void 0){t.addIssue({code:`custom`,path:[`labs`,r,`models`,e,`name`],message:`Duplicate canonical model name "${a.name}" appears in labs "${i}" and "${r}"`});continue}n.set(a.name,r)}for(let[r,i]of Object.entries(e.providers)){let e=new Map;for(let[a,o]of Object.entries(i.models)){let i=o.canonicalModel??a,s=e.get(i);if(s!==void 0){t.addIssue({code:`custom`,path:[`providers`,r,`models`,a,`canonicalModel`],message:`Duplicate canonical model reference "${i}" for provider "${r}" via models "${s}" and "${a}"`});continue}e.set(i,a),n.has(i)||t.addIssue({code:`custom`,path:[`providers`,r,`models`,a],message:`Unknown provider model reference "${i}" for provider "${r}"`+(i===a?``:` model "${a}"`)})}}}),u={getForProvider:{request:e.object({providerId:e.string(),model:e.string()}),response:e.object({model:r.optional()})},getLabModels:{request:e.object({labId:e.string()}),response:e.object({models:e.array(n)})},getProviderModels:{request:e.object({providerId:e.string()}),response:e.object({models:e.array(r)})},refresh:{request:e.object({}),response:e.object({success:e.boolean(),error:e.string().optional()})},checkModelInProviders:{request:e.object({providerIds:e.array(e.string()),model:e.string()}),response:e.object({matches:e.record(e.string(),r)})},changed:e.object({})},d=t(`modelRegistry`,u),f=d.subjects;function p(e){let t={...e};return e.capabilities!==void 0&&(t.capabilities=m(e.capabilities)),e.pricing!==void 0&&(t.pricing=h(e.pricing)),t}function m(e){let t={...e};return e.speechToText!==void 0&&(t.speechToText={...e.speechToText,modes:[...e.speechToText.modes]}),e.textToSpeech!==void 0&&(t.textToSpeech={...e.textToSpeech,modes:[...e.textToSpeech.modes]},e.textToSpeech.outputFormats!==void 0&&(t.textToSpeech.outputFormats=[...e.textToSpeech.outputFormats])),t}function h(e){let t={...e};return e.token!==void 0&&(t.token={...e.token}),e.request!==void 0&&(t.request={...e.request}),t}function g(e,t){return t===void 0?e===void 0?void 0:p(e):p(e===void 0?t:{...e,...t,capabilities:t.capabilities??e.capabilities,pricing:t.pricing??e.pricing})}var _=class extends Error{providerId;constructor(e){super(`Provider "${e}" is not present in the model registry`),this.name=`ModelRegistryProviderNotFoundError`,this.providerId=e}},v=class extends i{fetcher;registry=null;labModelIndex=null;fetchPromise=null;refreshPromise=null;fetchGeneration=0;constructor(e){super(e.bus),this.fetcher=e.fetcher}onInit(){this.registerHandler(f.getForProvider,async e=>{let{providerId:t,model:n}=e.payload,{registry:r,index:i}=await this.ensureRegistryWithIndex(),a=this.resolveProviderModel(r,i,t,n);e.setResult({model:a})}),this.registerHandler(f.getLabModels,async e=>{let{labId:t}=e.payload,{registry:n}=await this.ensureRegistryWithIndex(),r=n.labs[t];e.setResult({models:r?.models.map(e=>this.cloneModel(e))??[]})}),this.registerHandler(f.getProviderModels,async e=>{let{providerId:t}=e.payload,{registry:n,index:r}=await this.ensureRegistryWithIndex(),i=this.resolveAllProviderModels(n,r,t);e.setResult({models:i})}),this.registerHandler(a.supportedModels,async e=>{let{registry:t,index:n}=await this.ensureRegistryWithIndex();e.setResult({models:this.resolveSupportedModels(t,n)})}),this.registerHandler(f.checkModelInProviders,async e=>{let{providerIds:t,model:n}=e.payload,{registry:r,index:i}=await this.ensureRegistryWithIndex(),a={};for(let e of t){let t=this.resolveProviderModelByCanonicalName(r,i,e,n);t!==void 0&&(a[e]=t)}e.setResult({matches:a})}),this.registerHandler(f.refresh,async e=>{try{await this.refreshRegistry(),e.setResult({success:!0})}catch(t){e.setResult({success:!1,error:t instanceof Error?t.message:`Unknown error`})}})}onDestroy(){this.fetchGeneration+=1,this.registry=null,this.labModelIndex=null,this.fetchPromise=null,this.refreshPromise=null}async ensureRegistryWithIndex(){if(this.registry!==null)return{registry:this.registry,index:this.labModelIndex};if(this.fetchPromise!==null){let e=await this.fetchPromise,t=this.labModelIndex??this.buildLabModelIndex(e.registry);return{registry:e.registry,index:t}}let e=this.fetchGeneration,t=this.startRegistryFetch(e);this.fetchPromise=t;let n=await t,r=this.labModelIndex??this.buildLabModelIndex(n.registry);return{registry:n.registry,index:r}}async refreshRegistry(){if(this.refreshPromise!==null){await this.refreshPromise;return}let e=this.fetchPromise===null?this.runRefresh():this.awaitActiveFetchForRefresh(this.fetchPromise);this.refreshPromise=e;try{await e}finally{this.refreshPromise===e&&(this.refreshPromise=null)}}async awaitActiveFetchForRefresh(e){if(!(await e).committed)throw Error(`Model registry refresh completed without committing a registry`);await this.emitRegistryChanged()}async runRefresh(){let e=this.fetchGeneration+1;this.fetchGeneration=e,this.registry=null,this.labModelIndex=null;let t=this.startRegistryFetch(e);if(this.fetchPromise=t,!(await t).committed)throw Error(`Model registry refresh completed without committing a registry`);await this.emitRegistryChanged()}async emitRegistryChanged(){try{await this.bus.emit(f.changed,{})}catch(e){console.warn(`[ModelRegistryService] Failed to notify model registry change:`,e)}}startRegistryFetch(e){let t={promise:null};return t.promise=(async()=>{try{let t=await this.fetcher.fetch();return{registry:t,committed:this.commitRegistry(e,t)}}finally{e===this.fetchGeneration&&this.fetchPromise===t.promise&&(this.fetchPromise=null)}})(),t.promise}commitRegistry(e,t){return e===this.fetchGeneration?(this.registry=t,this.labModelIndex=this.buildLabModelIndex(t),!0):!1}resolveProviderModel(e,t,n,r){let i=e.providers[n];if(!i)return;let a=i.models[r];if(a===void 0)return;let o=t.get(a.canonicalModel??r);if(o)return this.mergeModel(r,o,a)}resolveProviderModelByCanonicalName(e,t,n,r){let i=e.providers[n];if(i)for(let[e,n]of Object.entries(i.models)){if((n.canonicalModel??e)!==r)continue;let i=t.get(r);return i?this.mergeModel(e,i,n):void 0}}resolveAllProviderModels(e,t,n){let r=e.providers[n];if(!r)throw new _(n);let i=[];for(let[e,n]of Object.entries(r.models)){let r=t.get(n.canonicalModel??e);r&&i.push(this.mergeModel(e,r,n))}return i}resolveSupportedModels(e,t){let n=[];for(let r of Object.keys(e.providers))for(let i of this.resolveAllProviderModels(e,t,r))n.push({name:i.name,...i.friendlyName!==void 0&&{friendlyName:i.friendlyName},contextWindowSize:i.contextWindowSize,provider:r});return n.sort((e,t)=>e.provider===t.provider?e.name===t.name?0:e.name<t.name?-1:1:e.provider<t.provider?-1:1)}buildLabModelIndex(e){let t=new Map;for(let n of Object.values(e.labs))for(let e of n.models)t.set(e.name,e);return t}mergeModel(e,t,n){if(Object.keys(n).length===0)return{...this.cloneProviderModel(t),name:e};let{canonicalModel:r,metadata:i,...a}=n,o={...this.cloneProviderModel(t),...a,name:e};a.supportedReasoningLevels!==void 0&&(o.supportedReasoningLevels={...a.supportedReasoningLevels});let s=g(t.metadata,i);return s!==void 0&&(o.metadata=s),o}cloneProviderModel(e){return{...this.cloneModel(e),labId:e.labId}}cloneModel(e){let t={...e};return e.supportedReasoningLevels!==void 0&&(t.supportedReasoningLevels={...e.supportedReasoningLevels}),e.metadata!==void 0&&(t.metadata=p(e.metadata)),t}},y=class{fetchers;constructor(e){if(e.length===0)throw Error(`FallbackRegistryFetcher requires at least one fetcher`);this.fetchers=e}async fetch(){let e;for(let t of this.fetchers)try{return await t.fetch()}catch(t){e=t instanceof Error?t:Error(String(t))}throw e}},b=class{inner;cache;constructor(e,t){this.inner=e,this.cache=t}async fetch(){try{let e=await this.inner.fetch();return await this.cache.set(e).catch(e=>{console.warn(`[CachedRegistryFetcher] Failed to write cache:`,e)}),e}catch(e){let t=await this.cache.get();if(t!==null)return t;throw e}}};export{g as a,l as c,v as i,u as l,y as n,d as o,_ as r,f as s,b as t,s as u};
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";import{createBusNamespace as t}from"@makaio/framework/core";import{localSubject as n}from"@makaio/framework/bus";const r=e.object({machineId:e.string()}),i={isReady:{request:e.object({}),response:e.object({ready:e.boolean(),machineId:e.string()})},"phase.busCreated":r,"phase.coreReady":r,"phase.servicesReady":r,"phase.coordinatorReady":n({request:r,response:e.object({})}),ready:r,"lifecycle.start":{request:e.object({machineId:e.string()}),response:e.object({})},"lifecycle.shutdown":{request:e.object({}),response:e.object({})}},a=t(`kernel`,i),o=a.subjects;let s;function c(e){if(e!==void 0&&s!==void 0&&s!==e)throw Error(`Workflow trigger type registry is already set. Clear it with setWorkflowTriggerTypeRegistry(undefined) before replacing it.`);s=e}function l(){return s}export{i as a,c as i,o as n,l as r,a as t};
@@ -0,0 +1 @@
1
+ import{sessions as e}from"./services/session/storage/schema.mjs";import{t}from"./schema-CAw_BqaG.mjs";import{SessionEventStorageNamespace as n,SessionEventStorageSubjects as r}from"@makaio/framework/contracts";import{index as i,integer as a,sqliteTable as o,text as s}from"drizzle-orm/sqlite-core";const c=o(`session_events`,{id:a(`id`).primaryKey({autoIncrement:!0}),sessionId:s(`session_id`).notNull().references(()=>e.sessionId,{onDelete:`cascade`}),eventId:s(`event_id`).notNull().unique(),timestamp:a(`timestamp`).notNull(),type:s(`type`).notNull(),agentId:s(`agent_id`),adapterId:s(`adapter_id`),originatingMessageId:s(`originating_message_id`),messageId:s(`message_id`).references(()=>t.messageId,{onDelete:`cascade`}),turnId:s(`turn_id`),contentText:s(`content_text`),payload:s(`payload`).notNull()},e=>[i(`idx_events_session_ts`).on(e.sessionId,e.timestamp),i(`idx_events_session_type`).on(e.sessionId,e.type),i(`idx_events_turn`).on(e.turnId),i(`idx_events_originating_message`).on(e.originatingMessageId)]),l={...n,extensions:{drizzle:{sessionEvents:c}}};export{r as n,c as r,l as t};