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

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 (460) 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 +120 -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/authority-state-bootstrap-CEuKScnL.mjs +1 -0
  20. package/dist/{base-orchestrator-J1WKAUkF.d.mts → base-orchestrator-BiShpVKL.d.mts} +6 -0
  21. package/dist/bus/index.d.mts +10 -10
  22. package/dist/bus/index.mjs +1 -1
  23. package/dist/{canonical-model-DV-Z8gsb.mjs → canonical-model-C31NaBJs.mjs} +1 -1
  24. package/dist/client-BkpLM8Fx.mjs +1 -0
  25. package/dist/client-binary-version-verifier-BK_vIjIo.mjs +2 -0
  26. package/dist/client-binary-version-verifier-BwrMTAh2.d.mts +179 -0
  27. package/dist/clients/index.d.mts +69 -85
  28. package/dist/clients/index.mjs +1 -2
  29. package/dist/clients/managed-install.d.mts +2 -0
  30. package/dist/clients/managed-install.mjs +1 -0
  31. package/dist/{clients-namespace-Bt_VTkEU.d.mts → clients-namespace-B96QIJOs.d.mts} +224 -21
  32. package/dist/compression-CZ_6fYq8.mjs +1 -0
  33. package/dist/config-namespace-DTA6EQL8.mjs +1 -0
  34. package/dist/{config-namespace-DqdFE6zk.d.mts → config-namespace-x0fuhEXe.d.mts} +73 -1
  35. package/dist/contracts/adapter/index.d.mts +3 -3
  36. package/dist/contracts/adapter/index.mjs +1 -1
  37. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  38. package/dist/contracts/artifact/index.d.mts +1 -1
  39. package/dist/contracts/auth/index.d.mts +3 -0
  40. package/dist/contracts/auth/index.mjs +1 -0
  41. package/dist/contracts/canonical-model/index.d.mts +1 -1
  42. package/dist/contracts/canonical-model/index.mjs +1 -1
  43. package/dist/contracts/client/index.d.mts +3 -3
  44. package/dist/contracts/client/index.mjs +1 -1
  45. package/dist/contracts/common/index.d.mts +1 -1
  46. package/dist/contracts/config/index.d.mts +20 -93
  47. package/dist/contracts/config/index.mjs +1 -1
  48. package/dist/contracts/extension/index.d.mts +3 -3
  49. package/dist/contracts/extension/index.mjs +1 -1
  50. package/dist/contracts/facet/index.d.mts +1 -1
  51. package/dist/contracts/facet/index.mjs +1 -1
  52. package/dist/contracts/harness/index.d.mts +1 -1
  53. package/dist/contracts/harness/index.mjs +1 -1
  54. package/dist/contracts/host/index.d.mts +1 -1
  55. package/dist/contracts/host/index.mjs +1 -1
  56. package/dist/contracts/index.d.mts +1161 -140
  57. package/dist/contracts/index.mjs +1 -1
  58. package/dist/contracts/materialization/index.d.mts +3 -3
  59. package/dist/contracts/materialization/index.mjs +1 -1
  60. package/dist/contracts/model-registry/index.d.mts +1 -1
  61. package/dist/contracts/model-registry/index.mjs +1 -1
  62. package/dist/contracts/native-session-supervisor/index.d.mts +2 -2
  63. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  64. package/dist/contracts/platform/index.d.mts +1 -1
  65. package/dist/contracts/platform/index.mjs +1 -1
  66. package/dist/contracts/provider/index.d.mts +2 -2
  67. package/dist/contracts/provider/index.mjs +1 -1
  68. package/dist/contracts/session/index.d.mts +3 -3
  69. package/dist/contracts/session/index.mjs +1 -1
  70. package/dist/contracts/shared/index.d.mts +2 -2
  71. package/dist/contracts/shared/index.mjs +1 -1
  72. package/dist/contracts/skill/index.d.mts +1 -1
  73. package/dist/contracts/skill/index.mjs +1 -1
  74. package/dist/contracts/telemetry/index.d.mts +1 -1
  75. package/dist/contracts/telemetry/index.mjs +1 -1
  76. package/dist/contracts/timeout/index.d.mts +1 -1
  77. package/dist/contracts/timeout/index.mjs +1 -1
  78. package/dist/contracts/toast/index.mjs +1 -1
  79. package/dist/contracts/variant/index.d.mts +1 -1
  80. package/dist/contracts/variant/index.mjs +1 -1
  81. package/dist/contracts/workflow/index.d.mts +3 -3
  82. package/dist/contracts/workflow/index.mjs +1 -1
  83. package/dist/{definition-s9PIua2B.d.mts → definition-Bj9Vr16H.d.mts} +1 -1
  84. package/dist/{definition-Cllhr9mi.d.mts → definition-BsTlOz99.d.mts} +36 -4
  85. package/dist/{definition-CuJvtYeG.d.mts → definition-Cbl0k6Fc.d.mts} +31 -1
  86. package/dist/definition-K3m51lgO.mjs +1 -0
  87. package/dist/definitions-C1pgx0Nq.mjs +1 -0
  88. package/dist/{detached-extension-handle-Cx6-0eqg.mjs → detached-extension-handle-vDK194QV.mjs} +1 -1
  89. package/dist/drizzle/0026_m_mrgvi7fq.sql +16 -0
  90. package/dist/drizzle/0027_m_mrgw0uzg.sql +1 -0
  91. package/dist/drizzle/0028_m_mrgx04i1.sql +1 -0
  92. package/dist/drizzle/0029_terminal-authority.sql +1 -0
  93. package/dist/drizzle/meta/_journal.json +28 -0
  94. package/dist/execution-target-Bg2wpfML.mjs +1 -0
  95. package/dist/{extension-CJClssfp.mjs → extension-CjTu6mzW.mjs} +1 -1
  96. package/dist/extension-D4iKUUMG.mjs +1 -0
  97. package/dist/{filesystem-service-Bmyqo6po.mjs → filesystem-service-maY_P3yA.mjs} +1 -1
  98. package/dist/git/index.mjs +1 -1
  99. package/dist/{globby-D4SANVoq.mjs → globby-CisClzat.mjs} +1 -1
  100. package/dist/handlers-RGs3eC9X.mjs +57 -0
  101. package/dist/{harness-DkUpbsuY.mjs → harness-DflvHAGV.mjs} +1 -1
  102. package/dist/index-9dISOTLT.d.mts +174 -0
  103. package/dist/{index-B9d_8_V2.d.mts → index-9g0agW_p.d.mts} +55 -55
  104. package/dist/{index-DScUb-hF.d.mts → index-BDr2Ba122.d.mts} +34 -11
  105. package/dist/{index-BcvG3wPv.d.mts → index-BKZAAWo2.d.mts} +185 -45
  106. package/dist/{index-CaerrEDH.d.mts → index-Bbr5LEUc.d.mts} +2 -2
  107. package/dist/{index-C23g_M_J2.d.mts → index-BmsPH78f2.d.mts} +50 -5
  108. package/dist/index-ButbwvVY.d.mts +1175 -0
  109. package/dist/index-BxuiHVFi.d.mts +284 -0
  110. package/dist/{index-DnnKUwHm.d.mts → index-C2C1qH1Y.d.mts} +38 -32
  111. package/dist/{index-ntS1EXlf.d.mts → index-C6LZOiDv.d.mts} +150 -2
  112. package/dist/{index-C9FCWOhp.d.mts → index-COC9jCdc.d.mts} +124 -22
  113. package/dist/{index-Cx1Bm6WD.d.mts → index-CVs0Qxks.d.mts} +8 -8
  114. package/dist/index-CagRgpXI2.d.mts +84 -0
  115. package/dist/{index-DoEF9LAc.d.mts → index-CtjLeK1F.d.mts} +3 -3
  116. package/dist/{index-DZPNuWMc.d.mts → index-Cx8jGKOs.d.mts} +4 -4
  117. package/dist/{index-h5go5Dtd.d.mts → index-D75FnT0B.d.mts} +1 -1
  118. package/dist/{index-FFVwQMad.d.mts → index-DNkR5yTY.d.mts} +3401 -594
  119. package/dist/{index-wq7XeqyG.d.mts → index-DXBiCH2y.d.mts} +27 -1
  120. package/dist/{index-B2DjrVb8.d.mts → index-DpZbaS7y.d.mts} +1194 -87
  121. package/dist/{index-BvTd61i5.d.mts → index-T96ydgVk.d.mts} +260 -160
  122. package/dist/{index-DLNRgZPo2.d.mts → index-j2YlW_Fc.d.mts} +1 -1
  123. package/dist/{index-PIlYSC73.d.mts → index-x2gFj3BK.d.mts} +41 -28
  124. package/dist/kernel/cli/index.d.mts +2 -2
  125. package/dist/kernel/cli/index.mjs +1 -1
  126. package/dist/kernel/cli/register.d.mts +1 -1
  127. package/dist/kernel/cli/register.mjs +1 -1
  128. package/dist/kernel/cli/schemas.mjs +1 -1
  129. package/dist/kernel/extension/index.d.mts +1 -1
  130. package/dist/kernel/extension/index.mjs +1 -1
  131. package/dist/kernel/index.d.mts +5 -5
  132. package/dist/kernel/index.mjs +1 -1
  133. package/dist/kernel/namespace/index.d.mts +1 -1
  134. package/dist/kernel/namespace/index.mjs +1 -1
  135. package/dist/kernel/observability/index.d.mts +1 -1
  136. package/dist/kernel/observability/index.mjs +1 -1
  137. package/dist/kernel/providers/index.d.mts +1 -1
  138. package/dist/kernel/providers/index.mjs +1 -1
  139. package/dist/kernel/window/index.d.mts +1 -1
  140. package/dist/kernel/window/index.mjs +1 -1
  141. package/dist/{lib-BOmKyjWD.mjs → lib-DIVnpS8e.mjs} +1 -1
  142. package/dist/{lib-DLZYp5z3.mjs → lib-DymjnkAP.mjs} +1 -1
  143. package/dist/{load-extensions-DNRIy4zC.d.mts → load-extensions-_EnedkUp.d.mts} +1 -1
  144. package/dist/{load-extensions-Cze1RHcG.mjs → load-extensions-nqL5WAKj.mjs} +1 -1
  145. package/dist/mcp-http-server/index.d.mts +27 -90
  146. package/dist/mcp-http-server/index.mjs +2 -2
  147. package/dist/model-uE5IyUFJ.mjs +1 -0
  148. package/dist/namespace-C05pkLbN.mjs +1 -0
  149. package/dist/{namespace-D9PLFmPQ.d.mts → namespace-CCZXyxSe.d.mts} +18 -18
  150. package/dist/namespace-D7pE2QWv.mjs +1 -0
  151. package/dist/{namespace-dFBD2ZmS.mjs → namespace-DwQtzlY-.mjs} +1 -1
  152. package/dist/namespace-HsI0Jbbr.mjs +1 -0
  153. package/dist/namespace-VmsT_tLJ.d.mts +3729 -0
  154. package/dist/namespace-Xp9-g_r-.mjs +1 -0
  155. package/dist/{native-session-supervisor-7ElwM6Is.mjs → native-session-supervisor-CdtVGWA9.mjs} +1 -1
  156. package/dist/node/bus-server/index.d.mts +1 -1
  157. package/dist/node/bus-server/index.mjs +1 -1
  158. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  159. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  160. package/dist/node/transports/index.d.mts +36 -1
  161. package/dist/node/transports/index.mjs +2 -2
  162. package/dist/{orchestrator-shared-ChygCvR1.mjs → orchestrator-shared-DAkGOu9H.mjs} +1 -1
  163. package/dist/{orchestrator-shared-DFLb1otg.d.mts → orchestrator-shared-pxtyNu3W.d.mts} +13 -6
  164. package/dist/package-BYpWkSuQ.mjs +1 -0
  165. package/dist/package-CsFFT9iR.mjs +7 -0
  166. package/dist/{package-DmVZxufT.d.mts → package-DG9GSY8M.d.mts} +52 -1
  167. package/dist/package.json +1 -1
  168. package/dist/{profile-BMBXUqqh.mjs → profile-D2m94ZYD.mjs} +1 -1
  169. package/dist/provider-context-BYkMl--1.mjs +1 -0
  170. package/dist/provider-context-DOsjOjiR.mjs +1 -0
  171. package/dist/{providers-namespace-5GoTlHXz.d.mts → providers-namespace-O4de1tgO.d.mts} +161 -14
  172. package/dist/resolved-O2XXjTeu.mjs +1 -0
  173. package/dist/rules/index.d.mts +1 -1
  174. package/dist/rules/index.mjs +1 -1
  175. package/dist/rules/schemas.d.mts +1 -1
  176. package/dist/runtime-bun/index.mjs +1 -1
  177. package/dist/runtime-node/client-binary-strategy-dependencies.d.mts +34 -0
  178. package/dist/runtime-node/client-binary-strategy-dependencies.mjs +1 -0
  179. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  180. package/dist/runtime-node/extension-validation.d.mts +1 -1
  181. package/dist/runtime-node/extension-validation.mjs +1 -1
  182. package/dist/runtime-node/index.d.mts +25 -84
  183. package/dist/runtime-node/index.mjs +24 -24
  184. package/dist/runtime-node/makaio-config.d.mts +1 -1
  185. package/dist/runtime-node/makaio-config.mjs +1 -1
  186. package/dist/runtime-node/workflow-worker/index.d.mts +2 -2
  187. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  188. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  189. package/dist/{schema-7aKBGB7S.mjs → schema-BI0aCHvV.mjs} +1 -1
  190. package/dist/schemas-C-J4W1ID.mjs +1 -0
  191. package/dist/{schemas-Br-rSxPE2.d.mts → schemas-CoJCTFod2.d.mts} +8 -8
  192. package/dist/schemas-K3Td_WdR.d.mts +3175 -0
  193. package/dist/schemas-n9Ff6_RX.mjs +1 -0
  194. package/dist/schemas-th_nuC5t.mjs +1 -0
  195. package/dist/selection-YRuVSdck.mjs +1 -0
  196. package/dist/service-base/index.d.mts +4 -3
  197. package/dist/service-base/index.mjs +1 -1
  198. package/dist/services/adapter-runtime/index.d.mts +3 -3
  199. package/dist/services/adapter-runtime/index.mjs +1 -1
  200. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  201. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  202. package/dist/services/adapter-subsystem/index.d.mts +4 -3
  203. package/dist/services/adapter-subsystem/index.mjs +1 -1
  204. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  205. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  206. package/dist/services/agent-runtime/index.d.mts +2 -2
  207. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  208. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  209. package/dist/services/capability/index.d.mts +1 -1
  210. package/dist/services/capability/index.mjs +1 -1
  211. package/dist/services/codebase/index.d.mts +2 -2
  212. package/dist/services/codebase/namespace.d.mts +1 -1
  213. package/dist/services/codebase/schemas.d.mts +1 -1
  214. package/dist/services/compression/index.d.mts +2 -2
  215. package/dist/services/compression/namespace.d.mts +1 -1
  216. package/dist/services/compression/schemas.d.mts +1 -1
  217. package/dist/services/context-rules/index.d.mts +4 -4
  218. package/dist/services/context-rules/index.mjs +1 -1
  219. package/dist/services/definition/namespace.d.mts +1 -19
  220. package/dist/services/definition/schemas.d.mts +0 -9
  221. package/dist/services/definition/schemas.mjs +1 -1
  222. package/dist/services/execution-target/index.d.mts +4 -4
  223. package/dist/services/execution-target/index.mjs +1 -1
  224. package/dist/services/execution-target/namespace.d.mts +1 -1
  225. package/dist/services/execution-target/namespace.mjs +1 -1
  226. package/dist/services/execution-target/schemas.d.mts +1 -1
  227. package/dist/services/execution-target/schemas.mjs +1 -1
  228. package/dist/services/filesystem/index.d.mts +1 -1
  229. package/dist/services/filesystem/index.mjs +1 -1
  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 +1591 -173
  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/extension-configs/namespace.d.mts +3 -3
  278. package/dist/services/settings/storage/index.d.mts +3 -3
  279. package/dist/services/settings/storage/index.mjs +1 -1
  280. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  281. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  282. package/dist/services/subagent/index.d.mts +2 -2
  283. package/dist/services/subagent/index.mjs +1 -1
  284. package/dist/services/subagent-template/index.d.mts +2 -2
  285. package/dist/services/subagent-template/namespace.d.mts +1 -1
  286. package/dist/services/subagent-template/schemas.d.mts +1 -1
  287. package/dist/services/tool-approval/index.d.mts +1 -1
  288. package/dist/services/tool-approval/index.mjs +1 -1
  289. package/dist/services/tools/index.d.mts +1 -1
  290. package/dist/services/tools/index.mjs +1 -1
  291. package/dist/services/tray-menu/index.d.mts +3 -3
  292. package/dist/services/tray-menu/index.mjs +1 -1
  293. package/dist/services/tray-menu/namespace.d.mts +1 -1
  294. package/dist/services/tray-menu/schemas.d.mts +1 -1
  295. package/dist/services/turn/index.d.mts +1 -1
  296. package/dist/services/turn/namespace.d.mts +1 -1
  297. package/dist/session-CAjudDuJ.mjs +76 -0
  298. package/dist/{session-DBfQkgdy.mjs → session-lRd8HZNZ.mjs} +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 +9 -2
  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/index.d.mts +1 -1
  312. package/dist/tools-PC_L6g2m.mjs +1 -0
  313. package/dist/{transition-OzGXyy3p.d.mts → transition-CwUIm1hJ.d.mts} +10 -2
  314. package/dist/{types-BWduCvRU.d.mts → types-B-xY9WW2.d.mts} +1 -1
  315. package/dist/{types-CBLPaQXe.d.mts → types-BaDYigzD.d.mts} +486 -25
  316. package/dist/{types-BrUOVfwe.d.mts → types-DvKaEOOn.d.mts} +252 -19
  317. package/dist/ui-hooks/index.d.mts +103 -14
  318. package/dist/ui-hooks/index.mjs +1 -1
  319. package/dist/ui-kernel/index.d.mts +3 -3
  320. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  321. package/dist/utils/keychain.mjs +1 -1
  322. package/dist/{version-DoV_pSzT.mjs → version-C1-VD-XL.mjs} +1 -1
  323. package/dist/workflow-DFJYGjq_.mjs +1 -0
  324. package/dist/workflow-engine/index.d.mts +663 -60
  325. package/dist/workflow-engine/index.mjs +1 -1
  326. package/dist/workflow-engine/package.d.mts +1 -1
  327. package/dist/workflow-engine/package.mjs +1 -1
  328. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  329. package/dist/workflow-worker-BEFjCccX.mjs +1 -0
  330. package/package.json +13 -8
  331. package/dist/account-identity-C7Kx_ieU.mjs +0 -1
  332. package/dist/cleanEnvForAdapter-BooAgM2R.mjs +0 -1
  333. package/dist/client-DaR4mzqn.mjs +0 -1
  334. package/dist/compression-C5JAWdgZ.mjs +0 -1
  335. package/dist/config-namespace-CY9leBnE.mjs +0 -1
  336. package/dist/credential-ref-YWQQENEo.mjs +0 -1
  337. package/dist/definition-C-GVz7uw.mjs +0 -1
  338. package/dist/execution-target-BR8bLkCR.mjs +0 -1
  339. package/dist/extension-BS_4BOeO.mjs +0 -1
  340. package/dist/handlers-B74FvKlA.mjs +0 -57
  341. package/dist/index-BcwOnvUh.d.mts +0 -749
  342. package/dist/index-D6aAzr32.d.mts +0 -997
  343. package/dist/index-DtwGhFFQ.d.mts +0 -40
  344. package/dist/loop-gate-handlers-o2B5FPdF.mjs +0 -1
  345. package/dist/namespace-B4cV_pk3.d.mts +0 -1317
  346. package/dist/namespace-BO3tODGC.mjs +0 -1
  347. package/dist/namespace-CVMZVqB5.mjs +0 -1
  348. package/dist/namespace-DBHwyhME.mjs +0 -1
  349. package/dist/namespace-DibbhCPP.mjs +0 -1
  350. package/dist/package-CF_Zm2v4.mjs +0 -1
  351. package/dist/package-Co_GO3UD.mjs +0 -7
  352. package/dist/provider-context-CqMgPOWF.mjs +0 -1
  353. package/dist/provider-context-DC_eq7es.mjs +0 -1
  354. package/dist/schemas-CVo8qAK-.mjs +0 -1
  355. package/dist/schemas-CuG17U3L.mjs +0 -1
  356. package/dist/session-CX6QDhi2.mjs +0 -76
  357. package/dist/tools-CGFZkB7F.mjs +0 -1
  358. package/dist/workflow-C3dgVwTY.mjs +0 -1
  359. package/dist/workflow-worker-dH70EbjE.mjs +0 -1
  360. /package/dist/{ajv-B5dPIck0.mjs → ajv-DfHhgdS5.mjs} +0 -0
  361. /package/dist/{await-trigger-DwVldnMt.mjs → await-trigger-DP-fTQc4.mjs} +0 -0
  362. /package/dist/{capability-service-XlymTzz1.mjs → capability-service-Dg2bU8qc.mjs} +0 -0
  363. /package/dist/{client-CebV_fZc.d.mts → client-DmJwprw1.d.mts} +0 -0
  364. /package/dist/{create-static-mount-DkK28kKW.mjs → create-static-mount-CBTXRtbN.mjs} +0 -0
  365. /package/dist/{cross-spawn-CDXy3BjE.mjs → cross-spawn-D9WWFl2a.mjs} +0 -0
  366. /package/dist/{cursor-storage-luQAg7E_.mjs → cursor-storage-Bw-7ROzx.mjs} +0 -0
  367. /package/dist/{descriptor-to-package-DdpjpT7n.mjs → descriptor-to-package-Rs-OjOQU.mjs} +0 -0
  368. /package/dist/{drizzle-DVTAl7Us.mjs → drizzle-DYfaDzlO.mjs} +0 -0
  369. /package/dist/{esm-CQG9Pc7n.mjs → esm-C_WW4-pP.mjs} +0 -0
  370. /package/dist/{event-DguYjV6D.mjs → event-DTM0-qWP.mjs} +0 -0
  371. /package/dist/{extension-discovery-CIZn5bkq.d.mts → extension-discovery-APMf1Tes.d.mts} +0 -0
  372. /package/dist/{extension-namespace-v3K0qVry.mjs → extension-namespace-vrh4ERXR.mjs} +0 -0
  373. /package/dist/{facet-BM4y4aQP.mjs → facet-DqPBpqkl.mjs} +0 -0
  374. /package/dist/{filesystem-service-Cwp0sWNc.d.mts → filesystem-service-Bx0bR2Lb.d.mts} +0 -0
  375. /package/dist/{handler-BFNvtv5t.mjs → handler-4pKQi3eo.mjs} +0 -0
  376. /package/dist/{host-vY07gek-.mjs → host-BfgdjlII.mjs} +0 -0
  377. /package/dist/{identity-DC3Pk0ps.mjs → identity-2qUT1NME.mjs} +0 -0
  378. /package/dist/{index-COI1tjAf.d.mts → index-BZ_DSGnE.d.mts} +0 -0
  379. /package/dist/{index-D7rWAEY0.d.mts → index-Bd52mmj9.d.mts} +0 -0
  380. /package/dist/{index-Dfi8Rorw.d.mts → index-BkAKfh4d.d.mts} +0 -0
  381. /package/dist/{index-CuHqL95P.d.mts → index-Bv9lm0Kf.d.mts} +0 -0
  382. /package/dist/{index-C4nStEdA.d.mts → index-C18Pn3zP.d.mts} +0 -0
  383. /package/dist/{index-Cr9lh21j.d.mts → index-CarbJsC92.d.mts} +0 -0
  384. /package/dist/{index-BjoOSg95.d.mts → index-Ctw617Tj.d.mts} +0 -0
  385. /package/dist/{index-DUD7wikz2.d.mts → index-D0eUQjTU2.d.mts} +0 -0
  386. /package/dist/{index-O08Q2ikz.d.mts → index-DHGW7dFf.d.mts} +0 -0
  387. /package/dist/{index-DEzdNQum.d.mts → index-DfVSWBBp.d.mts} +0 -0
  388. /package/dist/{index-WHUV7neB.d.mts → index-DlAfs3RD.d.mts} +0 -0
  389. /package/dist/{index-D3ahzHwb.d.mts → index-DnWZdG6C.d.mts} +0 -0
  390. /package/dist/{index-CpKikwK4.d.mts → index-DoLdETfR.d.mts} +0 -0
  391. /package/dist/{index-B92mToDo2.d.mts → index-DvaPrL6C.d.mts} +0 -0
  392. /package/dist/{index-D7Hkmrr3.d.mts → index-DwDBa2mb.d.mts} +0 -0
  393. /package/dist/{index-Y8rMeYYX.d.mts → index-FDyqQIt5.d.mts} +0 -0
  394. /package/dist/{index-BWIkf5oJ.d.mts → index-Lp0T_V1W.d.mts} +0 -0
  395. /package/dist/{index-OGIC4puQ.d.mts → index-Rhcr4YNA.d.mts} +0 -0
  396. /package/dist/{index-BvLXySoB2.d.mts → index-S-mAqWwq.d.mts} +0 -0
  397. /package/dist/{index-DOOrKin9.d.mts → index-_zsihEmk.d.mts} +0 -0
  398. /package/dist/{json-value-DtIkQN7g.d.mts → json-value-C8duSh9X.d.mts} +0 -0
  399. /package/dist/{jsonl-transport-CGPgD8iU.mjs → jsonl-transport-l5NPcQ_2.mjs} +0 -0
  400. /package/dist/{lib-ZKtnbCqH.mjs → lib-ClRTNIuz.mjs} +0 -0
  401. /package/dist/{materialization-CUYxZCfk.mjs → materialization-BwTORtBr.mjs} +0 -0
  402. /package/dist/{model-registry-C2VXobZj.mjs → model-registry-BneK5SGo.mjs} +0 -0
  403. /package/dist/{model-registry-rYICIwyR.mjs → model-registry-C8MInDtX.mjs} +0 -0
  404. /package/dist/{namespace-65uwTpbg.d.mts → namespace-3YVLQ_bM.d.mts} +0 -0
  405. /package/dist/{namespace-BGIeqwfU.d.mts → namespace-B0uZIZYT.d.mts} +0 -0
  406. /package/dist/{namespace-CQ8uza7o.d.mts → namespace-BcDHt-ww.d.mts} +0 -0
  407. /package/dist/{namespace-BigVYQyx.d.mts → namespace-BhVlHfoO.d.mts} +0 -0
  408. /package/dist/{namespace-j7vFsmYL.d.mts → namespace-Bl1UhLnK.d.mts} +0 -0
  409. /package/dist/{namespace-CfvtDD_U.d.mts → namespace-BoA6u44C.d.mts} +0 -0
  410. /package/dist/{namespace-Dk4OslmY.d.mts → namespace-BsEoWXV_.d.mts} +0 -0
  411. /package/dist/{namespace-DYSFDC2G.mjs → namespace-C238RqwB.mjs} +0 -0
  412. /package/dist/{namespace-BdO4e1Fm.mjs → namespace-CDO4rY11.mjs} +0 -0
  413. /package/dist/{namespace-CZK2ff3B.d.mts → namespace-CukqFYHf2.d.mts} +0 -0
  414. /package/dist/{namespace-wke7juzy.mjs → namespace-DDx4NVJm.mjs} +0 -0
  415. /package/dist/{namespace-D1_9WVCo.d.mts → namespace-Dar3O6iT.d.mts} +0 -0
  416. /package/dist/{namespace-DAj_riOn.d.mts → namespace-DoNigVgx.d.mts} +0 -0
  417. /package/dist/{namespace-D2s-4pyg.d.mts → namespace-Dvi66QS6.d.mts} +0 -0
  418. /package/dist/{namespace-D8P8Sxce2.d.mts → namespace-rO-C2Dgu2.d.mts} +0 -0
  419. /package/dist/{out-BoEZjBNz.mjs → out-BB6Kb4Xu.mjs} +0 -0
  420. /package/dist/{platform-DnbSvm2u.mjs → platform-CWhGFQFX.mjs} +0 -0
  421. /package/dist/{providers-Bd7BOZs0.mjs → providers-CUnrif24.mjs} +0 -0
  422. /package/dist/{quick-lru-6e7I1Bgf.mjs → quick-lru-BLaSzINB.mjs} +0 -0
  423. /package/dist/{registry-U_3aYSin.mjs → registry-TJjQgTgp.mjs} +0 -0
  424. /package/dist/{schema-B5vHi7Uu.d.mts → schema-aOwmHxaF.d.mts} +0 -0
  425. /package/dist/{schema-CHp6I33k.mjs → schema-cus0dJ81.mjs} +0 -0
  426. /package/dist/{schema-introspection-B7xODt4I.mjs → schema-introspection-BsWLmoFp.mjs} +0 -0
  427. /package/dist/{schemas-KlH1hB7u.d.mts → schemas-9QJf1FtS.d.mts} +0 -0
  428. /package/dist/{schemas-CJ2JvA7d.d.mts → schemas-BolSW7pQ.d.mts} +0 -0
  429. /package/dist/{schemas-D4zaFE2p.d.mts → schemas-CLsbsX1W.d.mts} +0 -0
  430. /package/dist/{schemas-XeIBqwvE.mjs → schemas-CMyv7l7-.mjs} +0 -0
  431. /package/dist/{schemas-CPI00yvh.mjs → schemas-CWxf_Yut.mjs} +0 -0
  432. /package/dist/{schemas-BemsLc_V.d.mts → schemas-D_9X_CRo.d.mts} +0 -0
  433. /package/dist/{schemas-DZGnr9Tl.mjs → schemas-DwfTUQIa.mjs} +0 -0
  434. /package/dist/{schemas-CoFCV42v.d.mts → schemas-OaBqeEUT.d.mts} +0 -0
  435. /package/dist/{schemas-B6tEKf9T.d.mts → schemas-XRhqOgVE.d.mts} +0 -0
  436. /package/dist/{schemas-DKncXGnb.d.mts → schemas-fRLDhefF.d.mts} +0 -0
  437. /package/dist/{schemas-DWfo0wp4.d.mts → schemas-jDRSOXJL.d.mts} +0 -0
  438. /package/dist/{schemas-lnE9YoG7.d.mts → schemas-qpo1Goit.d.mts} +0 -0
  439. /package/dist/{schemas-t6h9oSct.d.mts → schemas-qt5QTjVc.d.mts} +0 -0
  440. /package/dist/{semver-CIhHqMkw.mjs → semver-BccS1s9R.mjs} +0 -0
  441. /package/dist/{server-lifecycle-C5Z5PSMD.mjs → server-lifecycle-D-jxVr_0.mjs} +0 -0
  442. /package/dist/{server-lifecycle-_AA6EfzL.d.mts → server-lifecycle-r5Tkk8bU.d.mts} +0 -0
  443. /package/dist/{session-lineage-C1M7-O3C.d.mts → session-lineage-YShrn77v.d.mts} +0 -0
  444. /package/dist/{shared-schemas-BEVG96xW.mjs → shared-schemas-BNCPgGYP.mjs} +0 -0
  445. /package/dist/{src-_VODAJnf.mjs → src-Ci_WY9uw.mjs} +0 -0
  446. /package/dist/{storage-namespace-D5q9CrBp.mjs → storage-namespace-BzE2M4Hq.mjs} +0 -0
  447. /package/dist/{storage-namespace-Di1A3DMm.d.mts → storage-namespace-DWKFqEW-.d.mts} +0 -0
  448. /package/dist/{storage-namespace-definition-CzXPW45M.mjs → storage-namespace-definition-4UYuij1r.mjs} +0 -0
  449. /package/dist/{storage-namespace-definition-BffdI5Bz.d.mts → storage-namespace-definition-BZJGSaX3.d.mts} +0 -0
  450. /package/dist/{supports-color-DcXkvGDF.mjs → supports-color-Dzp6WuF5.mjs} +0 -0
  451. /package/dist/{telemetry-Cvi4rxiE.mjs → telemetry-B42EMbZt.mjs} +0 -0
  452. /package/dist/{timeout-XsYIOKrc.mjs → timeout-CvONPl0l.mjs} +0 -0
  453. /package/dist/{tray-menu-service-B2AxiQqL.mjs → tray-menu-service-Bonl2KXf.mjs} +0 -0
  454. /package/dist/{types-Bo78h9e3.d.mts → types-BCW9kr4L.d.mts} +0 -0
  455. /package/dist/{types-DCvp_swt.d.mts → types-CrJ7KEZ0.d.mts} +0 -0
  456. /package/dist/{types-BNW5n6qm.d.mts → types-DWNoZ3Sd.d.mts} +0 -0
  457. /package/dist/{ui-config-9bDRwFZr.mjs → ui-config-B2L3Xgqo.mjs} +0 -0
  458. /package/dist/{variant-5huHjUTm.mjs → variant-ByI-RZua.mjs} +0 -0
  459. /package/dist/{window-registry-PkrFIwX2.mjs → window-registry-DsWnCc8z.mjs} +0 -0
  460. /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-Bbr5LEUc.mjs";
