@makaio/framework 1.0.0-dev-1784154668798 → 1.0.0-dev-1784706768858

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 (364) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{adapter-B9vVBwli.mjs → adapter-CYobxqN_.mjs} +1 -1
  3. package/dist/adapters/claude/index.mjs +2 -2
  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 +2 -2
  8. package/dist/adapters/node.d.mts +1 -1
  9. package/dist/adapters/node.mjs +1 -1
  10. package/dist/artifact-DCkizHkS.mjs +1 -0
  11. package/dist/attach-error-DCnzW-Yz.mjs +1 -0
  12. package/dist/authority-state-bootstrap-C_-F_dtq.mjs +1 -0
  13. package/dist/bus/index.d.mts +99 -4
  14. package/dist/bus/index.mjs +1 -1
  15. package/dist/bus-B6SAjgOC.mjs +2 -0
  16. package/dist/bus-C2l3K74u.mjs +1 -0
  17. package/dist/{canonical-model-C31NaBJs.mjs → canonical-model-EMRYCVjX.mjs} +1 -1
  18. package/dist/client-OYk0Ttck.mjs +1 -0
  19. package/dist/client-binary-version-verifier-Dv7TGFxh.mjs +2 -0
  20. package/dist/clients/index.d.mts +383 -13
  21. package/dist/clients/index.mjs +1 -1
  22. package/dist/clients/managed-install.d.mts +1 -1
  23. package/dist/clients/managed-install.mjs +1 -1
  24. package/dist/{context-resolution-D5jHK1w-.d.mts → context-resolution-DZSBOCKY.d.mts} +10 -10
  25. package/dist/contracts/adapter/index.d.mts +2 -2
  26. package/dist/contracts/adapter/index.mjs +1 -1
  27. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  28. package/dist/contracts/artifact/index.d.mts +2 -2
  29. package/dist/contracts/artifact/index.mjs +1 -1
  30. package/dist/contracts/auth/index.d.mts +2 -2
  31. package/dist/contracts/canonical-model/index.d.mts +1 -1
  32. package/dist/contracts/canonical-model/index.mjs +1 -1
  33. package/dist/contracts/client/index.d.mts +3 -3
  34. package/dist/contracts/client/index.mjs +1 -1
  35. package/dist/contracts/common/index.d.mts +1 -1
  36. package/dist/contracts/config/index.d.mts +1 -1
  37. package/dist/contracts/extension/index.d.mts +5 -4
  38. package/dist/contracts/facet/index.d.mts +1 -1
  39. package/dist/contracts/harness/index.d.mts +1 -1
  40. package/dist/contracts/host/index.d.mts +1 -1
  41. package/dist/contracts/index.d.mts +133 -94
  42. package/dist/contracts/index.mjs +1 -1
  43. package/dist/contracts/materialization/index.d.mts +4 -4
  44. package/dist/contracts/materialization/index.mjs +1 -1
  45. package/dist/contracts/model-registry/index.d.mts +1 -1
  46. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  47. package/dist/contracts/platform/index.d.mts +1 -1
  48. package/dist/contracts/provider/index.d.mts +2 -2
  49. package/dist/contracts/session/index.d.mts +2 -2
  50. package/dist/contracts/session/index.mjs +1 -1
  51. package/dist/contracts/shared/index.d.mts +2 -2
  52. package/dist/contracts/skill/index.d.mts +1 -1
  53. package/dist/contracts/telemetry/index.d.mts +1 -1
  54. package/dist/contracts/timeout/index.d.mts +1 -1
  55. package/dist/contracts/variant/index.d.mts +1 -1
  56. package/dist/contracts/workflow/index.d.mts +2 -2
  57. package/dist/contracts/workflow/index.mjs +1 -1
  58. package/dist/core/index.d.mts +78 -3
  59. package/dist/core/index.mjs +1 -1
  60. package/dist/{detached-extension-handle-BVM-Ic-4.mjs → detached-extension-handle-BsywhHfk.mjs} +1 -1
  61. package/dist/{filesystem-service-qR9Zy5-r.mjs → filesystem-service-Cupz_Z7S.mjs} +1 -1
  62. package/dist/git/index.mjs +1 -1
  63. package/dist/{globby-DE358g5u.mjs → globby-DWp7V-P2.mjs} +1 -1
  64. package/dist/handlers-cMBmexF4.mjs +57 -0
  65. package/dist/hook-responses-mmqRa2Dq.d.mts +825 -0
  66. package/dist/{index-Du-AJm69.d.mts → index-0Ju2i8gV.d.mts} +20 -6
  67. package/dist/{index-DD9inq5h.d.mts → index-4NQLoI7R.d.mts} +1 -1
  68. package/dist/{index-DAVLhzkq.d.mts → index-8fJ6dkzR.d.mts} +2 -1
  69. package/dist/{index-BdsuBxEz.d.mts → index-BHQXXd-O.d.mts} +4 -4
  70. package/dist/{index-ZGPSCZdC.d.mts → index-BKeJ-Act.d.mts} +24 -10
  71. package/dist/{index-BPBSMsc8.d.mts → index-BWvTZJxe.d.mts} +20 -20
  72. package/dist/{index-BM7u_OTo.d.mts → index-B_aBwkE-.d.mts} +111 -94
  73. package/dist/{index-ChB3K_a12.d.mts → index-BhXCCgJV2.d.mts} +1 -1
  74. package/dist/{index-BcqWLD6J.d.mts → index-BsBvs0aK.d.mts} +117 -45
  75. package/dist/{index-D_lLZ2dU.d.mts → index-C81hMexK.d.mts} +129 -37
  76. package/dist/{index-DoJRv-c3.d.mts → index-CFqShlHD.d.mts} +85 -85
  77. package/dist/{index-DHejCnq8.d.mts → index-CHxWUmmA.d.mts} +3 -3
  78. package/dist/{index-BfNfKh4y.d.mts → index-CKccv4s2.d.mts} +20 -26
  79. package/dist/{index-TWs1TQ2-.d.mts → index-Cw7_69gV.d.mts} +1 -1
  80. package/dist/{index-DE29b4QM.d.mts → index-CzKLLQLw.d.mts} +8 -8
  81. package/dist/{index-CSyR9Fie2.d.mts → index-D73PTKXG2.d.mts} +3 -3
  82. package/dist/{index-DA5S_dj8.d.mts → index-DRiTICBU.d.mts} +1 -1
  83. package/dist/{index-XzetMf0e.d.mts → index-DitLUuR5.d.mts} +126 -42
  84. package/dist/{index-B_KmL_z8.d.mts → index-jbgHR5J2.d.mts} +1 -1
  85. package/dist/{index-B96HlWaM.d.mts → index-pjATMrvJ.d.mts} +10 -4
  86. package/dist/{index-CrbFA2kp.d.mts → index-t9fTvyq6.d.mts} +4 -4
  87. package/dist/kernel/cli/index.d.mts +2 -2
  88. package/dist/kernel/cli/register.d.mts +1 -1
  89. package/dist/kernel/extension/index.d.mts +1 -1
  90. package/dist/kernel/index.d.mts +5 -5
  91. package/dist/kernel/namespace/index.d.mts +1 -1
  92. package/dist/kernel/observability/index.d.mts +1 -1
  93. package/dist/kernel/providers/index.d.mts +1 -1
  94. package/dist/kernel/window/index.d.mts +1 -1
  95. package/dist/{lib-DhbCgfYD.mjs → lib-B7TpTzkG.mjs} +3 -3
  96. package/dist/{lib-6P8_sBCe.mjs → lib-BeMM738r.mjs} +1 -1
  97. package/dist/{load-extensions-jGQgvw6Z.d.mts → load-extensions-BLdG90Zi.d.mts} +1 -1
  98. package/dist/{load-extensions-5VckHXuw.mjs → load-extensions-CUmFCcYi.mjs} +1 -1
  99. package/dist/materialization-s8eR1eQ4.mjs +1 -0
  100. package/dist/mcp-http-server/index.mjs +1 -1
  101. package/dist/{namespace-C_phrzqu2.d.mts → namespace-BWsPZGiq2.d.mts} +5 -5
  102. package/dist/{namespace-CzZmsumy.d.mts → namespace-BeV7LST-.d.mts} +2 -2
  103. package/dist/{namespace-BTp6-zD8.d.mts → namespace-BsF9IxJ9.d.mts} +53 -5
  104. package/dist/{namespace-CpSZfHLv.d.mts → namespace-Db_PFX3v.d.mts} +36 -18
  105. package/dist/{namespace-Bldr5X64.d.mts → namespace-Dvo_7BQw.d.mts} +2 -2
  106. package/dist/{namespace-BwAiuQ2_.d.mts → namespace-lWlqWTKu.d.mts} +48 -4
  107. package/dist/node/bus-server/index.d.mts +1 -1
  108. package/dist/node/bus-server/index.mjs +1 -1
  109. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  110. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  111. package/dist/node/transports/index.d.mts +5 -3
  112. package/dist/node/transports/index.mjs +2 -2
  113. package/dist/package-DKnzOvoR.mjs +1 -0
  114. package/dist/{package-Brt4dhRC.mjs → package-DW1Upu8E.mjs} +1 -1
  115. package/dist/package.json +1 -1
  116. package/dist/{packages-BBJsifai.d.mts → packages-DeIgn0Hn.d.mts} +2 -2
  117. package/dist/packages-zDnokBpl.mjs +1 -0
  118. package/dist/rules/index.d.mts +1 -1
  119. package/dist/rules/index.mjs +1 -1
  120. package/dist/rules/schemas.d.mts +1 -1
  121. package/dist/runtime-bun/index.mjs +1 -1
  122. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  123. package/dist/runtime-node/extension-validation.d.mts +1 -1
  124. package/dist/runtime-node/extension-validation.mjs +1 -1
  125. package/dist/runtime-node/index.d.mts +3 -3
  126. package/dist/runtime-node/index.mjs +22 -22
  127. package/dist/runtime-node/makaio-config.d.mts +1 -1
  128. package/dist/runtime-node/makaio-config.mjs +1 -1
  129. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  130. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  131. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  132. package/dist/schemas-BJ8VMXhO.mjs +1 -0
  133. package/dist/schemas-BRxU_oqL.mjs +1 -0
  134. package/dist/schemas-Dgj3WaOI.mjs +1 -0
  135. package/dist/{schemas-BLJ2k226.d.mts → schemas-SsGbBOZ-.d.mts} +2 -2
  136. package/dist/{schemas-Ca3BLPH5.d.mts → schemas-oTIqxZN_.d.mts} +17 -17
  137. package/dist/scoped-bus-C9BdNwfM.mjs +1 -0
  138. package/dist/services/adapter-runtime/index.d.mts +3 -3
  139. package/dist/services/adapter-runtime/index.mjs +1 -1
  140. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  141. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  142. package/dist/services/adapter-subsystem/index.d.mts +3 -3
  143. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  144. package/dist/services/agent-runtime/index.d.mts +2 -2
  145. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  146. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  147. package/dist/services/capability/index.d.mts +1 -1
  148. package/dist/services/capability/index.mjs +1 -1
  149. package/dist/services/codebase/index.d.mts +2 -2
  150. package/dist/services/codebase/namespace.d.mts +1 -1
  151. package/dist/services/codebase/schemas.d.mts +1 -1
  152. package/dist/services/compression/index.d.mts +2 -2
  153. package/dist/services/compression/namespace.d.mts +1 -1
  154. package/dist/services/compression/schemas.d.mts +1 -1
  155. package/dist/services/context-rules/index.d.mts +4 -4
  156. package/dist/services/context-rules/index.mjs +1 -1
  157. package/dist/services/execution-target/index.d.mts +3 -3
  158. package/dist/services/execution-target/index.mjs +1 -1
  159. package/dist/services/execution-target/namespace.d.mts +1 -1
  160. package/dist/services/execution-target/schemas.d.mts +1 -1
  161. package/dist/services/filesystem/index.d.mts +1 -1
  162. package/dist/services/filesystem/index.mjs +1 -1
  163. package/dist/services/git/namespace.d.mts +2 -2
  164. package/dist/services/git/namespace.mjs +1 -1
  165. package/dist/services/git/schemas.d.mts +1 -1
  166. package/dist/services/git/schemas.mjs +1 -1
  167. package/dist/services/harness/index.d.mts +3 -3
  168. package/dist/services/harness/index.mjs +1 -1
  169. package/dist/services/index.d.mts +73 -51
  170. package/dist/services/index.mjs +1 -1
  171. package/dist/services/log-import/browser.d.mts +2 -2
  172. package/dist/services/log-import/index.d.mts +2 -2
  173. package/dist/services/log-import/log-import.d.mts +1 -1
  174. package/dist/services/log-import/log-import.mjs +1 -1
  175. package/dist/services/log-import/namespace.mjs +1 -1
  176. package/dist/services/log-import/schemas.mjs +1 -1
  177. package/dist/services/materialization/index.d.mts +5 -5
  178. package/dist/services/materialization/index.mjs +1 -1
  179. package/dist/services/model-registry/index.d.mts +1 -1
  180. package/dist/services/model-registry/index.mjs +1 -1
  181. package/dist/services/preferences/index.d.mts +2 -2
  182. package/dist/services/preferences/schemas.d.mts +1 -1
  183. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  184. package/dist/services/provider-context/index.d.mts +1 -1
  185. package/dist/services/provider-runtime/index.mjs +1 -1
  186. package/dist/services/session/handlers/index.d.mts +1 -1
  187. package/dist/services/session/handlers/index.mjs +1 -1
  188. package/dist/services/session/index.d.mts +9 -9
  189. package/dist/services/session/index.mjs +1 -1
  190. package/dist/services/session/messages/namespace.d.mts +1 -1
  191. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  192. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  193. package/dist/services/session/session-events/namespace.d.mts +1 -1
  194. package/dist/services/session/storage/namespace.d.mts +1 -1
  195. package/dist/services/session/storage/schema.d.mts +1 -1
  196. package/dist/services/session/testing/index.mjs +2 -2
  197. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  198. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  199. package/dist/services/session/turns/namespace.d.mts +1 -1
  200. package/dist/services/session-editor/index.d.mts +1 -1
  201. package/dist/services/session-editor/index.mjs +1 -1
  202. package/dist/services/settings/index.d.mts +3 -3
  203. package/dist/services/settings/namespace.d.mts +14 -14
  204. package/dist/services/settings/namespace.mjs +1 -1
  205. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  206. package/dist/services/settings/storage/extension-configs/namespace.d.mts +3 -3
  207. package/dist/services/settings/storage/index.d.mts +3 -3
  208. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  209. package/dist/services/subagent/index.d.mts +1 -1
  210. package/dist/services/subagent/index.mjs +1 -1
  211. package/dist/services/subagent-template/index.d.mts +2 -2
  212. package/dist/services/subagent-template/namespace.d.mts +1 -1
  213. package/dist/services/subagent-template/schemas.d.mts +1 -1
  214. package/dist/services/tool-approval/index.d.mts +1 -1
  215. package/dist/services/tool-approval/index.mjs +1 -1
  216. package/dist/services/tools/index.d.mts +1 -1
  217. package/dist/services/tools/index.mjs +1 -1
  218. package/dist/services/tray-menu/index.d.mts +3 -3
  219. package/dist/services/tray-menu/index.mjs +1 -1
  220. package/dist/services/tray-menu/namespace.d.mts +1 -1
  221. package/dist/services/tray-menu/schemas.d.mts +1 -1
  222. package/dist/services/turn/index.d.mts +1 -1
  223. package/dist/services/turn/namespace.d.mts +1 -1
  224. package/dist/services/turn/schemas.d.mts +24 -2
  225. package/dist/services/turn/schemas.mjs +1 -1
  226. package/dist/{session-BxWogVkD.mjs → session-Carng3Yk.mjs} +1 -1
  227. package/dist/session-idI1jk5X.mjs +76 -0
  228. package/dist/{session-lineage-CWlcOKBZ.d.mts → session-lineage-Cte63dGx.d.mts} +1 -1
  229. package/dist/src-XihJcAQS.mjs +1 -0
  230. package/dist/storage/drizzle/client.d.mts +1 -1
  231. package/dist/storage/drizzle/client.mjs +1 -1
  232. package/dist/storage/drizzle/index.d.mts +1 -1
  233. package/dist/storage/drizzle/index.mjs +1 -1
  234. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  235. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  236. package/dist/storage/handlers/index.d.mts +1 -1
  237. package/dist/storage/handlers/index.mjs +1 -1
  238. package/dist/{tool-approval-service-BgSn_6NT.mjs → tool-approval-service-fIZ9x0kL.mjs} +1 -1
  239. package/dist/{tools-CWSuNk-M.mjs → tools-Cs2DwjCC.mjs} +1 -1
  240. package/dist/{transition-CukPcOG5.d.mts → transition-BMYk_IVK.d.mts} +2 -2
  241. package/dist/{types-DiZJnwN0.d.mts → types-CtSkJqzV.d.mts} +104 -14
  242. package/dist/{types-Be7wY1De.d.mts → types-LspCUW09.d.mts} +1 -1
  243. package/dist/ui-components/index.d.mts +4 -4
  244. package/dist/ui-components/index.mjs +2 -2
  245. package/dist/ui-kernel/index.d.mts +1 -1
  246. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  247. package/dist/{view-builder-DQiA4wDH.d.mts → view-builder-CpKzgyS2.d.mts} +77 -18
  248. package/dist/workflow-BX-FxDb0.mjs +1 -0
  249. package/dist/workflow-engine/index.d.mts +76 -76
  250. package/dist/workflow-engine/index.mjs +1 -1
  251. package/dist/workflow-engine/package.d.mts +1 -1
  252. package/dist/workflow-engine/package.mjs +1 -1
  253. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  254. package/dist/workflow-worker-DR9qYOFc.mjs +1 -0
  255. package/package.json +4 -4
  256. package/dist/artifact-Dnpy5ei_.mjs +0 -1
  257. package/dist/authority-state-bootstrap-BlbmQ9A5.mjs +0 -1
  258. package/dist/bus-D-ioC0DE.mjs +0 -1
  259. package/dist/bus-rgUFuO2a.mjs +0 -2
  260. package/dist/client-CzPCSeyE.mjs +0 -1
  261. package/dist/client-binary-version-verifier-CaFlNNjs.mjs +0 -2
  262. package/dist/definition-ClKlXenJ.d.mts +0 -413
  263. package/dist/handlers-RGs3eC9X.mjs +0 -57
  264. package/dist/materialization-BBxXhthv.mjs +0 -1
  265. package/dist/package-3cW8oIkI.mjs +0 -1
  266. package/dist/packages-I0D3JP9L.mjs +0 -1
  267. package/dist/schemas-6H-dlMrB.mjs +0 -1
  268. package/dist/schemas-DyJHJ8Pm.mjs +0 -1
  269. package/dist/schemas-th_nuC5t.mjs +0 -1
  270. package/dist/scoped-bus-CZId-Df8.mjs +0 -1
  271. package/dist/session-CAjudDuJ.mjs +0 -76
  272. package/dist/src-T5DtFSyU.mjs +0 -1
  273. package/dist/workflow-DPeE6-Ta.mjs +0 -1
  274. package/dist/workflow-worker-CPCh68Qf.mjs +0 -1
  275. /package/dist/{adapter-auth-runtime-CotG_6M4.mjs → adapter-auth-runtime-DFBLXD5K.mjs} +0 -0
  276. /package/dist/{adapter-binding-DQ1HrGcH.d.mts → adapter-binding-Dfk_g-lP.d.mts} +0 -0
  277. /package/dist/{ajv-WvFKnw8d.mjs → ajv-C8r45sFs.mjs} +0 -0
  278. /package/dist/{await-trigger-COHFNyNi.mjs → await-trigger-UceeyCyi.mjs} +0 -0
  279. /package/dist/{base-orchestrator-p3zIcnaJ.d.mts → base-orchestrator-5yH3l39s.d.mts} +0 -0
  280. /package/dist/{capability-service-TCOwWrLi.mjs → capability-service-BzKBK0n2.mjs} +0 -0
  281. /package/dist/{client-CGEyBWKl.d.mts → client-DYEHDiJN.d.mts} +0 -0
  282. /package/dist/{client-binary-version-verifier-WsNRplFB.d.mts → client-binary-version-verifier-C12PvQmz.d.mts} +0 -0
  283. /package/dist/{clients-namespace-ClKm1GLT.d.mts → clients-namespace-DcFmhtLv.d.mts} +0 -0
  284. /package/dist/{config-namespace-DOw8R5eb.d.mts → config-namespace-DmP7NVju.d.mts} +0 -0
  285. /package/dist/{create-static-mount-DM9qO98Q.mjs → create-static-mount-BLbqGmva.mjs} +0 -0
  286. /package/dist/{cross-spawn-CVfmnMVP.mjs → cross-spawn-BXxQUsPS.mjs} +0 -0
  287. /package/dist/{cursor-storage-BoFVjVGq.mjs → cursor-storage-DCj4uUxr.mjs} +0 -0
  288. /package/dist/{definition-BZrouYAq.d.mts → definition-BEvV7tbD.d.mts} +0 -0
  289. /package/dist/{descriptor-to-package-DCwvJoUE.mjs → descriptor-to-package-VfB8lK5w.mjs} +0 -0
  290. /package/dist/{drizzle-BQDvlDL2.mjs → drizzle-oCH9H53q.mjs} +0 -0
  291. /package/dist/{esm-1UzF2r1U.mjs → esm-ClQELElL.mjs} +0 -0
  292. /package/dist/{event-Ddxe4yp9.mjs → event-BOLVCfhH.mjs} +0 -0
  293. /package/dist/{execution-target-D6PoGaO8.mjs → execution-target-CsZXIvli.mjs} +0 -0
  294. /package/dist/{extension-discovery-Cce4FmRu.d.mts → extension-discovery-B6p3iZaV.d.mts} +0 -0
  295. /package/dist/{filesystem-service-CWBzOEAA.d.mts → filesystem-service-CGdboor3.d.mts} +0 -0
  296. /package/dist/{handler-Bxs0moLY.mjs → handler-GGOD_ofd.mjs} +0 -0
  297. /package/dist/{identity-D481xSkS.mjs → identity-BmEHHoBw.mjs} +0 -0
  298. /package/dist/{index-BoCL9IHT.d.mts → index-BDDbcWNI.d.mts} +0 -0
  299. /package/dist/{index-p1N3ZuqF.d.mts → index-BG9-vQHD.d.mts} +0 -0
  300. /package/dist/{index-C2PHX5Em.d.mts → index-BSmwpgkR.d.mts} +0 -0
  301. /package/dist/{index-M8rNEeH8.d.mts → index-BUYyZm5I.d.mts} +0 -0
  302. /package/dist/{index-Jec13bI-2.d.mts → index-Bd1GC1kU2.d.mts} +0 -0
  303. /package/dist/{index-D3cH5U0n.d.mts → index-BgpYhR2z.d.mts} +0 -0
  304. /package/dist/{index-BrvsExEF.d.mts → index-Brdc35b-.d.mts} +0 -0
  305. /package/dist/{index-4b-ig5Uf.d.mts → index-C96LlS5m.d.mts} +0 -0
  306. /package/dist/{index-RtP5Mi4D.d.mts → index-CFeY8lfU.d.mts} +0 -0
  307. /package/dist/{index-NZ-gfUOw.d.mts → index-CcsJnJOD.d.mts} +0 -0
  308. /package/dist/{index-XLGBNeu0.d.mts → index-CdEhEXlY.d.mts} +0 -0
  309. /package/dist/{index-DKCFz7dL.d.mts → index-Chy9aknK.d.mts} +0 -0
  310. /package/dist/{index-BRdPSBFH2.d.mts → index-Ci3_i-WC2.d.mts} +0 -0
  311. /package/dist/{index-ChsmMZmN.d.mts → index-DC0yVsYL.d.mts} +0 -0
  312. /package/dist/{index-DIAmg04s.d.mts → index-DEchpaya.d.mts} +0 -0
  313. /package/dist/{index-CNS1jyBU.d.mts → index-DYUxNOIX.d.mts} +0 -0
  314. /package/dist/{index-fFSPF7N0.d.mts → index-DaMfTvfz.d.mts} +0 -0
  315. /package/dist/{index-Dx6P-ajY.d.mts → index-DquI_1X5.d.mts} +0 -0
  316. /package/dist/{index-DbP0yaRw.d.mts → index-GYZs75UP.d.mts} +0 -0
  317. /package/dist/{index-CQco6KNL.d.mts → index-oYGf2zIe.d.mts} +0 -0
  318. /package/dist/{index-BOlzcjwS.d.mts → index-pgYFJ5h6.d.mts} +0 -0
  319. /package/dist/{json-value-BsWNQQbr.d.mts → json-value-BwVdTylT.d.mts} +0 -0
  320. /package/dist/{jsonl-transport-B70HQ9l1.mjs → jsonl-transport-D8RBF0dK.mjs} +0 -0
  321. /package/dist/{lib-C_apP_9s.mjs → lib-3_xcE8J-.mjs} +0 -0
  322. /package/dist/{model-registry-C3NX834K.mjs → model-registry-CoegIvks.mjs} +0 -0
  323. /package/dist/{namespace-Bogua97s.d.mts → namespace-8-GrdcbF.d.mts} +0 -0
  324. /package/dist/{namespace-DNgZ_rfi.d.mts → namespace-B9CYb9Gh.d.mts} +0 -0
  325. /package/dist/{namespace-DDx4NVJm.mjs → namespace-BHj13hbA.mjs} +0 -0
  326. /package/dist/{namespace-Dzbt8LqQ.d.mts → namespace-BHliaabz.d.mts} +0 -0
  327. /package/dist/{namespace-BqlDkdht2.d.mts → namespace-BSXHdCVh2.d.mts} +0 -0
  328. /package/dist/{namespace-CU1jSw6E.d.mts → namespace-Bd49QmzS.d.mts} +0 -0
  329. /package/dist/{namespace-kIjqar0Y.mjs → namespace-BeED_Ojz.mjs} +0 -0
  330. /package/dist/{namespace-SwgMs4rw.d.mts → namespace-D9HNjIdc.d.mts} +0 -0
  331. /package/dist/{namespace-B1_egU5J.mjs → namespace-DWwWnLBu.mjs} +0 -0
  332. /package/dist/{namespace-UCwUrFRx.d.mts → namespace-De9Mg3zv.d.mts} +0 -0
  333. /package/dist/{namespace-CddQuUvG.d.mts → namespace-SQAGytmu.d.mts} +0 -0
  334. /package/dist/{orchestrator-shared-DrEFeZYw.d.mts → orchestrator-shared-BB6j8ezL.d.mts} +0 -0
  335. /package/dist/{orchestrator-shared-jYk9mi5C.mjs → orchestrator-shared-CY7Tu7kZ.mjs} +0 -0
  336. /package/dist/{out-B6fO6go6.mjs → out-CFkI17mk.mjs} +0 -0
  337. /package/dist/{package-BVm1EakP.d.mts → package-BSG1681x.d.mts} +0 -0
  338. /package/dist/{providers-namespace-Bl3M8Ibo.d.mts → providers-namespace-sPbGcZ6I.d.mts} +0 -0
  339. /package/dist/{quick-lru-Coxb6GVa.mjs → quick-lru-CTBjxfgD.mjs} +0 -0
  340. /package/dist/{registry-ElIHcMM2.mjs → registry-Dw6l7k3e.mjs} +0 -0
  341. /package/dist/{schema-DOPEco97.d.mts → schema-CfMsufSb.d.mts} +0 -0
  342. /package/dist/{schemas-B3K1ekm7.d.mts → schemas-B4FyOOJj.d.mts} +0 -0
  343. /package/dist/{schemas-Dq_g7Giu.d.mts → schemas-B5tMYfhC.d.mts} +0 -0
  344. /package/dist/{schemas-D_H0ztxl.d.mts → schemas-BAvt2HDy.d.mts} +0 -0
  345. /package/dist/{schemas-FiDj_kLq.mjs → schemas-BGS9RfqV.mjs} +0 -0
  346. /package/dist/{schemas-BKgUDm_a2.d.mts → schemas-BKKpQC4X2.d.mts} +0 -0
  347. /package/dist/{schemas-CzT0LApM.d.mts → schemas-ChF2z4RB.d.mts} +0 -0
  348. /package/dist/{schemas-DfZ85CRF2.d.mts → schemas-CiWCNQ9a2.d.mts} +0 -0
  349. /package/dist/{schemas-pl0mzEtO.d.mts → schemas-D55eXBgl.d.mts} +0 -0
  350. /package/dist/{schemas-CVbfHPw-.d.mts → schemas-DYvvMd3c.d.mts} +0 -0
  351. /package/dist/{schemas-DPosZWw-.d.mts → schemas-Dmij0PIc.d.mts} +0 -0
  352. /package/dist/{server-lifecycle-DzO3rjKP.d.mts → server-lifecycle-C-3OgoKi.d.mts} +0 -0
  353. /package/dist/{server-lifecycle-DLdh0-4H.mjs → server-lifecycle-DV6NMsgH.mjs} +0 -0
  354. /package/dist/{src-Dqa1n_kI.mjs → src-ftBp6GpR.mjs} +0 -0
  355. /package/dist/{storage-namespace-D4yQ--Sp.d.mts → storage-namespace-9N9R61pI.d.mts} +0 -0
  356. /package/dist/{storage-namespace-B1_x8Ho2.mjs → storage-namespace-B1GI4elv.mjs} +0 -0
  357. /package/dist/{storage-namespace-definition-BzSaRLtZ.d.mts → storage-namespace-definition-V8sc3drq.d.mts} +0 -0
  358. /package/dist/{supports-color-CCdGjFUY.mjs → supports-color-DwW9N6YC.mjs} +0 -0
  359. /package/dist/{tray-menu-service-BJ9r7IY3.mjs → tray-menu-service-Dgedanv-.mjs} +0 -0
  360. /package/dist/{types-Diu9uAnB.d.mts → types-Bju4dmAg.d.mts} +0 -0
  361. /package/dist/{types-C8_OhAFv.d.mts → types-DBb5jY4Z.d.mts} +0 -0
  362. /package/dist/{types-Bgb8eQkd.d.mts → types-DVLq657Y.d.mts} +0 -0
  363. /package/dist/{types-B9QOZAZ5.d.mts → types-DkFvBdIY.d.mts} +0 -0
  364. /package/dist/{window-registry-CHv3cgSN.d.mts → window-registry-Qcnvlhp7.d.mts} +0 -0
