@makaio/framework 1.0.0-dev-1785409369816 → 1.0.0-dev-1787670071418

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 (549) hide show
  1. package/README.md +2 -0
  2. package/dist/.makaio-build.json +4 -3
  3. package/dist/{account-identity-DFx8pwKL.mjs → account-identity-B3vLwm9O.mjs} +1 -1
  4. package/dist/adapter-Dz1fX5Wa.mjs +1 -0
  5. package/dist/adapter-subsystem/index.d.mts +194 -20
  6. package/dist/adapter-subsystem/index.mjs +1 -1
  7. package/dist/adapters/acp-client/index.d.mts +105 -7
  8. package/dist/adapters/acp-client/index.mjs +2 -2
  9. package/dist/adapters/claude/index.d.mts +5 -5
  10. package/dist/adapters/config/index.d.mts +1 -1
  11. package/dist/adapters/config/index.mjs +1 -1
  12. package/dist/adapters/index.d.mts +405 -824
  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 +28 -7
  17. package/dist/adapters/stream-session/index.mjs +1 -1
  18. package/dist/{ajv-DD3SIL2i.mjs → ajv-krzJXh1X.mjs} +2 -2
  19. package/dist/artifact-Btbuib48.mjs +1 -0
  20. package/dist/attach-error-Cb3GbeKe.mjs +1 -0
  21. package/dist/{auth-DGEdiHF6.mjs → auth-C6tVtaOX.mjs} +1 -1
  22. package/dist/authority-state-bootstrap-CLYus369.mjs +1 -0
  23. package/dist/automation-trigger-ByjNlClm.mjs +1 -0
  24. package/dist/await-trigger-Bkg2BQfg.mjs +1 -0
  25. package/dist/bus/index.d.mts +41 -9
  26. package/dist/bus/index.mjs +1 -1
  27. package/dist/bus-D6NoBhIV.mjs +2 -0
  28. package/dist/bus-UgFdHybD.mjs +1 -0
  29. package/dist/caller-owned-adapter-stub-C1M7FKrv.mjs +1 -0
  30. package/dist/{canonical-model-BAytQ4NV.mjs → canonical-model-DXOvCaVg.mjs} +1 -1
  31. package/dist/capabilities-BUwuA7XX.mjs +1 -0
  32. package/dist/capability-j3NekkIu.mjs +1 -0
  33. package/dist/{client-DbS847wW.mjs → client-BkznbdsO.mjs} +1 -1
  34. package/dist/clients/index.d.mts +2 -2
  35. package/dist/clients/index.mjs +1 -1
  36. package/dist/clients/managed-install.d.mts +1 -1
  37. package/dist/clients/managed-install.mjs +1 -1
  38. package/dist/code-execution/worker-entry.d.mts +21 -0
  39. package/dist/code-execution/worker-entry.mjs +1 -0
  40. package/dist/code-execution-Ckmn8OZu.mjs +1 -0
  41. package/dist/code-execution-CweDSWco.mjs +1 -0
  42. package/dist/code-execution-DqkQjKa1.mjs +1 -0
  43. package/dist/{compression-74fFeBha.mjs → compression-CtgeVLpP.mjs} +1 -1
  44. package/dist/{config-namespace-TVX-hG4I.mjs → config-namespace-CjWvw8ij.mjs} +1 -1
  45. package/dist/{context-resolution-DdyhpH4L.d.mts → context-resolution-841T7jBI.d.mts} +11 -11
  46. package/dist/contracts/adapter/index.d.mts +3 -3
  47. package/dist/contracts/adapter/index.mjs +1 -1
  48. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  49. package/dist/contracts/artifact/index.d.mts +3 -3
  50. package/dist/contracts/artifact/index.mjs +1 -1
  51. package/dist/contracts/auth/index.d.mts +2 -2
  52. package/dist/contracts/auth/index.mjs +1 -1
  53. package/dist/contracts/automation-trigger/index.d.mts +4 -0
  54. package/dist/contracts/automation-trigger/index.mjs +1 -0
  55. package/dist/contracts/canonical-model/index.d.mts +1 -1
  56. package/dist/contracts/canonical-model/index.mjs +1 -1
  57. package/dist/contracts/capabilities/index.d.mts +1 -1
  58. package/dist/contracts/capabilities/index.mjs +1 -1
  59. package/dist/contracts/client/index.d.mts +2 -2
  60. package/dist/contracts/client/index.mjs +1 -1
  61. package/dist/contracts/code-execution/index.d.mts +2 -0
  62. package/dist/contracts/code-execution/index.mjs +1 -0
  63. package/dist/contracts/common/index.d.mts +1 -1
  64. package/dist/contracts/config/index.d.mts +1 -1
  65. package/dist/contracts/config/index.mjs +1 -1
  66. package/dist/contracts/extension/index.d.mts +6 -5
  67. package/dist/contracts/extension/index.mjs +1 -1
  68. package/dist/contracts/facet/index.d.mts +1 -1
  69. package/dist/contracts/facet/index.mjs +1 -1
  70. package/dist/contracts/harness/index.d.mts +1 -1
  71. package/dist/contracts/harness/index.mjs +1 -1
  72. package/dist/contracts/host/index.d.mts +1 -1
  73. package/dist/contracts/host/index.mjs +1 -1
  74. package/dist/contracts/index.d.mts +171 -100
  75. package/dist/contracts/index.mjs +1 -1
  76. package/dist/contracts/materialization/index.d.mts +3 -3
  77. package/dist/contracts/materialization/index.mjs +1 -1
  78. package/dist/contracts/model-registry/index.d.mts +1 -1
  79. package/dist/contracts/model-registry/index.mjs +1 -1
  80. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  81. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  82. package/dist/contracts/platform/index.d.mts +1 -1
  83. package/dist/contracts/platform/index.mjs +1 -1
  84. package/dist/contracts/provider/index.d.mts +2 -2
  85. package/dist/contracts/provider/index.mjs +1 -1
  86. package/dist/contracts/reaction/index.d.mts +2 -0
  87. package/dist/contracts/reaction/index.mjs +1 -0
  88. package/dist/contracts/session/index.d.mts +3 -3
  89. package/dist/contracts/session/index.mjs +1 -1
  90. package/dist/contracts/shared/index.d.mts +3 -3
  91. package/dist/contracts/shared/index.mjs +1 -1
  92. package/dist/contracts/skill/index.d.mts +1 -1
  93. package/dist/contracts/skill/index.mjs +1 -1
  94. package/dist/contracts/telemetry/index.d.mts +1 -1
  95. package/dist/contracts/telemetry/index.mjs +1 -1
  96. package/dist/contracts/timeout/index.d.mts +1 -1
  97. package/dist/contracts/timeout/index.mjs +1 -1
  98. package/dist/contracts/toast/index.mjs +1 -1
  99. package/dist/contracts/variant/index.d.mts +1 -1
  100. package/dist/contracts/variant/index.mjs +1 -1
  101. package/dist/contracts/worker-node/index.d.mts +1 -1
  102. package/dist/contracts/worker-node/index.mjs +1 -1
  103. package/dist/contracts/workflow/index.d.mts +3 -3
  104. package/dist/contracts/workflow/index.mjs +1 -1
  105. package/dist/contribution-CUHLVLsT.d.mts +35 -0
  106. package/dist/core/index.d.mts +84 -2
  107. package/dist/core/index.mjs +1 -1
  108. package/dist/{definition-CJfiv8xm.mjs → definition-BH4QLGLI.mjs} +1 -1
  109. package/dist/definition-DyGImhyi.d.mts +375 -0
  110. package/dist/{detached-extension-handle-Ddfquy5_.mjs → detached-extension-handle-D0aI0pJA.mjs} +1 -1
  111. package/dist/drizzle/0031_adapter_session_currency.sql +66 -0
  112. package/dist/drizzle/0032_native_session_ownership.sql +77 -0
  113. package/dist/drizzle/0033_m_msf3hu2s.sql +1 -0
  114. package/dist/drizzle/0034_m_msha1388.sql +41 -0
  115. package/dist/drizzle/0035_m_mshgj6x7.sql +40 -0
  116. package/dist/drizzle/0036_m_msivwbgm.sql +1 -0
  117. package/dist/drizzle/0037_runtime_instance_incarnation_counter.sql +6 -0
  118. package/dist/drizzle/meta/_journal.json +49 -0
  119. package/dist/event-B8ELuk6k.mjs +1 -0
  120. package/dist/{execution-attempt-repository-DWXKY41_.d.mts → execution-attempt-repository-BJ2W6wwx.d.mts} +1 -1
  121. package/dist/{execution-target-Cf645pDj.mjs → execution-target-H0RWV7Py.mjs} +1 -1
  122. package/dist/extension-Bfkr2DBs.mjs +1 -0
  123. package/dist/extension-Cz39YNXy.mjs +1 -0
  124. package/dist/extension-context-QmFuHdq5.d.mts +295 -0
  125. package/dist/{extension-discovery-CQRdbVQ6.d.mts → extension-discovery-Dhu3WplO.d.mts} +11 -1
  126. package/dist/{extension-namespace-Yu41YepM.mjs → extension-namespace-QoTTwKPt.mjs} +1 -1
  127. package/dist/extension-package-provenance-aYrZuS4W.mjs +1 -0
  128. package/dist/{filesystem-service-DlP2HfDg.mjs → filesystem-service-CiUw0YN5.mjs} +1 -1
  129. package/dist/framework-packages-BHgul8Kl.mjs +1 -0
  130. package/dist/git/index.mjs +2 -2
  131. package/dist/{globby-1yCVCk8s.mjs → globby-QBDqstzq.mjs} +1 -1
  132. package/dist/handlers-BsHAFtye.mjs +57 -0
  133. package/dist/{harness-DpwsFsE7.mjs → harness-YQ2ewID9.mjs} +1 -1
  134. package/dist/{hook-responses-Dh1PWXqJ.d.mts → hook-responses-9Ywsqzzq.d.mts} +2 -293
  135. package/dist/identity-OjRlG6dZ.mjs +1 -0
  136. package/dist/{index-CMgLxw14.d.mts → index-8NdPPzUh2.d.mts} +2 -2
  137. package/dist/{index-Ds5_rDEJ.d.mts → index-8y4hT9WL.d.mts} +1 -12
  138. package/dist/{index-BVlXneHH.d.mts → index-B-3I98nw.d.mts} +14 -10
  139. package/dist/index-B0VO0rAl.d.mts +302 -0
  140. package/dist/{index-gUhidukN.d.mts → index-B0yMCJW8.d.mts} +324 -2
  141. package/dist/index-BM56936c.d.mts +165 -0
  142. package/dist/{index-CLvQsL6s2.d.mts → index-BNzUyVwV.d.mts} +2105 -320
  143. package/dist/{index-BaZeoZoS.d.mts → index-BTEJfzjE.d.mts} +1 -1
  144. package/dist/{index-B0Kf_OWi.d.mts → index-BfV8U4XX.d.mts} +1 -1
  145. package/dist/{index-DCZ8BX9S.d.mts → index-BkbnC65b.d.mts} +487 -85
  146. package/dist/{index-GHASUiem.d.mts → index-BmevAPME2.d.mts} +1 -1
  147. package/dist/index-Bqk0pJBQ2.d.mts +138 -0
  148. package/dist/{index-B9UW_vPM.d.mts → index-C146Eq_J.d.mts} +2465 -273
  149. package/dist/{index-BAXkicoQ.d.mts → index-CIEycZrt.d.mts} +1 -1
  150. package/dist/{index-DkiTJM5p.d.mts → index-CMekqu_D.d.mts} +44 -10
  151. package/dist/{index-SsBHjUqA.d.mts → index-CPRQ4dWX.d.mts} +0 -23
  152. package/dist/{index-EjsSBQXy2.d.mts → index-CPi0UpRh.d.mts} +1 -1
  153. package/dist/{index-DSBT83c0.d.mts → index-CYjgoYeX.d.mts} +24 -3
  154. package/dist/{index-DnG-QFpG.d.mts → index-CmwAJ8-5.d.mts} +18 -1
  155. package/dist/index-Cny5RvjO.d.mts +800 -0
  156. package/dist/{index-BNMnIe-j.d.mts → index-D-4jv_66.d.mts} +434 -863
  157. package/dist/{index-brqfk9JQ.d.mts → index-D8D-yibS2.d.mts} +4 -4
  158. package/dist/index-DHnSLGP4.d.mts +268 -0
  159. package/dist/{index-D5Nb7IEP.d.mts → index-DI2lS7VT.d.mts} +79 -41
  160. package/dist/{index-D_ODXsBv.d.mts → index-DJ2KgJDJ2.d.mts} +51 -95
  161. package/dist/{index-cqLS1eFV.d.mts → index-DNI6UF9h.d.mts} +133 -134
  162. package/dist/index-DQ8o3JGi.d.mts +132 -0
  163. package/dist/index-DWBkiiXH.d.mts +18 -0
  164. package/dist/{index-DlsHL9Jg.d.mts → index-DXtQRehh.d.mts} +12 -12
  165. package/dist/{index-4VfqCjl2.d.mts → index-D_4K3Tf_.d.mts} +79 -194
  166. package/dist/index-Dg11JxKZ.d.mts +496 -0
  167. package/dist/json-value-BBZ6uGwc.mjs +1 -0
  168. package/dist/json-value-DPqb-SJ8.d.mts +177 -0
  169. package/dist/kernel/cli/index.d.mts +2 -2
  170. package/dist/kernel/cli/index.mjs +1 -1
  171. package/dist/kernel/cli/register.d.mts +1 -1
  172. package/dist/kernel/cli/register.mjs +1 -1
  173. package/dist/kernel/cli/schemas.mjs +1 -1
  174. package/dist/kernel/extension/index.d.mts +1 -1
  175. package/dist/kernel/extension/index.mjs +1 -1
  176. package/dist/kernel/index.d.mts +9 -9
  177. package/dist/kernel/index.mjs +1 -1
  178. package/dist/kernel/namespace/index.d.mts +2 -2
  179. package/dist/kernel/namespace/index.mjs +1 -1
  180. package/dist/kernel/observability/index.d.mts +1 -1
  181. package/dist/kernel/observability/index.mjs +1 -1
  182. package/dist/kernel/providers/index.d.mts +1 -1
  183. package/dist/kernel/providers/index.mjs +1 -1
  184. package/dist/kernel/window/index.d.mts +1 -1
  185. package/dist/kernel/window/index.mjs +1 -1
  186. package/dist/{lib-DErgth_E.mjs → lib-BpGvHZye.mjs} +2 -2
  187. package/dist/{lib-C7-s68uf.mjs → lib-Cm-uEoC1.mjs} +1 -1
  188. package/dist/{load-extensions-BxsDB87B.d.mts → load-extensions-BQoXaHhR.d.mts} +17 -13
  189. package/dist/load-extensions-DG5LvPyM.mjs +1 -0
  190. package/dist/{materialization-Jd198K3y.mjs → materialization-lVd9_-jr.mjs} +1 -1
  191. package/dist/mcp-http-server/index.mjs +1 -1
  192. package/dist/model-DrzPt3ou.mjs +1 -0
  193. package/dist/{namespace-BqxtpNAn.mjs → namespace-BL7lHlmg.mjs} +1 -1
  194. package/dist/{namespace-CjjFvrIA2.d.mts → namespace-BNp7n_gu.d.mts} +25 -25
  195. package/dist/{namespace-g_mbIZq_.d.mts → namespace-BRuHzhPo.d.mts} +564 -28
  196. package/dist/{namespace-DV-Hr9sZ.d.mts → namespace-C06lJSuj.d.mts} +17 -7
  197. package/dist/{namespace-TseEI3Pu.d.mts → namespace-DOezqDti.d.mts} +18 -10
  198. package/dist/{namespace-CErHuXtb.d.mts → namespace-DknCutQZ.d.mts} +50 -0
  199. package/dist/{namespace-B8uKAzWJ.mjs → namespace-Du0accdE.mjs} +1 -1
  200. package/dist/{namespace-CWUDFGOy.mjs → namespace-NXm_zvL1.mjs} +1 -1
  201. package/dist/{namespace-CupOzbRv.d.mts → namespace-l-HG1rLF.d.mts} +24 -20
  202. package/dist/namespace-sCPb79-7.mjs +1 -0
  203. package/dist/{native-session-supervisor-DRx0MX-d.mjs → native-session-supervisor-LKio8XZn.mjs} +1 -1
  204. package/dist/node/bus-server/index.d.mts +1 -1
  205. package/dist/node/bus-server/index.mjs +1 -1
  206. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  207. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  208. package/dist/npm-package-name-DuTYVICk.mjs +1 -0
  209. package/dist/orchestrator-shared-BGlN-m-V.mjs +1 -0
  210. package/dist/{orchestrator-shared-BHCv-l2O.d.mts → orchestrator-shared-CNHSImNY.d.mts} +10 -10
  211. package/dist/ownership-memory-handler-BpGdR_uG.mjs +1 -0
  212. package/dist/ownership-recovery-guard-DyW5vGBr.mjs +1 -0
  213. package/dist/package-B01gmu75.mjs +7 -0
  214. package/dist/{package-DWMxGfzK.d.mts → package-BNFTUFLB.d.mts} +234 -84
  215. package/dist/package-DttKA9wN.mjs +1 -0
  216. package/dist/package-EGTn-Ng1.mjs +1 -0
  217. package/dist/package-JtjbO-Oi.mjs +1 -0
  218. package/dist/package.json +1 -1
  219. package/dist/{profile-BTAI31Nt.mjs → profile-N5qGUpF0.mjs} +1 -1
  220. package/dist/{provider-context-PZIQWcqQ.mjs → provider-context-CG42JlP9.mjs} +1 -1
  221. package/dist/{provider-context-Dq53Cgzz.mjs → provider-context-zTDSH2x9.mjs} +1 -1
  222. package/dist/reaction-D3TNwPK8.mjs +1 -0
  223. package/dist/{registry-wfF2uTty.mjs → registry-Dk12tAfv.mjs} +2 -2
  224. package/dist/{resolved-DZgqql2Z.mjs → resolved-sq8RXNDf.mjs} +1 -1
  225. package/dist/rules/index.d.mts +1 -1
  226. package/dist/rules/index.mjs +1 -1
  227. package/dist/rules/schemas.d.mts +1 -1
  228. package/dist/rules/schemas.mjs +1 -1
  229. package/dist/runtime-bun/index.mjs +1 -1
  230. package/dist/runtime-node/code-execution/index.d.mts +3 -0
  231. package/dist/runtime-node/code-execution/index.mjs +1 -0
  232. package/dist/runtime-node/extension-discovery.d.mts +2 -2
  233. package/dist/runtime-node/extension-discovery.mjs +1 -1
  234. package/dist/runtime-node/extension-validation.d.mts +1 -1
  235. package/dist/runtime-node/extension-validation.mjs +1 -1
  236. package/dist/runtime-node/index.d.mts +7 -5
  237. package/dist/runtime-node/index.mjs +24 -24
  238. package/dist/runtime-node/makaio-config.d.mts +1 -1
  239. package/dist/runtime-node/makaio-config.mjs +1 -1
  240. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  241. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  242. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  243. package/dist/{schema-DKUb4rkr.d.mts → schema-B3Pf7JP7.d.mts} +778 -21
  244. package/dist/{schema-Dd-e89MO.mjs → schema-Dq-7si8u.mjs} +1 -1
  245. package/dist/{schemas-B1NWNASS.d.mts → schemas-BXc9qOpl.d.mts} +2 -0
  246. package/dist/schemas-BfO5jkrL.mjs +1 -0
  247. package/dist/{schemas-CR8hSqTy.d.mts → schemas-C1mxTfd7.d.mts} +60 -4
  248. package/dist/schemas-C3kyQWGf.mjs +1 -0
  249. package/dist/{schemas-DnYiAvfz.d.mts → schemas-D7ScxLrf.d.mts} +24 -20
  250. package/dist/{schemas-BsVYZviy.d.mts → schemas-OWvBn7AH.d.mts} +4 -4
  251. package/dist/{schemas-DaHQzpgm.mjs → schemas-QWDnauKX.mjs} +1 -1
  252. package/dist/schemas-TK29KWx-.mjs +1 -0
  253. package/dist/schemas-_2Syo_01.mjs +1 -0
  254. package/dist/scoped-bus-DoPmCJeM.mjs +1 -0
  255. package/dist/{selection-BNwTKEVT.mjs → selection-DL3ric7K.mjs} +1 -1
  256. package/dist/services/adapter-runtime/index.d.mts +4 -4
  257. package/dist/services/adapter-runtime/index.mjs +1 -1
  258. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  259. package/dist/services/adapter-runtime/schemas.d.mts +2 -2
  260. package/dist/services/adapter-runtime/schemas.mjs +1 -1
  261. package/dist/services/adapter-subsystem/index.d.mts +4 -4
  262. package/dist/services/adapter-subsystem/index.mjs +1 -1
  263. package/dist/services/adapter-subsystem/namespace.d.mts +2 -2
  264. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  265. package/dist/services/agent-runtime/index.d.mts +2 -2
  266. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  267. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  268. package/dist/services/automation-trigger/index.d.mts +943 -0
  269. package/dist/services/automation-trigger/index.mjs +1 -0
  270. package/dist/services/capability/index.d.mts +3 -2
  271. package/dist/services/capability/index.mjs +1 -1
  272. package/dist/services/code-execution/index.d.mts +2 -0
  273. package/dist/services/code-execution/index.mjs +1 -0
  274. package/dist/services/codebase/index.d.mts +2 -2
  275. package/dist/services/codebase/namespace.d.mts +1 -1
  276. package/dist/services/codebase/schemas.d.mts +1 -1
  277. package/dist/services/compression/index.d.mts +2 -2
  278. package/dist/services/compression/namespace.d.mts +1 -1
  279. package/dist/services/compression/schemas.d.mts +1 -1
  280. package/dist/services/context-rules/index.d.mts +1 -1
  281. package/dist/services/context-rules/index.mjs +1 -1
  282. package/dist/services/execution-target/index.d.mts +3 -3
  283. package/dist/services/execution-target/index.mjs +1 -1
  284. package/dist/services/execution-target/namespace.d.mts +1 -1
  285. package/dist/services/execution-target/namespace.mjs +1 -1
  286. package/dist/services/execution-target/schemas.d.mts +1 -1
  287. package/dist/services/execution-target/schemas.mjs +1 -1
  288. package/dist/services/filesystem/index.d.mts +1 -1
  289. package/dist/services/filesystem/index.mjs +1 -1
  290. package/dist/services/filesystem/namespace.d.mts +6 -6
  291. package/dist/services/filesystem/schemas.d.mts +3 -3
  292. package/dist/services/git/namespace.d.mts +18 -0
  293. package/dist/services/git/namespace.mjs +1 -1
  294. package/dist/services/git/schemas.d.mts +10 -1
  295. package/dist/services/git/schemas.mjs +1 -1
  296. package/dist/services/harness/index.mjs +1 -1
  297. package/dist/services/index.d.mts +567 -101
  298. package/dist/services/index.mjs +1 -1
  299. package/dist/services/log-import/browser.d.mts +2 -2
  300. package/dist/services/log-import/index.d.mts +3 -3
  301. package/dist/services/log-import/log-import.d.mts +1 -1
  302. package/dist/services/log-import/log-import.mjs +1 -1
  303. package/dist/services/log-import/namespace.mjs +1 -1
  304. package/dist/services/log-import/schemas.mjs +1 -1
  305. package/dist/services/materialization/index.d.mts +1 -1
  306. package/dist/services/materialization/index.mjs +1 -1
  307. package/dist/services/model-registry/index.d.mts +1 -1
  308. package/dist/services/model-registry/index.mjs +1 -1
  309. package/dist/services/preferences/index.d.mts +2 -2
  310. package/dist/services/preferences/schemas.d.mts +1 -1
  311. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  312. package/dist/services/provider-context/index.d.mts +1 -1
  313. package/dist/services/provider-context/index.mjs +1 -1
  314. package/dist/services/provider-runtime/index.mjs +1 -1
  315. package/dist/services/session/handlers/index.d.mts +2 -2
  316. package/dist/services/session/handlers/index.mjs +1 -1
  317. package/dist/services/session/index.d.mts +10 -10
  318. package/dist/services/session/index.mjs +1 -1
  319. package/dist/services/session/messages/namespace.d.mts +1 -1
  320. package/dist/services/session/messages/namespace.mjs +1 -1
  321. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  322. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  323. package/dist/services/session/session-events/namespace.d.mts +1 -1
  324. package/dist/services/session/session-events/namespace.mjs +1 -1
  325. package/dist/services/session/storage/namespace.d.mts +1 -1
  326. package/dist/services/session/storage/schema.d.mts +2 -2
  327. package/dist/services/session/storage/schema.mjs +1 -1
  328. package/dist/services/session/testing/index.d.mts +33 -4
  329. package/dist/services/session/testing/index.mjs +68 -12
  330. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  331. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  332. package/dist/services/session/turns/namespace.d.mts +1 -1
  333. package/dist/services/session/turns/namespace.mjs +1 -1
  334. package/dist/services/session-editor/index.d.mts +1 -1
  335. package/dist/services/session-editor/index.mjs +1 -1
  336. package/dist/services/settings/index.d.mts +3 -3
  337. package/dist/services/settings/index.mjs +1 -1
  338. package/dist/services/settings/namespace.mjs +1 -1
  339. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  340. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  341. package/dist/services/settings/storage/index.d.mts +3 -3
  342. package/dist/services/settings/storage/index.mjs +1 -1
  343. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  344. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  345. package/dist/services/subagent/index.d.mts +1 -1
  346. package/dist/services/subagent/index.mjs +1 -1
  347. package/dist/services/subagent-template/index.d.mts +2 -2
  348. package/dist/services/subagent-template/namespace.d.mts +1 -1
  349. package/dist/services/subagent-template/schemas.d.mts +1 -1
  350. package/dist/services/tool-approval/index.d.mts +1 -1
  351. package/dist/services/tool-approval/index.mjs +1 -1
  352. package/dist/services/tools/index.d.mts +1 -1
  353. package/dist/services/tools/index.mjs +1 -1
  354. package/dist/services/tray-menu/index.d.mts +3 -3
  355. package/dist/services/tray-menu/index.mjs +1 -1
  356. package/dist/services/tray-menu/namespace.d.mts +1 -1
  357. package/dist/services/tray-menu/schemas.d.mts +1 -1
  358. package/dist/services/turn/index.d.mts +1 -1
  359. package/dist/services/turn/namespace.d.mts +1 -1
  360. package/dist/services/workflow-transitions/index.d.mts +1 -1
  361. package/dist/services/workflow-transitions/index.mjs +1 -1
  362. package/dist/session-BOpTI79g.mjs +1 -0
  363. package/dist/session-CXOPk3yg.mjs +95 -0
  364. package/dist/shared-B9AWRm9A.mjs +1 -0
  365. package/dist/{skill-BR6rkfLe.mjs → skill-DGNtc_ww.mjs} +1 -1
  366. package/dist/{src-DD0v-nIj.mjs → src-BmSQ3rlz.mjs} +1 -1
  367. package/dist/storage/drizzle/client.d.mts +1 -1
  368. package/dist/storage/drizzle/client.mjs +1 -1
  369. package/dist/storage/drizzle/index.d.mts +81 -2
  370. package/dist/storage/drizzle/index.mjs +1 -1
  371. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  372. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  373. package/dist/storage/handlers/index.d.mts +1 -1
  374. package/dist/storage/handlers/index.mjs +1 -1
  375. package/dist/tool-approval-service-BFDOFUGC.mjs +1 -0
  376. package/dist/{tools-PdG9fO1M.mjs → tools-DWKWX3eV.mjs} +1 -1
  377. package/dist/{transition-Du3MQzJV.d.mts → transition-D3zUBTPc.d.mts} +11 -38
  378. package/dist/{types-D7_kevBK.d.mts → types-BlB23n4f.d.mts} +1 -1
  379. package/dist/{types-DMLDHFR9.d.mts → types-CtDGkyLx2.d.mts} +1 -1
  380. package/dist/types-Cwza95hS.mjs +1 -0
  381. package/dist/{types-Dzrwa1GY.d.mts → types-DcxBYlPA.d.mts} +5834 -1436
  382. package/dist/types-DnK6Wa_Y.d.mts +260 -0
  383. package/dist/types-OKJCOjme.d.mts +2937 -0
  384. package/dist/ui-hooks/index.d.mts +29 -2
  385. package/dist/ui-hooks/index.mjs +1 -1
  386. package/dist/ui-kernel/index.d.mts +2 -2
  387. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  388. package/dist/ui-views/index.d.mts +1 -1
  389. package/dist/utils/index.d.mts +98 -1
  390. package/dist/utils/index.mjs +2 -2
  391. package/dist/utils/project-manifest.mjs +1 -1
  392. package/dist/{version-CoCeMxDT.mjs → version-BYeVh1pI.mjs} +1 -1
  393. package/dist/{view-builder-DeFd-k7C.d.mts → view-builder-B0j9p5C0.d.mts} +4 -4
  394. package/dist/{visibility-qhGWmpSJ.mjs → visibility-DtDLRBdr.mjs} +1 -1
  395. package/dist/worker-node-CjuQb9hl.mjs +1 -0
  396. package/dist/{worker-node-DZTuT1DS.mjs → worker-node-Dtf9ilsR.mjs} +1 -1
  397. package/dist/workflow-C4mck_NW.mjs +1 -0
  398. package/dist/workflow-engine/execution-attempt-repository.d.mts +1 -1
  399. package/dist/workflow-engine/index.d.mts +237 -518
  400. package/dist/workflow-engine/index.mjs +1 -1
  401. package/dist/workflow-engine/package.d.mts +1 -1
  402. package/dist/workflow-engine/package.mjs +1 -1
  403. package/dist/workflow-engine/provider-operation.d.mts +1 -1
  404. package/dist/workflow-engine/testing/index.d.mts +2 -2
  405. package/dist/workflow-engine/testing/index.mjs +1 -1
  406. package/dist/workflow-engine/testing/sqlite.d.mts +1 -1
  407. package/dist/workflow-engine/testing/sqlite.mjs +27 -27
  408. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  409. package/dist/workflow-engine/workflow-trigger-binding-consumer.d.mts +46 -0
  410. package/dist/workflow-engine/workflow-trigger-binding-consumer.mjs +1 -0
  411. package/dist/{workflow-transitions-DSc45ixc.mjs → workflow-transitions-c_VQbyV0.mjs} +1 -1
  412. package/dist/workflow-worker-aNbdgqml.mjs +1 -0
  413. package/dist/zod-json-schema-Dixc-B1T.mjs +1 -0
  414. package/package.json +46 -1
  415. package/dist/adapter-D5c5LrPN.mjs +0 -1
  416. package/dist/artifact-DGiXqb11.mjs +0 -1
  417. package/dist/attach-error-C3tngg6J.mjs +0 -1
  418. package/dist/authority-state-bootstrap-GPL_tqaT.mjs +0 -1
  419. package/dist/await-trigger-I3lrepb8.mjs +0 -1
  420. package/dist/bus-B6SAjgOC.mjs +0 -2
  421. package/dist/bus-C2l3K74u.mjs +0 -1
  422. package/dist/capabilities-BQEp34ir.mjs +0 -1
  423. package/dist/capability-service-BqiLlRGA.mjs +0 -1
  424. package/dist/event-CmVjR6Ib.mjs +0 -1
  425. package/dist/extension-DCA4pYrY.mjs +0 -1
  426. package/dist/extension-hjOPs10e.mjs +0 -1
  427. package/dist/framework-packages-C3RWfJDk.mjs +0 -1
  428. package/dist/handlers-CfnLyLfE.mjs +0 -57
  429. package/dist/identity-D6guMtmi.mjs +0 -1
  430. package/dist/index-CRvpVIqA.d.mts +0 -89
  431. package/dist/json-value-Brslhqbm.d.mts +0 -57
  432. package/dist/json-value-DmU8ibo_.mjs +0 -1
  433. package/dist/load-extensions-D0DfjYLC.mjs +0 -1
  434. package/dist/model-BGgVmRnN.mjs +0 -1
  435. package/dist/namespace-DJfUADSV.mjs +0 -1
  436. package/dist/orchestrator-shared-BxmHCPvx.mjs +0 -1
  437. package/dist/package-CNUPPcU1.mjs +0 -7
  438. package/dist/package-Dft_RItb.mjs +0 -1
  439. package/dist/schemas-CRB2O5zo.mjs +0 -1
  440. package/dist/schemas-Cm09dXL4.mjs +0 -1
  441. package/dist/schemas-tDf_WiC8.mjs +0 -1
  442. package/dist/scoped-bus-C9BdNwfM.mjs +0 -1
  443. package/dist/session-BOGCd18q.mjs +0 -1
  444. package/dist/session-BTFiDoGz.mjs +0 -76
  445. package/dist/shared-BQ0CHIVy.mjs +0 -1
  446. package/dist/tool-approval-service-kBA0fRzm.mjs +0 -1
  447. package/dist/types-CJ_QZ1yW.d.mts +0 -1487
  448. package/dist/worker-node-Bl9_vqYi.mjs +0 -1
  449. package/dist/workflow-BfDbgtIQ.mjs +0 -1
  450. package/dist/workflow-worker-BN9XPxQO.mjs +0 -1
  451. package/dist/{adapter-auth-runtime-DO-FVTXg.mjs → adapter-auth-runtime-DHHppU4f.mjs} +0 -0
  452. package/dist/{adapter-binding-DQchUtrK.d.mts → adapter-binding-CATvmGuz.d.mts} +0 -0
  453. package/dist/{attempt-record-codec-CqO1_XnE.mjs → attempt-record-codec-BYfYkj4M.mjs} +0 -0
  454. package/dist/{base-orchestrator-BilsQNW1.d.mts → base-orchestrator-B4YW6z_Q.d.mts} +0 -0
  455. package/dist/{index-DN4NOCqN2.d.mts → capability-service-BW1-teFU.d.mts} +0 -0
  456. package/dist/{client-B--e2qcU.d.mts → client-BG0WX5Vz.d.mts} +0 -0
  457. package/dist/{client-binary-version-verifier-taewmKTY.mjs → client-binary-version-verifier-0lCKZOTg.mjs} +0 -0
  458. package/dist/{client-binary-version-verifier-CgjM_vGF.d.mts → client-binary-version-verifier-lcv83Hq3.d.mts} +0 -0
  459. package/dist/{clients-namespace-DfxjG2ZP.d.mts → clients-namespace-DLAjOTTb.d.mts} +0 -0
  460. package/dist/{config-namespace-BCqvufbD.d.mts → config-namespace-CH7sJZ4f.d.mts} +0 -0
  461. package/dist/{create-static-mount-bbQhTt6W.mjs → create-static-mount-DxuixuLZ.mjs} +0 -0
  462. package/dist/{cross-spawn-B57KZuns.mjs → cross-spawn-CZygZJMH.mjs} +0 -0
  463. package/dist/{cursor-storage-DIFK_9hg.mjs → cursor-storage-bsc9lZKk.mjs} +0 -0
  464. package/dist/{definition-gnKgXU91.d.mts → definition-BrgzUuFk.d.mts} +0 -0
  465. package/dist/{definitions-xrrY0wgz.mjs → definitions-CRpdnHYM.mjs} +0 -0
  466. package/dist/{descriptor-to-package-DvF08krT.mjs → descriptor-to-package-CcjdoWP4.mjs} +0 -0
  467. package/dist/{drizzle-z_0SiGY8.mjs → drizzle-Bzc-OGVI.mjs} +0 -0
  468. package/dist/{esm-CltRnX8_.mjs → esm-i-S5TW72.mjs} +0 -0
  469. package/dist/{facet-BCI00njh.mjs → facet-BnMh7Jyc.mjs} +0 -0
  470. package/dist/{filesystem-service-CQ9yVkSz.d.mts → filesystem-service-ZJ43SbBi.d.mts} +0 -0
  471. package/dist/{handler-Cbv9FqDO.mjs → handler-DF1fVDpf.mjs} +0 -0
  472. package/dist/{host-Caq6ZfSJ.mjs → host-B-_ntOMH.mjs} +0 -0
  473. package/dist/{index-ye0oklfU.d.mts → index-B2Y1Wvbh.d.mts} +0 -0
  474. package/dist/{index-Cv-o5Krs.d.mts → index-B4svZC6L.d.mts} +0 -0
  475. package/dist/{index-DZunhZec.d.mts → index-B5dP8rj6.d.mts} +0 -0
  476. package/dist/{index-jTaAHsul.d.mts → index-BC-6qNeo.d.mts} +0 -0
  477. package/dist/{index-ByKi34v5.d.mts → index-BFWvT0NG.d.mts} +0 -0
  478. package/dist/{index-vA--0lOM.d.mts → index-BMRB9yhF.d.mts} +0 -0
  479. package/dist/{index-BskPjMet.d.mts → index-BuMsrli0.d.mts} +0 -0
  480. package/dist/{index-DR40QWlw.d.mts → index-C4V8Pmi4.d.mts} +0 -0
  481. package/dist/{index-BIdsFcQs2.d.mts → index-CL0Jo1b92.d.mts} +0 -0
  482. package/dist/{index-CjdRdsd0.d.mts → index-CVpaGijY.d.mts} +0 -0
  483. package/dist/{index-vcSj12YQ.d.mts → index-CmbkCxj-.d.mts} +0 -0
  484. package/dist/{index-sS6KUlrx.d.mts → index-CqdMbYmR.d.mts} +0 -0
  485. package/dist/{index-CnMu8BQl.d.mts → index-D037TVsm.d.mts} +0 -0
  486. package/dist/{index-CGZQVTid.d.mts → index-DgspOUa72.d.mts} +0 -0
  487. package/dist/{index-dtsLKOID.d.mts → index-Ek4y8M9J2.d.mts} +0 -0
  488. package/dist/{index-DjgLchuQ.d.mts → index-VzLAV0Yt.d.mts} +0 -0
  489. package/dist/{index-DXN_L5D6.d.mts → index-jxPncqWZ2.d.mts} +0 -0
  490. package/dist/{index-BVRQEpAg.d.mts → index-kzIjbrS02.d.mts} +6 -6
  491. /package/dist/{index-Dm1nUxCF.d.mts → index-l01zsChf.d.mts} +0 -0
  492. /package/dist/{index-CWHfOz6d.d.mts → index-pvX-BIpr2.d.mts} +0 -0
  493. /package/dist/{jsonl-transport-bQl3JwIu.mjs → jsonl-transport-Cyyh5Wje.mjs} +0 -0
  494. /package/dist/{lib-DOBXZmYX.mjs → lib-BqV8hYtk.mjs} +0 -0
  495. /package/dist/{model-registry-xyBKSye-.mjs → model-registry-C9rFu3kV.mjs} +0 -0
  496. /package/dist/{model-registry-CmgcPDH3.mjs → model-registry-Cixxx2jv.mjs} +0 -0
  497. /package/dist/{modes-BheyN7SS.mjs → modes-DwsJ3yVl.mjs} +0 -0
  498. /package/dist/{namespace-BOkKoq34.d.mts → namespace-B0ftHlK3.d.mts} +0 -0
  499. /package/dist/{namespace-YytVKIgI.d.mts → namespace-BGRHcrmp.d.mts} +0 -0
  500. /package/dist/{namespace-jDhZjw-i.d.mts → namespace-BUYDmd0r.d.mts} +0 -0
  501. /package/dist/{namespace-YxU1xf-K.mjs → namespace-BW3Bfu9h.mjs} +0 -0
  502. /package/dist/{namespace-DWCEo-9M.d.mts → namespace-BdAK0lD8.d.mts} +0 -0
  503. /package/dist/{namespace-Cv1RFP7n.d.mts → namespace-CPG6u60N.d.mts} +0 -0
  504. /package/dist/{namespace-GPA7zots.d.mts → namespace-CVFaZv8x.d.mts} +0 -0
  505. /package/dist/{namespace-Blp4c8GK.d.mts → namespace-DBO1OzYB.d.mts} +0 -0
  506. /package/dist/{namespace-C-9si-fV.mjs → namespace-DiwqpB-c.mjs} +0 -0
  507. /package/dist/{namespace-tGRAod3o.d.mts → namespace-DqZweTbX.d.mts} +0 -0
  508. /package/dist/{namespace-HO2J9sO8.mjs → namespace-jVTsuZHX.mjs} +0 -0
  509. /package/dist/{namespace-CWGKCNZm.mjs → namespace-tjoxekmf.mjs} +0 -0
  510. /package/dist/{out-CvjtANXN.mjs → out-8bOYN6EF.mjs} +0 -0
  511. /package/dist/{packages-DtEEP0Vt.mjs → packages-Bp124-gx.mjs} +0 -0
  512. /package/dist/{packages-BZ6pzFIq.d.mts → packages-CxPMEg8D.d.mts} +0 -0
  513. /package/dist/{platform-Bv8llU9c.mjs → platform-CxyYPrkf.mjs} +0 -0
  514. /package/dist/{provider-operation-Cxoe2SUr.d.mts → provider-operation-DbdyFwNm.d.mts} +0 -0
  515. /package/dist/{providers-Co5UszRH.mjs → providers-C-eekMxD.mjs} +0 -0
  516. /package/dist/{providers-namespace-DjFkmvBR.d.mts → providers-namespace-CfZKp-C0.d.mts} +0 -0
  517. /package/dist/{quick-lru-CrOpWwrf.mjs → quick-lru-CCEnf7y6.mjs} +0 -0
  518. /package/dist/{schema-Db-y-09L.mjs → schema-C0opCPww.mjs} +0 -0
  519. /package/dist/{schema-introspection-DgWQCpwx.mjs → schema-introspection-6-r_KEJQ.mjs} +0 -0
  520. /package/dist/{schemas-N6x2z7Lf.d.mts → schemas-B50oWBuj.d.mts} +0 -0
  521. /package/dist/{schemas-BO7uOum6.d.mts → schemas-B6Q-qdmn.d.mts} +0 -0
  522. /package/dist/{schemas-BGExwp3j.mjs → schemas-B8hKbBwI.mjs} +0 -0
  523. /package/dist/{schemas-miYxK_Z1.d.mts → schemas-BGvkTiCx.d.mts} +0 -0
  524. /package/dist/{schemas-CqRm0i9a.mjs → schemas-BivbWRkG.mjs} +0 -0
  525. /package/dist/{schemas-CwbYk_kZ.d.mts → schemas-ChmQldVH.d.mts} +0 -0
  526. /package/dist/{schemas-DrVg4aQQ.d.mts → schemas-Dd13TMgU.d.mts} +0 -0
  527. /package/dist/{schemas-BtZqovRH.d.mts → schemas-Pe892GgN.d.mts} +0 -0
  528. /package/dist/{schemas-CQyRBqD6.d.mts → schemas-bfZNpl0B.d.mts} +0 -0
  529. /package/dist/{schemas-Bfxskx_2.mjs → schemas-scyC2tFF.mjs} +0 -0
  530. /package/dist/{semver-DlM8znk4.mjs → semver-BI7kTNsY.mjs} +0 -0
  531. /package/dist/{server-lifecycle-kmQ5PUDv.mjs → server-lifecycle-B_OZnoe-.mjs} +0 -0
  532. /package/dist/{server-lifecycle-Dsq56aqC.d.mts → server-lifecycle-L8zja8t8.d.mts} +0 -0
  533. /package/dist/{session-lineage-B_JW5LpF.d.mts → session-lineage-bUkd3fqx.d.mts} +0 -0
  534. /package/dist/{shared-schemas-DXwyMCwZ.mjs → shared-schemas-CQ6blrEW.mjs} +0 -0
  535. /package/dist/{src-CCu8TwL6.mjs → src-BacfeiI4.mjs} +0 -0
  536. /package/dist/{storage-namespace-BSrv0vXR.mjs → storage-namespace-BZce8kkW.mjs} +0 -0
  537. /package/dist/{storage-namespace-dfywhXR3.d.mts → storage-namespace-YmE8XCCL.d.mts} +0 -0
  538. /package/dist/{storage-namespace-definition-BvlX0QV_.d.mts → storage-namespace-definition-BsnYAPot.d.mts} +0 -0
  539. /package/dist/{storage-namespace-definition-CkMKt7-I.mjs → storage-namespace-definition-Cca-zwXU.mjs} +0 -0
  540. /package/dist/{supports-color-DUugCQsK.mjs → supports-color-SV_FgSN2.mjs} +0 -0
  541. /package/dist/{telemetry-Pr3oP2rk.mjs → telemetry-BqoC87F-.mjs} +0 -0
  542. /package/dist/{timeout-DWDhddRJ.mjs → timeout-DVlN2Zhy.mjs} +0 -0
  543. /package/dist/{tray-menu-service-BBLa-Rcv.mjs → tray-menu-service-eVVxgPLc.mjs} +0 -0
  544. /package/dist/{types-BrcjaNPZ.d.mts → types-DdpSEmTO.d.mts} +0 -0
  545. /package/dist/{types-b54n1o57.d.mts → types-tyv0B605.d.mts} +0 -0
  546. /package/dist/{ui-config-CyCdlns_.mjs → ui-config-B35GloSX.mjs} +0 -0
  547. /package/dist/{variant-krjlTdJt.mjs → variant-Dwnge3J_.mjs} +0 -0
  548. /package/dist/{window-registry-I-imZHV_.mjs → window-registry-CKiMJjId.mjs} +0 -0
  549. /package/dist/{window-registry-BDnZLPVx.d.mts → window-registry-Pcf35cac.d.mts} +0 -0
