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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (449) hide show
  1. package/dist/.makaio-build.json +2 -2
  2. package/dist/account-identity-BYfeWLe-.mjs +1 -0
  3. package/dist/adapter-auth-runtime-a4O7cSNP.mjs +1 -0
  4. package/dist/adapter-binding-DDUyv1JK.d.mts +254 -0
  5. package/dist/{adapter-CA8rPIUz.mjs → adapter-nl_xz9dz.mjs} +1 -1
  6. package/dist/adapter-subsystem/index.d.mts +110 -5
  7. package/dist/adapter-subsystem/index.mjs +1 -1
  8. package/dist/adapters/acp-client/index.d.mts +10 -0
  9. package/dist/adapters/acp-client/index.mjs +2 -2
  10. package/dist/adapters/config/index.d.mts +176 -153
  11. package/dist/adapters/config/index.mjs +1 -1
  12. package/dist/adapters/index.d.mts +1021 -1005
  13. package/dist/adapters/index.mjs +6 -6
  14. package/dist/adapters/node.d.mts +1 -1
  15. package/dist/adapters/node.mjs +1 -1
  16. package/dist/adapters/stream-session/index.d.mts +7 -5
  17. package/dist/adapters/stream-session/index.mjs +1 -1
  18. package/dist/auth-C3NOWqTU.mjs +1 -0
  19. package/dist/{base-orchestrator-J1WKAUkF.d.mts → base-orchestrator-BiShpVKL.d.mts} +6 -0
  20. package/dist/bus/index.d.mts +21 -21
  21. package/dist/bus/index.mjs +1 -1
  22. package/dist/{canonical-model-DV-Z8gsb.mjs → canonical-model-CVRCW9h7.mjs} +1 -1
  23. package/dist/client-BkpLM8Fx.mjs +1 -0
  24. package/dist/client-binary-version-verifier-BK_vIjIo.mjs +2 -0
  25. package/dist/client-binary-version-verifier-BwrMTAh2.d.mts +179 -0
  26. package/dist/clients/index.d.mts +74 -90
  27. package/dist/clients/index.mjs +1 -2
  28. package/dist/clients/managed-install.d.mts +2 -0
  29. package/dist/clients/managed-install.mjs +1 -0
  30. package/dist/{clients-namespace-Bt_VTkEU.d.mts → clients-namespace-B96QIJOs.d.mts} +224 -21
  31. package/dist/compression-CZ_6fYq8.mjs +1 -0
  32. package/dist/config-namespace-DTA6EQL8.mjs +1 -0
  33. package/dist/{config-namespace-DqdFE6zk.d.mts → config-namespace-x0fuhEXe.d.mts} +73 -1
  34. package/dist/contracts/adapter/index.d.mts +3 -3
  35. package/dist/contracts/adapter/index.mjs +1 -1
  36. package/dist/contracts/adapter/schemas/session-lineage.d.mts +1 -1
  37. package/dist/contracts/artifact/index.d.mts +1 -1
  38. package/dist/contracts/auth/index.d.mts +3 -0
  39. package/dist/contracts/auth/index.mjs +1 -0
  40. package/dist/contracts/canonical-model/index.d.mts +1 -1
  41. package/dist/contracts/canonical-model/index.mjs +1 -1
  42. package/dist/contracts/client/index.d.mts +3 -3
  43. package/dist/contracts/client/index.mjs +1 -1
  44. package/dist/contracts/common/index.d.mts +1 -1
  45. package/dist/contracts/config/index.d.mts +20 -93
  46. package/dist/contracts/config/index.mjs +1 -1
  47. package/dist/contracts/extension/index.d.mts +3 -3
  48. package/dist/contracts/extension/index.mjs +1 -1
  49. package/dist/contracts/facet/index.d.mts +1 -1
  50. package/dist/contracts/facet/index.mjs +1 -1
  51. package/dist/contracts/harness/index.d.mts +1 -1
  52. package/dist/contracts/harness/index.mjs +1 -1
  53. package/dist/contracts/host/index.d.mts +1 -1
  54. package/dist/contracts/host/index.mjs +1 -1
  55. package/dist/contracts/index.d.mts +1214 -261
  56. package/dist/contracts/index.mjs +1 -1
  57. package/dist/contracts/materialization/index.d.mts +3 -3
  58. package/dist/contracts/materialization/index.mjs +1 -1
  59. package/dist/contracts/model-registry/index.d.mts +1 -1
  60. package/dist/contracts/model-registry/index.mjs +1 -1
  61. package/dist/contracts/native-session-supervisor/index.d.mts +1 -1
  62. package/dist/contracts/native-session-supervisor/index.mjs +1 -1
  63. package/dist/contracts/platform/index.d.mts +1 -1
  64. package/dist/contracts/platform/index.mjs +1 -1
  65. package/dist/contracts/provider/index.d.mts +2 -2
  66. package/dist/contracts/provider/index.mjs +1 -1
  67. package/dist/contracts/session/index.d.mts +2 -2
  68. package/dist/contracts/session/index.mjs +1 -1
  69. package/dist/contracts/shared/index.d.mts +2 -2
  70. package/dist/contracts/shared/index.mjs +1 -1
  71. package/dist/contracts/skill/index.d.mts +1 -1
  72. package/dist/contracts/skill/index.mjs +1 -1
  73. package/dist/contracts/telemetry/index.d.mts +1 -1
  74. package/dist/contracts/telemetry/index.mjs +1 -1
  75. package/dist/contracts/timeout/index.d.mts +1 -1
  76. package/dist/contracts/timeout/index.mjs +1 -1
  77. package/dist/contracts/toast/index.mjs +1 -1
  78. package/dist/contracts/variant/index.d.mts +1 -1
  79. package/dist/contracts/variant/index.mjs +1 -1
  80. package/dist/contracts/workflow/index.d.mts +2 -2
  81. package/dist/contracts/workflow/index.mjs +1 -1
  82. package/dist/{definition-s9PIua2B.d.mts → definition-Bj9Vr16H.d.mts} +1 -1
  83. package/dist/{definition-Cllhr9mi.d.mts → definition-BsTlOz99.d.mts} +36 -4
  84. package/dist/{definition-CuJvtYeG.d.mts → definition-Cbl0k6Fc.d.mts} +31 -1
  85. package/dist/definition-K3m51lgO.mjs +1 -0
  86. package/dist/definitions-C1pgx0Nq.mjs +1 -0
  87. package/dist/{detached-extension-handle-Cx6-0eqg.mjs → detached-extension-handle-CTaQoolf.mjs} +1 -1
  88. package/dist/execution-target-Bg2wpfML.mjs +1 -0
  89. package/dist/{extension-CJClssfp.mjs → extension-CjTu6mzW.mjs} +1 -1
  90. package/dist/extension-D4iKUUMG.mjs +1 -0
  91. package/dist/{filesystem-service-Bmyqo6po.mjs → filesystem-service-maY_P3yA.mjs} +1 -1
  92. package/dist/git/index.mjs +1 -1
  93. package/dist/{globby-D4SANVoq.mjs → globby-CisClzat.mjs} +1 -1
  94. package/dist/handlers-RGs3eC9X.mjs +57 -0
  95. package/dist/{harness-DkUpbsuY.mjs → harness-DflvHAGV.mjs} +1 -1
  96. package/dist/{index-C23g_M_J2.d.mts → index-5s_dN3cg2.d.mts} +18 -1
  97. package/dist/index-9dISOTLT.d.mts +174 -0
  98. package/dist/{index-B9d_8_V2.d.mts → index-9g0agW_p.d.mts} +55 -55
  99. package/dist/{index-DoEF9LAc.d.mts → index-BcejR1Jc.d.mts} +3 -3
  100. package/dist/index-BsEvzFey.d.mts +1175 -0
  101. package/dist/{index-ntS1EXlf.d.mts → index-BtL7ONuM.d.mts} +1 -1
  102. package/dist/index-BxuiHVFi.d.mts +284 -0
  103. package/dist/{index-PIlYSC73.d.mts → index-C9Q1E8Y-.d.mts} +66 -53
  104. package/dist/{index-CaerrEDH.d.mts → index-CB2XTzvd.d.mts} +3 -3
  105. package/dist/{index-Cx1Bm6WD.d.mts → index-CVs0Qxks.d.mts} +8 -8
  106. package/dist/{index-WHUV7neB.d.mts → index-CW6-0k3Z.d.mts} +105 -105
  107. package/dist/index-CagRgpXI2.d.mts +84 -0
  108. package/dist/{index-DZPNuWMc.d.mts → index-Cw3cjGAT.d.mts} +7 -7
  109. package/dist/{index-DnnKUwHm.d.mts → index-D5IEq4_E.d.mts} +36 -32
  110. package/dist/{index-h5go5Dtd.d.mts → index-D75FnT0B.d.mts} +1 -1
  111. package/dist/{index-O08Q2ikz.d.mts → index-DNc1yLQs.d.mts} +8 -8
  112. package/dist/{index-FFVwQMad.d.mts → index-DlUPWOh4.d.mts} +737 -97
  113. package/dist/{index-DScUb-hF.d.mts → index-Do7Wgio_2.d.mts} +35 -12
  114. package/dist/{index-C9FCWOhp.d.mts → index-DxatNFz7.d.mts} +124 -22
  115. package/dist/{index-BvTd61i5.d.mts → index-T96ydgVk.d.mts} +260 -160
  116. package/dist/{index-DLNRgZPo2.d.mts → index-j2YlW_Fc.d.mts} +1 -1
  117. package/dist/{index-BcvG3wPv.d.mts → index-p6dWV52m.d.mts} +513 -373
  118. package/dist/{index-B2DjrVb8.d.mts → index-sCOlgPyj.d.mts} +1589 -482
  119. package/dist/kernel/cli/index.d.mts +2 -2
  120. package/dist/kernel/cli/index.mjs +1 -1
  121. package/dist/kernel/cli/register.d.mts +1 -1
  122. package/dist/kernel/cli/register.mjs +1 -1
  123. package/dist/kernel/cli/schemas.mjs +1 -1
  124. package/dist/kernel/extension/index.d.mts +1 -1
  125. package/dist/kernel/extension/index.mjs +1 -1
  126. package/dist/kernel/index.d.mts +5 -5
  127. package/dist/kernel/index.mjs +1 -1
  128. package/dist/kernel/namespace/index.d.mts +1 -1
  129. package/dist/kernel/namespace/index.mjs +1 -1
  130. package/dist/kernel/observability/index.d.mts +1 -1
  131. package/dist/kernel/observability/index.mjs +1 -1
  132. package/dist/kernel/providers/index.d.mts +1 -1
  133. package/dist/kernel/providers/index.mjs +1 -1
  134. package/dist/kernel/window/index.d.mts +1 -1
  135. package/dist/kernel/window/index.mjs +1 -1
  136. package/dist/{lib-BOmKyjWD.mjs → lib-DIVnpS8e.mjs} +1 -1
  137. package/dist/{lib-DLZYp5z3.mjs → lib-DymjnkAP.mjs} +1 -1
  138. package/dist/{load-extensions-Cze1RHcG.mjs → load-extensions-BtUrq2_t.mjs} +1 -1
  139. package/dist/{load-extensions-DNRIy4zC.d.mts → load-extensions-_EnedkUp.d.mts} +1 -1
  140. package/dist/{loop-gate-handlers-o2B5FPdF.mjs → loop-gate-handlers-0a3dIY8O.mjs} +1 -1
  141. package/dist/mcp-http-server/index.mjs +1 -1
  142. package/dist/model-uE5IyUFJ.mjs +1 -0
  143. package/dist/namespace-C05pkLbN.mjs +1 -0
  144. package/dist/{namespace-D8P8Sxce2.d.mts → namespace-CGgOLxiW2.d.mts} +2 -2
  145. package/dist/{namespace-BGIeqwfU.d.mts → namespace-CQBSXm1U.d.mts} +20 -20
  146. package/dist/{namespace-CfvtDD_U.d.mts → namespace-CfgtqUWS.d.mts} +156 -156
  147. package/dist/{namespace-D9PLFmPQ.d.mts → namespace-CpyL93kW.d.mts} +27 -27
  148. package/dist/{namespace-CZK2ff3B.d.mts → namespace-D3SQQgxa2.d.mts} +1 -1
  149. package/dist/namespace-D7pE2QWv.mjs +1 -0
  150. package/dist/{namespace-dFBD2ZmS.mjs → namespace-DwQtzlY-.mjs} +1 -1
  151. package/dist/namespace-HsI0Jbbr.mjs +1 -0
  152. package/dist/namespace-VmsT_tLJ.d.mts +3729 -0
  153. package/dist/namespace-Xp9-g_r-.mjs +1 -0
  154. package/dist/{native-session-supervisor-7ElwM6Is.mjs → native-session-supervisor-CdtVGWA9.mjs} +1 -1
  155. package/dist/node/bus-server/index.d.mts +1 -1
  156. package/dist/node/bus-server/index.mjs +1 -1
  157. package/dist/node/bus-server/server-lifecycle.d.mts +1 -1
  158. package/dist/node/bus-server/server-lifecycle.mjs +1 -1
  159. package/dist/node/transports/index.d.mts +36 -1
  160. package/dist/node/transports/index.mjs +2 -2
  161. package/dist/{orchestrator-shared-ChygCvR1.mjs → orchestrator-shared-DAkGOu9H.mjs} +1 -1
  162. package/dist/{orchestrator-shared-DFLb1otg.d.mts → orchestrator-shared-pxtyNu3W.d.mts} +13 -6
  163. package/dist/{package-Co_GO3UD.mjs → package-0gVhAVkO.mjs} +1 -1
  164. package/dist/package-BwvGaKwn.mjs +1 -0
  165. package/dist/package.json +1 -1
  166. package/dist/{profile-BMBXUqqh.mjs → profile-D2m94ZYD.mjs} +1 -1
  167. package/dist/provider-context-BYkMl--1.mjs +1 -0
  168. package/dist/provider-context-DOsjOjiR.mjs +1 -0
  169. package/dist/{providers-namespace-5GoTlHXz.d.mts → providers-namespace-O4de1tgO.d.mts} +161 -14
  170. package/dist/resolved-O2XXjTeu.mjs +1 -0
  171. package/dist/rules/index.d.mts +1 -1
  172. package/dist/rules/index.mjs +1 -1
  173. package/dist/rules/schemas.d.mts +1 -1
  174. package/dist/runtime-bun/index.mjs +1 -1
  175. package/dist/runtime-node/client-binary-strategy-dependencies.d.mts +34 -0
  176. package/dist/runtime-node/client-binary-strategy-dependencies.mjs +1 -0
  177. package/dist/runtime-node/extension-discovery.d.mts +1 -1
  178. package/dist/runtime-node/extension-validation.d.mts +1 -1
  179. package/dist/runtime-node/extension-validation.mjs +1 -1
  180. package/dist/runtime-node/index.d.mts +32 -6
  181. package/dist/runtime-node/index.mjs +24 -24
  182. package/dist/runtime-node/makaio-config.d.mts +1 -1
  183. package/dist/runtime-node/makaio-config.mjs +1 -1
  184. package/dist/runtime-node/workflow-worker/index.d.mts +1 -1
  185. package/dist/runtime-node/workflow-worker/index.mjs +1 -1
  186. package/dist/runtime-node/workflow-worker/worker-entry.mjs +1 -1
  187. package/dist/{schema-7aKBGB7S.mjs → schema-BI0aCHvV.mjs} +1 -1
  188. package/dist/{schema-B5vHi7Uu.d.mts → schema-BnTOFCdU.d.mts} +1 -1
  189. package/dist/{schemas-Br-rSxPE2.d.mts → schemas--uwN5dfK2.d.mts} +11 -11
  190. package/dist/schemas-C-J4W1ID.mjs +1 -0
  191. package/dist/{schemas-CoFCV42v.d.mts → schemas-C17AifUQ.d.mts} +156 -156
  192. package/dist/schemas-D6lj9NMg.mjs +1 -0
  193. package/dist/schemas-K3Td_WdR.d.mts +3175 -0
  194. package/dist/schemas-n9Ff6_RX.mjs +1 -0
  195. package/dist/selection-YRuVSdck.mjs +1 -0
  196. package/dist/services/adapter-runtime/index.d.mts +3 -3
  197. package/dist/services/adapter-runtime/index.mjs +1 -1
  198. package/dist/services/adapter-runtime/namespace.d.mts +1 -1
  199. package/dist/services/adapter-runtime/schemas.d.mts +1 -1
  200. package/dist/services/adapter-subsystem/index.d.mts +4 -3
  201. package/dist/services/adapter-subsystem/index.mjs +1 -1
  202. package/dist/services/adapter-subsystem/namespace.d.mts +1 -1
  203. package/dist/services/adapter-subsystem/namespace.mjs +1 -1
  204. package/dist/services/agent-runtime/index.d.mts +2 -2
  205. package/dist/services/agent-runtime/namespace.d.mts +1 -1
  206. package/dist/services/agent-runtime/schemas.d.mts +1 -1
  207. package/dist/services/capability/index.d.mts +1 -1
  208. package/dist/services/capability/index.mjs +1 -1
  209. package/dist/services/codebase/index.d.mts +2 -2
  210. package/dist/services/codebase/namespace.d.mts +1 -1
  211. package/dist/services/codebase/schemas.d.mts +1 -1
  212. package/dist/services/compression/index.d.mts +2 -2
  213. package/dist/services/compression/namespace.d.mts +1 -1
  214. package/dist/services/compression/schemas.d.mts +1 -1
  215. package/dist/services/context-rules/index.d.mts +1 -1
  216. package/dist/services/context-rules/index.mjs +1 -1
  217. package/dist/services/definition/namespace.d.mts +1 -19
  218. package/dist/services/definition/schemas.d.mts +0 -9
  219. package/dist/services/definition/schemas.mjs +1 -1
  220. package/dist/services/execution-target/index.d.mts +4 -4
  221. package/dist/services/execution-target/index.mjs +1 -1
  222. package/dist/services/execution-target/namespace.d.mts +1 -1
  223. package/dist/services/execution-target/namespace.mjs +1 -1
  224. package/dist/services/execution-target/schemas.d.mts +1 -1
  225. package/dist/services/execution-target/schemas.mjs +1 -1
  226. package/dist/services/filesystem/index.d.mts +1 -1
  227. package/dist/services/filesystem/index.mjs +1 -1
  228. package/dist/services/filesystem/namespace.d.mts +6 -6
  229. package/dist/services/filesystem/schemas.d.mts +3 -3
  230. package/dist/services/git/namespace.mjs +1 -1
  231. package/dist/services/git/schemas.mjs +1 -1
  232. package/dist/services/harness/index.d.mts +6 -6
  233. package/dist/services/harness/index.mjs +1 -1
  234. package/dist/services/index.d.mts +1671 -253
  235. package/dist/services/index.mjs +1 -1
  236. package/dist/services/log-import/browser.d.mts +2 -2
  237. package/dist/services/log-import/index.d.mts +2 -2
  238. package/dist/services/log-import/log-import.d.mts +1 -1
  239. package/dist/services/log-import/log-import.mjs +1 -1
  240. package/dist/services/log-import/namespace.mjs +1 -1
  241. package/dist/services/log-import/schemas.mjs +1 -1
  242. package/dist/services/model-registry/index.d.mts +1 -1
  243. package/dist/services/model-registry/index.mjs +1 -1
  244. package/dist/services/preferences/index.d.mts +2 -2
  245. package/dist/services/preferences/schemas.d.mts +1 -1
  246. package/dist/services/preferences/storage-namespace.d.mts +2 -2
  247. package/dist/services/provider-context/index.d.mts +2 -2
  248. package/dist/services/provider-context/index.mjs +1 -1
  249. package/dist/services/provider-runtime/index.d.mts +18 -0
  250. package/dist/services/provider-runtime/index.mjs +1 -1
  251. package/dist/services/session/handlers/index.d.mts +1 -1
  252. package/dist/services/session/handlers/index.mjs +1 -1
  253. package/dist/services/session/index.d.mts +10 -10
  254. package/dist/services/session/index.mjs +1 -1
  255. package/dist/services/session/messages/namespace.d.mts +1 -1
  256. package/dist/services/session/messages/namespace.mjs +1 -1
  257. package/dist/services/session/orchestrator-testing/index.d.mts +1 -1
  258. package/dist/services/session/orchestrator-testing/index.mjs +1 -1
  259. package/dist/services/session/session-events/namespace.d.mts +1 -1
  260. package/dist/services/session/session-events/namespace.mjs +1 -1
  261. package/dist/services/session/storage/namespace.d.mts +1 -1
  262. package/dist/services/session/storage/schema.d.mts +1 -1
  263. package/dist/services/session/testing/index.d.mts +2 -2
  264. package/dist/services/session/testing/index.mjs +10 -10
  265. package/dist/services/session/testing/orchestrator-shared.d.mts +1 -1
  266. package/dist/services/session/testing/orchestrator-shared.mjs +1 -1
  267. package/dist/services/session/turns/namespace.d.mts +1 -1
  268. package/dist/services/session/turns/namespace.mjs +1 -1
  269. package/dist/services/session-editor/index.d.mts +1 -1
  270. package/dist/services/session-editor/index.mjs +1 -1
  271. package/dist/services/settings/index.d.mts +3 -3
  272. package/dist/services/settings/index.mjs +1 -1
  273. package/dist/services/settings/namespace.d.mts +18 -25
  274. package/dist/services/settings/namespace.mjs +1 -1
  275. package/dist/services/settings/storage/clients-namespace.d.mts +1 -1
  276. package/dist/services/settings/storage/clients-namespace.mjs +1 -1
  277. package/dist/services/settings/storage/index.d.mts +3 -3
  278. package/dist/services/settings/storage/index.mjs +1 -1
  279. package/dist/services/settings/storage/providers-namespace.d.mts +1 -1
  280. package/dist/services/settings/storage/providers-namespace.mjs +1 -1
  281. package/dist/services/subagent/index.d.mts +2 -2
  282. package/dist/services/subagent/index.mjs +1 -1
  283. package/dist/services/subagent-template/index.d.mts +2 -2
  284. package/dist/services/subagent-template/namespace.d.mts +1 -1
  285. package/dist/services/subagent-template/schemas.d.mts +1 -1
  286. package/dist/services/tool-approval/index.d.mts +1 -1
  287. package/dist/services/tool-approval/index.mjs +1 -1
  288. package/dist/services/tools/index.d.mts +1 -1
  289. package/dist/services/tools/index.mjs +1 -1
  290. package/dist/services/tray-menu/index.d.mts +3 -3
  291. package/dist/services/tray-menu/index.mjs +1 -1
  292. package/dist/services/tray-menu/namespace.d.mts +1 -1
  293. package/dist/services/tray-menu/schemas.d.mts +1 -1
  294. package/dist/services/turn/index.d.mts +1 -1
  295. package/dist/services/turn/namespace.d.mts +1 -1
  296. package/dist/session-CAjudDuJ.mjs +76 -0
  297. package/dist/{session-DBfQkgdy.mjs → session-lRd8HZNZ.mjs} +1 -1
  298. package/dist/{session-lineage-C1M7-O3C.d.mts → session-lineage-BLw8iWAj.d.mts} +1 -1
  299. package/dist/{shared-BVW-3Dhy.mjs → shared-RP_KARKF.mjs} +1 -1
  300. package/dist/{skill-N-ttlp1i.mjs → skill-CpNjWFuE.mjs} +1 -1
  301. package/dist/{src-Ck2sbaDa.mjs → src-Bo2eA51B.mjs} +1 -1
  302. package/dist/storage/drizzle/client.d.mts +1 -1
  303. package/dist/storage/drizzle/client.mjs +1 -1
  304. package/dist/storage/drizzle/index.d.mts +1 -1
  305. package/dist/storage/drizzle/index.mjs +1 -1
  306. package/dist/storage/handlers/drizzle/index.d.mts +1 -1
  307. package/dist/storage/handlers/drizzle/index.mjs +1 -1
  308. package/dist/storage/handlers/index.d.mts +1 -1
  309. package/dist/storage/handlers/index.mjs +1 -1
  310. package/dist/{tool-approval-service-DEiMKTv9.mjs → tool-approval-service-Dh0XI21f.mjs} +1 -1
  311. package/dist/tools-C8vqn1KY.mjs +1 -0
  312. package/dist/{transition-OzGXyy3p.d.mts → transition-Bfe8VVc1.d.mts} +2 -2
  313. package/dist/{types-BWduCvRU.d.mts → types-B-xY9WW2.d.mts} +1 -1
  314. package/dist/{types-BrUOVfwe.d.mts → types-DvKaEOOn.d.mts} +252 -19
  315. package/dist/{types-CBLPaQXe.d.mts → types-q95p55BF.d.mts} +437 -287
  316. package/dist/ui-hooks/index.d.mts +103 -14
  317. package/dist/ui-hooks/index.mjs +1 -1
  318. package/dist/ui-kernel/index.d.mts +3 -3
  319. package/dist/ui-kernel/pages/schemas.d.mts +1 -1
  320. package/dist/utils/keychain.mjs +1 -1
  321. package/dist/{version-DoV_pSzT.mjs → version-C1-VD-XL.mjs} +1 -1
  322. package/dist/workflow-CvVAZ89A.mjs +1 -0
  323. package/dist/workflow-engine/index.d.mts +33 -33
  324. package/dist/workflow-engine/index.mjs +1 -1
  325. package/dist/workflow-engine/package.d.mts +1 -1
  326. package/dist/workflow-engine/package.mjs +1 -1
  327. package/dist/workflow-engine/workflow-orchestrator.mjs +1 -1
  328. package/dist/{workflow-worker-dH70EbjE.mjs → workflow-worker-CudfEstp.mjs} +1 -1
  329. package/package.json +5 -1
  330. package/dist/account-identity-C7Kx_ieU.mjs +0 -1
  331. package/dist/cleanEnvForAdapter-BooAgM2R.mjs +0 -1
  332. package/dist/client-DaR4mzqn.mjs +0 -1
  333. package/dist/compression-C5JAWdgZ.mjs +0 -1
  334. package/dist/config-namespace-CY9leBnE.mjs +0 -1
  335. package/dist/credential-ref-YWQQENEo.mjs +0 -1
  336. package/dist/definition-C-GVz7uw.mjs +0 -1
  337. package/dist/execution-target-BR8bLkCR.mjs +0 -1
  338. package/dist/extension-BS_4BOeO.mjs +0 -1
  339. package/dist/handlers-B74FvKlA.mjs +0 -57
  340. package/dist/index-BcwOnvUh.d.mts +0 -749
  341. package/dist/index-D6aAzr32.d.mts +0 -997
  342. package/dist/index-DtwGhFFQ.d.mts +0 -40
  343. package/dist/namespace-B4cV_pk3.d.mts +0 -1317
  344. package/dist/namespace-BO3tODGC.mjs +0 -1
  345. package/dist/namespace-CVMZVqB5.mjs +0 -1
  346. package/dist/namespace-DBHwyhME.mjs +0 -1
  347. package/dist/namespace-DibbhCPP.mjs +0 -1
  348. package/dist/package-CF_Zm2v4.mjs +0 -1
  349. package/dist/provider-context-CqMgPOWF.mjs +0 -1
  350. package/dist/provider-context-DC_eq7es.mjs +0 -1
  351. package/dist/schemas-CVo8qAK-.mjs +0 -1
  352. package/dist/schemas-CuG17U3L.mjs +0 -1
  353. package/dist/session-CX6QDhi2.mjs +0 -76
  354. package/dist/tools-CGFZkB7F.mjs +0 -1
  355. package/dist/workflow-C3dgVwTY.mjs +0 -1
  356. /package/dist/{ajv-B5dPIck0.mjs → ajv-DfHhgdS5.mjs} +0 -0
  357. /package/dist/{await-trigger-DwVldnMt.mjs → await-trigger-D623tvig.mjs} +0 -0
  358. /package/dist/{capability-service-XlymTzz1.mjs → capability-service-Dg2bU8qc.mjs} +0 -0
  359. /package/dist/{client-CebV_fZc.d.mts → client-DmJwprw1.d.mts} +0 -0
  360. /package/dist/{create-static-mount-DkK28kKW.mjs → create-static-mount-CBTXRtbN.mjs} +0 -0
  361. /package/dist/{cross-spawn-CDXy3BjE.mjs → cross-spawn-D9WWFl2a.mjs} +0 -0
  362. /package/dist/{cursor-storage-luQAg7E_.mjs → cursor-storage-Bw-7ROzx.mjs} +0 -0
  363. /package/dist/{descriptor-to-package-DdpjpT7n.mjs → descriptor-to-package-D5SWf6TL.mjs} +0 -0
  364. /package/dist/{drizzle-DVTAl7Us.mjs → drizzle-DYfaDzlO.mjs} +0 -0
  365. /package/dist/{esm-CQG9Pc7n.mjs → esm-oHhRYTEn.mjs} +0 -0
  366. /package/dist/{event-DguYjV6D.mjs → event-DTM0-qWP.mjs} +0 -0
  367. /package/dist/{extension-discovery-CIZn5bkq.d.mts → extension-discovery-APMf1Tes.d.mts} +0 -0
  368. /package/dist/{extension-namespace-v3K0qVry.mjs → extension-namespace-vrh4ERXR.mjs} +0 -0
  369. /package/dist/{facet-BM4y4aQP.mjs → facet-DqPBpqkl.mjs} +0 -0
  370. /package/dist/{filesystem-service-Cwp0sWNc.d.mts → filesystem-service-Bx0bR2Lb.d.mts} +0 -0
  371. /package/dist/{handler-BFNvtv5t.mjs → handler-4pKQi3eo.mjs} +0 -0
  372. /package/dist/{host-vY07gek-.mjs → host-BfgdjlII.mjs} +0 -0
  373. /package/dist/{identity-DC3Pk0ps.mjs → identity-2qUT1NME.mjs} +0 -0
  374. /package/dist/{index-COI1tjAf.d.mts → index-BZ_DSGnE.d.mts} +0 -0
  375. /package/dist/{index-D7rWAEY0.d.mts → index-Bd52mmj9.d.mts} +0 -0
  376. /package/dist/{index-Dfi8Rorw.d.mts → index-BkAKfh4d.d.mts} +0 -0
  377. /package/dist/{index-CuHqL95P.d.mts → index-Bv9lm0Kf.d.mts} +0 -0
  378. /package/dist/{index-C4nStEdA.d.mts → index-C18Pn3zP.d.mts} +0 -0
  379. /package/dist/{index-Cr9lh21j.d.mts → index-CarbJsC92.d.mts} +0 -0
  380. /package/dist/{index-BjoOSg95.d.mts → index-Ctw617Tj.d.mts} +0 -0
  381. /package/dist/{index-DUD7wikz2.d.mts → index-D0eUQjTU2.d.mts} +0 -0
  382. /package/dist/{index-DEzdNQum.d.mts → index-DfVSWBBp.d.mts} +0 -0
  383. /package/dist/{index-D3ahzHwb.d.mts → index-DnWZdG6C.d.mts} +0 -0
  384. /package/dist/{index-CpKikwK4.d.mts → index-DoLdETfR.d.mts} +0 -0
  385. /package/dist/{index-B92mToDo2.d.mts → index-DvaPrL6C.d.mts} +0 -0
  386. /package/dist/{index-D7Hkmrr3.d.mts → index-DwDBa2mb.d.mts} +0 -0
  387. /package/dist/{index-Y8rMeYYX.d.mts → index-FDyqQIt5.d.mts} +0 -0
  388. /package/dist/{index-BWIkf5oJ.d.mts → index-Lp0T_V1W.d.mts} +0 -0
  389. /package/dist/{index-OGIC4puQ.d.mts → index-Rhcr4YNA.d.mts} +0 -0
  390. /package/dist/{index-BvLXySoB2.d.mts → index-S-mAqWwq.d.mts} +0 -0
  391. /package/dist/{index-DOOrKin9.d.mts → index-_zsihEmk.d.mts} +0 -0
  392. /package/dist/{index-wq7XeqyG.d.mts → index-iJP-l15K.d.mts} +0 -0
  393. /package/dist/{json-value-DtIkQN7g.d.mts → json-value-C8duSh9X.d.mts} +0 -0
  394. /package/dist/{jsonl-transport-CGPgD8iU.mjs → jsonl-transport-l5NPcQ_2.mjs} +0 -0
  395. /package/dist/{lib-ZKtnbCqH.mjs → lib-ClRTNIuz.mjs} +0 -0
  396. /package/dist/{materialization-CUYxZCfk.mjs → materialization-BwTORtBr.mjs} +0 -0
  397. /package/dist/{model-registry-C2VXobZj.mjs → model-registry-BneK5SGo.mjs} +0 -0
  398. /package/dist/{model-registry-rYICIwyR.mjs → model-registry-C8MInDtX.mjs} +0 -0
  399. /package/dist/{namespace-65uwTpbg.d.mts → namespace-3YVLQ_bM.d.mts} +0 -0
  400. /package/dist/{namespace-CQ8uza7o.d.mts → namespace-BcDHt-ww.d.mts} +0 -0
  401. /package/dist/{namespace-BigVYQyx.d.mts → namespace-BhVlHfoO.d.mts} +0 -0
  402. /package/dist/{namespace-j7vFsmYL.d.mts → namespace-Bl1UhLnK.d.mts} +0 -0
  403. /package/dist/{namespace-Dk4OslmY.d.mts → namespace-BsEoWXV_.d.mts} +0 -0
  404. /package/dist/{namespace-DYSFDC2G.mjs → namespace-C238RqwB.mjs} +0 -0
  405. /package/dist/{namespace-BdO4e1Fm.mjs → namespace-CDO4rY11.mjs} +0 -0
  406. /package/dist/{namespace-wke7juzy.mjs → namespace-DDx4NVJm.mjs} +0 -0
  407. /package/dist/{namespace-D1_9WVCo.d.mts → namespace-Dar3O6iT.d.mts} +0 -0
  408. /package/dist/{namespace-DAj_riOn.d.mts → namespace-DoNigVgx.d.mts} +0 -0
  409. /package/dist/{namespace-D2s-4pyg.d.mts → namespace-Dvi66QS6.d.mts} +0 -0
  410. /package/dist/{out-BoEZjBNz.mjs → out-BB6Kb4Xu.mjs} +0 -0
  411. /package/dist/{package-DmVZxufT.d.mts → package-CdBiknf3.d.mts} +0 -0
  412. /package/dist/{platform-DnbSvm2u.mjs → platform-CWhGFQFX.mjs} +0 -0
  413. /package/dist/{providers-Bd7BOZs0.mjs → providers-CUnrif24.mjs} +0 -0
  414. /package/dist/{quick-lru-6e7I1Bgf.mjs → quick-lru-BLaSzINB.mjs} +0 -0
  415. /package/dist/{registry-U_3aYSin.mjs → registry-TJjQgTgp.mjs} +0 -0
  416. /package/dist/{schema-CHp6I33k.mjs → schema-cus0dJ81.mjs} +0 -0
  417. /package/dist/{schema-introspection-B7xODt4I.mjs → schema-introspection-BsWLmoFp.mjs} +0 -0
  418. /package/dist/{schemas-KlH1hB7u.d.mts → schemas-9QJf1FtS.d.mts} +0 -0
  419. /package/dist/{schemas-CJ2JvA7d.d.mts → schemas-BolSW7pQ.d.mts} +0 -0
  420. /package/dist/{schemas-D4zaFE2p.d.mts → schemas-CLsbsX1W.d.mts} +0 -0
  421. /package/dist/{schemas-XeIBqwvE.mjs → schemas-CMyv7l7-.mjs} +0 -0
  422. /package/dist/{schemas-CPI00yvh.mjs → schemas-CWxf_Yut.mjs} +0 -0
  423. /package/dist/{schemas-BemsLc_V.d.mts → schemas-D_9X_CRo.d.mts} +0 -0
  424. /package/dist/{schemas-DZGnr9Tl.mjs → schemas-DwfTUQIa.mjs} +0 -0
  425. /package/dist/{schemas-B6tEKf9T.d.mts → schemas-XRhqOgVE.d.mts} +0 -0
  426. /package/dist/{schemas-DKncXGnb.d.mts → schemas-fRLDhefF.d.mts} +0 -0
  427. /package/dist/{schemas-DWfo0wp4.d.mts → schemas-jDRSOXJL.d.mts} +0 -0
  428. /package/dist/{schemas-lnE9YoG7.d.mts → schemas-qpo1Goit.d.mts} +0 -0
  429. /package/dist/{schemas-t6h9oSct.d.mts → schemas-qt5QTjVc.d.mts} +0 -0
  430. /package/dist/{semver-CIhHqMkw.mjs → semver-BccS1s9R.mjs} +0 -0
  431. /package/dist/{server-lifecycle-C5Z5PSMD.mjs → server-lifecycle-D-jxVr_0.mjs} +0 -0
  432. /package/dist/{server-lifecycle-_AA6EfzL.d.mts → server-lifecycle-r5Tkk8bU.d.mts} +0 -0
  433. /package/dist/{shared-schemas-BEVG96xW.mjs → shared-schemas-BNCPgGYP.mjs} +0 -0
  434. /package/dist/{src-_VODAJnf.mjs → src-Ci_WY9uw.mjs} +0 -0
  435. /package/dist/{storage-namespace-D5q9CrBp.mjs → storage-namespace-BzE2M4Hq.mjs} +0 -0
  436. /package/dist/{storage-namespace-Di1A3DMm.d.mts → storage-namespace-DWKFqEW-.d.mts} +0 -0
  437. /package/dist/{storage-namespace-definition-CzXPW45M.mjs → storage-namespace-definition-4UYuij1r.mjs} +0 -0
  438. /package/dist/{storage-namespace-definition-BffdI5Bz.d.mts → storage-namespace-definition-BZJGSaX3.d.mts} +0 -0
  439. /package/dist/{supports-color-DcXkvGDF.mjs → supports-color-Dzp6WuF5.mjs} +0 -0
  440. /package/dist/{telemetry-Cvi4rxiE.mjs → telemetry-B42EMbZt.mjs} +0 -0
  441. /package/dist/{timeout-XsYIOKrc.mjs → timeout-CvONPl0l.mjs} +0 -0
  442. /package/dist/{tray-menu-service-B2AxiQqL.mjs → tray-menu-service-Bonl2KXf.mjs} +0 -0
  443. /package/dist/{types-Bo78h9e3.d.mts → types-BCW9kr4L.d.mts} +0 -0
  444. /package/dist/{types-DCvp_swt.d.mts → types-CrJ7KEZ0.d.mts} +0 -0
  445. /package/dist/{types-BNW5n6qm.d.mts → types-DWNoZ3Sd.d.mts} +0 -0
  446. /package/dist/{ui-config-9bDRwFZr.mjs → ui-config-B2L3Xgqo.mjs} +0 -0
  447. /package/dist/{variant-5huHjUTm.mjs → variant-ByI-RZua.mjs} +0 -0
  448. /package/dist/{window-registry-PkrFIwX2.mjs → window-registry-DsWnCc8z.mjs} +0 -0
  449. /package/dist/{window-registry-ofIUQnfo.d.mts → window-registry-WsWu-rcK.d.mts} +0 -0