@@ -1,6 +1,6 @@
1
- import { H as SessionMessage$1, ct as BranchKind$1 } from "./types-DiZJnwN0.mjs";
2
- import { o as Message$1 } from "./index-DD9inq5h.mjs";
3
- import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-BzSaRLtZ.mjs";
1
+ import { H as SessionMessage$1, ct as BranchKind$1 } from "./types-CtSkJqzV.mjs";
2
+ import { o as Message$1 } from "./index-4NQLoI7R.mjs";
3
+ import { t as ContractStorageNamespaceDefinition } from "./storage-namespace-definition-V8sc3drq.mjs";
4
4
  import * as _$zod from "zod";
5
5
  import { z } from "zod";
6
6
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -1025,6 +1025,17 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
1025
1025
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
1026
1026
  }, _$zod_v4_core0.$strip>], "type">>]>;
1027
1027
  }, _$zod_v4_core0.$strip>]>>;
1028
+ responseSchema: _$zod.ZodOptional<_$zod.ZodObject<{
1029
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
1030
+ name: _$zod.ZodOptional<_$zod.ZodString>;
1031
+ strict: _$zod.ZodOptional<_$zod.ZodBoolean>;
1032
+ }, _$zod_v4_core0.$strict>>;
1033
+ source: _$zod.ZodOptional<_$zod.ZodEnum<{
1034
+ user: "user";
1035
+ system: "system";
1036
+ extension: "extension";
1037
+ }>>;
1038
+ extensionId: _$zod.ZodOptional<_$zod.ZodString>;
1028
1039
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
1029
1040
  lead: "lead";