3
3
  import * as _$zod from "zod";
4
4
  import { z } from "zod";
5
5
  import * as _$_makaio_core0 from "@makaio/framework/core";
@@ -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;
@@ -1458,6 +1458,316 @@ declare const TurnIngestionMarkerSchema$1: z.ZodEnum<{
1458
1458
  }>;
1459
1459
  /** Parsed type for {@link TurnIngestionMarkerSchema}. */
1460
1460
  type TurnIngestionMarker$1 = z.infer<typeof TurnIngestionMarkerSchema$1>;
1461
+ declare const AgentAttachResolvedRequestSchema: z.ZodObject<{
1462
+ sessionId: z.ZodString;
1463
+ agent: z.ZodObject<{
1464
+ providerConfigId: z.ZodOptional<z.ZodString>;
1465
+ model: z.ZodOptional<z.ZodString>;
1466
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
1467
+ none: "none";
1468
+ low: "low";
1469
+ medium: "medium";
1470
+ high: "high";
1471
+ "extra-high": "extra-high";
1472
+ }>>;
1473
+ cwd: z.ZodOptional<z.ZodString>;
1474
+ systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1475
+ mode: z.ZodLiteral<"append">;
1476
+ content: z.ZodString;
1477
+ }, z.core.$strip>]>>;
1478
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1479
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
1480
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1481
+ mcpSessionContext: z.ZodOptional<z.ZodObject<{
1482
+ sessionId: z.ZodString;
1483
+ servers: z.ZodArray<z.ZodObject<{
1484
+ name: z.ZodString;
1485
+ transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
1486
+ type: z.ZodLiteral<"stdio">;
1487
+ command: z.ZodString;
1488
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
1489
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1490
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
1491
+ }, z.core.$strip>, z.ZodObject<{
1492
+ url: z.ZodString;
1493
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1494
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1495
+ name: z.ZodString;
1496
+ permission_policy: z.ZodEnum<{
1497
+ always_allow: "always_allow";
1498
+ always_ask: "always_ask";
1499
+ always_deny: "always_deny";
1500
+ }>;
1501
+ }, z.core.$strip>>>;
1502
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
1503
+ type: z.ZodLiteral<"sse">;
1504
+ }, z.core.$strip>, z.ZodObject<{
1505
+ url: z.ZodString;
1506
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1507
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
1508
+ name: z.ZodString;
1509
+ permission_policy: z.ZodEnum<{
1510
+ always_allow: "always_allow";
1511
+ always_ask: "always_ask";
1512
+ always_deny: "always_deny";
1513
+ }>;
1514
+ }, z.core.$strip>>>;
1515
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
1516
+ type: z.ZodLiteral<"http">;
1517
+ }, z.core.$strip>], "type">;
1518
+ exposureMode: z.ZodEnum<{
1519
+ direct: "direct";
1520
+ discovery: "discovery";
1521
+ }>;
1522
+ }, z.core.$strip>>;
1523
+ directTools: z.ZodArray<z.ZodObject<{
1524
+ fullName: z.ZodString;
1525
+ originalName: z.ZodString;
1526
+ serverName: z.ZodString;
1527
+ description: z.ZodOptional<z.ZodString>;
1528
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1529
+ exposureMode: z.ZodEnum<{
1530
+ direct: "direct";
1531
+ discovery: "discovery";
1532
+ hidden: "hidden";
1533
+ }>;
1534
+ enabled: z.ZodBoolean;
1535
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1536
+ discovery: "discovery";
1537
+ toolset: "toolset";
1538
+ }>>;
1539
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1540
+ exposed: z.ZodBoolean;
1541
+ }, z.core.$strip>>;
1542
+ discoverableTools: z.ZodArray<z.ZodObject<{
1543
+ fullName: z.ZodString;
1544
+ originalName: z.ZodString;
1545
+ serverName: z.ZodString;
1546
+ description: z.ZodOptional<z.ZodString>;
1547
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1548
+ exposureMode: z.ZodEnum<{
1549
+ direct: "direct";
1550
+ discovery: "discovery";
1551
+ hidden: "hidden";
1552
+ }>;
1553
+ enabled: z.ZodBoolean;
1554
+ enabledBy: z.ZodOptional<z.ZodEnum<{
1555
+ discovery: "discovery";
1556
+ toolset: "toolset";
1557
+ }>>;
1558
+ enabledAt: z.ZodOptional<z.ZodNumber>;
1559
+ exposed: z.ZodBoolean;
1560
+ }, z.core.$strip>>;
1561
+ }, z.core.$strip>>;
1562
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
1563
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1564
+ kind: z.ZodLiteral<"adapter">;
1565
+ adapterName: z.ZodOptional<z.ZodString>;
1566
+ adapterId: z.ZodOptional<z.ZodString>;
1567
+ providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1568
+ state: z.ZodLiteral<"resolved">;
1569
+ providerConfigId: z.ZodString;
1570
+ definitionId: z.ZodString;
1571
+ endpointOverrides: z.ZodOptional<z.ZodObject<{
1572
+ anthropic: z.ZodOptional<z.ZodString>;
1573
+ openai: z.ZodOptional<z.ZodString>;
1574
+ }, z.core.$strip>>;
1575
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
1576
+ mode: z.ZodLiteral<"explicit">;
1577
+ method: z.ZodDiscriminatedUnion<[z.ZodObject<{
1578
+ owner: z.ZodLiteral<"provider">;
1579
+ providerDefinitionId: z.ZodString;
1580
+ methodId: z.ZodString;
1581
+ }, z.core.$strict>, z.ZodObject<{
1582
+ owner: z.ZodLiteral<"client">;
1583
+ clientId: z.ZodString;
1584
+ methodId: z.ZodString;
1585
+ }, z.core.$strict>], "owner">;
1586
+ definition: z.ZodObject<{
1587
+ id: z.ZodString;
1588
+ mode: z.ZodLiteral<"explicit">;
1589
+ label: z.ZodString;
1590
+ description: z.ZodOptional<z.ZodString>;
1591
+ fields: z.ZodArray<z.ZodObject<{
1592
+ id: z.ZodString;
1593
+ label: z.ZodString;
1594
+ description: z.ZodOptional<z.ZodString>;
1595
+ required: z.ZodBoolean;
1596
+ secret: z.ZodBoolean;
1597
+ sourceHints: z.ZodArray<z.ZodObject<{
1598
+ kind: z.ZodLiteral<"environment">;
1599
+ variable: z.ZodString;
1600
+ }, z.core.$strict>>;
1601
+ }, z.core.$strict>>;
1602
+ }, z.core.$strict>;
1603
+ credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
1604
+ }, z.core.$strict>, z.ZodObject<{
1605
+ mode: z.ZodLiteral<"inferred">;
1606
+ method: z.ZodObject<{
1607
+ owner: z.ZodLiteral<"client">;
1608
+ clientId: z.ZodString;
1609
+ methodId: z.ZodString;
1610
+ }, z.core.$strict>;
1611
+ definition: z.ZodObject<{
1612
+ id: z.ZodString;
1613
+ mode: z.ZodLiteral<"inferred">;
1614
+ label: z.ZodString;
1615
+ description: z.ZodOptional<z.ZodString>;
1616
+ }, z.core.$strict>;
1617
+ account: z.ZodOptional<z.ZodObject<{
1618
+ managerId: z.ZodString;
1619
+ accountId: z.ZodString;
1620
+ }, z.core.$strict>>;
1621
+ }, z.core.$strict>, z.ZodObject<{
1622
+ mode: z.ZodLiteral<"none">;
1623
+ method: z.ZodDiscriminatedUnion<[z.ZodObject<{
1624
+ owner: z.ZodLiteral<"provider">;
1625
+ providerDefinitionId: z.ZodString;
1626
+ methodId: z.ZodString;
1627
+ }, z.core.$strict>, z.ZodObject<{
1628
+ owner: z.ZodLiteral<"client">;
1629
+ clientId: z.ZodString;
1630
+ methodId: z.ZodString;
1631
+ }, z.core.$strict>], "owner">;
1632
+ definition: z.ZodObject<{
1633
+ id: z.ZodString;
1634
+ mode: z.ZodLiteral<"none">;
1635
+ label: z.ZodString;
1636
+ description: z.ZodOptional<z.ZodString>;
1637
+ }, z.core.$strict>;
1638
+ }, z.core.$strict>], "mode">;
1639
+ capabilities: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
1640
+ }, z.core.$strict>, z.ZodObject<{
1641
+ state: z.ZodLiteral<"unresolved">;
1642
+ }, z.core.$strict>], "state">>;
1643
+ }, z.core.$loose>;
1644
+ initialMessage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1645
+ role: z.ZodOptional<z.ZodEnum<{
1646
+ user: "user";
1647
+ assistant: "assistant";
1648
+ system: "system";
1649
+ }>>;
1650
+ blocks: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
1651
+ type: z.ZodLiteral<"text">;
1652
+ content: z.ZodString;
1653
+ }, z.core.$strip>, z.ZodObject<{
1654
+ type: z.ZodLiteral<"image">;
1655
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1656
+ type: z.ZodLiteral<"base64">;
1657
+ data: z.ZodString;
1658
+ mimeType: z.ZodString;
1659
+ }, z.core.$strip>, z.ZodObject<{
1660
+ type: z.ZodLiteral<"url">;
1661
+ url: z.ZodString;
1662
+ mimeType: z.ZodOptional<z.ZodString>;
1663
+ }, z.core.$strip>], "type">;
1664
+ }, z.core.$strip>, z.ZodObject<{
1665
+ type: z.ZodLiteral<"document">;
1666
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1667
+ type: z.ZodLiteral<"base64">;
1668
+ data: z.ZodString;
1669
+ mimeType: z.ZodString;
1670
+ }, z.core.$strip>, z.ZodObject<{
1671
+ type: z.ZodLiteral<"url">;
1672
+ url: z.ZodString;
1673
+ mimeType: z.ZodOptional<z.ZodString>;
1674
+ }, z.core.$strip>], "type">;
1675
+ }, z.core.$strip>, z.ZodObject<{
1676
+ type: z.ZodLiteral<"attachment">;
1677
+ fileName: z.ZodString;
1678
+ filePath: z.ZodString;
1679
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1680
+ type: z.ZodLiteral<"base64">;
1681
+ data: z.ZodString;
1682
+ mimeType: z.ZodString;
1683
+ }, z.core.$strip>, z.ZodObject<{
1684
+ type: z.ZodLiteral<"url">;
1685
+ url: z.ZodString;
1686
+ mimeType: z.ZodOptional<z.ZodString>;
1687
+ }, z.core.$strip>], "type">;
1688
+ displayName: z.ZodOptional<z.ZodString>;
1689
+ attachmentType: z.ZodEnum<{
1690
+ file: "file";
1691
+ directory: "directory";
1692
+ }>;
1693
+ }, z.core.$strip>, z.ZodObject<{
1694
+ type: z.ZodLiteral<"reasoning">;
1695
+ content: z.ZodString;
1696
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1697
+ }, z.core.$strip>, z.ZodObject<{
1698
+ type: z.ZodLiteral<"tool_call">;
1699
+ toolCallId: z.ZodString;
1700
+ name: z.ZodString;
1701
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1702
+ }, z.core.$strip>, z.ZodObject<{
1703
+ type: z.ZodLiteral<"tool_output">;
1704
+ toolCallId: z.ZodString;
1705
+ output: z.ZodString;
1706
+ isError: z.ZodOptional<z.ZodBoolean>;
1707
+ }, z.core.$strip>], "type">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1708
+ type: z.ZodLiteral<"text">;
1709
+ content: z.ZodString;
1710
+ }, z.core.$strip>, z.ZodObject<{
1711
+ type: z.ZodLiteral<"image">;
1712
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1713
+ type: z.ZodLiteral<"base64">;
1714
+ data: z.ZodString;
1715
+ mimeType: z.ZodString;
1716
+ }, z.core.$strip>, z.ZodObject<{
1717
+ type: z.ZodLiteral<"url">;
1718
+ url: z.ZodString;
1719
+ mimeType: z.ZodOptional<z.ZodString>;
1720
+ }, z.core.$strip>], "type">;
1721
+ }, z.core.$strip>, z.ZodObject<{
1722
+ type: z.ZodLiteral<"document">;
1723
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1724
+ type: z.ZodLiteral<"base64">;
1725
+ data: z.ZodString;
1726
+ mimeType: z.ZodString;
1727
+ }, z.core.$strip>, z.ZodObject<{
1728
+ type: z.ZodLiteral<"url">;
1729
+ url: z.ZodString;
1730
+ mimeType: z.ZodOptional<z.ZodString>;
1731
+ }, z.core.$strip>], "type">;
1732
+ }, z.core.$strip>, z.ZodObject<{
1733
+ type: z.ZodLiteral<"attachment">;
1734
+ fileName: z.ZodString;
1735
+ filePath: z.ZodString;
1736
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
1737
+ type: z.ZodLiteral<"base64">;
1738
+ data: z.ZodString;
1739
+ mimeType: z.ZodString;
1740
+ }, z.core.$strip>, z.ZodObject<{
1741
+ type: z.ZodLiteral<"url">;
1742
+ url: z.ZodString;
1743
+ mimeType: z.ZodOptional<z.ZodString>;
1744
+ }, z.core.$strip>], "type">;
1745
+ displayName: z.ZodOptional<z.ZodString>;
1746
+ attachmentType: z.ZodEnum<{
1747
+ file: "file";
1748
+ directory: "directory";
1749
+ }>;
1750
+ }, z.core.$strip>, z.ZodObject<{
1751
+ type: z.ZodLiteral<"reasoning">;
1752
+ content: z.ZodString;
1753
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1754
+ }, z.core.$strip>, z.ZodObject<{
1755
+ type: z.ZodLiteral<"tool_call">;
1756
+ toolCallId: z.ZodString;
1757
+ name: z.ZodString;
1758
+ args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1759
+ }, z.core.$strip>, z.ZodObject<{
1760
+ type: z.ZodLiteral<"tool_output">;
1761
+ toolCallId: z.ZodString;
1762
+ output: z.ZodString;
1763
+ isError: z.ZodOptional<z.ZodBoolean>;
1764
+ }, z.core.$strip>], "type">>]>;
1765
+ }, z.core.$strip>]>>;
1766
+ role: z.ZodOptional<z.ZodEnum<{
1767
+ lead: "lead";
1768
+ member: "member";
1769
+ }>>;
1770
+ }, z.core.$strip>;
1461
1771
  /**
1462
1772
  * Orchestrator schemas for turn lifecycle and user message routing.
1463
1773
  *
@@ -2535,18 +2845,82 @@ declare const OrchestratorSchemas: {
2535
2845
  kind: z.ZodLiteral<"adapter">;
2536
2846
  adapterName: z.ZodOptional<z.ZodString>;
2537
2847
  adapterId: z.ZodOptional<z.ZodString>;
2538
- providerContext: z.ZodOptional<z.ZodObject<{
2848
+ providerContext: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2849
+ state: z.ZodLiteral<"resolved">;
2539
2850
  providerConfigId: z.ZodString;
2540
2851
  definitionId: z.ZodString;
2541
2852
  endpointOverrides: z.ZodOptional<z.ZodObject<{
2542
2853
  anthropic: z.ZodOptional<z.ZodString>;
2543
2854
  openai: z.ZodOptional<z.ZodString>;
2544
2855
  }, 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>>;
2856
+ auth: z.ZodDiscriminatedUnion<[z.ZodObject<{
2857
+ mode: z.ZodLiteral<"explicit">;
2858
+ method: z.ZodDiscriminatedUnion<[z.ZodObject<{
2859
+ owner: z.ZodLiteral<"provider">;
2860
+ providerDefinitionId: z.ZodString;
2861
+ methodId: z.ZodString;
2862
+ }, z.core.$strict>, z.ZodObject<{
2863
+ owner: z.ZodLiteral<"client">;
2864
+ clientId: z.ZodString;
2865
+ methodId: z.ZodString;
2866
+ }, z.core.$strict>], "owner">;
2867
+ definition: z.ZodObject<{
2868
+ id: z.ZodString;
2869
+ mode: z.ZodLiteral<"explicit">;
2870
+ label: z.ZodString;
2871
+ description: z.ZodOptional<z.ZodString>;
2872
+ fields: z.ZodArray<z.ZodObject<{
2873
+ id: z.ZodString;
2874
+ label: z.ZodString;
2875
+ description: z.ZodOptional<z.ZodString>;
2876
+ required: z.ZodBoolean;
2877
+ secret: z.ZodBoolean;
2878
+ sourceHints: z.ZodArray<z.ZodObject<{
2879
+ kind: z.ZodLiteral<"environment">;
2880
+ variable: z.ZodString;
2881
+ }, z.core.$strict>>;
2882
+ }, z.core.$strict>>;
2883
+ }, z.core.$strict>;
2884
+ credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
2885
+ }, z.core.$strict>, z.ZodObject<{
2886
+ mode: z.ZodLiteral<"inferred">;
2887
+ method: z.ZodObject<{
2888
+ owner: z.ZodLiteral<"client">;
2889
+ clientId: z.ZodString;
2890
+ methodId: z.ZodString;
2891
+ }, z.core.$strict>;
2892
+ definition: z.ZodObject<{
2893
+ id: z.ZodString;
2894
+ mode: z.ZodLiteral<"inferred">;
2895
+ label: z.ZodString;
2896
+ description: z.ZodOptional<z.ZodString>;
2897
+ }, z.core.$strict>;
2898
+ account: z.ZodOptional<z.ZodObject<{
2899
+ managerId: z.ZodString;
2900
+ accountId: z.ZodString;
2901
+ }, z.core.$strict>>;
2902
+ }, z.core.$strict>, z.ZodObject<{
2903
+ mode: z.ZodLiteral<"none">;
2904
+ method: z.ZodDiscriminatedUnion<[z.ZodObject<{
2905
+ owner: z.ZodLiteral<"provider">;
2906
+ providerDefinitionId: z.ZodString;
2907
+ methodId: z.ZodString;
2908
+ }, z.core.$strict>, z.ZodObject<{
2909
+ owner: z.ZodLiteral<"client">;
2910
+ clientId: z.ZodString;
2911
+ methodId: z.ZodString;
2912
+ }, z.core.$strict>], "owner">;
2913
+ definition: z.ZodObject<{
2914
+ id: z.ZodString;
2915
+ mode: z.ZodLiteral<"none">;
2916
+ label: z.ZodString;
2917
+ description: z.ZodOptional<z.ZodString>;
2918
+ }, z.core.$strict>;
2919
+ }, z.core.$strict>], "mode">;
2548
2920
  capabilities: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
2549
- }, z.core.$strip>>;
2921
+ }, z.core.$strict>, z.ZodObject<{
2922
+ state: z.ZodLiteral<"unresolved">;
2923
+ }, z.core.$strict>], "state">>;
2550
2924
  }, z.core.$loose>;
2551
2925
  initialMessage: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
2552
2926
  role: z.ZodOptional<z.ZodEnum<{
@@ -2712,6 +3086,22 @@ declare const OrchestratorSchemas: {
2712
3086
  backfill: "backfill";
2713
3087
  }>>;
2714
3088
  }, z.core.$strip>;
3089
+ /**
3090
+ * An agent's assistant-message persistence decision has settled.
3091
+ *
3092
+ * Subject: `session.turn.assistantPersistenceSettled`
3093
+ * Type: Local event (fire-and-forget)
3094
+ *
3095
+ * Emitted by the in-process session bridge after it has either persisted the
3096
+ * agent's assistant message or determined that no persistence will occur.
3097
+ * This is coordination metadata, not a durable session lifecycle event.
3098
+ */
3099
+ 'turn.assistantPersistenceSettled': _$_makaio_core0.LocalSubjectSchema<z.ZodObject<{
3100
+ sessionId: z.ZodString;
3101
+ turnId: z.ZodString;
3102
+ messageId: z.ZodString;
3103
+ agentId: z.ZodString;
3104
+ }, z.core.$strip>>;
2715
3105
  /**
2716
3106
  * Turn completed.
2717
3107
  *
@@ -3061,6 +3451,7 @@ declare const OrchestratorSchemas: {
3061
3451
  };
3062
3452
  type SendMessageRequest = z.infer<typeof OrchestratorSchemas.sendMessage.request>;
3063
3453
  type SendMessageResponse = z.infer<typeof OrchestratorSchemas.sendMessage.response>;
3454
+ type AgentAttachResolvedRequest = z.infer<typeof AgentAttachResolvedRequestSchema>;
3064
3455
  type TurnStarted = z.infer<(typeof OrchestratorSchemas)['turn.started']>;
3065
3456
  type TurnCompleted = z.infer<(typeof OrchestratorSchemas)['turn.completed']>;
3066
3457
  //#endregion
@@ -3474,8 +3865,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3474
3865
  type: z.ZodLiteral<"locality.degraded">;
3475
3866
  payload: z.ZodDiscriminatedUnion<[z.ZodObject<{
3476
3867
  intent: z.ZodEnum<{
3477
- resume: "resume";
3478
3868
  fork: "fork";
3869
+ resume: "resume";
3479
3870
  }>;
3480
3871
  verdictKind: z.ZodLiteral<"degrade">;
3481
3872
  reason: z.ZodEnum<{
@@ -3499,8 +3890,8 @@ declare const MakaioSessionEventSchema: z.ZodUnion<readonly [z.ZodDiscriminatedU
3499
3890
  turnId: z.ZodOptional<z.ZodString>;
3500
3891
  }, z.core.$strip>, z.ZodObject<{
3501
3892
  intent: z.ZodEnum<{
3502
- resume: "resume";
3503
3893
  fork: "fork";
3894
+ resume: "resume";
3504
3895
  }>;
3505
3896
  verdictKind: z.ZodLiteral<"foreign">;
3506
3897
  foreignMachineId: z.ZodString;
@@ -4945,18 +5336,82 @@ declare const SessionSchemas: {
4945
5336
  kind: _$zod.ZodLiteral<"adapter">;
4946
5337
  adapterName: _$zod.ZodOptional<_$zod.ZodString>;
4947
5338
  adapterId: _$zod.ZodOptional<_$zod.ZodString>;
4948
- providerContext: _$zod.ZodOptional<_$zod.ZodObject<{
5339
+ providerContext: _$zod.ZodOptional<_$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5340
+ state: _$zod.ZodLiteral<"resolved">;
4949
5341
  providerConfigId: _$zod.ZodString;
4950
5342
  definitionId: _$zod.ZodString;
4951
5343
  endpointOverrides: _$zod.ZodOptional<_$zod.ZodObject<{
4952
5344
  anthropic: _$zod.ZodOptional<_$zod.ZodString>;
4953
5345
  openai: _$zod.ZodOptional<_$zod.ZodString>;
4954
5346
  }, _$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>>;
5347
+ auth: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5348
+ mode: _$zod.ZodLiteral<"explicit">;
5349
+ method: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5350
+ owner: _$zod.ZodLiteral<"provider">;
5351
+ providerDefinitionId: _$zod.ZodString;
5352
+ methodId: _$zod.ZodString;
5353
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5354
+ owner: _$zod.ZodLiteral<"client">;
5355
+ clientId: _$zod.ZodString;
5356
+ methodId: _$zod.ZodString;
5357
+ }, _$zod_v4_core0.$strict>], "owner">;
5358
+ definition: _$zod.ZodObject<{
5359
+ id: _$zod.ZodString;
5360
+ mode: _$zod.ZodLiteral<"explicit">;
5361
+ label: _$zod.ZodString;
5362
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5363
+ fields: _$zod.ZodArray<_$zod.ZodObject<{
5364
+ id: _$zod.ZodString;
5365
+ label: _$zod.ZodString;
5366
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5367
+ required: _$zod.ZodBoolean;
5368
+ secret: _$zod.ZodBoolean;
5369
+ sourceHints: _$zod.ZodArray<_$zod.ZodObject<{
5370
+ kind: _$zod.ZodLiteral<"environment">;
5371
+ variable: _$zod.ZodString;
5372
+ }, _$zod_v4_core0.$strict>>;
5373
+ }, _$zod_v4_core0.$strict>>;
5374
+ }, _$zod_v4_core0.$strict>;
5375
+ credentialRefs: _$zod.ZodRecord<_$zod.ZodString, _$zod_v4_core0.$ZodBranded<_$zod.ZodString, "CredentialRef", "out">>;
5376
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5377
+ mode: _$zod.ZodLiteral<"inferred">;
5378
+ method: _$zod.ZodObject<{
5379
+ owner: _$zod.ZodLiteral<"client">;
5380
+ clientId: _$zod.ZodString;
5381
+ methodId: _$zod.ZodString;
5382
+ }, _$zod_v4_core0.$strict>;
5383
+ definition: _$zod.ZodObject<{
5384
+ id: _$zod.ZodString;
5385
+ mode: _$zod.ZodLiteral<"inferred">;
5386
+ label: _$zod.ZodString;
5387
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5388
+ }, _$zod_v4_core0.$strict>;
5389
+ account: _$zod.ZodOptional<_$zod.ZodObject<{
5390
+ managerId: _$zod.ZodString;
5391
+ accountId: _$zod.ZodString;
5392
+ }, _$zod_v4_core0.$strict>>;
5393
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5394
+ mode: _$zod.ZodLiteral<"none">;
5395
+ method: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
5396
+ owner: _$zod.ZodLiteral<"provider">;
5397
+ providerDefinitionId: _$zod.ZodString;
5398
+ methodId: _$zod.ZodString;
5399
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5400
+ owner: _$zod.ZodLiteral<"client">;
5401
+ clientId: _$zod.ZodString;
5402
+ methodId: _$zod.ZodString;
5403
+ }, _$zod_v4_core0.$strict>], "owner">;
5404
+ definition: _$zod.ZodObject<{
5405
+ id: _$zod.ZodString;
5406
+ mode: _$zod.ZodLiteral<"none">;
5407
+ label: _$zod.ZodString;
5408
+ description: _$zod.ZodOptional<_$zod.ZodString>;
5409
+ }, _$zod_v4_core0.$strict>;
5410
+ }, _$zod_v4_core0.$strict>], "mode">;
4958
5411
  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>>;
5412
+ }, _$zod_v4_core0.$strict>, _$zod.ZodObject<{
5413
+ state: _$zod.ZodLiteral<"unresolved">;
5414
+ }, _$zod_v4_core0.$strict>], "state">>;
4960
5415
  }, _$zod_v4_core0.$loose>;
4961
5416
  initialMessage: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
4962
5417
  role: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5115,6 +5570,12 @@ declare const SessionSchemas: {
5115
5570
  backfill: "backfill";
5116
5571
  }>>;
5117
5572
  }, _$zod_v4_core0.$strip>;
5573
+ 'turn.assistantPersistenceSettled': _$_makaio_core0.LocalSubjectSchema<_$zod.ZodObject<{
5574
+ sessionId: _$zod.ZodString;
5575
+ turnId: _$zod.ZodString;
5576
+ messageId: _$zod.ZodString;
5577
+ agentId: _$zod.ZodString;
5578
+ }, _$zod_v4_core0.$strip>>;
5118
5579
  'turn.completed': _$zod.ZodObject<{
5119
5580
  sessionId: _$zod.ZodString;
5120
5581
  turnId: _$zod.ZodString;
@@ -6163,8 +6624,8 @@ declare const SessionSchemas: {
6163
6624
  type: _$zod.ZodLiteral<"locality.degraded">;
6164
6625
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6165
6626
  intent: _$zod.ZodEnum<{
6166
- resume: "resume";
6167
6627
  fork: "fork";
6628
+ resume: "resume";
6168
6629
  }>;
6169
6630
  verdictKind: _$zod.ZodLiteral<"degrade">;
6170
6631
  reason: _$zod.ZodEnum<{
@@ -6188,8 +6649,8 @@ declare const SessionSchemas: {
6188
6649
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6189
6650
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6190
6651
  intent: _$zod.ZodEnum<{
6191
- resume: "resume";
6192
6652
  fork: "fork";
6653
+ resume: "resume";
6193
6654
  }>;
6194
6655
  verdictKind: _$zod.ZodLiteral<"foreign">;
6195
6656
  foreignMachineId: _$zod.ZodString;
@@ -6796,8 +7257,8 @@ declare const SessionSchemas: {
6796
7257
  type: _$zod.ZodLiteral<"locality.degraded">;
6797
7258
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6798
7259
  intent: _$zod.ZodEnum<{
6799
- resume: "resume";
6800
7260
  fork: "fork";
7261
+ resume: "resume";
6801
7262
  }>;
6802
7263
  verdictKind: _$zod.ZodLiteral<"degrade">;
6803
7264
  reason: _$zod.ZodEnum<{
@@ -6821,8 +7282,8 @@ declare const SessionSchemas: {
6821
7282
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6822
7283
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6823
7284
  intent: _$zod.ZodEnum<{
6824
- resume: "resume";
6825
7285
  fork: "fork";
7286
+ resume: "resume";
6826
7287
  }>;
6827
7288
  verdictKind: _$zod.ZodLiteral<"foreign">;
6828
7289
  foreignMachineId: _$zod.ZodString;
@@ -6925,8 +7386,8 @@ declare const SessionSchemas: {
6925
7386
  timestamp: _$zod.ZodNumber;
6926
7387
  }, _$zod_v4_core0.$strip>, _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6927
7388
  intent: _$zod.ZodEnum<{
6928
- resume: "resume";
6929
7389
  fork: "fork";
7390
+ resume: "resume";
6930
7391
  }>;
6931
7392
  verdictKind: _$zod.ZodLiteral<"degrade">;
6932
7393
  reason: _$zod.ZodEnum<{
@@ -6950,8 +7411,8 @@ declare const SessionSchemas: {
6950
7411
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
6951
7412
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6952
7413
  intent: _$zod.ZodEnum<{
6953
- resume: "resume";
6954
7414
  fork: "fork";
7415
+ resume: "resume";
6955
7416
  }>;
6956
7417
  verdictKind: _$zod.ZodLiteral<"foreign">;
6957
7418
  foreignMachineId: _$zod.ZodString;
@@ -7308,8 +7769,8 @@ declare const SessionSchemas: {
7308
7769
  type: _$zod.ZodLiteral<"locality.degraded">;
7309
7770
  payload: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
7310
7771
  intent: _$zod.ZodEnum<{
7311
- resume: "resume";
7312
7772
  fork: "fork";
7773
+ resume: "resume";
7313
7774
  }>;
7314
7775
  verdictKind: _$zod.ZodLiteral<"degrade">;
7315
7776
  reason: _$zod.ZodEnum<{
@@ -7333,8 +7794,8 @@ declare const SessionSchemas: {
7333
7794
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
7334
7795
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
7335
7796
  intent: _$zod.ZodEnum<{
7336
- resume: "resume";
7337
7797
  fork: "fork";
7798
+ resume: "resume";
7338
7799
  }>;
7339
7800
  verdictKind: _$zod.ZodLiteral<"foreign">;
7340
7801
  foreignMachineId: _$zod.ZodString;
@@ -8106,4 +8567,4 @@ type KnownSessionEvent = { [K in RuntimeKnownSessionEventType]: SessionEventBase
8106
8567
  */