@@ -19,6 +19,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
19
19
  startAgent: {
20
20
  request: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
21
21
  adapterId: _$zod.ZodString;
22
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
23
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
22
24
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
23
25
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
24
26
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -296,7 +298,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
296
298
  systemPrompt: "systemPrompt";
297
299
  fullPrefix: "fullPrefix";
298
300
  }>>;
299
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
301
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
300
302
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
301
303
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
302
304
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -323,6 +325,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
323
325
  "native-attempt-failed": "native-attempt-failed";
324
326
  "agent-already-started": "agent-already-started";
325
327
  "fork-point-unresolvable": "fork-point-unresolvable";
328
+ "adapter-session-moved": "adapter-session-moved";
326
329
  }>;
327
330
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
328
331
  kind: _$zod.ZodLiteral<"foreign">;
@@ -386,9 +389,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
386
389
  description: _$zod.ZodOptional<_$zod.ZodString>;
387
390
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
388
391
  exposureMode: _$zod.ZodEnum<{
389
- hidden: "hidden";
390
392
  direct: "direct";
391
393
  discovery: "discovery";
394
+ hidden: "hidden";
392
395
  }>;
393
396
  enabled: _$zod.ZodBoolean;
394
397
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -405,9 +408,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
405
408
  description: _$zod.ZodOptional<_$zod.ZodString>;