1030
1041
  member: "member";
@@ -1225,6 +1236,7 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
1225
1236
  state: _$zod.ZodLiteral<"unresolved">;
1226
1237
  }, _$zod_v4_core0.$strict>], "state">>;
1227
1238
  }, _$zod_v4_core0.$loose>;
1239
+ harnessId: _$zod.ZodOptional<_$zod.ZodString>;
1228
1240
  initialMessage: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
1229
1241
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
1230
1242
  user: "user";
@@ -1347,6 +1359,18 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
1347
1359
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
1348
1360
  }, _$zod_v4_core0.$strip>], "type">>]>;
1349
1361
  }, _$zod_v4_core0.$strip>]>>;
1362
+ responseSchema: _$zod.ZodOptional<_$zod.ZodObject<{
1363
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
1364
+ name: _$zod.ZodOptional<_$zod.ZodString>;
1365
+ strict: _$zod.ZodOptional<_$zod.ZodBoolean>;
1366
+ }, _$zod_v4_core0.$strict>>;
1367
+ source: _$zod.ZodOptional<_$zod.ZodEnum<{
1368
+ user: "user";
1369
+ system: "system";
1370
+ extension: "extension";
1371
+ }>>;
1372
+ extensionId: _$zod.ZodOptional<_$zod.ZodString>;
1373
+ assertInitialMessageAdmission: _$zod.ZodOptional<_$zod.ZodUnknown>;
1350
1374
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
1351
1375
  lead: "lead";
