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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/{account-identity-CgzOqnVm.mjs → account-identity-D-9gunfD.mjs} +1 -1
  3. package/dist/adapter-D_p5kKxi.mjs +1 -0
  4. package/dist/adapters/config/index.d.mts +1 -1
  5. package/dist/adapters/config/index.mjs +1 -1
  6. package/dist/adapters/index.d.mts +2 -2
  7. package/dist/adapters/index.mjs +1 -1
  8. package/dist/adapters/node.d.mts +1 -1
  9. package/dist/adapters/node.mjs +1 -1
  10. package/dist/bus/index.d.mts +6 -5
  11. package/dist/bus/index.mjs +1 -1
  12. package/dist/canonical-model-BNb0IFWC.mjs +1 -0
  13. package/dist/{client-BBJf1mVA.mjs → client-D24ebgGH.mjs} +1 -1
  14. package/dist/compression-vRUOO-28.mjs +1 -0
  15. package/dist/contracts/adapter/index.d.mts +2 -2
  16. package/dist/contracts/adapter/index.mjs +1 -1
  17. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  18. package/dist/contracts/artifact/index.d.mts +1 -1
  19. package/dist/contracts/canonical-model/index.d.mts +2 -0
  20. package/dist/contracts/canonical-model/index.mjs +1 -0
  21. package/dist/contracts/client/index.d.mts +2 -2
  22. package/dist/contracts/client/index.mjs +1 -1
  23. package/dist/contracts/common/index.d.mts +1 -1
  24. package/dist/contracts/config/index.d.mts +7 -7
  25. package/dist/contracts/config/index.mjs +1 -1
  26. package/dist/contracts/extension/index.d.mts +3 -3
  27. package/dist/contracts/extension/index.mjs +1 -1
  28. package/dist/contracts/facet/index.d.mts +1 -1
  29. package/dist/contracts/facet/index.mjs +1 -1
  30. package/dist/contracts/harness/index.d.mts +1 -1
  31. package/dist/contracts/harness/index.mjs +1 -1
  32. package/dist/contracts/host/index.d.mts +1 -1
  33. package/dist/contracts/host/index.mjs +1 -1
  34. package/dist/contracts/index.d.mts +1117 -1559
  35. package/dist/contracts/index.mjs +1 -1
  36. package/dist/contracts/materialization/index.d.mts +3 -3
  37. package/dist/contracts/materialization/index.mjs +1 -1
  38. package/dist/contracts/model-registry/index.d.mts +1 -1
  39. package/dist/contracts/model-registry/index.mjs +1 -1
  40. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  41. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  42. package/dist/contracts/platform/index.d.mts +1 -1
  43. package/dist/contracts/platform/index.mjs +1 -1
  44. package/dist/contracts/provider/index.d.mts +2 -2
  45. package/dist/contracts/session/index.d.mts +2 -2
  46. package/dist/contracts/session/index.mjs +1 -1
  47. package/dist/contracts/shared/index.d.mts +1 -1
  48. package/dist/contracts/skill/index.d.mts +1 -1
  49. package/dist/contracts/skill/index.mjs +1 -1
  50. package/dist/contracts/telemetry/index.d.mts +1 -1
  51. package/dist/contracts/telemetry/index.mjs +1 -1
  52. package/dist/contracts/timeout/index.d.mts +1 -1
  53. package/dist/contracts/toast/index.mjs +1 -1
  54. package/dist/contracts/variant/index.d.mts +1 -1
  55. package/dist/contracts/variant/index.mjs +1 -1
  56. package/dist/{definition-DWWzV-k0.d.mts → definition-CPc6oKaF.d.mts} +1 -1
  57. package/dist/{detached-extension-handle-Diiwgm13.mjs → detached-extension-handle-BYxNmLfv.mjs} +1 -1
  58. package/dist/{extension-ZBN4BGre.mjs → extension-CTkoi8MV.mjs} +1 -1
  59. package/dist/{extension-DfNcE0zm.mjs → extension-DEUfzXcg.mjs} +1 -1
  60. package/dist/{filesystem-service-BjfrUmGS.mjs → filesystem-service-T8JOIWeP.mjs} +1 -1
  61. package/dist/git/index.mjs +1 -1
  62. package/dist/{globby-BIH65cbN.mjs → globby-Bos1vjKj.mjs} +1 -1
  63. package/dist/{handlers-BAB4fQNH.mjs → handlers-CTrL8wmC.mjs} +2 -2
  64. package/dist/{harness-B8E_wRwa.mjs → harness-HEpELa_v.mjs} +1 -1
  65. package/dist/{index-Bw_zL7Rs.d.mts → index-6QvT0ljq.d.mts} +1 -1
  66. package/dist/{index-BT5tNA3Y.d.mts → index-B3mq3Qjf.d.mts} +1 -1
  67. package/dist/{index-DQppnGdC.d.mts → index-B92SK0rO.d.mts} +5 -5
  68. package/dist/index-B99Prx5a.d.mts +859 -0
  69. package/dist/{index-B1Rz7oUy.d.mts → index-BLqtL-_a.d.mts} +11 -11
  70. package/dist/{index-Dyz7dzLW.d.mts → index-BM_y78ZA2.d.mts} +9 -9
  71. package/dist/{index-CKP_uNGT.d.mts → index-BQ8H7cvY.d.mts} +16 -16
  72. package/dist/{index-C3zfJg6s.d.mts → index-BSFmBEDL.d.mts} +1 -1
  73. package/dist/{index-wP87FKTQ2.d.mts → index-C0TEY7RE.d.mts} +3 -3
  74. package/dist/{index-RUN1iHYu.d.mts → index-C24PcW2r.d.mts} +8 -8
  75. package/dist/{index-Buo9H8RK.d.mts → index-CEdOq5Om.d.mts} +1 -1
  76. package/dist/{index-Abq3I8wg.d.mts → index-CszoKxxO.d.mts} +141 -138
  77. package/dist/{index-COwW_2Gb.d.mts → index-DBgv39-Q.d.mts} +60 -60
  78. package/dist/{index-B2xbnMZe.d.mts → index-DLPjliGd.d.mts} +1 -1
  79. package/dist/{index-BpniJgxu.d.mts → index-DfNIhEm_.d.mts} +16 -16
  80. package/dist/{index-dAjtejnc.d.mts → index-DvETyI0_.d.mts} +1 -1
  81. package/dist/{index-DW8EiMJ9.d.mts → index-NyKdb8kT.d.mts} +28 -28
  82. package/dist/{index-B8tAGwHR.d.mts → index-QvciMc7_.d.mts} +387 -160
  83. package/dist/{index-DlvMtyHK.d.mts → index-WKF5BHsw.d.mts} +8 -8
  84. package/dist/kernel/cli/index.d.mts +2 -2
  85. package/dist/kernel/cli/index.mjs +1 -1
  86. package/dist/kernel/cli/register.d.mts +1 -1
  87. package/dist/kernel/cli/register.mjs +1 -1
  88. package/dist/kernel/cli/schemas.mjs +1 -1
  89. package/dist/kernel/extension/index.d.mts +1 -1
  90. package/dist/kernel/extension/index.mjs +1 -1
  91. package/dist/kernel/index.d.mts +5 -5
  92. package/dist/kernel/index.mjs +1 -1
  93. package/dist/kernel/namespace/index.d.mts +1 -1
  94. package/dist/kernel/namespace/index.mjs +1 -1
  95. package/dist/kernel/observability/index.d.mts +1 -1
  96. package/dist/kernel/observability/index.mjs +1 -1
  97. package/dist/kernel/providers/index.d.mts +1 -1
  98. package/dist/kernel/providers/index.mjs +1 -1
  99. package/dist/kernel/window/index.d.mts +1 -1
  100. package/dist/kernel/window/index.mjs +1 -1
  101. package/dist/{lib-Cq5R6Tx9.mjs → lib-DkLlhp9Z.mjs} +1 -1
  102. package/dist/{lib-nlcl5kRW.mjs → lib-jOuIcSs9.mjs} +1 -1
  103. package/dist/{load-extensions-D9nbDIiW.d.mts → load-extensions-CQqw0Smr.d.mts} +1 -1
  104. package/dist/{load-extensions-wELQ4BBN.mjs → load-extensions-D-DyzN4j.mjs} +1 -1
  105. package/dist/mcp-http-server/index.mjs +1 -1
  106. package/dist/{namespace-BPlAuhc_.d.mts → namespace-B1Bldc48.d.mts} +117 -9
  107. package/dist/{namespace-5BLWcC3Q.d.mts → namespace-BAJTZXWc.d.mts} +42 -42
  108. package/dist/{namespace-Dfq6MDN9.mjs → namespace-BxrHvS5c.mjs} +1 -1
  109. package/dist/namespace-CH_NWUKW.mjs +1 -0
  110. package/dist/{namespace-BSNFeJA4.d.mts → namespace-CN2TfSCY.d.mts} +4 -4
  111. package/dist/{namespace--ROWLToE.d.mts → namespace-C_kaVySz.d.mts} +10 -10
  112. package/dist/{namespace-CHMszppN.d.mts → namespace-D_ZXa76m.d.mts} +26 -26
  113. package/dist/{namespace-Ds6HkJEU.d.mts → namespace-DbvQ4HYc.d.mts} +44 -34
  114. package/dist/{native-session-supervisor-DeKpxhWO.mjs → native-session-supervisor-DbrqcFq9.mjs} +1 -1
  115. package/dist/node/bus-server/index.d.mts +1 -1
  116. package/dist/node/bus-server/index.mjs +1 -1
  117. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  118. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  119. package/dist/{orchestrator-shared-BKFXaKPL.mjs → orchestrator-shared-yFP8e7d5.mjs} +1 -1
  120. package/dist/{package-DzN_jdqd.mjs → package-Bn665ylV.mjs} +1 -1
  121. package/dist/package.json +1 -1
  122. package/dist/primitive-runtime-C2yw4-F8.mjs +1 -0
  123. package/dist/{profile-D39-Zy_W.mjs → profile-r4G32bCH.mjs} +1 -1
  124. package/dist/{provider-context-wp4VSJFI.mjs → provider-context-Ds6GNYnE.mjs} +1 -1
  125. package/dist/rules/index.d.mts +1 -1
  126. package/dist/rules/index.mjs +1 -1
  127. package/dist/rules/schemas.d.mts +1 -1
  128. package/dist/runtime-bun/index.mjs +1 -1
  129. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  130. package/dist/runtime-node/extension-validation.d.mts +1 -1
  131. package/dist/runtime-node/extension-validation.mjs +1 -1
  132. package/dist/runtime-node/index.d.mts +3 -3
  133. package/dist/runtime-node/index.mjs +24 -26
  134. package/dist/runtime-node/makaio-config.d.mts +1 -1
  135. package/dist/runtime-node/makaio-config.mjs +1 -1
  136. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  137. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  138. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  139. package/dist/{schema-C3TgjrsV.mjs → schema-atatXwNg.mjs} +1 -1
  140. package/dist/{schema-cNoxaiT0.d.mts → schema-msWs4YhT.d.mts} +2 -2
  141. package/dist/{schemas-DUE6mc1O.d.mts → schemas-CN9hprME.d.mts} +6 -6
  142. package/dist/schemas-CiMm2zrE.mjs +1 -0
  143. package/dist/{schemas-o2Q24yOF.d.mts → schemas-DMl7IKG-.d.mts} +5 -5
  144. package/dist/{schemas-DsyYsfVN2.d.mts → schemas-DRZJK6hW2.d.mts} +12 -12
  145. package/dist/{schemas-on3_N5HP.d.mts → schemas-xoTn8JZb.d.mts} +44 -34
  146. package/dist/services/adapter-runtime/index.d.mts +3 -3
  147. package/dist/services/adapter-runtime/index.mjs +1 -1
  148. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  149. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  150. package/dist/services/adapter-subsystem/index.d.mts +2 -2
  151. package/dist/services/adapter-subsystem/index.mjs +1 -1
  152. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  153. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  154. package/dist/services/agent-runtime/index.d.mts +2 -2
  155. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  156. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  157. package/dist/services/capability/index.d.mts +1 -1
  158. package/dist/services/capability/index.mjs +1 -1
  159. package/dist/services/codebase/index.d.mts +2 -2
  160. package/dist/services/codebase/namespace.d.mts +1 -1
  161. package/dist/services/codebase/schemas.d.mts +1 -1
  162. package/dist/services/compression/index.d.mts +2 -2
  163. package/dist/services/compression/namespace.d.mts +1 -1
  164. package/dist/services/compression/schemas.d.mts +1 -1
  165. package/dist/services/context-rules/index.d.mts +12 -12
  166. package/dist/services/context-rules/index.mjs +1 -1
  167. package/dist/services/execution-target/index.d.mts +3 -3
  168. package/dist/services/execution-target/index.mjs +1 -1
  169. package/dist/services/execution-target/namespace.d.mts +1 -1
  170. package/dist/services/execution-target/schemas.d.mts +1 -1
  171. package/dist/services/filesystem/index.d.mts +1 -1
  172. package/dist/services/filesystem/index.mjs +1 -1
  173. package/dist/services/filesystem/namespace.d.mts +6 -6
  174. package/dist/services/filesystem/schemas.d.mts +3 -3
  175. package/dist/services/git/namespace.mjs +1 -1
  176. package/dist/services/git/schemas.mjs +1 -1
  177. package/dist/services/harness/index.d.mts +3 -3
  178. package/dist/services/harness/index.mjs +1 -1
  179. package/dist/services/index.d.mts +84 -79
  180. package/dist/services/index.mjs +1 -1
  181. package/dist/services/log-import/browser.d.mts +2 -2
  182. package/dist/services/log-import/index.d.mts +2 -2
  183. package/dist/services/log-import/log-import.d.mts +1 -1
  184. package/dist/services/log-import/log-import.mjs +1 -1
  185. package/dist/services/log-import/namespace.d.mts +2 -2
  186. package/dist/services/log-import/namespace.mjs +1 -1
  187. package/dist/services/log-import/schemas.d.mts +1 -1
  188. package/dist/services/log-import/schemas.mjs +1 -1
  189. package/dist/services/model-registry/index.d.mts +1 -1
  190. package/dist/services/model-registry/index.mjs +1 -1
  191. package/dist/services/preferences/index.d.mts +2 -2
  192. package/dist/services/preferences/schemas.d.mts +1 -1
  193. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  194. package/dist/services/provider-context/index.d.mts +1 -1
  195. package/dist/services/provider-context/index.mjs +1 -1
  196. package/dist/services/provider-runtime/index.mjs +1 -1
  197. package/dist/services/session/handlers/index.d.mts +1 -1
  198. package/dist/services/session/handlers/index.mjs +1 -1
  199. package/dist/services/session/index.d.mts +9 -9
  200. package/dist/services/session/index.mjs +1 -1
  201. package/dist/services/session/messages/namespace.d.mts +1 -1
  202. package/dist/services/session/messages/namespace.mjs +1 -1
  203. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  204. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  205. package/dist/services/session/session-events/namespace.d.mts +1 -1
  206. package/dist/services/session/session-events/namespace.mjs +1 -1
  207. package/dist/services/session/storage/namespace.d.mts +1 -1
  208. package/dist/services/session/storage/schema.d.mts +1 -1
  209. package/dist/services/session/testing/index.mjs +1 -1
  210. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  211. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  212. package/dist/services/session/turns/namespace.d.mts +1 -1
  213. package/dist/services/session/turns/namespace.mjs +1 -1
  214. package/dist/services/session-editor/index.d.mts +1 -1
  215. package/dist/services/session-editor/index.mjs +1 -1
  216. package/dist/services/settings/index.d.mts +3 -3
  217. package/dist/services/settings/index.mjs +1 -1
  218. package/dist/services/settings/namespace.d.mts +12 -12
  219. package/dist/services/settings/namespace.mjs +1 -1
  220. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  221. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  222. package/dist/services/settings/storage/index.d.mts +3 -3
  223. package/dist/services/settings/storage/index.mjs +1 -1
  224. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  225. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  226. package/dist/services/subagent/index.d.mts +1 -1
  227. package/dist/services/subagent/index.mjs +1 -1
  228. package/dist/services/subagent-template/index.d.mts +2 -2
  229. package/dist/services/subagent-template/namespace.d.mts +1 -1
  230. package/dist/services/subagent-template/schemas.d.mts +1 -1
  231. package/dist/services/tool-approval/index.d.mts +1 -1
  232. package/dist/services/tool-approval/index.mjs +1 -1
  233. package/dist/services/tools/index.d.mts +1 -1
  234. package/dist/services/tools/index.mjs +1 -1
  235. package/dist/services/tray-menu/index.d.mts +3 -3
  236. package/dist/services/tray-menu/index.mjs +1 -1
  237. package/dist/services/tray-menu/namespace.d.mts +1 -1
  238. package/dist/services/tray-menu/schemas.d.mts +1 -1
  239. package/dist/services/turn/index.d.mts +1 -1
  240. package/dist/services/turn/namespace.d.mts +1 -1
  241. package/dist/{session-P4nX60Xx.mjs → session-Me3XO-l9.mjs} +2 -2
  242. package/dist/session-bKk-XeaY.mjs +1 -0
  243. package/dist/{skill-BNQnWVIG.mjs → skill-B_VlGon5.mjs} +1 -1
  244. package/dist/{src-CBG3IHUl.mjs → src-6n-8M8EU.mjs} +1 -1
  245. package/dist/storage/drizzle/client.d.mts +1 -1
  246. package/dist/storage/drizzle/client.mjs +1 -1
  247. package/dist/storage/drizzle/index.d.mts +1 -1
  248. package/dist/storage/drizzle/index.mjs +1 -1
  249. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  250. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  251. package/dist/storage/handlers/index.d.mts +1 -1
  252. package/dist/storage/handlers/index.mjs +1 -1
  253. package/dist/{tool-approval-service-DNHV5x0M.mjs → tool-approval-service-C2xXBtdJ.mjs} +1 -1
  254. package/dist/{tools-CQImrHAp.mjs → tools-DEUzCPBB.mjs} +1 -1
  255. package/dist/{types-BtsKrzK7.d.mts → types-4LKM7ZfA.d.mts} +200 -81
  256. package/dist/{types-D5IMwOkJ.d.mts → types-BB8iIAjZ.d.mts} +1 -1
  257. package/dist/ui-kernel/index.d.mts +1 -1
  258. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  259. package/dist/{version-B4NO_fID.mjs → version-SYP_DX4M.mjs} +1 -1
  260. package/dist/workflow-engine/index.d.mts +57 -57
  261. package/dist/workflow-engine/index.mjs +1 -1
  262. package/dist/workflow-engine/package.d.mts +1 -1
  263. package/dist/workflow-engine/package.mjs +1 -1
  264. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  265. package/dist/{workflow-worker-CK9Sqj7D.mjs → workflow-worker-CjuRYLmJ.mjs} +1 -1
  266. package/package.json +5 -1
  267. package/dist/adapter-UpcpZDOv.mjs +0 -1
  268. package/dist/namespace-BXqetkc3.mjs +0 -1
  269. package/dist/primitive-runtime-CNC_bSac.mjs +0 -1
  270. package/dist/schemas-CuKayWhA.mjs +0 -1
  271. package/dist/session-BwX5_k47.mjs +0 -1
  272. /package/dist/{ajv-BA2z5ztb.mjs → ajv-Cx19PP7Q.mjs} +0 -0
  273. /package/dist/{await-trigger-DREnXCEJ.mjs → await-trigger-uKEHY8E4.mjs} +0 -0
  274. /package/dist/{base-orchestrator-M5mAB5-w.d.mts → base-orchestrator-BRq4MXa7.d.mts} +0 -0
  275. /package/dist/{capability-service-jjrFLM6r.mjs → capability-service-CHl8rrwb.mjs} +0 -0
  276. /package/dist/{cleanEnvForAdapter-vZfPGi0X.mjs → cleanEnvForAdapter-D32WnVuy.mjs} +0 -0
  277. /package/dist/{client-BJVDImPV.d.mts → client-D2ZftNb6.d.mts} +0 -0
  278. /package/dist/{clients-namespace-SFk7OTop.d.mts → clients-namespace-CeAB0t06.d.mts} +0 -0
  279. /package/dist/{config-namespace-DydHz9so.mjs → config-namespace-DW5KHKPW.mjs} +0 -0
  280. /package/dist/{config-namespace-BzAvE2nY.d.mts → config-namespace-DloU-hNB.d.mts} +0 -0
  281. /package/dist/{create-static-mount-BB1MIQ9J.mjs → create-static-mount-Bi0VpYS8.mjs} +0 -0
  282. /package/dist/{cross-spawn-BL6EvJBv.mjs → cross-spawn-C58yEvsS.mjs} +0 -0
  283. /package/dist/{cursor-storage-CmKjSvKY.mjs → cursor-storage-CpuT5POU.mjs} +0 -0
  284. /package/dist/{definition-BSghHJpQ.d.mts → definition-BdxbXbrq.d.mts} +0 -0
  285. /package/dist/{definition-q6iLw11H.d.mts → definition-BwLJnqEo.d.mts} +0 -0
  286. /package/dist/{descriptor-to-package-CY8oc2gl.mjs → descriptor-to-package-D-FNxohm.mjs} +0 -0
  287. /package/dist/{drizzle-wjquQK2m.mjs → drizzle-D7dkDEB5.mjs} +0 -0
  288. /package/dist/{esm-CQVFKEW5.mjs → esm-CP2zvvlx.mjs} +0 -0
  289. /package/dist/{event-BEllCn16.mjs → event-DaXakaHo.mjs} +0 -0
  290. /package/dist/{execution-target-CQGYaaM2.mjs → execution-target-Da6Vjvba.mjs} +0 -0
  291. /package/dist/{extension-discovery-CkV_VRdJ.d.mts → extension-discovery-Bv5FDtrM.d.mts} +0 -0
  292. /package/dist/{extension-namespace-BBgYOttA.mjs → extension-namespace-O3sKdnY9.mjs} +0 -0
  293. /package/dist/{facet-DMrryX_0.mjs → facet-Q_vgXb23.mjs} +0 -0
  294. /package/dist/{filesystem-service-Ddngll0j.d.mts → filesystem-service-89fN-2Dd.d.mts} +0 -0
  295. /package/dist/{handler-DqpiV9eA.mjs → handler-BIA3ld4C.mjs} +0 -0
  296. /package/dist/{host-DbMiI5wQ.mjs → host-DFqmG2qO.mjs} +0 -0
  297. /package/dist/{identity-Bmx-8fPa.mjs → identity-CA5MzB19.mjs} +0 -0
  298. /package/dist/{index-Dsq2zKvu.d.mts → index-BE-yMFTz.d.mts} +0 -0
  299. /package/dist/{index-CDU_s69P.d.mts → index-BUilJdHr.d.mts} +0 -0
  300. /package/dist/{index-C33Tq1ei2.d.mts → index-BVhnqzDC2.d.mts} +0 -0
  301. /package/dist/{index-Cz9JMjZK.d.mts → index-BeNVLvtk2.d.mts} +0 -0
  302. /package/dist/{index-D0SUjZmU.d.mts → index-BplsE3qw.d.mts} +0 -0
  303. /package/dist/{index-C6BhKRnH.d.mts → index-BtL_9HBk.d.mts} +0 -0
  304. /package/dist/{index-Bsp0O_sI.d.mts → index-CBTp2XuF.d.mts} +0 -0
  305. /package/dist/{index-BMpRB6iE.d.mts → index-CYZqADXY2.d.mts} +0 -0
  306. /package/dist/{index-DSV1aFgK.d.mts → index-CfpfkKih.d.mts} +0 -0
  307. /package/dist/{index-BxFA1XcP.d.mts → index-CkPIPbx9.d.mts} +0 -0
  308. /package/dist/{index-DOfq0qqv.d.mts → index-D0RWuwl5.d.mts} +0 -0
  309. /package/dist/{index-CGJjA-hR2.d.mts → index-DHHKwLww.d.mts} +0 -0
  310. /package/dist/{index-zgm2j9V92.d.mts → index-DJSffYTW2.d.mts} +0 -0
  311. /package/dist/{index-BpXX9WZJ.d.mts → index-DNmENr9M.d.mts} +0 -0
  312. /package/dist/{index-9IDJUJ4X.d.mts → index-DVgKfgh1.d.mts} +0 -0
  313. /package/dist/{index-D6Iyvz9T.d.mts → index-DWqSqcpW.d.mts} +0 -0
  314. /package/dist/{index-BBvcP-P0.d.mts → index-DdCyeZ59.d.mts} +0 -0
  315. /package/dist/{index-EsXVjKsv.d.mts → index-GuspCNLR.d.mts} +0 -0
  316. /package/dist/{index-Drz_a7kW.d.mts → index-cFuQpzIm.d.mts} +0 -0
  317. /package/dist/{index-BnQSPC6c.d.mts → index-kOSSuOcK.d.mts} +0 -0
  318. /package/dist/{index-BbCjtc3h.d.mts → index-orAkFukT.d.mts} +0 -0
  319. /package/dist/{jsonl-transport-C21tpVfe.mjs → jsonl-transport-Bb8ltqOe.mjs} +0 -0
  320. /package/dist/{lib-CNOQJtgs.mjs → lib-BmcGxHXH.mjs} +0 -0
  321. /package/dist/{materialization-3QUnQLbC.mjs → materialization-DsPIGQP1.mjs} +0 -0
  322. /package/dist/{model-registry-B0AIdj7O.mjs → model-registry-DLeMw3l8.mjs} +0 -0
  323. /package/dist/{model-registry-j-rCKcik.mjs → model-registry-DQDclqdw.mjs} +0 -0
  324. /package/dist/{namespace--s0d86h-.d.mts → namespace-2G7A4Sza.d.mts} +0 -0
  325. /package/dist/{namespace-BBVtD1gu.d.mts → namespace-CEqkI6Zu.d.mts} +0 -0
  326. /package/dist/{namespace-BbjCyZC9.mjs → namespace-CN-Llu7H.mjs} +0 -0
  327. /package/dist/{namespace-aJJfBJU5.d.mts → namespace-DKnJL0Ja.d.mts} +0 -0
  328. /package/dist/{namespace-XTGCaSXj.d.mts → namespace-DMhz3yvr.d.mts} +0 -0
  329. /package/dist/{namespace-DzVf1hVH.d.mts → namespace-DcUwOJ4f.d.mts} +0 -0
  330. /package/dist/{namespace-B60mn8J-2.d.mts → namespace-Dr1wDUZA2.d.mts} +0 -0
  331. /package/dist/{namespace-BgPoC46Q.mjs → namespace-DrpHLJAy.mjs} +0 -0
  332. /package/dist/{namespace-ENv7H7Na.mjs → namespace-FJsnoEQy.mjs} +0 -0
  333. /package/dist/{namespace-D6X67cUk.mjs → namespace-UUw-S7ia.mjs} +0 -0
  334. /package/dist/{namespace-uuR0Fg5r.d.mts → namespace-nQS4XwnT.d.mts} +0 -0
  335. /package/dist/{namespace-nlsvvMtD.d.mts → namespace-q5dD3acO.d.mts} +0 -0
  336. /package/dist/{namespace-FT8igkn4.mjs → namespace-uGUGfpGQ.mjs} +0 -0
  337. /package/dist/{namespace-CUOGcGPG.mjs → namespace-zWB-ULrX.mjs} +0 -0
  338. /package/dist/{orchestrator-shared-D91Wk7z-.d.mts → orchestrator-shared-CbS4ueeq.d.mts} +0 -0
  339. /package/dist/{out-C1JFb2Bp.mjs → out-BUHr98Xe.mjs} +0 -0
  340. /package/dist/{package--RZnpN2J.d.mts → package-BEbo1-6S.d.mts} +0 -0
  341. /package/dist/{package-BzJvtM5O.mjs → package-YQeRE8bV.mjs} +0 -0
  342. /package/dist/{platform-Dhv22LiX.mjs → platform-CsO-MRJP.mjs} +0 -0
  343. /package/dist/{providers-B1p0P-vB.mjs → providers-FEZT2bQG.mjs} +0 -0
  344. /package/dist/{providers-namespace-BqWYkydw.d.mts → providers-namespace-DMUyEbmp.d.mts} +0 -0
  345. /package/dist/{quick-lru-B9nWXbXI.mjs → quick-lru-C7AXdpbU.mjs} +0 -0
  346. /package/dist/{registry-RG-bkw3c.mjs → registry-udUhXSIC.mjs} +0 -0
  347. /package/dist/{schema-CzhOc7TV.mjs → schema-Ba64XQjo.mjs} +0 -0
  348. /package/dist/{schema-introspection-CuRZPYEc.mjs → schema-introspection-D5FaI5B_.mjs} +0 -0
  349. /package/dist/{schemas-BCIuTWRl2.mjs → schemas-5kegIs9D.mjs} +0 -0
  350. /package/dist/{schemas-B77Gi8Xr.d.mts → schemas-9Ifo5zSf.d.mts} +0 -0
  351. /package/dist/{schemas-BdAf5u58.mjs → schemas-9QC3nvYP.mjs} +0 -0
  352. /package/dist/{schemas-Dyk7JuVl.d.mts → schemas-BSAKbVyd.d.mts} +0 -0
  353. /package/dist/{schemas-Kq33MTPY.d.mts → schemas-BxI5Yq8d.d.mts} +0 -0
  354. /package/dist/{schemas-Chyj6HuZ.d.mts → schemas-CRS7tkFP.d.mts} +0 -0
  355. /package/dist/{schemas-B5ToLwIs.d.mts → schemas-Cae5dubB.d.mts} +0 -0
  356. /package/dist/{schemas-hSrzflwZ.mjs → schemas-DAYPhB5K.mjs} +0 -0
  357. /package/dist/{schemas-DZUaRcYl.d.mts → schemas-DZfBym73.d.mts} +0 -0
  358. /package/dist/{schemas-C792eVAZ.d.mts → schemas-DznsZ0bq.d.mts} +0 -0
  359. /package/dist/{semver-DhHJv6Dt.mjs → semver-ClOD8k8c.mjs} +0 -0
  360. /package/dist/{server-lifecycle-47mygK3E.d.mts → server-lifecycle-5iHxcgBO.d.mts} +0 -0
  361. /package/dist/{server-lifecycle-Cg47L59Q.mjs → server-lifecycle-CFQaPTf7.mjs} +0 -0
  362. /package/dist/{session-lineage-CKg6mErA.d.mts → session-lineage-DFkJgYt5.d.mts} +0 -0
  363. /package/dist/{shared-schemas-DYL7a-No.mjs → shared-schemas-jG3EtHZT.mjs} +0 -0
  364. /package/dist/{src-DedDL9iv.mjs → src-CRDOZl7K.mjs} +0 -0
  365. /package/dist/{storage-namespace-BXO3lDVy.mjs → storage-namespace-C1JVmZF1.mjs} +0 -0
  366. /package/dist/{storage-namespace-definition-C3XbpiP8.d.mts → storage-namespace-definition-BPYSLTfN.d.mts} +0 -0
  367. /package/dist/{storage-namespace-definition-RvjfFysN.mjs → storage-namespace-definition-Df8S3E3r.mjs} +0 -0
  368. /package/dist/{storage-namespace-BXmMUd7a.d.mts → storage-namespace-gey7EUhM.d.mts} +0 -0
  369. /package/dist/{supports-color-fVsgozsi.mjs → supports-color-AnssSSH9.mjs} +0 -0
  370. /package/dist/{telemetry-O0394b7p.mjs → telemetry-DdbvlZ8s.mjs} +0 -0
  371. /package/dist/{tray-menu-service-B5YPK_YF.mjs → tray-menu-service-am356993.mjs} +0 -0
  372. /package/dist/{types-D-bP8RRE.d.mts → types-Bj7cOrBQ.d.mts} +0 -0
  373. /package/dist/{types-D6jnDjP2.d.mts → types-D-GeeSdd.d.mts} +0 -0
  374. /package/dist/{types-5Gw3iVpK.d.mts → types-DhlQpVEb.d.mts} +0 -0
  375. /package/dist/{types-B0BtvVAq.d.mts → types-xLd-e0wf.d.mts} +0 -0
  376. /package/dist/{variant-COVbYmMs.mjs → variant-BdNN5edM.mjs} +0 -0
  377. /package/dist/{window-registry-CfEi_Ji4.d.mts → window-registry-CA6AC8n7.d.mts} +0 -0
  378. /package/dist/{window-registry-XjOExitT.mjs → window-registry-LRjWPwr4.mjs} +0 -0
