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

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 (456) hide show
  1. package/dist/.makaio-build.json +5 -0
  2. package/dist/account-identity-DT5NOtFi.mjs +1 -0
  3. package/dist/adapter-C1eI-fGV.mjs +1 -0
  4. package/dist/adapters/acp-client/index.d.mts +6208 -0
  5. package/dist/adapters/acp-client/index.mjs +3 -0
  6. package/dist/adapters/config/index.d.mts +429 -0
  7. package/dist/adapters/config/index.mjs +1 -0
  8. package/dist/adapters/index.d.mts +4202 -0
  9. package/dist/adapters/index.mjs +18 -0
  10. package/dist/adapters/node.d.mts +263 -0
  11. package/dist/adapters/node.mjs +4 -0
  12. package/dist/adapters/stream-session/index.d.mts +1414 -0
  13. package/dist/adapters/stream-session/index.mjs +1 -0
  14. package/dist/adapters/stream-session/testing/index.d.mts +29 -0
  15. package/dist/adapters/stream-session/testing/index.mjs +1 -0
  16. package/dist/artifact-B3npq1cy.mjs +1 -0
  17. package/dist/base-orchestrator-wyumsn3b.d.mts +772 -0
  18. package/dist/bus/index.d.mts +3994 -0
  19. package/dist/bus/index.mjs +1 -0
  20. package/dist/bus-Caz3Jpbc.mjs +1 -0
  21. package/dist/bus-Hb-LGzgb.mjs +2 -0
  22. package/dist/capability-service-CJbmhfv9.mjs +1 -0
  23. package/dist/chunk-DTipWd-i.mjs +1 -0
  24. package/dist/chunk-cpUYaJdV.mjs +1 -0
  25. package/dist/cleanEnvForAdapter-KkYzQa1f.mjs +1 -0
  26. package/dist/client-bx74gm4R.mjs +1 -0
  27. package/dist/clients/index.d.mts +2639 -0
  28. package/dist/clients/index.mjs +2 -0
  29. package/dist/clients-namespace-GmSJpBUV.d.mts +332 -0
  30. package/dist/config-namespace-CPY9YsR8.d.mts +638 -0
  31. package/dist/config-namespace-ncYg2ct_.mjs +1 -0
  32. package/dist/contracts/adapter/index.d.mts +3 -0
  33. package/dist/contracts/adapter/index.mjs +1 -0
  34. package/dist/contracts/adapter/schemas/session-lineage.d.mts +2 -0
  35. package/dist/contracts/adapter/schemas/session-lineage.mjs +1 -0
  36. package/dist/contracts/artifact/index.d.mts +2 -0
  37. package/dist/contracts/artifact/index.mjs +1 -0
  38. package/dist/contracts/client/index.d.mts +3 -0
  39. package/dist/contracts/client/index.mjs +1 -0
  40. package/dist/contracts/common/index.d.mts +2 -0
  41. package/dist/contracts/common/index.mjs +1 -0
  42. package/dist/contracts/config/index.d.mts +455 -0
  43. package/dist/contracts/config/index.mjs +1 -0
  44. package/dist/contracts/extension/index.d.mts +4 -0
  45. package/dist/contracts/extension/index.mjs +1 -0
  46. package/dist/contracts/facet/index.d.mts +2 -0
  47. package/dist/contracts/facet/index.mjs +1 -0
  48. package/dist/contracts/harness/index.d.mts +2 -0
  49. package/dist/contracts/harness/index.mjs +1 -0
  50. package/dist/contracts/host/index.d.mts +2 -0
  51. package/dist/contracts/host/index.mjs +1 -0
  52. package/dist/contracts/index.d.mts +23046 -0
  53. package/dist/contracts/index.mjs +1 -0
  54. package/dist/contracts/materialization/index.d.mts +4 -0
  55. package/dist/contracts/materialization/index.mjs +1 -0
  56. package/dist/contracts/model-registry/index.d.mts +2 -0
  57. package/dist/contracts/model-registry/index.mjs +1 -0
  58. package/dist/contracts/native-session-supervisor/index.d.mts +2 -0
  59. package/dist/contracts/native-session-supervisor/index.mjs +1 -0
  60. package/dist/contracts/platform/index.d.mts +2 -0
  61. package/dist/contracts/platform/index.mjs +1 -0
  62. package/dist/contracts/provider/index.d.mts +3 -0
  63. package/dist/contracts/provider/index.mjs +1 -0
  64. package/dist/contracts/session/index.d.mts +3 -0
  65. package/dist/contracts/session/index.mjs +1 -0
  66. package/dist/contracts/shared/index.d.mts +2 -0
  67. package/dist/contracts/shared/index.mjs +1 -0
  68. package/dist/contracts/skill/index.d.mts +2 -0
  69. package/dist/contracts/skill/index.mjs +1 -0
  70. package/dist/contracts/telemetry/index.d.mts +2 -0
  71. package/dist/contracts/telemetry/index.mjs +1 -0
  72. package/dist/contracts/timeout/index.d.mts +2 -0
  73. package/dist/contracts/timeout/index.mjs +1 -0
  74. package/dist/contracts/toast/index.d.mts +198 -0
  75. package/dist/contracts/toast/index.mjs +1 -0
  76. package/dist/contracts/variant/index.d.mts +2 -0
  77. package/dist/contracts/variant/index.mjs +1 -0
  78. package/dist/core/index.d.mts +1263 -0
  79. package/dist/core/index.mjs +1 -0
  80. package/dist/credential-ref-YWQQENEo.mjs +1 -0
  81. package/dist/cursor-storage-CtVJ3JzB.mjs +1 -0
  82. package/dist/definition-BLCdXGzh.d.mts +383 -0
  83. package/dist/definition-CrgHIpTK.d.mts +60 -0
  84. package/dist/definition-DZMXOnjX.mjs +1 -0
  85. package/dist/definition-pkJ6szUl.d.mts +158 -0
  86. package/dist/drizzle-Eq8W1EbD.mjs +1 -0
  87. package/dist/event-Ca2yUf5i.mjs +1 -0
  88. package/dist/execution-target-CRPTfZlc.mjs +1 -0
  89. package/dist/extension-C-4BHMRI.mjs +1 -0
  90. package/dist/extension-CpIUgBKI.mjs +1 -0
  91. package/dist/extension-namespace-cMh_mMiL.mjs +1 -0
  92. package/dist/facet-BuwhrThl.mjs +1 -0
  93. package/dist/filesystem-service-B8rhBRgB.mjs +1 -0
  94. package/dist/filesystem-service-p_iJVHd4.d.mts +66 -0
  95. package/dist/git/index.d.mts +210 -0
  96. package/dist/git/index.mjs +18 -0
  97. package/dist/globby-rtWVaFHv.mjs +41 -0
  98. package/dist/handlers-CkTsQLra.mjs +41 -0
  99. package/dist/harness-BRCMcvQN.mjs +1 -0
  100. package/dist/hooks/index.d.mts +423 -0
  101. package/dist/hooks/index.mjs +1 -0
  102. package/dist/host-Br9VuOyr.mjs +1 -0
  103. package/dist/identity-Cz2IeEtm.mjs +1 -0
  104. package/dist/index-472sOmsW.d.mts +218 -0
  105. package/dist/index-8SZkg7s6.d.mts +353 -0
  106. package/dist/index-B3PK4FIn.d.mts +5116 -0
  107. package/dist/index-B80L4YqA.d.mts +180 -0
  108. package/dist/index-BFg9BUpx.d.mts +355 -0
  109. package/dist/index-BGfWS6GE.d.mts +483 -0
  110. package/dist/index-BVgfS-AJ.d.mts +109 -0
  111. package/dist/index-B_zQC98V.d.mts +995 -0
  112. package/dist/index-Bh_Ne7LF.d.mts +1008 -0
  113. package/dist/index-Bvb2mMH6.d.mts +1730 -0
  114. package/dist/index-CCGVh9BF2.d.mts +749 -0
  115. package/dist/index-CGmcS0Ma.d.mts +412 -0
  116. package/dist/index-CHQ1SqT0.d.mts +117 -0
  117. package/dist/index-CLpjm52M.d.mts +183 -0
  118. package/dist/index-Caig6TeF.d.mts +6746 -0
  119. package/dist/index-CelJCBjk.d.mts +2992 -0
  120. package/dist/index-ChunCFu4.d.mts +11 -0
  121. package/dist/index-Cm0dUkWL.d.mts +4651 -0
  122. package/dist/index-CokQYGVP.d.mts +184 -0
  123. package/dist/index-Cs0kZXIz2.d.mts +37 -0
  124. package/dist/index-D5d5HeWI2.d.mts +259 -0
  125. package/dist/index-D90OmGmV.d.mts +389 -0
  126. package/dist/index-D9MwJ2Q8.d.mts +67 -0
  127. package/dist/index-DANINzMu.d.mts +40 -0
  128. package/dist/index-DBw-89vC2.d.mts +3640 -0
  129. package/dist/index-DGBu6bHi2.d.mts +438 -0
  130. package/dist/index-DKC62dY5.d.mts +146 -0
  131. package/dist/index-DKia0MX1.d.mts +43 -0
  132. package/dist/index-DMKnON5s.d.mts +28 -0
  133. package/dist/index-DUaw0Dw8.d.mts +14747 -0
  134. package/dist/index-De3kPhlN.d.mts +72 -0
  135. package/dist/index-L4GjJDKb.d.mts +822 -0
  136. package/dist/index-U-A8eyGT.d.mts +1490 -0
  137. package/dist/index-eemAKwsB.d.mts +362 -0
  138. package/dist/index-mNec7V-9.d.mts +1075 -0
  139. package/dist/index-soFznFCy2.d.mts +89 -0
  140. package/dist/index-vtXJuwrz.d.mts +40 -0
  141. package/dist/index-x_lVDp_J.d.mts +134 -0
  142. package/dist/json-value-CmhSGMLv.mjs +1 -0
  143. package/dist/kernel/cli/index.d.mts +143 -0
  144. package/dist/kernel/cli/index.mjs +1 -0
  145. package/dist/kernel/cli/schemas.d.mts +64 -0
  146. package/dist/kernel/cli/schemas.mjs +1 -0
  147. package/dist/kernel/extension/index.d.mts +2 -0
  148. package/dist/kernel/extension/index.mjs +1 -0
  149. package/dist/kernel/index.d.mts +296 -0
  150. package/dist/kernel/index.mjs +1 -0
  151. package/dist/kernel/namespace/index.d.mts +2 -0
  152. package/dist/kernel/namespace/index.mjs +1 -0
  153. package/dist/kernel/observability/index.d.mts +2 -0
  154. package/dist/kernel/observability/index.mjs +1 -0
  155. package/dist/kernel/providers/index.d.mts +2 -0
  156. package/dist/kernel/providers/index.mjs +1 -0
  157. package/dist/kernel/window/index.d.mts +2 -0
  158. package/dist/kernel/window/index.mjs +1 -0
  159. package/dist/materialization-CuUBu4XI.mjs +1 -0
  160. package/dist/model-registry-CfXytvzx.mjs +1 -0
  161. package/dist/model-registry-Scn_MC2d.mjs +1 -0
  162. package/dist/namespace-5QQqbF-B.d.mts +3133 -0
  163. package/dist/namespace-BM7Djng9.d.mts +189 -0
  164. package/dist/namespace-BoD94mrN.mjs +1 -0
  165. package/dist/namespace-BwzZJqTV.mjs +1 -0
  166. package/dist/namespace-CFLAmQfh.mjs +1 -0
  167. package/dist/namespace-CTm3nEvh.d.mts +51 -0
  168. package/dist/namespace-CaaNnKcR.d.mts +921 -0
  169. package/dist/namespace-CaoZ3S78.d.mts +43 -0
  170. package/dist/namespace-CxhsoFUP.d.mts +607 -0
  171. package/dist/namespace-DD8Oiqo7.d.mts +580 -0
  172. package/dist/namespace-DLovh2Ws.d.mts +1313 -0
  173. package/dist/namespace-DgqkaOVu.d.mts +768 -0
  174. package/dist/namespace-DkRgbZYn.mjs +1 -0
  175. package/dist/namespace-Dr8K0MCp.d.mts +2047 -0
  176. package/dist/namespace-DuXK5AYN.mjs +1 -0
  177. package/dist/namespace-EQniz-Aw.d.mts +142 -0
  178. package/dist/namespace-IV1QK__V.d.mts +159 -0
  179. package/dist/namespace-LViZ-EQk.mjs +1 -0
  180. package/dist/namespace-TyiTsLFv.d.mts +3020 -0
  181. package/dist/namespace-Yna5-Pws.mjs +1 -0
  182. package/dist/namespace-xcmbQlxh.mjs +1 -0
  183. package/dist/native-session-supervisor-B1TnaPUF.mjs +1 -0
  184. package/dist/node/bus-server/index.d.mts +178 -0
  185. package/dist/node/bus-server/index.mjs +1 -0
  186. package/dist/node/bus-server/server-lifecycle.d.mts +2 -0
  187. package/dist/node/bus-server/server-lifecycle.mjs +1 -0
  188. package/dist/node/machine-identity/index.d.mts +85 -0
  189. package/dist/node/machine-identity/index.mjs +3 -0
  190. package/dist/node/transports/index.d.mts +1945 -0
  191. package/dist/node/transports/index.mjs +2 -0
  192. package/dist/orchestrator-shared-CIDiFJMD.mjs +1 -0
  193. package/dist/orchestrator-shared-Dfa7FMyw.d.mts +249 -0
  194. package/dist/package-DKVlsMP3.mjs +1 -0
  195. package/dist/platform-DZ7z-wXD.mjs +1 -0
  196. package/dist/profile-6ynCD5k3.mjs +1 -0
  197. package/dist/provider-context-CK6B4X_8.mjs +1 -0
  198. package/dist/providers/index.d.mts +135 -0
  199. package/dist/providers/index.mjs +1 -0
  200. package/dist/providers-namespace-DSEpli4A.d.mts +583 -0
  201. package/dist/providers-u8i15co9.mjs +1 -0
  202. package/dist/schema-CoyE6mPt.mjs +1 -0
  203. package/dist/schema-M5YTvSAG.d.mts +949 -0
  204. package/dist/schema-e0wU_lcV.mjs +1 -0
  205. package/dist/schema-introspection-Dn1jWQs1.mjs +1 -0
  206. package/dist/schemas-Bd0OjRQf.d.mts +46 -0
  207. package/dist/schemas-C46QfKzv.d.mts +459 -0
  208. package/dist/schemas-CDBSjg7o.d.mts +237 -0
  209. package/dist/schemas-CR1Rripy.mjs +1 -0
  210. package/dist/schemas-CVvwIfG4.mjs +1 -0
  211. package/dist/schemas-CaLhkkLn.mjs +1 -0
  212. package/dist/schemas-ClOOT1W6.d.mts +174 -0
  213. package/dist/schemas-DATniTHb.d.mts +182 -0
  214. package/dist/schemas-DE-GNmSD.mjs +1 -0
  215. package/dist/schemas-DVF1A4DF.d.mts +160 -0
  216. package/dist/schemas-DaRSfYLf.d.mts +73 -0
  217. package/dist/schemas-DiYVzG6e.d.mts +315 -0
  218. package/dist/schemas-hSrzflwZ.mjs +1 -0
  219. package/dist/schemas-j7ivZ2HI.d.mts +944 -0
  220. package/dist/schemas-jFe1AuI-.mjs +1 -0
  221. package/dist/schemas-wg_6PAdV.d.mts +153 -0
  222. package/dist/scoped-bus-04pwo1uM.mjs +1 -0
  223. package/dist/server-lifecycle-FXTPW39-.mjs +1 -0
  224. package/dist/server-lifecycle-YoSGFGnU.d.mts +160 -0
  225. package/dist/service-base/index.d.mts +98 -0
  226. package/dist/service-base/index.mjs +1 -0
  227. package/dist/services/adapter-runtime/index.d.mts +4 -0
  228. package/dist/services/adapter-runtime/index.mjs +1 -0
  229. package/dist/services/adapter-runtime/namespace.d.mts +2 -0
  230. package/dist/services/adapter-runtime/namespace.mjs +1 -0
  231. package/dist/services/adapter-runtime/schemas.d.mts +2 -0
  232. package/dist/services/adapter-runtime/schemas.mjs +1 -0
  233. package/dist/services/adapter-subsystem/index.d.mts +3 -0
  234. package/dist/services/adapter-subsystem/index.mjs +1 -0
  235. package/dist/services/adapter-subsystem/namespace.d.mts +2 -0
  236. package/dist/services/adapter-subsystem/namespace.mjs +1 -0
  237. package/dist/services/agent-runtime/index.d.mts +3 -0
  238. package/dist/services/agent-runtime/index.mjs +1 -0
  239. package/dist/services/agent-runtime/namespace.d.mts +2 -0
  240. package/dist/services/agent-runtime/namespace.mjs +1 -0
  241. package/dist/services/agent-runtime/schemas.d.mts +2 -0
  242. package/dist/services/agent-runtime/schemas.mjs +1 -0
  243. package/dist/services/capability/index.d.mts +2 -0
  244. package/dist/services/capability/index.mjs +1 -0
  245. package/dist/services/cli-detection/namespace.d.mts +56 -0
  246. package/dist/services/cli-detection/namespace.mjs +1 -0
  247. package/dist/services/codebase/index.d.mts +3 -0
  248. package/dist/services/codebase/index.mjs +1 -0
  249. package/dist/services/codebase/namespace.d.mts +2 -0
  250. package/dist/services/codebase/namespace.mjs +1 -0
  251. package/dist/services/codebase/schemas.d.mts +2 -0
  252. package/dist/services/codebase/schemas.mjs +1 -0
  253. package/dist/services/compression/index.d.mts +3 -0
  254. package/dist/services/compression/index.mjs +1 -0
  255. package/dist/services/compression/namespace.d.mts +2 -0
  256. package/dist/services/compression/namespace.mjs +1 -0
  257. package/dist/services/compression/schemas.d.mts +2 -0
  258. package/dist/services/compression/schemas.mjs +1 -0
  259. package/dist/services/context-rules/index.d.mts +412 -0
  260. package/dist/services/context-rules/index.mjs +1 -0
  261. package/dist/services/credential-change/index.d.mts +17 -0
  262. package/dist/services/credential-change/index.mjs +1 -0
  263. package/dist/services/definition/index.d.mts +2 -0
  264. package/dist/services/definition/index.mjs +1 -0
  265. package/dist/services/definition/namespace.d.mts +71 -0
  266. package/dist/services/definition/namespace.mjs +1 -0
  267. package/dist/services/definition/schemas.d.mts +38 -0
  268. package/dist/services/definition/schemas.mjs +1 -0
  269. package/dist/services/dialog/namespace.d.mts +105 -0
  270. package/dist/services/dialog/namespace.mjs +1 -0
  271. package/dist/services/dialog/schemas.d.mts +109 -0
  272. package/dist/services/dialog/schemas.mjs +1 -0
  273. package/dist/services/execution-target/index.d.mts +4 -0
  274. package/dist/services/execution-target/index.mjs +1 -0
  275. package/dist/services/execution-target/namespace.d.mts +2 -0
  276. package/dist/services/execution-target/namespace.mjs +1 -0
  277. package/dist/services/execution-target/schemas.d.mts +2 -0
  278. package/dist/services/execution-target/schemas.mjs +1 -0
  279. package/dist/services/filesystem/index.d.mts +3 -0
  280. package/dist/services/filesystem/index.mjs +1 -0
  281. package/dist/services/filesystem/namespace.d.mts +432 -0
  282. package/dist/services/filesystem/namespace.mjs +1 -0
  283. package/dist/services/filesystem/schemas.d.mts +240 -0
  284. package/dist/services/filesystem/schemas.mjs +1 -0
  285. package/dist/services/git/namespace.d.mts +1163 -0
  286. package/dist/services/git/namespace.mjs +1 -0
  287. package/dist/services/git/schemas.d.mts +932 -0
  288. package/dist/services/git/schemas.mjs +1 -0
  289. package/dist/services/harness/index.d.mts +861 -0
  290. package/dist/services/harness/index.mjs +1 -0
  291. package/dist/services/harness/storage/schema.d.mts +424 -0
  292. package/dist/services/harness/storage/schema.mjs +1 -0
  293. package/dist/services/index.d.mts +6185 -0
  294. package/dist/services/index.mjs +1 -0
  295. package/dist/services/local-notification/index.d.mts +25 -0
  296. package/dist/services/local-notification/index.mjs +1 -0
  297. package/dist/services/local-notification/namespace.d.mts +73 -0
  298. package/dist/services/local-notification/namespace.mjs +1 -0
  299. package/dist/services/local-notification/schemas.d.mts +88 -0
  300. package/dist/services/local-notification/schemas.mjs +1 -0
  301. package/dist/services/log-import/browser.d.mts +3 -0
  302. package/dist/services/log-import/browser.mjs +1 -0
  303. package/dist/services/log-import/index.d.mts +274 -0
  304. package/dist/services/log-import/index.mjs +2 -0
  305. package/dist/services/log-import/log-import.d.mts +3 -0
  306. package/dist/services/log-import/log-import.mjs +1 -0
  307. package/dist/services/log-import/namespace.d.mts +327 -0
  308. package/dist/services/log-import/namespace.mjs +1 -0
  309. package/dist/services/log-import/schemas.d.mts +217 -0
  310. package/dist/services/log-import/schemas.mjs +1 -0
  311. package/dist/services/model-registry/index.d.mts +2 -0
  312. package/dist/services/model-registry/index.mjs +1 -0
  313. package/dist/services/preferences/index.d.mts +3 -0
  314. package/dist/services/preferences/index.mjs +1 -0
  315. package/dist/services/preferences/schemas.d.mts +2 -0
  316. package/dist/services/preferences/schemas.mjs +1 -0
  317. package/dist/services/preferences/storage-namespace.d.mts +3 -0
  318. package/dist/services/preferences/storage-namespace.mjs +1 -0
  319. package/dist/services/provider-context/index.d.mts +2 -0
  320. package/dist/services/provider-context/index.mjs +1 -0
  321. package/dist/services/provider-runtime/index.d.mts +136 -0
  322. package/dist/services/provider-runtime/index.mjs +1 -0
  323. package/dist/services/session/handlers/index.d.mts +2 -0
  324. package/dist/services/session/handlers/index.mjs +1 -0
  325. package/dist/services/session/index.d.mts +10 -0
  326. package/dist/services/session/index.mjs +1 -0
  327. package/dist/services/session/messages/namespace.d.mts +2 -0
  328. package/dist/services/session/messages/namespace.mjs +1 -0
  329. package/dist/services/session/orchestrator-testing/index.d.mts +2 -0
  330. package/dist/services/session/orchestrator-testing/index.mjs +1 -0
  331. package/dist/services/session/session-events/namespace.d.mts +2 -0
  332. package/dist/services/session/session-events/namespace.mjs +1 -0
  333. package/dist/services/session/storage/namespace.d.mts +2 -0
  334. package/dist/services/session/storage/namespace.mjs +1 -0
  335. package/dist/services/session/storage/schema.d.mts +2 -0
  336. package/dist/services/session/storage/schema.mjs +1 -0
  337. package/dist/services/session/testing/index.d.mts +35 -0
  338. package/dist/services/session/testing/index.mjs +65 -0
  339. package/dist/services/session/testing/orchestrator-shared.d.mts +2 -0
  340. package/dist/services/session/testing/orchestrator-shared.mjs +1 -0
  341. package/dist/services/session/turns/namespace.d.mts +2 -0
  342. package/dist/services/session/turns/namespace.mjs +1 -0
  343. package/dist/services/session-editor/index.d.mts +119 -0
  344. package/dist/services/session-editor/index.mjs +1 -0
  345. package/dist/services/settings/index.d.mts +47 -0
  346. package/dist/services/settings/index.mjs +1 -0
  347. package/dist/services/settings/namespace.d.mts +663 -0
  348. package/dist/services/settings/namespace.mjs +1 -0
  349. package/dist/services/settings/storage/clients-namespace.d.mts +2 -0
  350. package/dist/services/settings/storage/clients-namespace.mjs +1 -0
  351. package/dist/services/settings/storage/extension-configs/namespace.d.mts +184 -0
  352. package/dist/services/settings/storage/extension-configs/namespace.mjs +1 -0
  353. package/dist/services/settings/storage/index.d.mts +4 -0
  354. package/dist/services/settings/storage/index.mjs +1 -0
  355. package/dist/services/settings/storage/providers-namespace.d.mts +2 -0
  356. package/dist/services/settings/storage/providers-namespace.mjs +1 -0
  357. package/dist/services/subagent/index.d.mts +2 -0
  358. package/dist/services/subagent/index.mjs +1 -0
  359. package/dist/services/subagent-template/index.d.mts +3 -0
  360. package/dist/services/subagent-template/index.mjs +1 -0
  361. package/dist/services/subagent-template/namespace.d.mts +2 -0
  362. package/dist/services/subagent-template/namespace.mjs +1 -0
  363. package/dist/services/subagent-template/schemas.d.mts +2 -0
  364. package/dist/services/subagent-template/schemas.mjs +1 -0
  365. package/dist/services/tool-approval/index.d.mts +2 -0
  366. package/dist/services/tool-approval/index.mjs +1 -0
  367. package/dist/services/tools/index.d.mts +2 -0
  368. package/dist/services/tools/index.mjs +1 -0
  369. package/dist/services/tray-menu/index.d.mts +4 -0
  370. package/dist/services/tray-menu/index.mjs +1 -0
  371. package/dist/services/tray-menu/namespace.d.mts +2 -0
  372. package/dist/services/tray-menu/namespace.mjs +1 -0
  373. package/dist/services/tray-menu/schemas.d.mts +2 -0
  374. package/dist/services/tray-menu/schemas.mjs +1 -0
  375. package/dist/services/turn/index.d.mts +2 -0
  376. package/dist/services/turn/index.mjs +1 -0
  377. package/dist/services/turn/namespace.d.mts +2 -0
  378. package/dist/services/turn/namespace.mjs +1 -0
  379. package/dist/services/turn/schemas.d.mts +335 -0
  380. package/dist/services/turn/schemas.mjs +1 -0
  381. package/dist/session-BoldSdNZ2.mjs +134 -0
  382. package/dist/session-DuVOYctZ.mjs +1 -0
  383. package/dist/session-lineage-CRsc9g1x.d.mts +65 -0
  384. package/dist/shared-DpOEfD8F.mjs +1 -0
  385. package/dist/shared-schemas-CPShiLNp.mjs +1 -0
  386. package/dist/skill-CQO4mDqK.mjs +1 -0
  387. package/dist/storage/drizzle/client.d.mts +78 -0
  388. package/dist/storage/drizzle/client.mjs +1 -0
  389. package/dist/storage/drizzle/index.d.mts +137 -0
  390. package/dist/storage/drizzle/index.mjs +1 -0
  391. package/dist/storage/handlers/drizzle/index.d.mts +2 -0
  392. package/dist/storage/handlers/drizzle/index.mjs +1 -0
  393. package/dist/storage/handlers/index.d.mts +33 -0
  394. package/dist/storage/handlers/index.mjs +1 -0
  395. package/dist/storage/index.d.mts +192 -0
  396. package/dist/storage/index.mjs +1 -0
  397. package/dist/storage-namespace-BXkoh5Sy.d.mts +221 -0
  398. package/dist/storage-namespace-DWsYLAXa.mjs +1 -0
  399. package/dist/storage-namespace-definition-Bkx5rSto.d.mts +17 -0
  400. package/dist/storage-namespace-definition-CqSdsuCC.mjs +1 -0
  401. package/dist/style.css +3782 -0
  402. package/dist/telemetry-CvdLBWuk.mjs +1 -0
  403. package/dist/testing/drizzle-harness.d.mts +130 -0
  404. package/dist/testing/drizzle-harness.mjs +1 -0
  405. package/dist/testing/index.d.mts +106 -0
  406. package/dist/testing/index.mjs +1 -0
  407. package/dist/timeout-XsYIOKrc.mjs +1 -0
  408. package/dist/tool-approval-service-BvZWhYZp.mjs +1 -0
  409. package/dist/tools/index.d.mts +835 -0
  410. package/dist/tools/index.mjs +1 -0
  411. package/dist/tools/testing/index.d.mts +53 -0
  412. package/dist/tools/testing/index.mjs +1 -0
  413. package/dist/tools-D-luYcDw.mjs +1431 -0
  414. package/dist/tray-menu-service-DuXq5k22.mjs +1 -0
  415. package/dist/types-BCMUtBj1.d.mts +1106 -0
  416. package/dist/types-C2Ob9zz_.d.mts +128 -0
  417. package/dist/types-CCdqjeuH.d.mts +262 -0
  418. package/dist/types-DZHvOc_Q.d.mts +305 -0
  419. package/dist/types-Dy3YTcTF.d.mts +6777 -0
  420. package/dist/types-MfJZ67e9.d.mts +315 -0
  421. package/dist/types-dyP-bXXE.d.mts +31 -0
  422. package/dist/ui-components/index.d.mts +2342 -0
  423. package/dist/ui-components/index.mjs +8 -0
  424. package/dist/ui-config-9bDRwFZr.mjs +1 -0
  425. package/dist/ui-hooks/index.d.mts +1915 -0
  426. package/dist/ui-hooks/index.mjs +1 -0
  427. package/dist/ui-kernel/index.d.mts +2793 -0
  428. package/dist/ui-kernel/index.mjs +1 -0
  429. package/dist/ui-kernel/pages/namespace.d.mts +88 -0
  430. package/dist/ui-kernel/pages/namespace.mjs +1 -0
  431. package/dist/ui-kernel/pages/schemas.d.mts +2 -0
  432. package/dist/ui-kernel/pages/schemas.mjs +1 -0
  433. package/dist/ui-views/index.d.mts +487 -0
  434. package/dist/ui-views/index.mjs +30 -0
  435. package/dist/utils/health-probe.d.mts +26 -0
  436. package/dist/utils/health-probe.mjs +1 -0
  437. package/dist/utils/index.d.mts +262 -0
  438. package/dist/utils/index.mjs +2 -0
  439. package/dist/utils/keychain.d.mts +31 -0
  440. package/dist/utils/keychain.mjs +1 -0
  441. package/dist/utils/project-manifest.d.mts +130 -0
  442. package/dist/utils/project-manifest.mjs +1 -0
  443. package/dist/utils/resolve-package-root.d.mts +12 -0
  444. package/dist/utils/resolve-package-root.mjs +1 -0
  445. package/dist/utils/scope-paths.d.mts +33 -0
  446. package/dist/utils/scope-paths.mjs +1 -0
  447. package/dist/utils/workspace-packages.d.mts +59 -0
  448. package/dist/utils/workspace-packages.mjs +1 -0
  449. package/dist/utils/workspace-root.d.mts +24 -0
  450. package/dist/utils/workspace-root.mjs +2 -0
  451. package/dist/variant-CT6XBP6T.mjs +1 -0
  452. package/dist/version-BeT3ASEe.mjs +1 -0
  453. package/dist/visibility-Cb62p9bv.mjs +1 -0
  454. package/dist/window-registry-CBcrGTv4.d.mts +130 -0
  455. package/dist/window-registry-DW-dKRjQ.mjs +1 -0
  456. package/package.json +1 -1
