agentworkshop 0.13.0 → 0.15.0

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 (2345) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/_nuxt/{C83WgjYi2.js → 0Nb816vM2.js} +1 -1
  3. package/.output/public/_nuxt/{9fFmgoEg.js → 1MRs7VEN.js} +2 -2
  4. package/.output/public/_nuxt/{na-v7AnV.js → 2G5QY7Ve.js} +1 -1
  5. package/.output/public/_nuxt/{BSoelv0a.js → 2_epppnS.js} +1 -1
  6. package/.output/public/_nuxt/3Z3Bt_nO.js +1 -0
  7. package/.output/public/_nuxt/45EP5kW5.js +1 -0
  8. package/.output/public/_nuxt/{1ACUYRbX2.js → 4zHSAgHR2.js} +1 -1
  9. package/.output/public/_nuxt/{v9siq2t2.js → 7cEEdXUB.js} +1 -1
  10. package/.output/public/_nuxt/{CwKer8HM.js → AoMWPlS4.js} +1 -1
  11. package/.output/public/_nuxt/B1Byv4Xd.js +1 -0
  12. package/.output/public/_nuxt/{CcUK7VEO.js → B2aNBGWY.js} +1 -1
  13. package/.output/public/_nuxt/B5JMr9Bq2.js +1 -0
  14. package/.output/public/_nuxt/{BGNdJs0u.js → B6OzW5oQ.js} +1 -1
  15. package/.output/public/_nuxt/{DkT2GNoe2.js → B7qnHEGS2.js} +1 -1
  16. package/.output/public/_nuxt/{C2T_likn.js → B9bDLMV2.js} +1 -1
  17. package/.output/public/_nuxt/{C1aw8M-y.js → BFCXlEri.js} +1 -1
  18. package/.output/public/_nuxt/{ButdHBAG2.js → BIA1pgdK2.js} +1 -1
  19. package/.output/public/_nuxt/{CaO16PEo.js → BJOvMgHZ.js} +1 -1
  20. package/.output/public/_nuxt/{DShhJiJ2.js → BMNTU63B.js} +1 -1
  21. package/.output/public/_nuxt/{CxsGwDxD.js → BOTwLI58.js} +1 -1
  22. package/.output/public/_nuxt/{DyVSH3z12.js → BOZ5H3qp2.js} +1 -1
  23. package/.output/public/_nuxt/{D6YOm08o2.js → BQUP8S2f2.js} +1 -1
  24. package/.output/public/_nuxt/{DlQwaDvT.js → BTolZqCl.js} +1 -1
  25. package/.output/public/_nuxt/{CqGPK3qr.js → BU9ngoXz.js} +1 -1
  26. package/.output/public/_nuxt/BVg1W_bo.js +1 -0
  27. package/.output/public/_nuxt/{tDcrlXNq2.js → BWDUeB9r2.js} +1 -1
  28. package/.output/public/_nuxt/BXjiBMuG.js +1 -0
  29. package/.output/public/_nuxt/BZiINJYa.js +1 -0
  30. package/.output/public/_nuxt/{Dv-aRRw6.js → BdNcCEk9.js} +1 -1
  31. package/.output/public/_nuxt/{BXmw2gVr2.js → Bdk78w-12.js} +1 -1
  32. package/.output/public/_nuxt/{CjUhmJu4.js → Bm9CxEDc.js} +1 -1
  33. package/.output/public/_nuxt/{BO1EKPwz.js → Bmnkd0yI.js} +1 -1
  34. package/.output/public/_nuxt/BpqmshmO.js +1 -0
  35. package/.output/public/_nuxt/{BzMtfH7I.js → BzrnUjnS.js} +1 -1
  36. package/.output/public/_nuxt/{B58_RyYq.js → C-3VV0kR2.js} +1 -1
  37. package/.output/public/_nuxt/{BgbWJIxO.js → C-9AbHCK.js} +1 -1
  38. package/.output/public/_nuxt/{C-4CbiNS.js → C-TWLsL1.js} +1 -1
  39. package/.output/public/_nuxt/{BMWX8Piz2.js → C2Tq3YFf2.js} +1 -1
  40. package/.output/public/_nuxt/{E0JVrptf2.js → C3OtCFuc.js} +1 -1
  41. package/.output/public/_nuxt/{DbdSzhaN.js → C3quMY1Z.js} +1 -1
  42. package/.output/public/_nuxt/C7cwKZqJ2.js +1 -0
  43. package/.output/public/_nuxt/{DhZ92AxX.js → C7gQe4Lf.js} +1 -1
  44. package/.output/public/_nuxt/C83neYZq2.js +1 -0
  45. package/.output/public/_nuxt/C8z8bWb7.js +2 -0
  46. package/.output/public/_nuxt/{DzeHYeCo2.js → CBNfkSs72.js} +1 -1
  47. package/.output/public/_nuxt/CC8gRGAU.js +1 -0
  48. package/.output/public/_nuxt/{p1ERztZ9.js → CCb05LCf.js} +1 -1
  49. package/.output/public/_nuxt/{CsdezMu9.js → CES9PcLp.js} +6 -6
  50. package/.output/public/_nuxt/{CljTL3qL.js → CGZVhxgy.js} +1 -1
  51. package/.output/public/_nuxt/{Cy0eCUDp.js → CGcb6CEO.js} +5 -5
  52. package/.output/public/_nuxt/CL0ndeUz2.js +1 -0
  53. package/.output/public/_nuxt/{DVz_Lb-o.js → CLocB-kZ.js} +1 -1
  54. package/.output/public/_nuxt/{B074kQfG.js → CMNP1flG.js} +1 -1
  55. package/.output/public/_nuxt/{lfOlRKYk.js → CNanQPIl.js} +1 -1
  56. package/.output/public/_nuxt/COxoJT2N.js +1 -0
  57. package/.output/public/_nuxt/CTHjVKYV.js +1 -0
  58. package/.output/public/_nuxt/CV9ChSul.js +1 -0
  59. package/.output/public/_nuxt/CWwOJ-8h2.js +1 -0
  60. package/.output/public/_nuxt/CaY6Vh5o2.js +1 -0
  61. package/.output/public/_nuxt/{WL1R8lPA.js → ChAyptzV.js} +1 -1
  62. package/.output/public/_nuxt/{DbY_bP7w.js → CjSLwcFL.js} +1 -1
  63. package/.output/public/_nuxt/CjsItGmV.js +1 -0
  64. package/.output/public/_nuxt/{DiGhNsS32.js → ClVN8KaH2.js} +1 -1
  65. package/.output/public/_nuxt/{unupYhzt.js → CnBU3M3H.js} +1 -1
  66. package/.output/public/_nuxt/CnwJOtRh.js +1 -0
  67. package/.output/public/_nuxt/{D1BCZoPK2.js → Cprjhp0y2.js} +1 -1
  68. package/.output/public/_nuxt/Cq04yCfv.js +2 -0
  69. package/.output/public/_nuxt/{DqlqbG4p.js → CuOY9HU5.js} +1 -1
  70. package/.output/public/_nuxt/CuiM5V6m.js +1 -0
  71. package/.output/public/_nuxt/{DkNIO2bC2.js → CzpwkMW62.js} +1 -1
  72. package/.output/public/_nuxt/{DSAh0j8H.js → D3bkMZ9s.js} +1 -1
  73. package/.output/public/_nuxt/{DnN04BP7.js → D7sN-Wpq.js} +1 -1
  74. package/.output/public/_nuxt/{CXcry5882.js → D8nDqaC82.js} +1 -1
  75. package/.output/public/_nuxt/{BhEXWepB2.js → DBYWT65a2.js} +1 -1
  76. package/.output/public/_nuxt/DBj6ccke.js +1 -0
  77. package/.output/public/_nuxt/{CPoQsxkj2.js → DIXtjY5n2.js} +1 -1
  78. package/.output/public/_nuxt/{B47j3rCX2.js → DL06zqLJ2.js} +1 -1
  79. package/.output/public/_nuxt/{_zZ5SC-g2.js → DMDHmyw22.js} +1 -1
  80. package/.output/public/_nuxt/{DMqyOhMS2.js → DOhhieKA2.js} +1 -1
  81. package/.output/public/_nuxt/DU3fuQcm2.js +1 -0
  82. package/.output/public/_nuxt/DVG0F_vR2.js +1 -0
  83. package/.output/public/_nuxt/{PdLKns9u.js → DWmUsWoT.js} +1 -1
  84. package/.output/public/_nuxt/DXY8bTqS.js +1 -0
  85. package/.output/public/_nuxt/{Do_puYWy.js → DXYZpZc3.js} +1 -1
  86. package/.output/public/_nuxt/{BlssjBI62.js → Ddngq6o32.js} +1 -1
  87. package/.output/public/_nuxt/{BnhT9mKJ.js → Del58ZQ1.js} +1 -1
  88. package/.output/public/_nuxt/{C-0XFiGd2.js → Dfd0oCMi2.js} +1 -1
  89. package/.output/public/_nuxt/{zMAN4sWM.js → DhB3DaCJ.js} +1 -1
  90. package/.output/public/_nuxt/{KuauUl3M2.js → DmpthR5e2.js} +1 -1
  91. package/.output/public/_nuxt/{DW3J3wwr.js → DnECgSKV.js} +1 -1
  92. package/.output/public/_nuxt/{C09UDduo.js → DnKJsP9R.js} +1 -1
  93. package/.output/public/_nuxt/{CYVBeAN02.js → DoUe2o1b2.js} +1 -1
  94. package/.output/public/_nuxt/{1-nXTmsz.js → DqugL6kI.js} +1 -1
  95. package/.output/public/_nuxt/{B2-Wuy0u.js → DrtAZmJr.js} +1 -1
  96. package/.output/public/_nuxt/{DLOrQRt8.js → Dycod_QI2.js} +1 -1
  97. package/.output/public/_nuxt/GTQ1F8wZ.js +1 -0
  98. package/.output/public/_nuxt/{BRidIwYz.js → MNmYIrmo.js} +1 -1
  99. package/.output/public/_nuxt/P2Ooyttz2.js +2 -0
  100. package/.output/public/_nuxt/Phf3amPG2.js +1 -0
  101. package/.output/public/_nuxt/Uuf6Jdzd.js +1 -0
  102. package/.output/public/_nuxt/{C41aYETX.js → XOEJCfKe.js} +1 -1
  103. package/.output/public/_nuxt/{_wsId_.zZS-8BeH.css → _wsId_.B2sLoyzZ.css} +1 -1
  104. package/.output/public/_nuxt/{DtZhgwuA.js → abcxuPE9.js} +1 -1
  105. package/.output/public/_nuxt/builds/latest.json +1 -1
  106. package/.output/public/_nuxt/builds/meta/c1f41981-1e18-4ae0-be61-9db5f5bc284e.json +1 -0
  107. package/.output/public/_nuxt/czIOEnW42.js +1 -0
  108. package/.output/public/_nuxt/{CiRZsefJ2.js → e4nLwBjY2.js} +1 -1
  109. package/.output/public/_nuxt/egk5d2O4.js +1 -0
  110. package/.output/public/_nuxt/{entry.Bi6D2eNv.css → entry.CxkSJUk3.css} +1 -1
  111. package/.output/public/_nuxt/{C5qsWljd2.js → pO0uy14N2.js} +1 -1
  112. package/.output/public/_nuxt/settings.BRjXthG4.css +1 -0
  113. package/.output/public/_nuxt/{C9GYA3gx2.js → uH70PXCU2.js} +1 -1
  114. package/.output/public/_nuxt/{BLb7g0SY.js → y3xy6Xpo.js} +1 -1
  115. package/.output/server/chunks/_/access.mjs +2 -1
  116. package/.output/server/chunks/_/access.mjs.map +1 -1
  117. package/.output/server/chunks/_/bench-run.mjs +8 -4
  118. package/.output/server/chunks/_/bench-run.mjs.map +1 -1
  119. package/.output/server/chunks/_/binding-authz.mjs +1 -1
  120. package/.output/server/chunks/_/candidate-store.mjs +1 -1
  121. package/.output/server/chunks/_/catalog-view.mjs +1 -1
  122. package/.output/server/chunks/_/character-asset.repo.mjs +1 -1
  123. package/.output/server/chunks/_/chart-repo.mjs +1 -1
  124. package/.output/server/chunks/_/dashboard-repo.mjs +1 -1
  125. package/.output/server/chunks/_/data-export.mjs +6 -6
  126. package/.output/server/chunks/_/data-query.mjs +3 -3
  127. package/.output/server/chunks/_/eda-run.repo.mjs +3 -2
  128. package/.output/server/chunks/_/eda-run.repo.mjs.map +1 -1
  129. package/.output/server/chunks/_/entity.mjs +1 -1
  130. package/.output/server/chunks/_/features.mjs +6 -5
  131. package/.output/server/chunks/_/features.mjs.map +1 -1
  132. package/.output/server/chunks/_/golden.mjs +3 -3
  133. package/.output/server/chunks/_/host-bindings.mjs +2 -1
  134. package/.output/server/chunks/_/host-bindings.mjs.map +1 -1
  135. package/.output/server/chunks/_/index.mjs +2 -1
  136. package/.output/server/chunks/_/index.mjs.map +1 -1
  137. package/.output/server/chunks/_/line-scope.mjs +1 -1
  138. package/.output/server/chunks/_/mes-console.mjs +1 -1
  139. package/.output/server/chunks/_/mes-secrets.repo.mjs +2 -1
  140. package/.output/server/chunks/_/mes-secrets.repo.mjs.map +1 -1
  141. package/.output/server/chunks/_/mes-templates.mjs +1 -1
  142. package/.output/server/chunks/_/nitro.mjs +4946 -2295
  143. package/.output/server/chunks/_/nitro.mjs.map +1 -1
  144. package/.output/server/chunks/_/ocap.mjs +1 -1
  145. package/.output/server/chunks/_/orchestrator.mjs +2 -1
  146. package/.output/server/chunks/_/orchestrator.mjs.map +1 -1
  147. package/.output/server/chunks/_/promote.mjs +8 -2
  148. package/.output/server/chunks/_/promote.mjs.map +1 -1
  149. package/.output/server/chunks/_/rest-auth.mjs +1 -1
  150. package/.output/server/chunks/_/runtime.mjs +9 -8
  151. package/.output/server/chunks/_/runtime.mjs.map +1 -1
  152. package/.output/server/chunks/_/scene-layout.repo.mjs +1 -1
  153. package/.output/server/chunks/_/spc.mjs +3 -2
  154. package/.output/server/chunks/_/spc.mjs.map +1 -1
  155. package/.output/server/chunks/_/template-repo.mjs +1 -1
  156. package/.output/server/chunks/_/validator.mjs +1 -1
  157. package/.output/server/chunks/build/TownView-DD1zY8xq.mjs +1 -1
  158. package/.output/server/chunks/build/_id_-B9zi8WEg.mjs +1 -0
  159. package/.output/server/chunks/build/_id_-B9zi8WEg.mjs.map +1 -1
  160. package/.output/server/chunks/build/_id_-BB-OZCsp.mjs +1 -0
  161. package/.output/server/chunks/build/_id_-BB-OZCsp.mjs.map +1 -1
  162. package/.output/server/chunks/build/_id_-DLdvNP4J.mjs +1 -0
  163. package/.output/server/chunks/build/_id_-DLdvNP4J.mjs.map +1 -1
  164. package/.output/server/chunks/build/{_wsId_-LDv5SEW_.mjs → _wsId_-DpPJ8wKL.mjs} +116 -19
  165. package/.output/server/chunks/build/{_wsId_-LDv5SEW_.mjs.map → _wsId_-DpPJ8wKL.mjs.map} +1 -1
  166. package/.output/server/chunks/build/agents-DeRHs8c9.mjs +1 -0
  167. package/.output/server/chunks/build/agents-DeRHs8c9.mjs.map +1 -1
  168. package/.output/server/chunks/build/aml-DVcZDyvA.mjs +1 -0
  169. package/.output/server/chunks/build/aml-DVcZDyvA.mjs.map +1 -1
  170. package/.output/server/chunks/build/analysis-DQM-3YKP.mjs +1 -0
  171. package/.output/server/chunks/build/analysis-DQM-3YKP.mjs.map +1 -1
  172. package/.output/server/chunks/build/api-BQ9AQHv-.mjs +1 -0
  173. package/.output/server/chunks/build/api-BQ9AQHv-.mjs.map +1 -1
  174. package/.output/server/chunks/build/api-ByIV5jMN.mjs +1 -0
  175. package/.output/server/chunks/build/api-ByIV5jMN.mjs.map +1 -1
  176. package/.output/server/chunks/build/api-DbUqSbs2.mjs +1 -0
  177. package/.output/server/chunks/build/api-DbUqSbs2.mjs.map +1 -1
  178. package/.output/server/chunks/build/board-CKUuAY_Q.mjs +1 -0
  179. package/.output/server/chunks/build/board-CKUuAY_Q.mjs.map +1 -1
  180. package/.output/server/chunks/build/channel-templates-4Zdu0Eyr.mjs +1 -0
  181. package/.output/server/chunks/build/channel-templates-4Zdu0Eyr.mjs.map +1 -1
  182. package/.output/server/chunks/build/console-nsxH0t5s.mjs +1 -0
  183. package/.output/server/chunks/build/console-nsxH0t5s.mjs.map +1 -1
  184. package/.output/server/chunks/build/constants-HPHJvjne.mjs +1 -0
  185. package/.output/server/chunks/build/constants-HPHJvjne.mjs.map +1 -1
  186. package/.output/server/chunks/build/daq-B5zlUIlb.mjs +2 -1
  187. package/.output/server/chunks/build/daq-B5zlUIlb.mjs.map +1 -1
  188. package/.output/server/chunks/build/data-CdyujjU3.mjs +1 -0
  189. package/.output/server/chunks/build/data-CdyujjU3.mjs.map +1 -1
  190. package/.output/server/chunks/build/dcw-B-eoU7sq.mjs +2 -1
  191. package/.output/server/chunks/build/dcw-B-eoU7sq.mjs.map +1 -1
  192. package/.output/server/chunks/build/default-Bbyb2qEG.mjs +1 -0
  193. package/.output/server/chunks/build/es-DHnUVWGO.mjs +1 -0
  194. package/.output/server/chunks/build/es-DHnUVWGO.mjs.map +1 -1
  195. package/.output/server/chunks/build/logs-ByxK-myz.mjs +1 -0
  196. package/.output/server/chunks/build/logs-ByxK-myz.mjs.map +1 -1
  197. package/.output/server/chunks/build/monitor-BWd4h4K9.mjs +1 -0
  198. package/.output/server/chunks/build/ontology-C3WzgG5p.mjs +1 -0
  199. package/.output/server/chunks/build/ontology-C3WzgG5p.mjs.map +1 -1
  200. package/.output/server/chunks/build/operations-tE63Vy9Z.mjs +1 -0
  201. package/.output/server/chunks/build/operations-tE63Vy9Z.mjs.map +1 -1
  202. package/.output/server/chunks/build/optimizer-A6UyksVT.mjs +1 -0
  203. package/.output/server/chunks/build/pages-D-cFfP_K.mjs +1 -0
  204. package/.output/server/chunks/build/pages-D-cFfP_K.mjs.map +1 -1
  205. package/.output/server/chunks/build/permissions-44GsBS_4.mjs +1 -0
  206. package/.output/server/chunks/build/permissions-44GsBS_4.mjs.map +1 -1
  207. package/.output/server/chunks/build/pipeline-B2TDdGx6.mjs +1 -0
  208. package/.output/server/chunks/build/pipeline-B2TDdGx6.mjs.map +1 -1
  209. package/.output/server/chunks/build/plugins-CfVTAFbT.mjs +1 -0
  210. package/.output/server/chunks/build/plugins-CfVTAFbT.mjs.map +1 -1
  211. package/.output/server/chunks/build/projects-taoNPGqx.mjs +1 -0
  212. package/.output/server/chunks/build/projects-taoNPGqx.mjs.map +1 -1
  213. package/.output/server/chunks/build/schedules-DnHxYWcd.mjs +1 -0
  214. package/.output/server/chunks/build/settings-DpVwa_M8.mjs +3537 -0
  215. package/.output/server/chunks/build/settings-DpVwa_M8.mjs.map +1 -0
  216. package/.output/server/chunks/build/studio-CB0a63bK.mjs +1 -0
  217. package/.output/server/chunks/build/studio-CB0a63bK.mjs.map +1 -1
  218. package/.output/server/chunks/build/teams-DkwgH6Ab.mjs +1 -0
  219. package/.output/server/chunks/build/teams-DkwgH6Ab.mjs.map +1 -1
  220. package/.output/server/chunks/build/tokens-yzJOx8lm.mjs +1 -0
  221. package/.output/server/chunks/build/tokens-yzJOx8lm.mjs.map +1 -1
  222. package/.output/server/chunks/build/tools-Bd7u9FCc.mjs +1 -0
  223. package/.output/server/chunks/build/tools-Bd7u9FCc.mjs.map +1 -1
  224. package/.output/server/chunks/build/town-CyJy_4k5.mjs +1 -0
  225. package/.output/server/chunks/build/town-CyJy_4k5.mjs.map +1 -1
  226. package/.output/server/chunks/build/town-pIgFRdcR.mjs +1 -0
  227. package/.output/server/chunks/build/town-pIgFRdcR.mjs.map +1 -1
  228. package/.output/server/chunks/build/types-D6J7slEa.mjs +1 -1
  229. package/.output/server/chunks/build/types-DWqIeMRP.mjs +1 -0
  230. package/.output/server/chunks/build/types-DWqIeMRP.mjs.map +1 -1
  231. package/.output/server/chunks/build/useAgentHarnessOptions-BkPrqFxg.mjs +1 -0
  232. package/.output/server/chunks/build/useAgentHarnessOptions-BkPrqFxg.mjs.map +1 -1
  233. package/.output/server/chunks/build/useAgentTemplateActions-BftyRRwI.mjs +1 -0
  234. package/.output/server/chunks/build/useAgentTemplateActions-BftyRRwI.mjs.map +1 -1
  235. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs +1 -0
  236. package/.output/server/chunks/build/useAgentTemplateDialogState-CZzpu5og.mjs.map +1 -1
  237. package/.output/server/chunks/build/useAgentTemplateForm-D7NAXZ59.mjs +1 -0
  238. package/.output/server/chunks/build/useAgentTemplateForm-D7NAXZ59.mjs.map +1 -1
  239. package/.output/server/chunks/build/useAgentTemplatesCatalog-DnqTc0oL.mjs +1 -0
  240. package/.output/server/chunks/build/useAgentTemplatesCatalog-DnqTc0oL.mjs.map +1 -1
  241. package/.output/server/chunks/build/useAmlDatasets-Cr25p62c.mjs +1 -0
  242. package/.output/server/chunks/build/useAmlDatasets-Cr25p62c.mjs.map +1 -1
  243. package/.output/server/chunks/build/useAmlEntities-DBDpqmC3.mjs +1 -0
  244. package/.output/server/chunks/build/useAmlEntities-DBDpqmC3.mjs.map +1 -1
  245. package/.output/server/chunks/build/useAmlEnv-B94CxtjW.mjs +1 -0
  246. package/.output/server/chunks/build/useAmlEnv-B94CxtjW.mjs.map +1 -1
  247. package/.output/server/chunks/build/useAmlExperiments-B2HI1odc.mjs +1 -0
  248. package/.output/server/chunks/build/useAmlExperiments-B2HI1odc.mjs.map +1 -1
  249. package/.output/server/chunks/build/useAmlFormat-DNrSqItx.mjs +1 -0
  250. package/.output/server/chunks/build/useAmlFormat-DNrSqItx.mjs.map +1 -1
  251. package/.output/server/chunks/build/useAmlJobs-C-EheCdn.mjs +1 -0
  252. package/.output/server/chunks/build/useAmlJobs-C-EheCdn.mjs.map +1 -1
  253. package/.output/server/chunks/build/useAmlModels-BqWz2YoO.mjs +1 -0
  254. package/.output/server/chunks/build/useAmlModels-BqWz2YoO.mjs.map +1 -1
  255. package/.output/server/chunks/build/useAmlNotes-nRlk9fOE.mjs +1 -0
  256. package/.output/server/chunks/build/useAmlNotes-nRlk9fOE.mjs.map +1 -1
  257. package/.output/server/chunks/build/useAmlPredict-BQbSLob6.mjs +1 -0
  258. package/.output/server/chunks/build/useAmlPredict-BQbSLob6.mjs.map +1 -1
  259. package/.output/server/chunks/build/useAnalysisFeed-CzZmTTqq.mjs +1 -0
  260. package/.output/server/chunks/build/useAnalysisFeed-CzZmTTqq.mjs.map +1 -1
  261. package/.output/server/chunks/build/useDaqAddNode-Dr5CfMpU.mjs +2 -1
  262. package/.output/server/chunks/build/useDaqAddNode-Dr5CfMpU.mjs.map +1 -1
  263. package/.output/server/chunks/build/useDaqDetailBinding-BAAoyUdv.mjs +1 -0
  264. package/.output/server/chunks/build/useDaqDetailBinding-BAAoyUdv.mjs.map +1 -1
  265. package/.output/server/chunks/build/useDaqDetailFrames-4zuFL3Q5.mjs +1 -0
  266. package/.output/server/chunks/build/useDaqDetailFrames-4zuFL3Q5.mjs.map +1 -1
  267. package/.output/server/chunks/build/useDaqDetailHistory-CHrHfBOm.mjs +1 -0
  268. package/.output/server/chunks/build/useDaqDetailHistory-CHrHfBOm.mjs.map +1 -1
  269. package/.output/server/chunks/build/useDaqDetailNode-DDq5osE-.mjs +2 -1
  270. package/.output/server/chunks/build/useDaqDetailNode-DDq5osE-.mjs.map +1 -1
  271. package/.output/server/chunks/build/useDaqDetailParams-DdOcUvHG.mjs +2 -1
  272. package/.output/server/chunks/build/useDaqDetailParams-DdOcUvHG.mjs.map +1 -1
  273. package/.output/server/chunks/build/useDaqFilters-Y_NRhP6i.mjs +2 -1
  274. package/.output/server/chunks/build/useDaqFilters-Y_NRhP6i.mjs.map +1 -1
  275. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs +1 -0
  276. package/.output/server/chunks/build/useDaqNodeWindow-1DWj2H5G.mjs.map +1 -1
  277. package/.output/server/chunks/build/useDaqOptimizations-O4JdRYUR.mjs +1 -0
  278. package/.output/server/chunks/build/useDaqOptimizations-O4JdRYUR.mjs.map +1 -1
  279. package/.output/server/chunks/build/useDaqStream-phwM5tIN.mjs +1 -1
  280. package/.output/server/chunks/build/useDaqTemplates-lKw2b01d.mjs +2 -1
  281. package/.output/server/chunks/build/useDaqTemplates-lKw2b01d.mjs.map +1 -1
  282. package/.output/server/chunks/build/useDashboardCharts-Cw7u2wUU.mjs +1 -0
  283. package/.output/server/chunks/build/useDashboardCharts-Cw7u2wUU.mjs.map +1 -1
  284. package/.output/server/chunks/build/useDashboardData-BBBMb6v_.mjs +1 -0
  285. package/.output/server/chunks/build/useDashboardData-BBBMb6v_.mjs.map +1 -1
  286. package/.output/server/chunks/build/useDcwAddNode-CT-oOFom.mjs +2 -1
  287. package/.output/server/chunks/build/useDcwAddNode-CT-oOFom.mjs.map +1 -1
  288. package/.output/server/chunks/build/useDcwCards-COffSnEh.mjs +1 -0
  289. package/.output/server/chunks/build/useDcwCards-COffSnEh.mjs.map +1 -1
  290. package/.output/server/chunks/build/useDcwDetailScope-CPYeNib2.mjs +1 -0
  291. package/.output/server/chunks/build/useDcwDetailScope-CPYeNib2.mjs.map +1 -1
  292. package/.output/server/chunks/build/useDcwDetailTemplates-jXerMgzY.mjs +1 -0
  293. package/.output/server/chunks/build/useDcwDetailTemplates-jXerMgzY.mjs.map +1 -1
  294. package/.output/server/chunks/build/useDcwFilter-BmuVZkbW.mjs +1 -0
  295. package/.output/server/chunks/build/useDcwFilter-BmuVZkbW.mjs.map +1 -1
  296. package/.output/server/chunks/build/useDcwLedger-Do4JjGEu.mjs +1 -0
  297. package/.output/server/chunks/build/useDcwLedger-Do4JjGEu.mjs.map +1 -1
  298. package/.output/server/chunks/build/useDcwLineMutations-BNx-gh7I.mjs +1 -0
  299. package/.output/server/chunks/build/useDcwLineMutations-BNx-gh7I.mjs.map +1 -1
  300. package/.output/server/chunks/build/useDcwLineRun-CbJWDWZl.mjs +1 -0
  301. package/.output/server/chunks/build/useDcwLineRun-CbJWDWZl.mjs.map +1 -1
  302. package/.output/server/chunks/build/useDcwParamApprovals-BsoHHvme.mjs +1 -0
  303. package/.output/server/chunks/build/useDcwParamApprovals-BsoHHvme.mjs.map +1 -1
  304. package/.output/server/chunks/build/useDcwProducts-CXNhswqK.mjs +1 -0
  305. package/.output/server/chunks/build/useDcwProducts-CXNhswqK.mjs.map +1 -1
  306. package/.output/server/chunks/build/useDcwQuery-CBPkHlA7.mjs +1 -0
  307. package/.output/server/chunks/build/useDcwQuery-CBPkHlA7.mjs.map +1 -1
  308. package/.output/server/chunks/build/useDcwQuickActions-By6bAfeD.mjs +1 -0
  309. package/.output/server/chunks/build/useDcwQuickActions-By6bAfeD.mjs.map +1 -1
  310. package/.output/server/chunks/build/useDcwRecipes-ZUNE8GaL.mjs +1 -0
  311. package/.output/server/chunks/build/useDcwRecipes-ZUNE8GaL.mjs.map +1 -1
  312. package/.output/server/chunks/build/useDcwStream-CNtMGcR0.mjs +1 -1
  313. package/.output/server/chunks/build/useDcwTemplates-B5asHSLs.mjs +1 -0
  314. package/.output/server/chunks/build/useDcwTemplates-B5asHSLs.mjs.map +1 -1
  315. package/.output/server/chunks/build/useDcwWrites-B0RF3zFE.mjs +1 -0
  316. package/.output/server/chunks/build/useDcwWrites-B0RF3zFE.mjs.map +1 -1
  317. package/.output/server/chunks/build/useExpConfirmations-BxGYvtvI.mjs +1 -0
  318. package/.output/server/chunks/build/useExpConfirmations-BxGYvtvI.mjs.map +1 -1
  319. package/.output/server/chunks/build/useLogsFormat-jAfh97vI.mjs +1 -0
  320. package/.output/server/chunks/build/useLogsFormat-jAfh97vI.mjs.map +1 -1
  321. package/.output/server/chunks/build/useLogsManual-CIcgIGCP.mjs +1 -0
  322. package/.output/server/chunks/build/useLogsManual-CIcgIGCP.mjs.map +1 -1
  323. package/.output/server/chunks/build/useLogsQuery-CAkEW5e7.mjs +1 -0
  324. package/.output/server/chunks/build/useLogsQuery-CAkEW5e7.mjs.map +1 -1
  325. package/.output/server/chunks/build/useLogsScope-DGFmQgcV.mjs +1 -0
  326. package/.output/server/chunks/build/useLogsScope-DGFmQgcV.mjs.map +1 -1
  327. package/.output/server/chunks/build/useMonitorColumns-B9v7KZdO.mjs +1 -0
  328. package/.output/server/chunks/build/useMonitorColumns-B9v7KZdO.mjs.map +1 -1
  329. package/.output/server/chunks/build/useMonitorData-CXJzv8yG.mjs +1 -0
  330. package/.output/server/chunks/build/useMonitorData-CXJzv8yG.mjs.map +1 -1
  331. package/.output/server/chunks/build/useMonitorFormat-BEESOsgH.mjs +1 -0
  332. package/.output/server/chunks/build/useMonitorFormat-BEESOsgH.mjs.map +1 -1
  333. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs +1 -0
  334. package/.output/server/chunks/build/useMonitorTerminal-Dj4QwRNW.mjs.map +1 -1
  335. package/.output/server/chunks/build/useOperationsFeed-BK8B0A0L.mjs +1 -0
  336. package/.output/server/chunks/build/useOperationsFeed-BK8B0A0L.mjs.map +1 -1
  337. package/.output/server/chunks/build/useRecipeDispatchApprovals-NuH_3Bpu.mjs +1 -0
  338. package/.output/server/chunks/build/useRecipeDispatchApprovals-NuH_3Bpu.mjs.map +1 -1
  339. package/.output/server/chunks/build/useTeamActions-B4QCFYq8.mjs +1 -0
  340. package/.output/server/chunks/build/useTeamActions-B4QCFYq8.mjs.map +1 -1
  341. package/.output/server/chunks/build/useTeamAddMemberDialog-CF0Qb5l7.mjs +1 -0
  342. package/.output/server/chunks/build/useTeamAddMemberDialog-CF0Qb5l7.mjs.map +1 -1
  343. package/.output/server/chunks/build/useTeamCreateDialog-B-P-LG3N.mjs +1 -0
  344. package/.output/server/chunks/build/useTeamCreateDialog-B-P-LG3N.mjs.map +1 -1
  345. package/.output/server/chunks/build/useTeamDeployDialog-DHA-c9Tk.mjs +1 -0
  346. package/.output/server/chunks/build/useTeamDeployDialog-DHA-c9Tk.mjs.map +1 -1
  347. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs +1 -0
  348. package/.output/server/chunks/build/useTeamDialogState-CFRUQxAf.mjs.map +1 -1
  349. package/.output/server/chunks/build/useTeamPluginDialog-CDf1S9ME.mjs +1 -0
  350. package/.output/server/chunks/build/useTeamPluginDialog-CDf1S9ME.mjs.map +1 -1
  351. package/.output/server/chunks/build/useTeamsCatalog-BHP6g4ON.mjs +1 -0
  352. package/.output/server/chunks/build/useTeamsCatalog-BHP6g4ON.mjs.map +1 -1
  353. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs +1 -0
  354. package/.output/server/chunks/build/useTokenClipboard-CwQpoFeP.mjs.map +1 -1
  355. package/.output/server/chunks/build/useTokenCreate-Bl6fJXjW.mjs +1 -0
  356. package/.output/server/chunks/build/useTokenCreate-Bl6fJXjW.mjs.map +1 -1
  357. package/.output/server/chunks/build/useTokenRename-CHm_kIgW.mjs +1 -0
  358. package/.output/server/chunks/build/useTokenRename-CHm_kIgW.mjs.map +1 -1
  359. package/.output/server/chunks/build/useTokenReveal-DMRadzcq.mjs +1 -0
  360. package/.output/server/chunks/build/useTokenReveal-DMRadzcq.mjs.map +1 -1
  361. package/.output/server/chunks/build/useTokensList-DnT_Sn0Q.mjs +1 -0
  362. package/.output/server/chunks/build/useTokensList-DnT_Sn0Q.mjs.map +1 -1
  363. package/.output/server/chunks/build/useWorkbenchAuth-DgxFoSli.mjs +1 -0
  364. package/.output/server/chunks/build/useWorkbenchAuth-DgxFoSli.mjs.map +1 -1
  365. package/.output/server/chunks/build/useWorkbenchWorkspaces-BHRTd7aZ.mjs +1 -0
  366. package/.output/server/chunks/build/useWorkbenchWorkspaces-BHRTd7aZ.mjs.map +1 -1
  367. package/.output/server/chunks/build/useWorkspaceAuth-cgLRP1X_.mjs +1 -0
  368. package/.output/server/chunks/build/useWorkspaceAuth-cgLRP1X_.mjs.map +1 -1
  369. package/.output/server/chunks/build/useWorkspaceChannels-C4b7dg1J.mjs +1 -0
  370. package/.output/server/chunks/build/useWorkspaceChannels-C4b7dg1J.mjs.map +1 -1
  371. package/.output/server/chunks/build/useWorkspacePanels-ht2LWq_7.mjs +1 -0
  372. package/.output/server/chunks/build/useWorkspacePanels-ht2LWq_7.mjs.map +1 -1
  373. package/.output/server/chunks/build/useWorkspaceShell-C9rDcdde.mjs +1 -0
  374. package/.output/server/chunks/build/useWorkspaceShell-C9rDcdde.mjs.map +1 -1
  375. package/.output/server/chunks/build/users-nLXiihNX.mjs +1 -0
  376. package/.output/server/chunks/build/users-nLXiihNX.mjs.map +1 -1
  377. package/.output/server/chunks/build/workshop-DDci854s.mjs +1 -0
  378. package/.output/server/chunks/build/workshop-DDci854s.mjs.map +1 -1
  379. package/.output/server/chunks/routes/api/health.get.mjs +1 -0
  380. package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
  381. package/.output/server/chunks/routes/api/index.get.mjs +2 -1
  382. package/.output/server/chunks/routes/api/index.get.mjs.map +1 -1
  383. package/.output/server/chunks/routes/api/index.post.mjs +2 -1
  384. package/.output/server/chunks/routes/api/index.post.mjs.map +1 -1
  385. package/.output/server/chunks/routes/api/mcp/workshop.mjs +110 -12
  386. package/.output/server/chunks/routes/api/mcp/workshop.mjs.map +1 -1
  387. package/.output/server/chunks/routes/api/metrics.mjs +1 -0
  388. package/.output/server/chunks/routes/api/metrics.mjs.map +1 -1
  389. package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs +1 -0
  390. package/.output/server/chunks/routes/api/plugins/_name/_...path_.mjs.map +1 -1
  391. package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs +1 -0
  392. package/.output/server/chunks/routes/api/plugins/client/_name_.get.mjs.map +1 -1
  393. package/.output/server/chunks/routes/api/plugins/i18n.get.mjs +1 -0
  394. package/.output/server/chunks/routes/api/plugins/i18n.get.mjs.map +1 -1
  395. package/.output/server/chunks/routes/api/plugins/manifest.get.mjs +1 -0
  396. package/.output/server/chunks/routes/api/plugins/manifest.get.mjs.map +1 -1
  397. package/.output/server/chunks/routes/api/system/backup/list.get.mjs +1 -0
  398. package/.output/server/chunks/routes/api/system/backup/list.get.mjs.map +1 -1
  399. package/.output/server/chunks/routes/api/system/backup/restore.post.mjs +2 -1
  400. package/.output/server/chunks/routes/api/system/backup/restore.post.mjs.map +1 -1
  401. package/.output/server/chunks/routes/api/system/backup/run.post.mjs +3 -2
  402. package/.output/server/chunks/routes/api/system/backup/run.post.mjs.map +1 -1
  403. package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs +1 -0
  404. package/.output/server/chunks/routes/api/system/config-groups/_id_.delete.mjs.map +1 -1
  405. package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs +1 -0
  406. package/.output/server/chunks/routes/api/system/config-groups/_id_.patch.mjs.map +1 -1
  407. package/.output/server/chunks/routes/api/system/config.get.mjs +1 -0
  408. package/.output/server/chunks/routes/api/system/config.get.mjs.map +1 -1
  409. package/.output/server/chunks/routes/api/system/index.get.mjs +1 -0
  410. package/.output/server/chunks/routes/api/system/index.get.mjs.map +1 -1
  411. package/.output/server/chunks/routes/api/system/index.patch.mjs +4 -3
  412. package/.output/server/chunks/routes/api/system/index.patch.mjs.map +1 -1
  413. package/.output/server/chunks/routes/api/system/index.post.mjs +1 -0
  414. package/.output/server/chunks/routes/api/system/index.post.mjs.map +1 -1
  415. package/.output/server/chunks/routes/api/system/index2.get.mjs +4 -2
  416. package/.output/server/chunks/routes/api/system/index2.get.mjs.map +1 -1
  417. package/.output/server/chunks/routes/api/system/index2.post.mjs +59 -0
  418. package/.output/server/chunks/routes/api/system/index2.post.mjs.map +1 -0
  419. package/.output/server/chunks/routes/api/system/index3.get.mjs +34 -0
  420. package/.output/server/chunks/routes/api/system/index3.get.mjs.map +1 -0
  421. package/.output/server/chunks/routes/api/system/index4.get.mjs +35 -0
  422. package/.output/server/chunks/routes/api/system/index4.get.mjs.map +1 -0
  423. package/.output/server/chunks/routes/api/system/mcp-servers/_id/discover.post.mjs +47 -0
  424. package/.output/server/chunks/routes/api/system/mcp-servers/_id/discover.post.mjs.map +1 -0
  425. package/.output/server/chunks/routes/api/system/mcp-servers/_id/review.post.mjs +57 -0
  426. package/.output/server/chunks/routes/api/system/mcp-servers/_id/review.post.mjs.map +1 -0
  427. package/.output/server/chunks/routes/api/system/mcp-servers/_id_.delete.mjs +47 -0
  428. package/.output/server/chunks/routes/api/system/mcp-servers/_id_.delete.mjs.map +1 -0
  429. package/.output/server/chunks/routes/api/system/mcp-servers/_id_.get.mjs +36 -0
  430. package/.output/server/chunks/routes/api/system/mcp-servers/_id_.get.mjs.map +1 -0
  431. package/.output/server/chunks/routes/api/system/mcp-servers/_id_.patch.mjs +59 -0
  432. package/.output/server/chunks/routes/api/system/mcp-servers/_id_.patch.mjs.map +1 -0
  433. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs +2 -1
  434. package/.output/server/chunks/routes/api/system/monitor/terminal/ws.mjs.map +1 -1
  435. package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs +2 -1
  436. package/.output/server/chunks/routes/api/system/monitor/terminate.post.mjs.map +1 -1
  437. package/.output/server/chunks/routes/api/system/monitor.get.mjs +1 -0
  438. package/.output/server/chunks/routes/api/system/monitor.get.mjs.map +1 -1
  439. package/.output/server/chunks/routes/api/system/settings/events.get.mjs +2 -1
  440. package/.output/server/chunks/routes/api/system/settings/events.get.mjs.map +1 -1
  441. package/.output/server/chunks/routes/api/system/settings/reset.post.mjs +2 -1
  442. package/.output/server/chunks/routes/api/system/settings/reset.post.mjs.map +1 -1
  443. package/.output/server/chunks/routes/api/system/shutdown.post.mjs +3 -2
  444. package/.output/server/chunks/routes/api/system/shutdown.post.mjs.map +1 -1
  445. package/.output/server/chunks/routes/api/system/skills/_id/file.get.mjs +39 -0
  446. package/.output/server/chunks/routes/api/system/skills/_id/file.get.mjs.map +1 -0
  447. package/.output/server/chunks/routes/api/system/skills/_id_.delete.mjs +49 -0
  448. package/.output/server/chunks/routes/api/system/skills/_id_.delete.mjs.map +1 -0
  449. package/.output/server/chunks/routes/api/system/skills/_id_.patch.mjs +49 -0
  450. package/.output/server/chunks/routes/api/system/skills/_id_.patch.mjs.map +1 -0
  451. package/.output/server/chunks/routes/api/system/skills/discover.get.mjs +35 -0
  452. package/.output/server/chunks/routes/api/system/skills/discover.get.mjs.map +1 -0
  453. package/.output/server/chunks/routes/api/system/skills/import.post.mjs +49 -0
  454. package/.output/server/chunks/routes/api/system/skills/import.post.mjs.map +1 -0
  455. package/.output/server/chunks/routes/api/system/timezone.get.mjs +2 -1
  456. package/.output/server/chunks/routes/api/system/timezone.get.mjs.map +1 -1
  457. package/.output/server/chunks/routes/api/users/_id_.delete.mjs +2 -1
  458. package/.output/server/chunks/routes/api/users/_id_.delete.mjs.map +1 -1
  459. package/.output/server/chunks/routes/api/users/_id_.get.mjs +2 -1
  460. package/.output/server/chunks/routes/api/users/_id_.get.mjs.map +1 -1
  461. package/.output/server/chunks/routes/api/users/_id_.put.mjs +2 -1
  462. package/.output/server/chunks/routes/api/users/_id_.put.mjs.map +1 -1
  463. package/.output/server/chunks/routes/api/users/change-password.post.mjs +2 -1
  464. package/.output/server/chunks/routes/api/users/change-password.post.mjs.map +1 -1
  465. package/.output/server/chunks/routes/api/users/index.get.mjs +2 -1
  466. package/.output/server/chunks/routes/api/users/index.get.mjs.map +1 -1
  467. package/.output/server/chunks/routes/api/users/index.post.mjs +2 -1
  468. package/.output/server/chunks/routes/api/users/index.post.mjs.map +1 -1
  469. package/.output/server/chunks/routes/api/users/login.post.mjs +2 -1
  470. package/.output/server/chunks/routes/api/users/login.post.mjs.map +1 -1
  471. package/.output/server/chunks/routes/api/users/logout.post.mjs +2 -1
  472. package/.output/server/chunks/routes/api/users/logout.post.mjs.map +1 -1
  473. package/.output/server/chunks/routes/api/users/me.get.mjs +2 -1
  474. package/.output/server/chunks/routes/api/users/me.get.mjs.map +1 -1
  475. package/.output/server/chunks/routes/api/users/register.post.mjs +2 -1
  476. package/.output/server/chunks/routes/api/users/register.post.mjs.map +1 -1
  477. package/.output/server/chunks/routes/api/users/session.delete.mjs +2 -1
  478. package/.output/server/chunks/routes/api/users/session.delete.mjs.map +1 -1
  479. package/.output/server/chunks/routes/api/users/session.get.mjs +2 -1
  480. package/.output/server/chunks/routes/api/users/session.get.mjs.map +1 -1
  481. package/.output/server/chunks/routes/api/users/session.post.mjs +2 -1
  482. package/.output/server/chunks/routes/api/users/session.post.mjs.map +1 -1
  483. package/.output/server/chunks/routes/api/users/setup-status.get.mjs +2 -1
  484. package/.output/server/chunks/routes/api/users/setup-status.get.mjs.map +1 -1
  485. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs +2 -1
  486. package/.output/server/chunks/routes/api/users/tokens/_id/token.get.mjs.map +1 -1
  487. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs +2 -1
  488. package/.output/server/chunks/routes/api/users/tokens/_id_.delete.mjs.map +1 -1
  489. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs +2 -1
  490. package/.output/server/chunks/routes/api/users/tokens/_id_.patch.mjs.map +1 -1
  491. package/.output/server/chunks/routes/api/workshop/_...path_.mjs +1 -0
  492. package/.output/server/chunks/routes/api/workshop/_...path_.mjs.map +1 -1
  493. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs +2 -1
  494. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.get.mjs.map +1 -1
  495. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs +2 -1
  496. package/.output/server/chunks/routes/api/workshop/a2a/_agentId/index.post.mjs.map +1 -1
  497. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs +2 -1
  498. package/.output/server/chunks/routes/api/workshop/a2a/send.post.mjs.map +1 -1
  499. package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id/publish.post.mjs +48 -0
  500. package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id/publish.post.mjs.map +1 -0
  501. package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id/revisions/_revision_.get.mjs +49 -0
  502. package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id/revisions/_revision_.get.mjs.map +1 -0
  503. package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id_.get.mjs +47 -0
  504. package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id_.get.mjs.map +1 -0
  505. package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id_.patch.mjs +43 -0
  506. package/.output/server/chunks/routes/api/workshop/agent-prefabs/_id_.patch.mjs.map +1 -0
  507. package/.output/server/chunks/routes/api/workshop/agent-prefabs/catalog.get.mjs +42 -0
  508. package/.output/server/chunks/routes/api/workshop/agent-prefabs/catalog.get.mjs.map +1 -0
  509. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs +2 -1
  510. package/.output/server/chunks/routes/api/workshop/agent-tools/approvals/_id/decide.post.mjs.map +1 -1
  511. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs +2 -1
  512. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.delete.mjs.map +1 -1
  513. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs +2 -1
  514. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/_id_.patch.mjs.map +1 -1
  515. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs +2 -1
  516. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/grant.post.mjs.map +1 -1
  517. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs +2 -1
  518. package/.output/server/chunks/routes/api/workshop/agent-tools/bindings/revoke.post.mjs.map +1 -1
  519. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs +2 -1
  520. package/.output/server/chunks/routes/api/workshop/agent-tools/index.get.mjs.map +1 -1
  521. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs +3 -2
  522. package/.output/server/chunks/routes/api/workshop/agent-tools/index.post.mjs.map +1 -1
  523. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs +2 -1
  524. package/.output/server/chunks/routes/api/workshop/agent-tools/index2.get.mjs.map +1 -1
  525. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs +2 -1
  526. package/.output/server/chunks/routes/api/workshop/agent-tools/invoke.post.mjs.map +1 -1
  527. package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs +2 -1
  528. package/.output/server/chunks/routes/api/workshop/agent-tools/list.get.mjs.map +1 -1
  529. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs +1 -0
  530. package/.output/server/chunks/routes/api/workshop/agents/_id_.delete.mjs.map +1 -1
  531. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs +1 -0
  532. package/.output/server/chunks/routes/api/workshop/agents/_id_.get.mjs.map +1 -1
  533. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs +2 -1
  534. package/.output/server/chunks/routes/api/workshop/agents/_id_.patch.mjs.map +1 -1
  535. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs +2 -1
  536. package/.output/server/chunks/routes/api/workshop/agents/subscribe.post.mjs.map +1 -1
  537. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs +2 -1
  538. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id/preview.get.mjs.map +1 -1
  539. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs +2 -1
  540. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.delete.mjs.map +1 -1
  541. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs +2 -1
  542. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.get.mjs.map +1 -1
  543. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs +2 -1
  544. package/.output/server/chunks/routes/api/workshop/aml/datasets/_id_.patch.mjs.map +1 -1
  545. package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs +2 -1
  546. package/.output/server/chunks/routes/api/workshop/aml/entities/prune.post.mjs.map +1 -1
  547. package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs +2 -1
  548. package/.output/server/chunks/routes/api/workshop/aml/env/recheck.post.mjs.map +1 -1
  549. package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs +2 -1
  550. package/.output/server/chunks/routes/api/workshop/aml/env/uv.post.mjs.map +1 -1
  551. package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs +2 -1
  552. package/.output/server/chunks/routes/api/workshop/aml/env/venv.post.mjs.map +1 -1
  553. package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs +2 -1
  554. package/.output/server/chunks/routes/api/workshop/aml/index.get.mjs.map +1 -1
  555. package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs +2 -1
  556. package/.output/server/chunks/routes/api/workshop/aml/index.post.mjs.map +1 -1
  557. package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs +1 -0
  558. package/.output/server/chunks/routes/api/workshop/aml/index2.get.mjs.map +1 -1
  559. package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs +2 -1
  560. package/.output/server/chunks/routes/api/workshop/aml/index2.post.mjs.map +1 -1
  561. package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs +2 -1
  562. package/.output/server/chunks/routes/api/workshop/aml/index3.get.mjs.map +1 -1
  563. package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs +2 -1
  564. package/.output/server/chunks/routes/api/workshop/aml/index3.post.mjs.map +1 -1
  565. package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs +2 -1
  566. package/.output/server/chunks/routes/api/workshop/aml/index4.get.mjs.map +1 -1
  567. package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs +2 -1
  568. package/.output/server/chunks/routes/api/workshop/aml/index5.get.mjs.map +1 -1
  569. package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs +2 -1
  570. package/.output/server/chunks/routes/api/workshop/aml/index6.get.mjs.map +1 -1
  571. package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs +2 -1
  572. package/.output/server/chunks/routes/api/workshop/aml/index7.get.mjs.map +1 -1
  573. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs +2 -1
  574. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/cancel.post.mjs.map +1 -1
  575. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs +2 -1
  576. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/logs.get.mjs.map +1 -1
  577. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs +2 -1
  578. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id/retry.post.mjs.map +1 -1
  579. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs +2 -1
  580. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.delete.mjs.map +1 -1
  581. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs +2 -1
  582. package/.output/server/chunks/routes/api/workshop/aml/jobs/_id_.get.mjs.map +1 -1
  583. package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs +2 -1
  584. package/.output/server/chunks/routes/api/workshop/aml/models/_id/predict.post.mjs.map +1 -1
  585. package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs +2 -1
  586. package/.output/server/chunks/routes/api/workshop/aml/models/_id/promote.post.mjs.map +1 -1
  587. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs +2 -1
  588. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.delete.mjs.map +1 -1
  589. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs +2 -1
  590. package/.output/server/chunks/routes/api/workshop/aml/models/_id_.patch.mjs.map +1 -1
  591. package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs +2 -1
  592. package/.output/server/chunks/routes/api/workshop/aml/models/index.get.mjs.map +1 -1
  593. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs +2 -1
  594. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id/train.post.mjs.map +1 -1
  595. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs +2 -1
  596. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.delete.mjs.map +1 -1
  597. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs +2 -1
  598. package/.output/server/chunks/routes/api/workshop/aml/training-plans/_id_.patch.mjs.map +1 -1
  599. package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs +2 -1
  600. package/.output/server/chunks/routes/api/workshop/aml/training-plans/index.get.mjs.map +1 -1
  601. package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs +2 -1
  602. package/.output/server/chunks/routes/api/workshop/aml/twin/providers.get.mjs.map +1 -1
  603. package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs +2 -1
  604. package/.output/server/chunks/routes/api/workshop/analysis/_id_.delete.mjs.map +1 -1
  605. package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs +2 -1
  606. package/.output/server/chunks/routes/api/workshop/analysis/_id_.get.mjs.map +1 -1
  607. package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs +2 -1
  608. package/.output/server/chunks/routes/api/workshop/analysis/_id_.patch.mjs.map +1 -1
  609. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs +2 -1
  610. package/.output/server/chunks/routes/api/workshop/approvals/_id/decide.post.mjs.map +1 -1
  611. package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs +1 -0
  612. package/.output/server/chunks/routes/api/workshop/assets/character/_id_.delete.mjs.map +1 -1
  613. package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs +2 -1
  614. package/.output/server/chunks/routes/api/workshop/assets/devices/_id_.delete.mjs.map +1 -1
  615. package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs +1 -0
  616. package/.output/server/chunks/routes/api/workshop/assets/index.get.mjs.map +1 -1
  617. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs +2 -1
  618. package/.output/server/chunks/routes/api/workshop/assets/index.post.mjs.map +1 -1
  619. package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs +1 -0
  620. package/.output/server/chunks/routes/api/workshop/assets/index2.get.mjs.map +1 -1
  621. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs +2 -1
  622. package/.output/server/chunks/routes/api/workshop/assets/index2.post.mjs.map +1 -1
  623. package/.output/server/chunks/routes/api/workshop/audit.get.mjs +1 -0
  624. package/.output/server/chunks/routes/api/workshop/audit.get.mjs.map +1 -1
  625. package/.output/server/chunks/routes/api/workshop/caller.mjs +2 -1
  626. package/.output/server/chunks/routes/api/workshop/caller.mjs.map +1 -1
  627. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs +3 -2
  628. package/.output/server/chunks/routes/api/workshop/channel-templates/_id/instantiate.post.mjs.map +1 -1
  629. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs +1 -0
  630. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.delete.mjs.map +1 -1
  631. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs +1 -0
  632. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.get.mjs.map +1 -1
  633. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs +2 -1
  634. package/.output/server/chunks/routes/api/workshop/channel-templates/_id_.patch.mjs.map +1 -1
  635. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs +2 -1
  636. package/.output/server/chunks/routes/api/workshop/channel-templates/from-channel.post.mjs.map +1 -1
  637. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs +2 -1
  638. package/.output/server/chunks/routes/api/workshop/channels/_id/activate.post.mjs.map +1 -1
  639. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs +1 -0
  640. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.get.mjs.map +1 -1
  641. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs +2 -1
  642. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/index.post.mjs.map +1 -1
  643. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs +1 -0
  644. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/_memoryId_.delete.mjs.map +1 -1
  645. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs +2 -1
  646. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/memories/search.post.mjs.map +1 -1
  647. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs +1 -0
  648. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/model.patch.mjs.map +1 -1
  649. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs +1 -0
  650. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/position.patch.mjs.map +1 -1
  651. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/prefab.patch.mjs +59 -0
  652. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/prefab.patch.mjs.map +1 -0
  653. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs +1 -0
  654. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/range.patch.mjs.map +1 -1
  655. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs +2 -1
  656. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/rotate-token.post.mjs.map +1 -1
  657. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs +1 -0
  658. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId/stop.post.mjs.map +1 -1
  659. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs +1 -0
  660. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.delete.mjs.map +1 -1
  661. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs +2 -1
  662. package/.output/server/chunks/routes/api/workshop/channels/_id/agents/_agentId_.patch.mjs.map +1 -1
  663. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs +1 -0
  664. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.get.mjs.map +1 -1
  665. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs +2 -1
  666. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/index.post.mjs.map +1 -1
  667. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs +1 -0
  668. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/messages/_messageId/read.post.mjs.map +1 -1
  669. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs +1 -0
  670. package/.output/server/chunks/routes/api/workshop/channels/_id/chat/permissions.get.mjs.map +1 -1
  671. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs +2 -1
  672. package/.output/server/chunks/routes/api/workshop/channels/_id/events.get.mjs.map +1 -1
  673. package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs +2 -1
  674. package/.output/server/chunks/routes/api/workshop/channels/_id/execution-mode.patch.mjs.map +1 -1
  675. package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs +2 -1
  676. package/.output/server/chunks/routes/api/workshop/channels/_id/harness-profiles/promote.post.mjs.map +1 -1
  677. package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-proposals/decide.post.mjs +2 -1
  678. package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-proposals/decide.post.mjs.map +1 -1
  679. package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs +1 -0
  680. package/.output/server/chunks/routes/api/workshop/channels/_id/improvement-stats.get.mjs.map +1 -1
  681. package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs +1 -0
  682. package/.output/server/chunks/routes/api/workshop/channels/_id/index.get.mjs.map +1 -1
  683. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs +2 -1
  684. package/.output/server/chunks/routes/api/workshop/channels/_id/index.post.mjs.map +1 -1
  685. package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs +2 -1
  686. package/.output/server/chunks/routes/api/workshop/channels/_id/index.put.mjs.map +1 -1
  687. package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs +1 -0
  688. package/.output/server/chunks/routes/api/workshop/channels/_id/index10.get.mjs.map +1 -1
  689. package/.output/server/chunks/routes/api/workshop/channels/_id/index11.get.mjs +2 -1
  690. package/.output/server/chunks/routes/api/workshop/channels/_id/index11.get.mjs.map +1 -1
  691. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs +2 -1
  692. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.get.mjs.map +1 -1
  693. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs +2 -1
  694. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.post.mjs.map +1 -1
  695. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs +2 -1
  696. package/.output/server/chunks/routes/api/workshop/channels/_id/index2.put.mjs.map +1 -1
  697. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs +2 -1
  698. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.get.mjs.map +1 -1
  699. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs +2 -1
  700. package/.output/server/chunks/routes/api/workshop/channels/_id/index3.post.mjs.map +1 -1
  701. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs +1 -0
  702. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.get.mjs.map +1 -1
  703. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs +2 -1
  704. package/.output/server/chunks/routes/api/workshop/channels/_id/index4.post.mjs.map +1 -1
  705. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs +1 -0
  706. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.get.mjs.map +1 -1
  707. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs +2 -1
  708. package/.output/server/chunks/routes/api/workshop/channels/_id/index5.post.mjs.map +1 -1
  709. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs +2 -1
  710. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.get.mjs.map +1 -1
  711. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs +2 -1
  712. package/.output/server/chunks/routes/api/workshop/channels/_id/index6.post.mjs.map +1 -1
  713. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs +2 -1
  714. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.get.mjs.map +1 -1
  715. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.post.mjs +2 -1
  716. package/.output/server/chunks/routes/api/workshop/channels/_id/index7.post.mjs.map +1 -1
  717. package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs +1 -0
  718. package/.output/server/chunks/routes/api/workshop/channels/_id/index8.get.mjs.map +1 -1
  719. package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs +1 -0
  720. package/.output/server/chunks/routes/api/workshop/channels/_id/index9.get.mjs.map +1 -1
  721. package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs +2 -1
  722. package/.output/server/chunks/routes/api/workshop/channels/_id/line.put.mjs.map +1 -1
  723. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs +1 -0
  724. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId/approve.post.mjs.map +1 -1
  725. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs +1 -0
  726. package/.output/server/chunks/routes/api/workshop/channels/_id/members/_userId_.delete.mjs.map +1 -1
  727. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs +2 -1
  728. package/.output/server/chunks/routes/api/workshop/channels/_id/members/join.post.mjs.map +1 -1
  729. package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs +1 -0
  730. package/.output/server/chunks/routes/api/workshop/channels/_id/members/leave.post.mjs.map +1 -1
  731. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/experience.get.mjs +69 -0
  732. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/experience.get.mjs.map +1 -0
  733. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs +2 -1
  734. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId/promote.post.mjs.map +1 -1
  735. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs +1 -0
  736. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/_memoryId_.delete.mjs.map +1 -1
  737. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs +1 -0
  738. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/experience-stats.get.mjs.map +1 -1
  739. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/merge.post.mjs +2 -1
  740. package/.output/server/chunks/routes/api/workshop/channels/_id/memories/merge.post.mjs.map +1 -1
  741. package/.output/server/chunks/routes/api/workshop/channels/_id/products.get.mjs +2 -1
  742. package/.output/server/chunks/routes/api/workshop/channels/_id/products.get.mjs.map +1 -1
  743. package/.output/server/chunks/routes/api/workshop/channels/_id/products.put.mjs +2 -1
  744. package/.output/server/chunks/routes/api/workshop/channels/_id/products.put.mjs.map +1 -1
  745. package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs +1 -0
  746. package/.output/server/chunks/routes/api/workshop/channels/_id/queue.get.mjs.map +1 -1
  747. package/.output/server/chunks/routes/api/workshop/channels/_id/rescue.post.mjs +1 -0
  748. package/.output/server/chunks/routes/api/workshop/channels/_id/rescue.post.mjs.map +1 -1
  749. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/brief.get.mjs +1 -0
  750. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/brief.get.mjs.map +1 -1
  751. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs +2 -1
  752. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/close.post.mjs.map +1 -1
  753. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/history.get.mjs +1 -0
  754. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/history.get.mjs.map +1 -1
  755. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs +2 -1
  756. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/_sid/messages.post.mjs.map +1 -1
  757. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/index.get.mjs +1 -0
  758. package/.output/server/chunks/routes/api/workshop/channels/_id/sessions/index.get.mjs.map +1 -1
  759. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs +2 -1
  760. package/.output/server/chunks/routes/api/workshop/channels/_id/terminals.get.mjs.map +1 -1
  761. package/.output/server/chunks/routes/api/workshop/channels/_id/tool-usage.get.mjs +2 -1
  762. package/.output/server/chunks/routes/api/workshop/channels/_id/tool-usage.get.mjs.map +1 -1
  763. package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs +2 -1
  764. package/.output/server/chunks/routes/api/workshop/channels/_id/tools/reset.post.mjs.map +1 -1
  765. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs +2 -1
  766. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.get.mjs.map +1 -1
  767. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs +2 -1
  768. package/.output/server/chunks/routes/api/workshop/channels/_id/twin-profile.patch.mjs.map +1 -1
  769. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs +2 -1
  770. package/.output/server/chunks/routes/api/workshop/channels/_id_.delete.mjs.map +1 -1
  771. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs +2 -1
  772. package/.output/server/chunks/routes/api/workshop/channels/index.get.mjs.map +1 -1
  773. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs +3 -2
  774. package/.output/server/chunks/routes/api/workshop/channels/index.patch.mjs.map +1 -1
  775. package/.output/server/chunks/routes/api/workshop/channels.get.mjs +1 -0
  776. package/.output/server/chunks/routes/api/workshop/channels.get.mjs.map +1 -1
  777. package/.output/server/chunks/routes/api/workshop/channels.post.mjs +8 -7
  778. package/.output/server/chunks/routes/api/workshop/channels.post.mjs.map +1 -1
  779. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs +2 -1
  780. package/.output/server/chunks/routes/api/workshop/daq/_id/bind.post.mjs.map +1 -1
  781. package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs +2 -1
  782. package/.output/server/chunks/routes/api/workshop/daq/_id/bindings.put.mjs.map +1 -1
  783. package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs +2 -1
  784. package/.output/server/chunks/routes/api/workshop/daq/_id/frames/content.get.mjs.map +1 -1
  785. package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs +2 -1
  786. package/.output/server/chunks/routes/api/workshop/daq/_id/frames.get.mjs.map +1 -1
  787. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs +3 -2
  788. package/.output/server/chunks/routes/api/workshop/daq/_id/ingest.post.mjs.map +1 -1
  789. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs +2 -1
  790. package/.output/server/chunks/routes/api/workshop/daq/_id/samples.get.mjs.map +1 -1
  791. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs +2 -1
  792. package/.output/server/chunks/routes/api/workshop/daq/_id/test.post.mjs.map +1 -1
  793. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs +2 -1
  794. package/.output/server/chunks/routes/api/workshop/daq/_id_.delete.mjs.map +1 -1
  795. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs +2 -1
  796. package/.output/server/chunks/routes/api/workshop/daq/_id_.patch.mjs.map +1 -1
  797. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs +2 -1
  798. package/.output/server/chunks/routes/api/workshop/daq/alarms/_id/ack.post.mjs.map +1 -1
  799. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs +2 -1
  800. package/.output/server/chunks/routes/api/workshop/daq/alarms.get.mjs.map +1 -1
  801. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs +2 -1
  802. package/.output/server/chunks/routes/api/workshop/daq/controller.post.mjs.map +1 -1
  803. package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs +2 -1
  804. package/.output/server/chunks/routes/api/workshop/daq/export/_id_.get.mjs.map +1 -1
  805. package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs +1 -0
  806. package/.output/server/chunks/routes/api/workshop/daq/export-file.get.mjs.map +1 -1
  807. package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs +2 -1
  808. package/.output/server/chunks/routes/api/workshop/daq/index.get.mjs.map +1 -1
  809. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs +1 -0
  810. package/.output/server/chunks/routes/api/workshop/daq/index.post.mjs.map +1 -1
  811. package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs +1 -0
  812. package/.output/server/chunks/routes/api/workshop/daq/index2.get.mjs.map +1 -1
  813. package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs +2 -1
  814. package/.output/server/chunks/routes/api/workshop/daq/index2.post.mjs.map +1 -1
  815. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs +2 -1
  816. package/.output/server/chunks/routes/api/workshop/daq/infra/reconnect.post.mjs.map +1 -1
  817. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs +1 -0
  818. package/.output/server/chunks/routes/api/workshop/daq/infra.get.mjs.map +1 -1
  819. package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs +2 -1
  820. package/.output/server/chunks/routes/api/workshop/daq/query.get.mjs.map +1 -1
  821. package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs +2 -1
  822. package/.output/server/chunks/routes/api/workshop/daq/storage/retention.put.mjs.map +1 -1
  823. package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs +2 -1
  824. package/.output/server/chunks/routes/api/workshop/daq/storage/rollup.post.mjs.map +1 -1
  825. package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs +2 -1
  826. package/.output/server/chunks/routes/api/workshop/daq/storage.get.mjs.map +1 -1
  827. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs +2 -1
  828. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.delete.mjs.map +1 -1
  829. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs +2 -1
  830. package/.output/server/chunks/routes/api/workshop/daq/templates/_key_.patch.mjs.map +1 -1
  831. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs +2 -1
  832. package/.output/server/chunks/routes/api/workshop/daq/test-driver.post.mjs.map +1 -1
  833. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs +2 -1
  834. package/.output/server/chunks/routes/api/workshop/dcw/_id/bind.post.mjs.map +1 -1
  835. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs +2 -1
  836. package/.output/server/chunks/routes/api/workshop/dcw/_id/bindings.put.mjs.map +1 -1
  837. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs +2 -1
  838. package/.output/server/chunks/routes/api/workshop/dcw/_id/param-ledger.get.mjs.map +1 -1
  839. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs +2 -1
  840. package/.output/server/chunks/routes/api/workshop/dcw/_id/read.post.mjs.map +1 -1
  841. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs +2 -1
  842. package/.output/server/chunks/routes/api/workshop/dcw/_id/test.post.mjs.map +1 -1
  843. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs +2 -1
  844. package/.output/server/chunks/routes/api/workshop/dcw/_id/write.post.mjs.map +1 -1
  845. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs +2 -1
  846. package/.output/server/chunks/routes/api/workshop/dcw/_id_.delete.mjs.map +1 -1
  847. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs +2 -1
  848. package/.output/server/chunks/routes/api/workshop/dcw/_id_.patch.mjs.map +1 -1
  849. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs +2 -1
  850. package/.output/server/chunks/routes/api/workshop/dcw/controller.post.mjs.map +1 -1
  851. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs +2 -1
  852. package/.output/server/chunks/routes/api/workshop/dcw/index.get.mjs.map +1 -1
  853. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs +2 -1
  854. package/.output/server/chunks/routes/api/workshop/dcw/index.post.mjs.map +1 -1
  855. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs +2 -1
  856. package/.output/server/chunks/routes/api/workshop/dcw/index2.get.mjs.map +1 -1
  857. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs +2 -1
  858. package/.output/server/chunks/routes/api/workshop/dcw/index2.post.mjs.map +1 -1
  859. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs +2 -1
  860. package/.output/server/chunks/routes/api/workshop/dcw/index3.get.mjs.map +1 -1
  861. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs +2 -1
  862. package/.output/server/chunks/routes/api/workshop/dcw/index3.post.mjs.map +1 -1
  863. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs +2 -1
  864. package/.output/server/chunks/routes/api/workshop/dcw/index4.get.mjs.map +1 -1
  865. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs +2 -1
  866. package/.output/server/chunks/routes/api/workshop/dcw/index4.post.mjs.map +1 -1
  867. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs +2 -1
  868. package/.output/server/chunks/routes/api/workshop/dcw/index5.get.mjs.map +1 -1
  869. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs +2 -1
  870. package/.output/server/chunks/routes/api/workshop/dcw/index5.post.mjs.map +1 -1
  871. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs +2 -1
  872. package/.output/server/chunks/routes/api/workshop/dcw/index6.get.mjs.map +1 -1
  873. package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs +2 -1
  874. package/.output/server/chunks/routes/api/workshop/dcw/index7.get.mjs.map +1 -1
  875. package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs +2 -1
  876. package/.output/server/chunks/routes/api/workshop/dcw/index8.get.mjs.map +1 -1
  877. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs +2 -1
  878. package/.output/server/chunks/routes/api/workshop/dcw/journal/node/_nodeId/rollback.post.mjs.map +1 -1
  879. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs +2 -1
  880. package/.output/server/chunks/routes/api/workshop/dcw/line/query.get.mjs.map +1 -1
  881. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs +2 -1
  882. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/start.post.mjs.map +1 -1
  883. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs +2 -1
  884. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id/stop.post.mjs.map +1 -1
  885. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs +2 -1
  886. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.delete.mjs.map +1 -1
  887. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs +2 -1
  888. package/.output/server/chunks/routes/api/workshop/dcw/lines/_id_.patch.mjs.map +1 -1
  889. package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs +2 -1
  890. package/.output/server/chunks/routes/api/workshop/dcw/lines/index.get.mjs.map +1 -1
  891. package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs +2 -1
  892. package/.output/server/chunks/routes/api/workshop/dcw/mes-artifacts/file.get.mjs.map +1 -1
  893. package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs +2 -1
  894. package/.output/server/chunks/routes/api/workshop/dcw/mes-hook-test.post.mjs.map +1 -1
  895. package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs +2 -1
  896. package/.output/server/chunks/routes/api/workshop/dcw/mes-test-read.post.mjs.map +1 -1
  897. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs +2 -1
  898. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/judge.post.mjs.map +1 -1
  899. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs +2 -1
  900. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/rollback.post.mjs.map +1 -1
  901. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs +2 -1
  902. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id/series.get.mjs.map +1 -1
  903. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs +2 -1
  904. package/.output/server/chunks/routes/api/workshop/dcw/optimizations/_id_.get.mjs.map +1 -1
  905. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs +2 -1
  906. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/read.post.mjs.map +1 -1
  907. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs +2 -1
  908. package/.output/server/chunks/routes/api/workshop/dcw/params/_id/write.post.mjs.map +1 -1
  909. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs +2 -1
  910. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.delete.mjs.map +1 -1
  911. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs +2 -1
  912. package/.output/server/chunks/routes/api/workshop/dcw/params/_id_.patch.mjs.map +1 -1
  913. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs +2 -1
  914. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.delete.mjs.map +1 -1
  915. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs +2 -1
  916. package/.output/server/chunks/routes/api/workshop/dcw/products/_id_.patch.mjs.map +1 -1
  917. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs +2 -1
  918. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/apply.post.mjs.map +1 -1
  919. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs +2 -1
  920. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/mark-good.post.mjs.map +1 -1
  921. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs +2 -1
  922. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/revert.post.mjs.map +1 -1
  923. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs +2 -1
  924. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/rollback-good.post.mjs.map +1 -1
  925. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs +2 -1
  926. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id/versions.get.mjs.map +1 -1
  927. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs +3 -2
  928. package/.output/server/chunks/routes/api/workshop/dcw/recipes/_id_.delete.mjs.map +1 -1
  929. package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs +2 -1
  930. package/.output/server/chunks/routes/api/workshop/dcw/recipes/index.patch.mjs.map +1 -1
  931. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs +2 -1
  932. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/close.post.mjs.map +1 -1
  933. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs +2 -1
  934. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/data.get.mjs.map +1 -1
  935. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs +2 -1
  936. package/.output/server/chunks/routes/api/workshop/dcw/runs/_id/rollback.post.mjs.map +1 -1
  937. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs +2 -1
  938. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.delete.mjs.map +1 -1
  939. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs +2 -1
  940. package/.output/server/chunks/routes/api/workshop/dcw/templates/_key_.patch.mjs.map +1 -1
  941. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs +2 -1
  942. package/.output/server/chunks/routes/api/workshop/dcw/test-driver.post.mjs.map +1 -1
  943. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs +2 -1
  944. package/.output/server/chunks/routes/api/workshop/device-twins/_id/control.post.mjs.map +1 -1
  945. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs +2 -1
  946. package/.output/server/chunks/routes/api/workshop/device-twins/_id/telemetry.post.mjs.map +1 -1
  947. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs +2 -1
  948. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.delete.mjs.map +1 -1
  949. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs +2 -1
  950. package/.output/server/chunks/routes/api/workshop/device-twins/_id_.patch.mjs.map +1 -1
  951. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs +1 -0
  952. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.delete.mjs.map +1 -1
  953. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs +1 -0
  954. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.get.mjs.map +1 -1
  955. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs +1 -0
  956. package/.output/server/chunks/routes/api/workshop/eda/charts/_id_.patch.mjs.map +1 -1
  957. package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs +2 -1
  958. package/.output/server/chunks/routes/api/workshop/eda/commonality.get.mjs.map +1 -1
  959. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs +1 -0
  960. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.delete.mjs.map +1 -1
  961. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs +1 -0
  962. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.get.mjs.map +1 -1
  963. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs +1 -0
  964. package/.output/server/chunks/routes/api/workshop/eda/dashboards/_id_.patch.mjs.map +1 -1
  965. package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs +1 -0
  966. package/.output/server/chunks/routes/api/workshop/eda/features/jobs.get.mjs.map +1 -1
  967. package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs +2 -1
  968. package/.output/server/chunks/routes/api/workshop/eda/features/run.post.mjs.map +1 -1
  969. package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs +1 -0
  970. package/.output/server/chunks/routes/api/workshop/eda/golden/_id_.delete.mjs.map +1 -1
  971. package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs +1 -0
  972. package/.output/server/chunks/routes/api/workshop/eda/golden/deviation.get.mjs.map +1 -1
  973. package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs +1 -0
  974. package/.output/server/chunks/routes/api/workshop/eda/golden/single.get.mjs.map +1 -1
  975. package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs +1 -0
  976. package/.output/server/chunks/routes/api/workshop/eda/index.get.mjs.map +1 -1
  977. package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs +1 -0
  978. package/.output/server/chunks/routes/api/workshop/eda/index.post.mjs.map +1 -1
  979. package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs +1 -0
  980. package/.output/server/chunks/routes/api/workshop/eda/index2.get.mjs.map +1 -1
  981. package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs +1 -0
  982. package/.output/server/chunks/routes/api/workshop/eda/index2.post.mjs.map +1 -1
  983. package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs +2 -1
  984. package/.output/server/chunks/routes/api/workshop/eda/index3.get.mjs.map +1 -1
  985. package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs +2 -1
  986. package/.output/server/chunks/routes/api/workshop/eda/index3.post.mjs.map +1 -1
  987. package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs +1 -0
  988. package/.output/server/chunks/routes/api/workshop/eda/index4.get.mjs.map +1 -1
  989. package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs +1 -0
  990. package/.output/server/chunks/routes/api/workshop/eda/index4.post.mjs.map +1 -1
  991. package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs +1 -0
  992. package/.output/server/chunks/routes/api/workshop/eda/index5.get.mjs.map +1 -1
  993. package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs +1 -0
  994. package/.output/server/chunks/routes/api/workshop/eda/index5.post.mjs.map +1 -1
  995. package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs +2 -1
  996. package/.output/server/chunks/routes/api/workshop/eda/index6.get.mjs.map +1 -1
  997. package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs +2 -1
  998. package/.output/server/chunks/routes/api/workshop/eda/index6.post.mjs.map +1 -1
  999. package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs +1 -0
  1000. package/.output/server/chunks/routes/api/workshop/eda/index7.get.mjs.map +1 -1
  1001. package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs +1 -0
  1002. package/.output/server/chunks/routes/api/workshop/eda/index7.post.mjs.map +1 -1
  1003. package/.output/server/chunks/routes/api/workshop/eda/index8.get.mjs +1 -0
  1004. package/.output/server/chunks/routes/api/workshop/eda/index8.get.mjs.map +1 -1
  1005. package/.output/server/chunks/routes/api/workshop/eda/index8.post.mjs +1 -0
  1006. package/.output/server/chunks/routes/api/workshop/eda/index8.post.mjs.map +1 -1
  1007. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs +1 -0
  1008. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.get.mjs.map +1 -1
  1009. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs +1 -0
  1010. package/.output/server/chunks/routes/api/workshop/eda/ocap/_id_.patch.mjs.map +1 -1
  1011. package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs +2 -1
  1012. package/.output/server/chunks/routes/api/workshop/eda/runs/_id/labels.patch.mjs.map +1 -1
  1013. package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs +2 -1
  1014. package/.output/server/chunks/routes/api/workshop/eda/runs.get.mjs.map +1 -1
  1015. package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs +1 -0
  1016. package/.output/server/chunks/routes/api/workshop/eda/spc/_id/recompute.post.mjs.map +1 -1
  1017. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs +1 -0
  1018. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.delete.mjs.map +1 -1
  1019. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs +1 -0
  1020. package/.output/server/chunks/routes/api/workshop/eda/spc/_id_.get.mjs.map +1 -1
  1021. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.delete.mjs +1 -0
  1022. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.delete.mjs.map +1 -1
  1023. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.get.mjs +1 -0
  1024. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.get.mjs.map +1 -1
  1025. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.patch.mjs +1 -0
  1026. package/.output/server/chunks/routes/api/workshop/eda/templates/_id_.patch.mjs.map +1 -1
  1027. package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs +2 -1
  1028. package/.output/server/chunks/routes/api/workshop/eda/vm/predict.post.mjs.map +1 -1
  1029. package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs +2 -1
  1030. package/.output/server/chunks/routes/api/workshop/exp/confirmations/_id/decide.post.mjs.map +1 -1
  1031. package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs +2 -1
  1032. package/.output/server/chunks/routes/api/workshop/exp/index.get.mjs.map +1 -1
  1033. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs +2 -1
  1034. package/.output/server/chunks/routes/api/workshop/fs/dirs.get.mjs.map +1 -1
  1035. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs +2 -1
  1036. package/.output/server/chunks/routes/api/workshop/harnesses/_id/providers.get.mjs.map +1 -1
  1037. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs +2 -1
  1038. package/.output/server/chunks/routes/api/workshop/harnesses.get.mjs.map +1 -1
  1039. package/.output/server/chunks/routes/api/workshop/hitl/history.get.mjs +2 -1
  1040. package/.output/server/chunks/routes/api/workshop/hitl/history.get.mjs.map +1 -1
  1041. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs +2 -1
  1042. package/.output/server/chunks/routes/api/workshop/hitl/pending.get.mjs.map +1 -1
  1043. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs +2 -1
  1044. package/.output/server/chunks/routes/api/workshop/hitl/respond.post.mjs.map +1 -1
  1045. package/.output/server/chunks/routes/api/workshop/index.get.mjs +15 -5
  1046. package/.output/server/chunks/routes/api/workshop/index.get.mjs.map +1 -1
  1047. package/.output/server/chunks/routes/api/workshop/index.mjs +2 -1
  1048. package/.output/server/chunks/routes/api/workshop/index.mjs.map +1 -1
  1049. package/.output/server/chunks/routes/api/workshop/index.post.mjs +9 -17
  1050. package/.output/server/chunks/routes/api/workshop/index.post.mjs.map +1 -1
  1051. package/.output/server/chunks/routes/api/workshop/index.put.mjs +2 -1
  1052. package/.output/server/chunks/routes/api/workshop/index.put.mjs.map +1 -1
  1053. package/.output/server/chunks/routes/api/workshop/index10.get.mjs +41 -37
  1054. package/.output/server/chunks/routes/api/workshop/index10.get.mjs.map +1 -1
  1055. package/.output/server/chunks/routes/api/workshop/index10.post.mjs +22 -14
  1056. package/.output/server/chunks/routes/api/workshop/index10.post.mjs.map +1 -1
  1057. package/.output/server/chunks/routes/api/workshop/index11.get.mjs +38 -23
  1058. package/.output/server/chunks/routes/api/workshop/index11.get.mjs.map +1 -1
  1059. package/.output/server/chunks/routes/api/workshop/index11.post.mjs +14 -15
  1060. package/.output/server/chunks/routes/api/workshop/index11.post.mjs.map +1 -1
  1061. package/.output/server/chunks/routes/api/workshop/index12.get.mjs +24 -27
  1062. package/.output/server/chunks/routes/api/workshop/index12.get.mjs.map +1 -1
  1063. package/.output/server/chunks/routes/api/workshop/index12.post.mjs +19 -4
  1064. package/.output/server/chunks/routes/api/workshop/index12.post.mjs.map +1 -1
  1065. package/.output/server/chunks/routes/api/workshop/index13.get.mjs +27 -17
  1066. package/.output/server/chunks/routes/api/workshop/index13.get.mjs.map +1 -1
  1067. package/.output/server/chunks/routes/api/workshop/index13.post.mjs +36 -0
  1068. package/.output/server/chunks/routes/api/workshop/index13.post.mjs.map +1 -0
  1069. package/.output/server/chunks/routes/api/workshop/index14.get.mjs +18 -2
  1070. package/.output/server/chunks/routes/api/workshop/index14.get.mjs.map +1 -1
  1071. package/.output/server/chunks/routes/api/workshop/index15.get.mjs +3 -2
  1072. package/.output/server/chunks/routes/api/workshop/index15.get.mjs.map +1 -1
  1073. package/.output/server/chunks/routes/api/workshop/index16.get.mjs +3 -3
  1074. package/.output/server/chunks/routes/api/workshop/index16.get.mjs.map +1 -1
  1075. package/.output/server/chunks/routes/api/workshop/index17.get.mjs +6 -5
  1076. package/.output/server/chunks/routes/api/workshop/index17.get.mjs.map +1 -1
  1077. package/.output/server/chunks/routes/api/workshop/index18.get.mjs +6 -4
  1078. package/.output/server/chunks/routes/api/workshop/index18.get.mjs.map +1 -1
  1079. package/.output/server/chunks/routes/api/workshop/index19.get.mjs +34 -0
  1080. package/.output/server/chunks/routes/api/workshop/index19.get.mjs.map +1 -0
  1081. package/.output/server/chunks/routes/api/workshop/index2.get.mjs +6 -26
  1082. package/.output/server/chunks/routes/api/workshop/index2.get.mjs.map +1 -1
  1083. package/.output/server/chunks/routes/api/workshop/index2.post.mjs +18 -58
  1084. package/.output/server/chunks/routes/api/workshop/index2.post.mjs.map +1 -1
  1085. package/.output/server/chunks/routes/api/workshop/index3.get.mjs +24 -23
  1086. package/.output/server/chunks/routes/api/workshop/index3.get.mjs.map +1 -1
  1087. package/.output/server/chunks/routes/api/workshop/index3.post.mjs +59 -50
  1088. package/.output/server/chunks/routes/api/workshop/index3.post.mjs.map +1 -1
  1089. package/.output/server/chunks/routes/api/workshop/index4.get.mjs +25 -9
  1090. package/.output/server/chunks/routes/api/workshop/index4.get.mjs.map +1 -1
  1091. package/.output/server/chunks/routes/api/workshop/index4.post.mjs +50 -253
  1092. package/.output/server/chunks/routes/api/workshop/index4.post.mjs.map +1 -1
  1093. package/.output/server/chunks/routes/api/workshop/index5.get.mjs +11 -4
  1094. package/.output/server/chunks/routes/api/workshop/index5.get.mjs.map +1 -1
  1095. package/.output/server/chunks/routes/api/workshop/index5.post.mjs +239 -13
  1096. package/.output/server/chunks/routes/api/workshop/index5.post.mjs.map +1 -1
  1097. package/.output/server/chunks/routes/api/workshop/index6.get.mjs +5 -29
  1098. package/.output/server/chunks/routes/api/workshop/index6.get.mjs.map +1 -1
  1099. package/.output/server/chunks/routes/api/workshop/index6.post.mjs +30 -19
  1100. package/.output/server/chunks/routes/api/workshop/index6.post.mjs.map +1 -1
  1101. package/.output/server/chunks/routes/api/workshop/index7.get.mjs +26 -22
  1102. package/.output/server/chunks/routes/api/workshop/index7.get.mjs.map +1 -1
  1103. package/.output/server/chunks/routes/api/workshop/index7.post.mjs +19 -56
  1104. package/.output/server/chunks/routes/api/workshop/index7.post.mjs.map +1 -1
  1105. package/.output/server/chunks/routes/api/workshop/index8.get.mjs +27 -5
  1106. package/.output/server/chunks/routes/api/workshop/index8.get.mjs.map +1 -1
  1107. package/.output/server/chunks/routes/api/workshop/index8.post.mjs +58 -32
  1108. package/.output/server/chunks/routes/api/workshop/index8.post.mjs.map +1 -1
  1109. package/.output/server/chunks/routes/api/workshop/index9.get.mjs +5 -39
  1110. package/.output/server/chunks/routes/api/workshop/index9.get.mjs.map +1 -1
  1111. package/.output/server/chunks/routes/api/workshop/index9.post.mjs +28 -19
  1112. package/.output/server/chunks/routes/api/workshop/index9.post.mjs.map +1 -1
  1113. package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs +1 -0
  1114. package/.output/server/chunks/routes/api/workshop/mailbox/all.get.mjs.map +1 -1
  1115. package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs +1 -0
  1116. package/.output/server/chunks/routes/api/workshop/mailbox.get.mjs.map +1 -1
  1117. package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs +1 -0
  1118. package/.output/server/chunks/routes/api/workshop/memories/maintenance.post.mjs.map +1 -1
  1119. package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs +2 -1
  1120. package/.output/server/chunks/routes/api/workshop/mes/bridge.post.mjs.map +1 -1
  1121. package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs +2 -1
  1122. package/.output/server/chunks/routes/api/workshop/mes/datasets.get.mjs.map +1 -1
  1123. package/.output/server/chunks/routes/api/workshop/mes/index.get.mjs +1 -0
  1124. package/.output/server/chunks/routes/api/workshop/mes/index.get.mjs.map +1 -1
  1125. package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs +2 -1
  1126. package/.output/server/chunks/routes/api/workshop/mes/index.put.mjs.map +1 -1
  1127. package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs +1 -0
  1128. package/.output/server/chunks/routes/api/workshop/mes/points.get.mjs.map +1 -1
  1129. package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs +2 -1
  1130. package/.output/server/chunks/routes/api/workshop/mes/preview.post.mjs.map +1 -1
  1131. package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs +2 -1
  1132. package/.output/server/chunks/routes/api/workshop/mes/secrets/_ref_.delete.mjs.map +1 -1
  1133. package/.output/server/chunks/routes/api/workshop/mes/templates.get.mjs +1 -0
  1134. package/.output/server/chunks/routes/api/workshop/mes/templates.get.mjs.map +1 -1
  1135. package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs +2 -1
  1136. package/.output/server/chunks/routes/api/workshop/mes/templates.post.mjs.map +1 -1
  1137. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs +2 -1
  1138. package/.output/server/chunks/routes/api/workshop/notifications/read.post.mjs.map +1 -1
  1139. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs +2 -1
  1140. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/autofix.mjs.map +1 -1
  1141. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs +2 -1
  1142. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/compile.mjs.map +1 -1
  1143. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs +2 -1
  1144. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/evidence.mjs.map +1 -1
  1145. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs +2 -1
  1146. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/publish.mjs.map +1 -1
  1147. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs +2 -1
  1148. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval-decision.mjs.map +1 -1
  1149. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs +2 -1
  1150. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/approval.mjs.map +1 -1
  1151. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs +2 -1
  1152. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/rules/_ruleId/transition.mjs.map +1 -1
  1153. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs +2 -1
  1154. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/subgraph.mjs.map +1 -1
  1155. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs +2 -1
  1156. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId/validate.mjs.map +1 -1
  1157. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs +2 -1
  1158. package/.output/server/chunks/routes/api/workshop/ontology/drafts/_draftId_.mjs.map +1 -1
  1159. package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs +2 -1
  1160. package/.output/server/chunks/routes/api/workshop/ontology/export/_ontologyId_.mjs.map +1 -1
  1161. package/.output/server/chunks/routes/api/workshop/ontology/index.mjs +2 -1
  1162. package/.output/server/chunks/routes/api/workshop/ontology/index.mjs.map +1 -1
  1163. package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs +2 -1
  1164. package/.output/server/chunks/routes/api/workshop/ontology/scene.mjs.map +1 -1
  1165. package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs +2 -1
  1166. package/.output/server/chunks/routes/api/workshop/ontology/traces/_ontologyId_.mjs.map +1 -1
  1167. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs +2 -1
  1168. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId/compare.mjs.map +1 -1
  1169. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs +2 -1
  1170. package/.output/server/chunks/routes/api/workshop/ontology/versions/_ontologyId_.mjs.map +1 -1
  1171. package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs +1 -0
  1172. package/.output/server/chunks/routes/api/workshop/optimization/bindings/_id_.delete.mjs.map +1 -1
  1173. package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs +2 -1
  1174. package/.output/server/chunks/routes/api/workshop/optimization/capabilities.get.mjs.map +1 -1
  1175. package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs +2 -1
  1176. package/.output/server/chunks/routes/api/workshop/optimization/index.get.mjs.map +1 -1
  1177. package/.output/server/chunks/routes/api/workshop/optimization/index.mjs +2 -1
  1178. package/.output/server/chunks/routes/api/workshop/optimization/index.mjs.map +1 -1
  1179. package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs +2 -1
  1180. package/.output/server/chunks/routes/api/workshop/optimization/index2.mjs.map +1 -1
  1181. package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs +2 -1
  1182. package/.output/server/chunks/routes/api/workshop/optimization/profiles/_id/publish.post.mjs.map +1 -1
  1183. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs +2 -1
  1184. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/crosscheck.post.mjs.map +1 -1
  1185. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs +2 -1
  1186. package/.output/server/chunks/routes/api/workshop/optimization/recommendations/_id/dispatch.post.mjs.map +1 -1
  1187. package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs +2 -1
  1188. package/.output/server/chunks/routes/api/workshop/optimization/solve.post.mjs.map +1 -1
  1189. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs +2 -1
  1190. package/.output/server/chunks/routes/api/workshop/plugins/_name/disable.post.mjs.map +1 -1
  1191. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs +2 -1
  1192. package/.output/server/chunks/routes/api/workshop/plugins/_name/enable.post.mjs.map +1 -1
  1193. package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs +1 -0
  1194. package/.output/server/chunks/routes/api/workshop/plugins/index.get.mjs.map +1 -1
  1195. package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs +2 -1
  1196. package/.output/server/chunks/routes/api/workshop/process-model/datasets.post.mjs.map +1 -1
  1197. package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs +2 -1
  1198. package/.output/server/chunks/routes/api/workshop/process-model/eligibility.mjs.map +1 -1
  1199. package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs +2 -1
  1200. package/.output/server/chunks/routes/api/workshop/process-model/experiments.mjs.map +1 -1
  1201. package/.output/server/chunks/routes/api/workshop/process-model/index.mjs +2 -1
  1202. package/.output/server/chunks/routes/api/workshop/process-model/index.mjs.map +1 -1
  1203. package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs +2 -1
  1204. package/.output/server/chunks/routes/api/workshop/process-model/specs/_id/publish.post.mjs.map +1 -1
  1205. package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs +2 -1
  1206. package/.output/server/chunks/routes/api/workshop/process-model/train.post.mjs.map +1 -1
  1207. package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs +2 -1
  1208. package/.output/server/chunks/routes/api/workshop/projects/_id/activate.post.mjs.map +1 -1
  1209. package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs +2 -1
  1210. package/.output/server/chunks/routes/api/workshop/projects/_id/approvals/_aid/decide.post.mjs.map +1 -1
  1211. package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs +2 -1
  1212. package/.output/server/chunks/routes/api/workshop/projects/_id/archive.post.mjs.map +1 -1
  1213. package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs +2 -1
  1214. package/.output/server/chunks/routes/api/workshop/projects/_id/channels/_channelId_.delete.mjs.map +1 -1
  1215. package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs +2 -1
  1216. package/.output/server/chunks/routes/api/workshop/projects/_id/complete.post.mjs.map +1 -1
  1217. package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs +2 -1
  1218. package/.output/server/chunks/routes/api/workshop/projects/_id/continue.post.mjs.map +1 -1
  1219. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs +2 -1
  1220. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/_did/waive.post.mjs.map +1 -1
  1221. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs +2 -1
  1222. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.get.mjs.map +1 -1
  1223. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs +2 -1
  1224. package/.output/server/chunks/routes/api/workshop/projects/_id/deliverables/index.patch.mjs.map +1 -1
  1225. package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs +2 -1
  1226. package/.output/server/chunks/routes/api/workshop/projects/_id/health.get.mjs.map +1 -1
  1227. package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs +2 -1
  1228. package/.output/server/chunks/routes/api/workshop/projects/_id/index.get.mjs.map +1 -1
  1229. package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs +2 -1
  1230. package/.output/server/chunks/routes/api/workshop/projects/_id/index.post.mjs.map +1 -1
  1231. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs +2 -1
  1232. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.get.mjs.map +1 -1
  1233. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs +2 -1
  1234. package/.output/server/chunks/routes/api/workshop/projects/_id/index2.post.mjs.map +1 -1
  1235. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs +2 -1
  1236. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.get.mjs.map +1 -1
  1237. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs +2 -1
  1238. package/.output/server/chunks/routes/api/workshop/projects/_id/index3.post.mjs.map +1 -1
  1239. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs +2 -1
  1240. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.get.mjs.map +1 -1
  1241. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs +2 -1
  1242. package/.output/server/chunks/routes/api/workshop/projects/_id/index4.post.mjs.map +1 -1
  1243. package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs +2 -1
  1244. package/.output/server/chunks/routes/api/workshop/projects/_id/index5.get.mjs.map +1 -1
  1245. package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs +2 -1
  1246. package/.output/server/chunks/routes/api/workshop/projects/_id/index6.get.mjs.map +1 -1
  1247. package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs +2 -1
  1248. package/.output/server/chunks/routes/api/workshop/projects/_id/index7.get.mjs.map +1 -1
  1249. package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs +2 -1
  1250. package/.output/server/chunks/routes/api/workshop/projects/_id/index8.get.mjs.map +1 -1
  1251. package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs +2 -1
  1252. package/.output/server/chunks/routes/api/workshop/projects/_id/kernel/tick.post.mjs.map +1 -1
  1253. package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs +2 -1
  1254. package/.output/server/chunks/routes/api/workshop/projects/_id/ledger.get.mjs.map +1 -1
  1255. package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs +2 -1
  1256. package/.output/server/chunks/routes/api/workshop/projects/_id/members/_userId_.delete.mjs.map +1 -1
  1257. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs +2 -1
  1258. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/activity.get.mjs.map +1 -1
  1259. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs +2 -1
  1260. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/route.get.mjs.map +1 -1
  1261. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs +2 -1
  1262. package/.output/server/chunks/routes/api/workshop/projects/_id/observability/work-items/_wid_.get.mjs.map +1 -1
  1263. package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs +2 -1
  1264. package/.output/server/chunks/routes/api/workshop/projects/_id/observability.get.mjs.map +1 -1
  1265. package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs +2 -1
  1266. package/.output/server/chunks/routes/api/workshop/projects/_id/pause.post.mjs.map +1 -1
  1267. package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs +2 -1
  1268. package/.output/server/chunks/routes/api/workshop/projects/_id/plan/request-approval.post.mjs.map +1 -1
  1269. package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs +2 -1
  1270. package/.output/server/chunks/routes/api/workshop/projects/_id/proposals/_decisionId/apply.post.mjs.map +1 -1
  1271. package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs +2 -1
  1272. package/.output/server/chunks/routes/api/workshop/projects/_id/reconcile.post.mjs.map +1 -1
  1273. package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs +2 -1
  1274. package/.output/server/chunks/routes/api/workshop/projects/_id/report.get.mjs.map +1 -1
  1275. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs +2 -1
  1276. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/request-acceptance.post.mjs.map +1 -1
  1277. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs +2 -1
  1278. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/review.post.mjs.map +1 -1
  1279. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs +2 -1
  1280. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/submit.post.mjs.map +1 -1
  1281. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs +2 -1
  1282. package/.output/server/chunks/routes/api/workshop/projects/_id/results/_rid/supersede.post.mjs.map +1 -1
  1283. package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs +2 -1
  1284. package/.output/server/chunks/routes/api/workshop/projects/_id/resume.post.mjs.map +1 -1
  1285. package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs +2 -1
  1286. package/.output/server/chunks/routes/api/workshop/projects/_id/sessions.get.mjs.map +1 -1
  1287. package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs +2 -1
  1288. package/.output/server/chunks/routes/api/workshop/projects/_id/snapshot.get.mjs.map +1 -1
  1289. package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs +2 -1
  1290. package/.output/server/chunks/routes/api/workshop/projects/_id/terminate.post.mjs.map +1 -1
  1291. package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs +2 -1
  1292. package/.output/server/chunks/routes/api/workshop/projects/_id/trace/_traceId_.get.mjs.map +1 -1
  1293. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs +2 -1
  1294. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/cancel.post.mjs.map +1 -1
  1295. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs +2 -1
  1296. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/dispatch.post.mjs.map +1 -1
  1297. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs +2 -1
  1298. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/_wid/retry.post.mjs.map +1 -1
  1299. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs +2 -1
  1300. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.get.mjs.map +1 -1
  1301. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs +2 -1
  1302. package/.output/server/chunks/routes/api/workshop/projects/_id/work-items/index.patch.mjs.map +1 -1
  1303. package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs +2 -1
  1304. package/.output/server/chunks/routes/api/workshop/projects/_id_.get.mjs.map +1 -1
  1305. package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs +2 -1
  1306. package/.output/server/chunks/routes/api/workshop/projects/_id_.patch.mjs.map +1 -1
  1307. package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs +2 -1
  1308. package/.output/server/chunks/routes/api/workshop/projects/instantiate.post.mjs.map +1 -1
  1309. package/.output/server/chunks/routes/api/workshop/runtime.get.mjs +1 -0
  1310. package/.output/server/chunks/routes/api/workshop/runtime.get.mjs.map +1 -1
  1311. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs +2 -1
  1312. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.delete.mjs.map +1 -1
  1313. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs +2 -1
  1314. package/.output/server/chunks/routes/api/workshop/scene/layouts/_channelId_.put.mjs.map +1 -1
  1315. package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs +1 -0
  1316. package/.output/server/chunks/routes/api/workshop/scene/layouts.get.mjs.map +1 -1
  1317. package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs +1 -0
  1318. package/.output/server/chunks/routes/api/workshop/schedules/_id/run.post.mjs.map +1 -1
  1319. package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs +1 -0
  1320. package/.output/server/chunks/routes/api/workshop/schedules/_id/runs.get.mjs.map +1 -1
  1321. package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs +1 -0
  1322. package/.output/server/chunks/routes/api/workshop/schedules/_id_.delete.mjs.map +1 -1
  1323. package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs +1 -0
  1324. package/.output/server/chunks/routes/api/workshop/schedules/_id_.get.mjs.map +1 -1
  1325. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs +2 -1
  1326. package/.output/server/chunks/routes/api/workshop/schedules/_id_.patch.mjs.map +1 -1
  1327. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs +2 -1
  1328. package/.output/server/chunks/routes/api/workshop/tasks/_id/complete.post.mjs.map +1 -1
  1329. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs +2 -1
  1330. package/.output/server/chunks/routes/api/workshop/tasks/_id/dispatch.post.mjs.map +1 -1
  1331. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs +1 -0
  1332. package/.output/server/chunks/routes/api/workshop/tasks/_id/index.post.mjs.map +1 -1
  1333. package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs +1 -0
  1334. package/.output/server/chunks/routes/api/workshop/tasks/_id/reassign.post.mjs.map +1 -1
  1335. package/.output/server/chunks/routes/api/workshop/tasks/_id/recovery-disposition.post.mjs +1 -0
  1336. package/.output/server/chunks/routes/api/workshop/tasks/_id/recovery-disposition.post.mjs.map +1 -1
  1337. package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs +2 -1
  1338. package/.output/server/chunks/routes/api/workshop/tasks/_id/reopen.post.mjs.map +1 -1
  1339. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs +2 -1
  1340. package/.output/server/chunks/routes/api/workshop/tasks/_id/report.post.mjs.map +1 -1
  1341. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs +1 -0
  1342. package/.output/server/chunks/routes/api/workshop/tasks/_id/retry.post.mjs.map +1 -1
  1343. package/.output/server/chunks/routes/api/workshop/tasks/_id/supersede.post.mjs +2 -1
  1344. package/.output/server/chunks/routes/api/workshop/tasks/_id/supersede.post.mjs.map +1 -1
  1345. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs +1 -0
  1346. package/.output/server/chunks/routes/api/workshop/tasks/_id/update.post.mjs.map +1 -1
  1347. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs +1 -0
  1348. package/.output/server/chunks/routes/api/workshop/tasks/_id_.get.mjs.map +1 -1
  1349. package/.output/server/chunks/routes/api/workshop/tasks/recovery-holds.get.mjs +1 -0
  1350. package/.output/server/chunks/routes/api/workshop/tasks/recovery-holds.get.mjs.map +1 -1
  1351. package/.output/server/chunks/routes/api/workshop/tasks.get.mjs +1 -0
  1352. package/.output/server/chunks/routes/api/workshop/tasks.get.mjs.map +1 -1
  1353. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs +2 -1
  1354. package/.output/server/chunks/routes/api/workshop/teams/_id/deploy.post.mjs.map +1 -1
  1355. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs +1 -0
  1356. package/.output/server/chunks/routes/api/workshop/teams/_id/index.get.mjs.map +1 -1
  1357. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs +2 -1
  1358. package/.output/server/chunks/routes/api/workshop/teams/_id/index.post.mjs.map +1 -1
  1359. package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs +2 -1
  1360. package/.output/server/chunks/routes/api/workshop/teams/_id/index.put.mjs.map +1 -1
  1361. package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs +2 -1
  1362. package/.output/server/chunks/routes/api/workshop/teams/_id/index2.get.mjs.map +1 -1
  1363. package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs +1 -0
  1364. package/.output/server/chunks/routes/api/workshop/teams/_id/members/_agentId_.delete.mjs.map +1 -1
  1365. package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs +1 -0
  1366. package/.output/server/chunks/routes/api/workshop/teams/_id_.delete.mjs.map +1 -1
  1367. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs +1 -0
  1368. package/.output/server/chunks/routes/api/workshop/teams/_id_.get.mjs.map +1 -1
  1369. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs +2 -1
  1370. package/.output/server/chunks/routes/api/workshop/teams/_id_.patch.mjs.map +1 -1
  1371. package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs +2 -1
  1372. package/.output/server/chunks/routes/api/workshop/tools/_name_.get.mjs.map +1 -1
  1373. package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs +2 -1
  1374. package/.output/server/chunks/routes/api/workshop/tools/sync.post.mjs.map +1 -1
  1375. package/.output/server/chunks/routes/api/workshop/users/me.get.mjs +1 -0
  1376. package/.output/server/chunks/routes/api/workshop/users/me.get.mjs.map +1 -1
  1377. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs +2 -1
  1378. package/.output/server/chunks/routes/api/workshop/users/register.post.mjs.map +1 -1
  1379. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs +3 -2
  1380. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channel-templates/_tplId_.post.mjs.map +1 -1
  1381. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs +1 -0
  1382. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.delete.mjs.map +1 -1
  1383. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs +1 -0
  1384. package/.output/server/chunks/routes/api/workshop/workspaces/_id/channels/_channelId_.post.mjs.map +1 -1
  1385. package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs +1 -0
  1386. package/.output/server/chunks/routes/api/workshop/workspaces/index.delete.mjs.map +1 -1
  1387. package/.output/server/chunks/routes/api/workshop/ws/ticket.post.mjs +2 -1
  1388. package/.output/server/chunks/routes/api/workshop/ws/ticket.post.mjs.map +1 -1
  1389. package/.output/server/chunks/routes/renderer.mjs +2 -2
  1390. package/.output/server/chunks/virtual/entry.mjs +207 -5
  1391. package/.output/server/chunks/virtual/precomputed.mjs +1 -1
  1392. package/.output/server/index.mjs +1 -0
  1393. package/.output/server/index.mjs.map +1 -1
  1394. package/.output/server/node_modules/.nitro/zod@3.25.76/index.js +4 -0
  1395. package/.output/server/node_modules/.nitro/zod@3.25.76/package.json +118 -0
  1396. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/ZodError.js +133 -0
  1397. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/errors.js +9 -0
  1398. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/external.js +6 -0
  1399. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/helpers/errorUtil.js +6 -0
  1400. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/helpers/parseUtil.js +109 -0
  1401. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/helpers/typeAliases.js +1 -0
  1402. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/helpers/util.js +133 -0
  1403. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/index.js +4 -0
  1404. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/locales/en.js +109 -0
  1405. package/.output/server/node_modules/.nitro/zod@3.25.76/v3/types.js +3693 -0
  1406. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/checks.js +1 -0
  1407. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/coerce.js +17 -0
  1408. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/compat.js +27 -0
  1409. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/errors.js +41 -0
  1410. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/external.js +18 -0
  1411. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/index.js +4 -0
  1412. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/iso.js +30 -0
  1413. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/parse.js +6 -0
  1414. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/classic/schemas.js +1006 -0
  1415. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/api.js +906 -0
  1416. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/checks.js +565 -0
  1417. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/core.js +61 -0
  1418. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/doc.js +35 -0
  1419. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/errors.js +195 -0
  1420. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/function.js +75 -0
  1421. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/index.js +15 -0
  1422. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/json-schema.js +1 -0
  1423. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/parse.js +57 -0
  1424. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/regexes.js +95 -0
  1425. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/registries.js +51 -0
  1426. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/schemas.js +1717 -0
  1427. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/to-json-schema.js +849 -0
  1428. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/util.js +493 -0
  1429. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/core/versions.js +5 -0
  1430. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/index.js +3 -0
  1431. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ar.js +116 -0
  1432. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/az.js +115 -0
  1433. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/be.js +164 -0
  1434. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ca.js +118 -0
  1435. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/cs.js +135 -0
  1436. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/de.js +116 -0
  1437. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/en.js +117 -0
  1438. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/eo.js +116 -0
  1439. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/es.js +117 -0
  1440. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/fa.js +122 -0
  1441. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/fi.js +122 -0
  1442. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/fr-CA.js +117 -0
  1443. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/fr.js +116 -0
  1444. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/he.js +117 -0
  1445. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/hu.js +117 -0
  1446. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/id.js +116 -0
  1447. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/index.js +39 -0
  1448. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/it.js +117 -0
  1449. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ja.js +115 -0
  1450. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/kh.js +117 -0
  1451. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ko.js +121 -0
  1452. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/mk.js +118 -0
  1453. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ms.js +116 -0
  1454. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/nl.js +117 -0
  1455. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/no.js +116 -0
  1456. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ota.js +117 -0
  1457. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/pl.js +117 -0
  1458. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ps.js +122 -0
  1459. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/pt.js +116 -0
  1460. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ru.js +164 -0
  1461. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/sl.js +117 -0
  1462. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/sv.js +118 -0
  1463. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ta.js +117 -0
  1464. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/th.js +117 -0
  1465. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/tr.js +115 -0
  1466. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ua.js +117 -0
  1467. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/ur.js +117 -0
  1468. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/vi.js +116 -0
  1469. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/zh-CN.js +116 -0
  1470. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/locales/zh-TW.js +117 -0
  1471. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/checks.js +1 -0
  1472. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/coerce.js +17 -0
  1473. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/external.js +13 -0
  1474. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/index.js +3 -0
  1475. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/iso.js +30 -0
  1476. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/parse.js +1 -0
  1477. package/.output/server/node_modules/.nitro/zod@3.25.76/v4/mini/schemas.js +732 -0
  1478. package/.output/server/node_modules/.nitro/zod@3.25.76/v4-mini/index.js +1 -0
  1479. package/.output/server/node_modules/.nitro/zod@4.6.7/package.json +147 -0
  1480. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/checks.js +1 -0
  1481. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/coerce.js +17 -0
  1482. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/compat.js +31 -0
  1483. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/deep-partial.js +13 -0
  1484. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/errors.js +57 -0
  1485. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/external.js +17 -0
  1486. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/from-json-schema.js +881 -0
  1487. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/in-out.js +36 -0
  1488. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/index.js +4 -0
  1489. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/iso.js +15 -0
  1490. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/package.json +7 -0
  1491. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/parse.js +16 -0
  1492. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/classic/schemas.js +1535 -0
  1493. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/api.js +1107 -0
  1494. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/checks.js +516 -0
  1495. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/compile.js +1866 -0
  1496. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/core.js +141 -0
  1497. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/doc.js +38 -0
  1498. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/errors.js +267 -0
  1499. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/index.js +19 -0
  1500. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/json-schema-generator.js +99 -0
  1501. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/json-schema-processors.js +843 -0
  1502. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/json-schema.js +1 -0
  1503. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/memoizer.js +311 -0
  1504. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/package.json +7 -0
  1505. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/parse.js +175 -0
  1506. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/regexes.js +156 -0
  1507. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/registries.js +51 -0
  1508. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/schemas.js +2636 -0
  1509. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/to-json-schema.js +651 -0
  1510. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/util.js +873 -0
  1511. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/versions.js +5 -0
  1512. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/core/visit.js +169 -0
  1513. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/index.js +4 -0
  1514. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ar.js +111 -0
  1515. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/az.js +110 -0
  1516. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/be.js +168 -0
  1517. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/bg.js +125 -0
  1518. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/bn.js +113 -0
  1519. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ca.js +112 -0
  1520. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ckb.js +133 -0
  1521. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/cs.js +116 -0
  1522. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/da.js +120 -0
  1523. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/de.js +113 -0
  1524. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/el.js +112 -0
  1525. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/en.js +125 -0
  1526. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/eo.js +114 -0
  1527. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/es.js +136 -0
  1528. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/fa.js +119 -0
  1529. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/fi.js +117 -0
  1530. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/fr-CA.js +112 -0
  1531. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/fr.js +129 -0
  1532. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/gu.js +113 -0
  1533. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/he.js +221 -0
  1534. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/hi.js +111 -0
  1535. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/hr.js +126 -0
  1536. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/hu.js +113 -0
  1537. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/hy.js +158 -0
  1538. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/id.js +111 -0
  1539. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/index.js +63 -0
  1540. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/is.js +114 -0
  1541. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/it.js +113 -0
  1542. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ja.js +112 -0
  1543. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ka.js +117 -0
  1544. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/kh.js +5 -0
  1545. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/km.js +115 -0
  1546. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/kn.js +116 -0
  1547. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ko.js +116 -0
  1548. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/lt.js +207 -0
  1549. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/mk.js +114 -0
  1550. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ms.js +112 -0
  1551. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ne.js +111 -0
  1552. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/nl.js +115 -0
  1553. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/nn.js +113 -0
  1554. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/no.js +113 -0
  1555. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ota.js +114 -0
  1556. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/package.json +7 -0
  1557. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/pl.js +114 -0
  1558. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ps.js +119 -0
  1559. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/pt-BR.js +143 -0
  1560. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/pt.js +142 -0
  1561. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ro.js +122 -0
  1562. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ru.js +168 -0
  1563. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/sk.js +116 -0
  1564. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/sl.js +114 -0
  1565. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/sv.js +115 -0
  1566. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ta.js +115 -0
  1567. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/tg.js +117 -0
  1568. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/th.js +115 -0
  1569. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/tk.js +107 -0
  1570. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/tr.js +110 -0
  1571. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ua.js +5 -0
  1572. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/uk.js +113 -0
  1573. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/ur.js +115 -0
  1574. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/uz.js +113 -0
  1575. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/vi.js +113 -0
  1576. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/yo.js +112 -0
  1577. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/zh-CN.js +114 -0
  1578. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/locales/zh-TW.js +112 -0
  1579. package/.output/server/node_modules/.nitro/zod@4.6.7/v4/package.json +7 -0
  1580. package/.output/server/node_modules/@modelcontextprotocol/client/dist/ajvProvider-BIwGVY6G.mjs +8010 -0
  1581. package/.output/server/node_modules/@modelcontextprotocol/client/dist/chunk-DYPzFuB5.mjs +42 -0
  1582. package/.output/server/node_modules/@modelcontextprotocol/client/dist/dialects-BAIiebX0.mjs +34 -0
  1583. package/.output/server/node_modules/@modelcontextprotocol/client/dist/index.mjs +1875 -0
  1584. package/.output/server/node_modules/@modelcontextprotocol/client/dist/public-CvV4ZHkX.mjs +4046 -0
  1585. package/.output/server/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs +13 -0
  1586. package/.output/server/node_modules/@modelcontextprotocol/client/dist/src-CeKsbNLO.mjs +7237 -0
  1587. package/.output/server/node_modules/@modelcontextprotocol/client/package.json +179 -0
  1588. package/.output/server/node_modules/@modelcontextprotocol/core/dist/auth-UMQCo-ad.mjs +209 -0
  1589. package/.output/server/node_modules/@modelcontextprotocol/core/dist/internal.mjs +4 -0
  1590. package/.output/server/node_modules/@modelcontextprotocol/core/dist/schemas-DscsoNZN.mjs +1476 -0
  1591. package/.output/server/node_modules/@modelcontextprotocol/core/package.json +98 -0
  1592. package/.output/server/node_modules/eventsource/dist/index.js +273 -0
  1593. package/.output/server/node_modules/eventsource/package.json +130 -0
  1594. package/.output/server/node_modules/eventsource-parser/dist/index.js +177 -0
  1595. package/.output/server/node_modules/eventsource-parser/dist/stream.js +30 -0
  1596. package/.output/server/node_modules/eventsource-parser/package.json +92 -0
  1597. package/.output/server/node_modules/pkce-challenge/dist/index.node.js +78 -0
  1598. package/.output/server/node_modules/pkce-challenge/package.json +59 -0
  1599. package/.output/server/node_modules/zod/LICENSE +21 -0
  1600. package/.output/server/node_modules/zod/README.md +208 -0
  1601. package/.output/server/node_modules/zod/index.cjs +33 -0
  1602. package/.output/server/node_modules/zod/index.d.cts +4 -0
  1603. package/.output/server/node_modules/zod/index.d.ts +4 -0
  1604. package/.output/server/node_modules/zod/package.json +1 -1
  1605. package/.output/server/node_modules/zod/src/index.ts +4 -0
  1606. package/.output/server/node_modules/zod/src/v3/ZodError.ts +330 -0
  1607. package/.output/server/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  1608. package/.output/server/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  1609. package/.output/server/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  1610. package/.output/server/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  1611. package/.output/server/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  1612. package/.output/server/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  1613. package/.output/server/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  1614. package/.output/server/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  1615. package/.output/server/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  1616. package/.output/server/node_modules/zod/src/v3/errors.ts +13 -0
  1617. package/.output/server/node_modules/zod/src/v3/external.ts +6 -0
  1618. package/.output/server/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  1619. package/.output/server/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  1620. package/.output/server/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  1621. package/.output/server/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  1622. package/.output/server/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  1623. package/.output/server/node_modules/zod/src/v3/helpers/util.ts +224 -0
  1624. package/.output/server/node_modules/zod/src/v3/index.ts +4 -0
  1625. package/.output/server/node_modules/zod/src/v3/locales/en.ts +124 -0
  1626. package/.output/server/node_modules/zod/src/v3/standard-schema.ts +113 -0
  1627. package/.output/server/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  1628. package/.output/server/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  1629. package/.output/server/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  1630. package/.output/server/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  1631. package/.output/server/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  1632. package/.output/server/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  1633. package/.output/server/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  1634. package/.output/server/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  1635. package/.output/server/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  1636. package/.output/server/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  1637. package/.output/server/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  1638. package/.output/server/node_modules/zod/src/v3/tests/complex.test.ts +56 -0
  1639. package/.output/server/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  1640. package/.output/server/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  1641. package/.output/server/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  1642. package/.output/server/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  1643. package/.output/server/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  1644. package/.output/server/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  1645. package/.output/server/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  1646. package/.output/server/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  1647. package/.output/server/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  1648. package/.output/server/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  1649. package/.output/server/node_modules/zod/src/v3/tests/function.test.ts +257 -0
  1650. package/.output/server/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  1651. package/.output/server/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  1652. package/.output/server/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  1653. package/.output/server/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  1654. package/.output/server/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  1655. package/.output/server/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  1656. package/.output/server/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  1657. package/.output/server/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  1658. package/.output/server/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  1659. package/.output/server/node_modules/zod/src/v3/tests/nan.test.ts +21 -0
  1660. package/.output/server/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  1661. package/.output/server/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  1662. package/.output/server/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  1663. package/.output/server/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  1664. package/.output/server/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  1665. package/.output/server/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  1666. package/.output/server/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  1667. package/.output/server/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  1668. package/.output/server/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  1669. package/.output/server/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  1670. package/.output/server/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  1671. package/.output/server/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  1672. package/.output/server/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  1673. package/.output/server/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  1674. package/.output/server/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  1675. package/.output/server/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  1676. package/.output/server/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  1677. package/.output/server/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  1678. package/.output/server/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  1679. package/.output/server/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  1680. package/.output/server/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  1681. package/.output/server/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  1682. package/.output/server/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  1683. package/.output/server/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  1684. package/.output/server/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  1685. package/.output/server/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  1686. package/.output/server/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  1687. package/.output/server/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  1688. package/.output/server/node_modules/zod/src/v3/types.ts +5136 -0
  1689. package/.output/server/node_modules/zod/src/v4/classic/checks.ts +30 -0
  1690. package/.output/server/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  1691. package/.output/server/node_modules/zod/src/v4/classic/compat.ts +66 -0
  1692. package/.output/server/node_modules/zod/src/v4/classic/errors.ts +75 -0
  1693. package/.output/server/node_modules/zod/src/v4/classic/external.ts +50 -0
  1694. package/.output/server/node_modules/zod/src/v4/classic/index.ts +5 -0
  1695. package/.output/server/node_modules/zod/src/v4/classic/iso.ts +90 -0
  1696. package/.output/server/node_modules/zod/src/v4/classic/parse.ts +33 -0
  1697. package/.output/server/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
  1698. package/.output/server/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  1699. package/.output/server/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  1700. package/.output/server/node_modules/zod/src/v4/classic/tests/assignability.test.ts +210 -0
  1701. package/.output/server/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  1702. package/.output/server/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  1703. package/.output/server/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  1704. package/.output/server/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  1705. package/.output/server/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
  1706. package/.output/server/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
  1707. package/.output/server/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  1708. package/.output/server/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  1709. package/.output/server/node_modules/zod/src/v4/classic/tests/continuability.test.ts +352 -0
  1710. package/.output/server/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  1711. package/.output/server/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
  1712. package/.output/server/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
  1713. package/.output/server/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
  1714. package/.output/server/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  1715. package/.output/server/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
  1716. package/.output/server/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  1717. package/.output/server/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
  1718. package/.output/server/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  1719. package/.output/server/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
  1720. package/.output/server/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
  1721. package/.output/server/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
  1722. package/.output/server/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  1723. package/.output/server/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
  1724. package/.output/server/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
  1725. package/.output/server/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
  1726. package/.output/server/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
  1727. package/.output/server/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  1728. package/.output/server/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
  1729. package/.output/server/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -0
  1730. package/.output/server/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  1731. package/.output/server/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  1732. package/.output/server/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +86 -0
  1733. package/.output/server/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  1734. package/.output/server/node_modules/zod/src/v4/classic/tests/number.test.ts +247 -0
  1735. package/.output/server/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
  1736. package/.output/server/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
  1737. package/.output/server/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
  1738. package/.output/server/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
  1739. package/.output/server/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
  1740. package/.output/server/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
  1741. package/.output/server/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -0
  1742. package/.output/server/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  1743. package/.output/server/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  1744. package/.output/server/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  1745. package/.output/server/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  1746. package/.output/server/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
  1747. package/.output/server/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
  1748. package/.output/server/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
  1749. package/.output/server/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
  1750. package/.output/server/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
  1751. package/.output/server/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
  1752. package/.output/server/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
  1753. package/.output/server/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
  1754. package/.output/server/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
  1755. package/.output/server/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
  1756. package/.output/server/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
  1757. package/.output/server/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
  1758. package/.output/server/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
  1759. package/.output/server/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -0
  1760. package/.output/server/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  1761. package/.output/server/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  1762. package/.output/server/node_modules/zod/src/v4/core/api.ts +1594 -0
  1763. package/.output/server/node_modules/zod/src/v4/core/checks.ts +1283 -0
  1764. package/.output/server/node_modules/zod/src/v4/core/config.ts +15 -0
  1765. package/.output/server/node_modules/zod/src/v4/core/core.ts +134 -0
  1766. package/.output/server/node_modules/zod/src/v4/core/doc.ts +44 -0
  1767. package/.output/server/node_modules/zod/src/v4/core/errors.ts +424 -0
  1768. package/.output/server/node_modules/zod/src/v4/core/function.ts +176 -0
  1769. package/.output/server/node_modules/zod/src/v4/core/index.ts +15 -0
  1770. package/.output/server/node_modules/zod/src/v4/core/json-schema.ts +143 -0
  1771. package/.output/server/node_modules/zod/src/v4/core/parse.ts +94 -0
  1772. package/.output/server/node_modules/zod/src/v4/core/regexes.ts +135 -0
  1773. package/.output/server/node_modules/zod/src/v4/core/registries.ts +96 -0
  1774. package/.output/server/node_modules/zod/src/v4/core/schemas.ts +3842 -0
  1775. package/.output/server/node_modules/zod/src/v4/core/standard-schema.ts +64 -0
  1776. package/.output/server/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  1777. package/.output/server/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  1778. package/.output/server/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  1779. package/.output/server/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  1780. package/.output/server/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  1781. package/.output/server/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
  1782. package/.output/server/node_modules/zod/src/v4/core/util.ts +775 -0
  1783. package/.output/server/node_modules/zod/src/v4/core/versions.ts +5 -0
  1784. package/.output/server/node_modules/zod/src/v4/core/zsf.ts +323 -0
  1785. package/.output/server/node_modules/zod/src/v4/index.ts +4 -0
  1786. package/.output/server/node_modules/zod/src/v4/locales/ar.ts +125 -0
  1787. package/.output/server/node_modules/zod/src/v4/locales/az.ts +121 -0
  1788. package/.output/server/node_modules/zod/src/v4/locales/be.ts +184 -0
  1789. package/.output/server/node_modules/zod/src/v4/locales/ca.ts +127 -0
  1790. package/.output/server/node_modules/zod/src/v4/locales/cs.ts +142 -0
  1791. package/.output/server/node_modules/zod/src/v4/locales/de.ts +124 -0
  1792. package/.output/server/node_modules/zod/src/v4/locales/en.ts +127 -0
  1793. package/.output/server/node_modules/zod/src/v4/locales/eo.ts +125 -0
  1794. package/.output/server/node_modules/zod/src/v4/locales/es.ts +125 -0
  1795. package/.output/server/node_modules/zod/src/v4/locales/fa.ts +134 -0
  1796. package/.output/server/node_modules/zod/src/v4/locales/fi.ts +131 -0
  1797. package/.output/server/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
  1798. package/.output/server/node_modules/zod/src/v4/locales/fr.ts +124 -0
  1799. package/.output/server/node_modules/zod/src/v4/locales/he.ts +125 -0
  1800. package/.output/server/node_modules/zod/src/v4/locales/hu.ts +126 -0
  1801. package/.output/server/node_modules/zod/src/v4/locales/id.ts +125 -0
  1802. package/.output/server/node_modules/zod/src/v4/locales/index.ts +39 -0
  1803. package/.output/server/node_modules/zod/src/v4/locales/it.ts +125 -0
  1804. package/.output/server/node_modules/zod/src/v4/locales/ja.ts +122 -0
  1805. package/.output/server/node_modules/zod/src/v4/locales/kh.ts +126 -0
  1806. package/.output/server/node_modules/zod/src/v4/locales/ko.ts +131 -0
  1807. package/.output/server/node_modules/zod/src/v4/locales/mk.ts +127 -0
  1808. package/.output/server/node_modules/zod/src/v4/locales/ms.ts +124 -0
  1809. package/.output/server/node_modules/zod/src/v4/locales/nl.ts +126 -0
  1810. package/.output/server/node_modules/zod/src/v4/locales/no.ts +124 -0
  1811. package/.output/server/node_modules/zod/src/v4/locales/ota.ts +125 -0
  1812. package/.output/server/node_modules/zod/src/v4/locales/pl.ts +126 -0
  1813. package/.output/server/node_modules/zod/src/v4/locales/ps.ts +133 -0
  1814. package/.output/server/node_modules/zod/src/v4/locales/pt.ts +123 -0
  1815. package/.output/server/node_modules/zod/src/v4/locales/ru.ts +184 -0
  1816. package/.output/server/node_modules/zod/src/v4/locales/sl.ts +126 -0
  1817. package/.output/server/node_modules/zod/src/v4/locales/sv.ts +127 -0
  1818. package/.output/server/node_modules/zod/src/v4/locales/ta.ts +125 -0
  1819. package/.output/server/node_modules/zod/src/v4/locales/th.ts +126 -0
  1820. package/.output/server/node_modules/zod/src/v4/locales/tr.ts +121 -0
  1821. package/.output/server/node_modules/zod/src/v4/locales/ua.ts +126 -0
  1822. package/.output/server/node_modules/zod/src/v4/locales/ur.ts +126 -0
  1823. package/.output/server/node_modules/zod/src/v4/locales/vi.ts +125 -0
  1824. package/.output/server/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
  1825. package/.output/server/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
  1826. package/.output/server/node_modules/zod/src/v4/mini/checks.ts +32 -0
  1827. package/.output/server/node_modules/zod/src/v4/mini/coerce.ts +22 -0
  1828. package/.output/server/node_modules/zod/src/v4/mini/external.ts +40 -0
  1829. package/.output/server/node_modules/zod/src/v4/mini/index.ts +3 -0
  1830. package/.output/server/node_modules/zod/src/v4/mini/iso.ts +62 -0
  1831. package/.output/server/node_modules/zod/src/v4/mini/parse.ts +1 -0
  1832. package/.output/server/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
  1833. package/.output/server/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  1834. package/.output/server/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
  1835. package/.output/server/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  1836. package/.output/server/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  1837. package/.output/server/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  1838. package/.output/server/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
  1839. package/.output/server/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
  1840. package/.output/server/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  1841. package/.output/server/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -0
  1842. package/.output/server/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  1843. package/.output/server/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +275 -0
  1844. package/.output/server/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
  1845. package/.output/server/node_modules/zod/src/v4-mini/index.ts +1 -0
  1846. package/.output/server/node_modules/zod/v3/ZodError.cjs +138 -0
  1847. package/.output/server/node_modules/zod/v3/ZodError.d.cts +164 -0
  1848. package/.output/server/node_modules/zod/v3/ZodError.d.ts +164 -0
  1849. package/.output/server/node_modules/zod/v3/errors.cjs +17 -0
  1850. package/.output/server/node_modules/zod/v3/errors.d.cts +5 -0
  1851. package/.output/server/node_modules/zod/v3/errors.d.ts +5 -0
  1852. package/.output/server/node_modules/zod/v3/external.cjs +22 -0
  1853. package/.output/server/node_modules/zod/v3/external.d.cts +6 -0
  1854. package/.output/server/node_modules/zod/v3/external.d.ts +6 -0
  1855. package/.output/server/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  1856. package/.output/server/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  1857. package/.output/server/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  1858. package/.output/server/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  1859. package/.output/server/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  1860. package/.output/server/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  1861. package/.output/server/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  1862. package/.output/server/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  1863. package/.output/server/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  1864. package/.output/server/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  1865. package/.output/server/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  1866. package/.output/server/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  1867. package/.output/server/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  1868. package/.output/server/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  1869. package/.output/server/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  1870. package/.output/server/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  1871. package/.output/server/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  1872. package/.output/server/node_modules/zod/v3/helpers/util.cjs +137 -0
  1873. package/.output/server/node_modules/zod/v3/helpers/util.d.cts +85 -0
  1874. package/.output/server/node_modules/zod/v3/helpers/util.d.ts +85 -0
  1875. package/.output/server/node_modules/zod/v3/index.cjs +33 -0
  1876. package/.output/server/node_modules/zod/v3/index.d.cts +4 -0
  1877. package/.output/server/node_modules/zod/v3/index.d.ts +4 -0
  1878. package/.output/server/node_modules/zod/v3/locales/en.cjs +111 -0
  1879. package/.output/server/node_modules/zod/v3/locales/en.d.cts +3 -0
  1880. package/.output/server/node_modules/zod/v3/locales/en.d.ts +3 -0
  1881. package/.output/server/node_modules/zod/v3/standard-schema.cjs +2 -0
  1882. package/.output/server/node_modules/zod/v3/standard-schema.d.cts +102 -0
  1883. package/.output/server/node_modules/zod/v3/standard-schema.d.ts +102 -0
  1884. package/.output/server/node_modules/zod/v3/standard-schema.js +1 -0
  1885. package/.output/server/node_modules/zod/v3/types.cjs +3775 -0
  1886. package/.output/server/node_modules/zod/v3/types.d.cts +1031 -0
  1887. package/.output/server/node_modules/zod/v3/types.d.ts +1031 -0
  1888. package/.output/server/node_modules/zod/v4/classic/checks.cjs +32 -0
  1889. package/.output/server/node_modules/zod/v4/classic/checks.d.cts +1 -0
  1890. package/.output/server/node_modules/zod/v4/classic/checks.d.ts +1 -0
  1891. package/.output/server/node_modules/zod/v4/classic/coerce.cjs +47 -0
  1892. package/.output/server/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  1893. package/.output/server/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  1894. package/.output/server/node_modules/zod/v4/classic/compat.cjs +57 -0
  1895. package/.output/server/node_modules/zod/v4/classic/compat.d.cts +46 -0
  1896. package/.output/server/node_modules/zod/v4/classic/compat.d.ts +46 -0
  1897. package/.output/server/node_modules/zod/v4/classic/errors.cjs +67 -0
  1898. package/.output/server/node_modules/zod/v4/classic/errors.d.cts +30 -0
  1899. package/.output/server/node_modules/zod/v4/classic/errors.d.ts +30 -0
  1900. package/.output/server/node_modules/zod/v4/classic/external.cjs +70 -0
  1901. package/.output/server/node_modules/zod/v4/classic/external.d.cts +13 -0
  1902. package/.output/server/node_modules/zod/v4/classic/external.d.ts +13 -0
  1903. package/.output/server/node_modules/zod/v4/classic/index.cjs +33 -0
  1904. package/.output/server/node_modules/zod/v4/classic/index.d.cts +4 -0
  1905. package/.output/server/node_modules/zod/v4/classic/index.d.ts +4 -0
  1906. package/.output/server/node_modules/zod/v4/classic/iso.cjs +60 -0
  1907. package/.output/server/node_modules/zod/v4/classic/iso.d.cts +22 -0
  1908. package/.output/server/node_modules/zod/v4/classic/iso.d.ts +22 -0
  1909. package/.output/server/node_modules/zod/v4/classic/parse.cjs +32 -0
  1910. package/.output/server/node_modules/zod/v4/classic/parse.d.cts +23 -0
  1911. package/.output/server/node_modules/zod/v4/classic/parse.d.ts +23 -0
  1912. package/.output/server/node_modules/zod/v4/classic/schemas.cjs +1109 -0
  1913. package/.output/server/node_modules/zod/v4/classic/schemas.d.cts +630 -0
  1914. package/.output/server/node_modules/zod/v4/classic/schemas.d.ts +630 -0
  1915. package/.output/server/node_modules/zod/v4/core/api.cjs +1039 -0
  1916. package/.output/server/node_modules/zod/v4/core/api.d.cts +284 -0
  1917. package/.output/server/node_modules/zod/v4/core/api.d.ts +284 -0
  1918. package/.output/server/node_modules/zod/v4/core/checks.cjs +591 -0
  1919. package/.output/server/node_modules/zod/v4/core/checks.d.cts +278 -0
  1920. package/.output/server/node_modules/zod/v4/core/checks.d.ts +278 -0
  1921. package/.output/server/node_modules/zod/v4/core/core.cjs +67 -0
  1922. package/.output/server/node_modules/zod/v4/core/core.d.cts +49 -0
  1923. package/.output/server/node_modules/zod/v4/core/core.d.ts +49 -0
  1924. package/.output/server/node_modules/zod/v4/core/doc.cjs +39 -0
  1925. package/.output/server/node_modules/zod/v4/core/doc.d.cts +14 -0
  1926. package/.output/server/node_modules/zod/v4/core/doc.d.ts +14 -0
  1927. package/.output/server/node_modules/zod/v4/core/errors.cjs +226 -0
  1928. package/.output/server/node_modules/zod/v4/core/errors.d.cts +208 -0
  1929. package/.output/server/node_modules/zod/v4/core/errors.d.ts +208 -0
  1930. package/.output/server/node_modules/zod/v4/core/function.cjs +102 -0
  1931. package/.output/server/node_modules/zod/v4/core/function.d.cts +52 -0
  1932. package/.output/server/node_modules/zod/v4/core/function.d.ts +52 -0
  1933. package/.output/server/node_modules/zod/v4/core/index.cjs +44 -0
  1934. package/.output/server/node_modules/zod/v4/core/index.d.cts +15 -0
  1935. package/.output/server/node_modules/zod/v4/core/index.d.ts +15 -0
  1936. package/.output/server/node_modules/zod/v4/core/json-schema.cjs +2 -0
  1937. package/.output/server/node_modules/zod/v4/core/json-schema.d.cts +87 -0
  1938. package/.output/server/node_modules/zod/v4/core/json-schema.d.ts +87 -0
  1939. package/.output/server/node_modules/zod/v4/core/parse.cjs +87 -0
  1940. package/.output/server/node_modules/zod/v4/core/parse.d.cts +25 -0
  1941. package/.output/server/node_modules/zod/v4/core/parse.d.ts +25 -0
  1942. package/.output/server/node_modules/zod/v4/core/regexes.cjs +103 -0
  1943. package/.output/server/node_modules/zod/v4/core/regexes.d.cts +62 -0
  1944. package/.output/server/node_modules/zod/v4/core/regexes.d.ts +62 -0
  1945. package/.output/server/node_modules/zod/v4/core/registries.cjs +56 -0
  1946. package/.output/server/node_modules/zod/v4/core/registries.d.cts +35 -0
  1947. package/.output/server/node_modules/zod/v4/core/registries.d.ts +35 -0
  1948. package/.output/server/node_modules/zod/v4/core/schemas.cjs +1748 -0
  1949. package/.output/server/node_modules/zod/v4/core/schemas.d.cts +1041 -0
  1950. package/.output/server/node_modules/zod/v4/core/schemas.d.ts +1041 -0
  1951. package/.output/server/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  1952. package/.output/server/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
  1953. package/.output/server/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
  1954. package/.output/server/node_modules/zod/v4/core/standard-schema.js +1 -0
  1955. package/.output/server/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
  1956. package/.output/server/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
  1957. package/.output/server/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
  1958. package/.output/server/node_modules/zod/v4/core/util.cjs +539 -0
  1959. package/.output/server/node_modules/zod/v4/core/util.d.cts +183 -0
  1960. package/.output/server/node_modules/zod/v4/core/util.d.ts +183 -0
  1961. package/.output/server/node_modules/zod/v4/core/versions.cjs +8 -0
  1962. package/.output/server/node_modules/zod/v4/core/versions.d.cts +5 -0
  1963. package/.output/server/node_modules/zod/v4/core/versions.d.ts +5 -0
  1964. package/.output/server/node_modules/zod/v4/index.cjs +22 -0
  1965. package/.output/server/node_modules/zod/v4/index.d.cts +3 -0
  1966. package/.output/server/node_modules/zod/v4/index.d.ts +3 -0
  1967. package/.output/server/node_modules/zod/v4/locales/ar.cjs +142 -0
  1968. package/.output/server/node_modules/zod/v4/locales/ar.d.cts +4 -0
  1969. package/.output/server/node_modules/zod/v4/locales/ar.d.ts +4 -0
  1970. package/.output/server/node_modules/zod/v4/locales/az.cjs +141 -0
  1971. package/.output/server/node_modules/zod/v4/locales/az.d.cts +4 -0
  1972. package/.output/server/node_modules/zod/v4/locales/az.d.ts +4 -0
  1973. package/.output/server/node_modules/zod/v4/locales/be.cjs +190 -0
  1974. package/.output/server/node_modules/zod/v4/locales/be.d.cts +4 -0
  1975. package/.output/server/node_modules/zod/v4/locales/be.d.ts +4 -0
  1976. package/.output/server/node_modules/zod/v4/locales/ca.cjs +144 -0
  1977. package/.output/server/node_modules/zod/v4/locales/ca.d.cts +4 -0
  1978. package/.output/server/node_modules/zod/v4/locales/ca.d.ts +4 -0
  1979. package/.output/server/node_modules/zod/v4/locales/cs.cjs +161 -0
  1980. package/.output/server/node_modules/zod/v4/locales/cs.d.cts +4 -0
  1981. package/.output/server/node_modules/zod/v4/locales/cs.d.ts +4 -0
  1982. package/.output/server/node_modules/zod/v4/locales/de.cjs +142 -0
  1983. package/.output/server/node_modules/zod/v4/locales/de.d.cts +4 -0
  1984. package/.output/server/node_modules/zod/v4/locales/de.d.ts +4 -0
  1985. package/.output/server/node_modules/zod/v4/locales/en.cjs +145 -0
  1986. package/.output/server/node_modules/zod/v4/locales/en.d.cts +5 -0
  1987. package/.output/server/node_modules/zod/v4/locales/en.d.ts +5 -0
  1988. package/.output/server/node_modules/zod/v4/locales/eo.cjs +144 -0
  1989. package/.output/server/node_modules/zod/v4/locales/eo.d.cts +5 -0
  1990. package/.output/server/node_modules/zod/v4/locales/eo.d.ts +5 -0
  1991. package/.output/server/node_modules/zod/v4/locales/es.cjs +143 -0
  1992. package/.output/server/node_modules/zod/v4/locales/es.d.cts +4 -0
  1993. package/.output/server/node_modules/zod/v4/locales/es.d.ts +4 -0
  1994. package/.output/server/node_modules/zod/v4/locales/fa.cjs +148 -0
  1995. package/.output/server/node_modules/zod/v4/locales/fa.d.cts +4 -0
  1996. package/.output/server/node_modules/zod/v4/locales/fa.d.ts +4 -0
  1997. package/.output/server/node_modules/zod/v4/locales/fi.cjs +148 -0
  1998. package/.output/server/node_modules/zod/v4/locales/fi.d.cts +4 -0
  1999. package/.output/server/node_modules/zod/v4/locales/fi.d.ts +4 -0
  2000. package/.output/server/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
  2001. package/.output/server/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
  2002. package/.output/server/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  2003. package/.output/server/node_modules/zod/v4/locales/fr.cjs +142 -0
  2004. package/.output/server/node_modules/zod/v4/locales/fr.d.cts +4 -0
  2005. package/.output/server/node_modules/zod/v4/locales/fr.d.ts +4 -0
  2006. package/.output/server/node_modules/zod/v4/locales/he.cjs +143 -0
  2007. package/.output/server/node_modules/zod/v4/locales/he.d.cts +4 -0
  2008. package/.output/server/node_modules/zod/v4/locales/he.d.ts +4 -0
  2009. package/.output/server/node_modules/zod/v4/locales/hu.cjs +143 -0
  2010. package/.output/server/node_modules/zod/v4/locales/hu.d.cts +4 -0
  2011. package/.output/server/node_modules/zod/v4/locales/hu.d.ts +4 -0
  2012. package/.output/server/node_modules/zod/v4/locales/id.cjs +142 -0
  2013. package/.output/server/node_modules/zod/v4/locales/id.d.cts +4 -0
  2014. package/.output/server/node_modules/zod/v4/locales/id.d.ts +4 -0
  2015. package/.output/server/node_modules/zod/v4/locales/index.cjs +84 -0
  2016. package/.output/server/node_modules/zod/v4/locales/index.d.cts +39 -0
  2017. package/.output/server/node_modules/zod/v4/locales/index.d.ts +39 -0
  2018. package/.output/server/node_modules/zod/v4/locales/it.cjs +143 -0
  2019. package/.output/server/node_modules/zod/v4/locales/it.d.cts +4 -0
  2020. package/.output/server/node_modules/zod/v4/locales/it.d.ts +4 -0
  2021. package/.output/server/node_modules/zod/v4/locales/ja.cjs +141 -0
  2022. package/.output/server/node_modules/zod/v4/locales/ja.d.cts +4 -0
  2023. package/.output/server/node_modules/zod/v4/locales/ja.d.ts +4 -0
  2024. package/.output/server/node_modules/zod/v4/locales/kh.cjs +143 -0
  2025. package/.output/server/node_modules/zod/v4/locales/kh.d.cts +4 -0
  2026. package/.output/server/node_modules/zod/v4/locales/kh.d.ts +4 -0
  2027. package/.output/server/node_modules/zod/v4/locales/ko.cjs +147 -0
  2028. package/.output/server/node_modules/zod/v4/locales/ko.d.cts +4 -0
  2029. package/.output/server/node_modules/zod/v4/locales/ko.d.ts +4 -0
  2030. package/.output/server/node_modules/zod/v4/locales/mk.cjs +144 -0
  2031. package/.output/server/node_modules/zod/v4/locales/mk.d.cts +4 -0
  2032. package/.output/server/node_modules/zod/v4/locales/mk.d.ts +4 -0
  2033. package/.output/server/node_modules/zod/v4/locales/ms.cjs +142 -0
  2034. package/.output/server/node_modules/zod/v4/locales/ms.d.cts +4 -0
  2035. package/.output/server/node_modules/zod/v4/locales/ms.d.ts +4 -0
  2036. package/.output/server/node_modules/zod/v4/locales/nl.cjs +143 -0
  2037. package/.output/server/node_modules/zod/v4/locales/nl.d.cts +4 -0
  2038. package/.output/server/node_modules/zod/v4/locales/nl.d.ts +4 -0
  2039. package/.output/server/node_modules/zod/v4/locales/no.cjs +142 -0
  2040. package/.output/server/node_modules/zod/v4/locales/no.d.cts +4 -0
  2041. package/.output/server/node_modules/zod/v4/locales/no.d.ts +4 -0
  2042. package/.output/server/node_modules/zod/v4/locales/ota.cjs +143 -0
  2043. package/.output/server/node_modules/zod/v4/locales/ota.d.cts +4 -0
  2044. package/.output/server/node_modules/zod/v4/locales/ota.d.ts +4 -0
  2045. package/.output/server/node_modules/zod/v4/locales/pl.cjs +143 -0
  2046. package/.output/server/node_modules/zod/v4/locales/pl.d.cts +4 -0
  2047. package/.output/server/node_modules/zod/v4/locales/pl.d.ts +4 -0
  2048. package/.output/server/node_modules/zod/v4/locales/ps.cjs +148 -0
  2049. package/.output/server/node_modules/zod/v4/locales/ps.d.cts +4 -0
  2050. package/.output/server/node_modules/zod/v4/locales/ps.d.ts +4 -0
  2051. package/.output/server/node_modules/zod/v4/locales/pt.cjs +142 -0
  2052. package/.output/server/node_modules/zod/v4/locales/pt.d.cts +4 -0
  2053. package/.output/server/node_modules/zod/v4/locales/pt.d.ts +4 -0
  2054. package/.output/server/node_modules/zod/v4/locales/ru.cjs +190 -0
  2055. package/.output/server/node_modules/zod/v4/locales/ru.d.cts +4 -0
  2056. package/.output/server/node_modules/zod/v4/locales/ru.d.ts +4 -0
  2057. package/.output/server/node_modules/zod/v4/locales/sl.cjs +143 -0
  2058. package/.output/server/node_modules/zod/v4/locales/sl.d.cts +4 -0
  2059. package/.output/server/node_modules/zod/v4/locales/sl.d.ts +4 -0
  2060. package/.output/server/node_modules/zod/v4/locales/sv.cjs +144 -0
  2061. package/.output/server/node_modules/zod/v4/locales/sv.d.cts +4 -0
  2062. package/.output/server/node_modules/zod/v4/locales/sv.d.ts +4 -0
  2063. package/.output/server/node_modules/zod/v4/locales/ta.cjs +143 -0
  2064. package/.output/server/node_modules/zod/v4/locales/ta.d.cts +4 -0
  2065. package/.output/server/node_modules/zod/v4/locales/ta.d.ts +4 -0
  2066. package/.output/server/node_modules/zod/v4/locales/th.cjs +143 -0
  2067. package/.output/server/node_modules/zod/v4/locales/th.d.cts +4 -0
  2068. package/.output/server/node_modules/zod/v4/locales/th.d.ts +4 -0
  2069. package/.output/server/node_modules/zod/v4/locales/tr.cjs +143 -0
  2070. package/.output/server/node_modules/zod/v4/locales/tr.d.cts +5 -0
  2071. package/.output/server/node_modules/zod/v4/locales/tr.d.ts +5 -0
  2072. package/.output/server/node_modules/zod/v4/locales/ua.cjs +143 -0
  2073. package/.output/server/node_modules/zod/v4/locales/ua.d.cts +4 -0
  2074. package/.output/server/node_modules/zod/v4/locales/ua.d.ts +4 -0
  2075. package/.output/server/node_modules/zod/v4/locales/ur.cjs +143 -0
  2076. package/.output/server/node_modules/zod/v4/locales/ur.d.cts +4 -0
  2077. package/.output/server/node_modules/zod/v4/locales/ur.d.ts +4 -0
  2078. package/.output/server/node_modules/zod/v4/locales/vi.cjs +142 -0
  2079. package/.output/server/node_modules/zod/v4/locales/vi.d.cts +4 -0
  2080. package/.output/server/node_modules/zod/v4/locales/vi.d.ts +4 -0
  2081. package/.output/server/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
  2082. package/.output/server/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
  2083. package/.output/server/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  2084. package/.output/server/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
  2085. package/.output/server/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
  2086. package/.output/server/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  2087. package/.output/server/node_modules/zod/v4/mini/checks.cjs +34 -0
  2088. package/.output/server/node_modules/zod/v4/mini/checks.d.cts +1 -0
  2089. package/.output/server/node_modules/zod/v4/mini/checks.d.ts +1 -0
  2090. package/.output/server/node_modules/zod/v4/mini/coerce.cjs +47 -0
  2091. package/.output/server/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  2092. package/.output/server/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  2093. package/.output/server/node_modules/zod/v4/mini/external.cjs +62 -0
  2094. package/.output/server/node_modules/zod/v4/mini/external.d.cts +11 -0
  2095. package/.output/server/node_modules/zod/v4/mini/external.d.ts +11 -0
  2096. package/.output/server/node_modules/zod/v4/mini/index.cjs +32 -0
  2097. package/.output/server/node_modules/zod/v4/mini/index.d.cts +3 -0
  2098. package/.output/server/node_modules/zod/v4/mini/index.d.ts +3 -0
  2099. package/.output/server/node_modules/zod/v4/mini/iso.cjs +60 -0
  2100. package/.output/server/node_modules/zod/v4/mini/iso.d.cts +22 -0
  2101. package/.output/server/node_modules/zod/v4/mini/iso.d.ts +22 -0
  2102. package/.output/server/node_modules/zod/v4/mini/parse.cjs +8 -0
  2103. package/.output/server/node_modules/zod/v4/mini/parse.d.cts +1 -0
  2104. package/.output/server/node_modules/zod/v4/mini/parse.d.ts +1 -0
  2105. package/.output/server/node_modules/zod/v4/mini/schemas.cjs +839 -0
  2106. package/.output/server/node_modules/zod/v4/mini/schemas.d.cts +356 -0
  2107. package/.output/server/node_modules/zod/v4/mini/schemas.d.ts +356 -0
  2108. package/.output/server/node_modules/zod/v4-mini/index.cjs +17 -0
  2109. package/.output/server/node_modules/zod/v4-mini/index.d.cts +1 -0
  2110. package/.output/server/node_modules/zod/v4-mini/index.d.ts +1 -0
  2111. package/.output/server/package.json +6 -1
  2112. package/.output/skills/aw-doc-to-project/SKILL.md +127 -0
  2113. package/.output/skills/aw-line-onboarding/SKILL.md +212 -0
  2114. package/.output/skills/aw-live-acceptance-round/SKILL.md +127 -0
  2115. package/.output/skills/aw-node-bind/SKILL.md +111 -0
  2116. package/.output/skills/aw-opt-channel/SKILL.md +117 -0
  2117. package/.output/skills/aw-plc-sim-twin/SKILL.md +100 -0
  2118. package/.output/skills/aw-plugin-dev/SKILL.md +161 -0
  2119. package/.output/skills/aw-plugin-dev/references/daq-dcw-driver-contract.md +204 -0
  2120. package/.output/skills/aw-plugin-dev/references/plugin-ctx-api.md +119 -0
  2121. package/.output/skills/aw-plugin-dev/references/testing-and-acceptance.md +118 -0
  2122. package/.output/skills/aw-protocol-onboarding/SKILL.md +177 -0
  2123. package/.output/skills/aw-protocol-onboarding/references/plugin-fallback.md +124 -0
  2124. package/.output/skills/aw-protocol-onboarding/references/production-safety.md +113 -0
  2125. package/.output/skills/aw-protocol-onboarding/references/protocol-matrix.md +96 -0
  2126. package/.output/skills/aw-system-acceptance/SKILL.md +137 -0
  2127. package/README-zh.md +42 -8
  2128. package/README.md +41 -9
  2129. package/app/components/settings/AgentPrefabsPane.vue +753 -0
  2130. package/app/components/settings/McpServersPane.vue +462 -0
  2131. package/app/components/settings/SkillsPane.vue +376 -0
  2132. package/app/components/workshop/MemoryPanel.vue +81 -0
  2133. package/app/pages/settings.vue +24 -3
  2134. package/cli/commands/plugin.mjs +16 -0
  2135. package/cli/core/post-build.mjs +13 -1
  2136. package/config.yml +1 -1
  2137. package/docs/cli.en.md +1 -1
  2138. package/docs/cli.md +1 -1
  2139. package/docs/plugins.en.md +2 -2
  2140. package/docs/plugins.md +3 -3
  2141. package/docs/sdk.en.md +1 -1
  2142. package/docs/sdk.md +1 -1
  2143. package/i18n/locales/en.ts +101 -0
  2144. package/i18n/locales/zh-CN.ts +101 -0
  2145. package/package.json +3 -1
  2146. package/scripts/_audit/governed-learning-evidence.mjs +51 -0
  2147. package/scripts/_audit/governed-main-audit.mjs +60 -0
  2148. package/scripts/acceptance-governed-product-learning.mjs +110 -0
  2149. package/scripts/api-live-e2e.mjs +34 -3
  2150. package/scripts/experiments/gemma4-pipeline.mjs +808 -0
  2151. package/scripts/experiments/gemma4-supplement-fix.mjs +119 -0
  2152. package/scripts/experiments/gemma4-supplement.mjs +266 -0
  2153. package/scripts/experiments/prefab-acceptance.mjs +196 -0
  2154. package/scripts/experiments/tii-daq-repro.mjs +688 -0
  2155. package/scripts/experiments/tsa-phase-c.mjs +154 -0
  2156. package/scripts/experiments/tsa-phase-f.mjs +167 -0
  2157. package/scripts/experiments/tsa-phase-i.mjs +151 -0
  2158. package/scripts/experiments/tsa-phase-s.mjs +223 -0
  2159. package/scripts/experiments/tsa2-phase-c.mjs +259 -0
  2160. package/scripts/experiments/tsa2-phase-p.mjs +379 -0
  2161. package/scripts/experiments/tsa2-phase-p1.mjs +386 -0
  2162. package/scripts/experiments/tsa2-phase-s.mjs +224 -0
  2163. package/scripts/experiments/tsa3-phase-c.mjs +204 -0
  2164. package/scripts/experiments/tsa3-phase-s.mjs +119 -0
  2165. package/scripts/experiments/tsa3-planwatch.mjs +42 -0
  2166. package/scripts/experiments/tsa3-projectwatch.mjs +34 -0
  2167. package/scripts/experiments/tsa3-report-manifest.mjs +65 -0
  2168. package/scripts/experiments/tsa3-smoke.mjs +87 -0
  2169. package/scripts/experiments/tsa3-xchannel.mjs +62 -0
  2170. package/scripts/experiments/tsa4-aml.mjs +104 -0
  2171. package/scripts/experiments/tsa4-bench-gate.mjs +101 -0
  2172. package/scripts/experiments/tsa4-bench-hostgate.mjs +20 -0
  2173. package/scripts/experiments/tsa4-phase-c.mjs +193 -0
  2174. package/scripts/experiments/tsa4-phase-s.mjs +151 -0
  2175. package/scripts/experiments/tsa4-planwatch.mjs +42 -0
  2176. package/scripts/experiments/tsa4-project-dispatch.mjs +61 -0
  2177. package/scripts/experiments/tsa4-project-industrial.mjs +41 -0
  2178. package/scripts/experiments/tsa4-projectwatch.mjs +42 -0
  2179. package/scripts/experiments/tsa4-reconcile.mjs +46 -0
  2180. package/scripts/experiments/tsa4-report-manifest.mjs +63 -0
  2181. package/scripts/experiments/tsa4-rtu-probe.mjs +87 -0
  2182. package/scripts/experiments/tsa4-xchannel.mjs +62 -0
  2183. package/scripts/experiments/tsa5-aml.mjs +108 -0
  2184. package/scripts/experiments/tsa5-bench-gate.mjs +101 -0
  2185. package/scripts/experiments/tsa5-bench-hostgate.mjs +20 -0
  2186. package/scripts/experiments/tsa5-c23-override.mjs +99 -0
  2187. package/scripts/experiments/tsa5-phase-c.mjs +193 -0
  2188. package/scripts/experiments/tsa5-phase-s.mjs +161 -0
  2189. package/scripts/experiments/tsa5-planwatch.mjs +42 -0
  2190. package/scripts/experiments/tsa5-plugin-check.mjs +64 -0
  2191. package/scripts/experiments/tsa5-project-dispatch.mjs +71 -0
  2192. package/scripts/experiments/tsa5-projectwatch.mjs +42 -0
  2193. package/scripts/experiments/tsa5-r2-direct.mjs +65 -0
  2194. package/scripts/experiments/tsa5-reconcile.mjs +46 -0
  2195. package/scripts/experiments/tsa5-report-manifest.mjs +63 -0
  2196. package/scripts/experiments/tsa5-rtu-probe.mjs +87 -0
  2197. package/scripts/experiments/tsa5-smoke-direct.mjs +45 -0
  2198. package/scripts/experiments/tsa5-smoke.mjs +85 -0
  2199. package/scripts/experiments/tsa5-xchannel.mjs +62 -0
  2200. package/scripts/test-aw-skills.mjs +1 -1
  2201. package/sdk/examples/mes-tool-bridge/index.mjs +163 -0
  2202. package/server/api/mcp/workshop.ts +47 -9
  2203. package/server/api/system/mcp-servers/[id]/discover.post.ts +27 -0
  2204. package/server/api/system/mcp-servers/[id]/review.post.ts +38 -0
  2205. package/server/api/system/mcp-servers/[id].delete.ts +26 -0
  2206. package/server/api/system/mcp-servers/[id].get.ts +14 -0
  2207. package/server/api/system/mcp-servers/[id].patch.ts +40 -0
  2208. package/server/api/system/mcp-servers/index.get.ts +13 -0
  2209. package/server/api/system/mcp-servers/index.post.ts +39 -0
  2210. package/server/api/system/skills/[id]/file.get.ts +18 -0
  2211. package/server/api/system/skills/[id].delete.ts +28 -0
  2212. package/server/api/system/skills/[id].patch.ts +29 -0
  2213. package/server/api/system/skills/discover.get.ts +13 -0
  2214. package/server/api/system/skills/import.post.ts +30 -0
  2215. package/server/api/system/skills/index.get.ts +13 -0
  2216. package/server/api/workshop/agent-prefabs/[id]/publish.post.ts +27 -0
  2217. package/server/api/workshop/agent-prefabs/[id]/revisions/[revision].get.ts +29 -0
  2218. package/server/api/workshop/agent-prefabs/[id].get.ts +25 -0
  2219. package/server/api/workshop/agent-prefabs/[id].patch.ts +23 -0
  2220. package/server/api/workshop/agent-prefabs/catalog.get.ts +20 -0
  2221. package/server/api/workshop/agent-prefabs/index.get.ts +25 -0
  2222. package/server/api/workshop/agent-prefabs/index.post.ts +18 -0
  2223. package/server/api/workshop/channels/[id]/agents/[agentId]/prefab.patch.ts +44 -0
  2224. package/server/api/workshop/channels/[id]/memories/[memoryId]/experience.get.ts +32 -0
  2225. package/server/mcp/ingress-auth.ts +110 -0
  2226. package/server/mcp/workshop-server.ts +43 -8
  2227. package/server/services/workshop/agent-prefabs/prompt.ts +21 -0
  2228. package/server/services/workshop/agent-prefabs/registry.ts +92 -0
  2229. package/server/services/workshop/agent-prefabs/resolution.ts +208 -0
  2230. package/server/services/workshop/agent-prefabs/runtime.ts +103 -0
  2231. package/server/services/workshop/agent-prefabs/service.ts +287 -0
  2232. package/server/services/workshop/agent-prefabs/types.ts +136 -0
  2233. package/server/services/workshop/agents/adapters/omp-rpc-client/start.ts +82 -74
  2234. package/server/services/workshop/agents/agent-interface.ts +3 -0
  2235. package/server/services/workshop/agents/base-agent.ts +4 -0
  2236. package/server/services/workshop/agents/hitl-decision/reconcile.ts +12 -0
  2237. package/server/services/workshop/agents/host-tool-bridge/dispatch.ts +49 -0
  2238. package/server/services/workshop/agents/host-tool-bridge/per-agent.ts +44 -1
  2239. package/server/services/workshop/agents/host-tool-bridge/tools/skills.ts +54 -0
  2240. package/server/services/workshop/agents/session-clone.ts +10 -3
  2241. package/server/services/workshop/agents/task-channel.ts +16 -4
  2242. package/server/services/workshop/daq/batch-quality.ts +96 -0
  2243. package/server/services/workshop/db/agent-prefab.repo.ts +142 -0
  2244. package/server/services/workshop/db/channel-agent.repo.ts +12 -6
  2245. package/server/services/workshop/db/channel-session.repo.ts +10 -3
  2246. package/server/services/workshop/db/channel-template.repo.ts +4 -4
  2247. package/server/services/workshop/db/database/migrations-experience-versions.ts +92 -0
  2248. package/server/services/workshop/db/database/migrations-hitl-ref.ts +20 -0
  2249. package/server/services/workshop/db/database/migrations-prefab.ts +30 -0
  2250. package/server/services/workshop/db/database/open.ts +12 -2
  2251. package/server/services/workshop/db/database/rows.ts +2 -0
  2252. package/server/services/workshop/db/database/schema.ts +127 -1
  2253. package/server/services/workshop/db/memory.repo.ts +34 -0
  2254. package/server/services/workshop/db/project.repo.ts +15 -1
  2255. package/server/services/workshop/dcw/dcw-controller/actuation.ts +46 -0
  2256. package/server/services/workshop/dcw/write-attempt-ledger.ts +113 -0
  2257. package/server/services/workshop/experience/claim-cluster.ts +28 -0
  2258. package/server/services/workshop/experience/evaluation-run.ts +175 -0
  2259. package/server/services/workshop/experience/evidence-ledger.ts +69 -0
  2260. package/server/services/workshop/experience/gates.ts +14 -4
  2261. package/server/services/workshop/experience/ontology-proposals.ts +115 -0
  2262. package/server/services/workshop/experience/overlay.ts +7 -1
  2263. package/server/services/workshop/experience/promote.ts +7 -1
  2264. package/server/services/workshop/experience/reflection-effects.ts +155 -0
  2265. package/server/services/workshop/experience/release.ts +163 -0
  2266. package/server/services/workshop/experience/resolve.ts +142 -0
  2267. package/server/services/workshop/experience/trusted-context.ts +90 -0
  2268. package/server/services/workshop/experience/types.ts +168 -0
  2269. package/server/services/workshop/experience/versions.ts +188 -0
  2270. package/server/services/workshop/mcp-client/broker.ts +324 -0
  2271. package/server/services/workshop/mcp-client/client.ts +81 -0
  2272. package/server/services/workshop/mcp-client/config.ts +172 -0
  2273. package/server/services/workshop/mcp-client/egress.ts +182 -0
  2274. package/server/services/workshop/mcp-client/types.ts +96 -0
  2275. package/server/services/workshop/plugins/host/config.mjs +137 -135
  2276. package/server/services/workshop/projects/plan-progress.ts +140 -0
  2277. package/server/services/workshop/projects/service.ts +38 -0
  2278. package/server/services/workshop/rsi-adapter/experience.ts +3 -1
  2279. package/server/services/workshop/runtime/manager/admin-agents.ts +6 -1
  2280. package/server/services/workshop/runtime/manager/admin-channel.ts +2 -1
  2281. package/server/services/workshop/runtime/manager/channel-templates.ts +7 -6
  2282. package/server/services/workshop/runtime/manager/dependency-health.ts +68 -0
  2283. package/server/services/workshop/runtime/manager/helpers.ts +10 -0
  2284. package/server/services/workshop/runtime/manager/host-tools.ts +37 -0
  2285. package/server/services/workshop/runtime/manager/runtime-wiring.ts +22 -0
  2286. package/server/services/workshop/runtime/memory/state.ts +7 -1
  2287. package/server/services/workshop/skills/discovery.ts +327 -0
  2288. package/server/services/workshop/skills/frontmatter.ts +182 -0
  2289. package/server/services/workshop/skills/service.ts +71 -0
  2290. package/server/services/workshop/skills/store.ts +321 -0
  2291. package/server/services/workshop/skills/types.ts +93 -0
  2292. package/skills/aw-doc-to-project/SKILL.md +127 -0
  2293. package/skills/aw-line-onboarding/SKILL.md +212 -0
  2294. package/skills/aw-live-acceptance-round/SKILL.md +127 -0
  2295. package/skills/aw-node-bind/SKILL.md +111 -0
  2296. package/skills/aw-opt-channel/SKILL.md +117 -0
  2297. package/skills/aw-plc-sim-twin/SKILL.md +100 -0
  2298. package/skills/aw-plugin-dev/SKILL.md +161 -0
  2299. package/skills/aw-plugin-dev/references/daq-dcw-driver-contract.md +204 -0
  2300. package/skills/aw-plugin-dev/references/plugin-ctx-api.md +119 -0
  2301. package/skills/aw-plugin-dev/references/testing-and-acceptance.md +118 -0
  2302. package/skills/aw-protocol-onboarding/SKILL.md +177 -0
  2303. package/skills/aw-protocol-onboarding/references/plugin-fallback.md +124 -0
  2304. package/skills/aw-protocol-onboarding/references/production-safety.md +113 -0
  2305. package/skills/aw-protocol-onboarding/references/protocol-matrix.md +96 -0
  2306. package/skills/aw-system-acceptance/SKILL.md +137 -0
  2307. package/.output/public/_nuxt/B1StpOjn.js +0 -1
  2308. package/.output/public/_nuxt/BP9qUQA0.js +0 -1
  2309. package/.output/public/_nuxt/BPR97IgC2.js +0 -1
  2310. package/.output/public/_nuxt/BU-JxVjF.js +0 -1
  2311. package/.output/public/_nuxt/BiyBp4Lm.js +0 -1
  2312. package/.output/public/_nuxt/BmNTwsXr2.js +0 -1
  2313. package/.output/public/_nuxt/BnywPBgP.js +0 -1
  2314. package/.output/public/_nuxt/Bp3uXBpB.js +0 -1
  2315. package/.output/public/_nuxt/C-fZgAiU2.js +0 -1
  2316. package/.output/public/_nuxt/C3--I-an2.js +0 -1
  2317. package/.output/public/_nuxt/CFeYpumq2.js +0 -1
  2318. package/.output/public/_nuxt/CHdIms1f2.js +0 -1
  2319. package/.output/public/_nuxt/CJRdL5HV2.js +0 -1
  2320. package/.output/public/_nuxt/CS5UaQwl2.js +0 -1
  2321. package/.output/public/_nuxt/Cf_UsJwz.js +0 -1
  2322. package/.output/public/_nuxt/Co1Oqm4U.js +0 -1
  2323. package/.output/public/_nuxt/DFo96EtE.js +0 -1
  2324. package/.output/public/_nuxt/DJKjjGnC2.js +0 -1
  2325. package/.output/public/_nuxt/DUZYrBpC.js +0 -1
  2326. package/.output/public/_nuxt/DaHTeSTv.js +0 -1
  2327. package/.output/public/_nuxt/DaXOlXbH.js +0 -1
  2328. package/.output/public/_nuxt/Dasqfjig2.js +0 -1
  2329. package/.output/public/_nuxt/Dit6a9Bs.js +0 -1
  2330. package/.output/public/_nuxt/DkqV7BGi.js +0 -2
  2331. package/.output/public/_nuxt/Doq41eJy.js +0 -2
  2332. package/.output/public/_nuxt/Dpb7OXz6.js +0 -1
  2333. package/.output/public/_nuxt/DrqMMFbN.js +0 -1
  2334. package/.output/public/_nuxt/DuVKg1HC.js +0 -1
  2335. package/.output/public/_nuxt/DvsXN5k72.js +0 -1
  2336. package/.output/public/_nuxt/HSlNLQvi2.js +0 -2
  2337. package/.output/public/_nuxt/SmOmMhHD.js +0 -1
  2338. package/.output/public/_nuxt/builds/meta/2f96705b-cf57-4bde-87a4-1b818b268f0f.json +0 -1
  2339. package/.output/public/_nuxt/m90772tE.js +0 -1
  2340. package/.output/public/_nuxt/psToi-Y5.js +0 -1
  2341. package/.output/public/_nuxt/settings.NpUsT4m-.css +0 -1
  2342. package/.output/server/chunks/build/settings-CLIR9BQz.mjs +0 -1042
  2343. package/.output/server/chunks/build/settings-CLIR9BQz.mjs.map +0 -1
  2344. /package/.output/public/_nuxt/{BxHBIVAg2.js → BxHBIVAg.js} +0 -0
  2345. /package/.output/public/_nuxt/{CuOIxZ_Y.js → CuOIxZ_Y2.js} +0 -0