406
409
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
407
410
  exposureMode: _$zod.ZodEnum<{
408
- hidden: "hidden";
409
411
  direct: "direct";
410
412
  discovery: "discovery";
413
+ hidden: "hidden";
411
414
  }>;
412
415
  enabled: _$zod.ZodBoolean;
413
416
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -466,9 +469,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
466
469
  description: _$zod.ZodOptional<_$zod.ZodString>;
467
470
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
468
471
  exposureMode: _$zod.ZodEnum<{
469
- hidden: "hidden";
470
472
  direct: "direct";
471
473
  discovery: "discovery";
474
+ hidden: "hidden";
472
475
  }>;
473
476
  enabled: _$zod.ZodBoolean;
474
477
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -485,9 +488,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
485
488
  description: _$zod.ZodOptional<_$zod.ZodString>;
486
489
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
487
490
  exposureMode: _$zod.ZodEnum<{
488
- hidden: "hidden";
489
491
  direct: "direct";
490
492
  discovery: "discovery";
493
+ hidden: "hidden";
491
494
  }>;
492
495
  enabled: _$zod.ZodBoolean;
493
496
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -591,6 +594,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
591
594
  targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
592
595
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
593
596
  adapterId: _$zod.ZodString;
597
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
598
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
594
599
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
595
600
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
596
601
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -868,7 +873,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
868
873
  systemPrompt: "systemPrompt";