@@ -0,0 +1,184 @@
1
+ import { z } from "zod";
2
+ import * as _$_makaio_core0 from "@makaio/framework/core";
3
+ import * as _$_makaio_storage_core0 from "@makaio/framework/storage";
4
+
5
+ //#region services/core/src/settings/storage/extension-configs/namespace.d.ts
6
+ /** Extension configuration data model. */
7
+ declare const ExtensionConfigSchema: z.ZodObject<{
8
+ id: z.ZodString;
9
+ extensionName: z.ZodString;
10
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
11
+ scope: z.ZodString;
12
+ enabled: z.ZodBoolean;
13
+ createdAt: z.ZodNumber;
14
+ updatedAt: z.ZodNumber;
15
+ }, z.core.$strip>;
16
+ /** Input schema for extension configuration (omits timestamps). */
17
+ declare const ExtensionConfigInputSchema: z.ZodObject<{
18
+ id: z.ZodString;
19
+ enabled: z.ZodBoolean;
20
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
21
+ extensionName: z.ZodString;
22
+ scope: z.ZodString;
23
+ }, z.core.$strip>;
24
+ /** Query schema for listing extension configs. */
25
+ declare const ExtensionConfigListQuerySchema: z.ZodObject<{
26
+ scope: z.ZodOptional<z.ZodString>;
27
+ projectId: z.ZodOptional<z.ZodString>;
28
+ extensionName: z.ZodOptional<z.ZodString>;
29
+ }, z.core.$strip>;
30
+ /** Input schema for atomic enabled-only updates. */
31
+ declare const ExtensionConfigSetEnabledSchema: z.ZodObject<{
32
+ extensionName: z.ZodString;
33
+ scope: z.ZodString;
34
+ enabled: z.ZodBoolean;
35
+ }, z.core.$strip>;
36
+ /**
37
+ * Storage namespace for extension configurations.
38
+ *
39
+ * Provides CRUD operations for extension-level settings with two-tier scoping.
40
+ * The drizzle schema extension is attached by the host-tier storage wiring,
41
+ * not here — this file defines only the bus contract.
42
+ */
43
+ declare const ExtensionConfigStorageNamespace: _$_makaio_storage_core0.StorageNamespaceDefinition<"extensionConfig", {
44
+ get: {
45
+ request: z.ZodObject<{
46
+ id: z.ZodString;
47
+ }, z.core.$strip>;
48
+ response: z.ZodObject<{
49
+ extensionConfig: z.ZodNullable<z.ZodObject<{
50
+ id: z.ZodString;
51
+ extensionName: z.ZodString;
52
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
53
+ scope: z.ZodString;
54
+ enabled: z.ZodBoolean;
55
+ createdAt: z.ZodNumber;
56
+ updatedAt: z.ZodNumber;
57
+ }, z.core.$strip>>;
58
+ }, z.core.$strip>;
59
+ };
60
+ set: {
61
+ request: z.ZodObject<{
62
+ extensionConfig: z.ZodObject<{
63
+ id: z.ZodString;
64
+ enabled: z.ZodBoolean;
65
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
66
+ extensionName: z.ZodString;
67
+ scope: z.ZodString;
68
+ }, z.core.$strip>;
69
+ }, z.core.$strip>;
70
+ response: z.ZodObject<{
71
+ id: z.ZodString;
72
+ }, z.core.$strip>;
73
+ };
74
+ setEnabled: {
75
+ request: z.ZodObject<{
76
+ extensionName: z.ZodString;
77
+ scope: z.ZodString;
78
+ enabled: z.ZodBoolean;
79
+ }, z.core.$strip>;
80
+ response: z.ZodObject<{
81
+ id: z.ZodString;
82
+ }, z.core.$strip>;
83
+ };
84
+ delete: {
85
+ request: z.ZodObject<{
86
+ id: z.ZodString;
87
+ }, z.core.$strip>;
88
+ response: z.ZodObject<{
89
+ deleted: z.ZodBoolean;
90
+ }, z.core.$strip>;
91
+ };
92
+ list: {
93
+ request: z.ZodObject<{
94
+ scope: z.ZodOptional<z.ZodString>;
95
+ projectId: z.ZodOptional<z.ZodString>;
96
+ extensionName: z.ZodOptional<z.ZodString>;
97
+ }, z.core.$strip>;
98
+ response: z.ZodObject<{
99
+ extensionConfigs: z.ZodArray<z.ZodObject<{
100
+ id: z.ZodString;
101
+ extensionName: z.ZodString;
102
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
103
+ scope: z.ZodString;
104
+ enabled: z.ZodBoolean;
105
+ createdAt: z.ZodNumber;
106
+ updatedAt: z.ZodNumber;
107
+ }, z.core.$strip>>;
108
+ }, z.core.$strip>;
109
+ };
110
+ }, _$_makaio_storage_core0.StorageNamespaceExtensions>;
111
+ declare const ExtensionConfigStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"storage:extensionConfig", {
112
+ get: {
113
+ request: z.ZodObject<{
114
+ id: z.ZodString;
115
+ }, z.core.$strip>;
116
+ response: z.ZodObject<{
117
+ extensionConfig: z.ZodNullable<z.ZodObject<{
118
+ id: z.ZodString;
119
+ extensionName: z.ZodString;
120
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
121
+ scope: z.ZodString;
122
+ enabled: z.ZodBoolean;
123
+ createdAt: z.ZodNumber;
124
+ updatedAt: z.ZodNumber;
125
+ }, z.core.$strip>>;
126
+ }, z.core.$strip>;
127
+ };
128
+ set: {
129
+ request: z.ZodObject<{
130
+ extensionConfig: z.ZodObject<{
131
+ id: z.ZodString;
132
+ enabled: z.ZodBoolean;
133
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
134
+ extensionName: z.ZodString;
135
+ scope: z.ZodString;
136
+ }, z.core.$strip>;
137
+ }, z.core.$strip>;
138
+ response: z.ZodObject<{
139
+ id: z.ZodString;
140
+ }, z.core.$strip>;
141
+ };
142
+ setEnabled: {
143
+ request: z.ZodObject<{
144
+ extensionName: z.ZodString;
145
+ scope: z.ZodString;
146
+ enabled: z.ZodBoolean;
147
+ }, z.core.$strip>;
148
+ response: z.ZodObject<{
149
+ id: z.ZodString;
150
+ }, z.core.$strip>;
151
+ };
152
+ delete: {
153
+ request: z.ZodObject<{
154
+ id: z.ZodString;
155
+ }, z.core.$strip>;
156
+ response: z.ZodObject<{
157
+ deleted: z.ZodBoolean;
158
+ }, z.core.$strip>;
159
+ };
160
+ list: {
161
+ request: z.ZodObject<{
162
+ scope: z.ZodOptional<z.ZodString>;
163
+ projectId: z.ZodOptional<z.ZodString>;
164
+ extensionName: z.ZodOptional<z.ZodString>;
165
+ }, z.core.$strip>;
166
+ response: z.ZodObject<{
167
+ extensionConfigs: z.ZodArray<z.ZodObject<{
168
+ id: z.ZodString;
169
+ extensionName: z.ZodString;
170
+ config: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
171
+ scope: z.ZodString;
172
+ enabled: z.ZodBoolean;
173
+ createdAt: z.ZodNumber;
174
+ updatedAt: z.ZodNumber;
175
+ }, z.core.$strip>>;
176
+ }, z.core.$strip>;
177
+ };
178
+ }>, "storage:extensionConfig">;
179
+ type ExtensionConfig = z.infer<typeof ExtensionConfigSchema>;
180
+ type ExtensionConfigInput = z.infer<typeof ExtensionConfigInputSchema>;
181
+ type ExtensionConfigListQuery = z.infer<typeof ExtensionConfigListQuerySchema>;
182
+ type ExtensionConfigSetEnabledInput = z.infer<typeof ExtensionConfigSetEnabledSchema>;
183
+ //#endregion
184
+ export { ExtensionConfig, ExtensionConfigInput, ExtensionConfigListQuery, ExtensionConfigSetEnabledInput, ExtensionConfigStorageNamespace, ExtensionConfigStorageSubjects };
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";import{createStorageNamespaceDefinition as t}from"@makaio/framework/storage";const n=e.object({id:e.string(),extensionName:e.string(),config:e.record(e.string(),e.unknown()).optional(),scope:e.string(),enabled:e.boolean(),createdAt:e.number(),updatedAt:e.number()}),r=n.omit({createdAt:!0,updatedAt:!0}),i=e.object({scope:e.string().optional(),projectId:e.string().optional(),extensionName:e.string().optional()}).refine(e=>e.scope===void 0||e.projectId===void 0,{message:`Extension config list query accepts either "scope" or deprecated "projectId", not both.`}),a=e.object({extensionName:e.string(),scope:e.string(),enabled:e.boolean()}),o=t(`extensionConfig`,{schemas:{get:{request:e.object({id:e.string()}),response:e.object({extensionConfig:n.nullable()})},set:{request:e.object({extensionConfig:r}),response:e.object({id:e.string()})},setEnabled:{request:a,response:e.object({id:e.string()})},delete:{request:e.object({id:e.string()}),response:e.object({deleted:e.boolean()})},list:{request:i,response:e.object({extensionConfigs:e.array(n)})}}}),s=o.subjects;export{o as ExtensionConfigStorageNamespace,s as ExtensionConfigStorageSubjects};
@@ -0,0 +1,4 @@
1
+ import { i as ClientStorageSubjects, n as ClientRecordSchema, r as ClientStorageNamespace, t as ClientRecord } from "../../../clients-namespace-GmSJpBUV.mjs";
2
+ import { i as ProviderStorageSubjects, n as ProviderRecordSchema, r as ProviderStorageNamespace, t as ProviderRecord } from "../../../providers-namespace-DSEpli4A.mjs";
3
+ import { t as StorageIdRequestSchema } from "../../../index-ChunCFu4.mjs";
4
+ export { ClientRecord, ClientRecordSchema, ClientStorageNamespace, ClientStorageSubjects, ProviderRecord, ProviderRecordSchema, ProviderStorageNamespace, ProviderStorageSubjects, StorageIdRequestSchema };
@@ -0,0 +1 @@
1
+ import{t as e}from"../../../shared-schemas-CPShiLNp.mjs";import{ProviderRecordSchema as t,ProviderStorageNamespace as n,ProviderStorageSubjects as r}from"./providers-namespace.mjs";import{ClientRecordSchema as i,ClientStorageNamespace as a,ClientStorageSubjects as o}from"./clients-namespace.mjs";export{i as ClientRecordSchema,a as ClientStorageNamespace,o as ClientStorageSubjects,t as ProviderRecordSchema,n as ProviderStorageNamespace,r as ProviderStorageSubjects,e as StorageIdRequestSchema};
@@ -0,0 +1,2 @@
1
+ import { i as ProviderStorageSubjects, n as ProviderRecordSchema, r as ProviderStorageNamespace, t as ProviderRecord } from "../../../providers-namespace-DSEpli4A.mjs";
2
+ export { ProviderRecord, ProviderRecordSchema, ProviderStorageNamespace, ProviderStorageSubjects };
@@ -0,0 +1 @@
1
+ import{t as e}from"../../../shared-schemas-CPShiLNp.mjs";import{z as t}from"zod";import{AIModelSchema as n,ModelFilterModeSchema as r,ProtocolEndpointsSchema as i,ProtocolIdSchema as a}from"@makaio/framework/contracts";import{createStorageNamespaceDefinition as o}from"@makaio/framework/storage";const s=t.object({id:t.string(),packageName:t.string(),name:t.string(),description:t.string().optional(),endpoints:i.optional(),defaultModel:t.string().optional(),fastModel:t.string().optional(),availableModels:t.array(n),defaultModelFilterMode:r,credentialEnvVars:t.record(t.string(),t.string()).optional(),enabled:t.boolean(),createdAt:t.number(),updatedAt:t.number()}),c=o(`provider`,{schemas:{get:{request:e,response:t.object({provider:s.nullable()})},list:{request:t.object({}),response:t.object({providers:t.array(s)})},listByProtocol:{request:t.object({protocol:a}),response:t.object({providers:t.array(s)})}}}),l=c.subjects;export{s as ProviderRecordSchema,c as ProviderStorageNamespace,l as ProviderStorageSubjects};
@@ -0,0 +1,2 @@
1
+ import { a as InternalPendingRequest, c as SubagentServiceToken, d as SpawnDelegationAllowSet, f as isPeerAuthorizedToDelegate, i as InputResolver, l as subagentServicePackage, n as TrackOptions, o as SpawnOptions, r as AwaitResult, s as TrackedSubagent, t as SubagentManager, u as SubagentService } from "../../index-BGfWS6GE.mjs";
2
+ export { AwaitResult, InputResolver, InternalPendingRequest, SpawnDelegationAllowSet, SpawnOptions, SubagentManager, SubagentService, SubagentServiceToken, TrackOptions, TrackedSubagent, isPeerAuthorizedToDelegate, subagentServicePackage };
@@ -0,0 +1 @@
1
+ import{a as e,i as t,n,r,t as i}from"../../package-DKVlsMP3.mjs";export{t as SubagentManager,r as SubagentService,i as SubagentServiceToken,e as isPeerAuthorizedToDelegate,n as subagentServicePackage};
@@ -0,0 +1,3 @@
1
+ import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-DiYVzG6e.mjs";
2
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-EQniz-Aw.mjs";
3
+ export { type SubagentTemplate, SubagentTemplateCompletedEventSchema, type SubagentTemplateCreate, SubagentTemplateCreateSchema, type SubagentTemplateInstance, SubagentTemplateInstanceSchema, type SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelNamespace, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, type SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSubjects, type SubagentTemplateSummary, SubagentTemplateSummarySchema, type SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
@@ -0,0 +1 @@
1
+ import{SubagentTemplateCompletedEventSchema as e,SubagentTemplateCreateSchema as t,SubagentTemplateInstanceSchema as n,SubagentTemplateInstanceStatusSchema as r,SubagentTemplateKernelSchemas as i,SubagentTemplateSchema as a,SubagentTemplateSettingsSchemas as o,SubagentTemplateSpawnRequestSchema as s,SubagentTemplateSpawnedEventSchema as c,SubagentTemplateSummarySchema as l,SubagentTemplateUpdateSchema as u}from"./schemas.mjs";import{SubagentTemplateKernelNamespace as d,SubagentTemplateSubjects as f}from"./namespace.mjs";export{e as SubagentTemplateCompletedEventSchema,t as SubagentTemplateCreateSchema,n as SubagentTemplateInstanceSchema,r as SubagentTemplateInstanceStatusSchema,d as SubagentTemplateKernelNamespace,i as SubagentTemplateKernelSchemas,a as SubagentTemplateSchema,o as SubagentTemplateSettingsSchemas,s as SubagentTemplateSpawnRequestSchema,c as SubagentTemplateSpawnedEventSchema,f as SubagentTemplateSubjects,l as SubagentTemplateSummarySchema,u as SubagentTemplateUpdateSchema};
@@ -0,0 +1,2 @@
1
+ import { n as SubagentTemplateSubjects, t as SubagentTemplateKernelNamespace } from "../../namespace-EQniz-Aw.mjs";
2
+ export { SubagentTemplateKernelNamespace, SubagentTemplateSubjects };
@@ -0,0 +1 @@
1
+ import{SubagentTemplateKernelSchemas as e}from"./schemas.mjs";import{createBusNamespace as t}from"@makaio/framework/core";const n=t(`subagentTemplate`,e),r=n.subjects;export{n as SubagentTemplateKernelNamespace,r as SubagentTemplateSubjects};
@@ -0,0 +1,2 @@
1
+ import { _ as SubagentTemplateUpdate, a as SubagentTemplateInstance, c as SubagentTemplateInstanceStatusSchema, d as SubagentTemplateSettingsSchemas, f as SubagentTemplateSpawnRequest, g as SubagentTemplateSummarySchema, h as SubagentTemplateSummary, i as SubagentTemplateCreateSchema, l as SubagentTemplateKernelSchemas, m as SubagentTemplateSpawnedEventSchema, n as SubagentTemplateCompletedEventSchema, o as SubagentTemplateInstanceSchema, p as SubagentTemplateSpawnRequestSchema, r as SubagentTemplateCreate, s as SubagentTemplateInstanceStatus, t as SubagentTemplate, u as SubagentTemplateSchema, v as SubagentTemplateUpdateSchema } from "../../schemas-DiYVzG6e.mjs";
2
+ export { SubagentTemplate, SubagentTemplateCompletedEventSchema, SubagentTemplateCreate, SubagentTemplateCreateSchema, SubagentTemplateInstance, SubagentTemplateInstanceSchema, SubagentTemplateInstanceStatus, SubagentTemplateInstanceStatusSchema, SubagentTemplateKernelSchemas, SubagentTemplateSchema, SubagentTemplateSettingsSchemas, SubagentTemplateSpawnRequest, SubagentTemplateSpawnRequestSchema, SubagentTemplateSpawnedEventSchema, SubagentTemplateSummary, SubagentTemplateSummarySchema, SubagentTemplateUpdate, SubagentTemplateUpdateSchema };
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";import{ContextModeSchema as t}from"@makaio/framework/contracts";const n=e.object({id:e.string(),name:e.string(),adapterName:e.string(),providerConfigId:e.string().optional(),model:e.string().optional(),systemPrompt:e.string().optional(),contextMode:t.default(`fresh`),allowedTools:e.array(e.string()).optional(),disallowedTools:e.array(e.string()).optional(),allowedDirectories:e.array(e.string()).optional(),scope:e.string(),enabled:e.boolean().default(!0),createdAt:e.number(),updatedAt:e.number()}),r=e.object({id:e.string(),name:e.string(),adapterName:e.string(),model:e.string().optional(),enabled:e.boolean()}),i=n.omit({id:!0,scope:!0,createdAt:!0,updatedAt:!0}),a=n.partial().required({id:!0}),o={list:{request:e.object({}),response:e.object({definitions:e.array(r)})},get:{request:e.object({id:e.string().optional(),name:e.string().optional()}),response:n},create:{request:i,response:e.object({id:e.string()})},update:{request:a,response:e.object({success:e.boolean()})},delete:{request:e.object({id:e.string()}),response:e.object({success:e.boolean()})}},s=e.object({instanceId:e.string(),definitionId:e.string(),definitionName:e.string(),subagentId:e.string(),childSessionId:e.string(),status:e.enum([`running`,`waiting_input`,`completed`,`failed`,`cancelled`]),createdAt:e.string()}),c=e.object({subagentTemplateName:e.string().describe(`Name of the SubagentTemplate`),prompt:e.string().describe(`Task for the subagent template`),sessionId:e.string().describe(`Parent session ID`),overrides:e.object({model:e.string().optional(),systemPrompt:e.string().optional(),allowedTools:e.array(e.string()).optional()}).optional().describe(`Runtime overrides for subagent template config`)}),l=e.object({instanceId:e.string(),definitionName:e.string(),subagentId:e.string(),status:e.enum([`running`,`waiting_input`,`completed`,`failed`,`cancelled`]),result:e.string().optional(),error:e.string().optional(),progress:e.array(e.string()).optional()}),u=e.object({instanceId:e.string(),subagentTemplateName:e.string()}),d=e.object({instanceId:e.string(),success:e.boolean(),result:e.string().optional(),error:e.string().optional()}),f={spawn:{request:c,response:e.object({instanceId:e.string()})},get:{request:e.object({instanceId:e.string()}),response:l},send:{request:e.object({instanceId:e.string(),content:e.string()}),response:e.object({sent:e.boolean()})},kill:{request:e.object({instanceId:e.string()}),response:e.object({killed:e.boolean()})},spawned:u,completed:d};export{d as SubagentTemplateCompletedEventSchema,i as SubagentTemplateCreateSchema,s as SubagentTemplateInstanceSchema,l as SubagentTemplateInstanceStatusSchema,f as SubagentTemplateKernelSchemas,n as SubagentTemplateSchema,o as SubagentTemplateSettingsSchemas,c as SubagentTemplateSpawnRequestSchema,u as SubagentTemplateSpawnedEventSchema,r as SubagentTemplateSummarySchema,a as SubagentTemplateUpdateSchema};
@@ -0,0 +1,2 @@
1
+ import { t as ToolApprovalService } from "../../index-BVgfS-AJ.mjs";
2
+ export { ToolApprovalService };
@@ -0,0 +1 @@
1
+ import{t as e}from"../../tool-approval-service-BvZWhYZp.mjs";export{e as ToolApprovalService};
@@ -0,0 +1,2 @@
1
+ import { a as createToolContributionProcessor, c as ToolRegistryOptions, d as ToolsetPolicy, f as ToolsetPolicyProvider, i as extractToolFilePath, l as ToolsWithToolsetsResult, n as FileAccessRuleProvider, o as ToolRegistry, r as FileAccessRules, s as ListToolsFilter, t as FILE_ACCESS_RULES_KEY, u as ToolsetInfo } from "../../index-CLpjm52M.mjs";
2
+ export { FILE_ACCESS_RULES_KEY, FileAccessRuleProvider, FileAccessRules, ListToolsFilter, ToolRegistry, ToolRegistryOptions, ToolsWithToolsetsResult, ToolsetInfo, ToolsetPolicy, ToolsetPolicyProvider, createToolContributionProcessor, extractToolFilePath };
@@ -0,0 +1 @@
1
+ import{B as e,n as t,r as n,t as r}from"../../tools-D-luYcDw.mjs";export{r as FILE_ACCESS_RULES_KEY,e as ToolRegistry,n as createToolContributionProcessor,t as extractToolFilePath};
@@ -0,0 +1,4 @@
1
+ import { t as TrayMenuService } from "../../index-DKia0MX1.mjs";
2
+ import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-ClOOT1W6.mjs";
3
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-BM7Djng9.mjs";
4
+ export { TrayMenuEntry, TrayMenuEntrySchema, TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, TrayMenuItemClicked, TrayMenuItemClickedSchema, TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuNamespace, TrayMenuSchemas, TrayMenuSectionSchema, TrayMenuService, TrayMenuSubjects };
@@ -0,0 +1 @@
1
+ import{TrayMenuEntrySchema as e,TrayMenuGroupEntrySchema as t,TrayMenuGroupSchema as n,TrayMenuItemClickedSchema as r,TrayMenuListEntrySchema as i,TrayMenuMetadataSchema as a,TrayMenuSchemas as o,TrayMenuSectionSchema as s}from"./schemas.mjs";import{TrayMenuNamespace as c,TrayMenuSubjects as l}from"./namespace.mjs";import{t as u}from"../../tray-menu-service-DuXq5k22.mjs";export{e as TrayMenuEntrySchema,t as TrayMenuGroupEntrySchema,n as TrayMenuGroupSchema,r as TrayMenuItemClickedSchema,i as TrayMenuListEntrySchema,a as TrayMenuMetadataSchema,c as TrayMenuNamespace,o as TrayMenuSchemas,s as TrayMenuSectionSchema,u as TrayMenuService,l as TrayMenuSubjects};
@@ -0,0 +1,2 @@
1
+ import { n as TrayMenuSubjects, t as TrayMenuNamespace } from "../../namespace-BM7Djng9.mjs";
2
+ export { TrayMenuNamespace, TrayMenuSubjects };
@@ -0,0 +1 @@
1
+ import{TrayMenuSchemas as e}from"./schemas.mjs";import{createBusNamespace as t}from"@makaio/framework/core";const n=t(`host:tray`,e),r=n.subjects;export{n as TrayMenuNamespace,r as TrayMenuSubjects};
@@ -0,0 +1,2 @@
1
+ import { a as TrayMenuGroupSchema, c as TrayMenuListEntry, d as TrayMenuSchemas, f as TrayMenuSectionSchema, i as TrayMenuGroupEntrySchema, l as TrayMenuListEntrySchema, n as TrayMenuEntrySchema, o as TrayMenuItemClicked, r as TrayMenuGroup, s as TrayMenuItemClickedSchema, t as TrayMenuEntry, u as TrayMenuMetadataSchema } from "../../schemas-ClOOT1W6.mjs";
2
+ export { TrayMenuEntry, TrayMenuEntrySchema, TrayMenuGroup, TrayMenuGroupEntrySchema, TrayMenuGroupSchema, TrayMenuItemClicked, TrayMenuItemClickedSchema, TrayMenuListEntry, TrayMenuListEntrySchema, TrayMenuMetadataSchema, TrayMenuSchemas, TrayMenuSectionSchema };
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";const t=e.enum([`utilities`,`tools`,`views`]),n=e.record(e.string(),e.unknown()),r=e.object({packageName:e.string(),entryId:e.string(),label:e.string(),section:t,priority:e.number().int().default(50),enabled:e.boolean().default(!0),metadata:n.optional()}),i=r.omit({packageName:!0,section:!0}),a=e.object({packageName:e.string(),groupId:e.string(),entries:e.array(i).min(1),section:t,priority:e.number().int().default(50)}),o=r.extend({groupId:e.string().optional()}),s=e.object({packageName:e.string(),entryId:e.string(),groupId:e.string().optional(),metadata:n.optional()}),c={register:{request:e.object({entry:r}),response:e.object({entryId:e.string()})},unregister:{request:e.object({packageName:e.string(),entryId:e.string()}),response:e.object({removed:e.boolean()})},"group.register":{request:e.object({group:a}),response:e.object({groupId:e.string()})},"group.unregister":{request:e.object({packageName:e.string(),groupId:e.string()}),response:e.object({removed:e.boolean()})},"item.clicked":s,changed:e.object({}),list:{request:e.object({}),response:e.object({entries:e.array(o)})}};export{r as TrayMenuEntrySchema,i as TrayMenuGroupEntrySchema,a as TrayMenuGroupSchema,s as TrayMenuItemClickedSchema,o as TrayMenuListEntrySchema,n as TrayMenuMetadataSchema,c as TrayMenuSchemas,t as TrayMenuSectionSchema};
@@ -0,0 +1,2 @@
1
+ import { n as TurnStorageSubjects, t as TurnStorageNamespace } from "../../namespace-DD8Oiqo7.mjs";
2
+ export { TurnStorageNamespace, TurnStorageSubjects };
@@ -0,0 +1 @@
1
+ import{TurnStorageNamespace as e,TurnStorageSubjects as t}from"./namespace.mjs";export{e as TurnStorageNamespace,t as TurnStorageSubjects};
@@ -0,0 +1,2 @@
1
+ import { n as TurnStorageSubjects, t as TurnStorageNamespace } from "../../namespace-DD8Oiqo7.mjs";
2
+ export { TurnStorageNamespace, TurnStorageSubjects };
@@ -0,0 +1 @@
1
+ import{TurnStorageSchemas as e}from"./schemas.mjs";import{createStorageNamespaceDefinition as t}from"@makaio/framework/storage";const n=t(`turn`,{schemas:e}),r=n.subjects;export{n as TurnStorageNamespace,r as TurnStorageSubjects};
@@ -0,0 +1,335 @@
1
+ import { z } from "zod";
2
+
3
+ //#region services/core/src/turn/schemas.d.ts
4
+ /**
5
+ * Zod schemas for all turn storage bus subjects.
6
+ *
7
+ * Each entry becomes a subject identifier as `storage:turn.<key>`.
8
+ */
9
+ declare const TurnStorageSchemas: {
10
+ /**
11
+ * Create a new turn.
12
+ *
13
+ * Subject: `storage:turn.create`
14
+ * Type: Request (RPC)
15
+ */
16
+ create: {
17
+ request: z.ZodObject<{
18
+ sessionId: z.ZodString;
19
+ turnId: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>;
21
+ response: z.ZodObject<{
22
+ turn: z.ZodObject<{
23
+ turnId: z.ZodString;
24
+ sessionId: z.ZodString;
25
+ turnNumber: z.ZodNumber;
26
+ startedAt: z.ZodNumber;
27
+ completedAt: z.ZodOptional<z.ZodNumber>;
28
+ status: z.ZodEnum<{
29
+ error: "error";
30
+ active: "active";
31
+ completed: "completed";
32
+ }>;
33
+ error: z.ZodOptional<z.ZodString>;
34
+ usage: z.ZodOptional<z.ZodObject<{
35
+ total: z.ZodObject<{
36
+ inputTokens: z.ZodNumber;
37
+ outputTokens: z.ZodNumber;
38
+ cost: z.ZodOptional<z.ZodNumber>;
39
+ }, z.core.$strip>;
40
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
41
+ inputTokens: z.ZodNumber;
42
+ outputTokens: z.ZodNumber;
43
+ cost: z.ZodOptional<z.ZodNumber>;
44
+ }, z.core.$strip>>>;
45
+ }, z.core.$strip>>;
46
+ }, z.core.$strip>;
47
+ }, z.core.$strip>;
48
+ };
49
+ /**
50
+ * Complete a turn (mark as completed or error).
51
+ *
52
+ * Subject: `storage:turn.complete`
53
+ * Type: Request (RPC)
54
+ */
55
+ complete: {
56
+ request: z.ZodObject<{
57
+ turnId: z.ZodString;
58
+ status: z.ZodEnum<{
59
+ error: "error";
60
+ completed: "completed";
61
+ }>;
62
+ expectedStatus: z.ZodOptional<z.ZodEnum<{
63
+ error: "error";
64
+ active: "active";
65
+ completed: "completed";
66
+ }>>;
67
+ error: z.ZodOptional<z.ZodString>;
68
+ usage: z.ZodOptional<z.ZodObject<{
69
+ total: z.ZodObject<{
70
+ inputTokens: z.ZodNumber;
71
+ outputTokens: z.ZodNumber;
72
+ cost: z.ZodOptional<z.ZodNumber>;
73
+ }, z.core.$strip>;
74
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
75
+ inputTokens: z.ZodNumber;
76
+ outputTokens: z.ZodNumber;
77
+ cost: z.ZodOptional<z.ZodNumber>;
78
+ }, z.core.$strip>>>;
79
+ }, z.core.$strip>>;
80
+ }, z.core.$strip>;
81
+ response: z.ZodObject<{
82
+ turn: z.ZodObject<{
83
+ turnId: z.ZodString;
84
+ sessionId: z.ZodString;
85
+ turnNumber: z.ZodNumber;
86
+ startedAt: z.ZodNumber;
87
+ completedAt: z.ZodOptional<z.ZodNumber>;
88
+ status: z.ZodEnum<{
89
+ error: "error";
90
+ active: "active";
91
+ completed: "completed";
92
+ }>;
93
+ error: z.ZodOptional<z.ZodString>;
94
+ usage: z.ZodOptional<z.ZodObject<{
95
+ total: z.ZodObject<{
96
+ inputTokens: z.ZodNumber;
97
+ outputTokens: z.ZodNumber;
98
+ cost: z.ZodOptional<z.ZodNumber>;
99
+ }, z.core.$strip>;
100
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
101
+ inputTokens: z.ZodNumber;
102
+ outputTokens: z.ZodNumber;
103
+ cost: z.ZodOptional<z.ZodNumber>;
104
+ }, z.core.$strip>>>;
105
+ }, z.core.$strip>>;
106
+ }, z.core.$strip>;
107
+ transitioned: z.ZodBoolean;
108
+ }, z.core.$strip>;
109
+ };
110
+ /**
111
+ * Store or update a turn with full data.
112
+ *
113
+ * Subject: `storage:turn.set`
114
+ * Type: Request (RPC)
115
+ *
116
+ * Used for imports and backfills that need to preserve timestamps/usage.
117
+ */
118
+ set: {
119
+ request: z.ZodObject<{
120
+ turn: z.ZodObject<{
121
+ turnId: z.ZodString;
122
+ sessionId: z.ZodString;
123
+ turnNumber: z.ZodNumber;
124
+ startedAt: z.ZodNumber;
125
+ completedAt: z.ZodOptional<z.ZodNumber>;
126
+ status: z.ZodEnum<{
127
+ error: "error";
128
+ active: "active";
129
+ completed: "completed";
130
+ }>;
131
+ error: z.ZodOptional<z.ZodString>;
132
+ usage: z.ZodOptional<z.ZodObject<{
133
+ total: z.ZodObject<{
134
+ inputTokens: z.ZodNumber;
135
+ outputTokens: z.ZodNumber;
136
+ cost: z.ZodOptional<z.ZodNumber>;
137
+ }, z.core.$strip>;
138
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
139
+ inputTokens: z.ZodNumber;
140
+ outputTokens: z.ZodNumber;
141
+ cost: z.ZodOptional<z.ZodNumber>;
142
+ }, z.core.$strip>>>;
143
+ }, z.core.$strip>>;
144
+ }, z.core.$strip>;
145
+ }, z.core.$strip>;
146
+ response: z.ZodObject<{
147
+ turn: z.ZodObject<{
148
+ turnId: z.ZodString;
149
+ sessionId: z.ZodString;
150
+ turnNumber: z.ZodNumber;
151
+ startedAt: z.ZodNumber;
152
+ completedAt: z.ZodOptional<z.ZodNumber>;
153
+ status: z.ZodEnum<{
154
+ error: "error";
155
+ active: "active";
156
+ completed: "completed";
157
+ }>;
158
+ error: z.ZodOptional<z.ZodString>;
159
+ usage: z.ZodOptional<z.ZodObject<{
160
+ total: z.ZodObject<{
161
+ inputTokens: z.ZodNumber;
162
+ outputTokens: z.ZodNumber;
163
+ cost: z.ZodOptional<z.ZodNumber>;
164
+ }, z.core.$strip>;
165
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
166
+ inputTokens: z.ZodNumber;
167
+ outputTokens: z.ZodNumber;
168
+ cost: z.ZodOptional<z.ZodNumber>;
169
+ }, z.core.$strip>>>;
170
+ }, z.core.$strip>>;
171
+ }, z.core.$strip>;
172
+ }, z.core.$strip>;
173
+ };
174
+ /**
175
+ * Get a turn by ID.
176
+ *
177
+ * Subject: `storage:turn.get`
178
+ * Type: Request (RPC)
179
+ */
180
+ get: {
181
+ request: z.ZodObject<{
182
+ turnId: z.ZodString;
183
+ }, z.core.$strip>;
184
+ response: z.ZodObject<{
185
+ turn: z.ZodNullable<z.ZodObject<{
186
+ turnId: z.ZodString;
187
+ sessionId: z.ZodString;
188
+ turnNumber: z.ZodNumber;
189
+ startedAt: z.ZodNumber;
190
+ completedAt: z.ZodOptional<z.ZodNumber>;
191
+ status: z.ZodEnum<{
192
+ error: "error";
193
+ active: "active";
194
+ completed: "completed";
195
+ }>;
196
+ error: z.ZodOptional<z.ZodString>;
197
+ usage: z.ZodOptional<z.ZodObject<{
198
+ total: z.ZodObject<{
199
+ inputTokens: z.ZodNumber;
200
+ outputTokens: z.ZodNumber;
201
+ cost: z.ZodOptional<z.ZodNumber>;
202
+ }, z.core.$strip>;
203
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
204
+ inputTokens: z.ZodNumber;
205
+ outputTokens: z.ZodNumber;
206
+ cost: z.ZodOptional<z.ZodNumber>;
207
+ }, z.core.$strip>>>;
208
+ }, z.core.$strip>>;
209
+ }, z.core.$strip>>;
210
+ }, z.core.$strip>;
211
+ };
212
+ /**
213
+ * List turns for a session.
214
+ *
215
+ * Subject: `storage:turn.getBySession`
216
+ * Type: Request (RPC)
217
+ */
218
+ getBySession: {
219
+ request: z.ZodObject<{
220
+ sessionId: z.ZodString;
221
+ limit: z.ZodOptional<z.ZodNumber>;
222
+ status: z.ZodOptional<z.ZodEnum<{
223
+ error: "error";
224
+ active: "active";
225
+ completed: "completed";
226
+ }>>;
227
+ }, z.core.$strip>;
228
+ response: z.ZodObject<{
229
+ turns: z.ZodArray<z.ZodObject<{
230
+ turnId: z.ZodString;
231
+ sessionId: z.ZodString;
232
+ turnNumber: z.ZodNumber;
233
+ startedAt: z.ZodNumber;
234
+ completedAt: z.ZodOptional<z.ZodNumber>;
235
+ status: z.ZodEnum<{
236
+ error: "error";
237
+ active: "active";
238
+ completed: "completed";
239
+ }>;
240
+ error: z.ZodOptional<z.ZodString>;
241
+ usage: z.ZodOptional<z.ZodObject<{
242
+ total: z.ZodObject<{
243
+ inputTokens: z.ZodNumber;
244
+ outputTokens: z.ZodNumber;
245
+ cost: z.ZodOptional<z.ZodNumber>;
246
+ }, z.core.$strip>;
247
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
248
+ inputTokens: z.ZodNumber;
249
+ outputTokens: z.ZodNumber;
250
+ cost: z.ZodOptional<z.ZodNumber>;
251
+ }, z.core.$strip>>>;
252
+ }, z.core.$strip>>;
253
+ }, z.core.$strip>>;
254
+ }, z.core.$strip>;
255
+ };
256
+ /**
257
+ * Get the active turn for a session (if any).
258
+ *
259
+ * Subject: `storage:turn.getActive`
260
+ * Type: Request (RPC)
261
+ */
262
+ getActive: {
263
+ request: z.ZodObject<{
264
+ sessionId: z.ZodString;
265
+ }, z.core.$strip>;
266
+ response: z.ZodObject<{
267
+ turn: z.ZodNullable<z.ZodObject<{
268
+ turnId: z.ZodString;
269
+ sessionId: z.ZodString;
270
+ turnNumber: z.ZodNumber;
271
+ startedAt: z.ZodNumber;
272
+ completedAt: z.ZodOptional<z.ZodNumber>;
273
+ status: z.ZodEnum<{
274
+ error: "error";
275
+ active: "active";
276
+ completed: "completed";
277
+ }>;
278
+ error: z.ZodOptional<z.ZodString>;
279
+ usage: z.ZodOptional<z.ZodObject<{
280
+ total: z.ZodObject<{
281
+ inputTokens: z.ZodNumber;
282
+ outputTokens: z.ZodNumber;
283
+ cost: z.ZodOptional<z.ZodNumber>;
284
+ }, z.core.$strip>;
285
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
286
+ inputTokens: z.ZodNumber;
287
+ outputTokens: z.ZodNumber;
288
+ cost: z.ZodOptional<z.ZodNumber>;
289
+ }, z.core.$strip>>>;
290
+ }, z.core.$strip>>;
291
+ }, z.core.$strip>>;
292
+ }, z.core.$strip>;
293
+ };
294
+ /**
295
+ * List all active turns across all sessions.
296
+ *
297
+ * Used at startup to identify orphaned turns left active after a process crash.
298
+ * No session filter — returns every turn with status `'active'`.
299
+ *
300
+ * Subject: `storage:turn.listActive`
301
+ * Type: Request (RPC)
302
+ */
303
+ listActive: {
304
+ request: z.ZodObject<{}, z.core.$strip>;
305
+ response: z.ZodObject<{
306
+ turns: z.ZodArray<z.ZodObject<{
307
+ turnId: z.ZodString;
308
+ sessionId: z.ZodString;
309
+ turnNumber: z.ZodNumber;
310
+ startedAt: z.ZodNumber;
311
+ completedAt: z.ZodOptional<z.ZodNumber>;
312
+ status: z.ZodEnum<{
313
+ error: "error";
314
+ active: "active";
315
+ completed: "completed";
316
+ }>;
317
+ error: z.ZodOptional<z.ZodString>;
318
+ usage: z.ZodOptional<z.ZodObject<{
319
+ total: z.ZodObject<{
320
+ inputTokens: z.ZodNumber;
321
+ outputTokens: z.ZodNumber;
322
+ cost: z.ZodOptional<z.ZodNumber>;
323
+ }, z.core.$strip>;
324
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
325
+ inputTokens: z.ZodNumber;
326
+ outputTokens: z.ZodNumber;
327
+ cost: z.ZodOptional<z.ZodNumber>;
328
+ }, z.core.$strip>>>;
329
+ }, z.core.$strip>>;
330
+ }, z.core.$strip>>;
331
+ }, z.core.$strip>;
332
+ };
333
+ };
334
+ //#endregion
335
+ export { TurnStorageSchemas };
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";import{TurnSchema as t,TurnStatusSchema as n,TurnUsageSchema as r}from"@makaio/framework/contracts";const i={create:{request:e.object({sessionId:e.string(),turnId:e.string().optional()}),response:e.object({turn:t})},complete:{request:e.object({turnId:e.string(),status:e.enum([`completed`,`error`]),expectedStatus:n.optional(),error:e.string().optional(),usage:r.optional()}),response:e.object({turn:t,transitioned:e.boolean()})},set:{request:e.object({turn:t}),response:e.object({turn:t})},get:{request:e.object({turnId:e.string()}),response:e.object({turn:t.nullable()})},getBySession:{request:e.object({sessionId:e.string(),limit:e.number().int().min(1).optional(),status:n.optional()}),response:e.object({turns:e.array(t)})},getActive:{request:e.object({sessionId:e.string()}),response:e.object({turn:t.nullable()})},listActive:{request:e.object({}),response:e.object({turns:e.array(t)})}};export{i as TurnStorageSchemas};