@makaio/framework 1.0.0-dev-1781382091626 → 1.0.0-dev-1781397017668

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 (378) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{account-identity-CgzOqnVm.mjs → account-identity-D-9gunfD.mjs} +1 -1
  3. package/dist/adapter-D_p5kKxi.mjs +1 -0
  4. package/dist/adapters/config/index.d.mts +1 -1
  5. package/dist/adapters/config/index.mjs +1 -1
  6. package/dist/adapters/index.d.mts +2 -2
  7. package/dist/adapters/index.mjs +1 -1
  8. package/dist/adapters/node.d.mts +1 -1
  9. package/dist/adapters/node.mjs +1 -1
  10. package/dist/bus/index.d.mts +6 -5
  11. package/dist/bus/index.mjs +1 -1
  12. package/dist/canonical-model-BNb0IFWC.mjs +1 -0
  13. package/dist/{client-BBJf1mVA.mjs → client-D24ebgGH.mjs} +1 -1
  14. package/dist/compression-vRUOO-28.mjs +1 -0
  15. package/dist/contracts/adapter/index.d.mts +2 -2
  16. package/dist/contracts/adapter/index.mjs +1 -1
  17. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  18. package/dist/contracts/artifact/index.d.mts +1 -1
  19. package/dist/contracts/canonical-model/index.d.mts +2 -0
  20. package/dist/contracts/canonical-model/index.mjs +1 -0
  21. package/dist/contracts/client/index.d.mts +2 -2
  22. package/dist/contracts/client/index.mjs +1 -1
  23. package/dist/contracts/common/index.d.mts +1 -1
  24. package/dist/contracts/config/index.d.mts +7 -7
  25. package/dist/contracts/config/index.mjs +1 -1
  26. package/dist/contracts/extension/index.d.mts +3 -3
  27. package/dist/contracts/extension/index.mjs +1 -1
  28. package/dist/contracts/facet/index.d.mts +1 -1
  29. package/dist/contracts/facet/index.mjs +1 -1
  30. package/dist/contracts/harness/index.d.mts +1 -1
  31. package/dist/contracts/harness/index.mjs +1 -1
  32. package/dist/contracts/host/index.d.mts +1 -1
  33. package/dist/contracts/host/index.mjs +1 -1
  34. package/dist/contracts/index.d.mts +1117 -1559
  35. package/dist/contracts/index.mjs +1 -1
  36. package/dist/contracts/materialization/index.d.mts +3 -3
  37. package/dist/contracts/materialization/index.mjs +1 -1
  38. package/dist/contracts/model-registry/index.d.mts +1 -1
  39. package/dist/contracts/model-registry/index.mjs +1 -1
  40. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  41. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  42. package/dist/contracts/platform/index.d.mts +1 -1
  43. package/dist/contracts/platform/index.mjs +1 -1
  44. package/dist/contracts/provider/index.d.mts +2 -2
  45. package/dist/contracts/session/index.d.mts +2 -2
  46. package/dist/contracts/session/index.mjs +1 -1
  47. package/dist/contracts/shared/index.d.mts +1 -1
  48. package/dist/contracts/skill/index.d.mts +1 -1
  49. package/dist/contracts/skill/index.mjs +1 -1
  50. package/dist/contracts/telemetry/index.d.mts +1 -1
  51. package/dist/contracts/telemetry/index.mjs +1 -1
  52. package/dist/contracts/timeout/index.d.mts +1 -1
  53. package/dist/contracts/toast/index.mjs +1 -1
  54. package/dist/contracts/variant/index.d.mts +1 -1
  55. package/dist/contracts/variant/index.mjs +1 -1
  56. package/dist/{definition-DWWzV-k0.d.mts → definition-CPc6oKaF.d.mts} +1 -1
  57. package/dist/{detached-extension-handle-Diiwgm13.mjs → detached-extension-handle-BYxNmLfv.mjs} +1 -1
  58. package/dist/{extension-ZBN4BGre.mjs → extension-CTkoi8MV.mjs} +1 -1
  59. package/dist/{extension-DfNcE0zm.mjs → extension-DEUfzXcg.mjs} +1 -1
  60. package/dist/{filesystem-service-BjfrUmGS.mjs → filesystem-service-T8JOIWeP.mjs} +1 -1
  61. package/dist/git/index.mjs +1 -1
  62. package/dist/{globby-BIH65cbN.mjs → globby-Bos1vjKj.mjs} +1 -1
  63. package/dist/{handlers-BAB4fQNH.mjs → handlers-CTrL8wmC.mjs} +2 -2
  64. package/dist/{harness-B8E_wRwa.mjs → harness-HEpELa_v.mjs} +1 -1
  65. package/dist/{index-Bw_zL7Rs.d.mts → index-6QvT0ljq.d.mts} +1 -1
  66. package/dist/{index-BT5tNA3Y.d.mts → index-B3mq3Qjf.d.mts} +1 -1
  67. package/dist/{index-DQppnGdC.d.mts → index-B92SK0rO.d.mts} +5 -5
  68. package/dist/index-B99Prx5a.d.mts +859 -0
  69. package/dist/{index-B1Rz7oUy.d.mts → index-BLqtL-_a.d.mts} +11 -11
  70. package/dist/{index-Dyz7dzLW.d.mts → index-BM_y78ZA2.d.mts} +9 -9
  71. package/dist/{index-CKP_uNGT.d.mts → index-BQ8H7cvY.d.mts} +16 -16
  72. package/dist/{index-C3zfJg6s.d.mts → index-BSFmBEDL.d.mts} +1 -1
  73. package/dist/{index-wP87FKTQ2.d.mts → index-C0TEY7RE.d.mts} +3 -3
  74. package/dist/{index-RUN1iHYu.d.mts → index-C24PcW2r.d.mts} +8 -8
  75. package/dist/{index-Buo9H8RK.d.mts → index-CEdOq5Om.d.mts} +1 -1
  76. package/dist/{index-Abq3I8wg.d.mts → index-CszoKxxO.d.mts} +141 -138
  77. package/dist/{index-COwW_2Gb.d.mts → index-DBgv39-Q.d.mts} +60 -60
  78. package/dist/{index-B2xbnMZe.d.mts → index-DLPjliGd.d.mts} +1 -1
  79. package/dist/{index-BpniJgxu.d.mts → index-DfNIhEm_.d.mts} +16 -16
  80. package/dist/{index-dAjtejnc.d.mts → index-DvETyI0_.d.mts} +1 -1
  81. package/dist/{index-DW8EiMJ9.d.mts → index-NyKdb8kT.d.mts} +28 -28
  82. package/dist/{index-B8tAGwHR.d.mts → index-QvciMc7_.d.mts} +387 -160
  83. package/dist/{index-DlvMtyHK.d.mts → index-WKF5BHsw.d.mts} +8 -8
  84. package/dist/kernel/cli/index.d.mts +2 -2
  85. package/dist/kernel/cli/index.mjs +1 -1
  86. package/dist/kernel/cli/register.d.mts +1 -1
  87. package/dist/kernel/cli/register.mjs +1 -1
  88. package/dist/kernel/cli/schemas.mjs +1 -1
  89. package/dist/kernel/extension/index.d.mts +1 -1
  90. package/dist/kernel/extension/index.mjs +1 -1
  91. package/dist/kernel/index.d.mts +5 -5
  92. package/dist/kernel/index.mjs +1 -1
  93. package/dist/kernel/namespace/index.d.mts +1 -1
  94. package/dist/kernel/namespace/index.mjs +1 -1
  95. package/dist/kernel/observability/index.d.mts +1 -1
  96. package/dist/kernel/observability/index.mjs +1 -1
  97. package/dist/kernel/providers/index.d.mts +1 -1
  98. package/dist/kernel/providers/index.mjs +1 -1
  99. package/dist/kernel/window/index.d.mts +1 -1
  100. package/dist/kernel/window/index.mjs +1 -1
  101. package/dist/{lib-Cq5R6Tx9.mjs → lib-DkLlhp9Z.mjs} +1 -1
  102. package/dist/{lib-nlcl5kRW.mjs → lib-jOuIcSs9.mjs} +1 -1
  103. package/dist/{load-extensions-D9nbDIiW.d.mts → load-extensions-CQqw0Smr.d.mts} +1 -1
  104. package/dist/{load-extensions-wELQ4BBN.mjs → load-extensions-D-DyzN4j.mjs} +1 -1
  105. package/dist/mcp-http-server/index.mjs +1 -1
  106. package/dist/{namespace-BPlAuhc_.d.mts → namespace-B1Bldc48.d.mts} +117 -9
  107. package/dist/{namespace-5BLWcC3Q.d.mts → namespace-BAJTZXWc.d.mts} +42 -42
  108. package/dist/{namespace-Dfq6MDN9.mjs → namespace-BxrHvS5c.mjs} +1 -1
  109. package/dist/namespace-CH_NWUKW.mjs +1 -0
  110. package/dist/{namespace-BSNFeJA4.d.mts → namespace-CN2TfSCY.d.mts} +4 -4
  111. package/dist/{namespace--ROWLToE.d.mts → namespace-C_kaVySz.d.mts} +10 -10
  112. package/dist/{namespace-CHMszppN.d.mts → namespace-D_ZXa76m.d.mts} +26 -26
  113. package/dist/{namespace-Ds6HkJEU.d.mts → namespace-DbvQ4HYc.d.mts} +44 -34
  114. package/dist/{native-session-supervisor-DeKpxhWO.mjs → native-session-supervisor-DbrqcFq9.mjs} +1 -1
  115. package/dist/node/bus-server/index.d.mts +1 -1
  116. package/dist/node/bus-server/index.mjs +1 -1
  117. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  118. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  119. package/dist/{orchestrator-shared-BKFXaKPL.mjs → orchestrator-shared-yFP8e7d5.mjs} +1 -1
  120. package/dist/{package-DzN_jdqd.mjs → package-Bn665ylV.mjs} +1 -1
  121. package/dist/package.json +1 -1
  122. package/dist/primitive-runtime-C2yw4-F8.mjs +1 -0
  123. package/dist/{profile-D39-Zy_W.mjs → profile-r4G32bCH.mjs} +1 -1
  124. package/dist/{provider-context-wp4VSJFI.mjs → provider-context-Ds6GNYnE.mjs} +1 -1
  125. package/dist/rules/index.d.mts +1 -1
  126. package/dist/rules/index.mjs +1 -1
  127. package/dist/rules/schemas.d.mts +1 -1
  128. package/dist/runtime-bun/index.mjs +1 -1
  129. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  130. package/dist/runtime-node/extension-validation.d.mts +1 -1
  131. package/dist/runtime-node/extension-validation.mjs +1 -1
  132. package/dist/runtime-node/index.d.mts +3 -3
  133. package/dist/runtime-node/index.mjs +24 -26
  134. package/dist/runtime-node/makaio-config.d.mts +1 -1
  135. package/dist/runtime-node/makaio-config.mjs +1 -1
  136. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  137. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  138. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  139. package/dist/{schema-C3TgjrsV.mjs → schema-atatXwNg.mjs} +1 -1
  140. package/dist/{schema-cNoxaiT0.d.mts → schema-msWs4YhT.d.mts} +2 -2
  141. package/dist/{schemas-DUE6mc1O.d.mts → schemas-CN9hprME.d.mts} +6 -6
  142. package/dist/schemas-CiMm2zrE.mjs +1 -0
  143. package/dist/{schemas-o2Q24yOF.d.mts → schemas-DMl7IKG-.d.mts} +5 -5
  144. package/dist/{schemas-DsyYsfVN2.d.mts → schemas-DRZJK6hW2.d.mts} +12 -12
  145. package/dist/{schemas-on3_N5HP.d.mts → schemas-xoTn8JZb.d.mts} +44 -34
  146. package/dist/services/adapter-runtime/index.d.mts +3 -3
  147. package/dist/services/adapter-runtime/index.mjs +1 -1
  148. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  149. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  150. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  151. package/dist/services/adapter-subsystem/index.mjs +1 -1
  152. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  153. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  154. package/dist/services/agent-runtime/index.d.mts +2 -2
  155. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  156. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  157. package/dist/services/capability/index.d.mts +1 -1
  158. package/dist/services/capability/index.mjs +1 -1
  159. package/dist/services/codebase/index.d.mts +2 -2
  160. package/dist/services/codebase/namespace.d.mts +1 -1
  161. package/dist/services/codebase/schemas.d.mts +1 -1
  162. package/dist/services/compression/index.d.mts +2 -2
  163. package/dist/services/compression/namespace.d.mts +1 -1
  164. package/dist/services/compression/schemas.d.mts +1 -1
  165. package/dist/services/context-rules/index.d.mts +12 -12
  166. package/dist/services/context-rules/index.mjs +1 -1
  167. package/dist/services/execution-target/index.d.mts +3 -3
  168. package/dist/services/execution-target/index.mjs +1 -1
  169. package/dist/services/execution-target/namespace.d.mts +1 -1
  170. package/dist/services/execution-target/schemas.d.mts +1 -1
  171. package/dist/services/filesystem/index.d.mts +1 -1
  172. package/dist/services/filesystem/index.mjs +1 -1
  173. package/dist/services/filesystem/namespace.d.mts +6 -6
  174. package/dist/services/filesystem/schemas.d.mts +3 -3
  175. package/dist/services/git/namespace.mjs +1 -1
  176. package/dist/services/git/schemas.mjs +1 -1
  177. package/dist/services/harness/index.d.mts +3 -3
  178. package/dist/services/harness/index.mjs +1 -1
  179. package/dist/services/index.d.mts +84 -79
  180. package/dist/services/index.mjs +1 -1
  181. package/dist/services/log-import/browser.d.mts +2 -2
  182. package/dist/services/log-import/index.d.mts +2 -2
  183. package/dist/services/log-import/log-import.d.mts +1 -1
  184. package/dist/services/log-import/log-import.mjs +1 -1
  185. package/dist/services/log-import/namespace.d.mts +2 -2
  186. package/dist/services/log-import/namespace.mjs +1 -1
  187. package/dist/services/log-import/schemas.d.mts +1 -1
  188. package/dist/services/log-import/schemas.mjs +1 -1
  189. package/dist/services/model-registry/index.d.mts +1 -1
  190. package/dist/services/model-registry/index.mjs +1 -1
  191. package/dist/services/preferences/index.d.mts +2 -2
  192. package/dist/services/preferences/schemas.d.mts +1 -1
  193. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  194. package/dist/services/provider-context/index.d.mts +1 -1
  195. package/dist/services/provider-context/index.mjs +1 -1
  196. package/dist/services/provider-runtime/index.mjs +1 -1
  197. package/dist/services/session/handlers/index.d.mts +1 -1
  198. package/dist/services/session/handlers/index.mjs +1 -1
  199. package/dist/services/session/index.d.mts +9 -9
  200. package/dist/services/session/index.mjs +1 -1
  201. package/dist/services/session/messages/namespace.d.mts +1 -1
  202. package/dist/services/session/messages/namespace.mjs +1 -1
  203. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  204. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  205. package/dist/services/session/session-events/namespace.d.mts +1 -1
  206. package/dist/services/session/session-events/namespace.mjs +1 -1
  207. package/dist/services/session/storage/namespace.d.mts +1 -1
  208. package/dist/services/session/storage/schema.d.mts +1 -1
  209. package/dist/services/session/testing/index.mjs +1 -1
  210. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  211. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  212. package/dist/services/session/turns/namespace.d.mts +1 -1
  213. package/dist/services/session/turns/namespace.mjs +1 -1
  214. package/dist/services/session-editor/index.d.mts +1 -1
  215. package/dist/services/session-editor/index.mjs +1 -1
  216. package/dist/services/settings/index.d.mts +3 -3
  217. package/dist/services/settings/index.mjs +1 -1
  218. package/dist/services/settings/namespace.d.mts +12 -12
  219. package/dist/services/settings/namespace.mjs +1 -1
  220. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  221. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  222. package/dist/services/settings/storage/index.d.mts +3 -3
  223. package/dist/services/settings/storage/index.mjs +1 -1
  224. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  225. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  226. package/dist/services/subagent/index.d.mts +1 -1
  227. package/dist/services/subagent/index.mjs +1 -1
  228. package/dist/services/subagent-template/index.d.mts +2 -2
  229. package/dist/services/subagent-template/namespace.d.mts +1 -1
  230. package/dist/services/subagent-template/schemas.d.mts +1 -1
  231. package/dist/services/tool-approval/index.d.mts +1 -1
  232. package/dist/services/tool-approval/index.mjs +1 -1
  233. package/dist/services/tools/index.d.mts +1 -1
  234. package/dist/services/tools/index.mjs +1 -1
  235. package/dist/services/tray-menu/index.d.mts +3 -3
  236. package/dist/services/tray-menu/index.mjs +1 -1
  237. package/dist/services/tray-menu/namespace.d.mts +1 -1
  238. package/dist/services/tray-menu/schemas.d.mts +1 -1
  239. package/dist/services/turn/index.d.mts +1 -1
  240. package/dist/services/turn/namespace.d.mts +1 -1
  241. package/dist/{session-P4nX60Xx.mjs → session-Me3XO-l9.mjs} +2 -2
  242. package/dist/session-bKk-XeaY.mjs +1 -0
  243. package/dist/{skill-BNQnWVIG.mjs → skill-B_VlGon5.mjs} +1 -1
  244. package/dist/{src-CBG3IHUl.mjs → src-6n-8M8EU.mjs} +1 -1
  245. package/dist/storage/drizzle/client.d.mts +1 -1
  246. package/dist/storage/drizzle/client.mjs +1 -1
  247. package/dist/storage/drizzle/index.d.mts +1 -1
  248. package/dist/storage/drizzle/index.mjs +1 -1
  249. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  250. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  251. package/dist/storage/handlers/index.d.mts +1 -1
  252. package/dist/storage/handlers/index.mjs +1 -1
  253. package/dist/{tool-approval-service-DNHV5x0M.mjs → tool-approval-service-C2xXBtdJ.mjs} +1 -1
  254. package/dist/{tools-CQImrHAp.mjs → tools-DEUzCPBB.mjs} +1 -1
  255. package/dist/{types-BtsKrzK7.d.mts → types-4LKM7ZfA.d.mts} +200 -81
  256. package/dist/{types-D5IMwOkJ.d.mts → types-BB8iIAjZ.d.mts} +1 -1
  257. package/dist/ui-kernel/index.d.mts +1 -1
  258. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  259. package/dist/{version-B4NO_fID.mjs → version-SYP_DX4M.mjs} +1 -1
  260. package/dist/workflow-engine/index.d.mts +57 -57
  261. package/dist/workflow-engine/index.mjs +1 -1
  262. package/dist/workflow-engine/package.d.mts +1 -1
  263. package/dist/workflow-engine/package.mjs +1 -1
  264. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  265. package/dist/{workflow-worker-CK9Sqj7D.mjs → workflow-worker-CjuRYLmJ.mjs} +1 -1
  266. package/package.json +5 -1
  267. package/dist/adapter-UpcpZDOv.mjs +0 -1
  268. package/dist/namespace-BXqetkc3.mjs +0 -1
  269. package/dist/primitive-runtime-CNC_bSac.mjs +0 -1
  270. package/dist/schemas-CuKayWhA.mjs +0 -1
  271. package/dist/session-BwX5_k47.mjs +0 -1
  272. /package/dist/{ajv-BA2z5ztb.mjs → ajv-Cx19PP7Q.mjs} +0 -0
  273. /package/dist/{await-trigger-DREnXCEJ.mjs → await-trigger-uKEHY8E4.mjs} +0 -0
  274. /package/dist/{base-orchestrator-M5mAB5-w.d.mts → base-orchestrator-BRq4MXa7.d.mts} +0 -0
  275. /package/dist/{capability-service-jjrFLM6r.mjs → capability-service-CHl8rrwb.mjs} +0 -0
  276. /package/dist/{cleanEnvForAdapter-vZfPGi0X.mjs → cleanEnvForAdapter-D32WnVuy.mjs} +0 -0
  277. /package/dist/{client-BJVDImPV.d.mts → client-D2ZftNb6.d.mts} +0 -0
  278. /package/dist/{clients-namespace-SFk7OTop.d.mts → clients-namespace-CeAB0t06.d.mts} +0 -0
  279. /package/dist/{config-namespace-DydHz9so.mjs → config-namespace-DW5KHKPW.mjs} +0 -0
  280. /package/dist/{config-namespace-BzAvE2nY.d.mts → config-namespace-DloU-hNB.d.mts} +0 -0
  281. /package/dist/{create-static-mount-BB1MIQ9J.mjs → create-static-mount-Bi0VpYS8.mjs} +0 -0
  282. /package/dist/{cross-spawn-BL6EvJBv.mjs → cross-spawn-C58yEvsS.mjs} +0 -0
  283. /package/dist/{cursor-storage-CmKjSvKY.mjs → cursor-storage-CpuT5POU.mjs} +0 -0
  284. /package/dist/{definition-BSghHJpQ.d.mts → definition-BdxbXbrq.d.mts} +0 -0
  285. /package/dist/{definition-q6iLw11H.d.mts → definition-BwLJnqEo.d.mts} +0 -0
  286. /package/dist/{descriptor-to-package-CY8oc2gl.mjs → descriptor-to-package-D-FNxohm.mjs} +0 -0
  287. /package/dist/{drizzle-wjquQK2m.mjs → drizzle-D7dkDEB5.mjs} +0 -0
  288. /package/dist/{esm-CQVFKEW5.mjs → esm-CP2zvvlx.mjs} +0 -0
  289. /package/dist/{event-BEllCn16.mjs → event-DaXakaHo.mjs} +0 -0
  290. /package/dist/{execution-target-CQGYaaM2.mjs → execution-target-Da6Vjvba.mjs} +0 -0
  291. /package/dist/{extension-discovery-CkV_VRdJ.d.mts → extension-discovery-Bv5FDtrM.d.mts} +0 -0
  292. /package/dist/{extension-namespace-BBgYOttA.mjs → extension-namespace-O3sKdnY9.mjs} +0 -0
  293. /package/dist/{facet-DMrryX_0.mjs → facet-Q_vgXb23.mjs} +0 -0
  294. /package/dist/{filesystem-service-Ddngll0j.d.mts → filesystem-service-89fN-2Dd.d.mts} +0 -0
  295. /package/dist/{handler-DqpiV9eA.mjs → handler-BIA3ld4C.mjs} +0 -0
  296. /package/dist/{host-DbMiI5wQ.mjs → host-DFqmG2qO.mjs} +0 -0
  297. /package/dist/{identity-Bmx-8fPa.mjs → identity-CA5MzB19.mjs} +0 -0
  298. /package/dist/{index-Dsq2zKvu.d.mts → index-BE-yMFTz.d.mts} +0 -0
  299. /package/dist/{index-CDU_s69P.d.mts → index-BUilJdHr.d.mts} +0 -0
  300. /package/dist/{index-C33Tq1ei2.d.mts → index-BVhnqzDC2.d.mts} +0 -0
  301. /package/dist/{index-Cz9JMjZK.d.mts → index-BeNVLvtk2.d.mts} +0 -0
  302. /package/dist/{index-D0SUjZmU.d.mts → index-BplsE3qw.d.mts} +0 -0
  303. /package/dist/{index-C6BhKRnH.d.mts → index-BtL_9HBk.d.mts} +0 -0
  304. /package/dist/{index-Bsp0O_sI.d.mts → index-CBTp2XuF.d.mts} +0 -0
  305. /package/dist/{index-BMpRB6iE.d.mts → index-CYZqADXY2.d.mts} +0 -0
  306. /package/dist/{index-DSV1aFgK.d.mts → index-CfpfkKih.d.mts} +0 -0
  307. /package/dist/{index-BxFA1XcP.d.mts → index-CkPIPbx9.d.mts} +0 -0
  308. /package/dist/{index-DOfq0qqv.d.mts → index-D0RWuwl5.d.mts} +0 -0
  309. /package/dist/{index-CGJjA-hR2.d.mts → index-DHHKwLww.d.mts} +0 -0
  310. /package/dist/{index-zgm2j9V92.d.mts → index-DJSffYTW2.d.mts} +0 -0
  311. /package/dist/{index-BpXX9WZJ.d.mts → index-DNmENr9M.d.mts} +0 -0
  312. /package/dist/{index-9IDJUJ4X.d.mts → index-DVgKfgh1.d.mts} +0 -0
  313. /package/dist/{index-D6Iyvz9T.d.mts → index-DWqSqcpW.d.mts} +0 -0
  314. /package/dist/{index-BBvcP-P0.d.mts → index-DdCyeZ59.d.mts} +0 -0
  315. /package/dist/{index-EsXVjKsv.d.mts → index-GuspCNLR.d.mts} +0 -0
  316. /package/dist/{index-Drz_a7kW.d.mts → index-cFuQpzIm.d.mts} +0 -0
  317. /package/dist/{index-BnQSPC6c.d.mts → index-kOSSuOcK.d.mts} +0 -0
  318. /package/dist/{index-BbCjtc3h.d.mts → index-orAkFukT.d.mts} +0 -0
  319. /package/dist/{jsonl-transport-C21tpVfe.mjs → jsonl-transport-Bb8ltqOe.mjs} +0 -0
  320. /package/dist/{lib-CNOQJtgs.mjs → lib-BmcGxHXH.mjs} +0 -0
  321. /package/dist/{materialization-3QUnQLbC.mjs → materialization-DsPIGQP1.mjs} +0 -0
  322. /package/dist/{model-registry-B0AIdj7O.mjs → model-registry-DLeMw3l8.mjs} +0 -0
  323. /package/dist/{model-registry-j-rCKcik.mjs → model-registry-DQDclqdw.mjs} +0 -0
  324. /package/dist/{namespace--s0d86h-.d.mts → namespace-2G7A4Sza.d.mts} +0 -0
  325. /package/dist/{namespace-BBVtD1gu.d.mts → namespace-CEqkI6Zu.d.mts} +0 -0
  326. /package/dist/{namespace-BbjCyZC9.mjs → namespace-CN-Llu7H.mjs} +0 -0
  327. /package/dist/{namespace-aJJfBJU5.d.mts → namespace-DKnJL0Ja.d.mts} +0 -0
  328. /package/dist/{namespace-XTGCaSXj.d.mts → namespace-DMhz3yvr.d.mts} +0 -0
  329. /package/dist/{namespace-DzVf1hVH.d.mts → namespace-DcUwOJ4f.d.mts} +0 -0
  330. /package/dist/{namespace-B60mn8J-2.d.mts → namespace-Dr1wDUZA2.d.mts} +0 -0
  331. /package/dist/{namespace-BgPoC46Q.mjs → namespace-DrpHLJAy.mjs} +0 -0
  332. /package/dist/{namespace-ENv7H7Na.mjs → namespace-FJsnoEQy.mjs} +0 -0
  333. /package/dist/{namespace-D6X67cUk.mjs → namespace-UUw-S7ia.mjs} +0 -0
  334. /package/dist/{namespace-uuR0Fg5r.d.mts → namespace-nQS4XwnT.d.mts} +0 -0
  335. /package/dist/{namespace-nlsvvMtD.d.mts → namespace-q5dD3acO.d.mts} +0 -0
  336. /package/dist/{namespace-FT8igkn4.mjs → namespace-uGUGfpGQ.mjs} +0 -0
  337. /package/dist/{namespace-CUOGcGPG.mjs → namespace-zWB-ULrX.mjs} +0 -0
  338. /package/dist/{orchestrator-shared-D91Wk7z-.d.mts → orchestrator-shared-CbS4ueeq.d.mts} +0 -0
  339. /package/dist/{out-C1JFb2Bp.mjs → out-BUHr98Xe.mjs} +0 -0
  340. /package/dist/{package--RZnpN2J.d.mts → package-BEbo1-6S.d.mts} +0 -0
  341. /package/dist/{package-BzJvtM5O.mjs → package-YQeRE8bV.mjs} +0 -0
  342. /package/dist/{platform-Dhv22LiX.mjs → platform-CsO-MRJP.mjs} +0 -0
  343. /package/dist/{providers-B1p0P-vB.mjs → providers-FEZT2bQG.mjs} +0 -0
  344. /package/dist/{providers-namespace-BqWYkydw.d.mts → providers-namespace-DMUyEbmp.d.mts} +0 -0
  345. /package/dist/{quick-lru-B9nWXbXI.mjs → quick-lru-C7AXdpbU.mjs} +0 -0
  346. /package/dist/{registry-RG-bkw3c.mjs → registry-udUhXSIC.mjs} +0 -0
  347. /package/dist/{schema-CzhOc7TV.mjs → schema-Ba64XQjo.mjs} +0 -0
  348. /package/dist/{schema-introspection-CuRZPYEc.mjs → schema-introspection-D5FaI5B_.mjs} +0 -0
  349. /package/dist/{schemas-BCIuTWRl2.mjs → schemas-5kegIs9D.mjs} +0 -0
  350. /package/dist/{schemas-B77Gi8Xr.d.mts → schemas-9Ifo5zSf.d.mts} +0 -0
  351. /package/dist/{schemas-BdAf5u58.mjs → schemas-9QC3nvYP.mjs} +0 -0
  352. /package/dist/{schemas-Dyk7JuVl.d.mts → schemas-BSAKbVyd.d.mts} +0 -0
  353. /package/dist/{schemas-Kq33MTPY.d.mts → schemas-BxI5Yq8d.d.mts} +0 -0
  354. /package/dist/{schemas-Chyj6HuZ.d.mts → schemas-CRS7tkFP.d.mts} +0 -0
  355. /package/dist/{schemas-B5ToLwIs.d.mts → schemas-Cae5dubB.d.mts} +0 -0
  356. /package/dist/{schemas-hSrzflwZ.mjs → schemas-DAYPhB5K.mjs} +0 -0
  357. /package/dist/{schemas-DZUaRcYl.d.mts → schemas-DZfBym73.d.mts} +0 -0
  358. /package/dist/{schemas-C792eVAZ.d.mts → schemas-DznsZ0bq.d.mts} +0 -0
  359. /package/dist/{semver-DhHJv6Dt.mjs → semver-ClOD8k8c.mjs} +0 -0
  360. /package/dist/{server-lifecycle-47mygK3E.d.mts → server-lifecycle-5iHxcgBO.d.mts} +0 -0
  361. /package/dist/{server-lifecycle-Cg47L59Q.mjs → server-lifecycle-CFQaPTf7.mjs} +0 -0
  362. /package/dist/{session-lineage-CKg6mErA.d.mts → session-lineage-DFkJgYt5.d.mts} +0 -0
  363. /package/dist/{shared-schemas-DYL7a-No.mjs → shared-schemas-jG3EtHZT.mjs} +0 -0
  364. /package/dist/{src-DedDL9iv.mjs → src-CRDOZl7K.mjs} +0 -0
  365. /package/dist/{storage-namespace-BXO3lDVy.mjs → storage-namespace-C1JVmZF1.mjs} +0 -0
  366. /package/dist/{storage-namespace-definition-C3XbpiP8.d.mts → storage-namespace-definition-BPYSLTfN.d.mts} +0 -0
  367. /package/dist/{storage-namespace-definition-RvjfFysN.mjs → storage-namespace-definition-Df8S3E3r.mjs} +0 -0
  368. /package/dist/{storage-namespace-BXmMUd7a.d.mts → storage-namespace-gey7EUhM.d.mts} +0 -0
  369. /package/dist/{supports-color-fVsgozsi.mjs → supports-color-AnssSSH9.mjs} +0 -0
  370. /package/dist/{telemetry-O0394b7p.mjs → telemetry-DdbvlZ8s.mjs} +0 -0
  371. /package/dist/{tray-menu-service-B5YPK_YF.mjs → tray-menu-service-am356993.mjs} +0 -0
  372. /package/dist/{types-D-bP8RRE.d.mts → types-Bj7cOrBQ.d.mts} +0 -0
  373. /package/dist/{types-D6jnDjP2.d.mts → types-D-GeeSdd.d.mts} +0 -0
  374. /package/dist/{types-5Gw3iVpK.d.mts → types-DhlQpVEb.d.mts} +0 -0
  375. /package/dist/{types-B0BtvVAq.d.mts → types-xLd-e0wf.d.mts} +0 -0
  376. /package/dist/{variant-COVbYmMs.mjs → variant-BdNN5edM.mjs} +0 -0
  377. /package/dist/{window-registry-CfEi_Ji4.d.mts → window-registry-CA6AC8n7.d.mts} +0 -0
  378. /package/dist/{window-registry-XjOExitT.mjs → window-registry-LRjWPwr4.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { s as MessageBlock$1 } from "./index-BT5tNA3Y.mjs";
1
+ import { s as MessageBlock$1 } from "./index-B3mq3Qjf.mjs";
2
2
  import * as _$zod from "zod";
3
3
  import { z } from "zod";
4
4
  import * as _$_makaio_contracts0 from "@makaio/framework/contracts";
@@ -22,9 +22,9 @@ declare const SessionCreateBaseSchema: z.ZodObject<{
22
22
  forkPointMessageId: z.ZodOptional<z.ZodString>;
23
23
  branchKind: z.ZodOptional<z.ZodEnum<{
24
24
  fork: "fork";
25
- branch: "branch";
26
25
  subagent: "subagent";
27
26
  compress: "compress";
27
+ branch: "branch";
28
28
  rewrite: "rewrite";
29
29
  coordinator: "coordinator";
30
30
  aside: "aside";
@@ -158,8 +158,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
158
158
  status: z.ZodEnum<{
159
159
  active: "active";
160
160
  archived: "archived";
161
- closed: "closed";
162
161
  discovered: "discovered";
162
+ closed: "closed";
163
163
  }>;
164
164
  leadAgentId: z.ZodOptional<z.ZodString>;
165
165
  parentSessionId: z.ZodOptional<z.ZodString>;
@@ -171,9 +171,9 @@ declare const MakaioSessionSchema: z.ZodObject<{
171
171
  forkPointMessageId: z.ZodOptional<z.ZodString>;
172
172
  branchKind: z.ZodOptional<z.ZodEnum<{
173
173
  fork: "fork";
174
- branch: "branch";
175
174
  subagent: "subagent";
176
175
  compress: "compress";
176
+ branch: "branch";
177
177
  rewrite: "rewrite";
178
178
  coordinator: "coordinator";
179
179
  aside: "aside";
@@ -283,8 +283,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
283
283
  status: z.ZodEnum<{
284
284
  active: "active";
285
285
  archived: "archived";
286
- closed: "closed";
287
286
  discovered: "discovered";
287
+ closed: "closed";
288
288
  }>;
289
289
  leadAgentId: z.ZodOptional<z.ZodString>;
290
290
  parentSessionId: z.ZodOptional<z.ZodString>;
@@ -296,9 +296,9 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
296
296
  forkPointMessageId: z.ZodOptional<z.ZodString>;
297
297
  branchKind: z.ZodOptional<z.ZodEnum<{
298
298
  fork: "fork";
299
- branch: "branch";
300
299
  subagent: "subagent";
301
300
  compress: "compress";
301
+ branch: "branch";
302
302
  rewrite: "rewrite";
303
303
  coordinator: "coordinator";
304
304
  aside: "aside";
@@ -482,8 +482,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
482
482
  status: z.ZodEnum<{
483
483
  active: "active";
484
484
  archived: "archived";
485
- closed: "closed";
486
485
  discovered: "discovered";
486
+ closed: "closed";
487
487
  }>;
488
488
  leadAgentId: z.ZodOptional<z.ZodString>;
489
489
  parentSessionId: z.ZodOptional<z.ZodString>;
@@ -495,9 +495,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
495
495
  forkPointMessageId: z.ZodOptional<z.ZodString>;
496
496
  branchKind: z.ZodOptional<z.ZodEnum<{
497
497
  fork: "fork";
498
- branch: "branch";
499
498
  subagent: "subagent";
500
499
  compress: "compress";
500
+ branch: "branch";
501
501
  rewrite: "rewrite";
502
502
  coordinator: "coordinator";
503
503
  aside: "aside";
@@ -928,6 +928,18 @@ declare const SessionSnapshotSchema: z.ZodObject<{
928
928
  turnNumber: z.ZodNumber;
929
929
  success: z.ZodBoolean;
930
930
  error: z.ZodOptional<z.ZodString>;
931
+ usage: z.ZodOptional<z.ZodObject<{
932
+ total: z.ZodObject<{
933
+ inputTokens: z.ZodNumber;
934
+ outputTokens: z.ZodNumber;
935
+ cost: z.ZodOptional<z.ZodNumber>;
936
+ }, z.core.$strip>;
937
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
938
+ inputTokens: z.ZodNumber;
939
+ outputTokens: z.ZodNumber;
940
+ cost: z.ZodOptional<z.ZodNumber>;
941
+ }, z.core.$strip>>>;
942
+ }, z.core.$strip>>;
931
943
  initiator: z.ZodOptional<z.ZodObject<{
932
944
  source: z.ZodEnum<{
933
945
  user: "user";
@@ -960,9 +972,9 @@ declare const SessionSnapshotSchema: z.ZodObject<{
960
972
  parentSessionId: z.ZodString;
961
973
  kind: z.ZodEnum<{
962
974
  fork: "fork";
963
- branch: "branch";
964
975
  subagent: "subagent";
965
976
  compress: "compress";
977
+ branch: "branch";
966
978
  rewrite: "rewrite";
967
979
  coordinator: "coordinator";
968
980
  aside: "aside";
@@ -1044,9 +1056,9 @@ type AgentRole = z.infer<typeof AgentRoleSchema>;
1044
1056
  */
1045
1057
  declare const BranchKindSchema: z.ZodEnum<{
1046
1058
  fork: "fork";
1047
- branch: "branch";
1048
1059
  subagent: "subagent";
1049
1060
  compress: "compress";
1061
+ branch: "branch";
1050
1062
  rewrite: "rewrite";
1051
1063
  coordinator: "coordinator";
1052
1064
  aside: "aside";
@@ -1556,9 +1568,9 @@ declare const OrchestratorSchemas: {
1556
1568
  description: z.ZodOptional<z.ZodString>;
1557
1569
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1558
1570
  exposureMode: z.ZodEnum<{
1559
- direct: "direct";
1560
- discovery: "discovery";
1561
1571
  hidden: "hidden";
1572
+ discovery: "discovery";
1573
+ direct: "direct";
1562
1574
  }>;
1563
1575
  enabled: z.ZodBoolean;
1564
1576
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1604,8 +1616,8 @@ declare const OrchestratorSchemas: {
1604
1616
  type: z.ZodLiteral<"http">;
1605
1617
  }, z.core.$strip>], "type">;
1606
1618
  exposureMode: z.ZodEnum<{
1607
- direct: "direct";
1608
1619
  discovery: "discovery";
1620
+ direct: "direct";
1609
1621
  }>;
1610
1622
  }, z.core.$strip>>;
1611
1623
  discoverableTools: z.ZodArray<z.ZodObject<{
@@ -1615,9 +1627,9 @@ declare const OrchestratorSchemas: {
1615
1627
  description: z.ZodOptional<z.ZodString>;
1616
1628
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1617
1629
  exposureMode: z.ZodEnum<{
1618
- direct: "direct";
1619
- discovery: "discovery";
1620
1630
  hidden: "hidden";
1631
+ discovery: "discovery";
1632
+ direct: "direct";
1621
1633
  }>;
1622
1634
  enabled: z.ZodBoolean;
1623
1635
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1629,6 +1641,7 @@ declare const OrchestratorSchemas: {
1629
1641
  }, z.core.$strip>>;
1630
1642
  }, z.core.$strip>>;
1631
1643
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
1644
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1632
1645
  kind: z.ZodLiteral<"adapter">;
1633
1646
  adapterName: z.ZodOptional<z.ZodString>;
1634
1647
  adapterId: z.ZodOptional<z.ZodString>;
@@ -1658,9 +1671,9 @@ declare const OrchestratorSchemas: {
1658
1671
  description: z.ZodOptional<z.ZodString>;
1659
1672
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1660
1673
  exposureMode: z.ZodEnum<{
1661
- direct: "direct";
1662
- discovery: "discovery";
1663
1674
  hidden: "hidden";
1675
+ discovery: "discovery";
1676
+ direct: "direct";
1664
1677
  }>;
1665
1678
  enabled: z.ZodBoolean;
1666
1679
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1706,8 +1719,8 @@ declare const OrchestratorSchemas: {
1706
1719
  type: z.ZodLiteral<"http">;
1707
1720
  }, z.core.$strip>], "type">;
1708
1721
  exposureMode: z.ZodEnum<{
1709
- direct: "direct";
1710
1722
  discovery: "discovery";
1723
+ direct: "direct";
1711
1724
  }>;
1712
1725
  }, z.core.$strip>>;
1713
1726
  discoverableTools: z.ZodArray<z.ZodObject<{
@@ -1717,9 +1730,9 @@ declare const OrchestratorSchemas: {
1717
1730
  description: z.ZodOptional<z.ZodString>;
1718
1731
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1719
1732
  exposureMode: z.ZodEnum<{
1720
- direct: "direct";
1721
- discovery: "discovery";
1722
1733
  hidden: "hidden";
1734
+ discovery: "discovery";
1735
+ direct: "direct";
1723
1736
  }>;
1724
1737
  enabled: z.ZodBoolean;
1725
1738
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1731,6 +1744,7 @@ declare const OrchestratorSchemas: {
1731
1744
  }, z.core.$strip>>;
1732
1745
  }, z.core.$strip>>;
1733
1746
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
1747
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1734
1748
  kind: z.ZodLiteral<"canonical-model">;
1735
1749
  model: z.ZodString;
1736
1750
  }, z.core.$loose>, z.ZodObject<{
@@ -1760,9 +1774,9 @@ declare const OrchestratorSchemas: {
1760
1774
  description: z.ZodOptional<z.ZodString>;
1761
1775
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1762
1776
  exposureMode: z.ZodEnum<{
1763
- direct: "direct";
1764
- discovery: "discovery";
1765
1777
  hidden: "hidden";
1778
+ discovery: "discovery";
1779
+ direct: "direct";
1766
1780
  }>;
1767
1781
  enabled: z.ZodBoolean;
1768
1782
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1808,8 +1822,8 @@ declare const OrchestratorSchemas: {
1808
1822
  type: z.ZodLiteral<"http">;
1809
1823
  }, z.core.$strip>], "type">;
1810
1824
  exposureMode: z.ZodEnum<{
1811
- direct: "direct";
1812
1825
  discovery: "discovery";
1826
+ direct: "direct";
1813
1827
  }>;
1814
1828
  }, z.core.$strip>>;
1815
1829
  discoverableTools: z.ZodArray<z.ZodObject<{
@@ -1819,9 +1833,9 @@ declare const OrchestratorSchemas: {
1819
1833
  description: z.ZodOptional<z.ZodString>;
1820
1834
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1821
1835
  exposureMode: z.ZodEnum<{
1822
- direct: "direct";
1823
- discovery: "discovery";
1824
1836
  hidden: "hidden";
1837
+ discovery: "discovery";
1838
+ direct: "direct";
1825
1839
  }>;
1826
1840
  enabled: z.ZodBoolean;
1827
1841
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1833,6 +1847,7 @@ declare const OrchestratorSchemas: {
1833
1847
  }, z.core.$strip>>;
1834
1848
  }, z.core.$strip>>;
1835
1849
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
1850
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1836
1851
  kind: z.ZodString;
1837
1852
  }, z.core.$loose>]>>;
1838
1853
  agentIds: z.ZodOptional<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodLiteral<"all">]>>;
@@ -2059,9 +2074,9 @@ declare const OrchestratorSchemas: {
2059
2074
  description: z.ZodOptional<z.ZodString>;
2060
2075
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2061
2076
  exposureMode: z.ZodEnum<{
2062
- direct: "direct";
2063
- discovery: "discovery";
2064
2077
  hidden: "hidden";
2078
+ discovery: "discovery";
2079
+ direct: "direct";
2065
2080
  }>;
2066
2081
  enabled: z.ZodBoolean;
2067
2082
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2107,8 +2122,8 @@ declare const OrchestratorSchemas: {
2107
2122
  type: z.ZodLiteral<"http">;
2108
2123
  }, z.core.$strip>], "type">;
2109
2124
  exposureMode: z.ZodEnum<{
2110
- direct: "direct";
2111
2125
  discovery: "discovery";
2126
+ direct: "direct";
2112
2127
  }>;
2113
2128
  }, z.core.$strip>>;
2114
2129
  discoverableTools: z.ZodArray<z.ZodObject<{
@@ -2118,9 +2133,9 @@ declare const OrchestratorSchemas: {
2118
2133
  description: z.ZodOptional<z.ZodString>;
2119
2134
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2120
2135
  exposureMode: z.ZodEnum<{
2121
- direct: "direct";
2122
- discovery: "discovery";
2123
2136
  hidden: "hidden";
2137
+ discovery: "discovery";
2138
+ direct: "direct";
2124
2139
  }>;
2125
2140
  enabled: z.ZodBoolean;
2126
2141
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2132,6 +2147,7 @@ declare const OrchestratorSchemas: {
2132
2147
  }, z.core.$strip>>;
2133
2148
  }, z.core.$strip>>;
2134
2149
  allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
2150
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
2135
2151
  }, z.core.$loose>;
2136
2152
  initialMessage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2137
2153
  role: z.ZodOptional<z.ZodEnum<{
@@ -2311,6 +2327,18 @@ declare const OrchestratorSchemas: {
2311
2327
  turnNumber: z.ZodNumber;
2312
2328
  success: z.ZodBoolean;
2313
2329
  error: z.ZodOptional<z.ZodString>;
2330
+ usage: z.ZodOptional<z.ZodObject<{
2331
+ total: z.ZodObject<{
2332
+ inputTokens: z.ZodNumber;
2333
+ outputTokens: z.ZodNumber;
2334
+ cost: z.ZodOptional<z.ZodNumber>;
2335
+ }, z.core.$strip>;
2336
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2337
+ inputTokens: z.ZodNumber;
2338
+ outputTokens: z.ZodNumber;
2339
+ cost: z.ZodOptional<z.ZodNumber>;
2340
+ }, z.core.$strip>>>;
2341
+ }, z.core.$strip>>;
2314
2342
  initiator: z.ZodOptional<z.ZodObject<{
2315
2343
  source: z.ZodEnum<{
2316
2344
  user: "user";
@@ -2342,6 +2370,18 @@ declare const OrchestratorSchemas: {
2342
2370
  turnNumber: z.ZodNumber;
2343
2371
  success: z.ZodBoolean;
2344
2372
  error: z.ZodOptional<z.ZodString>;
2373
+ usage: z.ZodOptional<z.ZodObject<{
2374
+ total: z.ZodObject<{
2375
+ inputTokens: z.ZodNumber;
2376
+ outputTokens: z.ZodNumber;
2377
+ cost: z.ZodOptional<z.ZodNumber>;
2378
+ }, z.core.$strip>;
2379
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2380
+ inputTokens: z.ZodNumber;
2381
+ outputTokens: z.ZodNumber;
2382
+ cost: z.ZodOptional<z.ZodNumber>;
2383
+ }, z.core.$strip>>>;
2384
+ }, z.core.$strip>>;
2345
2385
  initiator: z.ZodOptional<z.ZodObject<{
2346
2386
  source: z.ZodEnum<{
2347
2387
  user: "user";
@@ -2852,6 +2892,18 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
2852
2892
  turnNumber: z.ZodNumber;
2853
2893
  success: z.ZodBoolean;
2854
2894
  error: z.ZodOptional<z.ZodString>;
2895
+ usage: z.ZodOptional<z.ZodObject<{
2896
+ total: z.ZodObject<{
2897
+ inputTokens: z.ZodNumber;
2898
+ outputTokens: z.ZodNumber;
2899
+ cost: z.ZodOptional<z.ZodNumber>;
2900
+ }, z.core.$strip>;
2901
+ byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2902
+ inputTokens: z.ZodNumber;
2903
+ outputTokens: z.ZodNumber;
2904
+ cost: z.ZodOptional<z.ZodNumber>;
2905
+ }, z.core.$strip>>>;
2906
+ }, z.core.$strip>>;
2855
2907
  initiator: z.ZodOptional<z.ZodObject<{
2856
2908
  source: z.ZodEnum<{
2857
2909
  user: "user";
@@ -2884,9 +2936,9 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
2884
2936
  parentSessionId: z.ZodString;
2885
2937
  kind: z.ZodEnum<{
2886
2938
  fork: "fork";
2887
- branch: "branch";
2888
2939
  subagent: "subagent";
2889
2940
  compress: "compress";
2941
+ branch: "branch";
2890
2942
  rewrite: "rewrite";
2891
2943
  coordinator: "coordinator";
2892
2944
  aside: "aside";
@@ -2990,8 +3042,10 @@ interface SessionEventTypeMap {
2990
3042
  'turn.completed': {
2991
3043
  sessionId: string;
2992
3044
  turnId: string;
3045
+ turnNumber: number;
2993
3046
  success: boolean;
2994
3047
  error?: string;
3048
+ usage?: TurnUsage;
2995
3049
  initiator?: TurnInitiator$1;
2996
3050
  };
2997
3051
  /**
@@ -3073,9 +3127,9 @@ declare const ForkChildInfoSchema: z.ZodObject<{
3073
3127
  forkPointMessageId: z.ZodNullable<z.ZodString>;
3074
3128
  branchKind: z.ZodNullable<z.ZodEnum<{
3075
3129
  fork: "fork";
3076
- branch: "branch";
3077
3130
  subagent: "subagent";
3078
3131
  compress: "compress";
3132
+ branch: "branch";
3079
3133
  rewrite: "rewrite";
3080
3134
  coordinator: "coordinator";
3081
3135
  aside: "aside";
@@ -3147,9 +3201,9 @@ declare const SessionCreatedEventSchema: z.ZodObject<{
3147
3201
  parentSessionId: z.ZodNullable<z.ZodString>;
3148
3202
  branchKind: z.ZodNullable<z.ZodEnum<{
3149
3203
  fork: "fork";
3150
- branch: "branch";
3151
3204
  subagent: "subagent";
3152
3205
  compress: "compress";
3206
+ branch: "branch";
3153
3207
  rewrite: "rewrite";
3154
3208
  coordinator: "coordinator";
3155
3209
  aside: "aside";
@@ -3234,9 +3288,9 @@ declare const SessionSchemas: {
3234
3288
  description: _$zod.ZodOptional<_$zod.ZodString>;
3235
3289
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3236
3290
  exposureMode: _$zod.ZodEnum<{
3237
- direct: "direct";
3238
- discovery: "discovery";
3239
3291
  hidden: "hidden";
3292
+ discovery: "discovery";
3293
+ direct: "direct";
3240
3294
  }>;
3241
3295
  enabled: _$zod.ZodBoolean;
3242
3296
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3282,8 +3336,8 @@ declare const SessionSchemas: {
3282
3336
  type: _$zod.ZodLiteral<"http">;
3283
3337
  }, _$zod_v4_core0.$strip>], "type">;
3284
3338
  exposureMode: _$zod.ZodEnum<{
3285
- direct: "direct";
3286
3339
  discovery: "discovery";
3340
+ direct: "direct";
3287
3341
  }>;
3288
3342
  }, _$zod_v4_core0.$strip>>;
3289
3343
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -3293,9 +3347,9 @@ declare const SessionSchemas: {
3293
3347
  description: _$zod.ZodOptional<_$zod.ZodString>;
3294
3348
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3295
3349
  exposureMode: _$zod.ZodEnum<{
3296
- direct: "direct";
3297
- discovery: "discovery";
3298
3350
  hidden: "hidden";
3351
+ discovery: "discovery";
3352
+ direct: "direct";
3299
3353
  }>;
3300
3354
  enabled: _$zod.ZodBoolean;
3301
3355
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3307,6 +3361,7 @@ declare const SessionSchemas: {
3307
3361
  }, _$zod_v4_core0.$strip>>;
3308
3362
  }, _$zod_v4_core0.$strip>>;
3309
3363
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
3364
+ adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
3310
3365
  }, _$zod_v4_core0.$loose>;
3311
3366
  projectId: _$zod.ZodOptional<_$zod.ZodString>;
3312
3367
  }, _$zod_v4_core0.$strip>;
@@ -3489,9 +3544,9 @@ declare const SessionSchemas: {
3489
3544
  description: _$zod.ZodOptional<_$zod.ZodString>;
3490
3545
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3491
3546
  exposureMode: _$zod.ZodEnum<{
3492
- direct: "direct";
3493
- discovery: "discovery";
3494
3547
  hidden: "hidden";
3548
+ discovery: "discovery";
3549
+ direct: "direct";
3495
3550
  }>;
3496
3551
  enabled: _$zod.ZodBoolean;
3497
3552
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3537,8 +3592,8 @@ declare const SessionSchemas: {
3537
3592
  type: _$zod.ZodLiteral<"http">;
3538
3593
  }, _$zod_v4_core0.$strip>], "type">;
3539
3594
  exposureMode: _$zod.ZodEnum<{
3540
- direct: "direct";
3541
3595
  discovery: "discovery";
3596
+ direct: "direct";
3542
3597
  }>;
3543
3598
  }, _$zod_v4_core0.$strip>>;
3544
3599
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -3548,9 +3603,9 @@ declare const SessionSchemas: {
3548
3603
  description: _$zod.ZodOptional<_$zod.ZodString>;
3549
3604
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3550
3605
  exposureMode: _$zod.ZodEnum<{
3551
- direct: "direct";
3552
- discovery: "discovery";
3553
3606
  hidden: "hidden";
3607
+ discovery: "discovery";
3608
+ direct: "direct";
3554
3609
  }>;
3555
3610
  enabled: _$zod.ZodBoolean;
3556
3611
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3562,6 +3617,7 @@ declare const SessionSchemas: {
3562
3617
  }, _$zod_v4_core0.$strip>>;
3563
3618
  }, _$zod_v4_core0.$strip>>;
3564
3619
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
3620
+ adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
3565
3621
  kind: _$zod.ZodLiteral<"adapter">;
3566
3622
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
3567
3623
  adapterId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3591,9 +3647,9 @@ declare const SessionSchemas: {
3591
3647
  description: _$zod.ZodOptional<_$zod.ZodString>;
3592
3648
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3593
3649
  exposureMode: _$zod.ZodEnum<{
3594
- direct: "direct";
3595
- discovery: "discovery";
3596
3650
  hidden: "hidden";
3651
+ discovery: "discovery";
3652
+ direct: "direct";
3597
3653
  }>;
3598
3654
  enabled: _$zod.ZodBoolean;
3599
3655
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3639,8 +3695,8 @@ declare const SessionSchemas: {
3639
3695
  type: _$zod.ZodLiteral<"http">;
3640
3696
  }, _$zod_v4_core0.$strip>], "type">;
3641
3697
  exposureMode: _$zod.ZodEnum<{
3642
- direct: "direct";
3643
3698
  discovery: "discovery";
3699
+ direct: "direct";
3644
3700
  }>;
3645
3701
  }, _$zod_v4_core0.$strip>>;
3646
3702
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -3650,9 +3706,9 @@ declare const SessionSchemas: {
3650
3706
  description: _$zod.ZodOptional<_$zod.ZodString>;
3651
3707
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3652
3708
  exposureMode: _$zod.ZodEnum<{
3653
- direct: "direct";
3654
- discovery: "discovery";
3655
3709
  hidden: "hidden";
3710
+ discovery: "discovery";
3711
+ direct: "direct";
3656
3712
  }>;
3657
3713
  enabled: _$zod.ZodBoolean;
3658
3714
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3664,6 +3720,7 @@ declare const SessionSchemas: {
3664
3720
  }, _$zod_v4_core0.$strip>>;
3665
3721
  }, _$zod_v4_core0.$strip>>;
3666
3722
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
3723
+ adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
3667
3724
  kind: _$zod.ZodLiteral<"canonical-model">;
3668
3725
  model: _$zod.ZodString;
3669
3726
  }, _$zod_v4_core0.$loose>, _$zod.ZodObject<{
@@ -3693,9 +3750,9 @@ declare const SessionSchemas: {
3693
3750
  description: _$zod.ZodOptional<_$zod.ZodString>;
3694
3751
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3695
3752
  exposureMode: _$zod.ZodEnum<{
3696
- direct: "direct";
3697
- discovery: "discovery";
3698
3753
  hidden: "hidden";
3754
+ discovery: "discovery";
3755
+ direct: "direct";
3699
3756
  }>;
3700
3757
  enabled: _$zod.ZodBoolean;
3701
3758
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3741,8 +3798,8 @@ declare const SessionSchemas: {
3741
3798
  type: _$zod.ZodLiteral<"http">;
3742
3799
  }, _$zod_v4_core0.$strip>], "type">;
3743
3800
  exposureMode: _$zod.ZodEnum<{
3744
- direct: "direct";
3745
3801
  discovery: "discovery";
3802
+ direct: "direct";
3746
3803
  }>;
3747
3804
  }, _$zod_v4_core0.$strip>>;
3748
3805
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -3752,9 +3809,9 @@ declare const SessionSchemas: {
3752
3809
  description: _$zod.ZodOptional<_$zod.ZodString>;
3753
3810
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3754
3811
  exposureMode: _$zod.ZodEnum<{
3755
- direct: "direct";
3756
- discovery: "discovery";
3757
3812
  hidden: "hidden";
3813
+ discovery: "discovery";
3814
+ direct: "direct";
3758
3815
  }>;
3759
3816
  enabled: _$zod.ZodBoolean;
3760
3817
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3766,6 +3823,7 @@ declare const SessionSchemas: {
3766
3823
  }, _$zod_v4_core0.$strip>>;
3767
3824
  }, _$zod_v4_core0.$strip>>;
3768
3825
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
3826
+ adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
3769
3827
  kind: _$zod.ZodString;
3770
3828
  }, _$zod_v4_core0.$loose>]>>;
3771
3829
  agentIds: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodArray<_$zod.ZodString>, _$zod.ZodLiteral<"all">]>>;
@@ -3959,9 +4017,9 @@ declare const SessionSchemas: {
3959
4017
  description: _$zod.ZodOptional<_$zod.ZodString>;
3960
4018
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3961
4019
  exposureMode: _$zod.ZodEnum<{
3962
- direct: "direct";
3963
- discovery: "discovery";
3964
4020
  hidden: "hidden";
4021
+ discovery: "discovery";
4022
+ direct: "direct";
3965
4023
  }>;
3966
4024
  enabled: _$zod.ZodBoolean;
3967
4025
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4007,8 +4065,8 @@ declare const SessionSchemas: {
4007
4065
  type: _$zod.ZodLiteral<"http">;
4008
4066
  }, _$zod_v4_core0.$strip>], "type">;
4009
4067
  exposureMode: _$zod.ZodEnum<{
4010
- direct: "direct";
4011
4068
  discovery: "discovery";
4069
+ direct: "direct";
4012
4070
  }>;
4013
4071
  }, _$zod_v4_core0.$strip>>;
4014
4072
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
@@ -4018,9 +4076,9 @@ declare const SessionSchemas: {
4018
4076
  description: _$zod.ZodOptional<_$zod.ZodString>;
4019
4077
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4020
4078
  exposureMode: _$zod.ZodEnum<{
4021
- direct: "direct";
4022
- discovery: "discovery";
4023
4079
  hidden: "hidden";
4080
+ discovery: "discovery";
4081
+ direct: "direct";
4024
4082
  }>;
4025
4083
  enabled: _$zod.ZodBoolean;
4026
4084
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4032,6 +4090,7 @@ declare const SessionSchemas: {
4032
4090
  }, _$zod_v4_core0.$strip>>;
4033
4091
  }, _$zod_v4_core0.$strip>>;
4034
4092
  allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
4093
+ adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4035
4094
  }, _$zod_v4_core0.$loose>;
4036
4095
  initialMessage: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
4037
4096
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4192,6 +4251,18 @@ declare const SessionSchemas: {
4192
4251
  turnNumber: _$zod.ZodNumber;
4193
4252
  success: _$zod.ZodBoolean;
4194
4253
  error: _$zod.ZodOptional<_$zod.ZodString>;
4254
+ usage: _$zod.ZodOptional<_$zod.ZodObject<{
4255
+ total: _$zod.ZodObject<{
4256
+ inputTokens: _$zod.ZodNumber;
4257
+ outputTokens: _$zod.ZodNumber;
4258
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
4259
+ }, _$zod_v4_core0.$strip>;
4260
+ byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
4261
+ inputTokens: _$zod.ZodNumber;
4262
+ outputTokens: _$zod.ZodNumber;
4263
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
4264
+ }, _$zod_v4_core0.$strip>>>;
4265
+ }, _$zod_v4_core0.$strip>>;
4195
4266
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
4196
4267
  source: _$zod.ZodEnum<{
4197
4268
  user: "user";
@@ -4214,6 +4285,18 @@ declare const SessionSchemas: {
4214
4285
  turnNumber: _$zod.ZodNumber;
4215
4286
  success: _$zod.ZodBoolean;
4216
4287
  error: _$zod.ZodOptional<_$zod.ZodString>;
4288
+ usage: _$zod.ZodOptional<_$zod.ZodObject<{
4289
+ total: _$zod.ZodObject<{
4290
+ inputTokens: _$zod.ZodNumber;
4291
+ outputTokens: _$zod.ZodNumber;
4292
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
4293
+ }, _$zod_v4_core0.$strip>;
4294
+ byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
4295
+ inputTokens: _$zod.ZodNumber;
4296
+ outputTokens: _$zod.ZodNumber;
4297
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
4298
+ }, _$zod_v4_core0.$strip>>>;
4299
+ }, _$zod_v4_core0.$strip>>;
4217
4300
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
4218
4301
  source: _$zod.ZodEnum<{
4219
4302
  user: "user";
@@ -4469,9 +4552,9 @@ declare const SessionSchemas: {
4469
4552
  forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
4470
4553
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
4471
4554
  fork: "fork";
4472
- branch: "branch";
4473
4555
  subagent: "subagent";
4474
4556
  compress: "compress";
4557
+ branch: "branch";
4475
4558
  rewrite: "rewrite";
4476
4559
  coordinator: "coordinator";
4477
4560
  aside: "aside";
@@ -4526,9 +4609,9 @@ declare const SessionSchemas: {
4526
4609
  parentSessionId: _$zod.ZodString;
4527
4610
  kind: _$zod.ZodEnum<{
4528
4611
  fork: "fork";
4529
- branch: "branch";
4530
4612
  subagent: "subagent";
4531
4613
  compress: "compress";
4614
+ branch: "branch";
4532
4615
  rewrite: "rewrite";
4533
4616
  coordinator: "coordinator";
4534
4617
  aside: "aside";
@@ -4574,9 +4657,9 @@ declare const SessionSchemas: {
4574
4657
  parentSessionId: _$zod.ZodNullable<_$zod.ZodString>;
4575
4658
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
4576
4659
  fork: "fork";
4577
- branch: "branch";
4578
4660
  subagent: "subagent";
4579
4661
  compress: "compress";
4662
+ branch: "branch";
4580
4663
  rewrite: "rewrite";
4581
4664
  coordinator: "coordinator";
4582
4665
  aside: "aside";
@@ -4662,8 +4745,8 @@ declare const SessionSchemas: {
4662
4745
  status: _$zod.ZodEnum<{
4663
4746
  active: "active";
4664
4747
  archived: "archived";
4665
- closed: "closed";
4666
4748
  discovered: "discovered";
4749
+ closed: "closed";
4667
4750
  }>;
4668
4751
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
4669
4752
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4675,9 +4758,9 @@ declare const SessionSchemas: {
4675
4758
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
4676
4759
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
4677
4760
  fork: "fork";
4678
- branch: "branch";
4679
4761
  subagent: "subagent";
4680
4762
  compress: "compress";
4763
+ branch: "branch";
4681
4764
  rewrite: "rewrite";
4682
4765
  coordinator: "coordinator";
4683
4766
  aside: "aside";
@@ -5108,6 +5191,18 @@ declare const SessionSchemas: {
5108
5191
  turnNumber: _$zod.ZodNumber;
5109
5192
  success: _$zod.ZodBoolean;
5110
5193
  error: _$zod.ZodOptional<_$zod.ZodString>;
5194
+ usage: _$zod.ZodOptional<_$zod.ZodObject<{
5195
+ total: _$zod.ZodObject<{
5196
+ inputTokens: _$zod.ZodNumber;
5197
+ outputTokens: _$zod.ZodNumber;
5198
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5199
+ }, _$zod_v4_core0.$strip>;
5200
+ byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
5201
+ inputTokens: _$zod.ZodNumber;
5202
+ outputTokens: _$zod.ZodNumber;
5203
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5204
+ }, _$zod_v4_core0.$strip>>>;
5205
+ }, _$zod_v4_core0.$strip>>;
5111
5206
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5112
5207
  source: _$zod.ZodEnum<{
5113
5208
  user: "user";
@@ -5140,9 +5235,9 @@ declare const SessionSchemas: {
5140
5235
  parentSessionId: _$zod.ZodString;
5141
5236
  kind: _$zod.ZodEnum<{
5142
5237
  fork: "fork";
5143
- branch: "branch";
5144
5238
  subagent: "subagent";
5145
5239
  compress: "compress";
5240
+ branch: "branch";
5146
5241
  rewrite: "rewrite";
5147
5242
  coordinator: "coordinator";
5148
5243
  aside: "aside";
@@ -5231,8 +5326,8 @@ declare const SessionSchemas: {
5231
5326
  status: _$zod.ZodEnum<{
5232
5327
  active: "active";
5233
5328
  archived: "archived";
5234
- closed: "closed";
5235
5329
  discovered: "discovered";
5330
+ closed: "closed";
5236
5331
  }>;
5237
5332
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
5238
5333
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5244,9 +5339,9 @@ declare const SessionSchemas: {
5244
5339
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
5245
5340
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
5246
5341
  fork: "fork";
5247
- branch: "branch";
5248
5342
  subagent: "subagent";
5249
5343
  compress: "compress";
5344
+ branch: "branch";
5250
5345
  rewrite: "rewrite";
5251
5346
  coordinator: "coordinator";
5252
5347
  aside: "aside";
@@ -5677,6 +5772,18 @@ declare const SessionSchemas: {
5677
5772
  turnNumber: _$zod.ZodNumber;
5678
5773
  success: _$zod.ZodBoolean;
5679
5774
  error: _$zod.ZodOptional<_$zod.ZodString>;
5775
+ usage: _$zod.ZodOptional<_$zod.ZodObject<{
5776
+ total: _$zod.ZodObject<{
5777
+ inputTokens: _$zod.ZodNumber;
5778
+ outputTokens: _$zod.ZodNumber;
5779
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5780
+ }, _$zod_v4_core0.$strip>;
5781
+ byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
5782
+ inputTokens: _$zod.ZodNumber;
5783
+ outputTokens: _$zod.ZodNumber;
5784
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5785
+ }, _$zod_v4_core0.$strip>>>;
5786
+ }, _$zod_v4_core0.$strip>>;
5680
5787
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
5681
5788
  source: _$zod.ZodEnum<{
5682
5789
  user: "user";
@@ -5709,9 +5816,9 @@ declare const SessionSchemas: {
5709
5816
  parentSessionId: _$zod.ZodString;
5710
5817
  kind: _$zod.ZodEnum<{
5711
5818
  fork: "fork";
5712
- branch: "branch";
5713
5819
  subagent: "subagent";
5714
5820
  compress: "compress";
5821
+ branch: "branch";
5715
5822
  rewrite: "rewrite";
5716
5823
  coordinator: "coordinator";
5717
5824
  aside: "aside";
@@ -5839,8 +5946,8 @@ declare const SessionSchemas: {
5839
5946
  maxTokens: _$zod.ZodNumber;
5840
5947
  percentage: _$zod.ZodNumber;
5841
5948
  level: _$zod.ZodEnum<{
5842
- ok: "ok";
5843
5949
  warn: "warn";
5950
+ ok: "ok";
5844
5951
  critical: "critical";
5845
5952
  }>;
5846
5953
  lastUpdatedAt: _$zod.ZodNumber;
@@ -6088,6 +6195,18 @@ declare const SessionSchemas: {
6088
6195
  turnNumber: _$zod.ZodNumber;
6089
6196
  success: _$zod.ZodBoolean;
6090
6197
  error: _$zod.ZodOptional<_$zod.ZodString>;
6198
+ usage: _$zod.ZodOptional<_$zod.ZodObject<{
6199
+ total: _$zod.ZodObject<{
6200
+ inputTokens: _$zod.ZodNumber;
6201
+ outputTokens: _$zod.ZodNumber;
6202
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
6203
+ }, _$zod_v4_core0.$strip>;
6204
+ byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
6205
+ inputTokens: _$zod.ZodNumber;
6206
+ outputTokens: _$zod.ZodNumber;
6207
+ cost: _$zod.ZodOptional<_$zod.ZodNumber>;
6208
+ }, _$zod_v4_core0.$strip>>>;
6209
+ }, _$zod_v4_core0.$strip>>;
6091
6210
  initiator: _$zod.ZodOptional<_$zod.ZodObject<{
6092
6211
  source: _$zod.ZodEnum<{
6093
6212
  user: "user";
@@ -6120,9 +6239,9 @@ declare const SessionSchemas: {
6120
6239
  parentSessionId: _$zod.ZodString;
6121
6240
  kind: _$zod.ZodEnum<{
6122
6241
  fork: "fork";
6123
- branch: "branch";
6124
6242
  subagent: "subagent";
6125
6243
  compress: "compress";
6244
+ branch: "branch";
6126
6245
  rewrite: "rewrite";
6127
6246
  coordinator: "coordinator";
6128
6247
  aside: "aside";
@@ -6164,8 +6283,8 @@ declare const SessionSchemas: {
6164
6283
  all: "all";
6165
6284
  active: "active";
6166
6285
  archived: "archived";
6167
- closed: "closed";
6168
6286
  discovered: "discovered";
6287
+ closed: "closed";
6169
6288
  }>>;
6170
6289
  limit: _$zod.ZodOptional<_$zod.ZodNumber>;
6171
6290
  offset: _$zod.ZodOptional<_$zod.ZodNumber>;
@@ -6212,8 +6331,8 @@ declare const SessionSchemas: {
6212
6331
  status: _$zod.ZodEnum<{
6213
6332
  active: "active";
6214
6333
  archived: "archived";
6215
- closed: "closed";
6216
6334
  discovered: "discovered";
6335
+ closed: "closed";
6217
6336
  }>;
6218
6337
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6219
6338
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6225,9 +6344,9 @@ declare const SessionSchemas: {
6225
6344
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6226
6345
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6227
6346
  fork: "fork";
6228
- branch: "branch";
6229
6347
  subagent: "subagent";
6230
6348
  compress: "compress";
6349
+ branch: "branch";
6231
6350
  rewrite: "rewrite";
6232
6351
  coordinator: "coordinator";
6233
6352
  aside: "aside";
@@ -6302,8 +6421,8 @@ declare const SessionSchemas: {
6302
6421
  all: "all";
6303
6422
  active: "active";
6304
6423
  archived: "archived";
6305
- closed: "closed";
6306
6424
  discovered: "discovered";
6425
+ closed: "closed";
6307
6426
  }>>;
6308
6427
  isImported: _$zod.ZodOptional<_$zod.ZodBoolean>;
6309
6428
  }, _$zod_v4_core0.$strip>;
@@ -6347,8 +6466,8 @@ declare const SessionSchemas: {
6347
6466
  status: _$zod.ZodEnum<{
6348
6467
  active: "active";
6349
6468
  archived: "archived";
6350
- closed: "closed";
6351
6469
  discovered: "discovered";
6470
+ closed: "closed";
6352
6471
  }>;
6353
6472
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6354
6473
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6360,9 +6479,9 @@ declare const SessionSchemas: {
6360
6479
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6361
6480
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6362
6481
  fork: "fork";
6363
- branch: "branch";
6364
6482
  subagent: "subagent";
6365
6483
  compress: "compress";
6484
+ branch: "branch";
6366
6485
  rewrite: "rewrite";
6367
6486
  coordinator: "coordinator";
6368
6487
  aside: "aside";
@@ -6473,8 +6592,8 @@ declare const SessionSchemas: {
6473
6592
  status: _$zod.ZodEnum<{
6474
6593
  active: "active";
6475
6594
  archived: "archived";
6476
- closed: "closed";
6477
6595
  discovered: "discovered";
6596
+ closed: "closed";
6478
6597
  }>;
6479
6598
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6480
6599
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6486,9 +6605,9 @@ declare const SessionSchemas: {
6486
6605
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6487
6606
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6488
6607
  fork: "fork";
6489
- branch: "branch";
6490
6608
  subagent: "subagent";
6491
6609
  compress: "compress";
6610
+ branch: "branch";
6492
6611
  rewrite: "rewrite";
6493
6612
  coordinator: "coordinator";
6494
6613
  aside: "aside";
@@ -6561,9 +6680,9 @@ declare const SessionSchemas: {
6561
6680
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6562
6681
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6563
6682
  fork: "fork";
6564
- branch: "branch";
6565
6683
  subagent: "subagent";
6566
6684
  compress: "compress";
6685
+ branch: "branch";
6567
6686
  rewrite: "rewrite";
6568
6687
  coordinator: "coordinator";
6569
6688
  aside: "aside";
@@ -6709,8 +6828,8 @@ declare const SessionSchemas: {
6709
6828
  status: _$zod.ZodEnum<{
6710
6829
  active: "active";
6711
6830
  archived: "archived";
6712
- closed: "closed";
6713
6831
  discovered: "discovered";
6832
+ closed: "closed";
6714
6833
  }>;
6715
6834
  leadAgentId: _$zod.ZodOptional<_$zod.ZodString>;
6716
6835
  parentSessionId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -6722,9 +6841,9 @@ declare const SessionSchemas: {
6722
6841
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6723
6842
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6724
6843
  fork: "fork";
6725
- branch: "branch";
6726
6844
  subagent: "subagent";
6727
6845
  compress: "compress";
6846
+ branch: "branch";
6728
6847
  rewrite: "rewrite";
6729
6848
  coordinator: "coordinator";
6730
6849
  aside: "aside";
@@ -6807,9 +6926,9 @@ declare const SessionSchemas: {
6807
6926
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6808
6927
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6809
6928
  fork: "fork";
6810
- branch: "branch";
6811
6929
  subagent: "subagent";
6812
6930
  compress: "compress";
6931
+ branch: "branch";
6813
6932
  rewrite: "rewrite";
6814
6933
  coordinator: "coordinator";
6815
6934
  aside: "aside";