@@ -0,0 +1,1875 @@
1
+ import { $ as ProtocolErrorCode, A as assertCompleteRequestPrompt, B as isJSONRPCResultResponse, C as withInputRequired, Ct as checkResourceAllowed, E as mcpNameSource, Et as IdJagTokenExchangeResponseSchema, F as isInputRequiredResult, Ft as SdkHttpError, H as parseJSONRPCMessage, I as isJSONRPCErrorResponse, It as OAuthError, J as MissingRequiredClientCapabilityError, L as isJSONRPCNotification, Lt as OAuthErrorCode, M as isCallToolResult, N as isInitializeRequest, Nt as SdkError, O as encodeMcpParamValue, Ot as OAuthErrorResponseSchema, P as isInitializedNotification, Pt as SdkErrorCode, Q as UrlElicitationRequiredError, R as isJSONRPCRequest, Rt as brandedHasInstance, St as TRACESTATE_META_KEY, Tt as withoutIssuer, V as isTaskAugmentedRequestParams, W as JSONRPCMessageSchema, X as ResourceNotFoundError, Y as ProtocolError, Z as UnsupportedProtocolVersionError, _ as DEFAULT_REQUEST_TIMEOUT_MSEC, _t as RELATED_TASK_META_KEY, a as createFetchWithInit, at as CLIENT_CAPABILITIES_META_KEY, b as isSpecType, bt as SUPPORTED_PROTOCOL_VERSIONS, c as unfollowedRedirect, ct as INTERNAL_ERROR, d as deserializeMessage, dt as JSONRPC_VERSION, f as serializeMessage, ft as LATEST_PROTOCOL_VERSION, gt as PROTOCOL_VERSION_META_KEY, h as mediaTypeEssence, ht as PARSE_ERROR, i as UriTemplate, it as BAGGAGE_META_KEY, j as assertCompleteRequestResourceTemplate, jt as OAuthTokensSchema, l as ReadBuffer, lt as INVALID_PARAMS, m as isJsonContentType, mt as METHOD_NOT_FOUND, n as preloadSchemas, o as fetchLeavingRedirects, ot as CLIENT_INFO_META_KEY, p as getDisplayName, pt as LOG_LEVEL_META_KEY, r as InMemoryTransport, s as fetchWithinOrigin, st as DEFAULT_NEGOTIATED_PROTOCOL_VERSION, t as fromJsonSchema$1, tt as isModernProtocolVersion, u as STDIO_DEFAULT_MAX_BUFFER_SIZE, ut as INVALID_REQUEST, v as Protocol, vt as SERVER_INFO_META_KEY, wt as resourceUrlFromServerUrl, x as specTypeSchemas, xt as TRACEPARENT_META_KEY, y as mergeCapabilities, yt as SUBSCRIPTION_ID_META_KEY, z as isJSONRPCResponse, zt as stampErrorBrands } from "./src-CeKsbNLO.mjs";
2
+ import { A as resolveClientMetadata, B as OAuthClientFlowError, C as isOAuthClientProvider, D as refreshAuthorization, E as prepareAuthorizationCodeRequest, F as validateClientMetadataUrl, I as AuthorizationServerMismatchError, L as InsecureTokenEndpointError, M as selectResourceURL, N as startAuthorization, O as registerClient, P as validateAuthorizationResponseIssuer, R as InsufficientScopeError, S as isHttpsUrl, T as parseErrorResponse, V as RegistrationRejectedError, _ as discoverOAuthServerInfo, a as InMemoryResponseCacheStore, b as extractWWWAuthenticateParams, c as adaptOAuthProvider, d as auth, f as buildDiscoveryUrls, g as discoverOAuthProtectedResourceMetadata, h as discoverOAuthMetadata, i as markAuthSeamEscape, j as selectClientAuthMethod, k as resolveAuthorizationCallbackParams, l as applyClientAuthentication, m as discoverAuthorizationServerMetadata, o as MAX_CACHE_TTL_MS, p as computeScopeUnion, r as getSupportedElicitationModes, s as UnauthorizedError, t as Client, u as assertSecureTokenEndpoint, v as exchangeAuthorization, w as isStrictScopeSuperset, x as fetchToken, y as extractResourceMetadataUrl, z as IssuerMismatchError } from "./public-CvV4ZHkX.mjs";
3
+ import { DefaultJsonSchemaValidator } from "@modelcontextprotocol/client/_shims";
4
+ import { EventSource } from "eventsource";
5
+ import { EventSourceParserStream } from "eventsource-parser/stream";
6
+
7
+ //#region src/client/authExtensions.ts
8
+ /**
9
+ * Helper to produce a `private_key_jwt` client authentication function.
10
+ *
11
+ * @example
12
+ * ```ts source="./authExtensions.examples.ts#createPrivateKeyJwtAuth_basicUsage"
13
+ * const addClientAuth = createPrivateKeyJwtAuth({
14
+ * issuer: 'my-client',
15
+ * subject: 'my-client',
16
+ * privateKey: pemEncodedPrivateKey,
17
+ * alg: 'RS256'
18
+ * });
19
+ * // pass addClientAuth as provider.addClientAuthentication implementation
20
+ * ```
21
+ */
22
+ function createPrivateKeyJwtAuth(options) {
23
+ return async (_headers, params, url, metadata) => {
24
+ if (globalThis.crypto === void 0) throw new TypeError("crypto is not available, please ensure you have Web Crypto API support for older Node.js versions (see https://github.com/modelcontextprotocol/typescript-sdk#nodejs-web-crypto-globalthiscrypto-compatibility)");
25
+ const jose = await import("jose");
26
+ const audience = String(options.audience ?? metadata?.issuer ?? url);
27
+ const lifetimeSeconds = options.lifetimeSeconds ?? 300;
28
+ const now = Math.floor(Date.now() / 1e3);
29
+ const jti = `${Date.now()}-${Math.random().toString(36).slice(2)}`;
30
+ const baseClaims = {
31
+ iss: options.issuer,
32
+ sub: options.subject,
33
+ aud: audience,
34
+ exp: now + lifetimeSeconds,
35
+ iat: now,
36
+ jti
37
+ };
38
+ const claims = options.claims ? {
39
+ ...baseClaims,
40
+ ...options.claims
41
+ } : baseClaims;
42
+ const alg = options.alg;
43
+ let key;
44
+ if (typeof options.privateKey === "string") if (alg.startsWith("RS") || alg.startsWith("ES") || alg.startsWith("PS")) key = await jose.importPKCS8(options.privateKey, alg);
45
+ else if (alg.startsWith("HS")) key = new TextEncoder().encode(options.privateKey);
46
+ else throw new Error(`Unsupported algorithm ${alg}`);
47
+ else if (options.privateKey instanceof Uint8Array) key = alg.startsWith("HS") ? options.privateKey : await jose.importPKCS8(new TextDecoder().decode(options.privateKey), alg);
48
+ else key = await jose.importJWK(options.privateKey, alg);
49
+ const assertion = await new jose.SignJWT(claims).setProtectedHeader({
50
+ alg,
51
+ typ: "JWT"
52
+ }).setIssuer(options.issuer).setSubject(options.subject).setAudience(audience).setIssuedAt(now).setExpirationTime(now + lifetimeSeconds).setJti(jti).sign(key);
53
+ params.set("client_assertion", assertion);
54
+ params.set("client_assertion_type", "urn:ietf:params:oauth:client-assertion-type:jwt-bearer");
55
+ };
56
+ }
57
+ /**
58
+ * The `issuer` stamp for constructor-supplied client information. Omitting `expectedIssuer` is
59
+ * deprecated: nothing else says which authorization server such credentials belong to.
60
+ */
61
+ function checkedExpectedIssuer(expectedIssuer) {
62
+ if (expectedIssuer === void 0) console.warn("[mcp-sdk] Omitting `expectedIssuer` is deprecated. Without it, the MCP server decides which authorization server receives this client's credentials; pass your authorization server's issuer URL as `expectedIssuer` so they are only sent there.");
63
+ else if (typeof expectedIssuer !== "string" || !expectedIssuer) throw new Error("expectedIssuer must be the authorization server's issuer URL");
64
+ return expectedIssuer;
65
+ }
66
+ /**
67
+ * OAuth provider for `client_credentials` grant with `client_secret_basic` authentication.
68
+ *
69
+ * This provider is designed for machine-to-machine authentication where
70
+ * the client authenticates using a `client_id` and `client_secret`.
71
+ *
72
+ * @example
73
+ * ```ts source="./authExtensions.examples.ts#ClientCredentialsProvider_basicUsage"
74
+ * const provider = new ClientCredentialsProvider({
75
+ * clientId: 'my-client',
76
+ * clientSecret: 'my-secret',
77
+ * expectedIssuer: 'https://auth.example.com'
78
+ * });
79
+ *
80
+ * const transport = new StreamableHTTPClientTransport(serverUrl, {
81
+ * authProvider: provider
82
+ * });
83
+ * ```
84
+ */
85
+ var ClientCredentialsProvider = class {
86
+ _tokens;
87
+ _clientInfo;
88
+ _clientMetadata;
89
+ constructor(options) {
90
+ this._clientInfo = {
91
+ client_id: options.clientId,
92
+ client_secret: options.clientSecret,
93
+ issuer: checkedExpectedIssuer(options.expectedIssuer)
94
+ };
95
+ this._clientMetadata = {
96
+ client_name: options.clientName ?? "client-credentials-client",
97
+ redirect_uris: [],
98
+ grant_types: ["client_credentials"],
99
+ token_endpoint_auth_method: "client_secret_basic",
100
+ scope: options.scope
101
+ };
102
+ }
103
+ get redirectUrl() {}
104
+ get clientMetadata() {
105
+ return this._clientMetadata;
106
+ }
107
+ clientInformation() {
108
+ return this._clientInfo;
109
+ }
110
+ tokens() {
111
+ return this._tokens;
112
+ }
113
+ saveTokens(tokens) {
114
+ this._tokens = tokens;
115
+ }
116
+ redirectToAuthorization() {
117
+ throw new Error("redirectToAuthorization is not used for client_credentials flow");
118
+ }
119
+ saveCodeVerifier() {}
120
+ codeVerifier() {
121
+ throw new Error("codeVerifier is not used for client_credentials flow");
122
+ }
123
+ prepareTokenRequest(scope) {
124
+ const params = new URLSearchParams({ grant_type: "client_credentials" });
125
+ if (scope) params.set("scope", scope);
126
+ return params;
127
+ }
128
+ };
129
+ /**
130
+ * OAuth provider for `client_credentials` grant with `private_key_jwt` authentication.
131
+ *
132
+ * This provider is designed for machine-to-machine authentication where
133
+ * the client authenticates using a signed JWT assertion
134
+ * ({@link https://datatracker.ietf.org/doc/html/rfc7523#section-2.2 | RFC 7523 Section 2.2}).
135
+ *
136
+ * @example
137
+ * ```ts source="./authExtensions.examples.ts#PrivateKeyJwtProvider_basicUsage"
138
+ * const provider = new PrivateKeyJwtProvider({
139
+ * clientId: 'my-client',
140
+ * privateKey: pemEncodedPrivateKey,
141
+ * algorithm: 'RS256',
142
+ * expectedIssuer: 'https://auth.example.com'
143
+ * });
144
+ *
145
+ * const transport = new StreamableHTTPClientTransport(serverUrl, {
146
+ * authProvider: provider
147
+ * });
148
+ * ```
149
+ */
150
+ var PrivateKeyJwtProvider = class {
151
+ _tokens;
152
+ _clientInfo;
153
+ _clientMetadata;
154
+ addClientAuthentication;
155
+ constructor(options) {
156
+ this._clientInfo = {
157
+ client_id: options.clientId,
158
+ issuer: checkedExpectedIssuer(options.expectedIssuer)
159
+ };
160
+ this._clientMetadata = {
161
+ client_name: options.clientName ?? "private-key-jwt-client",
162
+ redirect_uris: [],
163
+ grant_types: ["client_credentials"],
164
+ token_endpoint_auth_method: "private_key_jwt",
165
+ scope: options.scope
166
+ };
167
+ this.addClientAuthentication = createPrivateKeyJwtAuth({
168
+ issuer: options.clientId,
169
+ subject: options.clientId,
170
+ privateKey: options.privateKey,
171
+ alg: options.algorithm,
172
+ lifetimeSeconds: options.jwtLifetimeSeconds,
173
+ claims: options.claims
174
+ });
175
+ }
176
+ get redirectUrl() {}
177
+ get clientMetadata() {
178
+ return this._clientMetadata;
179
+ }
180
+ clientInformation() {
181
+ return this._clientInfo;
182
+ }
183
+ tokens() {
184
+ return this._tokens;
185
+ }
186
+ saveTokens(tokens) {
187
+ this._tokens = tokens;
188
+ }
189
+ redirectToAuthorization() {
190
+ throw new Error("redirectToAuthorization is not used for client_credentials flow");
191
+ }
192
+ saveCodeVerifier() {}
193
+ codeVerifier() {
194
+ throw new Error("codeVerifier is not used for client_credentials flow");
195
+ }
196
+ prepareTokenRequest(scope) {
197
+ const params = new URLSearchParams({ grant_type: "client_credentials" });
198
+ if (scope) params.set("scope", scope);
199
+ return params;
200
+ }
201
+ };
202
+ /**
203
+ * OAuth provider for `client_credentials` grant with a static `private_key_jwt` assertion.
204
+ *
205
+ * This provider mirrors {@linkcode PrivateKeyJwtProvider} but instead of constructing and
206
+ * signing a JWT on each request, it accepts a pre-built JWT assertion string and
207
+ * uses it directly for authentication.
208
+ */
209
+ var StaticPrivateKeyJwtProvider = class {
210
+ _tokens;
211
+ _clientInfo;
212
+ _clientMetadata;
213
+ addClientAuthentication;
214
+ constructor(options) {
215
+ this._clientInfo = {
216
+ client_id: options.clientId,
217
+ issuer: checkedExpectedIssuer(options.expectedIssuer)
218
+ };
219
+ this._clientMetadata = {
220
+ client_name: options.clientName ?? "static-private-key-jwt-client",
221
+ redirect_uris: [],
222
+ grant_types: ["client_credentials"],
223
+ token_endpoint_auth_method: "private_key_jwt",
224
+ scope: options.scope
225
+ };
226
+ const assertion = options.jwtBearerAssertion;
227
+ this.addClientAuthentication = async (_headers, params) => {
228
+ params.set("client_assertion", assertion);
229
+ params.set("client_assertion_type", "urn:ietf:params:oauth:client-assertion-type:jwt-bearer");
230
+ };
231
+ }
232
+ get redirectUrl() {}
233
+ get clientMetadata() {
234
+ return this._clientMetadata;
235
+ }
236
+ clientInformation() {
237
+ return this._clientInfo;
238
+ }
239
+ tokens() {
240
+ return this._tokens;
241
+ }
242
+ saveTokens(tokens) {
243
+ this._tokens = tokens;
244
+ }
245
+ redirectToAuthorization() {
246
+ throw new Error("redirectToAuthorization is not used for client_credentials flow");
247
+ }
248
+ saveCodeVerifier() {}
249
+ codeVerifier() {
250
+ throw new Error("codeVerifier is not used for client_credentials flow");
251
+ }
252
+ prepareTokenRequest(scope) {
253
+ const params = new URLSearchParams({ grant_type: "client_credentials" });
254
+ if (scope) params.set("scope", scope);
255
+ return params;
256
+ }
257
+ };
258
+ /**
259
+ * OAuth provider for Cross-App Access (Enterprise Managed Authorization) using JWT Authorization Grant.
260
+ *
261
+ * This provider implements the Enterprise Managed Authorization flow (SEP-990) where:
262
+ * 1. User authenticates with an enterprise IdP and the client obtains an ID Token
263
+ * 2. Client exchanges the ID Token for a JWT Authorization Grant (ID-JAG) via RFC 8693 token exchange
264
+ * 3. Client uses the JAG to obtain an access token from the MCP server via RFC 7523 JWT bearer grant
265
+ *
266
+ * The provider handles steps 2-3 automatically, with the JAG acquisition delegated to
267
+ * a callback function that you provide. This allows flexibility in how you obtain and
268
+ * cache ID Tokens from the IdP.
269
+ *
270
+ * @see https://github.com/modelcontextprotocol/ext-auth/blob/main/specification/stable/enterprise-managed-authorization.mdx
271
+ *
272
+ * @example
273
+ * ```ts
274
+ * const provider = new CrossAppAccessProvider({
275
+ * assertion: async (ctx) => {
276
+ * const result = await discoverAndRequestJwtAuthGrant({
277
+ * idpUrl: 'https://idp.example.com',
278
+ * audience: ctx.authorizationServerUrl,
279
+ * resource: ctx.resourceUrl,
280
+ * idToken: await getIdToken(), // Your function to get ID token
281
+ * clientId: 'my-idp-client',
282
+ * clientSecret: 'my-idp-secret',
283
+ * scope: ctx.scope,
284
+ * fetchFn: ctx.fetchFn
285
+ * });
286
+ * return result.jwtAuthGrant;
287
+ * },
288
+ * clientId: 'my-mcp-client',
289
+ * clientSecret: 'my-mcp-secret',
290
+ * expectedIssuer: 'https://auth.example.com'
291
+ * });
292
+ *
293
+ * const transport = new StreamableHTTPClientTransport(serverUrl, {
294
+ * authProvider: provider
295
+ * });
296
+ * ```
297
+ */
298
+ var CrossAppAccessProvider = class {
299
+ _tokens;
300
+ _clientInfo;
301
+ _clientMetadata;
302
+ _assertionCallback;
303
+ _fetchFn;
304
+ _authorizationServerUrl;
305
+ _resourceUrl;
306
+ _scope;
307
+ constructor(options) {
308
+ this._clientInfo = {
309
+ client_id: options.clientId,
310
+ client_secret: options.clientSecret,
311
+ issuer: checkedExpectedIssuer(options.expectedIssuer)
312
+ };
313
+ this._clientMetadata = {
314
+ client_name: options.clientName ?? "cross-app-access-client",
315
+ redirect_uris: [],
316
+ grant_types: ["urn:ietf:params:oauth:grant-type:jwt-bearer"],
317
+ token_endpoint_auth_method: "client_secret_basic"
318
+ };
319
+ this._assertionCallback = options.assertion;
320
+ this._fetchFn = options.fetchFn ?? fetch;
321
+ }
322
+ get redirectUrl() {}
323
+ get clientMetadata() {
324
+ return this._clientMetadata;
325
+ }
326
+ clientInformation() {
327
+ return this._clientInfo;
328
+ }
329
+ tokens() {
330
+ return this._tokens;
331
+ }
332
+ saveTokens(tokens) {
333
+ this._tokens = tokens;
334
+ }
335
+ redirectToAuthorization() {
336
+ throw new Error("redirectToAuthorization is not used for jwt-bearer flow");
337
+ }
338
+ saveCodeVerifier() {}
339
+ codeVerifier() {
340
+ throw new Error("codeVerifier is not used for jwt-bearer flow");
341
+ }
342
+ /**
343
+ * Saves the authorization server URL discovered during OAuth flow.
344
+ * This is called by the auth() function after RFC 9728 discovery.
345
+ */
346
+ saveAuthorizationServerUrl(authorizationServerUrl) {
347
+ this._authorizationServerUrl = authorizationServerUrl;
348
+ }
349
+ /**
350
+ * Returns the cached authorization server URL if available.
351
+ */
352
+ authorizationServerUrl() {
353
+ return this._authorizationServerUrl;
354
+ }
355
+ /**
356
+ * Saves the resource URL discovered during OAuth flow.
357
+ * This is called by the auth() function after RFC 9728 discovery.
358
+ */
359
+ saveResourceUrl(resourceUrl) {
360
+ this._resourceUrl = resourceUrl;
361
+ }
362
+ /**
363
+ * Returns the cached resource URL if available.
364
+ */
365
+ resourceUrl() {
366
+ return this._resourceUrl;
367
+ }
368
+ async prepareTokenRequest(scope) {
369
+ const authServerUrl = this._authorizationServerUrl;
370
+ const resourceUrl = this._resourceUrl;
371
+ if (!authServerUrl) throw new Error("Authorization server URL not available. Ensure auth() has been called first.");
372
+ if (!resourceUrl) throw new Error("Resource URL not available — server may not implement RFC 9728 Protected Resource Metadata (required for Cross-App Access), or auth() has not been called");
373
+ this._scope = scope;
374
+ const jwtAuthGrant = await this._assertionCallback({
375
+ authorizationServerUrl: authServerUrl,
376
+ resourceUrl,
377
+ scope: this._scope,
378
+ fetchFn: this._fetchFn
379
+ });
380
+ const params = new URLSearchParams({
381
+ grant_type: "urn:ietf:params:oauth:grant-type:jwt-bearer",
382
+ assertion: jwtAuthGrant
383
+ });
384
+ if (scope) params.set("scope", scope);
385
+ return params;
386
+ }
387
+ };
388
+
389
+ //#endregion
390
+ //#region src/client/crossAppAccess.ts
391
+ /**
392
+ * Requests a JWT Authorization Grant (ID-JAG) from an enterprise IdP using RFC 8693 Token Exchange.
393
+ *
394
+ * This function performs step 2 of the Enterprise Managed Authorization flow:
395
+ * exchanges an ID Token for a JWT Authorization Grant that can be used with the target MCP server.
396
+ *
397
+ * @param options - Configuration for the token exchange request
398
+ * @returns The JWT Authorization Grant and related metadata
399
+ * @throws {Error} If the token exchange fails or returns an error response
400
+ *
401
+ * @example
402
+ * ```ts
403
+ * const result = await requestJwtAuthorizationGrant({
404
+ * tokenEndpoint: 'https://idp.example.com/token',
405
+ * audience: 'https://auth.chat.example/',
406
+ * resource: 'https://mcp.chat.example/',
407
+ * idToken: 'eyJhbGciOiJS...',
408
+ * clientId: 'my-idp-client',
409
+ * clientSecret: 'my-idp-secret',
410
+ * scope: 'chat.read chat.history'
411
+ * });
412
+ *
413
+ * // Use result.jwtAuthGrant with the MCP server's authorization server
414
+ * ```
415
+ */
416
+ async function requestJwtAuthorizationGrant(options) {
417
+ const { tokenEndpoint, audience, resource, idToken, clientId, clientSecret, scope, fetchFn = fetch } = options;
418
+ const tokenUrl = assertSecureTokenEndpoint(tokenEndpoint);
419
+ const params = new URLSearchParams({
420
+ grant_type: "urn:ietf:params:oauth:grant-type:token-exchange",
421
+ requested_token_type: "urn:ietf:params:oauth:token-type:id-jag",
422
+ audience: String(audience),
423
+ resource: String(resource),
424
+ subject_token: idToken,
425
+ subject_token_type: "urn:ietf:params:oauth:token-type:id_token",
426
+ client_id: clientId
427
+ });
428
+ if (clientSecret) params.set("client_secret", clientSecret);
429
+ if (scope) params.set("scope", scope);
430
+ const response = await fetchWithinOrigin(fetchFn)(tokenUrl, {
431
+ method: "POST",
432
+ headers: { "Content-Type": "application/x-www-form-urlencoded" },
433
+ body: params.toString()
434
+ });
435
+ if (!response.ok) {
436
+ const errorBody = await response.json().catch(() => ({}));
437
+ const parseResult$1 = OAuthErrorResponseSchema.safeParse(errorBody);
438
+ if (parseResult$1.success) {
439
+ const { error, error_description } = parseResult$1.data;
440
+ throw new Error(`Token exchange failed: ${error}${error_description ? ` - ${error_description}` : ""}`);
441
+ }
442
+ throw new Error(`Token exchange failed with status ${response.status}: ${JSON.stringify(errorBody)}`);
443
+ }
444
+ const parseResult = IdJagTokenExchangeResponseSchema.safeParse(await response.json());
445
+ if (!parseResult.success) throw new Error(`Invalid token exchange response: ${parseResult.error.message}`);
446
+ return {
447
+ jwtAuthGrant: parseResult.data.access_token,
448
+ expiresIn: parseResult.data.expires_in,
449
+ scope: parseResult.data.scope
450
+ };
451
+ }
452
+ /**
453
+ * Discovers the IdP's token endpoint and requests a JWT Authorization Grant.
454
+ *
455
+ * This is a convenience wrapper around {@linkcode requestJwtAuthorizationGrant} that
456
+ * first performs OAuth metadata discovery to find the token endpoint.
457
+ *
458
+ * @param options - Configuration including IdP URL for discovery
459
+ * @returns The JWT Authorization Grant and related metadata
460
+ * @throws {Error} If discovery fails or the token exchange fails
461
+ *
462
+ * @example
463
+ * ```ts
464
+ * const result = await discoverAndRequestJwtAuthGrant({
465
+ * idpUrl: 'https://idp.example.com',
466
+ * audience: 'https://auth.chat.example/',
467
+ * resource: 'https://mcp.chat.example/',
468
+ * idToken: await getIdToken(),
469
+ * clientId: 'my-idp-client',
470
+ * clientSecret: 'my-idp-secret'
471
+ * });
472
+ * ```
473
+ */
474
+ async function discoverAndRequestJwtAuthGrant(options) {
475
+ const { idpUrl, fetchFn = fetch, ...restOptions } = options;
476
+ const metadata = await discoverAuthorizationServerMetadata(String(idpUrl), { fetchFn });
477
+ if (!metadata?.token_endpoint) throw new Error(`Failed to discover token endpoint for IdP: ${idpUrl}`);
478
+ return requestJwtAuthorizationGrant({
479
+ ...restOptions,
480
+ tokenEndpoint: metadata.token_endpoint,
481
+ fetchFn
482
+ });
483
+ }
484
+ /**
485
+ * Exchanges a JWT Authorization Grant for an access token at the MCP server's authorization server.
486
+ *
487
+ * This function performs step 3 of the Enterprise Managed Authorization flow:
488
+ * uses the JWT Authorization Grant to obtain an access token from the MCP server.
489
+ *
490
+ * @param options - Configuration for the JWT grant exchange
491
+ * @returns OAuth tokens (access token, token type, etc.)
492
+ * @throws {Error} If the exchange fails or returns an error response
493
+ *
494
+ * Defaults to `client_secret_basic` (HTTP Basic Authorization header), matching
495
+ * `CrossAppAccessProvider`'s declared `token_endpoint_auth_method` and the
496
+ * SEP-990 conformance test requirements. Use `authMethod: 'client_secret_post'` only
497
+ * when the authorization server explicitly requires it.
498
+ *
499
+ * @example
500
+ * ```ts
501
+ * const tokens = await exchangeJwtAuthGrant({
502
+ * tokenEndpoint: 'https://auth.chat.example/token',
503
+ * jwtAuthGrant: 'eyJhbGci...',
504
+ * clientId: 'my-mcp-client',
505
+ * clientSecret: 'my-mcp-secret'
506
+ * });
507
+ *
508
+ * // Use tokens.access_token to access the MCP server
509
+ * ```
510
+ */
511
+ async function exchangeJwtAuthGrant(options) {
512
+ const { tokenEndpoint, jwtAuthGrant, clientId, clientSecret, authMethod = "client_secret_basic", fetchFn = fetch } = options;
513
+ const tokenUrl = assertSecureTokenEndpoint(tokenEndpoint);
514
+ const params = new URLSearchParams({
515
+ grant_type: "urn:ietf:params:oauth:grant-type:jwt-bearer",
516
+ assertion: jwtAuthGrant
517
+ });
518
+ const headers = new Headers({ "Content-Type": "application/x-www-form-urlencoded" });
519
+ applyClientAuthentication(authMethod, {
520
+ client_id: clientId,
521
+ client_secret: clientSecret
522
+ }, headers, params);
523
+ const response = await fetchWithinOrigin(fetchFn)(tokenUrl, {
524
+ method: "POST",
525
+ headers,
526
+ body: params.toString()
527
+ });
528
+ if (!response.ok) {
529
+ const errorBody = await response.json().catch(() => ({}));
530
+ const parseResult$1 = OAuthErrorResponseSchema.safeParse(errorBody);
531
+ if (parseResult$1.success) {
532
+ const { error, error_description } = parseResult$1.data;
533
+ throw new Error(`JWT grant exchange failed: ${error}${error_description ? ` - ${error_description}` : ""}`);
534
+ }
535
+ throw new Error(`JWT grant exchange failed with status ${response.status}: ${JSON.stringify(errorBody)}`);
536
+ }
537
+ const responseBody = await response.json();
538
+ const parseResult = OAuthTokensSchema.safeParse(withoutIssuer(responseBody));
539
+ if (!parseResult.success) throw new Error(`Invalid token response: ${parseResult.error.message}`);
540
+ return parseResult.data;
541
+ }
542
+
543
+ //#endregion
544
+ //#region src/client/dpop.ts
545
+ /** Asymmetric JWS algorithms usable for a DPoP proof (RFC 9449 §11.6 forbids symmetric algs and `none`). */
546
+ const DPOP_SUPPORTED_ALGS = [
547
+ "ES256",
548
+ "ES384",
549
+ "ES512",
550
+ "RS256",
551
+ "RS384",
552
+ "RS512",
553
+ "PS256",
554
+ "PS384",
555
+ "PS512",
556
+ "EdDSA"
557
+ ];
558
+ const DEFAULT_DPOP_ALG = "ES256";
559
+ const DPOP_TYP = "dpop+jwt";
560
+ async function importJose() {
561
+ if (globalThis.crypto === void 0) throw new TypeError("crypto is not available, please ensure you have Web Crypto API support for older Node.js versions (see https://github.com/modelcontextprotocol/typescript-sdk#nodejs-web-crypto-globalthiscrypto-compatibility)");
562
+ return import("jose");
563
+ }
564
+ /** Generate an asymmetric DPoP signing key pair. Non-extractable by default (RFC 9449 §11). */
565
+ async function generateDpopKeyPair(options = {}) {
566
+ const alg = options.alg ?? DEFAULT_DPOP_ALG;
567
+ const jose = await importJose();
568
+ const { publicKey, privateKey } = await jose.generateKeyPair(alg, { extractable: options.extractable ?? false });
569
+ const publicJwk = await jose.exportJWK(publicKey);
570
+ return {
571
+ privateKey,
572
+ publicKey,
573
+ publicJwk,
574
+ thumbprint: await jose.calculateJwkThumbprint(publicJwk, "sha256"),
575
+ alg
576
+ };
577
+ }
578
+ /**
579
+ * Compute the `ath` claim for a DPoP proof presented alongside an access token: the
580
+ * base64url-encoded SHA-256 digest of the ASCII access-token value (RFC 9449 §4.1).
581
+ *
582
+ * Uses Web Crypto (`crypto.subtle`) rather than a Node-only hashing API so this stays usable
583
+ * in browser and edge runtimes.
584
+ */
585
+ async function accessTokenHash(accessToken) {
586
+ if (globalThis.crypto?.subtle === void 0) throw new TypeError("crypto.subtle is not available, please ensure you have Web Crypto API support for older Node.js versions (see https://github.com/modelcontextprotocol/typescript-sdk#nodejs-web-crypto-globalthiscrypto-compatibility)");
587
+ const digest = await globalThis.crypto.subtle.digest("SHA-256", new TextEncoder().encode(accessToken));
588
+ return base64UrlEncode(new Uint8Array(digest));
589
+ }
590
+ function base64UrlEncode(bytes) {
591
+ let binary = "";
592
+ for (const byte of bytes) binary += String.fromCodePoint(byte);
593
+ return btoa(binary).replaceAll("+", "-").replaceAll("/", "_").replaceAll("=", "");
594
+ }
595
+ /** Strip the query and fragment from a URL, per RFC 9449 §4.2 (`htu` MUST NOT contain either). */
596
+ function stripQueryAndFragment(url) {
597
+ const u = new URL(url.toString());
598
+ return `${u.origin}${u.pathname}`;
599
+ }
600
+ /** A fresh, cryptographically random `jti` (RFC 9449 §4.2 — MUST be unique per proof). */
601
+ function randomJti() {
602
+ const bytes = new Uint8Array(16);
603
+ globalThis.crypto.getRandomValues(bytes);
604
+ return base64UrlEncode(bytes);
605
+ }
606
+ /**
607
+ * A DPoP signing identity plus the small amount of state RFC 9449 requires across requests:
608
+ * the key pair and, per origin, the most recently server-supplied nonce (RFC 9449 §8/§9).
609
+ *
610
+ * One `DpopSession` is meant to live for the lifetime of a single OAuth client registration —
611
+ * the token endpoint and the resource server are different origins and get independent nonce
612
+ * slots, so a nonce challenge from one never leaks into proofs sent to the other.
613
+ */
614
+ var DpopSession = class DpopSession {
615
+ nonces = /* @__PURE__ */ new Map();
616
+ constructor(keyPair) {
617
+ this.keyPair = keyPair;
618
+ }
619
+ /** Create a session with a fresh key pair, or reuse a caller-supplied one. */
620
+ static async create(options = {}) {
621
+ return new DpopSession(options.keyPair ?? await generateDpopKeyPair({ alg: options.alg }));
622
+ }
623
+ /** RFC 7638 JWK SHA-256 thumbprint of the signing key — matches the token's `cnf.jkt` once bound. */
624
+ get thumbprint() {
625
+ return this.keyPair.thumbprint;
626
+ }
627
+ /** The JWS algorithm this session signs proofs with. */
628
+ get alg() {
629
+ return this.keyPair.alg;
630
+ }
631
+ /** The public JWK embedded in every proof's `jwk` header parameter. */
632
+ get publicJwk() {
633
+ return this.keyPair.publicJwk;
634
+ }
635
+ /** The remembered nonce for `url`'s origin, if the server has issued one (RFC 9449 §8/§9). */
636
+ nonceFor(url) {
637
+ return this.nonces.get(new URL(url.toString()).origin);
638
+ }
639
+ /** Record a server-supplied nonce for `url`'s origin (newest-wins, RFC 9449 §8.2). */
640
+ rememberNonce(url, nonce) {
641
+ this.nonces.set(new URL(url.toString()).origin, nonce);
642
+ }
643
+ /**
644
+ * Capture a `DPoP-Nonce` response header, if present, for `url`'s origin. RFC 9449 §8.2 says a
645
+ * fresh nonce may ride on *any* response (success or failure), so call this unconditionally
646
+ * after every request, not only on a `use_dpop_nonce` challenge.
647
+ */
648
+ observeNonce(response, url) {
649
+ const nonce = response.headers.get("dpop-nonce");
650
+ if (nonce) this.rememberNonce(url, nonce);
651
+ }
652
+ /**
653
+ * Build a fresh DPoP proof JWT. Always mints a new `jti` — proofs are never cached or reused,
654
+ * since RFC 9449 §4.3 step 9 requires each to be presented at most once.
655
+ */
656
+ async buildProof(request) {
657
+ const jose = await importJose();
658
+ const htu = stripQueryAndFragment(request.htu);
659
+ const nonce = request.nonce ?? this.nonceFor(request.htu);
660
+ const payload = {
661
+ jti: randomJti(),
662
+ htm: request.htm.toUpperCase(),
663
+ htu,
664
+ iat: Math.floor(Date.now() / 1e3)
665
+ };
666
+ if (request.accessToken !== void 0) payload.ath = await accessTokenHash(request.accessToken);
667
+ if (nonce !== void 0) payload.nonce = nonce;
668
+ return new jose.SignJWT(payload).setProtectedHeader({
669
+ alg: this.keyPair.alg,
670
+ typ: DPOP_TYP,
671
+ jwk: this.keyPair.publicJwk
672
+ }).sign(this.keyPair.privateKey);
673
+ }
674
+ };
675
+ /**
676
+ * Whether `wwwAuthenticate` advertises a `DPoP` auth-scheme challenge (matched at the start of the
677
+ * header or after a comma, per RFC 9110 §11.6.1 — a server may list several schemes together, e.g.
678
+ * `Bearer …, DPoP …`).
679
+ */
680
+ function hasDpopChallenge(wwwAuthenticate) {
681
+ return /(?:^|,)\s*dpop(?:\s|$|,)/i.test(wwwAuthenticate);
682
+ }
683
+ /**
684
+ * Whether `response` is a resource-server `use_dpop_nonce` challenge (RFC 9449 §9): a `401` whose
685
+ * `WWW-Authenticate` header carries a `DPoP` challenge with `error="use_dpop_nonce"`.
686
+ *
687
+ * A conformant retry re-signs the proof with the nonce {@linkcode DpopSession.observeNonce} just
688
+ * captured — never resend the original proof: RFC 9449 §4.2 requires a unique `jti` per proof, and
689
+ * replaying one across the challenge/retry boundary is itself a violation.
690
+ */
691
+ function isDpopNonceChallenge(response) {
692
+ if (response.status !== 401) return false;
693
+ const wwwAuthenticate = response.headers.get("www-authenticate") ?? "";
694
+ return hasDpopChallenge(wwwAuthenticate) && /use_dpop_nonce/i.test(wwwAuthenticate);
695
+ }
696
+
697
+ //#endregion
698
+ //#region src/client/middleware.ts
699
+ /**
700
+ * Creates a fetch wrapper that handles OAuth authentication automatically.
701
+ *
702
+ * This wrapper will:
703
+ * - Add `Authorization` headers with access tokens
704
+ * - Handle 401 responses by attempting re-authentication
705
+ * - Retry the original request after successful auth
706
+ * - Handle OAuth errors appropriately ({@linkcode index.OAuthErrorCode.InvalidClient | OAuthErrorCode.InvalidClient}, etc.)
707
+ * - When {@linkcode OAuthClientProvider.dpop | provider.dpop()} is implemented, present DPoP-bound
708
+ * tokens with the `DPoP` scheme plus a per-request proof (RFC 9449 / SEP-1932) by composing
709
+ * {@linkcode withDpopFromProvider} underneath — so a `use_dpop_nonce` challenge is retried
710
+ * inline on every attempt, independently of the single re-authentication retry here
711
+ *
712
+ * The `baseUrl` parameter is optional and defaults to using the domain from the request URL.
713
+ * However, you should explicitly provide `baseUrl` when:
714
+ * - Making requests to multiple subdomains (e.g., api.example.com, cdn.example.com)
715
+ * - Using API paths that differ from OAuth discovery paths (e.g., requesting /api/v1/data but OAuth is at /)
716
+ * - The OAuth server is on a different domain than your API requests
717
+ * - You want to ensure consistent OAuth behavior regardless of request URLs
718
+ *
719
+ * For MCP transports, set `baseUrl` to the same URL you pass to the transport constructor.
720
+ *
721
+ * Note: This wrapper is designed for general-purpose fetch operations.
722
+ * MCP transports (SSE and StreamableHTTP) already have built-in OAuth handling
723
+ * and should not need this wrapper.
724
+ *
725
+ * @param provider - OAuth client provider for authentication
726
+ * @param baseUrl - Base URL for OAuth server discovery (defaults to request URL domain)
727
+ * @returns A fetch middleware function
728
+ */
729
+ const withOAuth = (provider, baseUrl) => (baseNext) => {
730
+ const next = provider.dpop ? withDpopFromProvider(provider)(baseNext) : baseNext;
731
+ return async (input, init) => {
732
+ const makeRequest = async () => {
733
+ const headers = new Headers(init?.headers);
734
+ const tokens = await provider.tokens();
735
+ if (tokens) headers.set("Authorization", `Bearer ${tokens.access_token}`);
736
+ return await next(input, {
737
+ ...init,
738
+ headers
739
+ });
740
+ };
741
+ let response = await makeRequest();
742
+ if (response.status === 401) try {
743
+ const { resourceMetadataUrl, scope } = extractWWWAuthenticateParams(response);
744
+ const result = await auth(provider, {
745
+ serverUrl: baseUrl || (typeof input === "string" ? new URL(input).origin : input.origin),
746
+ resourceMetadataUrl,
747
+ scope,
748
+ fetchFn: baseNext
749
+ });
750
+ if (result === "REDIRECT") throw new UnauthorizedError("Authentication requires user authorization - redirect initiated");
751
+ if (result !== "AUTHORIZED") throw new UnauthorizedError(`Authentication failed with result: ${result}`);
752
+ response = await makeRequest();
753
+ } catch (error) {
754
+ if (error instanceof UnauthorizedError) throw error;
755
+ throw new UnauthorizedError(`Failed to re-authenticate: ${error instanceof Error ? error.message : String(error)}`);
756
+ }
757
+ if (response.status === 401) throw new UnauthorizedError(`Authentication failed for ${typeof input === "string" ? input : input.toString()}`);
758
+ return response;
759
+ };
760
+ };
761
+ /**
762
+ * Creates a fetch wrapper that presents an access token using the `DPoP` Authorization scheme
763
+ * (RFC 9449 / SEP-1932) instead of `Bearer`: every request carries `Authorization: DPoP <token>`
764
+ * plus a fresh `DPoP` proof bound to that request's method and URL, a resource-server
765
+ * `use_dpop_nonce` challenge (RFC 9449 §9) is retried once, inline, with the server-supplied nonce,
766
+ * and a `DPoP-Nonce` delivered on any response is remembered for the next proof (RFC 9449 §8.2).
767
+ *
768
+ * Because it wraps `fetch` itself, the proof is always bound to the request actually sent and every
769
+ * response is observed — which is why the MCP transports apply this wrapper internally (via
770
+ * {@linkcode withDpopFromProvider}) when their `authProvider` implements
771
+ * {@linkcode OAuthClientProvider.dpop | dpop()}, rather than threading request context through
772
+ * {@linkcode AuthProvider}.
773
+ *
774
+ * Use this directly when you already manage the access token yourself (a non-OAuth token source,
775
+ * or credentials obtained out-of-band) and only need DPoP's request-signing behavior — e.g.
776
+ * `fetch: withDpop(session, getToken)(fetch)` alongside a minimal `authProvider: { token }`.
777
+ *
778
+ * @param session - The DPoP signing session (key pair + nonce state), or a function resolving to
779
+ * it. Reuse the same session across requests to the same server so its nonce state persists.
780
+ * When the function resolves to `undefined` the request passes through unchanged.
781
+ * @param getToken - Returns the current access token, or `undefined` if none is available (the
782
+ * request passes through unchanged — any `Authorization` header already on it is left as is).
783
+ * @returns A fetch middleware function
784
+ */
785
+ const withDpop = (session, getToken) => (next) => {
786
+ const resolveSession = typeof session === "function" ? session : () => session;
787
+ return async (input, init) => {
788
+ const method = (init?.method ?? "GET").toUpperCase();
789
+ const url = new URL(input.toString());
790
+ const activeSession = await resolveSession();
791
+ if (!activeSession) return next(input, init);
792
+ const makeRequest = async () => {
793
+ const accessToken = await getToken();
794
+ if (!accessToken) return next(input, init);
795
+ const headers = new Headers(init?.headers);
796
+ const proof = await activeSession.buildProof({
797
+ htm: method,
798
+ htu: url,
799
+ accessToken
800
+ });
801
+ headers.set("Authorization", `DPoP ${accessToken}`);
802
+ headers.set("DPoP", proof);
803
+ return next(input, {
804
+ ...init,
805
+ headers
806
+ });
807
+ };
808
+ let response = await makeRequest();
809
+ if (isDpopNonceChallenge(response) && response.headers.has("dpop-nonce")) {
810
+ activeSession.observeNonce(response, url);
811
+ await response.text?.().catch(() => {});
812
+ response = await makeRequest();
813
+ }
814
+ activeSession.observeNonce(response, url);
815
+ return response;
816
+ };
817
+ };
818
+ /**
819
+ * {@linkcode withDpop} driven by an {@linkcode OAuthClientProvider}: the session comes from
820
+ * {@linkcode OAuthClientProvider.dpop | provider.dpop()} and the token from
821
+ * {@linkcode OAuthClientProvider.tokens | provider.tokens()} — presented with the DPoP scheme only
822
+ * when the AS actually issued `token_type: "DPoP"` (RFC 9449 §7.1); a Bearer token passes through
823
+ * untouched.
824
+ *
825
+ * This is what the MCP transports and {@linkcode withOAuth} compose internally when the provider
826
+ * implements `dpop()`. Use it directly only when building your own fetch pipeline around an
827
+ * `OAuthClientProvider` (e.g. a custom re-authorization middleware) — place it *innermost*, below
828
+ * whatever sets `Authorization: Bearer` and handles 401 re-authentication.
829
+ */
830
+ const withDpopFromProvider = (provider) => withDpop(async () => {
831
+ try {
832
+ return await provider.dpop?.();
833
+ } catch (error) {
834
+ throw markAuthSeamEscape(error);
835
+ }
836
+ }, async () => {
837
+ let tokens;
838
+ try {
839
+ tokens = await provider.tokens();
840
+ } catch (error) {
841
+ throw markAuthSeamEscape(error);
842
+ }
843
+ return tokens?.token_type?.toLowerCase() === "dpop" ? tokens.access_token : void 0;
844
+ });
845
+ /**
846
+ * Creates a fetch middleware that logs HTTP requests and responses.
847
+ *
848
+ * When called without arguments `withLogging()`, it uses the default logger that:
849
+ * - Logs successful requests (2xx) to `console.log`
850
+ * - Logs error responses (4xx/5xx) and network errors to `console.error`
851
+ * - Logs all requests regardless of status (`statusLevel: 0`)
852
+ * - Does not include request or response headers in logs
853
+ * - Measures and displays request duration in milliseconds
854
+ *
855
+ * Important: the default logger uses both `console.log` and `console.error` so it should not be used with
856
+ * `stdio` transports and applications.
857
+ *
858
+ * @param options - Logging configuration options
859
+ * @returns A fetch middleware function
860
+ */
861
+ const withLogging = (options = {}) => {
862
+ const { logger, includeRequestHeaders = false, includeResponseHeaders = false, statusLevel = 0 } = options;
863
+ const defaultLogger = (input) => {
864
+ const { method, url, status, statusText, duration, requestHeaders, responseHeaders, error } = input;
865
+ let message = error ? `HTTP ${method} ${url} failed: ${error.message} (${duration}ms)` : `HTTP ${method} ${url} ${status} ${statusText} (${duration}ms)`;
866
+ if (includeRequestHeaders && requestHeaders) {
867
+ const reqHeaders = [...requestHeaders.entries()].map(([key, value]) => `${key}: ${value}`).join(", ");
868
+ message += `\n Request Headers: {${reqHeaders}}`;
869
+ }
870
+ if (includeResponseHeaders && responseHeaders) {
871
+ const resHeaders = [...responseHeaders.entries()].map(([key, value]) => `${key}: ${value}`).join(", ");
872
+ message += `\n Response Headers: {${resHeaders}}`;
873
+ }
874
+ if (error || status >= 400) console.error(message);
875
+ else console.log(message);
876
+ };
877
+ const logFn = logger || defaultLogger;
878
+ return (next) => async (input, init) => {
879
+ const startTime = performance.now();
880
+ const method = init?.method || "GET";
881
+ const url = typeof input === "string" ? input : input.toString();
882
+ const requestHeaders = includeRequestHeaders ? new Headers(init?.headers) : void 0;
883
+ try {
884
+ const response = await next(input, init);
885
+ const duration = performance.now() - startTime;
886
+ if (response.status >= statusLevel) logFn({
887
+ method,
888
+ url,
889
+ status: response.status,
890
+ statusText: response.statusText,
891
+ duration,
892
+ requestHeaders,
893
+ responseHeaders: includeResponseHeaders ? response.headers : void 0
894
+ });
895
+ return response;
896
+ } catch (error) {
897
+ logFn({
898
+ method,
899
+ url,
900
+ status: 0,
901
+ statusText: "Network Error",
902
+ duration: performance.now() - startTime,
903
+ requestHeaders,
904
+ error
905
+ });
906
+ throw error;
907
+ }
908
+ };
909
+ };
910
+ /**
911
+ * Composes multiple fetch middleware functions into a single middleware pipeline.
912
+ * Middleware are applied in the order they appear, creating a chain of handlers.
913
+ *
914
+ * @example
915
+ * ```ts source="./middleware.examples.ts#applyMiddlewares_basicUsage"
916
+ * // Create a middleware pipeline that handles both OAuth and logging
917
+ * const enhancedFetch = applyMiddlewares(withOAuth(oauthProvider, 'https://api.example.com'), withLogging({ statusLevel: 400 }))(fetch);
918
+ *
919
+ * // Use the enhanced fetch - it will handle auth and log errors
920
+ * const response = await enhancedFetch('https://api.example.com/data');
921
+ * ```
922
+ *
923
+ * @param middleware - Array of fetch middleware to compose into a pipeline
924
+ * @returns A single composed middleware function
925
+ */
926
+ const applyMiddlewares = (...middleware) => {
927
+ return (next) => {
928
+ let handler = next;
929
+ for (const mw of middleware) handler = mw(handler);
930
+ return handler;
931
+ };
932
+ };
933
+ /**
934
+ * Helper function to create custom fetch middleware with cleaner syntax.
935
+ * Provides the next handler and request details as separate parameters for easier access.
936
+ *
937
+ * @example
938
+ * ```ts source="./middleware.examples.ts#createMiddleware_examples"
939
+ * // Create custom authentication middleware
940
+ * const customAuthMiddleware = createMiddleware(async (next, input, init) => {
941
+ * const headers = new Headers(init?.headers);
942
+ * headers.set('X-Custom-Auth', 'my-token');
943
+ *
944
+ * const response = await next(input, { ...init, headers });
945
+ *
946
+ * if (response.status === 401) {
947
+ * console.log('Authentication failed');
948
+ * }
949
+ *
950
+ * return response;
951
+ * });
952
+ *
953
+ * // Create conditional middleware
954
+ * const conditionalMiddleware = createMiddleware(async (next, input, init) => {
955
+ * const url = typeof input === 'string' ? input : input.toString();
956
+ *
957
+ * // Only add headers for API routes
958
+ * if (url.includes('/api/')) {
959
+ * const headers = new Headers(init?.headers);
960
+ * headers.set('X-API-Version', 'v2');
961
+ * return next(input, { ...init, headers });
962
+ * }
963
+ *
964
+ * // Pass through for non-API routes
965
+ * return next(input, init);
966
+ * });
967
+ *
968
+ * // Create caching middleware
969
+ * const cacheMiddleware = createMiddleware(async (next, input, init) => {
970
+ * const cacheKey = typeof input === 'string' ? input : input.toString();
971
+ *
972
+ * // Check cache first
973
+ * const cached = await getFromCache(cacheKey);
974
+ * if (cached) {
975
+ * return new Response(cached, { status: 200 });
976
+ * }
977
+ *
978
+ * // Make request and cache result
979
+ * const response = await next(input, init);
980
+ * if (response.ok) {
981
+ * await saveToCache(cacheKey, await response.clone().text());
982
+ * }
983
+ *
984
+ * return response;
985
+ * });
986
+ * ```
987
+ *
988
+ * @param handler - Function that receives the next handler and request parameters
989
+ * @returns A fetch middleware function
990
+ */
991
+ const createMiddleware = (handler) => {
992
+ return (next) => (input, init) => handler(next, input, init);
993
+ };
994
+
995
+ //#endregion
996
+ //#region src/client/sse.ts
997
+ var SseError = class extends Error {
998
+ static {
999
+ Object.defineProperty(this, "mcpBrand", { value: "mcp.SseError" });
1000
+ }
1001
+ static [Symbol.hasInstance](value) {
1002
+ return brandedHasInstance(this, value);
1003
+ }
1004
+ /**
1005
+ * Brand-based type guard: equivalent to `value instanceof this`, as an
1006
+ * explicit static predicate (the axios/AWS-SDK `isInstance` style). Reads
1007
+ * the caller's own brand via `this`, so every branded subclass gets a
1008
+ * correctly-scoped guard by inheritance. Must be invoked on the class —
1009
+ * in callback position write `v => SdkError.isInstance(v)`, not
1010
+ * `.filter(SdkError.isInstance)` (detached calls throw rather than
1011
+ * silently matching nothing).
1012
+ */
1013
+ static isInstance(value) {
1014
+ if (typeof this !== "function") throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");
1015
+ return brandedHasInstance(this, value);
1016
+ }
1017
+ constructor(code, message, event) {
1018
+ super(`SSE error: ${message}`);
1019
+ this.code = code;
1020
+ this.event = event;
1021
+ stampErrorBrands(this, new.target);
1022
+ }
1023
+ };
1024
+ /**
1025
+ * Client transport for SSE: this will connect to a server using Server-Sent Events for receiving
1026
+ * messages and make separate `POST` requests for sending messages.
1027
+ * @deprecated SSEClientTransport is deprecated. Prefer to use {@linkcode index.StreamableHTTPClientTransport | StreamableHTTPClientTransport} where possible instead. Note that because some servers are still using SSE, clients may need to support both transports during the migration period.
1028
+ */
1029
+ var SSEClientTransport = class {
1030
+ _eventSource;
1031
+ _endpoint;
1032
+ _abortController;
1033
+ _url;
1034
+ _resourceMetadataUrl;
1035
+ _scope;
1036
+ _eventSourceInit;
1037
+ _requestInit;
1038
+ _authProvider;
1039
+ _oauthProvider;
1040
+ _skipIssuerMetadataValidation;
1041
+ _fetch;
1042
+ _fetchWithInit;
1043
+ _redirectPolicy;
1044
+ _dpop;
1045
+ _protocolVersion;
1046
+ onclose;
1047
+ onerror;
1048
+ onmessage;
1049
+ constructor(url, opts) {
1050
+ this._url = url;
1051
+ this._resourceMetadataUrl = void 0;
1052
+ this._scope = void 0;
1053
+ this._eventSourceInit = opts?.eventSourceInit;
1054
+ this._requestInit = opts?.requestInit;
1055
+ this._skipIssuerMetadataValidation = opts?.skipIssuerMetadataValidation;
1056
+ this._fetch = opts?.fetch;
1057
+ if (isOAuthClientProvider(opts?.authProvider)) {
1058
+ this._oauthProvider = opts.authProvider;
1059
+ this._authProvider = adaptOAuthProvider(opts.authProvider, { skipIssuerMetadataValidation: opts.skipIssuerMetadataValidation });
1060
+ if (opts.authProvider.dpop) {
1061
+ this._dpop = withDpopFromProvider(opts.authProvider);
1062
+ this._fetch = this._dpop(opts.fetch ?? fetch);
1063
+ }
1064
+ } else this._authProvider = opts?.authProvider;
1065
+ this._redirectPolicy = opts?.redirectPolicy;
1066
+ this._fetchWithInit = createFetchWithInit(opts?.fetch, opts?.requestInit);
1067
+ if (this._redirectPolicy === "follow") this._fetchWithInit = fetchLeavingRedirects(this._fetchWithInit);
1068
+ }
1069
+ _last401Response;
1070
+ _connectAuthRetried = false;
1071
+ /** `baseFetch` with redirects handled as `redirectPolicy` says. */
1072
+ _redirects(baseFetch) {
1073
+ return this._redirectPolicy === "follow" ? baseFetch : fetchWithinOrigin(baseFetch);
1074
+ }
1075
+ /** Error text for a redirect `response` that was not followed, or `undefined` for any other response. */
1076
+ _unfollowedRedirect(url, response) {
1077
+ const text = this._redirectPolicy === "follow" ? void 0 : unfollowedRedirect(url, response);
1078
+ return text && `${text} (redirectPolicy: 'same-origin')`;
1079
+ }
1080
+ async _commonHeaders() {
1081
+ const headers = new Headers(this._requestInit?.headers || void 0);
1082
+ let token;
1083
+ try {
1084
+ token = await this._authProvider?.token();
1085
+ } catch (error) {
1086
+ throw markAuthSeamEscape(error);
1087
+ }
1088
+ if (token) headers.set("Authorization", `Bearer ${token}`);
1089
+ if (this._protocolVersion) headers.set("mcp-protocol-version", this._protocolVersion);
1090
+ return headers;
1091
+ }
1092
+ _startOrAuth() {
1093
+ const eventSourceFetch = this._eventSourceInit?.fetch;
1094
+ const fetchImpl = this._redirects(eventSourceFetch ? this._dpop?.(eventSourceFetch) ?? eventSourceFetch : this._fetch ?? fetch);
1095
+ let redirect;
1096
+ return new Promise((resolve, reject) => {
1097
+ this._eventSource = new EventSource(this._url.href, {
1098
+ ...this._eventSourceInit,
1099
+ fetch: async (url, init) => {
1100
+ const headers = await this._commonHeaders();
1101
+ headers.set("Accept", "text/event-stream");
1102
+ const response = await fetchImpl(url, {
1103
+ ...init,
1104
+ headers
1105
+ });
1106
+ redirect = this._unfollowedRedirect(url, response);
1107
+ if (response.status === 401) {
1108
+ this._last401Response = response;
1109
+ if (response.headers.has("www-authenticate")) {
1110
+ const { resourceMetadataUrl, scope } = extractWWWAuthenticateParams(response);
1111
+ this._resourceMetadataUrl = resourceMetadataUrl;
1112
+ this._scope = scope;
1113
+ }
1114
+ }
1115
+ return response;
1116
+ }
1117
+ });
1118
+ this._abortController = new AbortController();
1119
+ this._eventSource.onerror = (event) => {
1120
+ if (event.code === 401 && this._authProvider) {
1121
+ if (this._authProvider.onUnauthorized && this._last401Response && !this._connectAuthRetried) {
1122
+ const response = this._last401Response;
1123
+ this._last401Response = void 0;
1124
+ this._connectAuthRetried = true;
1125
+ this._eventSource?.close();
1126
+ this._authProvider.onUnauthorized({
1127
+ response,
1128
+ serverUrl: this._url,
1129
+ fetchFn: this._fetchWithInit
1130
+ }).then(() => this._startOrAuth().then(resolve, reject), (error$2) => {
1131
+ this._connectAuthRetried = false;
1132
+ markAuthSeamEscape(error$2);
1133
+ this.onerror?.(error$2);
1134
+ reject(error$2);
1135
+ });
1136
+ return;
1137
+ }
1138
+ const retried = this._connectAuthRetried;
1139
+ this._connectAuthRetried = false;
1140
+ const error$1 = markAuthSeamEscape(retried ? new SdkHttpError(SdkErrorCode.ClientHttpAuthentication, "Server returned 401 after re-authentication", {
1141
+ status: 401,
1142
+ statusText: this._last401Response?.statusText ?? ""
1143
+ }) : new UnauthorizedError());
1144
+ this._last401Response = void 0;
1145
+ reject(error$1);
1146
+ this.onerror?.(error$1);
1147
+ return;
1148
+ }
1149
+ this._connectAuthRetried = false;
1150
+ const error = new SseError(event.code, redirect ?? event.message, event);
1151
+ reject(error);
1152
+ this.onerror?.(error);
1153
+ };
1154
+ this._eventSource.onopen = () => {
1155
+ this._connectAuthRetried = false;
1156
+ };
1157
+ this._eventSource.addEventListener("endpoint", (event) => {
1158
+ const messageEvent = event;
1159
+ try {
1160
+ this._endpoint = new URL(messageEvent.data, this._url);
1161
+ if (this._endpoint.origin !== this._url.origin) throw new Error(`Endpoint origin does not match connection origin: ${this._endpoint.origin}`);
1162
+ } catch (error) {
1163
+ reject(error);
1164
+ this.onerror?.(error);
1165
+ this.close();
1166
+ return;
1167
+ }
1168
+ resolve();
1169
+ });
1170
+ this._eventSource.onmessage = (event) => {
1171
+ const messageEvent = event;
1172
+ let message;
1173
+ try {
1174
+ message = JSONRPCMessageSchema.parse(JSON.parse(messageEvent.data));
1175
+ } catch (error) {
1176
+ this.onerror?.(error);
1177
+ return;
1178
+ }
1179
+ this.onmessage?.(message);
1180
+ };
1181
+ });
1182
+ }
1183
+ async start() {
1184
+ if (this._eventSource) throw new Error("SSEClientTransport already started! If using Client class, note that connect() calls start() automatically.");
1185
+ return await this._startOrAuth();
1186
+ }
1187
+ async finishAuth(codeOrParams, iss) {
1188
+ if (!this._oauthProvider) throw new UnauthorizedError("finishAuth requires an OAuthClientProvider");
1189
+ const { authorizationCode, iss: issParam } = await resolveAuthorizationCallbackParams(codeOrParams, iss, this._oauthProvider, this._url, {
1190
+ fetchFn: this._fetchWithInit,
1191
+ resourceMetadataUrl: this._resourceMetadataUrl
1192
+ });
1193
+ if (await auth(this._oauthProvider, {
1194
+ serverUrl: this._url,
1195
+ authorizationCode,
1196
+ iss: issParam,
1197
+ resourceMetadataUrl: this._resourceMetadataUrl,
1198
+ scope: this._scope,
1199
+ fetchFn: this._fetchWithInit,
1200
+ skipIssuerMetadataValidation: this._skipIssuerMetadataValidation
1201
+ }) !== "AUTHORIZED") throw new UnauthorizedError("Failed to authorize");
1202
+ }
1203
+ async close() {
1204
+ this._abortController?.abort();
1205
+ this._eventSource?.close();
1206
+ this.onclose?.();
1207
+ }
1208
+ async send(message) {
1209
+ return this._send(message, false);
1210
+ }
1211
+ async _send(message, isAuthRetry) {
1212
+ if (!this._endpoint) throw new SdkError(SdkErrorCode.NotConnected, "Not connected");
1213
+ try {
1214
+ const headers = await this._commonHeaders();
1215
+ headers.set("content-type", "application/json");
1216
+ const init = {
1217
+ ...this._requestInit,
1218
+ method: "POST",
1219
+ headers,
1220
+ body: JSON.stringify(message),
1221
+ signal: this._abortController?.signal
1222
+ };
1223
+ const response = await this._redirects(this._fetch ?? fetch)(this._endpoint, init);
1224
+ if (!response.ok) {
1225
+ if (response.status === 401 && this._authProvider) {
1226
+ if (response.headers.has("www-authenticate")) {
1227
+ const { resourceMetadataUrl, scope } = extractWWWAuthenticateParams(response);
1228
+ this._resourceMetadataUrl = resourceMetadataUrl;
1229
+ this._scope = scope;
1230
+ }
1231
+ if (this._authProvider.onUnauthorized && !isAuthRetry) {
1232
+ try {
1233
+ await this._authProvider.onUnauthorized({
1234
+ response,
1235
+ serverUrl: this._url,
1236
+ fetchFn: this._fetchWithInit
1237
+ });
1238
+ } catch (error) {
1239
+ throw markAuthSeamEscape(error);
1240
+ }
1241
+ await response.text?.().catch(() => {});
1242
+ return this._send(message, true);
1243
+ }
1244
+ await response.text?.().catch(() => {});
1245
+ if (isAuthRetry) throw markAuthSeamEscape(new SdkHttpError(SdkErrorCode.ClientHttpAuthentication, "Server returned 401 after re-authentication", {
1246
+ status: 401,
1247
+ statusText: response.statusText
1248
+ }));
1249
+ throw markAuthSeamEscape(new UnauthorizedError());
1250
+ }
1251
+ const text = await response.text?.().catch(() => null);
1252
+ throw new Error(`Error POSTing to endpoint (HTTP ${response.status}): ${this._unfollowedRedirect(this._endpoint, response) ?? text}`);
1253
+ }
1254
+ await response.text?.().catch(() => {});
1255
+ } catch (error) {
1256
+ this.onerror?.(error);
1257
+ throw error;
1258
+ }
1259
+ }
1260
+ setProtocolVersion(version) {
1261
+ this._protocolVersion = version;
1262
+ }
1263
+ };
1264
+
1265
+ //#endregion
1266
+ //#region src/client/streamableHttp.ts
1267
+ /** Default cap on step-up re-authorization retries within a single send/stream-open. */
1268
+ const DEFAULT_MAX_STEP_UP_RETRIES = 1;
1269
+ const DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS = {
1270
+ initialReconnectionDelay: 1e3,
1271
+ maxReconnectionDelay: 3e4,
1272
+ reconnectionDelayGrowFactor: 1.5,
1273
+ maxRetries: 2
1274
+ };
1275
+ /**
1276
+ * Standard/auth header names the transport owns. The per-request
1277
+ * `TransportSendOptions.headers` carrier MUST NOT be able to override these —
1278
+ * they are derived from connection state (`authorization`, `mcp-session-id`)
1279
+ * or from the message body itself (`mcp-protocol-version`, `mcp-method`,
1280
+ * `mcp-name`), and a per-request override would let a caller produce a
1281
+ * header/body disagreement the server's SEP-2243 cross-checks reject.
1282
+ */
1283
+ const RESERVED_REQUEST_HEADER_NAMES = new Set([
1284
+ "authorization",
1285
+ "dpop",
1286
+ "content-type",
1287
+ "mcp-protocol-version",
1288
+ "mcp-method",
1289
+ "mcp-name",
1290
+ "mcp-session-id"
1291
+ ]);
1292
+ /**
1293
+ * `AbortSignal.any` with a manual fallback. `AbortSignal.any` landed in
1294
+ * Node 20.3; this package's `engines` floor is `>=20`, so 20.0–20.2 must be
1295
+ * served by the fallback combinator (a controller that aborts on the first
1296
+ * of `a` or `b`). The native path is preferred because it propagates the
1297
+ * originating signal's `reason` and participates in GC the way the spec
1298
+ * defines.
1299
+ */
1300
+ function anySignal(a, b) {
1301
+ if (typeof AbortSignal.any === "function") return AbortSignal.any([a, b]);
1302
+ const controller = new AbortController();
1303
+ if (a.aborted) return controller.abort(a.reason), controller.signal;
1304
+ if (b.aborted) return controller.abort(b.reason), controller.signal;
1305
+ const cleanup = () => {
1306
+ a.removeEventListener("abort", onA);
1307
+ b.removeEventListener("abort", onB);
1308
+ };
1309
+ function onA() {
1310
+ cleanup();
1311
+ controller.abort(a.reason);
1312
+ }
1313
+ function onB() {
1314
+ cleanup();
1315
+ controller.abort(b.reason);
1316
+ }
1317
+ a.addEventListener("abort", onA, { once: true });
1318
+ b.addEventListener("abort", onB, { once: true });
1319
+ return controller.signal;
1320
+ }
1321
+ /**
1322
+ * Client transport for Streamable HTTP: this implements the MCP Streamable HTTP transport specification.
1323
+ * It will connect to a server using HTTP `POST` for sending messages and HTTP `GET` with Server-Sent Events
1324
+ * for receiving messages.
1325
+ */
1326
+ var StreamableHTTPClientTransport = class {
1327
+ _abortController;
1328
+ _url;
1329
+ _resourceMetadataUrl;
1330
+ _scope;
1331
+ _requestInit;
1332
+ _authProvider;
1333
+ _oauthProvider;
1334
+ _skipIssuerMetadataValidation;
1335
+ _fetch;
1336
+ _fetchWithInit;
1337
+ _redirectPolicy;
1338
+ _sessionId;
1339
+ _reconnectionOptions;
1340
+ _protocolVersion;
1341
+ _onInsufficientScope;
1342
+ _maxStepUpRetries;
1343
+ _serverRetryMs;
1344
+ _reconnectionScheduler;
1345
+ _cancelReconnection;
1346
+ onclose;
1347
+ onerror;
1348
+ onmessage;
1349
+ /**
1350
+ * Streamable HTTP opens one POST (and SSE response stream) per outbound
1351
+ * request and honors `TransportSendOptions.requestSignal`. On a 2026-era
1352
+ * connection the protocol layer aborts that per-request stream as the
1353
+ * spec cancellation signal instead of POSTing `notifications/cancelled`.
1354
+ */
1355
+ hasPerRequestStream = true;
1356
+ constructor(url, opts) {
1357
+ this._url = url;
1358
+ this._resourceMetadataUrl = void 0;
1359
+ this._scope = void 0;
1360
+ this._requestInit = opts?.requestInit;
1361
+ this._skipIssuerMetadataValidation = opts?.skipIssuerMetadataValidation;
1362
+ this._fetch = opts?.fetch;
1363
+ if (isOAuthClientProvider(opts?.authProvider)) {
1364
+ this._oauthProvider = opts.authProvider;
1365
+ this._authProvider = adaptOAuthProvider(opts.authProvider, { skipIssuerMetadataValidation: opts.skipIssuerMetadataValidation });
1366
+ if (opts.authProvider.dpop) this._fetch = withDpopFromProvider(opts.authProvider)(opts.fetch ?? fetch);
1367
+ } else this._authProvider = opts?.authProvider;
1368
+ this._redirectPolicy = opts?.redirectPolicy;
1369
+ this._fetchWithInit = createFetchWithInit(opts?.fetch, opts?.requestInit);
1370
+ if (this._redirectPolicy === "follow") this._fetchWithInit = fetchLeavingRedirects(this._fetchWithInit);
1371
+ this._sessionId = opts?.sessionId;
1372
+ this._protocolVersion = opts?.protocolVersion;
1373
+ this._reconnectionOptions = opts?.reconnectionOptions ?? DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS;
1374
+ this._reconnectionScheduler = opts?.reconnectionScheduler;
1375
+ this._onInsufficientScope = opts?.onInsufficientScope ?? "reauthorize";
1376
+ this._maxStepUpRetries = Math.max(0, opts?.maxStepUpRetries ?? DEFAULT_MAX_STEP_UP_RETRIES);
1377
+ }
1378
+ /**
1379
+ * SEP-2350 step-up: compute the union scope, decide whether refresh must be
1380
+ * bypassed, and run {@linkcode auth}. Returns the auth result so the caller
1381
+ * can decide whether to retry. Shared by the POST `_send` path and the GET
1382
+ * `_startOrAuthSse` path so both apply the same `'throw'` short-circuit,
1383
+ * the same superset-gated refresh bypass, and the same retry cap.
1384
+ */
1385
+ async _stepUpAuthorize(challenge, stepUpRetries) {
1386
+ try {
1387
+ return await this._stepUpAuthorizeInner(challenge, stepUpRetries);
1388
+ } catch (error) {
1389
+ throw markAuthSeamEscape(error);
1390
+ }
1391
+ }
1392
+ async _stepUpAuthorizeInner(challenge, stepUpRetries) {
1393
+ if (this._onInsufficientScope === "throw") throw new InsufficientScopeError({
1394
+ requiredScope: challenge.scope,
1395
+ resourceMetadataUrl: challenge.resourceMetadataUrl,
1396
+ errorDescription: challenge.errorDescription
1397
+ });
1398
+ if (!this._oauthProvider) throw new InsufficientScopeError({
1399
+ requiredScope: challenge.scope,
1400
+ resourceMetadataUrl: challenge.resourceMetadataUrl,
1401
+ errorDescription: challenge.errorDescription
1402
+ });
1403
+ if (stepUpRetries >= this._maxStepUpRetries) throw new SdkHttpError(SdkErrorCode.ClientHttpForbidden, `Server returned 403 insufficient_scope after step-up re-authorization (retry limit ${this._maxStepUpRetries} reached)`, {
1404
+ status: 403,
1405
+ statusText: challenge.statusText ?? "Forbidden",
1406
+ text: challenge.text
1407
+ });
1408
+ if (challenge.resourceMetadataUrl) this._resourceMetadataUrl = challenge.resourceMetadataUrl;
1409
+ const tokens = await this._oauthProvider.tokens();
1410
+ const unionScope = computeScopeUnion(this._scope, tokens?.scope, challenge.scope);
1411
+ this._scope = unionScope;
1412
+ const forceReauthorization = isStrictScopeSuperset(unionScope, tokens?.scope);
1413
+ return auth(this._oauthProvider, {
1414
+ serverUrl: this._url,
1415
+ resourceMetadataUrl: this._resourceMetadataUrl,
1416
+ scope: unionScope,
1417
+ forceReauthorization,
1418
+ fetchFn: this._fetchWithInit,
1419
+ skipIssuerMetadataValidation: this._skipIssuerMetadataValidation
1420
+ });
1421
+ }
1422
+ /** `baseFetch` with redirects handled as `redirectPolicy` says. */
1423
+ _redirects(baseFetch) {
1424
+ return this._redirectPolicy === "follow" ? baseFetch : fetchWithinOrigin(baseFetch);
1425
+ }
1426
+ /** Error text for a redirect `response` that was not followed, or `undefined` for any other response. */
1427
+ _unfollowedRedirect(url, response) {
1428
+ const text = this._redirectPolicy === "follow" ? void 0 : unfollowedRedirect(url, response);
1429
+ return text && `${text} (redirectPolicy: 'same-origin')`;
1430
+ }
1431
+ async _commonHeaders() {
1432
+ const headers = new Headers(this._requestInit?.headers || void 0);
1433
+ let token;
1434
+ try {
1435
+ token = await this._authProvider?.token();
1436
+ } catch (error) {
1437
+ throw markAuthSeamEscape(error);
1438
+ }
1439
+ if (token) headers.set("Authorization", `Bearer ${token}`);
1440
+ if (this._sessionId) headers.set("mcp-session-id", this._sessionId);
1441
+ if (this._protocolVersion) headers.set("mcp-protocol-version", this._protocolVersion);
1442
+ return headers;
1443
+ }
1444
+ /**
1445
+ * Body-derived per-request headers: when an outgoing request carries a
1446
+ * protocol-version claim in its `_meta` envelope (the version negotiation
1447
+ * probe is the first such sender), `MCP-Protocol-Version` and `Mcp-Method`
1448
+ * derive from the message itself. The connection-level version slot is
1449
+ * neither consulted nor mutated; messages without an envelope claim are
1450
+ * untouched, so no 2026 header can appear on a legacy exchange.
1451
+ */
1452
+ _applyBodyDerivedHeaders(headers, message) {
1453
+ if (Array.isArray(message) || !isJSONRPCRequest(message)) return;
1454
+ const envelopeVersion = (message.params?._meta)?.[PROTOCOL_VERSION_META_KEY];
1455
+ if (typeof envelopeVersion !== "string") return;
1456
+ headers.set("mcp-protocol-version", envelopeVersion);
1457
+ headers.set("mcp-method", message.method);
1458
+ const source = mcpNameSource(message.method, message.params);
1459
+ if (source?.value !== void 0) headers.set("mcp-name", encodeMcpParamValue(source.value));
1460
+ }
1461
+ /**
1462
+ * `true` when the outbound message is a single request carrying a
1463
+ * modern-era protocol-version envelope claim — the same predicate that
1464
+ * gates body-derived `mcp-method`/`mcp-name` emission. Used to confine the
1465
+ * 400-body-as-ProtocolError delivery to modern-era exchanges only.
1466
+ */
1467
+ _isModernEnvelopedRequest(message) {
1468
+ if (Array.isArray(message) || !isJSONRPCRequest(message)) return false;
1469
+ const v = (message.params?._meta)?.[PROTOCOL_VERSION_META_KEY];
1470
+ return typeof v === "string" && isModernProtocolVersion(v);
1471
+ }
1472
+ async _startOrAuthSse(options, isAuthRetry = false, stepUpRetries = 0) {
1473
+ const { resumptionToken, requestSignal } = options;
1474
+ const isIntentionalAbort = () => this._abortController?.signal.aborted === true || requestSignal?.aborted === true;
1475
+ try {
1476
+ const headers = await this._commonHeaders();
1477
+ const types = [...headers.get("accept")?.split(",").map((s) => s.trim().toLowerCase()) ?? [], "text/event-stream"];
1478
+ headers.set("accept", [...new Set(types)].join(", "));
1479
+ if (resumptionToken) headers.set("last-event-id", resumptionToken);
1480
+ const transportSignal = this._abortController?.signal;
1481
+ const signal = requestSignal !== void 0 && transportSignal !== void 0 ? anySignal(transportSignal, requestSignal) : requestSignal ?? transportSignal;
1482
+ const response = await this._redirects(this._fetch ?? fetch)(this._url, {
1483
+ ...this._requestInit,
1484
+ method: "GET",
1485
+ headers,
1486
+ signal
1487
+ });
1488
+ if (!response.ok) {
1489
+ if (response.status === 401 && this._authProvider) {
1490
+ if (response.headers.has("www-authenticate")) {
1491
+ const { resourceMetadataUrl, scope } = extractWWWAuthenticateParams(response);
1492
+ this._resourceMetadataUrl = resourceMetadataUrl;
1493
+ this._scope = computeScopeUnion(this._scope, scope);
1494
+ }
1495
+ if (this._authProvider.onUnauthorized && !isAuthRetry) {
1496
+ try {
1497
+ await this._authProvider.onUnauthorized({
1498
+ response,
1499
+ serverUrl: this._url,
1500
+ fetchFn: this._fetchWithInit
1501
+ });
1502
+ } catch (error) {
1503
+ throw markAuthSeamEscape(error);
1504
+ }
1505
+ await response.text?.().catch(() => {});
1506
+ return this._startOrAuthSse(options, true, stepUpRetries);
1507
+ }
1508
+ await response.text?.().catch(() => {});
1509
+ if (isAuthRetry) throw markAuthSeamEscape(new SdkHttpError(SdkErrorCode.ClientHttpAuthentication, "Server returned 401 after re-authentication", {
1510
+ status: 401,
1511
+ statusText: response.statusText
1512
+ }));
1513
+ throw markAuthSeamEscape(new UnauthorizedError());
1514
+ }
1515
+ if (response.status === 403) {
1516
+ const { resourceMetadataUrl, scope, error, errorDescription } = extractWWWAuthenticateParams(response);
1517
+ if (error === "insufficient_scope") {
1518
+ const text = await response.text?.().catch(() => null);
1519
+ if (await this._stepUpAuthorize({
1520
+ scope,
1521
+ resourceMetadataUrl,
1522
+ errorDescription,
1523
+ statusText: response.statusText,
1524
+ text
1525
+ }, stepUpRetries) !== "AUTHORIZED") throw markAuthSeamEscape(new UnauthorizedError());
1526
+ return this._startOrAuthSse(options, isAuthRetry, stepUpRetries + 1);
1527
+ }
1528
+ }
1529
+ await response.text?.().catch(() => {});
1530
+ if (response.status === 405) {
1531
+ options.onRequestStreamEnd?.();
1532
+ return;
1533
+ }
1534
+ const reason = this._unfollowedRedirect(this._url, response) ?? response.statusText;
1535
+ throw new SdkHttpError(SdkErrorCode.ClientHttpFailedToOpenStream, `Failed to open SSE stream: ${reason}`, {
1536
+ status: response.status,
1537
+ statusText: response.statusText
1538
+ });
1539
+ }
1540
+ this._handleSseStream(response.body, options, true);
1541
+ } catch (error) {
1542
+ if (!isIntentionalAbort()) this.onerror?.(error);
1543
+ throw error;
1544
+ }
1545
+ }
1546
+ /**
1547
+ * Calculates the next reconnection delay using a backoff algorithm
1548
+ *
1549
+ * @param attempt Current reconnection attempt count for the specific stream
1550
+ * @returns Time to wait in milliseconds before next reconnection attempt
1551
+ */
1552
+ _getNextReconnectionDelay(attempt) {
1553
+ if (this._serverRetryMs !== void 0) return this._serverRetryMs;
1554
+ const initialDelay = this._reconnectionOptions.initialReconnectionDelay;
1555
+ const growFactor = this._reconnectionOptions.reconnectionDelayGrowFactor;
1556
+ const maxDelay = this._reconnectionOptions.maxReconnectionDelay;
1557
+ return Math.min(initialDelay * Math.pow(growFactor, attempt), maxDelay);
1558
+ }
1559
+ /**
1560
+ * Schedule a reconnection attempt using server-provided retry interval or backoff
1561
+ *
1562
+ * @param lastEventId The ID of the last received event for resumability
1563
+ * @param attemptCount Current reconnection attempt count for this specific stream
1564
+ */
1565
+ _scheduleReconnection(options, attemptCount = 0) {
1566
+ const maxRetries = this._reconnectionOptions.maxRetries;
1567
+ if (attemptCount >= maxRetries) {
1568
+ this.onerror?.(/* @__PURE__ */ new Error(`Maximum reconnection attempts (${maxRetries}) exceeded.`));
1569
+ options.onRequestStreamEnd?.();
1570
+ return;
1571
+ }
1572
+ const delay = this._getNextReconnectionDelay(attemptCount);
1573
+ const reconnect = () => {
1574
+ this._cancelReconnection = void 0;
1575
+ if (this._abortController?.signal.aborted || options.requestSignal?.aborted) return;
1576
+ this._startOrAuthSse(options).catch((error) => {
1577
+ if (this._abortController?.signal.aborted || options.requestSignal?.aborted) return;
1578
+ this.onerror?.(/* @__PURE__ */ new Error(`Failed to reconnect SSE stream: ${error instanceof Error ? error.message : String(error)}`));
1579
+ try {
1580
+ this._scheduleReconnection(options, attemptCount + 1);
1581
+ } catch (scheduleError) {
1582
+ this.onerror?.(scheduleError instanceof Error ? scheduleError : new Error(String(scheduleError)));
1583
+ }
1584
+ });
1585
+ };
1586
+ if (this._reconnectionScheduler) {
1587
+ const cancel = this._reconnectionScheduler(reconnect, delay, attemptCount);
1588
+ this._cancelReconnection = typeof cancel === "function" ? cancel : void 0;
1589
+ } else {
1590
+ const handle = setTimeout(reconnect, delay);
1591
+ this._cancelReconnection = () => clearTimeout(handle);
1592
+ }
1593
+ }
1594
+ _handleSseStream(stream, options, isReconnectable) {
1595
+ if (!stream) {
1596
+ options.onRequestStreamEnd?.();
1597
+ return;
1598
+ }
1599
+ const { onresumptiontoken, replayMessageId, requestSignal, onRequestStreamEnd } = options;
1600
+ const isIntentionalAbort = () => this._abortController?.signal.aborted === true || requestSignal?.aborted === true;
1601
+ let lastEventId;
1602
+ let hasPrimingEvent = false;
1603
+ let receivedResponse = false;
1604
+ const processStream = async () => {
1605
+ try {
1606
+ const reader = stream.pipeThrough(new TextDecoderStream()).pipeThrough(new EventSourceParserStream({ onRetry: (retryMs) => {
1607
+ this._serverRetryMs = retryMs;
1608
+ } })).getReader();
1609
+ while (true) {
1610
+ const { value: event, done } = await reader.read();
1611
+ if (done) break;
1612
+ if (event.id) {
1613
+ lastEventId = event.id;
1614
+ hasPrimingEvent = true;
1615
+ onresumptiontoken?.(event.id);
1616
+ }
1617
+ if (!event.data) continue;
1618
+ if (!event.event || event.event === "message") try {
1619
+ const message = JSONRPCMessageSchema.parse(JSON.parse(event.data));
1620
+ if (isJSONRPCResultResponse(message) || isJSONRPCErrorResponse(message)) {
1621
+ receivedResponse = true;
1622
+ if (replayMessageId !== void 0) message.id = replayMessageId;
1623
+ }
1624
+ this.onmessage?.(message);
1625
+ } catch (error) {
1626
+ this.onerror?.(error);
1627
+ }
1628
+ }
1629
+ if ((isReconnectable || hasPrimingEvent) && !receivedResponse && this._abortController && !isIntentionalAbort()) this._scheduleReconnection({
1630
+ resumptionToken: lastEventId,
1631
+ onresumptiontoken,
1632
+ replayMessageId,
1633
+ requestSignal,
1634
+ onRequestStreamEnd
1635
+ }, 0);
1636
+ else if (!isIntentionalAbort()) onRequestStreamEnd?.();
1637
+ } catch (error) {
1638
+ if (isIntentionalAbort()) return;
1639
+ this.onerror?.(/* @__PURE__ */ new Error(`SSE stream disconnected: ${error}`));
1640
+ if ((isReconnectable || hasPrimingEvent) && !receivedResponse && this._abortController && !isIntentionalAbort()) try {
1641
+ this._scheduleReconnection({
1642
+ resumptionToken: lastEventId,
1643
+ onresumptiontoken,
1644
+ replayMessageId,
1645
+ requestSignal,
1646
+ onRequestStreamEnd
1647
+ }, 0);
1648
+ } catch (error$1) {
1649
+ this.onerror?.(/* @__PURE__ */ new Error(`Failed to reconnect: ${error$1 instanceof Error ? error$1.message : String(error$1)}`));
1650
+ onRequestStreamEnd?.();
1651
+ }
1652
+ else onRequestStreamEnd?.();
1653
+ }
1654
+ };
1655
+ processStream();
1656
+ }
1657
+ async start() {
1658
+ if (this._abortController) throw new Error("StreamableHTTPClientTransport already started! If using Client class, note that connect() calls start() automatically.");
1659
+ this._abortController = new AbortController();
1660
+ }
1661
+ async finishAuth(codeOrParams, iss) {
1662
+ if (!this._oauthProvider) throw new UnauthorizedError("finishAuth requires an OAuthClientProvider");
1663
+ const { authorizationCode, iss: issParam } = await resolveAuthorizationCallbackParams(codeOrParams, iss, this._oauthProvider, this._url, {
1664
+ fetchFn: this._fetchWithInit,
1665
+ resourceMetadataUrl: this._resourceMetadataUrl
1666
+ });
1667
+ if (await auth(this._oauthProvider, {
1668
+ serverUrl: this._url,
1669
+ authorizationCode,
1670
+ iss: issParam,
1671
+ resourceMetadataUrl: this._resourceMetadataUrl,
1672
+ scope: this._scope,
1673
+ fetchFn: this._fetchWithInit,
1674
+ skipIssuerMetadataValidation: this._skipIssuerMetadataValidation
1675
+ }) !== "AUTHORIZED") throw new UnauthorizedError("Failed to authorize");
1676
+ }
1677
+ async close() {
1678
+ try {
1679
+ this._cancelReconnection?.();
1680
+ } finally {
1681
+ this._cancelReconnection = void 0;
1682
+ this._abortController?.abort();
1683
+ this.onclose?.();
1684
+ }
1685
+ }
1686
+ async send(message, options) {
1687
+ return this._send(message, options, false);
1688
+ }
1689
+ async _send(message, options, isAuthRetry, stepUpRetries = 0) {
1690
+ try {
1691
+ const { resumptionToken, onresumptiontoken } = options || {};
1692
+ if (resumptionToken) {
1693
+ this._startOrAuthSse({
1694
+ resumptionToken,
1695
+ replayMessageId: isJSONRPCRequest(message) ? message.id : void 0,
1696
+ requestSignal: options?.requestSignal
1697
+ }).catch((error) => this.onerror?.(error));
1698
+ return;
1699
+ }
1700
+ const headers = await this._commonHeaders();
1701
+ this._applyBodyDerivedHeaders(headers, message);
1702
+ const isHandshake = Array.isArray(message) ? message.some((m) => isInitializeRequest(m)) : isInitializeRequest(message);
1703
+ if (isHandshake) headers.delete("mcp-session-id");
1704
+ if (options?.headers !== void 0) for (const [name, value] of Object.entries(options.headers)) {
1705
+ if (RESERVED_REQUEST_HEADER_NAMES.has(name.toLowerCase())) continue;
1706
+ headers.set(name, value);
1707
+ }
1708
+ headers.set("content-type", "application/json");
1709
+ const types = [
1710
+ ...headers.get("accept")?.split(",").map((s) => s.trim().toLowerCase()) ?? [],
1711
+ "application/json",
1712
+ "text/event-stream"
1713
+ ];
1714
+ headers.set("accept", [...new Set(types)].join(", "));
1715
+ const transportSignal = this._abortController?.signal;
1716
+ const signal = options?.requestSignal !== void 0 && transportSignal !== void 0 ? anySignal(transportSignal, options.requestSignal) : options?.requestSignal ?? transportSignal;
1717
+ const init = {
1718
+ ...this._requestInit,
1719
+ method: "POST",
1720
+ headers,
1721
+ body: JSON.stringify(message),
1722
+ signal
1723
+ };
1724
+ const response = await this._redirects(this._fetch ?? fetch)(this._url, init);
1725
+ if (isHandshake && response.ok) this._sessionId = response.headers.get("mcp-session-id") || void 0;
1726
+ if (!response.ok) {
1727
+ if (response.status === 401 && this._authProvider) {
1728
+ if (response.headers.has("www-authenticate")) {
1729
+ const { resourceMetadataUrl, scope } = extractWWWAuthenticateParams(response);
1730
+ this._resourceMetadataUrl = resourceMetadataUrl;
1731
+ this._scope = computeScopeUnion(this._scope, scope);
1732
+ }
1733
+ if (this._authProvider.onUnauthorized && !isAuthRetry) {
1734
+ try {
1735
+ await this._authProvider.onUnauthorized({
1736
+ response,
1737
+ serverUrl: this._url,
1738
+ fetchFn: this._fetchWithInit
1739
+ });
1740
+ } catch (error) {
1741
+ throw markAuthSeamEscape(error);
1742
+ }
1743
+ await response.text?.().catch(() => {});
1744
+ return this._send(message, options, true, stepUpRetries);
1745
+ }
1746
+ await response.text?.().catch(() => {});
1747
+ if (isAuthRetry) throw markAuthSeamEscape(new SdkHttpError(SdkErrorCode.ClientHttpAuthentication, "Server returned 401 after re-authentication", {
1748
+ status: 401,
1749
+ statusText: response.statusText
1750
+ }));
1751
+ throw markAuthSeamEscape(new UnauthorizedError());
1752
+ }
1753
+ const text = await response.text?.().catch(() => null);
1754
+ if (response.status === 403) {
1755
+ const { resourceMetadataUrl, scope, error, errorDescription } = extractWWWAuthenticateParams(response);
1756
+ if (error === "insufficient_scope") {
1757
+ if (await this._stepUpAuthorize({
1758
+ scope,
1759
+ resourceMetadataUrl,
1760
+ errorDescription,
1761
+ statusText: response.statusText,
1762
+ text
1763
+ }, stepUpRetries) !== "AUTHORIZED") throw markAuthSeamEscape(new UnauthorizedError());
1764
+ return this._send(message, options, isAuthRetry, stepUpRetries + 1);
1765
+ }
1766
+ }
1767
+ if (response.status === 400 && typeof text === "string" && this._isModernEnvelopedRequest(message)) try {
1768
+ const parsed = JSONRPCMessageSchema.parse(JSON.parse(text));
1769
+ const requests = (Array.isArray(message) ? message : [message]).filter((m) => isJSONRPCRequest(m));
1770
+ if (isJSONRPCErrorResponse(parsed) && requests.some((r) => r.id === parsed.id)) {
1771
+ this.onmessage?.(parsed);
1772
+ return;
1773
+ }
1774
+ } catch {}
1775
+ const reason = this._unfollowedRedirect(this._url, response) ?? text;
1776
+ throw new SdkHttpError(SdkErrorCode.ClientHttpNotImplemented, `Error POSTing to endpoint: ${reason}`, {
1777
+ status: response.status,
1778
+ statusText: response.statusText,
1779
+ text
1780
+ });
1781
+ }
1782
+ if (response.status === 202) {
1783
+ await response.text?.().catch(() => {});
1784
+ if (isInitializedNotification(message)) this._startOrAuthSse({ resumptionToken: void 0 }).catch((error) => this.onerror?.(error));
1785
+ return;
1786
+ }
1787
+ const hasRequests = (Array.isArray(message) ? message : [message]).some((msg) => "method" in msg && "id" in msg && msg.id !== void 0);
1788
+ const contentType = response.headers.get("content-type");
1789
+ const responseMediaType = mediaTypeEssence(contentType);
1790
+ if (hasRequests) if (responseMediaType === "text/event-stream") this._handleSseStream(response.body, {
1791
+ onresumptiontoken,
1792
+ requestSignal: options?.requestSignal,
1793
+ onRequestStreamEnd: options?.onRequestStreamEnd
1794
+ }, false);
1795
+ else if (responseMediaType === "application/json") {
1796
+ const data = await response.json();
1797
+ const responseMessages = Array.isArray(data) ? data.map((msg) => JSONRPCMessageSchema.parse(msg)) : [JSONRPCMessageSchema.parse(data)];
1798
+ for (const msg of responseMessages) this.onmessage?.(msg);
1799
+ } else {
1800
+ await response.text?.().catch(() => {});
1801
+ throw new SdkError(SdkErrorCode.ClientHttpUnexpectedContent, `Unexpected content type: ${contentType}`, { contentType });
1802
+ }
1803
+ else await response.text?.().catch(() => {});
1804
+ } catch (error) {
1805
+ if (options?.requestSignal?.aborted !== true) this.onerror?.(error);
1806
+ throw error;
1807
+ }
1808
+ }
1809
+ get sessionId() {
1810
+ return this._sessionId;
1811
+ }
1812
+ /**
1813
+ * Terminates the current session by sending a `DELETE` request to the server.
1814
+ *
1815
+ * Clients that no longer need a particular session
1816
+ * (e.g., because the user is leaving the client application) SHOULD send an
1817
+ * HTTP `DELETE` to the MCP endpoint with the `Mcp-Session-Id` header to explicitly
1818
+ * terminate the session.
1819
+ *
1820
+ * The server MAY respond with HTTP `405 Method Not Allowed`, indicating that
1821
+ * the server does not allow clients to terminate sessions.
1822
+ */
1823
+ async terminateSession() {
1824
+ if (!this._sessionId) return;
1825
+ try {
1826
+ const headers = await this._commonHeaders();
1827
+ const init = {
1828
+ ...this._requestInit,
1829
+ method: "DELETE",
1830
+ headers,
1831
+ signal: this._abortController?.signal
1832
+ };
1833
+ const response = await this._redirects(this._fetch ?? fetch)(this._url, init);
1834
+ await response.text?.().catch(() => {});
1835
+ if (!response.ok && response.status !== 405) throw new SdkHttpError(SdkErrorCode.ClientHttpFailedToTerminateSession, `Failed to terminate session: ${this._unfollowedRedirect(this._url, response) ?? response.statusText}`, {
1836
+ status: response.status,
1837
+ statusText: response.statusText
1838
+ });
1839
+ this._sessionId = void 0;
1840
+ } catch (error) {
1841
+ this.onerror?.(error);
1842
+ throw error;
1843
+ }
1844
+ }
1845
+ setProtocolVersion(version) {
1846
+ this._protocolVersion = version;
1847
+ }
1848
+ get protocolVersion() {
1849
+ return this._protocolVersion;
1850
+ }
1851
+ /**
1852
+ * Resume an SSE stream from a previous event ID.
1853
+ * Opens a `GET` SSE connection with `Last-Event-ID` header to replay missed events.
1854
+ *
1855
+ * @param lastEventId The event ID to resume from
1856
+ * @param options Optional callback to receive new resumption tokens
1857
+ */
1858
+ async resumeStream(lastEventId, options) {
1859
+ await this._startOrAuthSse({
1860
+ resumptionToken: lastEventId,
1861
+ onresumptiontoken: options?.onresumptiontoken
1862
+ });
1863
+ }
1864
+ };
1865
+
1866
+ //#endregion
1867
+ //#region src/fromJsonSchema.ts
1868
+ let _defaultValidator;
1869
+ function fromJsonSchema(schema, validator) {
1870
+ return fromJsonSchema$1(schema, validator ?? (_defaultValidator ??= new DefaultJsonSchemaValidator()));
1871
+ }
1872
+
1873
+ //#endregion
1874
+ export { AuthorizationServerMismatchError, BAGGAGE_META_KEY, CLIENT_CAPABILITIES_META_KEY, CLIENT_INFO_META_KEY, Client, ClientCredentialsProvider, CrossAppAccessProvider, DEFAULT_NEGOTIATED_PROTOCOL_VERSION, DEFAULT_REQUEST_TIMEOUT_MSEC, DPOP_SUPPORTED_ALGS, DpopSession, INTERNAL_ERROR, INVALID_PARAMS, INVALID_REQUEST, InMemoryResponseCacheStore, InMemoryTransport, InsecureTokenEndpointError, InsufficientScopeError, IssuerMismatchError, JSONRPC_VERSION, LATEST_PROTOCOL_VERSION, LOG_LEVEL_META_KEY, MAX_CACHE_TTL_MS, METHOD_NOT_FOUND, MissingRequiredClientCapabilityError, OAuthClientFlowError, OAuthError, OAuthErrorCode, PARSE_ERROR, PROTOCOL_VERSION_META_KEY, PrivateKeyJwtProvider, Protocol, ProtocolError, ProtocolErrorCode, RELATED_TASK_META_KEY, ReadBuffer, RegistrationRejectedError, ResourceNotFoundError, SERVER_INFO_META_KEY, SSEClientTransport, STDIO_DEFAULT_MAX_BUFFER_SIZE, SUBSCRIPTION_ID_META_KEY, SUPPORTED_PROTOCOL_VERSIONS, SdkError, SdkErrorCode, SdkHttpError, SseError, StaticPrivateKeyJwtProvider, StreamableHTTPClientTransport, TRACEPARENT_META_KEY, TRACESTATE_META_KEY, UnauthorizedError, UnsupportedProtocolVersionError, UriTemplate, UrlElicitationRequiredError, accessTokenHash, applyMiddlewares, assertCompleteRequestPrompt, assertCompleteRequestResourceTemplate, assertSecureTokenEndpoint, auth, buildDiscoveryUrls, checkResourceAllowed, computeScopeUnion, createFetchWithInit, createMiddleware, createPrivateKeyJwtAuth, deserializeMessage, discoverAndRequestJwtAuthGrant, discoverAuthorizationServerMetadata, discoverOAuthMetadata, discoverOAuthProtectedResourceMetadata, discoverOAuthServerInfo, exchangeAuthorization, exchangeJwtAuthGrant, extractResourceMetadataUrl, extractWWWAuthenticateParams, fetchToken, fromJsonSchema, generateDpopKeyPair, getDisplayName, getSupportedElicitationModes, isCallToolResult, isDpopNonceChallenge, isHttpsUrl, isInitializeRequest, isInitializedNotification, isInputRequiredResult, isJSONRPCErrorResponse, isJSONRPCNotification, isJSONRPCRequest, isJSONRPCResponse, isJSONRPCResultResponse, isJsonContentType, isSpecType, isStrictScopeSuperset, isTaskAugmentedRequestParams, mergeCapabilities, parseErrorResponse, parseJSONRPCMessage, preloadSchemas, prepareAuthorizationCodeRequest, refreshAuthorization, registerClient, requestJwtAuthorizationGrant, resolveClientMetadata, resourceUrlFromServerUrl, selectClientAuthMethod, selectResourceURL, serializeMessage, specTypeSchemas, startAuthorization, validateAuthorizationResponseIssuer, validateClientMetadataUrl, withDpop, withDpopFromProvider, withInputRequired, withLogging, withOAuth };
1875
+ //# sourceMappingURL=index.mjs.map