1352
1376
  member: "member";
@@ -1397,11 +1421,13 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
1397
1421
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
1398
1422
  total: _$zod.ZodObject<{
1399
1423
  inputTokens: _$zod.ZodNumber;
1424
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
1400
1425
  outputTokens: _$zod.ZodNumber;
1401
1426
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
1402
1427
  }, _$zod_v4_core0.$strip>;
1403
1428
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
1404
1429
  inputTokens: _$zod.ZodNumber;
1430
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
1405
1431
  outputTokens: _$zod.ZodNumber;
1406
1432
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
1407
1433
  }, _$zod_v4_core0.$strip>>>;
@@ -1435,11 +1461,13 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
1435
1461
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
1436
1462
  total: _$zod.ZodObject<{
1437
1463
  inputTokens: _$zod.ZodNumber;
1464
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
1438
1465
  outputTokens: _$zod.ZodNumber;
1439
1466
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
1440
1467
  }, _$zod_v4_core0.$strip>;
1441
1468
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
1442
1469
  inputTokens: _$zod.ZodNumber;
1470
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
1443
1471
  outputTokens: _$zod.ZodNumber;
1444
1472
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
1445
1473
  }, _$zod_v4_core0.$strip>>>;
@@ -2100,11 +2128,13 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
2100
2128
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
2101
2129
  total: _$zod.ZodObject<{
2102
2130
  inputTokens: _$zod.ZodNumber;
2131
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2103
2132
  outputTokens: _$zod.ZodNumber;
2104
2133
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
2105
2134
  }, _$zod_v4_core0.$strip>;
