@makaio/framework 1.0.0-dev-1783705652236 → 1.0.0-dev-1783940945655

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 (449) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/account-identity-BYfeWLe-.mjs +1 -0
  3. package/dist/adapter-auth-runtime-a4O7cSNP.mjs +1 -0
  4. package/dist/adapter-binding-DDUyv1JK.d.mts +254 -0
  5. package/dist/{adapter-CA8rPIUz.mjs → adapter-nl_xz9dz.mjs} +1 -1
  6. package/dist/adapter-subsystem/index.d.mts +110 -5
  7. package/dist/adapter-subsystem/index.mjs +1 -1
  8. package/dist/adapters/acp-client/index.d.mts +10 -0
  9. package/dist/adapters/acp-client/index.mjs +2 -2
  10. package/dist/adapters/config/index.d.mts +176 -153
  11. package/dist/adapters/config/index.mjs +1 -1
  12. package/dist/adapters/index.d.mts +1021 -1005
  13. package/dist/adapters/index.mjs +6 -6
  14. package/dist/adapters/node.d.mts +1 -1
  15. package/dist/adapters/node.mjs +1 -1
  16. package/dist/adapters/stream-session/index.d.mts +7 -5
  17. package/dist/adapters/stream-session/index.mjs +1 -1
  18. package/dist/auth-C3NOWqTU.mjs +1 -0
  19. package/dist/{base-orchestrator-J1WKAUkF.d.mts → base-orchestrator-BiShpVKL.d.mts} +6 -0
  20. package/dist/bus/index.d.mts +21 -21
  21. package/dist/bus/index.mjs +1 -1
  22. package/dist/{canonical-model-DV-Z8gsb.mjs → canonical-model-CVRCW9h7.mjs} +1 -1
  23. package/dist/client-BkpLM8Fx.mjs +1 -0
  24. package/dist/client-binary-version-verifier-BK_vIjIo.mjs +2 -0
  25. package/dist/client-binary-version-verifier-BwrMTAh2.d.mts +179 -0
  26. package/dist/clients/index.d.mts +74 -90
  27. package/dist/clients/index.mjs +1 -2
  28. package/dist/clients/managed-install.d.mts +2 -0
  29. package/dist/clients/managed-install.mjs +1 -0
  30. package/dist/{clients-namespace-Bt_VTkEU.d.mts → clients-namespace-B96QIJOs.d.mts} +224 -21
  31. package/dist/compression-CZ_6fYq8.mjs +1 -0
  32. package/dist/config-namespace-DTA6EQL8.mjs +1 -0
  33. package/dist/{config-namespace-DqdFE6zk.d.mts → config-namespace-x0fuhEXe.d.mts} +73 -1
  34. package/dist/contracts/adapter/index.d.mts +3 -3
  35. package/dist/contracts/adapter/index.mjs +1 -1
  36. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  37. package/dist/contracts/artifact/index.d.mts +1 -1
  38. package/dist/contracts/auth/index.d.mts +3 -0
  39. package/dist/contracts/auth/index.mjs +1 -0
  40. package/dist/contracts/canonical-model/index.d.mts +1 -1
  41. package/dist/contracts/canonical-model/index.mjs +1 -1
  42. package/dist/contracts/client/index.d.mts +3 -3
  43. package/dist/contracts/client/index.mjs +1 -1
  44. package/dist/contracts/common/index.d.mts +1 -1
  45. package/dist/contracts/config/index.d.mts +20 -93
  46. package/dist/contracts/config/index.mjs +1 -1
  47. package/dist/contracts/extension/index.d.mts +3 -3
  48. package/dist/contracts/extension/index.mjs +1 -1
  49. package/dist/contracts/facet/index.d.mts +1 -1
  50. package/dist/contracts/facet/index.mjs +1 -1
  51. package/dist/contracts/harness/index.d.mts +1 -1
  52. package/dist/contracts/harness/index.mjs +1 -1
  53. package/dist/contracts/host/index.d.mts +1 -1
  54. package/dist/contracts/host/index.mjs +1 -1
  55. package/dist/contracts/index.d.mts +1214 -261
  56. package/dist/contracts/index.mjs +1 -1
  57. package/dist/contracts/materialization/index.d.mts +3 -3
  58. package/dist/contracts/materialization/index.mjs +1 -1
  59. package/dist/contracts/model-registry/index.d.mts +1 -1
  60. package/dist/contracts/model-registry/index.mjs +1 -1
  61. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  62. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  63. package/dist/contracts/platform/index.d.mts +1 -1
  64. package/dist/contracts/platform/index.mjs +1 -1
  65. package/dist/contracts/provider/index.d.mts +2 -2
  66. package/dist/contracts/provider/index.mjs +1 -1
  67. package/dist/contracts/session/index.d.mts +2 -2
  68. package/dist/contracts/session/index.mjs +1 -1
  69. package/dist/contracts/shared/index.d.mts +2 -2
  70. package/dist/contracts/shared/index.mjs +1 -1
  71. package/dist/contracts/skill/index.d.mts +1 -1
  72. package/dist/contracts/skill/index.mjs +1 -1
  73. package/dist/contracts/telemetry/index.d.mts +1 -1
  74. package/dist/contracts/telemetry/index.mjs +1 -1
  75. package/dist/contracts/timeout/index.d.mts +1 -1
  76. package/dist/contracts/timeout/index.mjs +1 -1
  77. package/dist/contracts/toast/index.mjs +1 -1
  78. package/dist/contracts/variant/index.d.mts +1 -1
  79. package/dist/contracts/variant/index.mjs +1 -1
  80. package/dist/contracts/workflow/index.d.mts +2 -2
  81. package/dist/contracts/workflow/index.mjs +1 -1
  82. package/dist/{definition-s9PIua2B.d.mts → definition-Bj9Vr16H.d.mts} +1 -1
  83. package/dist/{definition-Cllhr9mi.d.mts → definition-BsTlOz99.d.mts} +36 -4
  84. package/dist/{definition-CuJvtYeG.d.mts → definition-Cbl0k6Fc.d.mts} +31 -1
  85. package/dist/definition-K3m51lgO.mjs +1 -0
  86. package/dist/definitions-C1pgx0Nq.mjs +1 -0
  87. package/dist/{detached-extension-handle-Cx6-0eqg.mjs → detached-extension-handle-CTaQoolf.mjs} +1 -1
  88. package/dist/execution-target-Bg2wpfML.mjs +1 -0
  89. package/dist/{extension-CJClssfp.mjs → extension-CjTu6mzW.mjs} +1 -1
  90. package/dist/extension-D4iKUUMG.mjs +1 -0
  91. package/dist/{filesystem-service-Bmyqo6po.mjs → filesystem-service-maY_P3yA.mjs} +1 -1
  92. package/dist/git/index.mjs +1 -1
  93. package/dist/{globby-D4SANVoq.mjs → globby-CisClzat.mjs} +1 -1
  94. package/dist/handlers-RGs3eC9X.mjs +57 -0
  95. package/dist/{harness-DkUpbsuY.mjs → harness-DflvHAGV.mjs} +1 -1
  96. package/dist/{index-C23g_M_J2.d.mts → index-5s_dN3cg2.d.mts} +18 -1
  97. package/dist/index-9dISOTLT.d.mts +174 -0
  98. package/dist/{index-B9d_8_V2.d.mts → index-9g0agW_p.d.mts} +55 -55
  99. package/dist/{index-DoEF9LAc.d.mts → index-BcejR1Jc.d.mts} +3 -3
  100. package/dist/index-BsEvzFey.d.mts +1175 -0
  101. package/dist/{index-ntS1EXlf.d.mts → index-BtL7ONuM.d.mts} +1 -1
  102. package/dist/index-BxuiHVFi.d.mts +284 -0
  103. package/dist/{index-PIlYSC73.d.mts → index-C9Q1E8Y-.d.mts} +66 -53
  104. package/dist/{index-CaerrEDH.d.mts → index-CB2XTzvd.d.mts} +3 -3
  105. package/dist/{index-Cx1Bm6WD.d.mts → index-CVs0Qxks.d.mts} +8 -8
  106. package/dist/{index-WHUV7neB.d.mts → index-CW6-0k3Z.d.mts} +105 -105
  107. package/dist/index-CagRgpXI2.d.mts +84 -0
  108. package/dist/{index-DZPNuWMc.d.mts → index-Cw3cjGAT.d.mts} +7 -7
  109. package/dist/{index-DnnKUwHm.d.mts → index-D5IEq4_E.d.mts} +36 -32
  110. package/dist/{index-h5go5Dtd.d.mts → index-D75FnT0B.d.mts} +1 -1
  111. package/dist/{index-O08Q2ikz.d.mts → index-DNc1yLQs.d.mts} +8 -8
  112. package/dist/{index-FFVwQMad.d.mts → index-DlUPWOh4.d.mts} +737 -97
  113. package/dist/{index-DScUb-hF.d.mts → index-Do7Wgio_2.d.mts} +35 -12
  114. package/dist/{index-C9FCWOhp.d.mts → index-DxatNFz7.d.mts} +124 -22
  115. package/dist/{index-BvTd61i5.d.mts → index-T96ydgVk.d.mts} +260 -160
  116. package/dist/{index-DLNRgZPo2.d.mts → index-j2YlW_Fc.d.mts} +1 -1
  117. package/dist/{index-BcvG3wPv.d.mts → index-p6dWV52m.d.mts} +513 -373
  118. package/dist/{index-B2DjrVb8.d.mts → index-sCOlgPyj.d.mts} +1589 -482
  119. package/dist/kernel/cli/index.d.mts +2 -2
  120. package/dist/kernel/cli/index.mjs +1 -1
  121. package/dist/kernel/cli/register.d.mts +1 -1
  122. package/dist/kernel/cli/register.mjs +1 -1
  123. package/dist/kernel/cli/schemas.mjs +1 -1
  124. package/dist/kernel/extension/index.d.mts +1 -1
  125. package/dist/kernel/extension/index.mjs +1 -1
  126. package/dist/kernel/index.d.mts +5 -5
  127. package/dist/kernel/index.mjs +1 -1
  128. package/dist/kernel/namespace/index.d.mts +1 -1
  129. package/dist/kernel/namespace/index.mjs +1 -1
  130. package/dist/kernel/observability/index.d.mts +1 -1
  131. package/dist/kernel/observability/index.mjs +1 -1
  132. package/dist/kernel/providers/index.d.mts +1 -1
  133. package/dist/kernel/providers/index.mjs +1 -1
  134. package/dist/kernel/window/index.d.mts +1 -1
  135. package/dist/kernel/window/index.mjs +1 -1
  136. package/dist/{lib-BOmKyjWD.mjs → lib-DIVnpS8e.mjs} +1 -1
  137. package/dist/{lib-DLZYp5z3.mjs → lib-DymjnkAP.mjs} +1 -1
  138. package/dist/{load-extensions-Cze1RHcG.mjs → load-extensions-BtUrq2_t.mjs} +1 -1
  139. package/dist/{load-extensions-DNRIy4zC.d.mts → load-extensions-_EnedkUp.d.mts} +1 -1
  140. package/dist/{loop-gate-handlers-o2B5FPdF.mjs → loop-gate-handlers-0a3dIY8O.mjs} +1 -1
  141. package/dist/mcp-http-server/index.mjs +1 -1
  142. package/dist/model-uE5IyUFJ.mjs +1 -0
  143. package/dist/namespace-C05pkLbN.mjs +1 -0
  144. package/dist/{namespace-D8P8Sxce2.d.mts → namespace-CGgOLxiW2.d.mts} +2 -2
  145. package/dist/{namespace-BGIeqwfU.d.mts → namespace-CQBSXm1U.d.mts} +20 -20
  146. package/dist/{namespace-CfvtDD_U.d.mts → namespace-CfgtqUWS.d.mts} +156 -156
  147. package/dist/{namespace-D9PLFmPQ.d.mts → namespace-CpyL93kW.d.mts} +27 -27
  148. package/dist/{namespace-CZK2ff3B.d.mts → namespace-D3SQQgxa2.d.mts} +1 -1
  149. package/dist/namespace-D7pE2QWv.mjs +1 -0
  150. package/dist/{namespace-dFBD2ZmS.mjs → namespace-DwQtzlY-.mjs} +1 -1
  151. package/dist/namespace-HsI0Jbbr.mjs +1 -0
  152. package/dist/namespace-VmsT_tLJ.d.mts +3729 -0
  153. package/dist/namespace-Xp9-g_r-.mjs +1 -0
  154. package/dist/{native-session-supervisor-7ElwM6Is.mjs → native-session-supervisor-CdtVGWA9.mjs} +1 -1
  155. package/dist/node/bus-server/index.d.mts +1 -1
  156. package/dist/node/bus-server/index.mjs +1 -1
  157. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  158. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  159. package/dist/node/transports/index.d.mts +36 -1
  160. package/dist/node/transports/index.mjs +2 -2
  161. package/dist/{orchestrator-shared-ChygCvR1.mjs → orchestrator-shared-DAkGOu9H.mjs} +1 -1
  162. package/dist/{orchestrator-shared-DFLb1otg.d.mts → orchestrator-shared-pxtyNu3W.d.mts} +13 -6
  163. package/dist/{package-Co_GO3UD.mjs → package-0gVhAVkO.mjs} +1 -1
  164. package/dist/package-BwvGaKwn.mjs +1 -0
  165. package/dist/package.json +1 -1
  166. package/dist/{profile-BMBXUqqh.mjs → profile-D2m94ZYD.mjs} +1 -1
  167. package/dist/provider-context-BYkMl--1.mjs +1 -0
  168. package/dist/provider-context-DOsjOjiR.mjs +1 -0
  169. package/dist/{providers-namespace-5GoTlHXz.d.mts → providers-namespace-O4de1tgO.d.mts} +161 -14
  170. package/dist/resolved-O2XXjTeu.mjs +1 -0
  171. package/dist/rules/index.d.mts +1 -1
  172. package/dist/rules/index.mjs +1 -1
  173. package/dist/rules/schemas.d.mts +1 -1
  174. package/dist/runtime-bun/index.mjs +1 -1
  175. package/dist/runtime-node/client-binary-strategy-dependencies.d.mts +34 -0
  176. package/dist/runtime-node/client-binary-strategy-dependencies.mjs +1 -0
  177. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  178. package/dist/runtime-node/extension-validation.d.mts +1 -1
  179. package/dist/runtime-node/extension-validation.mjs +1 -1
  180. package/dist/runtime-node/index.d.mts +32 -6
  181. package/dist/runtime-node/index.mjs +24 -24
  182. package/dist/runtime-node/makaio-config.d.mts +1 -1
  183. package/dist/runtime-node/makaio-config.mjs +1 -1
  184. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  185. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  186. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  187. package/dist/{schema-7aKBGB7S.mjs → schema-BI0aCHvV.mjs} +1 -1
  188. package/dist/{schema-B5vHi7Uu.d.mts → schema-BnTOFCdU.d.mts} +1 -1
  189. package/dist/{schemas-Br-rSxPE2.d.mts → schemas--uwN5dfK2.d.mts} +11 -11
  190. package/dist/schemas-C-J4W1ID.mjs +1 -0
  191. package/dist/{schemas-CoFCV42v.d.mts → schemas-C17AifUQ.d.mts} +156 -156
  192. package/dist/schemas-D6lj9NMg.mjs +1 -0
  193. package/dist/schemas-K3Td_WdR.d.mts +3175 -0
  194. package/dist/schemas-n9Ff6_RX.mjs +1 -0
  195. package/dist/selection-YRuVSdck.mjs +1 -0
  196. package/dist/services/adapter-runtime/index.d.mts +3 -3
  197. package/dist/services/adapter-runtime/index.mjs +1 -1
  198. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  199. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  200. package/dist/services/adapter-subsystem/index.d.mts +4 -3
  201. package/dist/services/adapter-subsystem/index.mjs +1 -1
  202. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  203. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  204. package/dist/services/agent-runtime/index.d.mts +2 -2
  205. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  206. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  207. package/dist/services/capability/index.d.mts +1 -1
  208. package/dist/services/capability/index.mjs +1 -1
  209. package/dist/services/codebase/index.d.mts +2 -2
  210. package/dist/services/codebase/namespace.d.mts +1 -1
  211. package/dist/services/codebase/schemas.d.mts +1 -1
  212. package/dist/services/compression/index.d.mts +2 -2
  213. package/dist/services/compression/namespace.d.mts +1 -1
  214. package/dist/services/compression/schemas.d.mts +1 -1
  215. package/dist/services/context-rules/index.d.mts +1 -1
  216. package/dist/services/context-rules/index.mjs +1 -1
  217. package/dist/services/definition/namespace.d.mts +1 -19
  218. package/dist/services/definition/schemas.d.mts +0 -9
  219. package/dist/services/definition/schemas.mjs +1 -1
  220. package/dist/services/execution-target/index.d.mts +4 -4
  221. package/dist/services/execution-target/index.mjs +1 -1
  222. package/dist/services/execution-target/namespace.d.mts +1 -1
  223. package/dist/services/execution-target/namespace.mjs +1 -1
  224. package/dist/services/execution-target/schemas.d.mts +1 -1
  225. package/dist/services/execution-target/schemas.mjs +1 -1
  226. package/dist/services/filesystem/index.d.mts +1 -1
  227. package/dist/services/filesystem/index.mjs +1 -1
  228. package/dist/services/filesystem/namespace.d.mts +6 -6
  229. package/dist/services/filesystem/schemas.d.mts +3 -3
  230. package/dist/services/git/namespace.mjs +1 -1
  231. package/dist/services/git/schemas.mjs +1 -1
  232. package/dist/services/harness/index.d.mts +6 -6
  233. package/dist/services/harness/index.mjs +1 -1
  234. package/dist/services/index.d.mts +1671 -253
  235. package/dist/services/index.mjs +1 -1
  236. package/dist/services/log-import/browser.d.mts +2 -2
  237. package/dist/services/log-import/index.d.mts +2 -2
  238. package/dist/services/log-import/log-import.d.mts +1 -1
  239. package/dist/services/log-import/log-import.mjs +1 -1
  240. package/dist/services/log-import/namespace.mjs +1 -1
  241. package/dist/services/log-import/schemas.mjs +1 -1
  242. package/dist/services/model-registry/index.d.mts +1 -1
  243. package/dist/services/model-registry/index.mjs +1 -1
  244. package/dist/services/preferences/index.d.mts +2 -2
  245. package/dist/services/preferences/schemas.d.mts +1 -1
  246. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  247. package/dist/services/provider-context/index.d.mts +2 -2
  248. package/dist/services/provider-context/index.mjs +1 -1
  249. package/dist/services/provider-runtime/index.d.mts +18 -0
  250. package/dist/services/provider-runtime/index.mjs +1 -1
  251. package/dist/services/session/handlers/index.d.mts +1 -1
  252. package/dist/services/session/handlers/index.mjs +1 -1
  253. package/dist/services/session/index.d.mts +10 -10
  254. package/dist/services/session/index.mjs +1 -1
  255. package/dist/services/session/messages/namespace.d.mts +1 -1
  256. package/dist/services/session/messages/namespace.mjs +1 -1
  257. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  258. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  259. package/dist/services/session/session-events/namespace.d.mts +1 -1
  260. package/dist/services/session/session-events/namespace.mjs +1 -1
  261. package/dist/services/session/storage/namespace.d.mts +1 -1
  262. package/dist/services/session/storage/schema.d.mts +1 -1
  263. package/dist/services/session/testing/index.d.mts +2 -2
  264. package/dist/services/session/testing/index.mjs +10 -10
  265. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  266. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  267. package/dist/services/session/turns/namespace.d.mts +1 -1
  268. package/dist/services/session/turns/namespace.mjs +1 -1
  269. package/dist/services/session-editor/index.d.mts +1 -1
  270. package/dist/services/session-editor/index.mjs +1 -1
  271. package/dist/services/settings/index.d.mts +3 -3
  272. package/dist/services/settings/index.mjs +1 -1
  273. package/dist/services/settings/namespace.d.mts +18 -25
  274. package/dist/services/settings/namespace.mjs +1 -1
  275. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  276. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  277. package/dist/services/settings/storage/index.d.mts +3 -3
  278. package/dist/services/settings/storage/index.mjs +1 -1
  279. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  280. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  281. package/dist/services/subagent/index.d.mts +2 -2
  282. package/dist/services/subagent/index.mjs +1 -1
  283. package/dist/services/subagent-template/index.d.mts +2 -2
  284. package/dist/services/subagent-template/namespace.d.mts +1 -1
  285. package/dist/services/subagent-template/schemas.d.mts +1 -1
  286. package/dist/services/tool-approval/index.d.mts +1 -1
  287. package/dist/services/tool-approval/index.mjs +1 -1
  288. package/dist/services/tools/index.d.mts +1 -1
  289. package/dist/services/tools/index.mjs +1 -1
  290. package/dist/services/tray-menu/index.d.mts +3 -3
  291. package/dist/services/tray-menu/index.mjs +1 -1
  292. package/dist/services/tray-menu/namespace.d.mts +1 -1
  293. package/dist/services/tray-menu/schemas.d.mts +1 -1
  294. package/dist/services/turn/index.d.mts +1 -1
  295. package/dist/services/turn/namespace.d.mts +1 -1
  296. package/dist/session-CAjudDuJ.mjs +76 -0
  297. package/dist/{session-DBfQkgdy.mjs → session-lRd8HZNZ.mjs} +1 -1
  298. package/dist/{session-lineage-C1M7-O3C.d.mts → session-lineage-BLw8iWAj.d.mts} +1 -1
  299. package/dist/{shared-BVW-3Dhy.mjs → shared-RP_KARKF.mjs} +1 -1
  300. package/dist/{skill-N-ttlp1i.mjs → skill-CpNjWFuE.mjs} +1 -1
  301. package/dist/{src-Ck2sbaDa.mjs → src-Bo2eA51B.mjs} +1 -1
  302. package/dist/storage/drizzle/client.d.mts +1 -1
  303. package/dist/storage/drizzle/client.mjs +1 -1
  304. package/dist/storage/drizzle/index.d.mts +1 -1
  305. package/dist/storage/drizzle/index.mjs +1 -1
  306. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  307. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  308. package/dist/storage/handlers/index.d.mts +1 -1
  309. package/dist/storage/handlers/index.mjs +1 -1
  310. package/dist/{tool-approval-service-DEiMKTv9.mjs → tool-approval-service-Dh0XI21f.mjs} +1 -1
  311. package/dist/tools-C8vqn1KY.mjs +1 -0
  312. package/dist/{transition-OzGXyy3p.d.mts → transition-Bfe8VVc1.d.mts} +2 -2
  313. package/dist/{types-BWduCvRU.d.mts → types-B-xY9WW2.d.mts} +1 -1
  314. package/dist/{types-BrUOVfwe.d.mts → types-DvKaEOOn.d.mts} +252 -19
  315. package/dist/{types-CBLPaQXe.d.mts → types-q95p55BF.d.mts} +437 -287
  316. package/dist/ui-hooks/index.d.mts +103 -14
  317. package/dist/ui-hooks/index.mjs +1 -1
  318. package/dist/ui-kernel/index.d.mts +3 -3
  319. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  320. package/dist/utils/keychain.mjs +1 -1
  321. package/dist/{version-DoV_pSzT.mjs → version-C1-VD-XL.mjs} +1 -1
  322. package/dist/workflow-CvVAZ89A.mjs +1 -0
  323. package/dist/workflow-engine/index.d.mts +33 -33
  324. package/dist/workflow-engine/index.mjs +1 -1
  325. package/dist/workflow-engine/package.d.mts +1 -1
  326. package/dist/workflow-engine/package.mjs +1 -1
  327. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  328. package/dist/{workflow-worker-dH70EbjE.mjs → workflow-worker-CudfEstp.mjs} +1 -1
  329. package/package.json +5 -1
  330. package/dist/account-identity-C7Kx_ieU.mjs +0 -1
  331. package/dist/cleanEnvForAdapter-BooAgM2R.mjs +0 -1
  332. package/dist/client-DaR4mzqn.mjs +0 -1
  333. package/dist/compression-C5JAWdgZ.mjs +0 -1
  334. package/dist/config-namespace-CY9leBnE.mjs +0 -1
  335. package/dist/credential-ref-YWQQENEo.mjs +0 -1
  336. package/dist/definition-C-GVz7uw.mjs +0 -1
  337. package/dist/execution-target-BR8bLkCR.mjs +0 -1
  338. package/dist/extension-BS_4BOeO.mjs +0 -1
  339. package/dist/handlers-B74FvKlA.mjs +0 -57
  340. package/dist/index-BcwOnvUh.d.mts +0 -749
  341. package/dist/index-D6aAzr32.d.mts +0 -997
  342. package/dist/index-DtwGhFFQ.d.mts +0 -40
  343. package/dist/namespace-B4cV_pk3.d.mts +0 -1317
  344. package/dist/namespace-BO3tODGC.mjs +0 -1
  345. package/dist/namespace-CVMZVqB5.mjs +0 -1
  346. package/dist/namespace-DBHwyhME.mjs +0 -1
  347. package/dist/namespace-DibbhCPP.mjs +0 -1
  348. package/dist/package-CF_Zm2v4.mjs +0 -1
  349. package/dist/provider-context-CqMgPOWF.mjs +0 -1
  350. package/dist/provider-context-DC_eq7es.mjs +0 -1
  351. package/dist/schemas-CVo8qAK-.mjs +0 -1
  352. package/dist/schemas-CuG17U3L.mjs +0 -1
  353. package/dist/session-CX6QDhi2.mjs +0 -76
  354. package/dist/tools-CGFZkB7F.mjs +0 -1
  355. package/dist/workflow-C3dgVwTY.mjs +0 -1
  356. /package/dist/{ajv-B5dPIck0.mjs → ajv-DfHhgdS5.mjs} +0 -0
  357. /package/dist/{await-trigger-DwVldnMt.mjs → await-trigger-D623tvig.mjs} +0 -0
  358. /package/dist/{capability-service-XlymTzz1.mjs → capability-service-Dg2bU8qc.mjs} +0 -0
  359. /package/dist/{client-CebV_fZc.d.mts → client-DmJwprw1.d.mts} +0 -0
  360. /package/dist/{create-static-mount-DkK28kKW.mjs → create-static-mount-CBTXRtbN.mjs} +0 -0
  361. /package/dist/{cross-spawn-CDXy3BjE.mjs → cross-spawn-D9WWFl2a.mjs} +0 -0
  362. /package/dist/{cursor-storage-luQAg7E_.mjs → cursor-storage-Bw-7ROzx.mjs} +0 -0
  363. /package/dist/{descriptor-to-package-DdpjpT7n.mjs → descriptor-to-package-D5SWf6TL.mjs} +0 -0
  364. /package/dist/{drizzle-DVTAl7Us.mjs → drizzle-DYfaDzlO.mjs} +0 -0
  365. /package/dist/{esm-CQG9Pc7n.mjs → esm-oHhRYTEn.mjs} +0 -0
  366. /package/dist/{event-DguYjV6D.mjs → event-DTM0-qWP.mjs} +0 -0
  367. /package/dist/{extension-discovery-CIZn5bkq.d.mts → extension-discovery-APMf1Tes.d.mts} +0 -0
  368. /package/dist/{extension-namespace-v3K0qVry.mjs → extension-namespace-vrh4ERXR.mjs} +0 -0
  369. /package/dist/{facet-BM4y4aQP.mjs → facet-DqPBpqkl.mjs} +0 -0
  370. /package/dist/{filesystem-service-Cwp0sWNc.d.mts → filesystem-service-Bx0bR2Lb.d.mts} +0 -0
  371. /package/dist/{handler-BFNvtv5t.mjs → handler-4pKQi3eo.mjs} +0 -0
  372. /package/dist/{host-vY07gek-.mjs → host-BfgdjlII.mjs} +0 -0
  373. /package/dist/{identity-DC3Pk0ps.mjs → identity-2qUT1NME.mjs} +0 -0
  374. /package/dist/{index-COI1tjAf.d.mts → index-BZ_DSGnE.d.mts} +0 -0
  375. /package/dist/{index-D7rWAEY0.d.mts → index-Bd52mmj9.d.mts} +0 -0
  376. /package/dist/{index-Dfi8Rorw.d.mts → index-BkAKfh4d.d.mts} +0 -0
  377. /package/dist/{index-CuHqL95P.d.mts → index-Bv9lm0Kf.d.mts} +0 -0
  378. /package/dist/{index-C4nStEdA.d.mts → index-C18Pn3zP.d.mts} +0 -0
  379. /package/dist/{index-Cr9lh21j.d.mts → index-CarbJsC92.d.mts} +0 -0
  380. /package/dist/{index-BjoOSg95.d.mts → index-Ctw617Tj.d.mts} +0 -0
  381. /package/dist/{index-DUD7wikz2.d.mts → index-D0eUQjTU2.d.mts} +0 -0
  382. /package/dist/{index-DEzdNQum.d.mts → index-DfVSWBBp.d.mts} +0 -0
  383. /package/dist/{index-D3ahzHwb.d.mts → index-DnWZdG6C.d.mts} +0 -0
  384. /package/dist/{index-CpKikwK4.d.mts → index-DoLdETfR.d.mts} +0 -0
  385. /package/dist/{index-B92mToDo2.d.mts → index-DvaPrL6C.d.mts} +0 -0
  386. /package/dist/{index-D7Hkmrr3.d.mts → index-DwDBa2mb.d.mts} +0 -0
  387. /package/dist/{index-Y8rMeYYX.d.mts → index-FDyqQIt5.d.mts} +0 -0
  388. /package/dist/{index-BWIkf5oJ.d.mts → index-Lp0T_V1W.d.mts} +0 -0
  389. /package/dist/{index-OGIC4puQ.d.mts → index-Rhcr4YNA.d.mts} +0 -0
  390. /package/dist/{index-BvLXySoB2.d.mts → index-S-mAqWwq.d.mts} +0 -0
  391. /package/dist/{index-DOOrKin9.d.mts → index-_zsihEmk.d.mts} +0 -0
  392. /package/dist/{index-wq7XeqyG.d.mts → index-iJP-l15K.d.mts} +0 -0
  393. /package/dist/{json-value-DtIkQN7g.d.mts → json-value-C8duSh9X.d.mts} +0 -0
  394. /package/dist/{jsonl-transport-CGPgD8iU.mjs → jsonl-transport-l5NPcQ_2.mjs} +0 -0
  395. /package/dist/{lib-ZKtnbCqH.mjs → lib-ClRTNIuz.mjs} +0 -0
  396. /package/dist/{materialization-CUYxZCfk.mjs → materialization-BwTORtBr.mjs} +0 -0
  397. /package/dist/{model-registry-C2VXobZj.mjs → model-registry-BneK5SGo.mjs} +0 -0
  398. /package/dist/{model-registry-rYICIwyR.mjs → model-registry-C8MInDtX.mjs} +0 -0
  399. /package/dist/{namespace-65uwTpbg.d.mts → namespace-3YVLQ_bM.d.mts} +0 -0
  400. /package/dist/{namespace-CQ8uza7o.d.mts → namespace-BcDHt-ww.d.mts} +0 -0
  401. /package/dist/{namespace-BigVYQyx.d.mts → namespace-BhVlHfoO.d.mts} +0 -0
  402. /package/dist/{namespace-j7vFsmYL.d.mts → namespace-Bl1UhLnK.d.mts} +0 -0
  403. /package/dist/{namespace-Dk4OslmY.d.mts → namespace-BsEoWXV_.d.mts} +0 -0
  404. /package/dist/{namespace-DYSFDC2G.mjs → namespace-C238RqwB.mjs} +0 -0
  405. /package/dist/{namespace-BdO4e1Fm.mjs → namespace-CDO4rY11.mjs} +0 -0
  406. /package/dist/{namespace-wke7juzy.mjs → namespace-DDx4NVJm.mjs} +0 -0
  407. /package/dist/{namespace-D1_9WVCo.d.mts → namespace-Dar3O6iT.d.mts} +0 -0
  408. /package/dist/{namespace-DAj_riOn.d.mts → namespace-DoNigVgx.d.mts} +0 -0
  409. /package/dist/{namespace-D2s-4pyg.d.mts → namespace-Dvi66QS6.d.mts} +0 -0
  410. /package/dist/{out-BoEZjBNz.mjs → out-BB6Kb4Xu.mjs} +0 -0
  411. /package/dist/{package-DmVZxufT.d.mts → package-CdBiknf3.d.mts} +0 -0
  412. /package/dist/{platform-DnbSvm2u.mjs → platform-CWhGFQFX.mjs} +0 -0
  413. /package/dist/{providers-Bd7BOZs0.mjs → providers-CUnrif24.mjs} +0 -0
  414. /package/dist/{quick-lru-6e7I1Bgf.mjs → quick-lru-BLaSzINB.mjs} +0 -0
  415. /package/dist/{registry-U_3aYSin.mjs → registry-TJjQgTgp.mjs} +0 -0
  416. /package/dist/{schema-CHp6I33k.mjs → schema-cus0dJ81.mjs} +0 -0
  417. /package/dist/{schema-introspection-B7xODt4I.mjs → schema-introspection-BsWLmoFp.mjs} +0 -0
  418. /package/dist/{schemas-KlH1hB7u.d.mts → schemas-9QJf1FtS.d.mts} +0 -0
  419. /package/dist/{schemas-CJ2JvA7d.d.mts → schemas-BolSW7pQ.d.mts} +0 -0
  420. /package/dist/{schemas-D4zaFE2p.d.mts → schemas-CLsbsX1W.d.mts} +0 -0
  421. /package/dist/{schemas-XeIBqwvE.mjs → schemas-CMyv7l7-.mjs} +0 -0
  422. /package/dist/{schemas-CPI00yvh.mjs → schemas-CWxf_Yut.mjs} +0 -0
  423. /package/dist/{schemas-BemsLc_V.d.mts → schemas-D_9X_CRo.d.mts} +0 -0
  424. /package/dist/{schemas-DZGnr9Tl.mjs → schemas-DwfTUQIa.mjs} +0 -0
  425. /package/dist/{schemas-B6tEKf9T.d.mts → schemas-XRhqOgVE.d.mts} +0 -0
  426. /package/dist/{schemas-DKncXGnb.d.mts → schemas-fRLDhefF.d.mts} +0 -0
  427. /package/dist/{schemas-DWfo0wp4.d.mts → schemas-jDRSOXJL.d.mts} +0 -0
  428. /package/dist/{schemas-lnE9YoG7.d.mts → schemas-qpo1Goit.d.mts} +0 -0
  429. /package/dist/{schemas-t6h9oSct.d.mts → schemas-qt5QTjVc.d.mts} +0 -0
  430. /package/dist/{semver-CIhHqMkw.mjs → semver-BccS1s9R.mjs} +0 -0
  431. /package/dist/{server-lifecycle-C5Z5PSMD.mjs → server-lifecycle-D-jxVr_0.mjs} +0 -0
  432. /package/dist/{server-lifecycle-_AA6EfzL.d.mts → server-lifecycle-r5Tkk8bU.d.mts} +0 -0
  433. /package/dist/{shared-schemas-BEVG96xW.mjs → shared-schemas-BNCPgGYP.mjs} +0 -0
  434. /package/dist/{src-_VODAJnf.mjs → src-Ci_WY9uw.mjs} +0 -0
  435. /package/dist/{storage-namespace-D5q9CrBp.mjs → storage-namespace-BzE2M4Hq.mjs} +0 -0
  436. /package/dist/{storage-namespace-Di1A3DMm.d.mts → storage-namespace-DWKFqEW-.d.mts} +0 -0
  437. /package/dist/{storage-namespace-definition-CzXPW45M.mjs → storage-namespace-definition-4UYuij1r.mjs} +0 -0
  438. /package/dist/{storage-namespace-definition-BffdI5Bz.d.mts → storage-namespace-definition-BZJGSaX3.d.mts} +0 -0
  439. /package/dist/{supports-color-DcXkvGDF.mjs → supports-color-Dzp6WuF5.mjs} +0 -0
  440. /package/dist/{telemetry-Cvi4rxiE.mjs → telemetry-B42EMbZt.mjs} +0 -0
  441. /package/dist/{timeout-XsYIOKrc.mjs → timeout-CvONPl0l.mjs} +0 -0
  442. /package/dist/{tray-menu-service-B2AxiQqL.mjs → tray-menu-service-Bonl2KXf.mjs} +0 -0
  443. /package/dist/{types-Bo78h9e3.d.mts → types-BCW9kr4L.d.mts} +0 -0
  444. /package/dist/{types-DCvp_swt.d.mts → types-CrJ7KEZ0.d.mts} +0 -0
  445. /package/dist/{types-BNW5n6qm.d.mts → types-DWNoZ3Sd.d.mts} +0 -0
  446. /package/dist/{ui-config-9bDRwFZr.mjs → ui-config-B2L3Xgqo.mjs} +0 -0
  447. /package/dist/{variant-5huHjUTm.mjs → variant-ByI-RZua.mjs} +0 -0
  448. /package/dist/{window-registry-PkrFIwX2.mjs → window-registry-DsWnCc8z.mjs} +0 -0
  449. /package/dist/{window-registry-ofIUQnfo.d.mts → window-registry-WsWu-rcK.d.mts} +0 -0