869
874
  fullPrefix: "fullPrefix";
870
875
  }>>;
871
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
876
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
872
877
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
873
878
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
874
879
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -895,6 +900,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
895
900
  "native-attempt-failed": "native-attempt-failed";
896
901
  "agent-already-started": "agent-already-started";
897
902
  "fork-point-unresolvable": "fork-point-unresolvable";
903
+ "adapter-session-moved": "adapter-session-moved";
898
904
  }>;
899
905
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
900
906
  kind: _$zod.ZodLiteral<"foreign">;
@@ -958,9 +964,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
958
964
  description: _$zod.ZodOptional<_$zod.ZodString>;
959
965
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
960
966
  exposureMode: _$zod.ZodEnum<{
961
- hidden: "hidden";
962
967
  direct: "direct";
963
968
  discovery: "discovery";
969
+ hidden: "hidden";
964
970
  }>;
965
971
  enabled: _$zod.ZodBoolean;
966
972
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -977,9 +983,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
977
983
  description: _$zod.ZodOptional<_$zod.ZodString>;
978
984
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
979
985
  exposureMode: _$zod.ZodEnum<{
980
- hidden: "hidden";
981
986
  direct: "direct";
982
987
  discovery: "discovery";
988
+ hidden: "hidden";
983
989
  }>;
984
990
  enabled: _$zod.ZodBoolean;
985
991
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1038,9 +1044,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1038
1044
  description: _$zod.ZodOptional<_$zod.ZodString>;
1039
1045
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1040
1046
  exposureMode: _$zod.ZodEnum<{
1041
- hidden: "hidden";
1042
1047
  direct: "direct";
1043
1048
  discovery: "discovery";
1049
+ hidden: "hidden";
1044
1050
  }>;
1045
1051
  enabled: _$zod.ZodBoolean;
1046
1052
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1057,9 +1063,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1057
1063
  description: _$zod.ZodOptional<_$zod.ZodString>;
1058
1064
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1059
1065
  exposureMode: _$zod.ZodEnum<{
1060
- hidden: "hidden";
1061
1066
  direct: "direct";
1062
1067
  discovery: "discovery";
1068
+ hidden: "hidden";
1063
1069
  }>;
1064
1070
  enabled: _$zod.ZodBoolean;
1065
1071
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1160,6 +1166,8 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1160
1166
  adapterSessionId: _$zod.ZodString;
1161
1167
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1162
1168
  adapterId: _$zod.ZodString;
1169
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
1170
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
1163
1171
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
1164
1172
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
1165
1173
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1437,7 +1445,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1437
1445
  systemPrompt: "systemPrompt";
1438
1446
  fullPrefix: "fullPrefix";
1439
1447
  }>>;
1440
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
1448
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
1441
1449
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
1442
1450
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
1443
1451
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -1464,6 +1472,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1464
1472
  "native-attempt-failed": "native-attempt-failed";
1465
1473
  "agent-already-started": "agent-already-started";
1466
1474
  "fork-point-unresolvable": "fork-point-unresolvable";
1475
+ "adapter-session-moved": "adapter-session-moved";
1467
1476
  }>;
1468
1477
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1469
1478
  kind: _$zod.ZodLiteral<"foreign">;
@@ -1527,9 +1536,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1527
1536
  description: _$zod.ZodOptional<_$zod.ZodString>;
1528
1537
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1529
1538
  exposureMode: _$zod.ZodEnum<{
1530
- hidden: "hidden";
1531
1539
  direct: "direct";
1532
1540
  discovery: "discovery";
1541
+ hidden: "hidden";
1533
1542
  }>;
1534
1543
  enabled: _$zod.ZodBoolean;
1535
1544
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1546,9 +1555,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1546
1555
  description: _$zod.ZodOptional<_$zod.ZodString>;
1547
1556
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1548
1557
  exposureMode: _$zod.ZodEnum<{
1549
- hidden: "hidden";
1550
1558
  direct: "direct";
1551
1559
  discovery: "discovery";
1560
+ hidden: "hidden";
1552
1561
  }>;
1553
1562
  enabled: _$zod.ZodBoolean;
1554
1563
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1607,9 +1616,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1607
1616
  description: _$zod.ZodOptional<_$zod.ZodString>;
1608
1617
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1609
1618
  exposureMode: _$zod.ZodEnum<{
1610
- hidden: "hidden";
1611
1619
  direct: "direct";
1612
1620
  discovery: "discovery";
1621
+ hidden: "hidden";
1613
1622
  }>;
1614
1623
  enabled: _$zod.ZodBoolean;
1615
1624
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1626,9 +1635,9 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1626
1635
  description: _$zod.ZodOptional<_$zod.ZodString>;
1627
1636
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
1628
1637
  exposureMode: _$zod.ZodEnum<{
1629
- hidden: "hidden";
1630
1638
  direct: "direct";
1631
1639
  discovery: "discovery";
1640
+ hidden: "hidden";
1632
1641
  }>;
1633
1642
  enabled: _$zod.ZodBoolean;
1634
1643
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -1731,12 +1740,18 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1731
1740
  success: _$zod.ZodLiteral<true>;
1732
1741
  agentId: _$zod.ZodString;
1733
1742
  adapterId: _$zod.ZodString;
1743
+ ownerInstanceId: _$zod.ZodString;
1734
1744
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1735
1745
  sessionId: _$zod.ZodString;
1736
1746
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
1747
+ settlementAckToken: _$zod.ZodOptional<_$zod.ZodString>;
1737
1748
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1738
1749
  success: _$zod.ZodLiteral<false>;
1739
1750
  message: _$zod.ZodString;
1751
+ dispatch: _$zod.ZodEnum<{
1752
+ "not-dispatched": "not-dispatched";
1753
+ "dispatch-uncertain": "dispatch-uncertain";
1754
+ }>;
1740
1755
  }, _$zod_v4_core0.$strip>], "success">;
1741
1756
  };
1742
1757
  infer: {
@@ -1850,6 +1865,7 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1850
1865
  getAgent: {
1851
1866
  request: _$zod.ZodObject<{
1852
1867
  adapterId: _$zod.ZodString;
1868
+ ownerInstanceId: _$zod.ZodString;
1853
1869
  agentId: _$zod.ZodString;
1854
1870
  }, _$zod_v4_core0.$strip>;
1855
1871
  response: _$zod.ZodObject<{
@@ -1863,22 +1879,64 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1863
1879
  stopAgent: {
1864
1880
  request: _$zod.ZodObject<{
1865
1881
  adapterId: _$zod.ZodString;
1882
+ ownerInstanceId: _$zod.ZodString;
1866
1883
  agentId: _$zod.ZodString;
1884
+ teardown: _$zod.ZodOptional<_$zod.ZodEnum<{
1885
+ "connector-only": "connector-only";
1886
+ }>>;
1867
1887
  }, _$zod_v4_core0.$strip>;
1868
1888
  response: _$zod.ZodObject<{
1869
1889
  success: _$zod.ZodBoolean;
1890
+ evidence: _$zod.ZodEnum<{
1891
+ unknown: "unknown";
1892
+ exited: "exited";
1893
+ closed: "closed";
1894
+ released: "released";
1895
+ detached: "detached";
1896
+ }>;
1897
+ detail: _$zod.ZodOptional<_$zod.ZodString>;
1870
1898
  }, _$zod_v4_core0.$strip>;
1871
1899
  };
1872
1900
  rehydrateAgent: {
1873
1901
  request: _$zod.ZodObject<{
1874
1902
  adapterId: _$zod.ZodString;
1903
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
1875
1904
  agentId: _$zod.ZodString;
1876
1905
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
1877
1906
  model: _$zod.ZodOptional<_$zod.ZodString>;
1878
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1879
1907
  resumeAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1908
+ callerOwnsAgentRow: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
1880
1909
  }, _$zod_v4_core0.$strip>;
1881
- response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
1910
+ response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1911
+ success: _$zod.ZodLiteral<true>;
1912
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
1913
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
1914
+ settlementAckToken: _$zod.ZodOptional<_$zod.ZodString>;
1915
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1916
+ success: _$zod.ZodLiteral<false>;
1917
+ message: _$zod.ZodString;
1918
+ dispatch: _$zod.ZodLiteral<"not-dispatched">;
1919
+ }, _$zod_v4_core0.$strip>], "success">;
1920
+ };
1921
+ acknowledgeCallerSettlement: {
1922
+ request: _$zod.ZodObject<{
1923
+ adapterId: _$zod.ZodString;
1924
+ ownerInstanceId: _$zod.ZodString;
1925
+ agentId: _$zod.ZodString;
1926
+ settlementAckToken: _$zod.ZodString;
1927
+ recovery: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
1928
+ }, _$zod_v4_core0.$strip>;
1929
+ response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
1930
+ acknowledged: _$zod.ZodLiteral<true>;
1931
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
1932
+ acknowledged: _$zod.ZodLiteral<false>;
1933
+ reason: _$zod.ZodEnum<{
1934
+ "not-hosted": "not-hosted";
1935
+ "stale-token": "stale-token";
1936
+ "teardown-in-flight": "teardown-in-flight";
1937
+ "status-refused": "status-refused";
1938
+ }>;
1939
+ }, _$zod_v4_core0.$strip>], "acknowledged">;
1882
1940
  };
1883
1941
  getConfigSchema: {
1884
1942
  request: _$zod.ZodObject<{
@@ -1975,9 +2033,17 @@ declare const AdapterNamespace: _$_makaio_core0.BusNamespaceDefinition<"adapter"
1975
2033
  initialized: _$zod.ZodObject<{
1976
2034
  adapterId: _$zod.ZodString;
1977
2035
  adapterName: _$zod.ZodString;
2036
+ machineId: _$zod.ZodString;
2037
+ ownerInstanceId: _$zod.ZodString;
1978
2038
  capabilities: _$zod.ZodArray<_$zod.ZodString>;
1979
2039
  nativeTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
1980
2040
  }, _$zod_v4_core0.$strip>;
2041
+ deinitialized: _$zod.ZodObject<{
2042
+ adapterId: _$zod.ZodString;
2043
+ adapterName: _$zod.ZodString;
2044
+ machineId: _$zod.ZodString;
2045
+ ownerInstanceId: _$zod.ZodString;
2046
+ }, _$zod_v4_core0.$strip>;
1981
2047
  quota: _$zod.ZodObject<{
1982
2048
  adapterId: _$zod.ZodString;
1983
2049
  adapterName: _$zod.ZodString;
@@ -2003,6 +2069,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2003
2069
  startAgent: {
2004
2070
  request: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
2005
2071
  adapterId: _$zod.ZodString;
2072
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
2073
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
2006
2074
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2007
2075
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
2008
2076
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2280,7 +2348,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2280
2348
  systemPrompt: "systemPrompt";
2281
2349
  fullPrefix: "fullPrefix";
2282
2350
  }>>;
2283
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
2351
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
2284
2352
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
2285
2353
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2286
2354
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2307,6 +2375,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2307
2375
  "native-attempt-failed": "native-attempt-failed";
2308
2376
  "agent-already-started": "agent-already-started";
2309
2377
  "fork-point-unresolvable": "fork-point-unresolvable";
2378
+ "adapter-session-moved": "adapter-session-moved";
2310
2379
  }>;
2311
2380
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2312
2381
  kind: _$zod.ZodLiteral<"foreign">;
@@ -2370,9 +2439,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2370
2439
  description: _$zod.ZodOptional<_$zod.ZodString>;
2371
2440
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2372
2441
  exposureMode: _$zod.ZodEnum<{
2373
- hidden: "hidden";
2374
2442
  direct: "direct";
2375
2443
  discovery: "discovery";
2444
+ hidden: "hidden";
2376
2445
  }>;
2377
2446
  enabled: _$zod.ZodBoolean;
2378
2447
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2389,9 +2458,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2389
2458
  description: _$zod.ZodOptional<_$zod.ZodString>;
2390
2459
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2391
2460
  exposureMode: _$zod.ZodEnum<{
2392
- hidden: "hidden";
2393
2461
  direct: "direct";
2394
2462
  discovery: "discovery";
2463
+ hidden: "hidden";
2395
2464
  }>;
2396
2465
  enabled: _$zod.ZodBoolean;
2397
2466
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2450,9 +2519,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2450
2519
  description: _$zod.ZodOptional<_$zod.ZodString>;
2451
2520
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2452
2521
  exposureMode: _$zod.ZodEnum<{
2453
- hidden: "hidden";
2454
2522
  direct: "direct";
2455
2523
  discovery: "discovery";
2524
+ hidden: "hidden";
2456
2525
  }>;
2457
2526
  enabled: _$zod.ZodBoolean;
2458
2527
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2469,9 +2538,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2469
2538
  description: _$zod.ZodOptional<_$zod.ZodString>;
2470
2539
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2471
2540
  exposureMode: _$zod.ZodEnum<{
2472
- hidden: "hidden";
2473
2541
  direct: "direct";
2474
2542
  discovery: "discovery";
2543
+ hidden: "hidden";
2475
2544
  }>;
2476
2545
  enabled: _$zod.ZodBoolean;
2477
2546
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2575,6 +2644,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2575
2644
  targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
2576
2645
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2577
2646
  adapterId: _$zod.ZodString;
2647
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
2648
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
2578
2649
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
2579
2650
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
2580
2651
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2852,7 +2923,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2852
2923
  systemPrompt: "systemPrompt";
2853
2924
  fullPrefix: "fullPrefix";
2854
2925
  }>>;
2855
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
2926
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
2856
2927
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
2857
2928
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
2858
2929
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -2879,6 +2950,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2879
2950
  "native-attempt-failed": "native-attempt-failed";
2880
2951
  "agent-already-started": "agent-already-started";
2881
2952
  "fork-point-unresolvable": "fork-point-unresolvable";
2953
+ "adapter-session-moved": "adapter-session-moved";
2882
2954
  }>;