2106
2135
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
2107
2136
  inputTokens: _$zod.ZodNumber;
2137
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2108
2138
  outputTokens: _$zod.ZodNumber;
2109
2139
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
2110
2140
  }, _$zod_v4_core0.$strip>>>;
@@ -2353,11 +2383,13 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
2353
2383
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
2354
2384
  total: _$zod.ZodObject<{
2355
2385
  inputTokens: _$zod.ZodNumber;
2386
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2356
2387
  outputTokens: _$zod.ZodNumber;
2357
2388
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
2358
2389
  }, _$zod_v4_core0.$strip>;
2359
2390
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
2360
2391
  inputTokens: _$zod.ZodNumber;
2392
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2361
2393
  outputTokens: _$zod.ZodNumber;
2362
2394
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
2363
2395
  }, _$zod_v4_core0.$strip>>>;
@@ -2436,8 +2468,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
2436
2468
  type: _$zod.ZodLiteral<"locality.degraded">;
2437
2469
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
2438
2470
  intent: _$zod.ZodEnum<{
2439
- resume: "resume";
2440
2471
  fork: "fork";
2472
+ resume: "resume";
2441
2473
  }>;
2442
2474
  verdictKind: _$zod.ZodLiteral<"degrade">;
2443
2475
  reason: _$zod.ZodEnum<{
@@ -2461,8 +2493,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
2461
2493
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
2462
2494
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2463
2495
  intent: _$zod.ZodEnum<{
2464
- resume: "resume";
2465
2496
  fork: "fork";
2497
+ resume: "resume";
2466
2498
  }>;
2467
2499
  verdictKind: _$zod.ZodLiteral<"foreign">;
2468
2500
  foreignMachineId: _$zod.ZodString;
@@ -2733,11 +2765,13 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
2733
2765
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
2734
2766
  total: _$zod.ZodObject<{
2735
2767
  inputTokens: _$zod.ZodNumber;
2768
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2736
2769
  outputTokens: _$zod.ZodNumber;
2737
2770
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
2738
2771
  }, _$zod_v4_core0.$strip>;
2739
2772
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
2740
2773
  inputTokens: _$zod.ZodNumber;
2774
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2741
2775
  outputTokens: _$zod.ZodNumber;
2742
2776
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
2743
2777
  }, _$zod_v4_core0.$strip>>>;
@@ -2986,11 +3020,13 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
2986
3020
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
2987
3021
  total: _$zod.ZodObject<{
2988
3022
  inputTokens: _$zod.ZodNumber;
3023
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2989
3024
  outputTokens: _$zod.ZodNumber;
2990
3025
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
2991
3026
  }, _$zod_v4_core0.$strip>;
2992
3027
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
2993
3028
  inputTokens: _$zod.ZodNumber;
3029
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
2994
3030
  outputTokens: _$zod.ZodNumber;
2995
3031
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
2996
3032
  }, _$zod_v4_core0.$strip>>>;
@@ -3069,8 +3105,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3069
3105
  type: _$zod.ZodLiteral<"locality.degraded">;
3070
3106
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3071
3107
  intent: _$zod.ZodEnum<{
3072
- resume: "resume";
3073
3108
  fork: "fork";
3109
+ resume: "resume";
3074
3110
  }>;
3075
3111
  verdictKind: _$zod.ZodLiteral<"degrade">;
3076
3112
  reason: _$zod.ZodEnum<{
@@ -3094,8 +3130,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3094
3130
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3095
3131
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3096
3132
  intent: _$zod.ZodEnum<{
3097
- resume: "resume";
3098
3133
  fork: "fork";
3134
+ resume: "resume";
3099
3135
  }>;
3100
3136
  verdictKind: _$zod.ZodLiteral<"foreign">;
3101
3137
  foreignMachineId: _$zod.ZodString;
@@ -3198,8 +3234,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3198
3234
  timestamp: _$zod.ZodNumber;
3199
3235
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3200
3236
  intent: _$zod.ZodEnum<{
3201
- resume: "resume";
3202
3237
  fork: "fork";
3238
+ resume: "resume";
3203
3239
  }>;
3204
3240
  verdictKind: _$zod.ZodLiteral<"degrade">;
3205
3241
  reason: _$zod.ZodEnum<{
@@ -3223,8 +3259,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3223
3259
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3224
3260
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3225
3261
  intent: _$zod.ZodEnum<{
3226
- resume: "resume";
3227
3262
  fork: "fork";
3263
+ resume: "resume";
3228
3264
  }>;
3229
3265
  verdictKind: _$zod.ZodLiteral<"foreign">;
3230
3266
  foreignMachineId: _$zod.ZodString;
@@ -3498,11 +3534,13 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3498
3534
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
3499
3535
  total: _$zod.ZodObject<{
3500
3536
  inputTokens: _$zod.ZodNumber;
3537
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
3501
3538
  outputTokens: _$zod.ZodNumber;
3502
3539
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
3503
3540
  }, _$zod_v4_core0.$strip>;
3504
3541
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
3505
3542
  inputTokens: _$zod.ZodNumber;
3543
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
3506
3544
  outputTokens: _$zod.ZodNumber;
3507
3545
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
3508
3546
  }, _$zod_v4_core0.$strip>>>;
@@ -3581,8 +3619,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3581
3619
  type: _$zod.ZodLiteral<"locality.degraded">;
3582
3620
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3583
3621
  intent: _$zod.ZodEnum<{
3584
- resume: "resume";
3585
3622
  fork: "fork";
3623
+ resume: "resume";
3586
3624
  }>;
3587
3625
  verdictKind: _$zod.ZodLiteral<"degrade">;
3588
3626
  reason: _$zod.ZodEnum<{
@@ -3606,8 +3644,8 @@ declare const SessionNamespace: _$_makaio_core0.BusNamespaceDefinition<"session"
3606
3644
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
3607
3645
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3608
3646
  intent: _$zod.ZodEnum<{
3609
- resume: "resume";
3610
3647
  fork: "fork";
3648
+ resume: "resume";
3611
3649
  }>;
3612
3650
  verdictKind: _$zod.ZodLiteral<"foreign">;
3613
3651
  foreignMachineId: _$zod.ZodString;
@@ -5294,6 +5332,17 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
5294
5332
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
5295
5333
  }, _$zod_v4_core0.$strip>], "type">>]>;