@@ -1,997 +0,0 @@
1
- import { z } from "zod";
2
- import { AdapterFile, ProviderConfigFile } from "@makaio/framework/contracts/config";
3
-
4
- //#region services/core/src/adapter-subsystem/schemas.d.ts
5
- /**
6
- * Bus-safe provider config read model.
7
- *
8
- * Generic reads intentionally exclude credential refs. Runtime assembly goes
9
- * through `buildProviderContext` instead.
10
- */
11
- declare const ProviderConfigFileRecordSchema: z.ZodObject<{
12
- id: z.ZodString;
13
- definitionId: z.ZodString;
14
- name: z.ZodString;
15
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
16
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
17
- disabled: "disabled";
18
- enabled: "enabled";
19
- visible: "visible";
20
- }>>>;
21
- modelFilterMode: z.ZodEnum<{
22
- allowlist: "allowlist";
23
- "show-all": "show-all";
24
- }>;
25
- isDefault: z.ZodBoolean;
26
- enabled: z.ZodBoolean;
27
- isSentinel: z.ZodBoolean;
28
- hasCredentials: z.ZodBoolean;
29
- sourceRef: z.ZodOptional<z.ZodString>;
30
- }, z.core.$strict>;
31
- /**
32
- * Inferred bus-safe provider config read model.
33
- */
34
- type ProviderConfigFileRecord = z.infer<typeof ProviderConfigFileRecordSchema>;
35
- /**
36
- * Binding record as surfaced by the adapter subsystem.
37
- */
38
- declare const BindingRecordSchema: z.ZodObject<{
39
- adapterName: z.ZodString;
40
- providerConfigId: z.ZodString;
41
- isDefault: z.ZodBoolean;
42
- }, z.core.$strict>;
43
- /**
44
- * Inferred binding record.
45
- */
46
- type BindingRecord = z.infer<typeof BindingRecordSchema>;
47
- /**
48
- * Normalized adapter file-backed read model.
49
- */
50
- declare const AdapterFileConfigSchema: z.ZodObject<{
51
- description: z.ZodOptional<z.ZodString>;
52
- displayName: z.ZodOptional<z.ZodString>;
53
- protocol: z.ZodOptional<z.ZodString>;
54
- clientId: z.ZodOptional<z.ZodString>;
55
- helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
- label: z.ZodString;
57
- url: z.ZodString;
58
- }, z.core.$strict>>>;
59
- instructions: z.ZodOptional<z.ZodString>;
60
- providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
61
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
62
- name: z.ZodString;
63
- enabled: z.ZodBoolean;
64
- bindings: z.ZodArray<z.ZodObject<{
65
- adapterName: z.ZodString;
66
- providerConfigId: z.ZodString;
67
- isDefault: z.ZodBoolean;
68
- }, z.core.$strict>>;
69
- }, z.core.$strict>;
70
- /**
71
- * Inferred adapter file-backed read model.
72
- */
73
- type AdapterFileConfig = z.infer<typeof AdapterFileConfigSchema>;
74
- /**
75
- * Readiness status for the effective adapter view.
76
- */
77
- declare const AdapterReadinessSchema: z.ZodEnum<{
78
- ready: "ready";
79
- "needs-setup": "needs-setup";
80
- }>;
81
- /**
82
- * Inferred readiness status for the effective adapter view.
83
- */
84
- type AdapterReadiness = z.infer<typeof AdapterReadinessSchema>;
85
- /**
86
- * Host-extensible effective adapter view.
87
- */
88
- declare const EffectiveAdapterSchema: z.ZodObject<{
89
- name: z.ZodString;
90
- displayName: z.ZodString;
91
- description: z.ZodOptional<z.ZodString>;
92
- enabled: z.ZodBoolean;
93
- configCount: z.ZodNumber;
94
- readiness: z.ZodEnum<{
95
- ready: "ready";
96
- "needs-setup": "needs-setup";
97
- }>;
98
- supportsLogImport: z.ZodBoolean;
99
- helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
100
- label: z.ZodString;
101
- url: z.ZodString;
102
- }, z.core.$strict>>>;
103
- instructions: z.ZodOptional<z.ZodString>;
104
- clientId: z.ZodOptional<z.ZodString>;
105
- protocol: z.ZodOptional<z.ZodString>;
106
- providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
107
- }, z.core.$strict>;
108
- /**
109
- * Inferred effective adapter view.
110
- */
111
- type EffectiveAdapter = z.infer<typeof EffectiveAdapterSchema>;
112
- /**
113
- * Adapter-subsystem bus schemas.
114
- *
115
- * Each key becomes a subject identifier under the `adapterSubsystem.` namespace.
116
- */
117
- declare const AdapterSubsystemSchemas: {
118
- /**
119
- * Get one adapter config by adapter name.
120
- */
121
- getAdapterConfig: {
122
- request: z.ZodObject<{
123
- name: z.ZodString;
124
- }, z.core.$strict>;
125
- response: z.ZodObject<{
126
- config: z.ZodNullable<z.ZodObject<{
127
- description: z.ZodOptional<z.ZodString>;
128
- displayName: z.ZodOptional<z.ZodString>;
129
- protocol: z.ZodOptional<z.ZodString>;
130
- clientId: z.ZodOptional<z.ZodString>;
131
- helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
132
- label: z.ZodString;
133
- url: z.ZodString;
134
- }, z.core.$strict>>>;
135
- instructions: z.ZodOptional<z.ZodString>;
136
- providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
138
- name: z.ZodString;
139
- enabled: z.ZodBoolean;
140
- bindings: z.ZodArray<z.ZodObject<{
141
- adapterName: z.ZodString;
142
- providerConfigId: z.ZodString;
143
- isDefault: z.ZodBoolean;
144
- }, z.core.$strict>>;
145
- }, z.core.$strict>>;
146
- }, z.core.$strict>;
147
- };
148
- /**
149
- * List all adapter configs.
150
- */
151
- listAdapterConfigs: {
152
- request: z.ZodObject<{}, z.core.$strict>;
153
- response: z.ZodObject<{
154
- configs: z.ZodArray<z.ZodObject<{
155
- description: z.ZodOptional<z.ZodString>;
156
- displayName: z.ZodOptional<z.ZodString>;
157
- protocol: z.ZodOptional<z.ZodString>;
158
- clientId: z.ZodOptional<z.ZodString>;
159
- helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
160
- label: z.ZodString;
161
- url: z.ZodString;
162
- }, z.core.$strict>>>;
163
- instructions: z.ZodOptional<z.ZodString>;
164
- providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
165
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
166
- name: z.ZodString;
167
- enabled: z.ZodBoolean;
168
- bindings: z.ZodArray<z.ZodObject<{
169
- adapterName: z.ZodString;
170
- providerConfigId: z.ZodString;
171
- isDefault: z.ZodBoolean;
172
- }, z.core.$strict>>;
173
- }, z.core.$strict>>;
174
- }, z.core.$strict>;
175
- };
176
- /**
177
- * Get one provider config by ID.
178
- */
179
- getProviderConfig: {
180
- request: z.ZodObject<{
181
- id: z.ZodString;
182
- }, z.core.$strict>;
183
- response: z.ZodObject<{
184
- config: z.ZodNullable<z.ZodObject<{
185
- id: z.ZodString;
186
- definitionId: z.ZodString;
187
- name: z.ZodString;
188
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
189
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
190
- disabled: "disabled";
191
- enabled: "enabled";
192
- visible: "visible";
193
- }>>>;
194
- modelFilterMode: z.ZodEnum<{
195
- allowlist: "allowlist";
196
- "show-all": "show-all";
197
- }>;
198
- isDefault: z.ZodBoolean;
199
- enabled: z.ZodBoolean;
200
- isSentinel: z.ZodBoolean;
201
- hasCredentials: z.ZodBoolean;
202
- sourceRef: z.ZodOptional<z.ZodString>;
203
- }, z.core.$strict>>;
204
- }, z.core.$strict>;
205
- };
206
- /**
207
- * List provider configs, optionally filtering by enabled state.
208
- */
209
- listProviderConfigs: {
210
- request: z.ZodObject<{
211
- enabled: z.ZodOptional<z.ZodBoolean>;
212
- }, z.core.$strict>;
213
- response: z.ZodObject<{
214
- configs: z.ZodArray<z.ZodObject<{
215
- id: z.ZodString;
216
- definitionId: z.ZodString;
217
- name: z.ZodString;
218
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
219
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
220
- disabled: "disabled";
221
- enabled: "enabled";
222
- visible: "visible";
223
- }>>>;
224
- modelFilterMode: z.ZodEnum<{
225
- allowlist: "allowlist";
226
- "show-all": "show-all";
227
- }>;
228
- isDefault: z.ZodBoolean;
229
- enabled: z.ZodBoolean;
230
- isSentinel: z.ZodBoolean;
231
- hasCredentials: z.ZodBoolean;
232
- sourceRef: z.ZodOptional<z.ZodString>;
233
- }, z.core.$strict>>;
234
- }, z.core.$strict>;
235
- };
236
- /**
237
- * List provider configs for a given provider definition.
238
- */
239
- listProviderConfigsByDefinition: {
240
- request: z.ZodObject<{
241
- definitionId: z.ZodString;
242
- }, z.core.$strict>;
243
- response: z.ZodObject<{
244
- configs: z.ZodArray<z.ZodObject<{
245
- id: z.ZodString;
246
- definitionId: z.ZodString;
247
- name: z.ZodString;
248
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
249
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
250
- disabled: "disabled";
251
- enabled: "enabled";
252
- visible: "visible";
253
- }>>>;
254
- modelFilterMode: z.ZodEnum<{
255
- allowlist: "allowlist";
256
- "show-all": "show-all";
257
- }>;
258
- isDefault: z.ZodBoolean;
259
- enabled: z.ZodBoolean;
260
- isSentinel: z.ZodBoolean;
261
- hasCredentials: z.ZodBoolean;
262
- sourceRef: z.ZodOptional<z.ZodString>;
263
- }, z.core.$strict>>;
264
- }, z.core.$strict>;
265
- };
266
- /**
267
- * List bindings for an adapter.
268
- */
269
- listBindings: {
270
- request: z.ZodObject<{
271
- adapterName: z.ZodString;
272
- }, z.core.$strict>;
273
- response: z.ZodObject<{
274
- bindings: z.ZodArray<z.ZodObject<{
275
- adapterName: z.ZodString;
276
- providerConfigId: z.ZodString;
277
- isDefault: z.ZodBoolean;
278
- }, z.core.$strict>>;
279
- }, z.core.$strict>;
280
- };
281
- /**
282
- * List bindings for a provider config.
283
- */
284
- listBindingsByConfig: {
285
- request: z.ZodObject<{
286
- providerConfigId: z.ZodString;
287
- }, z.core.$strict>;
288
- response: z.ZodObject<{
289
- bindings: z.ZodArray<z.ZodObject<{
290
- adapterName: z.ZodString;
291
- providerConfigId: z.ZodString;
292
- isDefault: z.ZodBoolean;
293
- }, z.core.$strict>>;
294
- }, z.core.$strict>;
295
- };
296
- /**
297
- * Get the default binding for an adapter.
298
- */
299
- getDefaultBinding: {
300
- request: z.ZodObject<{
301
- adapterName: z.ZodString;
302
- }, z.core.$strict>;
303
- response: z.ZodObject<{
304
- binding: z.ZodNullable<z.ZodObject<{
305
- adapterName: z.ZodString;
306
- providerConfigId: z.ZodString;
307
- isDefault: z.ZodBoolean;
308
- }, z.core.$strict>>;
309
- }, z.core.$strict>;
310
- };
311
- /**
312
- * Find the provider config bound to a specific adapter for a definition.
313
- */
314
- findConfigForDefinitionAndAdapter: {
315
- request: z.ZodObject<{
316
- definitionId: z.ZodString;
317
- adapterName: z.ZodString;
318
- }, z.core.$strict>;
319
- response: z.ZodObject<{
320
- config: z.ZodNullable<z.ZodObject<{
321
- id: z.ZodString;
322
- definitionId: z.ZodString;
323
- name: z.ZodString;
324
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
325
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
326
- disabled: "disabled";
327
- enabled: "enabled";
328
- visible: "visible";
329
- }>>>;
330
- modelFilterMode: z.ZodEnum<{
331
- allowlist: "allowlist";
332
- "show-all": "show-all";
333
- }>;
334
- isDefault: z.ZodBoolean;
335
- enabled: z.ZodBoolean;
336
- isSentinel: z.ZodBoolean;
337
- hasCredentials: z.ZodBoolean;
338
- sourceRef: z.ZodOptional<z.ZodString>;
339
- }, z.core.$strict>>;
340
- }, z.core.$strict>;
341
- };
342
- /**
343
- * Build a provider context from a provider config.
344
- */
345
- buildProviderContext: {
346
- request: z.ZodObject<{
347
- providerConfigId: z.ZodString;
348
- }, z.core.$strict>;
349
- response: z.ZodObject<{
350
- context: z.ZodNullable<z.ZodObject<{
351
- providerConfigId: z.ZodString;
352
- definitionId: z.ZodString;
353
- endpointOverrides: z.ZodOptional<z.ZodObject<{
354
- anthropic: z.ZodOptional<z.ZodString>;
355
- openai: z.ZodOptional<z.ZodString>;
356
- }, z.core.$strip>>;
357
- credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
358
- credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
359
- ambientCredentialEnvVars: z.ZodOptional<z.ZodArray<z.ZodString>>;
360
- capabilities: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
361
- }, z.core.$strip>>;
362
- }, z.core.$strict>;
363
- };
364
- /**
365
- * List effective adapters.
366
- */
367
- listAdapters: {
368
- request: z.ZodObject<{}, z.core.$strict>;
369
- response: z.ZodObject<{
370
- adapters: z.ZodArray<z.ZodObject<{
371
- name: z.ZodString;
372
- displayName: z.ZodString;
373
- description: z.ZodOptional<z.ZodString>;
374
- enabled: z.ZodBoolean;
375
- configCount: z.ZodNumber;
376
- readiness: z.ZodEnum<{
377
- ready: "ready";
378
- "needs-setup": "needs-setup";
379
- }>;
380
- supportsLogImport: z.ZodBoolean;
381
- helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
382
- label: z.ZodString;
383
- url: z.ZodString;
384
- }, z.core.$strict>>>;
385
- instructions: z.ZodOptional<z.ZodString>;
386
- clientId: z.ZodOptional<z.ZodString>;
387
- protocol: z.ZodOptional<z.ZodString>;
388
- providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
389
- }, z.core.$strict>>;
390
- }, z.core.$strict>;
391
- };
392
- /**
393
- * Get provider definitions contributed by a specific adapter.
394
- *
395
- * Returns the full provider definition array for the named adapter, including
396
- * the registry-populated `availableModels` set at boot time.
397
- */
398
- getProviderDefinitionsByAdapter: {
399
- request: z.ZodObject<{
400
- adapterName: z.ZodString;
401
- }, z.core.$strict>;
402
- response: z.ZodObject<{
403
- definitions: z.ZodArray<z.ZodObject<{
404
- id: z.ZodString;
405
- name: z.ZodString;
406
- description: z.ZodOptional<z.ZodString>;
407
- endpoints: z.ZodOptional<z.ZodObject<{
408
- anthropic: z.ZodOptional<z.ZodString>;
409
- openai: z.ZodOptional<z.ZodString>;
410
- }, z.core.$strip>>;
411
- defaultModel: z.ZodOptional<z.ZodString>;
412
- fastModel: z.ZodOptional<z.ZodString>;
413
- primaryTestModel: z.ZodOptional<z.ZodString>;
414
- secondaryTestModel: z.ZodOptional<z.ZodString>;
415
- availableModels: z.ZodDefault<z.ZodArray<z.ZodObject<{
416
- name: z.ZodString;
417
- friendlyName: z.ZodOptional<z.ZodString>;
418
- family: z.ZodOptional<z.ZodString>;
419
- contextWindowSize: z.ZodNumber;
420
- labId: z.ZodString;
421
- supportedReasoningLevels: z.ZodOptional<z.ZodObject<{
422
- none: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
423
- low: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
424
- medium: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
425
- high: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
426
- 'extra-high': z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
427
- }, z.core.$strip>>;
428
- metadata: z.ZodOptional<z.ZodObject<{
429
- maxOutputTokens: z.ZodOptional<z.ZodNumber>;
430
- capabilities: z.ZodOptional<z.ZodObject<{
431
- vision: z.ZodOptional<z.ZodBoolean>;
432
- toolCalling: z.ZodOptional<z.ZodBoolean>;
433
- parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
434
- structuredOutput: z.ZodOptional<z.ZodBoolean>;
435
- pdfUpload: z.ZodOptional<z.ZodBoolean>;
436
- speechToText: z.ZodOptional<z.ZodObject<{
437
- modes: z.ZodArray<z.ZodEnum<{
438
- batch: "batch";
439
- streaming: "streaming";
440
- }>>;
441
- vocabularyBiasing: z.ZodOptional<z.ZodBoolean>;
442
- }, z.core.$strip>>;
443
- textToSpeech: z.ZodOptional<z.ZodObject<{
444
- modes: z.ZodArray<z.ZodEnum<{
445
- streaming: "streaming";
446
- buffered: "buffered";
447
- }>>;
448
- voiceSelection: z.ZodOptional<z.ZodBoolean>;
449
- voiceInstructions: z.ZodOptional<z.ZodBoolean>;
450
- outputFormats: z.ZodOptional<z.ZodArray<z.ZodString>>;
451
- }, z.core.$strip>>;
452
- }, z.core.$strip>>;
453
- pricing: z.ZodOptional<z.ZodObject<{
454
- token: z.ZodOptional<z.ZodObject<{
455
- inputPerMillion: z.ZodNumber;
456
- inputCachedPerMillion: z.ZodOptional<z.ZodNumber>;
457
- cacheWritePerMillion: z.ZodOptional<z.ZodNumber>;
458
- outputPerMillion: z.ZodNumber;
459
- }, z.core.$strip>>;
460
- request: z.ZodOptional<z.ZodObject<{
461
- multiplier: z.ZodNumber;
462
- }, z.core.$strip>>;
463
- }, z.core.$strip>>;
464
- includedInSubscription: z.ZodOptional<z.ZodBoolean>;
465
- description: z.ZodOptional<z.ZodString>;
466
- }, z.core.$strip>>;
467
- }, z.core.$strip>>>;
468
- defaultModelFilterMode: z.ZodOptional<z.ZodEnum<{
469
- allowlist: "allowlist";
470
- "show-all": "show-all";
471
- }>>;
472
- credentialEnvVars: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
473
- capabilities: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
474
- }, z.core.$strip>>;
475
- }, z.core.$strict>;
476
- };
477
- /**
478
- * Create a provider config.
479
- */
480
- createProviderConfig: {
481
- request: z.ZodObject<{
482
- definitionId: z.ZodString;
483
- name: z.ZodOptional<z.ZodString>;
484
- credentialRefs: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
485
- endpointOverrides: z.ZodOptional<z.ZodObject<{
486
- anthropic: z.ZodOptional<z.ZodString>;
487
- openai: z.ZodOptional<z.ZodString>;
488
- }, z.core.$strip>>;
489
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
490
- disabled: "disabled";
491
- enabled: "enabled";
492
- visible: "visible";
493
- }>>>;
494
- modelFilterMode: z.ZodOptional<z.ZodEnum<{
495
- allowlist: "allowlist";
496
- "show-all": "show-all";
497
- }>>;
498
- isSentinel: z.ZodOptional<z.ZodBoolean>;
499
- }, z.core.$strict>;
500
- response: z.ZodObject<{
501
- config: z.ZodObject<{
502
- id: z.ZodString;
503
- definitionId: z.ZodString;
504
- name: z.ZodString;
505
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
506
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
507
- disabled: "disabled";
508
- enabled: "enabled";
509
- visible: "visible";
510
- }>>>;
511
- modelFilterMode: z.ZodEnum<{
512
- allowlist: "allowlist";
513
- "show-all": "show-all";
514
- }>;
515
- isDefault: z.ZodBoolean;
516
- enabled: z.ZodBoolean;
517
- isSentinel: z.ZodBoolean;
518
- hasCredentials: z.ZodBoolean;
519
- sourceRef: z.ZodOptional<z.ZodString>;
520
- }, z.core.$strict>;
521
- }, z.core.$strict>;
522
- };
523
- /**
524
- * Update a provider config.
525
- */
526
- updateProviderConfig: {
527
- request: z.ZodObject<{
528
- id: z.ZodString;
529
- patch: z.ZodObject<{
530
- name: z.ZodOptional<z.ZodString>;
531
- endpointOverrides: z.ZodOptional<z.ZodNullable<z.ZodObject<{
532
- anthropic: z.ZodOptional<z.ZodString>;
533
- openai: z.ZodOptional<z.ZodString>;
534
- }, z.core.$strip>>>;
535
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
536
- disabled: "disabled";
537
- enabled: "enabled";
538
- visible: "visible";
539
- }>>>;
540
- enabled: z.ZodOptional<z.ZodBoolean>;
541
- }, z.core.$strict>;
542
- }, z.core.$strict>;
543
- response: z.ZodObject<{
544
- config: z.ZodObject<{
545
- id: z.ZodString;
546
- definitionId: z.ZodString;
547
- name: z.ZodString;
548
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
549
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
550
- disabled: "disabled";
551
- enabled: "enabled";
552
- visible: "visible";
553
- }>>>;
554
- modelFilterMode: z.ZodEnum<{
555
- allowlist: "allowlist";
556
- "show-all": "show-all";
557
- }>;
558
- isDefault: z.ZodBoolean;
559
- enabled: z.ZodBoolean;
560
- isSentinel: z.ZodBoolean;
561
- hasCredentials: z.ZodBoolean;
562
- sourceRef: z.ZodOptional<z.ZodString>;
563
- }, z.core.$strict>;
564
- }, z.core.$strict>;
565
- };
566
- /**
567
- * Replace the canonical credential refs for one provider config.
568
- */
569
- setProviderConfigCredentialRefs: {
570
- request: z.ZodObject<{
571
- id: z.ZodString;
572
- credentialRefs: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
573
- }, z.core.$strict>;
574
- response: z.ZodObject<{
575
- config: z.ZodObject<{
576
- id: z.ZodString;
577
- definitionId: z.ZodString;
578
- name: z.ZodString;
579
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
580
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
581
- disabled: "disabled";
582
- enabled: "enabled";
583
- visible: "visible";
584
- }>>>;
585
- modelFilterMode: z.ZodEnum<{
586
- allowlist: "allowlist";
587
- "show-all": "show-all";
588
- }>;
589
- isDefault: z.ZodBoolean;
590
- enabled: z.ZodBoolean;
591
- isSentinel: z.ZodBoolean;
592
- hasCredentials: z.ZodBoolean;
593
- sourceRef: z.ZodOptional<z.ZodString>;
594
- }, z.core.$strict>;
595
- }, z.core.$strict>;
596
- };
597
- /**
598
- * Delete a provider config.
599
- */
600
- deleteProviderConfig: {
601
- request: z.ZodObject<{
602
- id: z.ZodString;
603
- }, z.core.$strict>;
604
- response: z.ZodObject<{
605
- deleted: z.ZodBoolean;
606
- }, z.core.$strict>;
607
- };
608
- /**
609
- * Set the default provider config for its definition.
610
- */
611
- setDefaultProviderConfig: {
612
- request: z.ZodObject<{
613
- id: z.ZodString;
614
- }, z.core.$strict>;
615
- response: z.ZodObject<{
616
- config: z.ZodObject<{
617
- id: z.ZodString;
618
- definitionId: z.ZodString;
619
- name: z.ZodString;
620
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
621
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
622
- disabled: "disabled";
623
- enabled: "enabled";
624
- visible: "visible";
625
- }>>>;
626
- modelFilterMode: z.ZodEnum<{
627
- allowlist: "allowlist";
628
- "show-all": "show-all";
629
- }>;
630
- isDefault: z.ZodBoolean;
631
- enabled: z.ZodBoolean;
632
- isSentinel: z.ZodBoolean;
633
- hasCredentials: z.ZodBoolean;
634
- sourceRef: z.ZodOptional<z.ZodString>;
635
- }, z.core.$strict>;
636
- }, z.core.$strict>;
637
- };
638
- /**
639
- * Set the model filter mode for a provider config.
640
- */
641
- setModelFilterMode: {
642
- request: z.ZodObject<{
643
- id: z.ZodString;
644
- modelFilterMode: z.ZodEnum<{
645
- allowlist: "allowlist";
646
- "show-all": "show-all";
647
- }>;
648
- preferredModel: z.ZodOptional<z.ZodString>;
649
- }, z.core.$strict>;
650
- response: z.ZodObject<{
651
- config: z.ZodObject<{
652
- id: z.ZodString;
653
- definitionId: z.ZodString;
654
- name: z.ZodString;
655
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
656
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
657
- disabled: "disabled";
658
- enabled: "enabled";
659
- visible: "visible";
660
- }>>>;
661
- modelFilterMode: z.ZodEnum<{
662
- allowlist: "allowlist";
663
- "show-all": "show-all";
664
- }>;
665
- isDefault: z.ZodBoolean;
666
- enabled: z.ZodBoolean;
667
- isSentinel: z.ZodBoolean;
668
- hasCredentials: z.ZodBoolean;
669
- sourceRef: z.ZodOptional<z.ZodString>;
670
- }, z.core.$strict>;
671
- }, z.core.$strict>;
672
- };
673
- /**
674
- * Set adapter config fields.
675
- */
676
- setAdapterConfig: {
677
- request: z.ZodObject<{
678
- name: z.ZodString;
679
- patch: z.ZodObject<{
680
- displayName: z.ZodOptional<z.ZodString>;
681
- description: z.ZodOptional<z.ZodString>;
682
- helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
683
- label: z.ZodString;
684
- url: z.ZodString;
685
- }, z.core.$strict>>>;
686
- instructions: z.ZodOptional<z.ZodString>;
687
- clientId: z.ZodOptional<z.ZodString>;
688
- protocol: z.ZodOptional<z.ZodString>;
689
- providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
690
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
691
- enabled: z.ZodOptional<z.ZodBoolean>;
692
- }, z.core.$strict>;
693
- }, z.core.$strict>;
694
- response: z.ZodObject<{
695
- config: z.ZodObject<{
696
- description: z.ZodOptional<z.ZodString>;
697
- displayName: z.ZodOptional<z.ZodString>;
698
- protocol: z.ZodOptional<z.ZodString>;
699
- clientId: z.ZodOptional<z.ZodString>;
700
- helpLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
701
- label: z.ZodString;
702
- url: z.ZodString;
703
- }, z.core.$strict>>>;
704
- instructions: z.ZodOptional<z.ZodString>;
705
- providerDefinitionIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
706
- settings: z.ZodOptional<z.ZodType<Record<string, unknown>, Record<string, unknown>, z.core.$ZodTypeInternals<Record<string, unknown>, Record<string, unknown>>>>;
707
- name: z.ZodString;
708
- enabled: z.ZodBoolean;
709
- bindings: z.ZodArray<z.ZodObject<{
710
- adapterName: z.ZodString;
711
- providerConfigId: z.ZodString;
712
- isDefault: z.ZodBoolean;
713
- }, z.core.$strict>>;
714
- }, z.core.$strict>;
715
- }, z.core.$strict>;
716
- };
717
- /**
718
- * Enable or disable an adapter config.
719
- */
720
- setAdapterEnabled: {
721
- request: z.ZodObject<{
722
- name: z.ZodString;
723
- enabled: z.ZodBoolean;
724
- }, z.core.$strict>;
725
- response: z.ZodObject<{
726
- success: z.ZodBoolean;
727
- }, z.core.$strict>;
728
- };
729
- /**
730
- * Bind a provider config to an adapter.
731
- */
732
- bind: {
733
- request: z.ZodObject<{
734
- adapterName: z.ZodString;
735
- providerConfigId: z.ZodString;
736
- }, z.core.$strict>;
737
- response: z.ZodObject<{
738
- binding: z.ZodObject<{
739
- adapterName: z.ZodString;
740
- providerConfigId: z.ZodString;
741
- isDefault: z.ZodBoolean;
742
- }, z.core.$strict>;
743
- }, z.core.$strict>;
744
- };
745
- /**
746
- * Unbind a provider config from an adapter.
747
- */
748
- unbind: {
749
- request: z.ZodObject<{
750
- adapterName: z.ZodString;
751
- providerConfigId: z.ZodString;
752
- }, z.core.$strict>;
753
- response: z.ZodObject<{}, z.core.$strict>;
754
- };
755
- /**
756
- * Set the default binding for an adapter.
757
- */
758
- setDefaultBinding: {
759
- request: z.ZodObject<{
760
- adapterName: z.ZodString;
761
- providerConfigId: z.ZodString;
762
- }, z.core.$strict>;
763
- response: z.ZodObject<{}, z.core.$strict>;
764
- };
765
- /**
766
- * Ensure the subsystem is ready for grain-constrained consumers.
767
- */
768
- ensureReady: {
769
- request: z.ZodObject<{}, z.core.$strict>;
770
- response: z.ZodObject<{
771
- ready: z.ZodLiteral<true>;
772
- }, z.core.$strict>;
773
- };
774
- /**
775
- * Provider config lifecycle events.
776
- */
777
- 'providerConfig.created': z.ZodObject<{
778
- id: z.ZodString;
779
- definitionId: z.ZodString;
780
- name: z.ZodString;
781
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
782
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
783
- disabled: "disabled";
784
- enabled: "enabled";
785
- visible: "visible";
786
- }>>>;
787
- modelFilterMode: z.ZodEnum<{
788
- allowlist: "allowlist";
789
- "show-all": "show-all";
790
- }>;
791
- isDefault: z.ZodBoolean;
792
- enabled: z.ZodBoolean;
793
- isSentinel: z.ZodBoolean;
794
- hasCredentials: z.ZodBoolean;
795
- sourceRef: z.ZodOptional<z.ZodString>;
796
- }, z.core.$strict>;
797
- 'providerConfig.updated': z.ZodObject<{
798
- id: z.ZodString;
799
- definitionId: z.ZodString;
800
- name: z.ZodString;
801
- endpointOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
802
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
803
- disabled: "disabled";
804
- enabled: "enabled";
805
- visible: "visible";
806
- }>>>;
807
- modelFilterMode: z.ZodEnum<{
808
- allowlist: "allowlist";
809
- "show-all": "show-all";
810
- }>;
811
- isDefault: z.ZodBoolean;
812
- enabled: z.ZodBoolean;
813
- isSentinel: z.ZodBoolean;
814
- hasCredentials: z.ZodBoolean;
815
- sourceRef: z.ZodOptional<z.ZodString>;
816
- }, z.core.$strict>;
817
- 'providerConfig.deleted': z.ZodObject<{
818
- id: z.ZodString;
819
- }, z.core.$strict>;
820
- 'providerConfig.defaultChanged': z.ZodObject<{
821
- definitionId: z.ZodString;
822
- configId: z.ZodNullable<z.ZodString>;
823
- }, z.core.$strict>;
824
- /**
825
- * Binding lifecycle events.
826
- */
827
- 'binding.created': z.ZodObject<{
828
- adapterName: z.ZodString;
829
- providerConfigId: z.ZodString;
830
- isDefault: z.ZodBoolean;
831
- }, z.core.$strict>;
832
- 'binding.deleted': z.ZodObject<{
833
- adapterName: z.ZodString;
834
- providerConfigId: z.ZodString;
835
- }, z.core.$strict>;
836
- 'binding.defaultChanged': z.ZodObject<{
837
- adapterName: z.ZodString;
838
- providerConfigId: z.ZodString;
839
- }, z.core.$strict>;
840
- /**
841
- * Readiness observability event (fire-and-forget, no replay guarantee).
842
- *
843
- * Listeners registered after the subsystem emits this event will miss it.
844
- * Use `ensureReady` (request/response) for reliable coordination.
845
- */
846
- ready: z.ZodObject<{}, z.core.$strict>;
847
- /**
848
- * Emitted once per adapter after the adapter-subsystem service processes a
849
- * newly-active adapter package.
850
- *
851
- * Replaces the retired batch `adaptersRegistered` event. The model registry
852
- * and other subscribers react per-adapter and debounce refreshes as needed.
853
- *
854
- * Fire-and-forget; no replay guarantee.
855
- */
856
- 'adapter.registered': z.ZodObject<{
857
- adapterName: z.ZodString;
858
- displayName: z.ZodString;
859
- packageName: z.ZodString;
860
- enabled: z.ZodBoolean;
861
- initialized: z.ZodBoolean;
862
- providerDefinitionIds: z.ZodArray<z.ZodString>;
863
- }, z.core.$strict>;
864
- };
865
- //#endregion
866
- //#region services/core/src/adapter-subsystem/types.d.ts
867
- /**
868
- * Loaded adapter file set keyed by adapter name.
869
- */
870
- interface AdapterFileConfigSet {
871
- /** Adapter file payloads keyed by canonical adapter name. */
872
- configs: Map<string, AdapterFile>;
873
- }
874
- /**
875
- * Loaded provider config file set keyed by provider config ID.
876
- */
877
- interface ProviderConfigFileSet {
878
- /** Provider config file payloads keyed by canonical provider config ID. */
879
- configs: Map<string, ProviderConfigFile>;
880
- }
881
- /**
882
- * Repository interface injected into the adapter subsystem service.
883
- */
884
- interface IAdapterConfigRepository {
885
- /**
886
- * Load all adapter files from the canonical config store.
887
- */
888
- loadAdapterConfigs(): Promise<AdapterFileConfigSet>;
889
- /**
890
- * Load all provider config files from the canonical config store.
891
- */
892
- loadProviderConfigs(): Promise<ProviderConfigFileSet>;
893
- /**
894
- * Persist a provider config file at the given canonical ID.
895
- * @param id - Canonical provider config ID
896
- * @param config - File payload to persist
897
- */
898
- writeProviderConfig(id: string, config: ProviderConfigFile): Promise<void>;
899
- /**
900
- * Delete a provider config file by canonical ID.
901
- * @param id - Canonical provider config ID
902
- * @returns `true` when a file was removed
903
- */
904
- deleteProviderConfig(id: string): Promise<boolean>;
905
- /**
906
- * Persist an adapter file at the given canonical name.
907
- * @param name - Canonical adapter name
908
- * @param config - File payload to persist
909
- */
910
- writeAdapterFile(name: string, config: AdapterFile): Promise<void>;
911
- /**
912
- * Delete an adapter file by canonical name.
913
- * @param name - Canonical adapter name
914
- * @returns `true` when a file was removed
915
- */
916
- deleteAdapterFile(name: string): Promise<boolean>;
917
- }
918
- //#endregion
919
- //#region services/core/src/adapter-subsystem/write-types.d.ts
920
- /**
921
- * Canonical credential-ref map stored in provider-config files.
922
- */
923
- declare const CanonicalProviderConfigCredentialRefsSchema: z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>;
924
- /**
925
- * Canonical create payload for provider configs.
926
- *
927
- * Canonical subsystem writes are ref-only at rest. Public callers must resolve
928
- * any plaintext credentials before using this contract.
929
- */
930
- declare const CreateCanonicalProviderConfigInputSchema: z.ZodObject<{
931
- definitionId: z.ZodString;
932
- name: z.ZodOptional<z.ZodString>;
933
- credentialRefs: z.ZodOptional<z.ZodRecord<z.ZodString, z.core.$ZodBranded<z.ZodString, "CredentialRef", "out">>>;
934
- endpointOverrides: z.ZodOptional<z.ZodObject<{
935
- anthropic: z.ZodOptional<z.ZodString>;
936
- openai: z.ZodOptional<z.ZodString>;
937
- }, z.core.$strip>>;
938
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
939
- disabled: "disabled";
940
- enabled: "enabled";
941
- visible: "visible";
942
- }>>>;
943
- modelFilterMode: z.ZodOptional<z.ZodEnum<{
944
- allowlist: "allowlist";
945
- "show-all": "show-all";
946
- }>>;
947
- isSentinel: z.ZodOptional<z.ZodBoolean>;
948
- }, z.core.$strict>;
949
- /**
950
- * Canonical patch payload for provider configs.
951
- *
952
- * Mode changes flow through `setModelFilterMode`. Sentinel state is not part of
953
- * the generic patch seam.
954
- */
955
- declare const CanonicalProviderConfigPatchSchema: z.ZodObject<{
956
- name: z.ZodOptional<z.ZodString>;
957
- endpointOverrides: z.ZodOptional<z.ZodNullable<z.ZodObject<{
958
- anthropic: z.ZodOptional<z.ZodString>;
959
- openai: z.ZodOptional<z.ZodString>;
960
- }, z.core.$strip>>>;
961
- modelVisibility: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
962
- disabled: "disabled";
963
- enabled: "enabled";
964
- visible: "visible";
965
- }>>>;
966
- enabled: z.ZodOptional<z.ZodBoolean>;
967
- }, z.core.$strict>;
968
- /**
969
- * Inferred canonical create payload (post-validation, with branded credential refs).
970
- */
971
- type CreateCanonicalProviderConfigInput = z.infer<typeof CreateCanonicalProviderConfigInputSchema>;
972
- /**
973
- * Bus-layer create payload (pre-validation input type, with unbranded credential refs).
974
- *
975
- * The bus infrastructure uses `z.input` for request payloads so callers can pass
976
- * plain strings that the schema validates and brands. Service handlers receive
977
- * this type from the bus context; only the Zod parse step produces the fully
978
- * branded {@link CreateCanonicalProviderConfigInput}.
979
- */
980
- type CreateCanonicalProviderConfigInputPayload = z.input<typeof CreateCanonicalProviderConfigInputSchema>;
981
- /**
982
- * Inferred canonical patch payload.
983
- */
984
- type CanonicalProviderConfigPatch = z.infer<typeof CanonicalProviderConfigPatchSchema>;
985
- /**
986
- * Inferred canonical credential-ref map (post-validation, with branded refs).
987
- */
988
- type CanonicalProviderConfigCredentialRefs = z.infer<typeof CanonicalProviderConfigCredentialRefsSchema>;
989
- /**
990
- * Bus-layer credential-ref map payload (pre-validation input type).
991
- *
992
- * Request handlers receive the schema input shape from the bus context, so
993
- * credential refs arrive as plain strings until the schema parse brands them.
994
- */
995
- type CanonicalProviderConfigCredentialRefsPayload = z.input<typeof CanonicalProviderConfigCredentialRefsSchema>;
996
- //#endregion
997
- export { ProviderConfigFileRecordSchema as S, BindingRecord as _, CanonicalProviderConfigPatchSchema as a, EffectiveAdapterSchema as b, CreateCanonicalProviderConfigInputSchema as c, ProviderConfigFileSet as d, AdapterFileConfig as f, AdapterSubsystemSchemas as g, AdapterReadinessSchema as h, CanonicalProviderConfigPatch as i, AdapterFileConfigSet as l, AdapterReadiness as m, CanonicalProviderConfigCredentialRefsPayload as n, CreateCanonicalProviderConfigInput as o, AdapterFileConfigSchema as p, CanonicalProviderConfigCredentialRefsSchema as r, CreateCanonicalProviderConfigInputPayload as s, CanonicalProviderConfigCredentialRefs as t, IAdapterConfigRepository as u, BindingRecordSchema as v, ProviderConfigFileRecord as x, EffectiveAdapter as y };