2883
2955
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
2884
2956
  kind: _$zod.ZodLiteral<"foreign">;
@@ -2942,9 +3014,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2942
3014
  description: _$zod.ZodOptional<_$zod.ZodString>;
2943
3015
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2944
3016
  exposureMode: _$zod.ZodEnum<{
2945
- hidden: "hidden";
2946
3017
  direct: "direct";
2947
3018
  discovery: "discovery";
3019
+ hidden: "hidden";
2948
3020
  }>;
2949
3021
  enabled: _$zod.ZodBoolean;
2950
3022
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -2961,9 +3033,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
2961
3033
  description: _$zod.ZodOptional<_$zod.ZodString>;
2962
3034
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
2963
3035
  exposureMode: _$zod.ZodEnum<{
2964
- hidden: "hidden";
2965
3036
  direct: "direct";
2966
3037
  discovery: "discovery";
3038
+ hidden: "hidden";
2967
3039
  }>;
2968
3040
  enabled: _$zod.ZodBoolean;
2969
3041
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3022,9 +3094,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3022
3094
  description: _$zod.ZodOptional<_$zod.ZodString>;
3023
3095
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3024
3096
  exposureMode: _$zod.ZodEnum<{
3025
- hidden: "hidden";
3026
3097
  direct: "direct";
3027
3098
  discovery: "discovery";
3099
+ hidden: "hidden";
3028
3100
  }>;
3029
3101
  enabled: _$zod.ZodBoolean;
3030
3102
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3041,9 +3113,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3041
3113
  description: _$zod.ZodOptional<_$zod.ZodString>;
3042
3114
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3043
3115
  exposureMode: _$zod.ZodEnum<{
3044
- hidden: "hidden";
3045
3116
  direct: "direct";
3046
3117
  discovery: "discovery";
3118
+ hidden: "hidden";
3047
3119
  }>;
3048
3120
  enabled: _$zod.ZodBoolean;
3049
3121
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3144,6 +3216,8 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3144
3216
  adapterSessionId: _$zod.ZodString;
3145
3217
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3146
3218
  adapterId: _$zod.ZodString;
3219
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
3220
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
3147
3221
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
3148
3222
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
3149
3223
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3421,7 +3495,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3421
3495
  systemPrompt: "systemPrompt";
3422
3496
  fullPrefix: "fullPrefix";
3423
3497
  }>>;
3424
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
3498
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
3425
3499
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
3426
3500
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
3427
3501
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -3448,6 +3522,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3448
3522
  "native-attempt-failed": "native-attempt-failed";
3449
3523
  "agent-already-started": "agent-already-started";
3450
3524
  "fork-point-unresolvable": "fork-point-unresolvable";
3525
+ "adapter-session-moved": "adapter-session-moved";
3451
3526
  }>;
3452
3527
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3453
3528
  kind: _$zod.ZodLiteral<"foreign">;
@@ -3511,9 +3586,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3511
3586
  description: _$zod.ZodOptional<_$zod.ZodString>;
3512
3587
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3513
3588
  exposureMode: _$zod.ZodEnum<{
3514
- hidden: "hidden";
3515
3589
  direct: "direct";
3516
3590
  discovery: "discovery";
3591
+ hidden: "hidden";
3517
3592
  }>;
3518
3593
  enabled: _$zod.ZodBoolean;
3519
3594
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3530,9 +3605,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3530
3605
  description: _$zod.ZodOptional<_$zod.ZodString>;
3531
3606
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3532
3607
  exposureMode: _$zod.ZodEnum<{
3533
- hidden: "hidden";
3534
3608
  direct: "direct";
3535
3609
  discovery: "discovery";
3610
+ hidden: "hidden";
3536
3611
  }>;
3537
3612
  enabled: _$zod.ZodBoolean;
3538
3613
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3591,9 +3666,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3591
3666
  description: _$zod.ZodOptional<_$zod.ZodString>;
3592
3667
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3593
3668
  exposureMode: _$zod.ZodEnum<{
3594
- hidden: "hidden";
3595
3669
  direct: "direct";
3596
3670
  discovery: "discovery";
3671
+ hidden: "hidden";
3597
3672
  }>;
3598
3673
  enabled: _$zod.ZodBoolean;
3599
3674
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3610,9 +3685,9 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3610
3685
  description: _$zod.ZodOptional<_$zod.ZodString>;
3611
3686
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
3612
3687
  exposureMode: _$zod.ZodEnum<{
3613
- hidden: "hidden";
3614
3688
  direct: "direct";
3615
3689
  discovery: "discovery";
3690
+ hidden: "hidden";
3616
3691
  }>;
3617
3692
  enabled: _$zod.ZodBoolean;
3618
3693
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -3715,12 +3790,18 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3715
3790
  success: _$zod.ZodLiteral<true>;
3716
3791
  agentId: _$zod.ZodString;
3717
3792
  adapterId: _$zod.ZodString;
3793
+ ownerInstanceId: _$zod.ZodString;
3718
3794
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3719
3795
  sessionId: _$zod.ZodString;
3720
3796
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
3797
+ settlementAckToken: _$zod.ZodOptional<_$zod.ZodString>;
3721
3798
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3722
3799
  success: _$zod.ZodLiteral<false>;
3723
3800
  message: _$zod.ZodString;
3801
+ dispatch: _$zod.ZodEnum<{
3802
+ "not-dispatched": "not-dispatched";
3803
+ "dispatch-uncertain": "dispatch-uncertain";
3804
+ }>;
3724
3805
  }, _$zod_v4_core0.$strip>], "success">;
3725
3806
  };
3726
3807
  infer: {
@@ -3834,6 +3915,7 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3834
3915
  getAgent: {
3835
3916
  request: _$zod.ZodObject<{
3836
3917
  adapterId: _$zod.ZodString;
3918
+ ownerInstanceId: _$zod.ZodString;
3837
3919
  agentId: _$zod.ZodString;
3838
3920
  }, _$zod_v4_core0.$strip>;
3839
3921
  response: _$zod.ZodObject<{
@@ -3847,22 +3929,64 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3847
3929
  stopAgent: {
3848
3930
  request: _$zod.ZodObject<{
3849
3931
  adapterId: _$zod.ZodString;
3932
+ ownerInstanceId: _$zod.ZodString;
3850
3933
  agentId: _$zod.ZodString;
3934
+ teardown: _$zod.ZodOptional<_$zod.ZodEnum<{
3935
+ "connector-only": "connector-only";
3936
+ }>>;
3851
3937
  }, _$zod_v4_core0.$strip>;
3852
3938
  response: _$zod.ZodObject<{
3853
3939
  success: _$zod.ZodBoolean;
3940
+ evidence: _$zod.ZodEnum<{
3941
+ unknown: "unknown";
3942
+ exited: "exited";
3943
+ closed: "closed";
3944
+ released: "released";
3945
+ detached: "detached";
3946
+ }>;
3947
+ detail: _$zod.ZodOptional<_$zod.ZodString>;
3854
3948
  }, _$zod_v4_core0.$strip>;
3855
3949
  };
3856
3950
  rehydrateAgent: {
3857
3951
  request: _$zod.ZodObject<{
3858
3952
  adapterId: _$zod.ZodString;
3953
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
3859
3954
  agentId: _$zod.ZodString;
3860
3955
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
3861
3956
  model: _$zod.ZodOptional<_$zod.ZodString>;
3862
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3863
3957
  resumeAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3958
+ callerOwnsAgentRow: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
3959
+ }, _$zod_v4_core0.$strip>;
3960
+ response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3961
+ success: _$zod.ZodLiteral<true>;
3962
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
3963
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
3964
+ settlementAckToken: _$zod.ZodOptional<_$zod.ZodString>;
3965
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3966
+ success: _$zod.ZodLiteral<false>;
3967
+ message: _$zod.ZodString;
3968
+ dispatch: _$zod.ZodLiteral<"not-dispatched">;
3969
+ }, _$zod_v4_core0.$strip>], "success">;
3970
+ };
3971
+ acknowledgeCallerSettlement: {
3972
+ request: _$zod.ZodObject<{
3973
+ adapterId: _$zod.ZodString;
3974
+ ownerInstanceId: _$zod.ZodString;
3975
+ agentId: _$zod.ZodString;
3976
+ settlementAckToken: _$zod.ZodString;
3977
+ recovery: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
3864
3978
  }, _$zod_v4_core0.$strip>;
3865
- response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
3979
+ response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
3980
+ acknowledged: _$zod.ZodLiteral<true>;
3981
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
3982
+ acknowledged: _$zod.ZodLiteral<false>;
3983
+ reason: _$zod.ZodEnum<{
3984
+ "not-hosted": "not-hosted";
3985
+ "stale-token": "stale-token";
3986
+ "teardown-in-flight": "teardown-in-flight";
3987
+ "status-refused": "status-refused";
3988
+ }>;
3989
+ }, _$zod_v4_core0.$strip>], "acknowledged">;
3866
3990
  };