5296
5334
  }, _$zod_v4_core0.$strip>]>>;
5335
+ responseSchema: _$zod.ZodOptional<_$zod.ZodObject<{
5336
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
5337
+ name: _$zod.ZodOptional<_$zod.ZodString>;
5338
+ strict: _$zod.ZodOptional<_$zod.ZodBoolean>;
5339
+ }, _$zod_v4_core0.$strict>>;
5340
+ source: _$zod.ZodOptional<_$zod.ZodEnum<{
5341
+ user: "user";
5342
+ system: "system";
5343
+ extension: "extension";
5344
+ }>>;
5345
+ extensionId: _$zod.ZodOptional<_$zod.ZodString>;
5297
5346
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
5298
5347
  lead: "lead";
5299
5348
  member: "member";
@@ -5494,6 +5543,7 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
5494
5543
  state: _$zod.ZodLiteral<"unresolved">;
5495
5544
  }, _$zod_v4_core0.$strict>], "state">>;
5496
5545
  }, _$zod_v4_core0.$loose>;
5546
+ harnessId: _$zod.ZodOptional<_$zod.ZodString>;
5497
5547
  initialMessage: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
5498
5548
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
5499
5549
  user: "user";
@@ -5616,6 +5666,18 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
5616
5666
  isError: _$zod.ZodOptional<_$zod.ZodBoolean>;
5617
5667
  }, _$zod_v4_core0.$strip>], "type">>]>;
5618
5668
  }, _$zod_v4_core0.$strip>]>>;
5669
+ responseSchema: _$zod.ZodOptional<_$zod.ZodObject<{
5670
+ schema: _$zod.ZodType<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>, _$zod_v4_core0.$ZodTypeInternals<Record<string, _$_makaio_contracts0.JsonValue>, Record<string, _$_makaio_contracts0.JsonValue>>>;
5671
+ name: _$zod.ZodOptional<_$zod.ZodString>;
5672
+ strict: _$zod.ZodOptional<_$zod.ZodBoolean>;
5673
+ }, _$zod_v4_core0.$strict>>;
5674
+ source: _$zod.ZodOptional<_$zod.ZodEnum<{
5675
+ user: "user";
5676
+ system: "system";
5677
+ extension: "extension";
5678
+ }>>;
5679
+ extensionId: _$zod.ZodOptional<_$zod.ZodString>;
5680
+ assertInitialMessageAdmission: _$zod.ZodOptional<_$zod.ZodUnknown>;
5619
5681
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
5620
5682
  lead: "lead";
5621
5683
  member: "member";
@@ -5666,11 +5728,13 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
5666
5728
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
5667
5729
  total: _$zod.ZodObject<{
5668
5730
  inputTokens: _$zod.ZodNumber;
5731
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
5669
5732
  outputTokens: _$zod.ZodNumber;
5670
5733
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5671
5734
  }, _$zod_v4_core0.$strip>;
5672
5735
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
5673
5736
  inputTokens: _$zod.ZodNumber;
5737
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
5674
5738
  outputTokens: _$zod.ZodNumber;
5675
5739
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5676
5740
  }, _$zod_v4_core0.$strip>>>;
@@ -5704,11 +5768,13 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
5704
5768
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
5705
5769
  total: _$zod.ZodObject<{
5706
5770
  inputTokens: _$zod.ZodNumber;
5771
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
5707
5772
  outputTokens: _$zod.ZodNumber;
5708
5773
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5709
5774
  }, _$zod_v4_core0.$strip>;
5710
5775
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
5711
5776
  inputTokens: _$zod.ZodNumber;
5777
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
5712
5778
  outputTokens: _$zod.ZodNumber;
5713
5779
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
5714
5780
  }, _$zod_v4_core0.$strip>>>;
@@ -6369,11 +6435,13 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
6369
6435
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
6370
6436
  total: _$zod.ZodObject<{
6371
6437
  inputTokens: _$zod.ZodNumber;
6438
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
6372
6439
  outputTokens: _$zod.ZodNumber;
6373
6440
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
6374
6441
  }, _$zod_v4_core0.$strip>;
6375
6442
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
6376
6443
  inputTokens: _$zod.ZodNumber;
6444
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
6377
6445
  outputTokens: _$zod.ZodNumber;
6378
6446
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
6379
6447
  }, _$zod_v4_core0.$strip>>>;
@@ -6622,11 +6690,13 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
6622
6690
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
6623
6691
  total: _$zod.ZodObject<{
6624
6692
  inputTokens: _$zod.ZodNumber;
6693
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
6625
6694
  outputTokens: _$zod.ZodNumber;
6626
6695
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
6627
6696
  }, _$zod_v4_core0.$strip>;
6628
6697
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
6629
6698
  inputTokens: _$zod.ZodNumber;
6699
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
6630
6700
  outputTokens: _$zod.ZodNumber;
6631
6701
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
6632
6702
  }, _$zod_v4_core0.$strip>>>;
@@ -6705,8 +6775,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
6705
6775
  type: _$zod.ZodLiteral<"locality.degraded">;
6706
6776
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6707
6777
  intent: _$zod.ZodEnum<{
6708
- resume: "resume";
6709
6778
  fork: "fork";
6779
+ resume: "resume";
6710
6780
  }>;
6711
6781
  verdictKind: _$zod.ZodLiteral<"degrade">;
6712
6782
  reason: _$zod.ZodEnum<{
@@ -6730,8 +6800,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
6730
6800
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6731
6801
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6732
6802
  intent: _$zod.ZodEnum<{
6733
- resume: "resume";
6734
6803
  fork: "fork";
6804
+ resume: "resume";
6735
6805
  }>;
6736
6806
  verdictKind: _$zod.ZodLiteral<"foreign">;
6737
6807
  foreignMachineId: _$zod.ZodString;
@@ -7002,11 +7072,13 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7002
7072
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
7003
7073
  total: _$zod.ZodObject<{
7004
7074
  inputTokens: _$zod.ZodNumber;
7075
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
7005
7076
  outputTokens: _$zod.ZodNumber;
7006
7077
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
7007
7078
  }, _$zod_v4_core0.$strip>;
7008
7079
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
7009
7080
  inputTokens: _$zod.ZodNumber;
7081
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
7010
7082
  outputTokens: _$zod.ZodNumber;
7011
7083
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
7012
7084
  }, _$zod_v4_core0.$strip>>>;
@@ -7255,11 +7327,13 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7255
7327
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
7256
7328
  total: _$zod.ZodObject<{
7257
7329
  inputTokens: _$zod.ZodNumber;
7330
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
7258
7331
  outputTokens: _$zod.ZodNumber;
7259
7332
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
7260
7333
  }, _$zod_v4_core0.$strip>;
7261
7334
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
7262
7335
  inputTokens: _$zod.ZodNumber;
7336
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
7263
7337
  outputTokens: _$zod.ZodNumber;
7264
7338
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
7265
7339
  }, _$zod_v4_core0.$strip>>>;
@@ -7338,8 +7412,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7338
7412
  type: _$zod.ZodLiteral<"locality.degraded">;
7339
7413
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
7340
7414
  intent: _$zod.ZodEnum<{
7341
- resume: "resume";
7342
7415
  fork: "fork";
7416
+ resume: "resume";
7343
7417
  }>;
7344
7418
  verdictKind: _$zod.ZodLiteral<"degrade">;