@@ -0,0 +1,859 @@
1
+ import * as _$zod from "zod";
2
+ import { z } from "zod";
3
+ import * as _$_makaio_core0 from "@makaio/framework/core";
4
+ import * as _$zod_v4_core0 from "zod/v4/core";
5
+
6
+ //#region core/contracts/src/canonical-model/types.d.ts
7
+ /** Exhaustive tuple of all {@link CanonicalModelParseErrorCode} values. */
8
+ declare const CANONICAL_MODEL_PARSE_ERROR_CODES: readonly ["empty", "empty-model", "empty-routing", "empty-segment", "too-many-segments", "invalid-segment", "invalid-virtual-name", "empty-virtual-name"];
9
+ /**
10
+ * Error codes produced by the canonical model parser.
11
+ *
12
+ * Each code identifies a distinct malformed-input condition:
13
+ * - `'empty'` - empty or whitespace-only input
14
+ * - `'empty-model'` - `'::'` present with nothing after it
15
+ * - `'empty-routing'` - `'::'` present with nothing before it
16
+ * - `'empty-segment'` - consecutive slashes produce an empty routing segment
17
+ * - `'too-many-segments'` - more than two routing segments before `'::'`
18
+ * - `'invalid-segment'` - routing segment contains characters outside `[a-z0-9._-]`
19
+ * - `'invalid-virtual-name'` - virtual model name contains characters outside `[a-z0-9_-]`
20
+ * - `'empty-virtual-name'` - bare `'~'` sigil with no name following it
21
+ */
22
+ type CanonicalModelParseErrorCode = (typeof CANONICAL_MODEL_PARSE_ERROR_CODES)[number];
23
+ /** Zod schema for {@link CanonicalModelParseErrorCode}. */
24
+ declare const CanonicalModelParseErrorCodeSchema: z.ZodEnum<{
25
+ empty: "empty";
26
+ "empty-model": "empty-model";
27
+ "empty-routing": "empty-routing";
28
+ "empty-segment": "empty-segment";
29
+ "too-many-segments": "too-many-segments";
30
+ "invalid-segment": "invalid-segment";
31
+ "invalid-virtual-name": "invalid-virtual-name";
32
+ "empty-virtual-name": "empty-virtual-name";
33
+ }>;
34
+ /**
35
+ * Parse error returned by the canonical model parser.
36
+ *
37
+ * Discriminated by `kind: 'parse-error'` so it can be combined into
38
+ * {@link CanonicalModelParseResult} and narrowed with a type guard.
39
+ */
40
+ interface CanonicalModelParseError {
41
+ readonly kind: 'parse-error';
42
+ /** Machine-readable error category. */
43
+ readonly code: CanonicalModelParseErrorCode;
44
+ /** Human-readable description of the problem. */
45
+ readonly message: string;
46
+ /** The verbatim input string that produced the error. */
47
+ readonly input: string;
48
+ }
49
+ /** Zod schema for {@link CanonicalModelParseError}. */
50
+ declare const CanonicalModelParseErrorSchema: z.ZodObject<{
51
+ kind: z.ZodLiteral<"parse-error">;
52
+ code: z.ZodEnum<{
53
+ empty: "empty";
54
+ "empty-model": "empty-model";
55
+ "empty-routing": "empty-routing";
56
+ "empty-segment": "empty-segment";
57
+ "too-many-segments": "too-many-segments";
58
+ "invalid-segment": "invalid-segment";
59
+ "invalid-virtual-name": "invalid-virtual-name";
60
+ "empty-virtual-name": "empty-virtual-name";
61
+ }>;
62
+ message: z.ZodString;
63
+ input: z.ZodString;
64
+ }, z.core.$strip>;
65
+ /**
66
+ * Bare model reference - no routing qualifier.
67
+ *
68
+ * The entire input is treated as the verbatim model name and resolved
69
+ * against the default adapter/provider at runtime.
70
+ */
71
+ interface BareModelRef {
72
+ readonly kind: 'bare';
73
+ /** Verbatim model name as provided by the caller (for example `'sonnet'`). */
74
+ readonly model: string;
75
+ }
76
+ /** Zod schema for {@link BareModelRef}. */
77
+ declare const BareModelRefSchema: z.ZodObject<{
78
+ kind: z.ZodLiteral<"bare">;
79
+ model: z.ZodString;
80
+ }, z.core.$strip>;
81
+ /**
82
+ * Qualified model reference - one or two routing segments followed by `'::'` and a model name.
83
+ *
84
+ * Routing segments are case-normalised to lowercase during parsing.
85
+ * The model name is passed through verbatim.
86
+ */
87
+ interface QualifiedModelRef {
88
+ readonly kind: 'qualified';
89
+ /** First routing segment - adapter or provider slug, lowercased. */
90
+ readonly segment1: string;
91
+ /** Second routing segment - provider slug when `segment1` is an adapter, lowercased. */
92
+ readonly segment2?: string;
93
+ /** Verbatim model name appearing after `'::'`. */
94
+ readonly model: string;
95
+ }
96
+ /** Zod schema for {@link QualifiedModelRef}. */
97
+ declare const QualifiedModelRefSchema: z.ZodObject<{
98
+ kind: z.ZodLiteral<"qualified">;
99
+ segment1: z.ZodString;
100
+ segment2: z.ZodOptional<z.ZodString>;
101
+ model: z.ZodString;
102
+ }, z.core.$strip>;
103
+ /**
104
+ * Virtual model reference - a logical alias introduced with the `'~'` sigil.
105
+ *
106
+ * Hosts may translate this higher-level reference through the existing
107
+ * virtual-model resolution seam. The framework-owned canonical-model resolver
108
+ * intentionally does not consume this parsed form.
109
+ */
110
+ interface VirtualModelRef {
111
+ readonly kind: 'virtual';
112
+ /** Virtual model name without the leading `'~'` sigil. */
113
+ readonly name: string;
114
+ }
115
+ /** Zod schema for {@link VirtualModelRef}. */
116
+ declare const VirtualModelRefSchema: z.ZodObject<{
117
+ kind: z.ZodLiteral<"virtual">;
118
+ name: z.ZodString;
119
+ }, z.core.$strip>;
120
+ /**
121
+ * Discriminated union of all successfully parsed canonical model forms.
122
+ *
123
+ * Narrow with `result.kind` or use the {@link isCanonicalModelParseError} type
124
+ * guard to separate success from failure.
125
+ */
126
+ type ParsedCanonicalModel = BareModelRef | QualifiedModelRef | VirtualModelRef;
127
+ /** Zod schema for {@link ParsedCanonicalModel}. */
128
+ declare const ParsedCanonicalModelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
129
+ kind: z.ZodLiteral<"bare">;
130
+ model: z.ZodString;
131
+ }, z.core.$strip>, z.ZodObject<{
132
+ kind: z.ZodLiteral<"qualified">;
133
+ segment1: z.ZodString;
134
+ segment2: z.ZodOptional<z.ZodString>;
135
+ model: z.ZodString;
136
+ }, z.core.$strip>, z.ZodObject<{
137
+ kind: z.ZodLiteral<"virtual">;
138
+ name: z.ZodString;
139
+ }, z.core.$strip>], "kind">;
140
+ /**
141
+ * Framework-resolvable parsed canonical model forms.
142
+ *
143
+ * Host-only `kind: 'virtual'` expansion is intentionally excluded from the
144
+ * framework resolver contract.
145
+ */
146
+ type ResolvableCanonicalModel = BareModelRef | QualifiedModelRef;
147
+ /** Zod schema for {@link ResolvableCanonicalModel}. */
148
+ declare const ResolvableCanonicalModelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
149
+ kind: z.ZodLiteral<"bare">;
150
+ model: z.ZodString;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ kind: z.ZodLiteral<"qualified">;
153
+ segment1: z.ZodString;
154
+ segment2: z.ZodOptional<z.ZodString>;
155
+ model: z.ZodString;
156
+ }, z.core.$strip>], "kind">;
157
+ /**
158
+ * Result of parsing a canonical model string.
159
+ *
160
+ * Either a successfully parsed {@link ParsedCanonicalModel} or a
161
+ * {@link CanonicalModelParseError} describing why parsing failed.
162
+ */
163
+ type CanonicalModelParseResult = ParsedCanonicalModel | CanonicalModelParseError;
164
+ /** Zod schema for {@link CanonicalModelParseResult}. */
165
+ declare const CanonicalModelParseResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
166
+ kind: z.ZodLiteral<"bare">;
167
+ model: z.ZodString;
168
+ }, z.core.$strip>, z.ZodObject<{
169
+ kind: z.ZodLiteral<"qualified">;
170
+ segment1: z.ZodString;
171
+ segment2: z.ZodOptional<z.ZodString>;
172
+ model: z.ZodString;
173
+ }, z.core.$strip>, z.ZodObject<{
174
+ kind: z.ZodLiteral<"virtual">;
175
+ name: z.ZodString;
176
+ }, z.core.$strip>, z.ZodObject<{
177
+ kind: z.ZodLiteral<"parse-error">;
178
+ code: z.ZodEnum<{
179
+ empty: "empty";
180
+ "empty-model": "empty-model";
181
+ "empty-routing": "empty-routing";
182
+ "empty-segment": "empty-segment";
183
+ "too-many-segments": "too-many-segments";
184
+ "invalid-segment": "invalid-segment";
185
+ "invalid-virtual-name": "invalid-virtual-name";
186
+ "empty-virtual-name": "empty-virtual-name";
187
+ }>;
188
+ message: z.ZodString;
189
+ input: z.ZodString;
190
+ }, z.core.$strip>], "kind">;
191
+ //#endregion
192
+ //#region core/contracts/src/canonical-model/parser.d.ts
193
+ /**
194
+ * Matches a valid routing segment: starts with `[a-z0-9]`, followed by
195
+ * `[a-z0-9._-]*`.
196
+ *
197
+ * Exported so other schema layers can share the same routing constraint.
198
+ */
199
+ declare const SEGMENT_RE: RegExp;
200
+ /**
201
+ * Matches a valid virtual model name: starts with `[a-z0-9]`, followed by
202
+ * `[a-z0-9_-]*`.
203
+ *
204
+ * Exported so host-owned virtual-model schemas can enforce the same naming
205
+ * rule at write time.
206
+ */
207
+ declare const VIRTUAL_NAME_RE: RegExp;
208
+ /**
209
+ * Parse a canonical model string into a structured reference.
210
+ *
211
+ * The grammar is:
212
+ * ```
213
+ * canonical := "~" virtual_model_name
214
+ * | routing "::" model_name
215
+ * | model_name
216
+ *
217
+ * routing := segment
218
+ * | segment "/" segment
219
+ *
220
+ * segment := [a-z0-9][a-z0-9._-]*
221
+ * model_name := <any non-empty string>
222
+ * virtual_model_name := [a-z0-9][a-z0-9_-]*
223
+ * ```
224
+ *
225
+ * Routing segments are lowercased during parsing because they are
226
+ * case-insensitive for matching purposes. Model names are passed through
227
+ * verbatim as they are provider-defined and case-sensitive.
228
+ * @param input - The canonical model string to parse
229
+ * @returns A parsed reference or a parse error
230
+ */
231
+ declare function parseCanonicalModel(input: string): CanonicalModelParseResult;
232
+ /**
233
+ * Type guard for distinguishing parse errors from successful parse results.
234
+ * @param result - The parse result to check
235
+ * @returns `true` when the result is a parse error
236
+ */
237
+ declare function isCanonicalModelParseError(result: CanonicalModelParseResult): result is CanonicalModelParseError;
238
+ //#endregion
239
+ //#region core/contracts/src/canonical-model/selection.d.ts
240
+ /**
241
+ * Agent selection for `kind: 'canonical-model'`.
242
+ *
243
+ * The `model` field carries the canonical model reference string verbatim.
244
+ * Resolution happens immediately at the `AgentResolutionSubjects.resolve`
245
+ * chokepoint, so this kind never persists into runtime spawn paths.
246
+ */
247
+ declare const CanonicalModelSelectionSchema: z.ZodObject<{
248
+ providerConfigId: z.ZodOptional<z.ZodString>;
249
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
250
+ none: "none";
251
+ low: "low";
252
+ medium: "medium";
253
+ high: "high";
254
+ "extra-high": "extra-high";
255
+ }>>;
256
+ cwd: z.ZodOptional<z.ZodString>;
257
+ systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
258
+ mode: z.ZodLiteral<"append">;
259
+ content: z.ZodString;
260
+ }, z.core.$strip>]>>;
261
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
262
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
264
+ mcpSessionContext: z.ZodOptional<z.ZodObject<{
265
+ sessionId: z.ZodString;
266
+ directTools: z.ZodArray<z.ZodObject<{
267
+ fullName: z.ZodString;
268
+ originalName: z.ZodString;
269
+ serverName: z.ZodString;
270
+ description: z.ZodOptional<z.ZodString>;
271
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
272
+ exposureMode: z.ZodEnum<{
273
+ hidden: "hidden";
274
+ discovery: "discovery";
275
+ direct: "direct";
276
+ }>;
277
+ enabled: z.ZodBoolean;
278
+ enabledBy: z.ZodOptional<z.ZodEnum<{
279
+ discovery: "discovery";
280
+ toolset: "toolset";
281
+ }>>;
282
+ enabledAt: z.ZodOptional<z.ZodNumber>;
283
+ exposed: z.ZodBoolean;
284
+ }, z.core.$strip>>;
285
+ servers: z.ZodArray<z.ZodObject<{
286
+ name: z.ZodString;
287
+ transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
288
+ type: z.ZodLiteral<"stdio">;
289
+ command: z.ZodString;
290
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
291
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
292
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
293
+ }, z.core.$strip>, z.ZodObject<{
294
+ url: z.ZodString;
295
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
296
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
297
+ name: z.ZodString;
298
+ permission_policy: z.ZodEnum<{
299
+ always_allow: "always_allow";
300
+ always_ask: "always_ask";
301
+ always_deny: "always_deny";
302
+ }>;
303
+ }, z.core.$strip>>>;
304
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
305
+ type: z.ZodLiteral<"sse">;
306
+ }, z.core.$strip>, z.ZodObject<{
307
+ url: z.ZodString;
308
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
309
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
310
+ name: z.ZodString;
311
+ permission_policy: z.ZodEnum<{
312
+ always_allow: "always_allow";
313
+ always_ask: "always_ask";
314
+ always_deny: "always_deny";
315
+ }>;
316
+ }, z.core.$strip>>>;
317
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
318
+ type: z.ZodLiteral<"http">;
319
+ }, z.core.$strip>], "type">;
320
+ exposureMode: z.ZodEnum<{
321
+ discovery: "discovery";
322
+ direct: "direct";
323
+ }>;
324
+ }, z.core.$strip>>;
325
+ discoverableTools: z.ZodArray<z.ZodObject<{
326
+ fullName: z.ZodString;
327
+ originalName: z.ZodString;
328
+ serverName: z.ZodString;
329
+ description: z.ZodOptional<z.ZodString>;
330
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
331
+ exposureMode: z.ZodEnum<{
332
+ hidden: "hidden";
333
+ discovery: "discovery";
334
+ direct: "direct";
335
+ }>;
336
+ enabled: z.ZodBoolean;
337
+ enabledBy: z.ZodOptional<z.ZodEnum<{
338
+ discovery: "discovery";
339
+ toolset: "toolset";
340
+ }>>;
341
+ enabledAt: z.ZodOptional<z.ZodNumber>;
342
+ exposed: z.ZodBoolean;
343
+ }, z.core.$strip>>;
344
+ }, z.core.$strip>>;
345
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
346
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
347
+ kind: z.ZodLiteral<"canonical-model">;
348
+ model: z.ZodString;
349
+ }, z.core.$loose>;
350
+ type CanonicalModelSelection = z.infer<typeof CanonicalModelSelectionSchema>;
351
+ declare module '@makaio/framework/contracts' {
352
+ interface AgentSelectionKindMap {
353
+ 'canonical-model': CanonicalModelSelection;
354
+ }
355
+ }
356
+ //#endregion
357
+ //#region core/contracts/src/canonical-model/schemas.d.ts
358
+ /**
359
+ * Resolved adapter selection produced by framework canonical-model resolution.
360
+ *
361
+ * Canonical-model resolution is intentionally limited to adapter/provider/model
362
+ * routing. Host-only virtual-model expansion happens at the higher-level
363
+ * agent-resolution seam.
364
+ */
365
+ declare const CanonicalModelResolvedSelectionSchema: z.ZodObject<{
366
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
367
+ none: "none";
368
+ low: "low";
369
+ medium: "medium";
370
+ high: "high";
371
+ "extra-high": "extra-high";
372
+ }>>;
373
+ cwd: z.ZodOptional<z.ZodString>;
374
+ systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
375
+ mode: z.ZodLiteral<"append">;
376
+ content: z.ZodString;
377
+ }, z.core.$strip>]>>;
378
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
379
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
380
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
381
+ mcpSessionContext: z.ZodOptional<z.ZodObject<{
382
+ sessionId: z.ZodString;
383
+ directTools: z.ZodArray<z.ZodObject<{
384
+ fullName: z.ZodString;
385
+ originalName: z.ZodString;
386
+ serverName: z.ZodString;
387
+ description: z.ZodOptional<z.ZodString>;
388
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
389
+ exposureMode: z.ZodEnum<{
390
+ hidden: "hidden";
391
+ discovery: "discovery";
392
+ direct: "direct";
393
+ }>;
394
+ enabled: z.ZodBoolean;
395
+ enabledBy: z.ZodOptional<z.ZodEnum<{
396
+ discovery: "discovery";
397
+ toolset: "toolset";
398
+ }>>;
399
+ enabledAt: z.ZodOptional<z.ZodNumber>;
400
+ exposed: z.ZodBoolean;
401
+ }, z.core.$strip>>;
402
+ servers: z.ZodArray<z.ZodObject<{
403
+ name: z.ZodString;
404
+ transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
405
+ type: z.ZodLiteral<"stdio">;
406
+ command: z.ZodString;
407
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
408
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
409
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
410
+ }, z.core.$strip>, z.ZodObject<{
411
+ url: z.ZodString;
412
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
413
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
414
+ name: z.ZodString;
415
+ permission_policy: z.ZodEnum<{
416
+ always_allow: "always_allow";
417
+ always_ask: "always_ask";
418
+ always_deny: "always_deny";
419
+ }>;
420
+ }, z.core.$strip>>>;
421
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
422
+ type: z.ZodLiteral<"sse">;
423
+ }, z.core.$strip>, z.ZodObject<{
424
+ url: z.ZodString;
425
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
426
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
427
+ name: z.ZodString;
428
+ permission_policy: z.ZodEnum<{
429
+ always_allow: "always_allow";
430
+ always_ask: "always_ask";
431
+ always_deny: "always_deny";
432
+ }>;
433
+ }, z.core.$strip>>>;
434
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
435
+ type: z.ZodLiteral<"http">;
436
+ }, z.core.$strip>], "type">;
437
+ exposureMode: z.ZodEnum<{
438
+ discovery: "discovery";
439
+ direct: "direct";
440
+ }>;
441
+ }, z.core.$strip>>;
442
+ discoverableTools: z.ZodArray<z.ZodObject<{
443
+ fullName: z.ZodString;
444
+ originalName: z.ZodString;
445
+ serverName: z.ZodString;
446
+ description: z.ZodOptional<z.ZodString>;
447
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
448
+ exposureMode: z.ZodEnum<{
449
+ hidden: "hidden";
450
+ discovery: "discovery";
451
+ direct: "direct";
452
+ }>;
453
+ enabled: z.ZodBoolean;
454
+ enabledBy: z.ZodOptional<z.ZodEnum<{
455
+ discovery: "discovery";
456
+ toolset: "toolset";
457
+ }>>;
458
+ enabledAt: z.ZodOptional<z.ZodNumber>;
459
+ exposed: z.ZodBoolean;
460
+ }, z.core.$strip>>;
461
+ }, z.core.$strip>>;
462
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
463
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
464
+ adapterId: z.ZodOptional<z.ZodString>;
465
+ kind: z.ZodLiteral<"adapter">;
466
+ adapterName: z.ZodString;
467
+ providerConfigId: z.ZodString;
468
+ model: z.ZodString;
469
+ }, z.core.$loose>;
470
+ type CanonicalModelResolvedSelection = z.infer<typeof CanonicalModelResolvedSelectionSchema>;
471
+ /**
472
+ * Bus schemas for framework canonical-model resolution.
473
+ *
474
+ * Each key becomes a subject identifier as `canonicalModel.<key>`.
475
+ */
476
+ declare const CanonicalModelSchemas: {
477
+ resolve: {
478
+ request: z.ZodObject<{
479
+ parsed: z.ZodDiscriminatedUnion<[z.ZodObject<{
480
+ kind: z.ZodLiteral<"bare">;
481
+ model: z.ZodString;
482
+ }, z.core.$strip>, z.ZodObject<{
483
+ kind: z.ZodLiteral<"qualified">;
484
+ segment1: z.ZodString;
485
+ segment2: z.ZodOptional<z.ZodString>;
486
+ model: z.ZodString;
487
+ }, z.core.$strip>], "kind">;
488
+ context: z.ZodOptional<z.ZodObject<{
489
+ sessionId: z.ZodOptional<z.ZodString>;
490
+ projectId: z.ZodOptional<z.ZodString>;
491
+ promptText: z.ZodOptional<z.ZodString>;
492
+ sessionContext: z.ZodOptional<z.ZodUnknown>;
493
+ }, z.core.$strip>>;
494
+ }, z.core.$strip>;
495
+ response: z.ZodObject<{
496
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
497
+ none: "none";
498
+ low: "low";
499
+ medium: "medium";
500
+ high: "high";
501
+ "extra-high": "extra-high";
502
+ }>>;
503
+ cwd: z.ZodOptional<z.ZodString>;
504
+ systemPrompt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
505
+ mode: z.ZodLiteral<"append">;
506
+ content: z.ZodString;
507
+ }, z.core.$strip>]>>;
508
+ allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
509
+ disallowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
510
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
511
+ mcpSessionContext: z.ZodOptional<z.ZodObject<{
512
+ sessionId: z.ZodString;
513
+ directTools: z.ZodArray<z.ZodObject<{
514
+ fullName: z.ZodString;
515
+ originalName: z.ZodString;
516
+ serverName: z.ZodString;
517
+ description: z.ZodOptional<z.ZodString>;
518
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
519
+ exposureMode: z.ZodEnum<{
520
+ hidden: "hidden";
521
+ discovery: "discovery";
522
+ direct: "direct";
523
+ }>;
524
+ enabled: z.ZodBoolean;
525
+ enabledBy: z.ZodOptional<z.ZodEnum<{
526
+ discovery: "discovery";
527
+ toolset: "toolset";
528
+ }>>;
529
+ enabledAt: z.ZodOptional<z.ZodNumber>;
530
+ exposed: z.ZodBoolean;
531
+ }, z.core.$strip>>;
532
+ servers: z.ZodArray<z.ZodObject<{
533
+ name: z.ZodString;
534
+ transport: z.ZodDiscriminatedUnion<[z.ZodObject<{
535
+ type: z.ZodLiteral<"stdio">;
536
+ command: z.ZodString;
537
+ args: z.ZodOptional<z.ZodArray<z.ZodString>>;
538
+ env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
539
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
540
+ }, z.core.$strip>, z.ZodObject<{
541
+ url: z.ZodString;
542
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
543
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
544
+ name: z.ZodString;
545
+ permission_policy: z.ZodEnum<{
546
+ always_allow: "always_allow";
547
+ always_ask: "always_ask";
548
+ always_deny: "always_deny";
549
+ }>;
550
+ }, z.core.$strip>>>;
551
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
552
+ type: z.ZodLiteral<"sse">;
553
+ }, z.core.$strip>, z.ZodObject<{
554
+ url: z.ZodString;
555
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
556
+ tools: z.ZodOptional<z.ZodArray<z.ZodObject<{
557
+ name: z.ZodString;
558
+ permission_policy: z.ZodEnum<{
559
+ always_allow: "always_allow";
560
+ always_ask: "always_ask";
561
+ always_deny: "always_deny";
562
+ }>;
563
+ }, z.core.$strip>>>;
564
+ alwaysLoad: z.ZodOptional<z.ZodBoolean>;
565
+ type: z.ZodLiteral<"http">;
566
+ }, z.core.$strip>], "type">;
567
+ exposureMode: z.ZodEnum<{
568
+ discovery: "discovery";
569
+ direct: "direct";
570
+ }>;
571
+ }, z.core.$strip>>;
572
+ discoverableTools: z.ZodArray<z.ZodObject<{
573
+ fullName: z.ZodString;
574
+ originalName: z.ZodString;
575
+ serverName: z.ZodString;
576
+ description: z.ZodOptional<z.ZodString>;
577
+ inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
578
+ exposureMode: z.ZodEnum<{
579
+ hidden: "hidden";
580
+ discovery: "discovery";
581
+ direct: "direct";
582
+ }>;
583
+ enabled: z.ZodBoolean;
584
+ enabledBy: z.ZodOptional<z.ZodEnum<{
585
+ discovery: "discovery";
586
+ toolset: "toolset";
587
+ }>>;
588
+ enabledAt: z.ZodOptional<z.ZodNumber>;
589
+ exposed: z.ZodBoolean;
590
+ }, z.core.$strip>>;
591
+ }, z.core.$strip>>;
592
+ allowedDirectories: z.ZodOptional<z.ZodArray<z.ZodString>>;
593
+ adapterConfig: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
594
+ adapterId: z.ZodOptional<z.ZodString>;
595
+ kind: z.ZodLiteral<"adapter">;
596
+ adapterName: z.ZodString;
597
+ providerConfigId: z.ZodString;
598
+ model: z.ZodString;
599
+ }, z.core.$loose>;
600
+ };
601
+ };
602
+ //#endregion
603
+ //#region core/contracts/src/canonical-model/namespace.d.ts
604
+ /** Bus namespace definition for framework canonical-model resolution. */
605
+ declare const CanonicalModelNamespace: _$_makaio_core0.BusNamespaceDefinition<"canonicalModel", {
606
+ resolve: {
607
+ request: _$zod.ZodObject<{
608
+ parsed: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
609
+ kind: _$zod.ZodLiteral<"bare">;
610
+ model: _$zod.ZodString;
611
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
612
+ kind: _$zod.ZodLiteral<"qualified">;
613
+ segment1: _$zod.ZodString;
614
+ segment2: _$zod.ZodOptional<_$zod.ZodString>;
615
+ model: _$zod.ZodString;
616
+ }, _$zod_v4_core0.$strip>], "kind">;
617
+ context: _$zod.ZodOptional<_$zod.ZodObject<{
618
+ sessionId: _$zod.ZodOptional<_$zod.ZodString>;
619
+ projectId: _$zod.ZodOptional<_$zod.ZodString>;
620
+ promptText: _$zod.ZodOptional<_$zod.ZodString>;
621
+ sessionContext: _$zod.ZodOptional<_$zod.ZodUnknown>;
622
+ }, _$zod_v4_core0.$strip>>;
623
+ }, _$zod_v4_core0.$strip>;
624
+ response: _$zod.ZodObject<{
625
+ reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
626
+ none: "none";
627
+ low: "low";
628
+ medium: "medium";
629
+ high: "high";
630
+ "extra-high": "extra-high";
631
+ }>>;
632
+ cwd: _$zod.ZodOptional<_$zod.ZodString>;
633
+ systemPrompt: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
634
+ mode: _$zod.ZodLiteral<"append">;
635
+ content: _$zod.ZodString;
636
+ }, _$zod_v4_core0.$strip>]>>;
637
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
638
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
639
+ env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
640
+ mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
641
+ sessionId: _$zod.ZodString;
642
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
643
+ fullName: _$zod.ZodString;
644
+ originalName: _$zod.ZodString;
645
+ serverName: _$zod.ZodString;
646
+ description: _$zod.ZodOptional<_$zod.ZodString>;
647
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
648
+ exposureMode: _$zod.ZodEnum<{
649
+ hidden: "hidden";
650
+ discovery: "discovery";
651
+ direct: "direct";
652
+ }>;
653
+ enabled: _$zod.ZodBoolean;
654
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
655
+ discovery: "discovery";
656
+ toolset: "toolset";
657
+ }>>;
658
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
659
+ exposed: _$zod.ZodBoolean;
660
+ }, _$zod_v4_core0.$strip>>;
661
+ servers: _$zod.ZodArray<_$zod.ZodObject<{
662
+ name: _$zod.ZodString;
663
+ transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
664
+ type: _$zod.ZodLiteral<"stdio">;
665
+ command: _$zod.ZodString;
666
+ args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
667
+ env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
668
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
669
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
670
+ url: _$zod.ZodString;
671
+ headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
672
+ tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
673
+ name: _$zod.ZodString;
674
+ permission_policy: _$zod.ZodEnum<{
675
+ always_allow: "always_allow";
676
+ always_ask: "always_ask";
677
+ always_deny: "always_deny";
678
+ }>;
679
+ }, _$zod_v4_core0.$strip>>>;
680
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
681
+ type: _$zod.ZodLiteral<"sse">;
682
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
683
+ url: _$zod.ZodString;
684
+ headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
685
+ tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
686
+ name: _$zod.ZodString;
687
+ permission_policy: _$zod.ZodEnum<{
688
+ always_allow: "always_allow";
689
+ always_ask: "always_ask";
690
+ always_deny: "always_deny";
691
+ }>;
692
+ }, _$zod_v4_core0.$strip>>>;
693
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
694
+ type: _$zod.ZodLiteral<"http">;
695
+ }, _$zod_v4_core0.$strip>], "type">;
696
+ exposureMode: _$zod.ZodEnum<{
697
+ discovery: "discovery";
698
+ direct: "direct";
699
+ }>;
700
+ }, _$zod_v4_core0.$strip>>;
701
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
702
+ fullName: _$zod.ZodString;
703
+ originalName: _$zod.ZodString;
704
+ serverName: _$zod.ZodString;
705
+ description: _$zod.ZodOptional<_$zod.ZodString>;
706
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
707
+ exposureMode: _$zod.ZodEnum<{
708
+ hidden: "hidden";
709
+ discovery: "discovery";
710
+ direct: "direct";
711
+ }>;
712
+ enabled: _$zod.ZodBoolean;
713
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
714
+ discovery: "discovery";
715
+ toolset: "toolset";
716
+ }>>;
717
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
718
+ exposed: _$zod.ZodBoolean;
719
+ }, _$zod_v4_core0.$strip>>;
720
+ }, _$zod_v4_core0.$strip>>;
721
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
722
+ adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
723
+ adapterId: _$zod.ZodOptional<_$zod.ZodString>;
724
+ kind: _$zod.ZodLiteral<"adapter">;
725
+ adapterName: _$zod.ZodString;
726
+ providerConfigId: _$zod.ZodString;
727
+ model: _$zod.ZodString;
728
+ }, _$zod_v4_core0.$loose>;
729
+ };
730
+ }>;
731
+ /** Typed subjects for canonical model bus operations. */
732
+ declare const CanonicalModelSubjects: _$_makaio_core0.BusSubjects<_$_makaio_core0.FlatSubjectDefinitions<"canonicalModel", {
733
+ resolve: {
734
+ request: _$zod.ZodObject<{
735
+ parsed: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
736
+ kind: _$zod.ZodLiteral<"bare">;
737
+ model: _$zod.ZodString;
738
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
739
+ kind: _$zod.ZodLiteral<"qualified">;
740
+ segment1: _$zod.ZodString;
741
+ segment2: _$zod.ZodOptional<_$zod.ZodString>;
742
+ model: _$zod.ZodString;
743
+ }, _$zod_v4_core0.$strip>], "kind">;
744
+ context: _$zod.ZodOptional<_$zod.ZodObject<{
745
+ sessionId: _$zod.ZodOptional<_$zod.ZodString>;
746
+ projectId: _$zod.ZodOptional<_$zod.ZodString>;
747
+ promptText: _$zod.ZodOptional<_$zod.ZodString>;
748
+ sessionContext: _$zod.ZodOptional<_$zod.ZodUnknown>;
749
+ }, _$zod_v4_core0.$strip>>;
750
+ }, _$zod_v4_core0.$strip>;
751
+ response: _$zod.ZodObject<{
752
+ reasoningEffort: _$zod.ZodOptional<_$zod.ZodEnum<{
753
+ none: "none";
754
+ low: "low";
755
+ medium: "medium";
756
+ high: "high";
757
+ "extra-high": "extra-high";
758
+ }>>;
759
+ cwd: _$zod.ZodOptional<_$zod.ZodString>;
760
+ systemPrompt: _$zod.ZodOptional<_$zod.ZodUnion<readonly [_$zod.ZodString, _$zod.ZodObject<{
761
+ mode: _$zod.ZodLiteral<"append">;
762
+ content: _$zod.ZodString;
763
+ }, _$zod_v4_core0.$strip>]>>;
764
+ allowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
765
+ disallowedTools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
766
+ env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
767
+ mcpSessionContext: _$zod.ZodOptional<_$zod.ZodObject<{
768
+ sessionId: _$zod.ZodString;
769
+ directTools: _$zod.ZodArray<_$zod.ZodObject<{
770
+ fullName: _$zod.ZodString;
771
+ originalName: _$zod.ZodString;
772
+ serverName: _$zod.ZodString;
773
+ description: _$zod.ZodOptional<_$zod.ZodString>;
774
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
775
+ exposureMode: _$zod.ZodEnum<{
776
+ hidden: "hidden";
777
+ discovery: "discovery";
778
+ direct: "direct";
779
+ }>;
780
+ enabled: _$zod.ZodBoolean;
781
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
782
+ discovery: "discovery";
783
+ toolset: "toolset";
784
+ }>>;
785
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
786
+ exposed: _$zod.ZodBoolean;
787
+ }, _$zod_v4_core0.$strip>>;
788
+ servers: _$zod.ZodArray<_$zod.ZodObject<{
789
+ name: _$zod.ZodString;
790
+ transport: _$zod.ZodDiscriminatedUnion<[_$zod.ZodObject<{
791
+ type: _$zod.ZodLiteral<"stdio">;
792
+ command: _$zod.ZodString;
793
+ args: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
794
+ env: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
795
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
796
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
797
+ url: _$zod.ZodString;
798
+ headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
799
+ tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
800
+ name: _$zod.ZodString;
801
+ permission_policy: _$zod.ZodEnum<{
802
+ always_allow: "always_allow";
803
+ always_ask: "always_ask";
804
+ always_deny: "always_deny";
805
+ }>;
806
+ }, _$zod_v4_core0.$strip>>>;
807
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
808
+ type: _$zod.ZodLiteral<"sse">;
809
+ }, _$zod_v4_core0.$strip>, _$zod.ZodObject<{
810
+ url: _$zod.ZodString;
811
+ headers: _$zod.ZodOptional<_$zod.ZodRecord<_$zod.ZodString, _$zod.ZodString>>;
812
+ tools: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodObject<{
813
+ name: _$zod.ZodString;
814
+ permission_policy: _$zod.ZodEnum<{
815
+ always_allow: "always_allow";
816
+ always_ask: "always_ask";
817
+ always_deny: "always_deny";
818
+ }>;
819
+ }, _$zod_v4_core0.$strip>>>;
820
+ alwaysLoad: _$zod.ZodOptional<_$zod.ZodBoolean>;
821
+ type: _$zod.ZodLiteral<"http">;
822
+ }, _$zod_v4_core0.$strip>], "type">;
823
+ exposureMode: _$zod.ZodEnum<{
824
+ discovery: "discovery";
825
+ direct: "direct";
826
+ }>;
827
+ }, _$zod_v4_core0.$strip>>;
828
+ discoverableTools: _$zod.ZodArray<_$zod.ZodObject<{
829
+ fullName: _$zod.ZodString;
830
+ originalName: _$zod.ZodString;
831
+ serverName: _$zod.ZodString;
832
+ description: _$zod.ZodOptional<_$zod.ZodString>;
833
+ inputSchema: _$zod.ZodRecord<_$zod.ZodString, _$zod.ZodUnknown>;
834
+ exposureMode: _$zod.ZodEnum<{
835
+ hidden: "hidden";
836
+ discovery: "discovery";
837
+ direct: "direct";
838
+ }>;
839
+ enabled: _$zod.ZodBoolean;
840
+ enabledBy: _$zod.ZodOptional<_$zod.ZodEnum<{
841
+ discovery: "discovery";
842
+ toolset: "toolset";
843
+ }>>;
844
+ enabledAt: _$zod.ZodOptional<_$zod.ZodNumber>;
845
+ exposed: _$zod.ZodBoolean;
846
+ }, _$zod_v4_core0.$strip>>;
847
+ }, _$zod_v4_core0.$strip>>;
848
+ allowedDirectories: _$zod.ZodOptional<_$zod.ZodArray<_$zod.ZodString>>;
849
+ adapterConfig: _$zod.ZodOptional<_$zod.ZodType<Record<string, unknown>, Record<string, unknown>, _$zod_v4_core0.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
850
+ adapterId: _$zod.ZodOptional<_$zod.ZodString>;
851
+ kind: _$zod.ZodLiteral<"adapter">;
852
+ adapterName: _$zod.ZodString;
853
+ providerConfigId: _$zod.ZodString;
854
+ model: _$zod.ZodString;
855
+ }, _$zod_v4_core0.$loose>;
856
+ };
857
+ }>, "canonicalModel">;
858
+ //#endregion
859
+ export { QualifiedModelRef as C, VirtualModelRef as D, ResolvableCanonicalModelSchema as E, VirtualModelRefSchema as O, ParsedCanonicalModelSchema as S, ResolvableCanonicalModel as T, CanonicalModelParseErrorCodeSchema as _, CanonicalModelSchemas as a, CanonicalModelParseResultSchema as b, SEGMENT_RE as c, parseCanonicalModel as d, BareModelRef as f, CanonicalModelParseErrorCode as g, CanonicalModelParseError as h, CanonicalModelResolvedSelectionSchema as i, VIRTUAL_NAME_RE as l, CANONICAL_MODEL_PARSE_ERROR_CODES as m, CanonicalModelSubjects as n, CanonicalModelSelection as o, BareModelRefSchema as p, CanonicalModelResolvedSelection as r, CanonicalModelSelectionSchema as s, CanonicalModelNamespace as t, isCanonicalModelParseError as u, CanonicalModelParseErrorSchema as v, QualifiedModelRefSchema as w, ParsedCanonicalModel as x, CanonicalModelParseResult as y };