8107
8568
  declare function isKnownSessionEvent(event: MakaioSessionEvent$1): event is KnownSessionEvent;
8108
8569
  //#endregion
8109
- export { TurnStatus as $, NativeLocalityVerdictSchema as A, MessageRoutingStatusSchema as B, SessionEventTypeMap as C, SessionRecordMetadataSchema$1 as Ct, NativeLocalityReason as D, MakaioSessionAgentSchema$1 as Dt, NativeForkDirectiveSchema as E, AgentStatusSchema$1 as Et, TurnIngestionMarkerSchema$1 as F, SessionMessageOriginSchema as G, SessionMessageBlock$1 as H, TurnStarted as I, SessionMessageSchema$1 as J, SessionMessageRole as K, MessageRouting as L, SendMessageResponse as M, TurnCompleted as N, NativeLocalityReasonSchema as O, SessionCreateBase as Ot, TurnIngestionMarker$1 as P, TurnSchema$1 as Q, MessageRoutingSchema$1 as R, SessionEventType$1 as S, SessionRecordMetadata as St, NativeForkDirective$1 as T, AgentStatus as Tt, SessionMessageBlockSchema as U, SessionMessage$1 as V, SessionMessageOrigin$1 as W, TurnInitiator$2 as X, Turn$1 as Y, TurnInitiatorSchema$1 as Z, ForkChildInfo as _, SnapshotPreviewData as _t, SessionPreviewData as a, AgentRole as at, SESSION_EVENT_TYPES as b, MakaioSessionSchema as bt, SessionSchemas as c, BranchKindSchema as ct, SegmentPolicy as d, SNAPSHOT_VERSION as dt, TurnStatusSchema$1 as et, SegmentPolicySchema as f, SessionSnapshot as ft, SessionUpdatedEventSchema as g, SnapshotImportConflictErrorData as gt, SessionUpdatedEvent as h, SnapshotExportOptionsSchema as ht, MakaioSessionEvent$1 as i, UsageMetricsSchema as it, SendMessageRequest as j, NativeLocalityVerdict$1 as k, SessionCreateBaseSchema as kt, ForkTransforms$1 as l, ImportStatus as lt, SessionCreatedEventSchema as m, SnapshotExportOptions as mt, KnownSessionEvent as n, TurnUsageSchema$1 as nt, SessionWithPreview as o, AgentRoleSchema as ot, SessionCreated as p, SessionSnapshotSchema as pt, SessionMessageRoleSchema as q, MakaioSessionAgent$1 as r, UsageMetrics as rt, isKnownSessionEvent as s, BranchKind$1 as st, IMakaioSession$1 as t, TurnUsage$1 as tt, ForkTransformsSchema$1 as u, ImportStatusSchema as ut, ForkChildInfoSchema as v, safeValidateSnapshot as vt, SessionEventTypeSchema as w, SessionWithPreviewSchema as wt, SessionEventPayload as x, SessionPreviewDataSchema as xt, MakaioSessionEventSchema as y, validateSnapshot as yt, MessageRoutingStatus as z };
8570
+ export { TurnSchema$1 as $, NativeLocalityVerdictSchema as A, SessionCreateBaseSchema as At, MessageRoutingStatus as B, SessionEventTypeMap as C, SessionRecordMetadata as Ct, NativeLocalityReason as D, AgentStatusSchema$1 as Dt, NativeForkDirectiveSchema as E, AgentStatus as Et, TurnIngestionMarker$1 as F, SessionMessageOrigin$1 as G, SessionMessage$1 as H, TurnIngestionMarkerSchema$1 as I, SessionMessageRoleSchema as J, SessionMessageOriginSchema as K, TurnStarted as L, SendMessageRequest as M, SendMessageResponse as N, NativeLocalityReasonSchema as O, MakaioSessionAgentSchema$1 as Ot, TurnCompleted as P, TurnInitiatorSchema$1 as Q, MessageRouting as R, SessionEventType$1 as S, SessionPreviewDataSchema as St, NativeForkDirective$1 as T, SessionWithPreviewSchema as Tt, SessionMessageBlock$1 as U, MessageRoutingStatusSchema as V, SessionMessageBlockSchema as W, Turn$1 as X, SessionMessageSchema$1 as Y, TurnInitiator$2 as Z, ForkChildInfo as _, SnapshotImportConflictErrorData as _t, SessionPreviewData as a, UsageMetricsSchema as at, SESSION_EVENT_TYPES as b, validateSnapshot as bt, SessionSchemas as c, BranchKind$1 as ct, SegmentPolicy as d, ImportStatusSchema as dt, TurnStatus as et, SegmentPolicySchema as f, SNAPSHOT_VERSION as ft, SessionUpdatedEventSchema as g, SnapshotExportOptionsSchema as gt, SessionUpdatedEvent as h, SnapshotExportOptions as ht, MakaioSessionEvent$1 as i, UsageMetrics as it, AgentAttachResolvedRequest as j, NativeLocalityVerdict$1 as k, SessionCreateBase as kt, ForkTransforms$1 as l, BranchKindSchema as lt, SessionCreatedEventSchema as m, SessionSnapshotSchema as mt, KnownSessionEvent as n, TurnUsage$1 as nt, SessionWithPreview as o, AgentRole as ot, SessionCreated as p, SessionSnapshot as pt, SessionMessageRole as q, MakaioSessionAgent$1 as r, TurnUsageSchema$1 as rt, isKnownSessionEvent as s, AgentRoleSchema as st, IMakaioSession$1 as t, TurnStatusSchema$1 as tt, ForkTransformsSchema$1 as u, ImportStatus as ut, ForkChildInfoSchema as v, SnapshotPreviewData as vt, SessionEventTypeSchema as w, SessionRecordMetadataSchema$1 as wt, SessionEventPayload as x, MakaioSessionSchema as xt, MakaioSessionEventSchema as y, safeValidateSnapshot as yt, MessageRoutingSchema$1 as z };