7345
7419
  reason: _$zod.ZodEnum<{
@@ -7363,8 +7437,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7363
7437
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
7364
7438
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
7365
7439
  intent: _$zod.ZodEnum<{
7366
- resume: "resume";
7367
7440
  fork: "fork";
7441
+ resume: "resume";
7368
7442
  }>;
7369
7443
  verdictKind: _$zod.ZodLiteral<"foreign">;
7370
7444
  foreignMachineId: _$zod.ZodString;
@@ -7467,8 +7541,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7467
7541
  timestamp: _$zod.ZodNumber;
7468
7542
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
7469
7543
  intent: _$zod.ZodEnum<{
7470
- resume: "resume";
7471
7544
  fork: "fork";
7545
+ resume: "resume";
7472
7546
  }>;
7473
7547
  verdictKind: _$zod.ZodLiteral<"degrade">;
7474
7548
  reason: _$zod.ZodEnum<{
@@ -7492,8 +7566,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7492
7566
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
7493
7567
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
7494
7568
  intent: _$zod.ZodEnum<{
7495
- resume: "resume";
7496
7569
  fork: "fork";
7570
+ resume: "resume";
7497
7571
  }>;
7498
7572
  verdictKind: _$zod.ZodLiteral<"foreign">;
7499
7573
  foreignMachineId: _$zod.ZodString;
@@ -7767,11 +7841,13 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7767
7841
  usage: _$zod.ZodOptional<_$zod.ZodObject<{
7768
7842
  total: _$zod.ZodObject<{
7769
7843
  inputTokens: _$zod.ZodNumber;
7844
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
7770
7845
  outputTokens: _$zod.ZodNumber;
7771
7846
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
7772
7847
  }, _$zod_v4_core0.$strip>;
7773
7848
  byAgent: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodObject<{
7774
7849
  inputTokens: _$zod.ZodNumber;
7850
+ cachedInputTokens: _$zod.ZodOptional<_$zod.ZodNumber>;
7775
7851
  outputTokens: _$zod.ZodNumber;
7776
7852
  cost: _$zod.ZodOptional<_$zod.ZodNumber>;
7777
7853
  }, _$zod_v4_core0.$strip>>>;
@@ -7850,8 +7926,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7850
7926
  type: _$zod.ZodLiteral<"locality.degraded">;
7851
7927
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
7852
7928
  intent: _$zod.ZodEnum<{
7853
- resume: "resume";
7854
7929
  fork: "fork";
7930
+ resume: "resume";
7855
7931
  }>;
7856
7932
  verdictKind: _$zod.ZodLiteral<"degrade">;
7857
7933
  reason: _$zod.ZodEnum<{
@@ -7875,8 +7951,8 @@ declare const SessionSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
7875
7951
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
7876
7952
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
7877
7953
  intent: _$zod.ZodEnum<{
7878
- resume: "resume";
7879
7954
  fork: "fork";
7955
+ resume: "resume";
7880
7956
  }>;
7881
7957
  verdictKind: _$zod.ZodLiteral<"foreign">;
7882
7958
  foreignMachineId: _$zod.ZodString;
@@ -9370,8 +9446,8 @@ declare const MessageStorageNamespace$1: ContractStorageNamespaceDefinition<"mes
9370
9446
  isError: z.ZodOptional<z.ZodBoolean>;
9371
9447
  }, z.core.$strip>], "type">>;
9372
9448
  agentId: z.ZodOptional<z.ZodString>;
9373
- adapterSessionId: z.ZodOptional<z.ZodString>;
9374
9449
  turnId: z.ZodNullable<z.ZodString>;
9450
+ adapterSessionId: z.ZodOptional<z.ZodString>;
9375
9451
  timestamp: z.ZodNumber;
9376
9452
  contentText: z.ZodString;
9377
9453
  adapterMessageId: z.ZodOptional<z.ZodString>;
@@ -10218,8 +10294,8 @@ declare const MessageStorageSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_co
10218
10294
  isError: z.ZodOptional<z.ZodBoolean>;
10219
10295
  }, z.core.$strip>], "type">>;
10220
10296
  agentId: z.ZodOptional<z.ZodString>;
10221
- adapterSessionId: z.ZodOptional<z.ZodString>;
10222
10297
  turnId: z.ZodNullable<z.ZodString>;
10298
+ adapterSessionId: z.ZodOptional<z.ZodString>;
10223
10299
  timestamp: z.ZodNumber;
10224
10300
  contentText: z.ZodString;
10225
10301
  adapterMessageId: z.ZodOptional<z.ZodString>;
@@ -11277,11 +11353,13 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
11277
11353
  usage: z.ZodOptional<z.ZodObject<{
11278
11354
  total: z.ZodObject<{
11279
11355
  inputTokens: z.ZodNumber;
11356
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
11280
11357
  outputTokens: z.ZodNumber;
11281
11358
  cost: z.ZodOptional<z.ZodNumber>;
11282
11359
  }, z.core.$strip>;
11283
11360
  byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11284
11361
  inputTokens: z.ZodNumber;
11362
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
11285
11363
  outputTokens: z.ZodNumber;
11286
11364
  cost: z.ZodOptional<z.ZodNumber>;
11287
11365
  }, z.core.$strip>>>;
@@ -11360,8 +11438,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
11360
11438
  type: z.ZodLiteral<"locality.degraded">;
11361
11439
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11362
11440
  intent: z.ZodEnum<{
11363
- resume: "resume";
11364
11441
  fork: "fork";
11442
+ resume: "resume";
11365
11443
  }>;
11366
11444
  verdictKind: z.ZodLiteral<"degrade">;