3867
3991
  getConfigSchema: {
3868
3992
  request: _$zod.ZodObject<{
@@ -3959,9 +4083,17 @@ declare const AdapterSubjects$1: _$_makaio_core0.BusSubjects<_$_makaio_core0.Fla
3959
4083
  initialized: _$zod.ZodObject<{
3960
4084
  adapterId: _$zod.ZodString;
3961
4085
  adapterName: _$zod.ZodString;
4086
+ machineId: _$zod.ZodString;
4087
+ ownerInstanceId: _$zod.ZodString;
3962
4088
  capabilities: _$zod.ZodArray<_$zod.ZodString>;
3963
4089
  nativeTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
3964
4090
  }, _$zod_v4_core0.$strip>;
4091
+ deinitialized: _$zod.ZodObject<{
4092
+ adapterId: _$zod.ZodString;
4093
+ adapterName: _$zod.ZodString;
4094
+ machineId: _$zod.ZodString;
4095
+ ownerInstanceId: _$zod.ZodString;
4096
+ }, _$zod_v4_core0.$strip>;
3965
4097
  quota: _$zod.ZodObject<{
3966
4098
  adapterId: _$zod.ZodString;
3967
4099
  adapterName: _$zod.ZodString;
@@ -4011,6 +4143,8 @@ declare const AdapterSchemas: {
4011
4143
  startAgent: {
4012
4144
  request: _$zod.ZodUnion<readonly [_$zod.ZodObject<{
4013
4145
  adapterId: _$zod.ZodString;
4146
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
4147
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
4014
4148
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
4015
4149
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
4016
4150
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4288,7 +4422,7 @@ declare const AdapterSchemas: {
4288
4422
  systemPrompt: "systemPrompt";
4289
4423
  fullPrefix: "fullPrefix";
4290
4424
  }>>;
4291
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
4425
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
4292
4426
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
4293
4427
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
4294
4428
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4315,6 +4449,7 @@ declare const AdapterSchemas: {
4315
4449
  "native-attempt-failed": "native-attempt-failed";
4316
4450
  "agent-already-started": "agent-already-started";
4317
4451
  "fork-point-unresolvable": "fork-point-unresolvable";
4452
+ "adapter-session-moved": "adapter-session-moved";
4318
4453
  }>;
4319
4454
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4320
4455
  kind: _$zod.ZodLiteral<"foreign">;
@@ -4378,9 +4513,9 @@ declare const AdapterSchemas: {
4378
4513
  description: _$zod.ZodOptional<_$zod.ZodString>;
4379
4514
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4380
4515
  exposureMode: _$zod.ZodEnum<{
4381
- hidden: "hidden";
4382
4516
  direct: "direct";
4383
4517
  discovery: "discovery";
4518
+ hidden: "hidden";
4384
4519
  }>;
4385
4520
  enabled: _$zod.ZodBoolean;
4386
4521
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4397,9 +4532,9 @@ declare const AdapterSchemas: {
4397
4532
  description: _$zod.ZodOptional<_$zod.ZodString>;
4398
4533
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4399
4534
  exposureMode: _$zod.ZodEnum<{
4400
- hidden: "hidden";
4401
4535
  direct: "direct";
4402
4536
  discovery: "discovery";
4537
+ hidden: "hidden";
4403
4538
  }>;
4404
4539
  enabled: _$zod.ZodBoolean;
4405
4540
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4458,9 +4593,9 @@ declare const AdapterSchemas: {
4458
4593
  description: _$zod.ZodOptional<_$zod.ZodString>;
4459
4594
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4460
4595
  exposureMode: _$zod.ZodEnum<{
4461
- hidden: "hidden";
4462
4596
  direct: "direct";
4463
4597
  discovery: "discovery";
4598
+ hidden: "hidden";
4464
4599
  }>;
4465
4600
  enabled: _$zod.ZodBoolean;
4466
4601
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4477,9 +4612,9 @@ declare const AdapterSchemas: {
4477
4612
  description: _$zod.ZodOptional<_$zod.ZodString>;
4478
4613
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4479
4614
  exposureMode: _$zod.ZodEnum<{
4480
- hidden: "hidden";
4481
4615
  direct: "direct";
4482
4616
  discovery: "discovery";
4617
+ hidden: "hidden";
4483
4618
  }>;
4484
4619
  enabled: _$zod.ZodBoolean;
4485
4620
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4583,6 +4718,8 @@ declare const AdapterSchemas: {
4583
4718
  targetWorkingDirectory: _$zod.ZodOptional<_$zod.ZodString>;
4584
4719
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4585
4720
  adapterId: _$zod.ZodString;
4721
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
4722
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
4586
4723
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
4587
4724
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
4588
4725
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4860,7 +4997,7 @@ declare const AdapterSchemas: {
4860
4997
  systemPrompt: "systemPrompt";
4861
4998
  fullPrefix: "fullPrefix";
4862
4999
  }>>;
4863
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
5000
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
4864
5001
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
4865
5002
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
4866
5003
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -4887,6 +5024,7 @@ declare const AdapterSchemas: {
4887
5024
  "native-attempt-failed": "native-attempt-failed";
4888
5025
  "agent-already-started": "agent-already-started";
4889
5026
  "fork-point-unresolvable": "fork-point-unresolvable";
5027
+ "adapter-session-moved": "adapter-session-moved";
4890
5028
  }>;
4891
5029
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
4892
5030
  kind: _$zod.ZodLiteral<"foreign">;
@@ -4950,9 +5088,9 @@ declare const AdapterSchemas: {
4950
5088
  description: _$zod.ZodOptional<_$zod.ZodString>;
4951
5089
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4952
5090
  exposureMode: _$zod.ZodEnum<{
4953
- hidden: "hidden";
4954
5091
  direct: "direct";
4955
5092
  discovery: "discovery";
5093
+ hidden: "hidden";
4956
5094
  }>;
4957
5095
  enabled: _$zod.ZodBoolean;
4958
5096
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -4969,9 +5107,9 @@ declare const AdapterSchemas: {
4969
5107
  description: _$zod.ZodOptional<_$zod.ZodString>;
4970
5108
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
4971
5109
  exposureMode: _$zod.ZodEnum<{
4972
- hidden: "hidden";
4973
5110
  direct: "direct";
4974
5111
  discovery: "discovery";
5112
+ hidden: "hidden";
4975
5113
  }>;
4976
5114
  enabled: _$zod.ZodBoolean;
4977
5115
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5030,9 +5168,9 @@ declare const AdapterSchemas: {
5030
5168
  description: _$zod.ZodOptional<_$zod.ZodString>;
5031
5169
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5032
5170
  exposureMode: _$zod.ZodEnum<{
5033
- hidden: "hidden";
5034
5171
  direct: "direct";
5035
5172
  discovery: "discovery";
5173
+ hidden: "hidden";
5036
5174
  }>;
5037
5175
  enabled: _$zod.ZodBoolean;
5038
5176
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5049,9 +5187,9 @@ declare const AdapterSchemas: {
5049
5187
  description: _$zod.ZodOptional<_$zod.ZodString>;
5050
5188
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5051
5189
  exposureMode: _$zod.ZodEnum<{
5052
- hidden: "hidden";
5053
5190
  direct: "direct";
5054
5191
  discovery: "discovery";
5192
+ hidden: "hidden";
5055
5193
  }>;
5056
5194
  enabled: _$zod.ZodBoolean;
5057
5195
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5152,6 +5290,8 @@ declare const AdapterSchemas: {
5152
5290
  adapterSessionId: _$zod.ZodString;
5153
5291
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
5154
5292
  adapterId: _$zod.ZodString;
5293
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
5294
+ agentId: _$zod.ZodOptional<_$zod.ZodString>;
5155
5295
  harnessId: _$zod.ZodOptional<_$zod.ZodString>;
5156
5296
  clientId: _$zod.ZodOptional<_$zod.ZodString>;
5157
5297
  clientProfileName: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5429,7 +5569,7 @@ declare const AdapterSchemas: {
5429
5569
  systemPrompt: "systemPrompt";
5430
5570
  fullPrefix: "fullPrefix";
5431
5571
  }>>;
5432
- turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, unknown, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
5572
+ turnContext: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, _$zod_v4_core0.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
5433
5573
  requestCorrelation: _$zod.ZodOptional<_$zod.ZodObject<{
5434
5574
  sessionId: _$zod.ZodOptional<_$zod.ZodString>;
5435
5575
  turnId: _$zod.ZodOptional<_$zod.ZodString>;
@@ -5456,6 +5596,7 @@ declare const AdapterSchemas: {
5456
5596
  "native-attempt-failed": "native-attempt-failed";
5457
5597
  "agent-already-started": "agent-already-started";
5458
5598
  "fork-point-unresolvable": "fork-point-unresolvable";
5599
+ "adapter-session-moved": "adapter-session-moved";
5459
5600
  }>;
5460
5601
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
5461
5602
  kind: _$zod.ZodLiteral<"foreign">;
@@ -5519,9 +5660,9 @@ declare const AdapterSchemas: {
5519
5660
  description: _$zod.ZodOptional<_$zod.ZodString>;
5520
5661
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5521
5662
  exposureMode: _$zod.ZodEnum<{
5522
- hidden: "hidden";
5523
5663
  direct: "direct";
5524
5664
  discovery: "discovery";
5665
+ hidden: "hidden";
5525
5666
  }>;
5526
5667
  enabled: _$zod.ZodBoolean;
5527
5668
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5538,9 +5679,9 @@ declare const AdapterSchemas: {
5538
5679
  description: _$zod.ZodOptional<_$zod.ZodString>;
5539
5680
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5540
5681
  exposureMode: _$zod.ZodEnum<{
5541
- hidden: "hidden";
5542
5682
  direct: "direct";
5543
5683
  discovery: "discovery";
5684
+ hidden: "hidden";
5544
5685
  }>;
5545
5686
  enabled: _$zod.ZodBoolean;
5546
5687
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5599,9 +5740,9 @@ declare const AdapterSchemas: {
5599
5740
  description: _$zod.ZodOptional<_$zod.ZodString>;
5600
5741
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5601
5742
  exposureMode: _$zod.ZodEnum<{
5602
- hidden: "hidden";
5603
5743
  direct: "direct";
5604
5744
  discovery: "discovery";
5745
+ hidden: "hidden";
5605
5746
  }>;
5606
5747
  enabled: _$zod.ZodBoolean;
5607
5748
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5618,9 +5759,9 @@ declare const AdapterSchemas: {
5618
5759
  description: _$zod.ZodOptional<_$zod.ZodString>;
5619
5760
  inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
5620
5761
  exposureMode: _$zod.ZodEnum<{
5621
- hidden: "hidden";
5622
5762
  direct: "direct";
5623
5763
  discovery: "discovery";
5764
+ hidden: "hidden";
5624
5765
  }>;
5625
5766
  enabled: _$zod.ZodBoolean;
5626
5767
  enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
@@ -5723,12 +5864,18 @@ declare const AdapterSchemas: {
5723
5864
  success: _$zod.ZodLiteral<true>;
5724
5865
  agentId: _$zod.ZodString;
5725
5866
  adapterId: _$zod.ZodString;
5867
+ ownerInstanceId: _$zod.ZodString;
5726
5868
  adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
5727
5869
  sessionId: _$zod.ZodString;
5728
5870
  messageId: _$zod.ZodOptional<_$zod.ZodString>;
5871
+ settlementAckToken: _$zod.ZodOptional<_$zod.ZodString>;
5729
5872
  }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
5730
5873
  success: _$zod.ZodLiteral<false>;
5731
5874
  message: _$zod.ZodString;
5875
+ dispatch: _$zod.ZodEnum<{
5876
+ "not-dispatched": "not-dispatched";
5877
+ "dispatch-uncertain": "dispatch-uncertain";
5878
+ }>;
5732
5879
  }, _$zod_v4_core0.$strip>], "success">;
5733
5880
  };
5734
5881
  infer: {
@@ -5842,6 +5989,7 @@ declare const AdapterSchemas: {
5842
5989
  getAgent: {
5843
5990
  request: _$zod.ZodObject<{
5844
5991
  adapterId: _$zod.ZodString;
5992
+ ownerInstanceId: _$zod.ZodString;
5845
5993
  agentId: _$zod.ZodString;
5846
5994
  }, _$zod_v4_core0.$strip>;
5847
5995
  response: _$zod.ZodObject<{
@@ -5855,22 +6003,64 @@ declare const AdapterSchemas: {
5855
6003
  stopAgent: {
5856
6004
  request: _$zod.ZodObject<{
5857
6005
  adapterId: _$zod.ZodString;
6006
+ ownerInstanceId: _$zod.ZodString;
5858
6007
  agentId: _$zod.ZodString;
6008
+ teardown: _$zod.ZodOptional<_$zod.ZodEnum<{
6009
+ "connector-only": "connector-only";
6010
+ }>>;
5859
6011
  }, _$zod_v4_core0.$strip>;
5860
6012
  response: _$zod.ZodObject<{
5861
6013
  success: _$zod.ZodBoolean;
6014
+ evidence: _$zod.ZodEnum<{
6015
+ unknown: "unknown";
6016
+ exited: "exited";
6017
+ closed: "closed";
6018
+ released: "released";
6019
+ detached: "detached";
6020
+ }>;
6021
+ detail: _$zod.ZodOptional<_$zod.ZodString>;
5862
6022
  }, _$zod_v4_core0.$strip>;
5863
6023
  };
5864
6024
  rehydrateAgent: {
5865
6025
  request: _$zod.ZodObject<{
5866
6026
  adapterId: _$zod.ZodString;
6027
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
5867
6028
  agentId: _$zod.ZodString;
5868
6029
  cwd: _$zod.ZodOptional<_$zod.ZodString>;
5869
6030
  model: _$zod.ZodOptional<_$zod.ZodString>;
5870
- adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
5871
6031
  resumeAdapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6032
+ callerOwnsAgentRow: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
6033
+ }, _$zod_v4_core0.$strip>;
6034
+ response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6035
+ success: _$zod.ZodLiteral<true>;
6036
+ ownerInstanceId: _$zod.ZodOptional<_$zod.ZodString>;
6037
+ adapterSessionId: _$zod.ZodOptional<_$zod.ZodString>;
6038
+ settlementAckToken: _$zod.ZodOptional<_$zod.ZodString>;
6039
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6040
+ success: _$zod.ZodLiteral<false>;
6041
+ message: _$zod.ZodString;
6042
+ dispatch: _$zod.ZodLiteral<"not-dispatched">;
6043
+ }, _$zod_v4_core0.$strip>], "success">;
6044
+ };
6045
+ acknowledgeCallerSettlement: {
6046
+ request: _$zod.ZodObject<{
6047
+ adapterId: _$zod.ZodString;
6048
+ ownerInstanceId: _$zod.ZodString;
6049
+ agentId: _$zod.ZodString;
6050
+ settlementAckToken: _$zod.ZodString;
6051
+ recovery: _$zod.ZodOptional<_$zod.ZodLiteral<true>>;
5872
6052
  }, _$zod_v4_core0.$strip>;
5873
- response: _$zod.ZodObject<{}, _$zod_v4_core0.$strip>;
6053
+ response: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
6054
+ acknowledged: _$zod.ZodLiteral<true>;
6055
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
6056
+ acknowledged: _$zod.ZodLiteral<false>;
6057
+ reason: _$zod.ZodEnum<{
6058
+ "not-hosted": "not-hosted";
6059
+ "stale-token": "stale-token";
6060
+ "teardown-in-flight": "teardown-in-flight";
6061
+ "status-refused": "status-refused";
6062
+ }>;
6063
+ }, _$zod_v4_core0.$strip>], "acknowledged">;
5874
6064
  };
5875
6065
  getConfigSchema: {
5876
6066
  request: _$zod.ZodObject<{
@@ -5967,9 +6157,17 @@ declare const AdapterSchemas: {
5967
6157
  initialized: _$zod.ZodObject<{
5968
6158
  adapterId: _$zod.ZodString;
5969
6159
  adapterName: _$zod.ZodString;
6160
+ machineId: _$zod.ZodString;
6161
+ ownerInstanceId: _$zod.ZodString;
5970
6162
  capabilities: _$zod.ZodArray<_$zod.ZodString>;
5971
6163
  nativeTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
5972
6164
  }, _$zod_v4_core0.$strip>;
6165
+ deinitialized: _$zod.ZodObject<{
6166
+ adapterId: _$zod.ZodString;
6167
+ adapterName: _$zod.ZodString;
6168
+ machineId: _$zod.ZodString;
6169
+ ownerInstanceId: _$zod.ZodString;
6170
+ }, _$zod_v4_core0.$strip>;
5973
6171
  quota: _$zod.ZodObject<{
5974
6172
  adapterId: _$zod.ZodString;
5975
6173
  adapterName: _$zod.ZodString;
@@ -6015,6 +6213,29 @@ declare const AdapterRuntimeOptionsSchema: z.ZodObject<{
6015
6213
  type AdapterRuntimeOptions$1 = z.infer<typeof AdapterRuntimeOptionsSchema>;
6016
6214
  //#endregion
6017
6215
  //#region core/contracts/src/adapter/schemas/start-agent.d.ts
6216
+ /**
6217
+ * How far a failed start got, as evidence for the caller's cleanup decision.
6218
+ *
6219
+ * A caller that reserved provider-session ownership before dispatching has to
6220
+ * decide between two incompatible cleanups: give the reservation back, or retire
6221
+ * it as possibly-live debris. Only the adapter knows which, and a bare error
6222
+ * message cannot carry it.
6223
+ *
6224
+ * Exactly two members, because a start has exactly two knowable outcomes. A
6225
+ * thrown start carries no disposition at all and callers must treat it as
6226
+ * `'dispatch-uncertain'`: the throw may come from anywhere in provider-context
6227
+ * activation, agent creation or the connector start.
6228
+ *
6229
+ * `adapter.rehydrateAgent` is a second producer of this vocabulary. Its failure
6230
+ * response narrows the field to `'not-dispatched'`, because a rehydrate that
6231
+ * may have reached the provider always leaves by throwing.
6232
+ */
6233
+ declare const AdapterStartDispositionSchema: z.ZodEnum<{
6234
+ "not-dispatched": "not-dispatched";
6235
+ "dispatch-uncertain": "dispatch-uncertain";
6236
+ }>;
6237
+ /** {@inheritDoc AdapterStartDispositionSchema} */
6238
+ type AdapterStartDisposition = z.infer<typeof AdapterStartDispositionSchema>;
6018
6239
  /**
6019
6240
  * Start a new agent with full lifecycle control.
6020
6241
  *
@@ -6034,6 +6255,8 @@ type AdapterRuntimeOptions$1 = z.infer<typeof AdapterRuntimeOptionsSchema>;
6034
6255
  declare const StartAgentSchema: {
6035
6256
  request: z.ZodUnion<readonly [z.ZodObject<{
6036
6257
  adapterId: z.ZodString;
6258
+ ownerInstanceId: z.ZodOptional<z.ZodString>;
6259
+ agentId: z.ZodOptional<z.ZodString>;
6037
6260
  harnessId: z.ZodOptional<z.ZodString>;
6038
6261
  clientId: z.ZodOptional<z.ZodString>;
6039
6262
  clientProfileName: z.ZodOptional<z.ZodString>;
@@ -6311,7 +6534,7 @@ declare const StartAgentSchema: {
6311
6534
  systemPrompt: "systemPrompt";
6312
6535
  fullPrefix: "fullPrefix";
6313
6536
  }>>;
6314
- turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
6537
+ turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
6315
6538
  requestCorrelation: z.ZodOptional<z.ZodObject<{
6316
6539
  sessionId: z.ZodOptional<z.ZodString>;
6317
6540
  turnId: z.ZodOptional<z.ZodString>;
@@ -6338,6 +6561,7 @@ declare const StartAgentSchema: {
6338
6561
  "native-attempt-failed": "native-attempt-failed";
6339
6562
  "agent-already-started": "agent-already-started";
6340
6563
  "fork-point-unresolvable": "fork-point-unresolvable";
6564
+ "adapter-session-moved": "adapter-session-moved";
6341
6565
  }>;
6342
6566
  }, z.core.$strip>, z.ZodObject<{
6343
6567
  kind: z.ZodLiteral<"foreign">;
@@ -6401,9 +6625,9 @@ declare const StartAgentSchema: {
6401
6625
  description: z.ZodOptional<z.ZodString>;
6402
6626
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6403
6627
  exposureMode: z.ZodEnum<{
6404
- hidden: "hidden";
6405
6628
  direct: "direct";
6406
6629
  discovery: "discovery";
6630
+ hidden: "hidden";
6407
6631
  }>;
6408
6632
  enabled: z.ZodBoolean;
6409
6633
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6420,9 +6644,9 @@ declare const StartAgentSchema: {
6420
6644
  description: z.ZodOptional<z.ZodString>;
6421
6645
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6422
6646
  exposureMode: z.ZodEnum<{
6423
- hidden: "hidden";
6424
6647
  direct: "direct";
6425
6648
  discovery: "discovery";
6649
+ hidden: "hidden";
6426
6650
  }>;
6427
6651
  enabled: z.ZodBoolean;
6428
6652
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6481,9 +6705,9 @@ declare const StartAgentSchema: {
6481
6705
  description: z.ZodOptional<z.ZodString>;
6482
6706
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6483
6707
  exposureMode: z.ZodEnum<{
6484
- hidden: "hidden";
6485
6708
  direct: "direct";
6486
6709
  discovery: "discovery";
6710
+ hidden: "hidden";
6487
6711
  }>;
6488
6712
  enabled: z.ZodBoolean;
6489
6713
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6500,9 +6724,9 @@ declare const StartAgentSchema: {
6500
6724
  description: z.ZodOptional<z.ZodString>;
6501
6725
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6502
6726
  exposureMode: z.ZodEnum<{
6503
- hidden: "hidden";
6504
6727
  direct: "direct";
6505
6728
  discovery: "discovery";
6729
+ hidden: "hidden";
6506
6730
  }>;
6507
6731
  enabled: z.ZodBoolean;
6508
6732
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6606,6 +6830,8 @@ declare const StartAgentSchema: {
6606
6830
  targetWorkingDirectory: z.ZodOptional<z.ZodString>;
6607
6831
  }, z.core.$strip>, z.ZodObject<{
6608
6832
  adapterId: z.ZodString;
6833
+ ownerInstanceId: z.ZodOptional<z.ZodString>;
6834
+ agentId: z.ZodOptional<z.ZodString>;
6609
6835
  harnessId: z.ZodOptional<z.ZodString>;
6610
6836
  clientId: z.ZodOptional<z.ZodString>;
6611
6837
  clientProfileName: z.ZodOptional<z.ZodString>;
@@ -6883,7 +7109,7 @@ declare const StartAgentSchema: {
6883
7109
  systemPrompt: "systemPrompt";
6884
7110
  fullPrefix: "fullPrefix";
6885
7111
  }>>;
6886
- turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
7112
+ turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
6887
7113
  requestCorrelation: z.ZodOptional<z.ZodObject<{
6888
7114
  sessionId: z.ZodOptional<z.ZodString>;
6889
7115
  turnId: z.ZodOptional<z.ZodString>;
@@ -6910,6 +7136,7 @@ declare const StartAgentSchema: {
6910
7136
  "native-attempt-failed": "native-attempt-failed";
6911
7137
  "agent-already-started": "agent-already-started";
6912
7138
  "fork-point-unresolvable": "fork-point-unresolvable";
7139
+ "adapter-session-moved": "adapter-session-moved";
6913
7140
  }>;
6914
7141
  }, z.core.$strip>, z.ZodObject<{
6915
7142
  kind: z.ZodLiteral<"foreign">;
@@ -6973,9 +7200,9 @@ declare const StartAgentSchema: {
6973
7200
  description: z.ZodOptional<z.ZodString>;
6974
7201
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6975
7202
  exposureMode: z.ZodEnum<{
6976
- hidden: "hidden";
6977
7203
  direct: "direct";
6978
7204
  discovery: "discovery";
7205
+ hidden: "hidden";
6979
7206
  }>;
6980
7207
  enabled: z.ZodBoolean;
6981
7208
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -6992,9 +7219,9 @@ declare const StartAgentSchema: {
6992
7219
  description: z.ZodOptional<z.ZodString>;
6993
7220
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6994
7221
  exposureMode: z.ZodEnum<{
6995
- hidden: "hidden";
6996
7222
  direct: "direct";
6997
7223
  discovery: "discovery";
7224
+ hidden: "hidden";
6998
7225
  }>;
6999
7226
  enabled: z.ZodBoolean;
7000
7227
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7053,9 +7280,9 @@ declare const StartAgentSchema: {
7053
7280
  description: z.ZodOptional<z.ZodString>;
7054
7281
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7055
7282
  exposureMode: z.ZodEnum<{
7056
- hidden: "hidden";
7057
7283
  direct: "direct";
7058
7284
  discovery: "discovery";
7285
+ hidden: "hidden";
7059
7286
  }>;
7060
7287
  enabled: z.ZodBoolean;
7061
7288
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7072,9 +7299,9 @@ declare const StartAgentSchema: {
7072
7299
  description: z.ZodOptional<z.ZodString>;
7073
7300
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7074
7301
  exposureMode: z.ZodEnum<{
7075
- hidden: "hidden";
7076
7302
  direct: "direct";
7077
7303
  discovery: "discovery";
7304
+ hidden: "hidden";
7078
7305
  }>;
7079
7306
  enabled: z.ZodBoolean;
7080
7307
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7175,6 +7402,8 @@ declare const StartAgentSchema: {
7175
7402
  adapterSessionId: z.ZodString;
7176
7403
  }, z.core.$strip>, z.ZodObject<{
7177
7404
  adapterId: z.ZodString;
7405
+ ownerInstanceId: z.ZodOptional<z.ZodString>;
7406
+ agentId: z.ZodOptional<z.ZodString>;
7178
7407
  harnessId: z.ZodOptional<z.ZodString>;
7179
7408
  clientId: z.ZodOptional<z.ZodString>;
7180
7409
  clientProfileName: z.ZodOptional<z.ZodString>;
@@ -7452,7 +7681,7 @@ declare const StartAgentSchema: {
7452
7681
  systemPrompt: "systemPrompt";
7453
7682
  fullPrefix: "fullPrefix";
7454
7683
  }>>;
7455
- turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, unknown, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, unknown>>>>;
7684
+ turnContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue, z.core.$ZodTypeInternals<_$_makaio_contracts0.JsonValue, _$_makaio_contracts0.JsonValue>>>>;
7456
7685
  requestCorrelation: z.ZodOptional<z.ZodObject<{
7457
7686
  sessionId: z.ZodOptional<z.ZodString>;
7458
7687
  turnId: z.ZodOptional<z.ZodString>;
@@ -7479,6 +7708,7 @@ declare const StartAgentSchema: {
7479
7708
  "native-attempt-failed": "native-attempt-failed";
7480
7709
  "agent-already-started": "agent-already-started";
7481
7710
  "fork-point-unresolvable": "fork-point-unresolvable";
7711
+ "adapter-session-moved": "adapter-session-moved";
7482
7712
  }>;
7483
7713
  }, z.core.$strip>, z.ZodObject<{
7484
7714
  kind: z.ZodLiteral<"foreign">;
@@ -7542,9 +7772,9 @@ declare const StartAgentSchema: {
7542
7772
  description: z.ZodOptional<z.ZodString>;
7543
7773
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7544
7774
  exposureMode: z.ZodEnum<{
7545
- hidden: "hidden";
7546
7775
  direct: "direct";
7547
7776
  discovery: "discovery";
7777
+ hidden: "hidden";
7548
7778
  }>;
7549
7779
  enabled: z.ZodBoolean;
7550
7780
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7561,9 +7791,9 @@ declare const StartAgentSchema: {
7561
7791
  description: z.ZodOptional<z.ZodString>;
7562
7792
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7563
7793
  exposureMode: z.ZodEnum<{
7564
- hidden: "hidden";
7565
7794
  direct: "direct";
7566
7795
  discovery: "discovery";
7796
+ hidden: "hidden";
7567
7797
  }>;
7568
7798
  enabled: z.ZodBoolean;
7569
7799
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7622,9 +7852,9 @@ declare const StartAgentSchema: {
7622
7852
  description: z.ZodOptional<z.ZodString>;
7623
7853
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7624
7854
  exposureMode: z.ZodEnum<{
7625
- hidden: "hidden";
7626
7855
  direct: "direct";
7627
7856
  discovery: "discovery";
7857
+ hidden: "hidden";
7628
7858
  }>;
7629
7859
  enabled: z.ZodBoolean;
7630
7860
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7641,9 +7871,9 @@ declare const StartAgentSchema: {
7641
7871
  description: z.ZodOptional<z.ZodString>;
7642
7872
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7643
7873
  exposureMode: z.ZodEnum<{
7644
- hidden: "hidden";
7645
7874
  direct: "direct";
7646
7875
  discovery: "discovery";
7876
+ hidden: "hidden";
7647
7877
  }>;
7648
7878
  enabled: z.ZodBoolean;
7649
7879
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7746,16 +7976,22 @@ declare const StartAgentSchema: {
7746
7976
  success: z.ZodLiteral<true>;
7747
7977
  agentId: z.ZodString;
7748
7978
  adapterId: z.ZodString;
7979
+ ownerInstanceId: z.ZodString;
7749
7980
  adapterSessionId: z.ZodOptional<z.ZodString>;
7750
7981
  sessionId: z.ZodString;
7751
7982
  messageId: z.ZodOptional<z.ZodString>;
7983
+ settlementAckToken: z.ZodOptional<z.ZodString>;
7752
7984
  }, z.core.$strip>, z.ZodObject<{
7753
7985
  success: z.ZodLiteral<false>;
7754
7986
  message: z.ZodString;
7987
+ dispatch: z.ZodEnum<{
7988
+ "not-dispatched": "not-dispatched";
7989
+ "dispatch-uncertain": "dispatch-uncertain";
7990
+ }>;
7755
7991
  }, z.core.$strip>], "success">;
7756
7992
  };
7757
- type StartAgentRequest = z.infer<typeof StartAgentSchema.request>;
7758
- type StartAgentResponse = z.infer<typeof StartAgentSchema.response>;
7993
+ type StartAgentRequest$1 = z.infer<typeof StartAgentSchema.request>;
7994
+ type StartAgentResponse$1 = z.infer<typeof StartAgentSchema.response>;
7759
7995
  //#endregion
7760
7996
  //#region core/contracts/src/adapter/schemas/rehydrate-agent.d.ts
7761
7997
  /**
@@ -7772,30 +8008,188 @@ type StartAgentResponse = z.infer<typeof StartAgentSchema.response>;
7772
8008
  * 2. Create a new connector with optional config overrides (cwd, model)
7773
8009
  * 3. Wire the new connector to the existing agent instance
7774
8010
  *
7775
- * Success is implicit. Errors are thrown if:
7776
- * - Agent not found
7777
- * - Adapter not found
7778
- * - Connector swap fails
8011
+ * The response is a disposition union, mirroring `adapter.startAgent`. A refusal
8012
+ * the adapter takes *before* anything reaches the provider — a disposed agent,
8013
+ * or a provider session already claimed by another in-flight operation — is
8014
+ * modelled as `{ success: false, dispatch: 'not-dispatched' }` so a caller that
8015
+ * reserved provider-session ownership can give the reservation back cleanly
8016
+ * instead of retiring it as possibly-live debris. Every other failure still
8017
+ * throws, and a throw is `'dispatch-uncertain'` by construction: it can come
8018
+ * from anywhere in provider-context activation, agent creation or the connector
8019
+ * swap.
7779
8020
  * @param adapterId - Target adapter instance ID
7780
8021
  * @param agentId - Agent to rehydrate
7781
8022
  * @param cwd - Optional working directory override for new connector
7782
8023
  * @param model - Optional model override for new connector
7783
- * @param adapterSessionId - Optional persisted native session ID for resume-capable connectors
8024
+ * @param resumeAdapterSessionId - Optional provider session to natively resume
8025
+ * @param callerOwnsAgentRow - Set when the caller owns the agent row's status transitions
7784
8026
  */
7785
8027
  declare const RehydrateAgentSchema: {
7786
8028
  request: z.ZodObject<{
7787
8029
  adapterId: z.ZodString;
8030
+ ownerInstanceId: z.ZodOptional<z.ZodString>;
7788
8031
  agentId: z.ZodString;
7789
8032
  cwd: z.ZodOptional<z.ZodString>;
7790
8033
  model: z.ZodOptional<z.ZodString>;
7791
- adapterSessionId: z.ZodOptional<z.ZodString>;
7792
8034
  resumeAdapterSessionId: z.ZodOptional<z.ZodString>;
7793
- }, z.core.$strip>; /** Empty response - success is implicit, errors throw */
7794
- response: z.ZodObject<{}, z.core.$strip>;
8035
+ callerOwnsAgentRow: z.ZodOptional<z.ZodLiteral<true>>;
8036
+ }, z.core.$strip>;
8037
+ response: z.ZodDiscriminatedUnion<[z.ZodObject<{
8038
+ success: z.ZodLiteral<true>;
8039
+ ownerInstanceId: z.ZodOptional<z.ZodString>;
8040
+ adapterSessionId: z.ZodOptional<z.ZodString>;
8041
+ settlementAckToken: z.ZodOptional<z.ZodString>;
8042
+ }, z.core.$strip>, z.ZodObject<{
8043
+ success: z.ZodLiteral<false>;
8044
+ message: z.ZodString;
8045
+ dispatch: z.ZodLiteral<"not-dispatched">;
8046
+ }, z.core.$strip>], "success">;
7795
8047
  };
7796
8048
  type RehydrateAgentRequest = z.infer<typeof RehydrateAgentSchema.request>;
7797
8049
  type RehydrateAgentResponse = z.infer<typeof RehydrateAgentSchema.response>;
7798
8050
  //#endregion
8051
+ //#region core/contracts/src/adapter/schemas/acknowledge-caller-settlement.d.ts
8052
+ /** Why an adapter refused a caller-owned settlement acknowledgement. */
8053
+ declare const CallerSettlementAckRefusalSchema: z.ZodEnum<{
8054
+ "not-hosted": "not-hosted";
8055
+ "stale-token": "stale-token";
8056
+ "teardown-in-flight": "teardown-in-flight";
8057
+ "status-refused": "status-refused";
8058
+ }>;
8059
+ /** {@inheritDoc CallerSettlementAckRefusalSchema} */
8060
+ type CallerSettlementAckRefusal = z.infer<typeof CallerSettlementAckRefusalSchema>;
8061
+ /**
8062
+ * Acknowledge that a caller-owned start or rehydrate durably settled ownership.
8063
+ *
8064
+ * The opaque token binds the acknowledgement to the exact hosted generation
8065
+ * returned by `adapter.startAgent` or `adapter.rehydrateAgent`. The adapter
8066
+ * opens provider-key publication and accepts responsibility for later terminal
8067
+ * row writes only after this RPC succeeds.
8068
+ */
8069
+ declare const AcknowledgeCallerSettlementSchema: {
8070
+ request: z.ZodObject<{
8071
+ adapterId: z.ZodString;
8072
+ ownerInstanceId: z.ZodString;
8073
+ agentId: z.ZodString;
8074
+ settlementAckToken: z.ZodString;
8075
+ recovery: z.ZodOptional<z.ZodLiteral<true>>;
8076
+ }, z.core.$strip>;
8077
+ response: z.ZodDiscriminatedUnion<[z.ZodObject<{
8078
+ acknowledged: z.ZodLiteral<true>;
8079
+ }, z.core.$strip>, z.ZodObject<{
8080
+ acknowledged: z.ZodLiteral<false>;
8081
+ reason: z.ZodEnum<{
8082
+ "not-hosted": "not-hosted";
8083
+ "stale-token": "stale-token";
8084
+ "teardown-in-flight": "teardown-in-flight";
8085
+ "status-refused": "status-refused";
8086
+ }>;
8087
+ }, z.core.$strip>], "acknowledged">;
8088
+ };
8089
+ type AcknowledgeCallerSettlementRequest = z.infer<typeof AcknowledgeCallerSettlementSchema.request>;
8090
+ type AcknowledgeCallerSettlementResponse = z.infer<typeof AcknowledgeCallerSettlementSchema.response>;
8091
+ //#endregion
8092
+ //#region core/contracts/src/adapter/schemas/teardown.d.ts
8093
+ /**
8094
+ * What a runtime observed about the end of a resource it was holding.
8095
+ *
8096
+ * Ordered from strongest to weakest evidence. The distinction that matters to
8097
+ * every consumer is the boundary between the first three and the last two: the
8098
+ * first three mean *nothing of ours is still talking to the provider*, the last
8099
+ * two mean *we stopped holding it and cannot say more*.
8100
+ *
8101
+ * The per-member reasoning:
8102
+ * - `exited` — an operating-system process this runtime spawned has terminated
8103
+ * and its termination was observed (an `exit`/`close` event, a settled spawn
8104
+ * promise, a reaped status). The strongest class available anywhere here.
8105
+ * - `closed` — a connection this runtime owned is closed and the close was
8106
+ * acknowledged by the peer or reported by the OS. The peer process may
8107
+ * outlive it; what is proven is that *this* runtime can no longer speak on it.
8108
+ * - `released` — an in-process object was released, every handle dropped and
8109
+ * every subscription cancelled, so no callback can arrive afterwards.
8110
+ * Provable locally and without a counterparty — which is exactly why it is
8111
+ * admissible: for a resource with no external end, "no further effects are
8112
+ * possible" is the whole of what closure means.
8113
+ * - `detached` — the runtime gave up its handle, but something outside it may
8114
+ * still be running: a process it did not spawn, a server-side session it can
8115
+ * only *ask* to end, a detached supervisor. **Not** an error.
8116
+ * - `unknown` — the teardown path threw, timed out, or was never reached.
8117
+ * Nothing is known.
8118
+ */
8119
+ declare const TeardownEvidenceSchema: z.ZodEnum<{
8120
+ unknown: "unknown";
8121
+ exited: "exited";
8122
+ closed: "closed";
8123
+ released: "released";
8124
+ detached: "detached";
8125
+ }>;
8126
+ /** One member of {@link TeardownEvidenceSchema}. */
8127
+ type TeardownEvidence$1 = z.infer<typeof TeardownEvidenceSchema>;
8128
+ /**
8129
+ * Whether an evidence class proves this runtime has stopped speaking to the
8130
+ * provider.
8131
+ *
8132
+ * The single predicate every consumer branches on, so the boundary is defined
8133
+ * once. `detached` and `unknown` are **not** observed: the first because someone
8134
+ * else may still be speaking, the second because nobody knows.
8135
+ * @param evidence - Class reported by the teardown.
8136
+ * @returns Whether the runtime provably released the provider conversation.
8137
+ */
8138
+ declare function teardownWasObserved$1(evidence: TeardownEvidence$1): boolean;
8139
+ /**
8140
+ * Result of tearing one connector down.
8141
+ *
8142
+ * Carries the class plus a human-readable `detail` for diagnostics. It is not an
8143
+ * error type: a `detached` or `unknown` teardown is a *reported outcome*, and a
8144
+ * consumer that treats it as a failure will start failing removals whenever an
8145
+ * adapter is slow.
8146
+ */
8147
+ declare const ConnectorTeardownResultSchema$1: z.ZodObject<{
8148
+ evidence: z.ZodEnum<{
8149
+ unknown: "unknown";
8150
+ exited: "exited";
8151
+ closed: "closed";
8152
+ released: "released";
8153
+ detached: "detached";
8154
+ }>;
8155
+ detail: z.ZodOptional<z.ZodString>;
8156
+ }, z.core.$strip>;
8157
+ /** One reported connector teardown. */
8158
+ type ConnectorTeardownResult$1 = z.infer<typeof ConnectorTeardownResultSchema$1>;
8159
+ /**
8160
+ * Reduce a set of teardown classes to the one a caller may claim for all of
8161
+ * them.
8162
+ *
8163
+ * **The wave's only aggregation rule**, so every layer that tears down more
8164
+ * than one resource calls this instead of restating it: the reported class is
8165
+ * the **weakest** in the set — `unknown` if any is `unknown`, else `detached` if
8166
+ * any is `detached`, else the weakest of the observed three.
8167
+ *
8168
+ * A teardown of *nothing* reports `released`: there is provably nothing
8169
+ * speaking, and that is the case consumers hit most often — a wrong default
8170
+ * there is invisible.
8171
+ * @param classes - Classes observed by the individual teardowns, in any order.
8172
+ * @returns The weakest class in the set, or `released` for an empty set.
8173
+ */
8174
+ declare function aggregateTeardownEvidence$1(classes: Iterable<TeardownEvidence$1>): TeardownEvidence$1;
8175
+ /**
8176
+ * Reduce a set of reported teardowns to the one result standing for all of them.
8177
+ *
8178
+ * {@link aggregateTeardownEvidence} answers the class; this answers the whole
8179
+ * *result*, because every layer that aggregates needs the second half too and had
8180
+ * been restating it: the `detail`s of the members that reached no observed class
8181
+ * are joined, so a caller told only `unknown` can still tell **which** of several
8182
+ * resources produced it. Which members those are is not a second list of classes
8183
+ * here — it is {@link teardownWasObserved} negated, so the boundary keeps having
8184
+ * exactly one definition.
8185
+ *
8186
+ * Layers that carry more than the wire fields (a failure to rethrow, a per-resource
8187
+ * breakdown) build on this result rather than beside it.
8188
+ * @param results - Results reported by the individual teardowns, in any order.
8189
+ * @returns The weakest class in the set, carrying the joined weak-class `detail`s.
8190
+ */
8191
+ declare function aggregateTeardownResults$1(results: readonly ConnectorTeardownResult$1[]): ConnectorTeardownResult$1;
8192
+ //#endregion
7799
8193
  //#region core/contracts/src/adapter/schemas/session-usage.d.ts
7800
8194
  /**
7801
8195
  * Session-level cumulative usage metrics.
@@ -7933,9 +8327,9 @@ declare const AgentSelectionBaseSchema: z.ZodObject<{
7933
8327
  description: z.ZodOptional<z.ZodString>;
7934
8328
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7935
8329
  exposureMode: z.ZodEnum<{
7936
- hidden: "hidden";
7937
8330
  direct: "direct";
7938
8331
  discovery: "discovery";
8332
+ hidden: "hidden";
7939
8333
  }>;
7940
8334
  enabled: z.ZodBoolean;
7941
8335
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7952,9 +8346,9 @@ declare const AgentSelectionBaseSchema: z.ZodObject<{
7952
8346
  description: z.ZodOptional<z.ZodString>;
7953
8347
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7954
8348
  exposureMode: z.ZodEnum<{
7955
- hidden: "hidden";
7956
8349
  direct: "direct";
7957
8350
  discovery: "discovery";
8351
+ hidden: "hidden";
7958
8352
  }>;
7959
8353
  enabled: z.ZodBoolean;
7960
8354
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -7976,11 +8370,18 @@ type AgentSelectionBase = z.infer<typeof AgentSelectionBaseSchema>;
7976
8370
  * Specifies the adapter driver to use. `adapterName` may be omitted when an
7977
8371
  * `adapterId` is provided for unambiguous multi-host targeting; startup paths
7978
8372
  * backfill the name when the runtime already knows it.
8373
+ *
8374
+ * **Naming an instance means naming its machine, and naming a machine means
8375
+ * naming an instance.** The two are one key: an instance ID cannot be inverted
8376
+ * back to the machine it was derived for, and a machine named on its own is read
8377
+ * by nothing — see {@link AdapterSelectionSchema.machineId}. Either half alone is
8378
+ * refused.
7979
8379
  * @example
7980
8380
  * ```typescript
7981
8381
  * const selection: AdapterSelection = {
7982
8382
  * kind: 'adapter',
7983
8383
  * adapterId: 'adapter-123',
8384
+ * machineId: 'machine-a',
7984
8385
  * model: 'sonnet',
7985
8386
  * };
7986
8387
  * ```
@@ -8052,9 +8453,9 @@ declare const AdapterSelectionSchema: z.ZodObject<{
8052
8453
  description: z.ZodOptional<z.ZodString>;
8053
8454
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8054
8455
  exposureMode: z.ZodEnum<{
8055
- hidden: "hidden";
8056
8456
  direct: "direct";
8057
8457
  discovery: "discovery";
8458
+ hidden: "hidden";
8058
8459
  }>;
8059
8460
  enabled: z.ZodBoolean;
8060
8461
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -8071,9 +8472,9 @@ declare const AdapterSelectionSchema: z.ZodObject<{
8071
8472
  description: z.ZodOptional<z.ZodString>;
8072
8473
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8073
8474
  exposureMode: z.ZodEnum<{
8074
- hidden: "hidden";
8075
8475
  direct: "direct";
8076
8476
  discovery: "discovery";
8477
+ hidden: "hidden";
8077
8478
  }>;
8078
8479
  enabled: z.ZodBoolean;
8079
8480
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -8089,8 +8490,9 @@ declare const AdapterSelectionSchema: z.ZodObject<{
8089
8490
  kind: z.ZodLiteral<"adapter">;
8090
8491
  adapterName: z.ZodOptional<z.ZodString>;
8091
8492
  adapterId: z.ZodOptional<z.ZodString>;
8493
+ machineId: z.ZodOptional<z.ZodString>;
8092
8494
  }, z.core.$loose>;
8093
- type AdapterSelection = z.infer<typeof AdapterSelectionSchema>;
8495
+ type AdapterSelection$1 = z.infer<typeof AdapterSelectionSchema>;
8094
8496
  /**
8095
8497
  * Interface map for the `AgentSelection` discriminated union.
8096
8498
  *
@@ -8111,7 +8513,7 @@ type AdapterSelection = z.infer<typeof AdapterSelectionSchema>;
8111
8513
  * registered kinds while keeping the Zod wire schema open (`kind: z.string()`).
8112
8514
  */
8113
8515
  interface AgentSelectionKindMap {
8114
- adapter: AdapterSelection;
8516
+ adapter: AdapterSelection$1;
8115
8517
  }
8116
8518
  /**
8117
8519
  * Agent configuration selection for `sendMessage` and `agent.attach`.
@@ -8202,9 +8604,9 @@ declare const AgentSelectionSchema: z.ZodObject<{
8202
8604
  description: z.ZodOptional<z.ZodString>;
8203
8605
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8204
8606
  exposureMode: z.ZodEnum<{
8205
- hidden: "hidden";
8206
8607
  direct: "direct";
8207
8608
  discovery: "discovery";
8609
+ hidden: "hidden";
8208
8610
  }>;
8209
8611
  enabled: z.ZodBoolean;
8210
8612
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -8221,9 +8623,9 @@ declare const AgentSelectionSchema: z.ZodObject<{
8221
8623
  description: z.ZodOptional<z.ZodString>;
8222
8624
  inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8223
8625
  exposureMode: z.ZodEnum<{
8224
- hidden: "hidden";
8225
8626
  direct: "direct";
8226
8627
  discovery: "discovery";
8628
+ hidden: "hidden";
8227
8629
  }>;
8228
8630
  enabled: z.ZodBoolean;
8229
8631
  enabledBy: z.ZodOptional<z.ZodEnum<{
@@ -8410,4 +8812,4 @@ type UnresolvedProviderContext = z.infer<typeof UnresolvedProviderContextSchema>
8410
8812
  /** Runtime provider context union. */
8411
8813
  type ProviderContext$1 = z.infer<typeof ProviderContextSchema$1>;
8412
8814
  //#endregion
8413
- export { StartAgentSchema as C, AdapterNamespace as D, AdapterSchemas as E, AdapterSubjects$1 as O, StartAgentResponse as S, AdapterRuntimeOptionsSchema as T, SessionUsageSchema as _, UnresolvedProviderContext as a, RehydrateAgentSchema as b, AdapterSelectionSchema as c, AgentSelectionBaseSchema as d, AgentSelectionKindMap as f, SessionUsage as g, SessionDiscoveredSchema$1 as h, ResolvedProviderContextSchema$1 as i, AgentSelection as l, SessionDiscovered as m, ProviderContextSchema$1 as n, UnresolvedProviderContextSchema as o, AgentSelectionSchema as p, ResolvedProviderContext$1 as r, AdapterSelection as s, ProviderContext$1 as t, AgentSelectionBase as u, RehydrateAgentRequest as v, AdapterRuntimeOptions$1 as w, StartAgentRequest as x, RehydrateAgentResponse as y };
8815
+ export { RehydrateAgentRequest as A, AdapterSchemas as B, aggregateTeardownResults$1 as C, AcknowledgeCallerSettlementSchema as D, AcknowledgeCallerSettlementResponse as E, StartAgentRequest$1 as F, AdapterSubjects$1 as H, StartAgentResponse$1 as I, StartAgentSchema as L, RehydrateAgentSchema as M, AdapterStartDisposition as N, CallerSettlementAckRefusal as O, AdapterStartDispositionSchema as P, AdapterRuntimeOptions$1 as R, aggregateTeardownEvidence$1 as S, AcknowledgeCallerSettlementRequest as T, AdapterNamespace as V, SessionUsageSchema as _, UnresolvedProviderContext as a, TeardownEvidence$1 as b, AdapterSelectionSchema as c, AgentSelectionBaseSchema as d, AgentSelectionKindMap as f, SessionUsage as g, SessionDiscoveredSchema$1 as h, ResolvedProviderContextSchema$1 as i, RehydrateAgentResponse as j, CallerSettlementAckRefusalSchema as k, AgentSelection as l, SessionDiscovered as m, ProviderContextSchema$1 as n, UnresolvedProviderContextSchema as o, AgentSelectionSchema as p, ResolvedProviderContext$1 as r, AdapterSelection$1 as s, ProviderContext$1 as t, AgentSelectionBase as u, ConnectorTeardownResult$1 as v, teardownWasObserved$1 as w, TeardownEvidenceSchema as x, ConnectorTeardownResultSchema$1 as y, AdapterRuntimeOptionsSchema as z };