@@ -1,5 +1,5 @@
1
- import { i as JsonValue$1 } from "./json-value-DtIkQN7g.mjs";
2
- import { s as MessageBlock$1 } from "./index-CaerrEDH.mjs";
1
+ import { i as JsonValue$1 } from "./json-value-C8duSh9X.mjs";
2
+ import { s as MessageBlock$1 } from "./index-CB2XTzvd.mjs";
3
3
  import * as _$zod from "zod";
4
4
  import { z } from "zod";
5
5
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -24,8 +24,8 @@ declare const SessionCreateBaseSchema: z.ZodObject<{
24
24
  forkPointMessageId: z.ZodOptional<z.ZodString>;
25
25
  branchKind: z.ZodOptional<z.ZodEnum<{
26
26
  fork: "fork";
27
- subagent: "subagent";
28
27
  branch: "branch";
28
+ subagent: "subagent";
29
29
  compress: "compress";
30
30
  rewrite: "rewrite";
31
31
  coordinator: "coordinator";
@@ -178,8 +178,8 @@ declare const MakaioSessionSchema: z.ZodObject<{
178
178
  forkPointMessageId: z.ZodOptional<z.ZodString>;
179
179
  branchKind: z.ZodOptional<z.ZodEnum<{
180
180
  fork: "fork";
181
- subagent: "subagent";
182
181
  branch: "branch";
182
+ subagent: "subagent";
183
183
  compress: "compress";
184
184
  rewrite: "rewrite";
185
185
  coordinator: "coordinator";
@@ -306,8 +306,8 @@ declare const SessionWithPreviewSchema: z.ZodObject<{
306
306
  forkPointMessageId: z.ZodOptional<z.ZodString>;
307
307
  branchKind: z.ZodOptional<z.ZodEnum<{
308
308
  fork: "fork";
309
- subagent: "subagent";
310
309
  branch: "branch";
310
+ subagent: "subagent";
311
311
  compress: "compress";
312
312
  rewrite: "rewrite";
313
313
  coordinator: "coordinator";
@@ -508,8 +508,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
508
508
  forkPointMessageId: z.ZodOptional<z.ZodString>;
509
509
  branchKind: z.ZodOptional<z.ZodEnum<{
510
510
  fork: "fork";
511
- subagent: "subagent";
512
511
  branch: "branch";
512
+ subagent: "subagent";
513
513
  compress: "compress";
514
514
  rewrite: "rewrite";
515
515
  coordinator: "coordinator";
@@ -996,8 +996,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
996
996
  parentSessionId: z.ZodString;
997
997
  kind: z.ZodEnum<{
998
998
  fork: "fork";
999
- subagent: "subagent";
1000
999
  branch: "branch";
1000
+ subagent: "subagent";
1001
1001
  compress: "compress";
1002
1002
  rewrite: "rewrite";
1003
1003
  coordinator: "coordinator";
@@ -1034,8 +1034,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
1034
1034
  type: z.ZodLiteral<"locality.degraded">;
1035
1035
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
1036
1036
  intent: z.ZodEnum<{
1037
- resume: "resume";
1038
1037
  fork: "fork";
1038
+ resume: "resume";
1039
1039
  }>;
1040
1040
  verdictKind: z.ZodLiteral<"degrade">;
1041
1041
  reason: z.ZodEnum<{
@@ -1059,8 +1059,8 @@ declare const SessionSnapshotSchema: z.ZodObject<{
1059
1059
  turnId: z.ZodOptional<z.ZodString>;
1060
1060
  }, z.core.$strip>, z.ZodObject<{
1061
1061
  intent: z.ZodEnum<{
1062
- resume: "resume";
1063
1062
  fork: "fork";
1063
+ resume: "resume";
1064
1064
  }>;
1065
1065
  verdictKind: z.ZodLiteral<"foreign">;
1066
1066
  foreignMachineId: z.ZodString;
@@ -1121,8 +1121,8 @@ type AgentRole = z.infer<typeof AgentRoleSchema>;
1121
1121
  */
1122
1122
  declare const BranchKindSchema: z.ZodEnum<{
1123
1123
  fork: "fork";
1124
- subagent: "subagent";
1125
1124
  branch: "branch";
1125
+ subagent: "subagent";
1126
1126
  compress: "compress";
1127
1127
  rewrite: "rewrite";
1128
1128
  coordinator: "coordinator";
@@ -1652,6 +1652,25 @@ declare const OrchestratorSchemas: {
1652
1652
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1653
1653
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1654
1654
  sessionId: z.ZodString;
1655
+ directTools: z.ZodArray<z.ZodObject<{
1656
+ fullName: z.ZodString;
1657
+ originalName: z.ZodString;
1658
+ serverName: z.ZodString;
1659
+ description: z.ZodOptional<z.ZodString>;
1660
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1661
+ exposureMode: z.ZodEnum<{
1662
+ hidden: "hidden";
1663
+ discovery: "discovery";
1664
+ direct: "direct";
1665
+ }>;
1666
+ enabled: z.ZodBoolean;
1667
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1668
+ discovery: "discovery";
1669
+ toolset: "toolset";
1670
+ }>>;
1671
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1672
+ exposed: z.ZodBoolean;
1673
+ }, z.core.$strip>>;
1655
1674
  servers: z.ZodArray<z.ZodObject<{
1656
1675
  name: z.ZodString;
1657
1676
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1688,28 +1707,9 @@ declare const OrchestratorSchemas: {
1688
1707
  type: z.ZodLiteral<"http">;
1689
1708
  }, z.core.$strip>], "type">;
1690
1709
  exposureMode: z.ZodEnum<{
1691
- direct: "direct";
1692
1710
  discovery: "discovery";
1693
- }>;
1694
- }, z.core.$strip>>;
1695
- directTools: z.ZodArray<z.ZodObject<{
1696
- fullName: z.ZodString;
1697
- originalName: z.ZodString;
1698
- serverName: z.ZodString;
1699
- description: z.ZodOptional<z.ZodString>;
1700
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1701
- exposureMode: z.ZodEnum<{
1702
1711
  direct: "direct";
1703
- discovery: "discovery";
1704
- hidden: "hidden";
1705
1712
  }>;
1706
- enabled: z.ZodBoolean;
1707
- enabledBy: z.ZodOptional<z.ZodEnum<{
1708
- discovery: "discovery";
1709
- toolset: "toolset";
1710
- }>>;
1711
- enabledAt: z.ZodOptional<z.ZodNumber>;
1712
- exposed: z.ZodBoolean;
1713
1713
  }, z.core.$strip>>;
1714
1714
  discoverableTools: z.ZodArray<z.ZodObject<{
1715
1715
  fullName: z.ZodString;
@@ -1718,9 +1718,9 @@ declare const OrchestratorSchemas: {
1718
1718
  description: z.ZodOptional<z.ZodString>;
1719
1719
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1720
1720
  exposureMode: z.ZodEnum<{
1721
- direct: "direct";
1722
- discovery: "discovery";
1723
1721
  hidden: "hidden";
1722
+ discovery: "discovery";
1723
+ direct: "direct";
1724
1724
  }>;
1725
1725
  enabled: z.ZodBoolean;
1726
1726
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1755,6 +1755,25 @@ declare const OrchestratorSchemas: {
1755
1755
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1756
1756
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1757
1757
  sessionId: z.ZodString;
1758
+ directTools: z.ZodArray<z.ZodObject<{
1759
+ fullName: z.ZodString;
1760
+ originalName: z.ZodString;
1761
+ serverName: z.ZodString;
1762
+ description: z.ZodOptional<z.ZodString>;
1763
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1764
+ exposureMode: z.ZodEnum<{
1765
+ hidden: "hidden";
1766
+ discovery: "discovery";
1767
+ direct: "direct";
1768
+ }>;
1769
+ enabled: z.ZodBoolean;
1770
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1771
+ discovery: "discovery";
1772
+ toolset: "toolset";
1773
+ }>>;
1774
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1775
+ exposed: z.ZodBoolean;
1776
+ }, z.core.$strip>>;
1758
1777
  servers: z.ZodArray<z.ZodObject<{
1759
1778
  name: z.ZodString;
1760
1779
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1791,28 +1810,9 @@ declare const OrchestratorSchemas: {
1791
1810
  type: z.ZodLiteral<"http">;
1792
1811
  }, z.core.$strip>], "type">;
1793
1812
  exposureMode: z.ZodEnum<{
1794
- direct: "direct";
1795
1813
  discovery: "discovery";
1796
- }>;
1797
- }, z.core.$strip>>;
1798
- directTools: z.ZodArray<z.ZodObject<{
1799
- fullName: z.ZodString;
1800
- originalName: z.ZodString;
1801
- serverName: z.ZodString;
1802
- description: z.ZodOptional<z.ZodString>;
1803
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1804
- exposureMode: z.ZodEnum<{
1805
1814
  direct: "direct";
1806
- discovery: "discovery";
1807
- hidden: "hidden";
1808
1815
  }>;
1809
- enabled: z.ZodBoolean;
1810
- enabledBy: z.ZodOptional<z.ZodEnum<{
1811
- discovery: "discovery";
1812
- toolset: "toolset";
1813
- }>>;
1814
- enabledAt: z.ZodOptional<z.ZodNumber>;
1815
- exposed: z.ZodBoolean;
1816
1816
  }, z.core.$strip>>;
1817
1817
  discoverableTools: z.ZodArray<z.ZodObject<{
1818
1818
  fullName: z.ZodString;
@@ -1821,9 +1821,9 @@ declare const OrchestratorSchemas: {
1821
1821
  description: z.ZodOptional<z.ZodString>;
1822
1822
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1823
1823
  exposureMode: z.ZodEnum<{
1824
- direct: "direct";
1825
- discovery: "discovery";
1826
1824
  hidden: "hidden";
1825
+ discovery: "discovery";
1826
+ direct: "direct";
1827
1827
  }>;
1828
1828
  enabled: z.ZodBoolean;
1829
1829
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -1858,6 +1858,25 @@ declare const OrchestratorSchemas: {
1858
1858
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1859
1859
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
1860
1860
  sessionId: z.ZodString;
1861
+ directTools: z.ZodArray<z.ZodObject<{
1862
+ fullName: z.ZodString;
1863
+ originalName: z.ZodString;
1864
+ serverName: z.ZodString;
1865
+ description: z.ZodOptional<z.ZodString>;
1866
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1867
+ exposureMode: z.ZodEnum<{
1868
+ hidden: "hidden";
1869
+ discovery: "discovery";
1870
+ direct: "direct";
1871
+ }>;
1872
+ enabled: z.ZodBoolean;
1873
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1874
+ discovery: "discovery";
1875
+ toolset: "toolset";
1876
+ }>>;
1877
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1878
+ exposed: z.ZodBoolean;
1879
+ }, z.core.$strip>>;
1861
1880
  servers: z.ZodArray<z.ZodObject<{
1862
1881
  name: z.ZodString;
1863
1882
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1894,28 +1913,9 @@ declare const OrchestratorSchemas: {
1894
1913
  type: z.ZodLiteral<"http">;
1895
1914
  }, z.core.$strip>], "type">;
1896
1915
  exposureMode: z.ZodEnum<{
1897
- direct: "direct";
1898
1916
  discovery: "discovery";
1899
- }>;
1900
- }, z.core.$strip>>;
1901
- directTools: z.ZodArray<z.ZodObject<{
1902
- fullName: z.ZodString;
1903
- originalName: z.ZodString;
1904
- serverName: z.ZodString;
1905
- description: z.ZodOptional<z.ZodString>;
1906
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1907
- exposureMode: z.ZodEnum<{
1908
1917
  direct: "direct";
1909
- discovery: "discovery";
1910
- hidden: "hidden";
1911
1918
  }>;
1912
- enabled: z.ZodBoolean;
1913
- enabledBy: z.ZodOptional<z.ZodEnum<{
1914
- discovery: "discovery";
1915
- toolset: "toolset";
1916
- }>>;
1917
- enabledAt: z.ZodOptional<z.ZodNumber>;
1918
- exposed: z.ZodBoolean;
1919
1919
  }, z.core.$strip>>;
1920
1920
  discoverableTools: z.ZodArray<z.ZodObject<{
1921
1921
  fullName: z.ZodString;
@@ -1924,9 +1924,9 @@ declare const OrchestratorSchemas: {
1924
1924
  description: z.ZodOptional<z.ZodString>;
1925
1925
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1926
1926
  exposureMode: z.ZodEnum<{
1927
- direct: "direct";
1928
- discovery: "discovery";
1929
1927
  hidden: "hidden";
1928
+ discovery: "discovery";
1929
+ direct: "direct";
1930
1930
  }>;
1931
1931
  enabled: z.ZodBoolean;
1932
1932
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2200,6 +2200,25 @@ declare const OrchestratorSchemas: {
2200
2200
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2201
2201
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
2202
2202
  sessionId: z.ZodString;
2203
+ directTools: z.ZodArray<z.ZodObject<{
2204
+ fullName: z.ZodString;
2205
+ originalName: z.ZodString;
2206
+ serverName: z.ZodString;
2207
+ description: z.ZodOptional<z.ZodString>;
2208
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2209
+ exposureMode: z.ZodEnum<{
2210
+ hidden: "hidden";
2211
+ discovery: "discovery";
2212
+ direct: "direct";
2213
+ }>;
2214
+ enabled: z.ZodBoolean;
2215
+ enabledBy: z.ZodOptional<z.ZodEnum<{
2216
+ discovery: "discovery";
2217
+ toolset: "toolset";
2218
+ }>>;
2219
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2220
+ exposed: z.ZodBoolean;
2221
+ }, z.core.$strip>>;
2203
2222
  servers: z.ZodArray<z.ZodObject<{
2204
2223
  name: z.ZodString;
2205
2224
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2236,28 +2255,9 @@ declare const OrchestratorSchemas: {
2236
2255
  type: z.ZodLiteral<"http">;
2237
2256
  }, z.core.$strip>], "type">;
2238
2257
  exposureMode: z.ZodEnum<{
2239
- direct: "direct";
2240
2258
  discovery: "discovery";
2241
- }>;
2242
- }, z.core.$strip>>;
2243
- directTools: z.ZodArray<z.ZodObject<{
2244
- fullName: z.ZodString;
2245
- originalName: z.ZodString;
2246
- serverName: z.ZodString;
2247
- description: z.ZodOptional<z.ZodString>;
2248
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2249
- exposureMode: z.ZodEnum<{
2250
2259
  direct: "direct";
2251
- discovery: "discovery";
2252
- hidden: "hidden";
2253
2260
  }>;
2254
- enabled: z.ZodBoolean;
2255
- enabledBy: z.ZodOptional<z.ZodEnum<{
2256
- discovery: "discovery";
2257
- toolset: "toolset";
2258
- }>>;
2259
- enabledAt: z.ZodOptional<z.ZodNumber>;
2260
- exposed: z.ZodBoolean;
2261
2261
  }, z.core.$strip>>;
2262
2262
  discoverableTools: z.ZodArray<z.ZodObject<{
2263
2263
  fullName: z.ZodString;
@@ -2266,9 +2266,9 @@ declare const OrchestratorSchemas: {
2266
2266
  description: z.ZodOptional<z.ZodString>;
2267
2267
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2268
2268
  exposureMode: z.ZodEnum<{
2269
- direct: "direct";
2270
- discovery: "discovery";
2271
2269
  hidden: "hidden";
2270
+ discovery: "discovery";
2271
+ direct: "direct";
2272
2272
  }>;
2273
2273
  enabled: z.ZodBoolean;
2274
2274
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2451,6 +2451,25 @@ declare const OrchestratorSchemas: {
2451
2451
  env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2452
2452
  mcpSessionContext: z.ZodOptional<z.ZodObject<{
2453
2453
  sessionId: z.ZodString;
2454
+ directTools: z.ZodArray<z.ZodObject<{
2455
+ fullName: z.ZodString;
2456
+ originalName: z.ZodString;
2457
+ serverName: z.ZodString;
2458
+ description: z.ZodOptional<z.ZodString>;
2459
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2460
+ exposureMode: z.ZodEnum<{
2461
+ hidden: "hidden";
2462
+ discovery: "discovery";
2463
+ direct: "direct";
2464
+ }>;
2465
+ enabled: z.ZodBoolean;
2466
+ enabledBy: z.ZodOptional<z.ZodEnum<{
2467
+ discovery: "discovery";
2468
+ toolset: "toolset";
2469
+ }>>;
2470
+ enabledAt: z.ZodOptional<z.ZodNumber>;
2471
+ exposed: z.ZodBoolean;
2472
+ }, z.core.$strip>>;
2454
2473
  servers: z.ZodArray<z.ZodObject<{
2455
2474
  name: z.ZodString;
2456
2475
  transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2487,28 +2506,9 @@ declare const OrchestratorSchemas: {
2487
2506
  type: z.ZodLiteral<"http">;
2488
2507
  }, z.core.$strip>], "type">;
2489
2508
  exposureMode: z.ZodEnum<{
2490
- direct: "direct";
2491
2509
  discovery: "discovery";
2492
- }>;
2493
- }, z.core.$strip>>;
2494
- directTools: z.ZodArray<z.ZodObject<{
2495
- fullName: z.ZodString;
2496
- originalName: z.ZodString;
2497
- serverName: z.ZodString;
2498
- description: z.ZodOptional<z.ZodString>;
2499
- inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2500
- exposureMode: z.ZodEnum<{
2501
2510
  direct: "direct";
2502
- discovery: "discovery";
2503
- hidden: "hidden";
2504
2511
  }>;
2505
- enabled: z.ZodBoolean;
2506
- enabledBy: z.ZodOptional<z.ZodEnum<{
2507
- discovery: "discovery";
2508
- toolset: "toolset";
2509
- }>>;
2510
- enabledAt: z.ZodOptional<z.ZodNumber>;
2511
- exposed: z.ZodBoolean;
2512
2512
  }, z.core.$strip>>;
2513
2513
  discoverableTools: z.ZodArray<z.ZodObject<{
2514
2514
  fullName: z.ZodString;
@@ -2517,9 +2517,9 @@ declare const OrchestratorSchemas: {
2517
2517
  description: z.ZodOptional<z.ZodString>;
2518
2518
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2519
2519
  exposureMode: z.ZodEnum<{
2520
- direct: "direct";
2521
- discovery: "discovery";
2522
2520
  hidden: "hidden";
2521
+ discovery: "discovery";
2522
+ direct: "direct";
2523
2523
  }>;
2524
2524
  enabled: z.ZodBoolean;
2525
2525
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -2535,18 +2535,82 @@ declare const OrchestratorSchemas: {
2535
2535
  kind: z.ZodLiteral<"adapter">;
2536
2536
  adapterName: z.ZodOptional<z.ZodString>;
2537
2537
  adapterId: z.ZodOptional<z.ZodString>;
2538
- providerContext: z.ZodOptional<z.ZodObject<{
2538
+ providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2539
+ state: z.ZodLiteral<"resolved">;
2539
2540
  providerConfigId: z.ZodString;
2540
2541
  definitionId: z.ZodString;
2541
2542
  endpointOverrides: z.ZodOptional<z.ZodObject<{
2542
2543
  anthropic: z.ZodOptional<z.ZodString>;
2543
2544
  openai: z.ZodOptional<z.ZodString>;
2544
2545
  }, z.core.$strip>>;
2545
- credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
2546
- credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2547
- ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
2546
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
2547
+ mode: z.ZodLiteral<"explicit">;
2548
+ method: z.ZodDiscriminatedUnion<[z.ZodObject<{
2549
+ owner: z.ZodLiteral<"provider">;
2550
+ providerDefinitionId: z.ZodString;
2551
+ methodId: z.ZodString;
2552
+ }, z.core.$strict>, z.ZodObject<{
2553
+ owner: z.ZodLiteral<"client">;
2554
+ clientId: z.ZodString;
2555
+ methodId: z.ZodString;
2556
+ }, z.core.$strict>], "owner">;
2557
+ definition: z.ZodObject<{
2558
+ id: z.ZodString;
2559
+ mode: z.ZodLiteral<"explicit">;
2560
+ label: z.ZodString;
2561
+ description: z.ZodOptional<z.ZodString>;
2562
+ fields: z.ZodArray<z.ZodObject<{
2563
+ id: z.ZodString;
2564
+ label: z.ZodString;
2565
+ description: z.ZodOptional<z.ZodString>;
2566
+ required: z.ZodBoolean;
2567
+ secret: z.ZodBoolean;
2568
+ sourceHints: z.ZodArray<z.ZodObject<{
2569
+ kind: z.ZodLiteral<"environment">;
2570
+ variable: z.ZodString;
2571
+ }, z.core.$strict>>;
2572
+ }, z.core.$strict>>;
2573
+ }, z.core.$strict>;
2574
+ credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
2575
+ }, z.core.$strict>, z.ZodObject<{
2576
+ mode: z.ZodLiteral<"inferred">;
2577
+ method: z.ZodObject<{
2578
+ owner: z.ZodLiteral<"client">;
2579
+ clientId: z.ZodString;
2580
+ methodId: z.ZodString;
2581
+ }, z.core.$strict>;
2582
+ definition: z.ZodObject<{
2583
+ id: z.ZodString;
2584
+ mode: z.ZodLiteral<"inferred">;
2585
+ label: z.ZodString;
2586
+ description: z.ZodOptional<z.ZodString>;
2587
+ }, z.core.$strict>;
2588
+ account: z.ZodOptional<z.ZodObject<{
2589
+ managerId: z.ZodString;
2590
+ accountId: z.ZodString;
2591
+ }, z.core.$strict>>;
2592
+ }, z.core.$strict>, z.ZodObject<{
2593
+ mode: z.ZodLiteral<"none">;
2594
+ method: z.ZodDiscriminatedUnion<[z.ZodObject<{
2595
+ owner: z.ZodLiteral<"provider">;
2596
+ providerDefinitionId: z.ZodString;
2597
+ methodId: z.ZodString;
2598
+ }, z.core.$strict>, z.ZodObject<{
2599
+ owner: z.ZodLiteral<"client">;
2600
+ clientId: z.ZodString;
2601
+ methodId: z.ZodString;
2602
+ }, z.core.$strict>], "owner">;
2603
+ definition: z.ZodObject<{
2604
+ id: z.ZodString;
2605
+ mode: z.ZodLiteral<"none">;
2606
+ label: z.ZodString;
2607
+ description: z.ZodOptional<z.ZodString>;
2608
+ }, z.core.$strict>;
2609
+ }, z.core.$strict>], "mode">;
2548
2610
  capabilities: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
2549
- }, z.core.$strip>>;
2611
+ }, z.core.$strict>, z.ZodObject<{
2612
+ state: z.ZodLiteral<"unresolved">;
2613
+ }, z.core.$strict>], "state">>;
2550
2614
  }, z.core.$loose>;
2551
2615
  initialMessage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2552
2616
  role: z.ZodOptional<z.ZodEnum<{
@@ -2712,6 +2776,22 @@ declare const OrchestratorSchemas: {
2712
2776
  backfill: "backfill";
2713
2777
  }>>;
2714
2778
  }, z.core.$strip>;
2779
+ /**
2780
+ * An agent's assistant-message persistence decision has settled.
2781
+ *
2782
+ * Subject: `session.turn.assistantPersistenceSettled`
2783
+ * Type: Local event (fire-and-forget)
2784
+ *
2785
+ * Emitted by the in-process session bridge after it has either persisted the
2786
+ * agent's assistant message or determined that no persistence will occur.
2787
+ * This is coordination metadata, not a durable session lifecycle event.
2788
+ */
2789
+ 'turn.assistantPersistenceSettled': _$_makaio_core0.LocalSubjectSchema<z.ZodObject<{
2790
+ sessionId: z.ZodString;
2791
+ turnId: z.ZodString;
2792
+ messageId: z.ZodString;
2793
+ agentId: z.ZodString;
2794
+ }, z.core.$strip>>;
2715
2795
  /**
2716
2796
  * Turn completed.
2717
2797
  *
@@ -3436,8 +3516,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3436
3516
  parentSessionId: z.ZodString;
3437
3517
  kind: z.ZodEnum<{
3438
3518
  fork: "fork";
3439
- subagent: "subagent";
3440
3519
  branch: "branch";
3520
+ subagent: "subagent";
3441
3521
  compress: "compress";
3442
3522
  rewrite: "rewrite";
3443
3523
  coordinator: "coordinator";
@@ -3474,8 +3554,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3474
3554
  type: z.ZodLiteral<"locality.degraded">;
3475
3555
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
3476
3556
  intent: z.ZodEnum<{
3477
- resume: "resume";
3478
3557
  fork: "fork";
3558
+ resume: "resume";
3479
3559
  }>;
3480
3560
  verdictKind: z.ZodLiteral<"degrade">;
3481
3561
  reason: z.ZodEnum<{
@@ -3499,8 +3579,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3499
3579
  turnId: z.ZodOptional<z.ZodString>;
3500
3580
  }, z.core.$strip>, z.ZodObject<{
3501
3581
  intent: z.ZodEnum<{
3502
- resume: "resume";
3503
3582
  fork: "fork";
3583
+ resume: "resume";
3504
3584
  }>;
3505
3585
  verdictKind: z.ZodLiteral<"foreign">;
3506
3586
  foreignMachineId: z.ZodString;
@@ -3693,8 +3773,8 @@ declare const ForkChildInfoSchema: z.ZodObject<{
3693
3773
  forkPointMessageId: z.ZodNullable<z.ZodString>;
3694
3774
  branchKind: z.ZodNullable<z.ZodEnum<{
3695
3775
  fork: "fork";
3696
- subagent: "subagent";
3697
3776
  branch: "branch";
3777
+ subagent: "subagent";
3698
3778
  compress: "compress";
3699
3779
  rewrite: "rewrite";
3700
3780
  coordinator: "coordinator";
@@ -3767,8 +3847,8 @@ declare const SessionCreatedEventSchema: z.ZodObject<{
3767
3847
  parentSessionId: z.ZodNullable<z.ZodString>;
3768
3848
  branchKind: z.ZodNullable<z.ZodEnum<{
3769
3849
  fork: "fork";
3770
- subagent: "subagent";
3771
3850
  branch: "branch";
3851
+ subagent: "subagent";
3772
3852
  compress: "compress";
3773
3853
  rewrite: "rewrite";
3774
3854
  coordinator: "coordinator";
@@ -3847,16 +3927,35 @@ declare const SessionSchemas: {
3847
3927
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
3848
3928
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
3849
3929
  sessionId: _$zod.ZodString;
3850
- servers: _$zod.ZodArray<_$zod.ZodObject<{
3851
- name: _$zod.ZodString;
3852
- transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3853
- type: _$zod.ZodLiteral<"stdio">;
3854
- command: _$zod.ZodString;
3855
- args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
3856
- env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
3857
- alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
3858
- }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3859
- url: _$zod.ZodString;
3930
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
3931
+ fullName: _$zod.ZodString;
3932
+ originalName: _$zod.ZodString;
3933
+ serverName: _$zod.ZodString;
3934
+ description: _$zod.ZodOptional<_$zod.ZodString>;
3935
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3936
+ exposureMode: _$zod.ZodEnum<{
3937
+ hidden: "hidden";
3938
+ discovery: "discovery";
3939
+ direct: "direct";
3940
+ }>;
3941
+ enabled: _$zod.ZodBoolean;
3942
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3943
+ discovery: "discovery";
3944
+ toolset: "toolset";
3945
+ }>>;
3946
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3947
+ exposed: _$zod.ZodBoolean;
3948
+ }, _$zod_v4_core0.$strip>>;
3949
+ servers: _$zod.ZodArray<_$zod.ZodObject<{
3950
+ name: _$zod.ZodString;
3951
+ transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3952
+ type: _$zod.ZodLiteral<"stdio">;
3953
+ command: _$zod.ZodString;
3954
+ args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
3955
+ env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
3956
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
3957
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3958
+ url: _$zod.ZodString;
3860
3959
  headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
3861
3960
  tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
3862
3961
  name: _$zod.ZodString;
@@ -3883,28 +3982,9 @@ declare const SessionSchemas: {
3883
3982
  type: _$zod.ZodLiteral<"http">;
3884
3983
  }, _$zod_v4_core0.$strip>], "type">;
3885
3984
  exposureMode: _$zod.ZodEnum<{
3886
- direct: "direct";
3887
3985
  discovery: "discovery";
3888
- }>;
3889
- }, _$zod_v4_core0.$strip>>;
3890
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
3891
- fullName: _$zod.ZodString;
3892
- originalName: _$zod.ZodString;
3893
- serverName: _$zod.ZodString;
3894
- description: _$zod.ZodOptional<_$zod.ZodString>;
3895
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3896
- exposureMode: _$zod.ZodEnum<{
3897
3986
  direct: "direct";
3898
- discovery: "discovery";
3899
- hidden: "hidden";
3900
3987
  }>;
3901
- enabled: _$zod.ZodBoolean;
3902
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
3903
- discovery: "discovery";
3904
- toolset: "toolset";
3905
- }>>;
3906
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
3907
- exposed: _$zod.ZodBoolean;
3908
3988
  }, _$zod_v4_core0.$strip>>;
3909
3989
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
3910
3990
  fullName: _$zod.ZodString;
@@ -3913,9 +3993,9 @@ declare const SessionSchemas: {
3913
3993
  description: _$zod.ZodOptional<_$zod.ZodString>;
3914
3994
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3915
3995
  exposureMode: _$zod.ZodEnum<{
3916
- direct: "direct";
3917
- discovery: "discovery";
3918
3996
  hidden: "hidden";
3997
+ discovery: "discovery";
3998
+ direct: "direct";
3919
3999
  }>;
3920
4000
  enabled: _$zod.ZodBoolean;
3921
4001
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4103,6 +4183,25 @@ declare const SessionSchemas: {
4103
4183
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4104
4184
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4105
4185
  sessionId: _$zod.ZodString;
4186
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4187
+ fullName: _$zod.ZodString;
4188
+ originalName: _$zod.ZodString;
4189
+ serverName: _$zod.ZodString;
4190
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4191
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4192
+ exposureMode: _$zod.ZodEnum<{
4193
+ hidden: "hidden";
4194
+ discovery: "discovery";
4195
+ direct: "direct";
4196
+ }>;
4197
+ enabled: _$zod.ZodBoolean;
4198
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4199
+ discovery: "discovery";
4200
+ toolset: "toolset";
4201
+ }>>;
4202
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4203
+ exposed: _$zod.ZodBoolean;
4204
+ }, _$zod_v4_core0.$strip>>;
4106
4205
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4107
4206
  name: _$zod.ZodString;
4108
4207
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4139,28 +4238,9 @@ declare const SessionSchemas: {
4139
4238
  type: _$zod.ZodLiteral<"http">;
4140
4239
  }, _$zod_v4_core0.$strip>], "type">;
4141
4240
  exposureMode: _$zod.ZodEnum<{
4142
- direct: "direct";
4143
4241
  discovery: "discovery";
4144
- }>;
4145
- }, _$zod_v4_core0.$strip>>;
4146
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4147
- fullName: _$zod.ZodString;
4148
- originalName: _$zod.ZodString;
4149
- serverName: _$zod.ZodString;
4150
- description: _$zod.ZodOptional<_$zod.ZodString>;
4151
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4152
- exposureMode: _$zod.ZodEnum<{
4153
4242
  direct: "direct";
4154
- discovery: "discovery";
4155
- hidden: "hidden";
4156
4243
  }>;
4157
- enabled: _$zod.ZodBoolean;
4158
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4159
- discovery: "discovery";
4160
- toolset: "toolset";
4161
- }>>;
4162
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4163
- exposed: _$zod.ZodBoolean;
4164
4244
  }, _$zod_v4_core0.$strip>>;
4165
4245
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4166
4246
  fullName: _$zod.ZodString;
@@ -4169,9 +4249,9 @@ declare const SessionSchemas: {
4169
4249
  description: _$zod.ZodOptional<_$zod.ZodString>;
4170
4250
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4171
4251
  exposureMode: _$zod.ZodEnum<{
4172
- direct: "direct";
4173
- discovery: "discovery";
4174
4252
  hidden: "hidden";
4253
+ discovery: "discovery";
4254
+ direct: "direct";
4175
4255
  }>;
4176
4256
  enabled: _$zod.ZodBoolean;
4177
4257
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4206,6 +4286,25 @@ declare const SessionSchemas: {
4206
4286
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4207
4287
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4208
4288
  sessionId: _$zod.ZodString;
4289
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4290
+ fullName: _$zod.ZodString;
4291
+ originalName: _$zod.ZodString;
4292
+ serverName: _$zod.ZodString;
4293
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4294
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4295
+ exposureMode: _$zod.ZodEnum<{
4296
+ hidden: "hidden";
4297
+ discovery: "discovery";
4298
+ direct: "direct";
4299
+ }>;
4300
+ enabled: _$zod.ZodBoolean;
4301
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4302
+ discovery: "discovery";
4303
+ toolset: "toolset";
4304
+ }>>;
4305
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4306
+ exposed: _$zod.ZodBoolean;
4307
+ }, _$zod_v4_core0.$strip>>;
4209
4308
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4210
4309
  name: _$zod.ZodString;
4211
4310
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4242,28 +4341,9 @@ declare const SessionSchemas: {
4242
4341
  type: _$zod.ZodLiteral<"http">;
4243
4342
  }, _$zod_v4_core0.$strip>], "type">;
4244
4343
  exposureMode: _$zod.ZodEnum<{
4245
- direct: "direct";
4246
4344
  discovery: "discovery";
4247
- }>;
4248
- }, _$zod_v4_core0.$strip>>;
4249
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4250
- fullName: _$zod.ZodString;
4251
- originalName: _$zod.ZodString;
4252
- serverName: _$zod.ZodString;
4253
- description: _$zod.ZodOptional<_$zod.ZodString>;
4254
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4255
- exposureMode: _$zod.ZodEnum<{
4256
4345
  direct: "direct";
4257
- discovery: "discovery";
4258
- hidden: "hidden";
4259
4346
  }>;
4260
- enabled: _$zod.ZodBoolean;
4261
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4262
- discovery: "discovery";
4263
- toolset: "toolset";
4264
- }>>;
4265
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4266
- exposed: _$zod.ZodBoolean;
4267
4347
  }, _$zod_v4_core0.$strip>>;
4268
4348
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4269
4349
  fullName: _$zod.ZodString;
@@ -4272,9 +4352,9 @@ declare const SessionSchemas: {
4272
4352
  description: _$zod.ZodOptional<_$zod.ZodString>;
4273
4353
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4274
4354
  exposureMode: _$zod.ZodEnum<{
4275
- direct: "direct";
4276
- discovery: "discovery";
4277
4355
  hidden: "hidden";
4356
+ discovery: "discovery";
4357
+ direct: "direct";
4278
4358
  }>;
4279
4359
  enabled: _$zod.ZodBoolean;
4280
4360
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4309,6 +4389,25 @@ declare const SessionSchemas: {
4309
4389
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4310
4390
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4311
4391
  sessionId: _$zod.ZodString;
4392
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4393
+ fullName: _$zod.ZodString;
4394
+ originalName: _$zod.ZodString;
4395
+ serverName: _$zod.ZodString;
4396
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4397
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4398
+ exposureMode: _$zod.ZodEnum<{
4399
+ hidden: "hidden";
4400
+ discovery: "discovery";
4401
+ direct: "direct";
4402
+ }>;
4403
+ enabled: _$zod.ZodBoolean;
4404
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4405
+ discovery: "discovery";
4406
+ toolset: "toolset";
4407
+ }>>;
4408
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4409
+ exposed: _$zod.ZodBoolean;
4410
+ }, _$zod_v4_core0.$strip>>;
4312
4411
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4313
4412
  name: _$zod.ZodString;
4314
4413
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4345,28 +4444,9 @@ declare const SessionSchemas: {
4345
4444
  type: _$zod.ZodLiteral<"http">;
4346
4445
  }, _$zod_v4_core0.$strip>], "type">;
4347
4446
  exposureMode: _$zod.ZodEnum<{
4348
- direct: "direct";
4349
4447
  discovery: "discovery";
4350
- }>;
4351
- }, _$zod_v4_core0.$strip>>;
4352
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4353
- fullName: _$zod.ZodString;
4354
- originalName: _$zod.ZodString;
4355
- serverName: _$zod.ZodString;
4356
- description: _$zod.ZodOptional<_$zod.ZodString>;
4357
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4358
- exposureMode: _$zod.ZodEnum<{
4359
4448
  direct: "direct";
4360
- discovery: "discovery";
4361
- hidden: "hidden";
4362
4449
  }>;
4363
- enabled: _$zod.ZodBoolean;
4364
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4365
- discovery: "discovery";
4366
- toolset: "toolset";
4367
- }>>;
4368
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4369
- exposed: _$zod.ZodBoolean;
4370
4450
  }, _$zod_v4_core0.$strip>>;
4371
4451
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4372
4452
  fullName: _$zod.ZodString;
@@ -4375,9 +4455,9 @@ declare const SessionSchemas: {
4375
4455
  description: _$zod.ZodOptional<_$zod.ZodString>;
4376
4456
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4377
4457
  exposureMode: _$zod.ZodEnum<{
4378
- direct: "direct";
4379
- discovery: "discovery";
4380
4458
  hidden: "hidden";
4459
+ discovery: "discovery";
4460
+ direct: "direct";
4381
4461
  }>;
4382
4462
  enabled: _$zod.ZodBoolean;
4383
4463
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4618,6 +4698,25 @@ declare const SessionSchemas: {
4618
4698
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4619
4699
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4620
4700
  sessionId: _$zod.ZodString;
4701
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4702
+ fullName: _$zod.ZodString;
4703
+ originalName: _$zod.ZodString;
4704
+ serverName: _$zod.ZodString;
4705
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4706
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4707
+ exposureMode: _$zod.ZodEnum<{
4708
+ hidden: "hidden";
4709
+ discovery: "discovery";
4710
+ direct: "direct";
4711
+ }>;
4712
+ enabled: _$zod.ZodBoolean;
4713
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4714
+ discovery: "discovery";
4715
+ toolset: "toolset";
4716
+ }>>;
4717
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4718
+ exposed: _$zod.ZodBoolean;
4719
+ }, _$zod_v4_core0.$strip>>;
4621
4720
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4622
4721
  name: _$zod.ZodString;
4623
4722
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4654,28 +4753,9 @@ declare const SessionSchemas: {
4654
4753
  type: _$zod.ZodLiteral<"http">;
4655
4754
  }, _$zod_v4_core0.$strip>], "type">;
4656
4755
  exposureMode: _$zod.ZodEnum<{
4657
- direct: "direct";
4658
4756
  discovery: "discovery";
4659
- }>;
4660
- }, _$zod_v4_core0.$strip>>;
4661
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4662
- fullName: _$zod.ZodString;
4663
- originalName: _$zod.ZodString;
4664
- serverName: _$zod.ZodString;
4665
- description: _$zod.ZodOptional<_$zod.ZodString>;
4666
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4667
- exposureMode: _$zod.ZodEnum<{
4668
4757
  direct: "direct";
4669
- discovery: "discovery";
4670
- hidden: "hidden";
4671
4758
  }>;
4672
- enabled: _$zod.ZodBoolean;
4673
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4674
- discovery: "discovery";
4675
- toolset: "toolset";
4676
- }>>;
4677
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4678
- exposed: _$zod.ZodBoolean;
4679
4759
  }, _$zod_v4_core0.$strip>>;
4680
4760
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4681
4761
  fullName: _$zod.ZodString;
@@ -4684,9 +4764,9 @@ declare const SessionSchemas: {
4684
4764
  description: _$zod.ZodOptional<_$zod.ZodString>;
4685
4765
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4686
4766
  exposureMode: _$zod.ZodEnum<{
4687
- direct: "direct";
4688
- discovery: "discovery";
4689
4767
  hidden: "hidden";
4768
+ discovery: "discovery";
4769
+ direct: "direct";
4690
4770
  }>;
4691
4771
  enabled: _$zod.ZodBoolean;
4692
4772
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4861,6 +4941,25 @@ declare const SessionSchemas: {
4861
4941
  env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4862
4942
  mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
4863
4943
  sessionId: _$zod.ZodString;
4944
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
4945
+ fullName: _$zod.ZodString;
4946
+ originalName: _$zod.ZodString;
4947
+ serverName: _$zod.ZodString;
4948
+ description: _$zod.ZodOptional<_$zod.ZodString>;
4949
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4950
+ exposureMode: _$zod.ZodEnum<{
4951
+ hidden: "hidden";
4952
+ discovery: "discovery";
4953
+ direct: "direct";
4954
+ }>;
4955
+ enabled: _$zod.ZodBoolean;
4956
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4957
+ discovery: "discovery";
4958
+ toolset: "toolset";
4959
+ }>>;
4960
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4961
+ exposed: _$zod.ZodBoolean;
4962
+ }, _$zod_v4_core0.$strip>>;
4864
4963
  servers: _$zod.ZodArray<_$zod.ZodObject<{
4865
4964
  name: _$zod.ZodString;
4866
4965
  transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
@@ -4897,28 +4996,9 @@ declare const SessionSchemas: {
4897
4996
  type: _$zod.ZodLiteral<"http">;
4898
4997
  }, _$zod_v4_core0.$strip>], "type">;
4899
4998
  exposureMode: _$zod.ZodEnum<{
4900
- direct: "direct";
4901
4999
  discovery: "discovery";
4902
- }>;
4903
- }, _$zod_v4_core0.$strip>>;
4904
- directTools: _$zod.ZodArray<_$zod.ZodObject<{
4905
- fullName: _$zod.ZodString;
4906
- originalName: _$zod.ZodString;
4907
- serverName: _$zod.ZodString;
4908
- description: _$zod.ZodOptional<_$zod.ZodString>;
4909
- inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4910
- exposureMode: _$zod.ZodEnum<{
4911
5000
  direct: "direct";
4912
- discovery: "discovery";
4913
- hidden: "hidden";
4914
5001
  }>;
4915
- enabled: _$zod.ZodBoolean;
4916
- enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
4917
- discovery: "discovery";
4918
- toolset: "toolset";
4919
- }>>;
4920
- enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
4921
- exposed: _$zod.ZodBoolean;
4922
5002
  }, _$zod_v4_core0.$strip>>;
4923
5003
  discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
4924
5004
  fullName: _$zod.ZodString;
@@ -4927,9 +5007,9 @@ declare const SessionSchemas: {
4927
5007
  description: _$zod.ZodOptional<_$zod.ZodString>;
4928
5008
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4929
5009
  exposureMode: _$zod.ZodEnum<{
4930
- direct: "direct";
4931
- discovery: "discovery";
4932
5010
  hidden: "hidden";
5011
+ discovery: "discovery";
5012
+ direct: "direct";
4933
5013
  }>;
4934
5014
  enabled: _$zod.ZodBoolean;
4935
5015
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4945,18 +5025,82 @@ declare const SessionSchemas: {
4945
5025
  kind: _$zod.ZodLiteral<"adapter">;
4946
5026
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4947
5027
  adapterId: _$zod.ZodOptional<_$zod.ZodString>;
4948
- providerContext: _$zod.ZodOptional<_$zod.ZodObject<{
5028
+ providerContext: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5029
+ state: _$zod.ZodLiteral<"resolved">;
4949
5030
  providerConfigId: _$zod.ZodString;
4950
5031
  definitionId: _$zod.ZodString;
4951
5032
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodObject<{
4952
5033
  anthropic: _$zod.ZodOptional<_$zod.ZodString>;
4953
5034
  openai: _$zod.ZodOptional<_$zod.ZodString>;
4954
5035
  }, _$zod_v4_core0.$strip>>;
4955
- credentialRefs: _$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>;
4956
- credentialEnvVars: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
4957
- ambientCredentialEnvVars: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
5036
+ auth: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5037
+ mode: _$zod.ZodLiteral<"explicit">;
5038
+ method: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5039
+ owner: _$zod.ZodLiteral<"provider">;
5040
+ providerDefinitionId: _$zod.ZodString;
5041
+ methodId: _$zod.ZodString;
5042
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5043
+ owner: _$zod.ZodLiteral<"client">;
5044
+ clientId: _$zod.ZodString;
5045
+ methodId: _$zod.ZodString;
5046
+ }, _$zod_v4_core0.$strict>], "owner">;
5047
+ definition: _$zod.ZodObject<{
5048
+ id: _$zod.ZodString;
5049
+ mode: _$zod.ZodLiteral<"explicit">;
5050
+ label: _$zod.ZodString;
5051
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5052
+ fields: _$zod.ZodArray<_$zod.ZodObject<{
5053
+ id: _$zod.ZodString;
5054
+ label: _$zod.ZodString;
5055
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5056
+ required: _$zod.ZodBoolean;
5057
+ secret: _$zod.ZodBoolean;
5058
+ sourceHints: _$zod.ZodArray<_$zod.ZodObject<{
5059
+ kind: _$zod.ZodLiteral<"environment">;
5060
+ variable: _$zod.ZodString;
5061
+ }, _$zod_v4_core0.$strict>>;
5062
+ }, _$zod_v4_core0.$strict>>;
5063
+ }, _$zod_v4_core0.$strict>;
5064
+ credentialRefs: _$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>;
5065
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5066
+ mode: _$zod.ZodLiteral<"inferred">;
5067
+ method: _$zod.ZodObject<{
5068
+ owner: _$zod.ZodLiteral<"client">;
5069
+ clientId: _$zod.ZodString;
5070
+ methodId: _$zod.ZodString;
5071
+ }, _$zod_v4_core0.$strict>;
5072
+ definition: _$zod.ZodObject<{
5073
+ id: _$zod.ZodString;
5074
+ mode: _$zod.ZodLiteral<"inferred">;
5075
+ label: _$zod.ZodString;
5076
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5077
+ }, _$zod_v4_core0.$strict>;
5078
+ account: _$zod.ZodOptional<_$zod.ZodObject<{
5079
+ managerId: _$zod.ZodString;
5080
+ accountId: _$zod.ZodString;
5081
+ }, _$zod_v4_core0.$strict>>;
5082
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5083
+ mode: _$zod.ZodLiteral<"none">;
5084
+ method: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5085
+ owner: _$zod.ZodLiteral<"provider">;
5086
+ providerDefinitionId: _$zod.ZodString;
5087
+ methodId: _$zod.ZodString;
5088
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5089
+ owner: _$zod.ZodLiteral<"client">;
5090
+ clientId: _$zod.ZodString;
5091
+ methodId: _$zod.ZodString;
5092
+ }, _$zod_v4_core0.$strict>], "owner">;
5093
+ definition: _$zod.ZodObject<{
5094
+ id: _$zod.ZodString;
5095
+ mode: _$zod.ZodLiteral<"none">;
5096
+ label: _$zod.ZodString;
5097
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5098
+ }, _$zod_v4_core0.$strict>;
5099
+ }, _$zod_v4_core0.$strict>], "mode">;
4958
5100
  capabilities: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
4959
- }, _$zod_v4_core0.$strip>>;
5101
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5102
+ state: _$zod.ZodLiteral<"unresolved">;
5103
+ }, _$zod_v4_core0.$strict>], "state">>;
4960
5104
  }, _$zod_v4_core0.$loose>;
4961
5105
  initialMessage: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
4962
5106
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5115,6 +5259,12 @@ declare const SessionSchemas: {
5115
5259
  backfill: "backfill";
5116
5260
  }>>;
5117
5261
  }, _$zod_v4_core0.$strip>;
5262
+ 'turn.assistantPersistenceSettled': _$_makaio_core0.LocalSubjectSchema<_$zod.ZodObject<{
5263
+ sessionId: _$zod.ZodString;
5264
+ turnId: _$zod.ZodString;
5265
+ messageId: _$zod.ZodString;
5266
+ agentId: _$zod.ZodString;
5267
+ }, _$zod_v4_core0.$strip>>;
5118
5268
  'turn.completed': _$zod.ZodObject<{
5119
5269
  sessionId: _$zod.ZodString;
5120
5270
  turnId: _$zod.ZodString;
@@ -5431,8 +5581,8 @@ declare const SessionSchemas: {
5431
5581
  forkPointMessageId: _$zod.ZodNullable<_$zod.ZodString>;
5432
5582
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
5433
5583
  fork: "fork";
5434
- subagent: "subagent";
5435
5584
  branch: "branch";
5585
+ subagent: "subagent";
5436
5586
  compress: "compress";
5437
5587
  rewrite: "rewrite";
5438
5588
  coordinator: "coordinator";
@@ -5488,8 +5638,8 @@ declare const SessionSchemas: {
5488
5638
  parentSessionId: _$zod.ZodString;
5489
5639
  kind: _$zod.ZodEnum<{
5490
5640
  fork: "fork";
5491
- subagent: "subagent";
5492
5641
  branch: "branch";
5642
+ subagent: "subagent";
5493
5643
  compress: "compress";
5494
5644
  rewrite: "rewrite";
5495
5645
  coordinator: "coordinator";
@@ -5536,8 +5686,8 @@ declare const SessionSchemas: {
5536
5686
  parentSessionId: _$zod.ZodNullable<_$zod.ZodString>;
5537
5687
  branchKind: _$zod.ZodNullable<_$zod.ZodEnum<{
5538
5688
  fork: "fork";
5539
- subagent: "subagent";
5540
5689
  branch: "branch";
5690
+ subagent: "subagent";
5541
5691
  compress: "compress";
5542
5692
  rewrite: "rewrite";
5543
5693
  coordinator: "coordinator";
@@ -5637,8 +5787,8 @@ declare const SessionSchemas: {
5637
5787
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
5638
5788
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
5639
5789
  fork: "fork";
5640
- subagent: "subagent";
5641
5790
  branch: "branch";
5791
+ subagent: "subagent";
5642
5792
  compress: "compress";
5643
5793
  rewrite: "rewrite";
5644
5794
  coordinator: "coordinator";
@@ -6125,8 +6275,8 @@ declare const SessionSchemas: {
6125
6275
  parentSessionId: _$zod.ZodString;
6126
6276
  kind: _$zod.ZodEnum<{
6127
6277
  fork: "fork";
6128
- subagent: "subagent";
6129
6278
  branch: "branch";
6279
+ subagent: "subagent";
6130
6280
  compress: "compress";
6131
6281
  rewrite: "rewrite";
6132
6282
  coordinator: "coordinator";
@@ -6163,8 +6313,8 @@ declare const SessionSchemas: {
6163
6313
  type: _$zod.ZodLiteral<"locality.degraded">;
6164
6314
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6165
6315
  intent: _$zod.ZodEnum<{
6166
- resume: "resume";
6167
6316
  fork: "fork";
6317
+ resume: "resume";
6168
6318
  }>;
6169
6319
  verdictKind: _$zod.ZodLiteral<"degrade">;
6170
6320
  reason: _$zod.ZodEnum<{
@@ -6188,8 +6338,8 @@ declare const SessionSchemas: {
6188
6338
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6189
6339
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6190
6340
  intent: _$zod.ZodEnum<{
6191
- resume: "resume";
6192
6341
  fork: "fork";
6342
+ resume: "resume";
6193
6343
  }>;
6194
6344
  verdictKind: _$zod.ZodLiteral<"foreign">;
6195
6345
  foreignMachineId: _$zod.ZodString;
@@ -6270,8 +6420,8 @@ declare const SessionSchemas: {
6270
6420
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
6271
6421
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
6272
6422
  fork: "fork";
6273
- subagent: "subagent";
6274
6423
  branch: "branch";
6424
+ subagent: "subagent";
6275
6425
  compress: "compress";
6276
6426
  rewrite: "rewrite";
6277
6427
  coordinator: "coordinator";
@@ -6758,8 +6908,8 @@ declare const SessionSchemas: {
6758
6908
  parentSessionId: _$zod.ZodString;
6759
6909
  kind: _$zod.ZodEnum<{
6760
6910
  fork: "fork";
6761
- subagent: "subagent";
6762
6911
  branch: "branch";
6912
+ subagent: "subagent";
6763
6913
  compress: "compress";
6764
6914
  rewrite: "rewrite";
6765
6915
  coordinator: "coordinator";
@@ -6796,8 +6946,8 @@ declare const SessionSchemas: {
6796
6946
  type: _$zod.ZodLiteral<"locality.degraded">;
6797
6947
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6798
6948
  intent: _$zod.ZodEnum<{
6799
- resume: "resume";
6800
6949
  fork: "fork";
6950
+ resume: "resume";
6801
6951
  }>;
6802
6952
  verdictKind: _$zod.ZodLiteral<"degrade">;
6803
6953
  reason: _$zod.ZodEnum<{
@@ -6821,8 +6971,8 @@ declare const SessionSchemas: {
6821
6971
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6822
6972
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6823
6973
  intent: _$zod.ZodEnum<{
6824
- resume: "resume";
6825
6974
  fork: "fork";
6975
+ resume: "resume";
6826
6976
  }>;
6827
6977
  verdictKind: _$zod.ZodLiteral<"foreign">;
6828
6978
  foreignMachineId: _$zod.ZodString;
@@ -6925,8 +7075,8 @@ declare const SessionSchemas: {
6925
7075
  timestamp: _$zod.ZodNumber;
6926
7076
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6927
7077
  intent: _$zod.ZodEnum<{
6928
- resume: "resume";
6929
7078
  fork: "fork";
7079
+ resume: "resume";
6930
7080
  }>;
6931
7081
  verdictKind: _$zod.ZodLiteral<"degrade">;
6932
7082
  reason: _$zod.ZodEnum<{
@@ -6950,8 +7100,8 @@ declare const SessionSchemas: {
6950
7100
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6951
7101
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6952
7102
  intent: _$zod.ZodEnum<{
6953
- resume: "resume";
6954
7103
  fork: "fork";
7104
+ resume: "resume";
6955
7105
  }>;
6956
7106
  verdictKind: _$zod.ZodLiteral<"foreign">;
6957
7107
  foreignMachineId: _$zod.ZodString;
@@ -7270,8 +7420,8 @@ declare const SessionSchemas: {
7270
7420
  parentSessionId: _$zod.ZodString;
7271
7421
  kind: _$zod.ZodEnum<{
7272
7422
  fork: "fork";
7273
- subagent: "subagent";
7274
7423
  branch: "branch";
7424
+ subagent: "subagent";
7275
7425
  compress: "compress";
7276
7426
  rewrite: "rewrite";
7277
7427
  coordinator: "coordinator";
@@ -7308,8 +7458,8 @@ declare const SessionSchemas: {
7308
7458
  type: _$zod.ZodLiteral<"locality.degraded">;
7309
7459
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
7310
7460
  intent: _$zod.ZodEnum<{
7311
- resume: "resume";
7312
7461
  fork: "fork";
7462
+ resume: "resume";
7313
7463
  }>;
7314
7464
  verdictKind: _$zod.ZodLiteral<"degrade">;
7315
7465
  reason: _$zod.ZodEnum<{
@@ -7333,8 +7483,8 @@ declare const SessionSchemas: {
7333
7483
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
7334
7484
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
7335
7485
  intent: _$zod.ZodEnum<{
7336
- resume: "resume";
7337
7486
  fork: "fork";
7487
+ resume: "resume";
7338
7488
  }>;
7339
7489
  verdictKind: _$zod.ZodLiteral<"foreign">;
7340
7490
  foreignMachineId: _$zod.ZodString;
@@ -7416,8 +7566,8 @@ declare const SessionSchemas: {
7416
7566
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7417
7567
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7418
7568
  fork: "fork";
7419
- subagent: "subagent";
7420
7569
  branch: "branch";
7570
+ subagent: "subagent";
7421
7571
  compress: "compress";
7422
7572
  rewrite: "rewrite";
7423
7573
  coordinator: "coordinator";
@@ -7554,8 +7704,8 @@ declare const SessionSchemas: {
7554
7704
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7555
7705
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7556
7706
  fork: "fork";
7557
- subagent: "subagent";
7558
7707
  branch: "branch";
7708
+ subagent: "subagent";
7559
7709
  compress: "compress";
7560
7710
  rewrite: "rewrite";
7561
7711
  coordinator: "coordinator";
@@ -7683,8 +7833,8 @@ declare const SessionSchemas: {
7683
7833
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7684
7834
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7685
7835
  fork: "fork";
7686
- subagent: "subagent";
7687
7836
  branch: "branch";
7837
+ subagent: "subagent";
7688
7838
  compress: "compress";
7689
7839
  rewrite: "rewrite";
7690
7840
  coordinator: "coordinator";
@@ -7761,8 +7911,8 @@ declare const SessionSchemas: {
7761
7911
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7762
7912
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7763
7913
  fork: "fork";
7764
- subagent: "subagent";
7765
7914
  branch: "branch";
7915
+ subagent: "subagent";
7766
7916
  compress: "compress";
7767
7917
  rewrite: "rewrite";
7768
7918
  coordinator: "coordinator";
@@ -7926,8 +8076,8 @@ declare const SessionSchemas: {
7926
8076
  forkPointMessageId: _$zod.ZodOptional<_$zod.ZodString>;
7927
8077
  branchKind: _$zod.ZodOptional<_$zod.ZodEnum<{
7928
8078
  fork: "fork";
7929
- subagent: "subagent";
7930
8079
  branch: "branch";
8080
+ subagent: "subagent";
7931
8081
  compress: "compress";
7932
8082
  rewrite: "rewrite";
7933
8083
  coordinator: "coordinator";