11367
11445
  reason: z.ZodEnum<{
@@ -11385,8 +11463,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
11385
11463
  turnId: z.ZodOptional<z.ZodString>;
11386
11464
  }, z.core.$strip>, z.ZodObject<{
11387
11465
  intent: z.ZodEnum<{
11388
- resume: "resume";
11389
11466
  fork: "fork";
11467
+ resume: "resume";
11390
11468
  }>;
11391
11469
  verdictKind: z.ZodLiteral<"foreign">;
11392
11470
  foreignMachineId: z.ZodString;
@@ -11662,11 +11740,13 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
11662
11740
  usage: z.ZodOptional<z.ZodObject<{
11663
11741
  total: z.ZodObject<{
11664
11742
  inputTokens: z.ZodNumber;
11743
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
11665
11744
  outputTokens: z.ZodNumber;
11666
11745
  cost: z.ZodOptional<z.ZodNumber>;
11667
11746
  }, z.core.$strip>;
11668
11747
  byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11669
11748
  inputTokens: z.ZodNumber;
11749
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
11670
11750
  outputTokens: z.ZodNumber;
11671
11751
  cost: z.ZodOptional<z.ZodNumber>;
11672
11752
  }, z.core.$strip>>>;
@@ -11745,8 +11825,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
11745
11825
  type: z.ZodLiteral<"locality.degraded">;
11746
11826
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
11747
11827
  intent: z.ZodEnum<{
11748
- resume: "resume";
11749
11828
  fork: "fork";
11829
+ resume: "resume";
11750
11830
  }>;
11751
11831
  verdictKind: z.ZodLiteral<"degrade">;
11752
11832
  reason: z.ZodEnum<{
@@ -11770,8 +11850,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
11770
11850
  turnId: z.ZodOptional<z.ZodString>;
11771
11851
  }, z.core.$strip>, z.ZodObject<{
11772
11852
  intent: z.ZodEnum<{
11773
- resume: "resume";
11774
11853
  fork: "fork";
11854
+ resume: "resume";
11775
11855
  }>;
11776
11856
  verdictKind: z.ZodLiteral<"foreign">;
11777
11857
  foreignMachineId: z.ZodString;
@@ -12037,11 +12117,13 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
12037
12117
  usage: z.ZodOptional<z.ZodObject<{
12038
12118
  total: z.ZodObject<{
12039
12119
  inputTokens: z.ZodNumber;
12120
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
12040
12121
  outputTokens: z.ZodNumber;
12041
12122
  cost: z.ZodOptional<z.ZodNumber>;
12042
12123
  }, z.core.$strip>;
12043
12124
  byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12044
12125
  inputTokens: z.ZodNumber;
12126
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
12045
12127
  outputTokens: z.ZodNumber;
12046
12128
  cost: z.ZodOptional<z.ZodNumber>;
12047
12129
  }, z.core.$strip>>>;
@@ -12120,8 +12202,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
12120
12202
  type: z.ZodLiteral<"locality.degraded">;
12121
12203
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
12122
12204
  intent: z.ZodEnum<{
12123
- resume: "resume";
12124
12205
  fork: "fork";
12206
+ resume: "resume";
12125
12207
  }>;
12126
12208
  verdictKind: z.ZodLiteral<"degrade">;
12127
12209
  reason: z.ZodEnum<{
@@ -12145,8 +12227,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
12145
12227
  turnId: z.ZodOptional<z.ZodString>;
12146
12228
  }, z.core.$strip>, z.ZodObject<{
12147
12229
  intent: z.ZodEnum<{
12148
- resume: "resume";
12149
12230
  fork: "fork";
12231
+ resume: "resume";
12150
12232
  }>;
12151
12233
  verdictKind: z.ZodLiteral<"foreign">;
12152
12234
  foreignMachineId: z.ZodString;
@@ -12426,11 +12508,13 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
12426
12508
  usage: z.ZodOptional<z.ZodObject<{
12427
12509
  total: z.ZodObject<{
12428
12510
  inputTokens: z.ZodNumber;
12511
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
12429
12512
  outputTokens: z.ZodNumber;
12430
12513
  cost: z.ZodOptional<z.ZodNumber>;
12431
12514
  }, z.core.$strip>;
12432
12515
  byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12433
12516
  inputTokens: z.ZodNumber;
12517
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
12434
12518
  outputTokens: z.ZodNumber;
12435
12519
  cost: z.ZodOptional<z.ZodNumber>;
12436
12520
  }, z.core.$strip>>>;
@@ -12509,8 +12593,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
12509
12593
  type: z.ZodLiteral<"locality.degraded">;
12510
12594
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
12511
12595
  intent: z.ZodEnum<{
12512
- resume: "resume";
12513
12596
  fork: "fork";
12597
+ resume: "resume";
12514
12598
  }>;
12515
12599
  verdictKind: z.ZodLiteral<"degrade">;
12516
12600
  reason: z.ZodEnum<{
@@ -12534,8 +12618,8 @@ declare const SessionEventStorageNamespace$1: ContractStorageNamespaceDefinition
12534
12618
  turnId: z.ZodOptional<z.ZodString>;
12535
12619
  }, z.core.$strip>, z.ZodObject<{
12536
12620
  intent: z.ZodEnum<{
12537
- resume: "resume";
12538
12621
  fork: "fork";
12622
+ resume: "resume";
12539
12623
  }>;
12540
12624
  verdictKind: z.ZodLiteral<"foreign">;
12541
12625
  foreignMachineId: z.ZodString;
@@ -12802,11 +12886,13 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
12802
12886
  usage: z.ZodOptional<z.ZodObject<{
12803
12887
  total: z.ZodObject<{
12804
12888
  inputTokens: z.ZodNumber;
12889
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
12805
12890
  outputTokens: z.ZodNumber;
12806
12891
  cost: z.ZodOptional<z.ZodNumber>;
12807
12892
  }, z.core.$strip>;
12808
12893
  byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
12809
12894
  inputTokens: z.ZodNumber;
12895
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
12810
12896
  outputTokens: z.ZodNumber;
12811
12897
  cost: z.ZodOptional<z.ZodNumber>;
12812
12898
  }, z.core.$strip>>>;
@@ -12885,8 +12971,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
12885
12971
  type: z.ZodLiteral<"locality.degraded">;
12886
12972
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
12887
12973
  intent: z.ZodEnum<{
12888
- resume: "resume";
12889
12974
  fork: "fork";
12975
+ resume: "resume";
12890
12976
  }>;
12891
12977
  verdictKind: z.ZodLiteral<"degrade">;
12892
12978
  reason: z.ZodEnum<{
@@ -12910,8 +12996,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
12910
12996
  turnId: z.ZodOptional<z.ZodString>;
12911
12997
  }, z.core.$strip>, z.ZodObject<{
12912
12998
  intent: z.ZodEnum<{
12913
- resume: "resume";
12914
12999
  fork: "fork";
13000
+ resume: "resume";
12915
13001
  }>;
12916
13002
  verdictKind: z.ZodLiteral<"foreign">;
12917
13003
  foreignMachineId: z.ZodString;
@@ -13187,11 +13273,13 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
13187
13273
  usage: z.ZodOptional<z.ZodObject<{
13188
13274
  total: z.ZodObject<{
13189
13275
  inputTokens: z.ZodNumber;
13276
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
13190
13277
  outputTokens: z.ZodNumber;
13191
13278
  cost: z.ZodOptional<z.ZodNumber>;
13192
13279
  }, z.core.$strip>;
13193
13280
  byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13194
13281
  inputTokens: z.ZodNumber;
13282
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
13195
13283
  outputTokens: z.ZodNumber;
13196
13284
  cost: z.ZodOptional<z.ZodNumber>;
13197
13285
  }, z.core.$strip>>>;
@@ -13270,8 +13358,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
13270
13358
  type: z.ZodLiteral<"locality.degraded">;
13271
13359
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13272
13360
  intent: z.ZodEnum<{
13273
- resume: "resume";
13274
13361
  fork: "fork";
13362
+ resume: "resume";
13275
13363
  }>;
13276
13364
  verdictKind: z.ZodLiteral<"degrade">;
13277
13365
  reason: z.ZodEnum<{
@@ -13295,8 +13383,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
13295
13383
  turnId: z.ZodOptional<z.ZodString>;
13296
13384
  }, z.core.$strip>, z.ZodObject<{
13297
13385
  intent: z.ZodEnum<{
13298
- resume: "resume";
13299
13386
  fork: "fork";
13387
+ resume: "resume";
13300
13388
  }>;
13301
13389
  verdictKind: z.ZodLiteral<"foreign">;
13302
13390
  foreignMachineId: z.ZodString;
@@ -13562,11 +13650,13 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
13562
13650
  usage: z.ZodOptional<z.ZodObject<{
13563
13651
  total: z.ZodObject<{
13564
13652
  inputTokens: z.ZodNumber;
13653
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
13565
13654
  outputTokens: z.ZodNumber;
13566
13655
  cost: z.ZodOptional<z.ZodNumber>;
13567
13656
  }, z.core.$strip>;
13568
13657
  byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13569
13658
  inputTokens: z.ZodNumber;
13659
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
13570
13660
  outputTokens: z.ZodNumber;
13571
13661
  cost: z.ZodOptional<z.ZodNumber>;
13572
13662
  }, z.core.$strip>>>;
@@ -13645,8 +13735,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
13645
13735
  type: z.ZodLiteral<"locality.degraded">;
13646
13736
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
13647
13737
  intent: z.ZodEnum<{
13648
- resume: "resume";
13649
13738
  fork: "fork";
13739
+ resume: "resume";
13650
13740
  }>;
13651
13741
  verdictKind: z.ZodLiteral<"degrade">;
13652
13742
  reason: z.ZodEnum<{
@@ -13670,8 +13760,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
13670
13760
  turnId: z.ZodOptional<z.ZodString>;
13671
13761
  }, z.core.$strip>, z.ZodObject<{
13672
13762
  intent: z.ZodEnum<{
13673
- resume: "resume";
13674
13763
  fork: "fork";
13764
+ resume: "resume";
13675
13765
  }>;
13676
13766
  verdictKind: z.ZodLiteral<"foreign">;
13677
13767
  foreignMachineId: z.ZodString;
@@ -13951,11 +14041,13 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
13951
14041
  usage: z.ZodOptional<z.ZodObject<{
13952
14042
  total: z.ZodObject<{
13953
14043
  inputTokens: z.ZodNumber;
14044
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
13954
14045
  outputTokens: z.ZodNumber;
13955
14046
  cost: z.ZodOptional<z.ZodNumber>;
13956
14047
  }, z.core.$strip>;
13957
14048
  byAgent: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
13958
14049
  inputTokens: z.ZodNumber;
14050
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
13959
14051
  outputTokens: z.ZodNumber;
13960
14052
  cost: z.ZodOptional<z.ZodNumber>;
13961
14053
  }, z.core.$strip>>>;
@@ -14034,8 +14126,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
14034
14126
  type: z.ZodLiteral<"locality.degraded">;
14035
14127
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
14036
14128
  intent: z.ZodEnum<{
14037
- resume: "resume";
14038
14129
  fork: "fork";
14130
+ resume: "resume";
14039
14131
  }>;
14040
14132
  verdictKind: z.ZodLiteral<"degrade">;
14041
14133
  reason: z.ZodEnum<{
@@ -14059,8 +14151,8 @@ declare const SessionEventStorageSubjects: _$_makaio_core0.BusSubjects<_$_makaio
14059
14151
  turnId: z.ZodOptional<z.ZodString>;
14060
14152
  }, z.core.$strip>, z.ZodObject<{
14061
14153
  intent: z.ZodEnum<{
14062
- resume: "resume";
14063
14154
  fork: "fork";
14155
+ resume: "resume";
14064
14156
  }>;
14065
14157
  verdictKind: z.ZodLiteral<"foreign">;
14066
14158
  foreignMachineId: z.ZodString;