@meetkai/mka1 0.51.8 → 0.51.10

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 (411) hide show
  1. package/README.md +248 -227
  2. package/bin/mcp-server.js +1438 -314
  3. package/bin/mcp-server.js.map +36 -10
  4. package/dist/commonjs/funcs/servingFinetuneJobsGetMetrics.d.ts +19 -0
  5. package/dist/commonjs/funcs/servingFinetuneJobsGetMetrics.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/servingFinetuneJobsGetMetrics.js +137 -0
  7. package/dist/commonjs/funcs/servingFinetuneJobsGetMetrics.js.map +1 -0
  8. package/dist/commonjs/funcs/servingRecipesDelete.d.ts +18 -0
  9. package/dist/commonjs/funcs/servingRecipesDelete.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/servingRecipesDelete.js +136 -0
  11. package/dist/commonjs/funcs/servingRecipesDelete.js.map +1 -0
  12. package/dist/commonjs/funcs/servingRecipesGet.d.ts +19 -0
  13. package/dist/commonjs/funcs/servingRecipesGet.d.ts.map +1 -0
  14. package/dist/commonjs/funcs/servingRecipesGet.js +136 -0
  15. package/dist/commonjs/funcs/servingRecipesGet.js.map +1 -0
  16. package/dist/commonjs/funcs/servingRecipesList.d.ts +19 -0
  17. package/dist/commonjs/funcs/servingRecipesList.d.ts.map +1 -0
  18. package/dist/commonjs/funcs/servingRecipesList.js +135 -0
  19. package/dist/commonjs/funcs/servingRecipesList.js.map +1 -0
  20. package/dist/commonjs/funcs/servingRecipesRegister.d.ts +19 -0
  21. package/dist/commonjs/funcs/servingRecipesRegister.d.ts.map +1 -0
  22. package/dist/commonjs/funcs/servingRecipesRegister.js +139 -0
  23. package/dist/commonjs/funcs/servingRecipesRegister.js.map +1 -0
  24. package/dist/commonjs/funcs/servingRecipesSetEnabled.d.ts +19 -0
  25. package/dist/commonjs/funcs/servingRecipesSetEnabled.d.ts.map +1 -0
  26. package/dist/commonjs/funcs/servingRecipesSetEnabled.js +139 -0
  27. package/dist/commonjs/funcs/servingRecipesSetEnabled.js.map +1 -0
  28. package/dist/commonjs/lib/config.d.ts +2 -2
  29. package/dist/commonjs/lib/config.js +2 -2
  30. package/dist/commonjs/lib/config.js.map +1 -1
  31. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  32. package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
  33. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  34. package/dist/commonjs/mcp-server/server.js +13 -1
  35. package/dist/commonjs/mcp-server/server.js.map +1 -1
  36. package/dist/commonjs/mcp-server/tools/servingFinetuneJobsGetMetrics.d.ts +8 -0
  37. package/dist/commonjs/mcp-server/tools/servingFinetuneJobsGetMetrics.d.ts.map +1 -0
  38. package/dist/commonjs/mcp-server/tools/servingFinetuneJobsGetMetrics.js +64 -0
  39. package/dist/commonjs/mcp-server/tools/servingFinetuneJobsGetMetrics.js.map +1 -0
  40. package/dist/commonjs/mcp-server/tools/servingRecipesDelete.d.ts +8 -0
  41. package/dist/commonjs/mcp-server/tools/servingRecipesDelete.d.ts.map +1 -0
  42. package/dist/commonjs/mcp-server/tools/servingRecipesDelete.js +63 -0
  43. package/dist/commonjs/mcp-server/tools/servingRecipesDelete.js.map +1 -0
  44. package/dist/commonjs/mcp-server/tools/servingRecipesGet.d.ts +8 -0
  45. package/dist/commonjs/mcp-server/tools/servingRecipesGet.d.ts.map +1 -0
  46. package/dist/commonjs/mcp-server/tools/servingRecipesGet.js +64 -0
  47. package/dist/commonjs/mcp-server/tools/servingRecipesGet.js.map +1 -0
  48. package/dist/commonjs/mcp-server/tools/servingRecipesList.d.ts +8 -0
  49. package/dist/commonjs/mcp-server/tools/servingRecipesList.d.ts.map +1 -0
  50. package/dist/commonjs/mcp-server/tools/servingRecipesList.js +64 -0
  51. package/dist/commonjs/mcp-server/tools/servingRecipesList.js.map +1 -0
  52. package/dist/commonjs/mcp-server/tools/servingRecipesRegister.d.ts +8 -0
  53. package/dist/commonjs/mcp-server/tools/servingRecipesRegister.d.ts.map +1 -0
  54. package/dist/commonjs/mcp-server/tools/servingRecipesRegister.js +64 -0
  55. package/dist/commonjs/mcp-server/tools/servingRecipesRegister.js.map +1 -0
  56. package/dist/commonjs/mcp-server/tools/servingRecipesSetEnabled.d.ts +8 -0
  57. package/dist/commonjs/mcp-server/tools/servingRecipesSetEnabled.d.ts.map +1 -0
  58. package/dist/commonjs/mcp-server/tools/servingRecipesSetEnabled.js +64 -0
  59. package/dist/commonjs/mcp-server/tools/servingRecipesSetEnabled.js.map +1 -0
  60. package/dist/commonjs/models/components/index.d.ts +8 -0
  61. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  62. package/dist/commonjs/models/components/index.js +8 -0
  63. package/dist/commonjs/models/components/index.js.map +1 -1
  64. package/dist/commonjs/models/components/pageservingrecipe.d.ts +22 -0
  65. package/dist/commonjs/models/components/pageservingrecipe.d.ts.map +1 -0
  66. package/dist/commonjs/models/components/pageservingrecipe.js +72 -0
  67. package/dist/commonjs/models/components/pageservingrecipe.js.map +1 -0
  68. package/dist/commonjs/models/components/servingrecipe.d.ts +38 -0
  69. package/dist/commonjs/models/components/servingrecipe.d.ts.map +1 -0
  70. package/dist/commonjs/models/components/servingrecipe.js +90 -0
  71. package/dist/commonjs/models/components/servingrecipe.js.map +1 -0
  72. package/dist/commonjs/models/components/servingrecipeaccelerator.d.ts +29 -0
  73. package/dist/commonjs/models/components/servingrecipeaccelerator.d.ts.map +1 -0
  74. package/dist/commonjs/models/components/servingrecipeaccelerator.js +77 -0
  75. package/dist/commonjs/models/components/servingrecipeaccelerator.js.map +1 -0
  76. package/dist/commonjs/models/components/servingrecipeenable.d.ts +20 -0
  77. package/dist/commonjs/models/components/servingrecipeenable.d.ts.map +1 -0
  78. package/dist/commonjs/models/components/servingrecipeenable.js +58 -0
  79. package/dist/commonjs/models/components/servingrecipeenable.js.map +1 -0
  80. package/dist/commonjs/models/components/servingrecipemanifest.d.ts +74 -0
  81. package/dist/commonjs/models/components/servingrecipemanifest.d.ts.map +1 -0
  82. package/dist/commonjs/models/components/servingrecipemanifest.js +105 -0
  83. package/dist/commonjs/models/components/servingrecipemanifest.js.map +1 -0
  84. package/dist/commonjs/models/components/servingrecipemodelselector.d.ts +24 -0
  85. package/dist/commonjs/models/components/servingrecipemodelselector.d.ts.map +1 -0
  86. package/dist/commonjs/models/components/servingrecipemodelselector.js +62 -0
  87. package/dist/commonjs/models/components/servingrecipemodelselector.js.map +1 -0
  88. package/dist/commonjs/models/components/servingreciperuntime.d.ts +26 -0
  89. package/dist/commonjs/models/components/servingreciperuntime.d.ts.map +1 -0
  90. package/dist/commonjs/models/components/servingreciperuntime.js +60 -0
  91. package/dist/commonjs/models/components/servingreciperuntime.js.map +1 -0
  92. package/dist/commonjs/models/components/servingvalidationerror.d.ts +8 -8
  93. package/dist/commonjs/models/components/servingvalidationerror.d.ts.map +1 -1
  94. package/dist/commonjs/models/components/servingvalidationerror.js +11 -11
  95. package/dist/commonjs/models/components/servingvalidationerror.js.map +1 -1
  96. package/dist/commonjs/models/components/trainingmetricpoint.d.ts +34 -0
  97. package/dist/commonjs/models/components/trainingmetricpoint.d.ts.map +1 -0
  98. package/dist/commonjs/models/components/trainingmetricpoint.js +62 -0
  99. package/dist/commonjs/models/components/trainingmetricpoint.js.map +1 -0
  100. package/dist/commonjs/models/components/validationerror.d.ts +13 -0
  101. package/dist/commonjs/models/components/validationerror.d.ts.map +1 -1
  102. package/dist/commonjs/models/components/validationerror.js +17 -1
  103. package/dist/commonjs/models/components/validationerror.js.map +1 -1
  104. package/dist/commonjs/models/operations/deleteservingrecipe.d.ts +22 -0
  105. package/dist/commonjs/models/operations/deleteservingrecipe.d.ts.map +1 -0
  106. package/dist/commonjs/models/operations/deleteservingrecipe.js +69 -0
  107. package/dist/commonjs/models/operations/deleteservingrecipe.js.map +1 -0
  108. package/dist/commonjs/models/operations/getfinetunemetrics.d.ts +22 -0
  109. package/dist/commonjs/models/operations/getfinetunemetrics.d.ts.map +1 -0
  110. package/dist/commonjs/models/operations/getfinetunemetrics.js +71 -0
  111. package/dist/commonjs/models/operations/getfinetunemetrics.js.map +1 -0
  112. package/dist/commonjs/models/operations/getservingrecipe.d.ts +22 -0
  113. package/dist/commonjs/models/operations/getservingrecipe.d.ts.map +1 -0
  114. package/dist/commonjs/models/operations/getservingrecipe.js +69 -0
  115. package/dist/commonjs/models/operations/getservingrecipe.js.map +1 -0
  116. package/dist/commonjs/models/operations/index.d.ts +6 -0
  117. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  118. package/dist/commonjs/models/operations/index.js +6 -0
  119. package/dist/commonjs/models/operations/index.js.map +1 -1
  120. package/dist/commonjs/models/operations/listservingrecipes.d.ts +24 -0
  121. package/dist/commonjs/models/operations/listservingrecipes.d.ts.map +1 -0
  122. package/dist/commonjs/models/operations/listservingrecipes.js +71 -0
  123. package/dist/commonjs/models/operations/listservingrecipes.js.map +1 -0
  124. package/dist/commonjs/models/operations/registerservingrecipe.d.ts +25 -0
  125. package/dist/commonjs/models/operations/registerservingrecipe.d.ts.map +1 -0
  126. package/dist/commonjs/models/operations/registerservingrecipe.js +74 -0
  127. package/dist/commonjs/models/operations/registerservingrecipe.js.map +1 -0
  128. package/dist/commonjs/models/operations/setservingrecipeenabled.d.ts +25 -0
  129. package/dist/commonjs/models/operations/setservingrecipeenabled.d.ts.map +1 -0
  130. package/dist/commonjs/models/operations/setservingrecipeenabled.js +74 -0
  131. package/dist/commonjs/models/operations/setservingrecipeenabled.js.map +1 -0
  132. package/dist/commonjs/react-query/index.d.ts +6 -0
  133. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  134. package/dist/commonjs/react-query/index.js +6 -0
  135. package/dist/commonjs/react-query/index.js.map +1 -1
  136. package/dist/commonjs/react-query/servingFinetuneJobsGetMetrics.core.d.ts +15 -0
  137. package/dist/commonjs/react-query/servingFinetuneJobsGetMetrics.core.d.ts.map +1 -0
  138. package/dist/commonjs/react-query/servingFinetuneJobsGetMetrics.core.js +36 -0
  139. package/dist/commonjs/react-query/servingFinetuneJobsGetMetrics.core.js.map +1 -0
  140. package/dist/commonjs/react-query/servingFinetuneJobsGetMetrics.d.ts +39 -0
  141. package/dist/commonjs/react-query/servingFinetuneJobsGetMetrics.d.ts.map +1 -0
  142. package/dist/commonjs/react-query/servingFinetuneJobsGetMetrics.js +60 -0
  143. package/dist/commonjs/react-query/servingFinetuneJobsGetMetrics.js.map +1 -0
  144. package/dist/commonjs/react-query/servingRecipesDelete.d.ts +29 -0
  145. package/dist/commonjs/react-query/servingRecipesDelete.d.ts.map +1 -0
  146. package/dist/commonjs/react-query/servingRecipesDelete.js +47 -0
  147. package/dist/commonjs/react-query/servingRecipesDelete.js.map +1 -0
  148. package/dist/commonjs/react-query/servingRecipesGet.core.d.ts +15 -0
  149. package/dist/commonjs/react-query/servingRecipesGet.core.d.ts.map +1 -0
  150. package/dist/commonjs/react-query/servingRecipesGet.core.js +36 -0
  151. package/dist/commonjs/react-query/servingRecipesGet.core.js.map +1 -0
  152. package/dist/commonjs/react-query/servingRecipesGet.d.ts +39 -0
  153. package/dist/commonjs/react-query/servingRecipesGet.d.ts.map +1 -0
  154. package/dist/commonjs/react-query/servingRecipesGet.js +60 -0
  155. package/dist/commonjs/react-query/servingRecipesGet.js.map +1 -0
  156. package/dist/commonjs/react-query/servingRecipesList.core.d.ts +17 -0
  157. package/dist/commonjs/react-query/servingRecipesList.core.d.ts.map +1 -0
  158. package/dist/commonjs/react-query/servingRecipesList.core.js +38 -0
  159. package/dist/commonjs/react-query/servingRecipesList.core.js.map +1 -0
  160. package/dist/commonjs/react-query/servingRecipesList.d.ts +41 -0
  161. package/dist/commonjs/react-query/servingRecipesList.d.ts.map +1 -0
  162. package/dist/commonjs/react-query/servingRecipesList.js +60 -0
  163. package/dist/commonjs/react-query/servingRecipesList.js.map +1 -0
  164. package/dist/commonjs/react-query/servingRecipesRegister.d.ts +30 -0
  165. package/dist/commonjs/react-query/servingRecipesRegister.d.ts.map +1 -0
  166. package/dist/commonjs/react-query/servingRecipesRegister.js +47 -0
  167. package/dist/commonjs/react-query/servingRecipesRegister.js.map +1 -0
  168. package/dist/commonjs/react-query/servingRecipesSetEnabled.d.ts +30 -0
  169. package/dist/commonjs/react-query/servingRecipesSetEnabled.d.ts.map +1 -0
  170. package/dist/commonjs/react-query/servingRecipesSetEnabled.js +47 -0
  171. package/dist/commonjs/react-query/servingRecipesSetEnabled.js.map +1 -0
  172. package/dist/commonjs/sdk/finetunejobs.d.ts +7 -0
  173. package/dist/commonjs/sdk/finetunejobs.d.ts.map +1 -1
  174. package/dist/commonjs/sdk/finetunejobs.js +10 -0
  175. package/dist/commonjs/sdk/finetunejobs.js.map +1 -1
  176. package/dist/commonjs/sdk/recipes.d.ts +41 -0
  177. package/dist/commonjs/sdk/recipes.d.ts.map +1 -0
  178. package/dist/commonjs/sdk/recipes.js +62 -0
  179. package/dist/commonjs/sdk/recipes.js.map +1 -0
  180. package/dist/commonjs/sdk/serving.d.ts +3 -0
  181. package/dist/commonjs/sdk/serving.d.ts.map +1 -1
  182. package/dist/commonjs/sdk/serving.js +4 -0
  183. package/dist/commonjs/sdk/serving.js.map +1 -1
  184. package/dist/esm/funcs/servingFinetuneJobsGetMetrics.d.ts +19 -0
  185. package/dist/esm/funcs/servingFinetuneJobsGetMetrics.d.ts.map +1 -0
  186. package/dist/esm/funcs/servingFinetuneJobsGetMetrics.js +101 -0
  187. package/dist/esm/funcs/servingFinetuneJobsGetMetrics.js.map +1 -0
  188. package/dist/esm/funcs/servingRecipesDelete.d.ts +18 -0
  189. package/dist/esm/funcs/servingRecipesDelete.d.ts.map +1 -0
  190. package/dist/esm/funcs/servingRecipesDelete.js +100 -0
  191. package/dist/esm/funcs/servingRecipesDelete.js.map +1 -0
  192. package/dist/esm/funcs/servingRecipesGet.d.ts +19 -0
  193. package/dist/esm/funcs/servingRecipesGet.d.ts.map +1 -0
  194. package/dist/esm/funcs/servingRecipesGet.js +100 -0
  195. package/dist/esm/funcs/servingRecipesGet.js.map +1 -0
  196. package/dist/esm/funcs/servingRecipesList.d.ts +19 -0
  197. package/dist/esm/funcs/servingRecipesList.d.ts.map +1 -0
  198. package/dist/esm/funcs/servingRecipesList.js +99 -0
  199. package/dist/esm/funcs/servingRecipesList.js.map +1 -0
  200. package/dist/esm/funcs/servingRecipesRegister.d.ts +19 -0
  201. package/dist/esm/funcs/servingRecipesRegister.d.ts.map +1 -0
  202. package/dist/esm/funcs/servingRecipesRegister.js +103 -0
  203. package/dist/esm/funcs/servingRecipesRegister.js.map +1 -0
  204. package/dist/esm/funcs/servingRecipesSetEnabled.d.ts +19 -0
  205. package/dist/esm/funcs/servingRecipesSetEnabled.d.ts.map +1 -0
  206. package/dist/esm/funcs/servingRecipesSetEnabled.js +103 -0
  207. package/dist/esm/funcs/servingRecipesSetEnabled.js.map +1 -0
  208. package/dist/esm/lib/config.d.ts +2 -2
  209. package/dist/esm/lib/config.js +2 -2
  210. package/dist/esm/lib/config.js.map +1 -1
  211. package/dist/esm/mcp-server/mcp-server.js +1 -1
  212. package/dist/esm/mcp-server/mcp-server.js.map +1 -1
  213. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  214. package/dist/esm/mcp-server/server.js +13 -1
  215. package/dist/esm/mcp-server/server.js.map +1 -1
  216. package/dist/esm/mcp-server/tools/servingFinetuneJobsGetMetrics.d.ts +8 -0
  217. package/dist/esm/mcp-server/tools/servingFinetuneJobsGetMetrics.d.ts.map +1 -0
  218. package/dist/esm/mcp-server/tools/servingFinetuneJobsGetMetrics.js +28 -0
  219. package/dist/esm/mcp-server/tools/servingFinetuneJobsGetMetrics.js.map +1 -0
  220. package/dist/esm/mcp-server/tools/servingRecipesDelete.d.ts +8 -0
  221. package/dist/esm/mcp-server/tools/servingRecipesDelete.d.ts.map +1 -0
  222. package/dist/esm/mcp-server/tools/servingRecipesDelete.js +27 -0
  223. package/dist/esm/mcp-server/tools/servingRecipesDelete.js.map +1 -0
  224. package/dist/esm/mcp-server/tools/servingRecipesGet.d.ts +8 -0
  225. package/dist/esm/mcp-server/tools/servingRecipesGet.d.ts.map +1 -0
  226. package/dist/esm/mcp-server/tools/servingRecipesGet.js +28 -0
  227. package/dist/esm/mcp-server/tools/servingRecipesGet.js.map +1 -0
  228. package/dist/esm/mcp-server/tools/servingRecipesList.d.ts +8 -0
  229. package/dist/esm/mcp-server/tools/servingRecipesList.d.ts.map +1 -0
  230. package/dist/esm/mcp-server/tools/servingRecipesList.js +28 -0
  231. package/dist/esm/mcp-server/tools/servingRecipesList.js.map +1 -0
  232. package/dist/esm/mcp-server/tools/servingRecipesRegister.d.ts +8 -0
  233. package/dist/esm/mcp-server/tools/servingRecipesRegister.d.ts.map +1 -0
  234. package/dist/esm/mcp-server/tools/servingRecipesRegister.js +28 -0
  235. package/dist/esm/mcp-server/tools/servingRecipesRegister.js.map +1 -0
  236. package/dist/esm/mcp-server/tools/servingRecipesSetEnabled.d.ts +8 -0
  237. package/dist/esm/mcp-server/tools/servingRecipesSetEnabled.d.ts.map +1 -0
  238. package/dist/esm/mcp-server/tools/servingRecipesSetEnabled.js +28 -0
  239. package/dist/esm/mcp-server/tools/servingRecipesSetEnabled.js.map +1 -0
  240. package/dist/esm/models/components/index.d.ts +8 -0
  241. package/dist/esm/models/components/index.d.ts.map +1 -1
  242. package/dist/esm/models/components/index.js +8 -0
  243. package/dist/esm/models/components/index.js.map +1 -1
  244. package/dist/esm/models/components/pageservingrecipe.d.ts +22 -0
  245. package/dist/esm/models/components/pageservingrecipe.d.ts.map +1 -0
  246. package/dist/esm/models/components/pageservingrecipe.js +34 -0
  247. package/dist/esm/models/components/pageservingrecipe.js.map +1 -0
  248. package/dist/esm/models/components/servingrecipe.d.ts +38 -0
  249. package/dist/esm/models/components/servingrecipe.d.ts.map +1 -0
  250. package/dist/esm/models/components/servingrecipe.js +52 -0
  251. package/dist/esm/models/components/servingrecipe.js.map +1 -0
  252. package/dist/esm/models/components/servingrecipeaccelerator.d.ts +29 -0
  253. package/dist/esm/models/components/servingrecipeaccelerator.d.ts.map +1 -0
  254. package/dist/esm/models/components/servingrecipeaccelerator.js +39 -0
  255. package/dist/esm/models/components/servingrecipeaccelerator.js.map +1 -0
  256. package/dist/esm/models/components/servingrecipeenable.d.ts +20 -0
  257. package/dist/esm/models/components/servingrecipeenable.d.ts.map +1 -0
  258. package/dist/esm/models/components/servingrecipeenable.js +20 -0
  259. package/dist/esm/models/components/servingrecipeenable.js.map +1 -0
  260. package/dist/esm/models/components/servingrecipemanifest.d.ts +74 -0
  261. package/dist/esm/models/components/servingrecipemanifest.d.ts.map +1 -0
  262. package/dist/esm/models/components/servingrecipemanifest.js +67 -0
  263. package/dist/esm/models/components/servingrecipemanifest.js.map +1 -0
  264. package/dist/esm/models/components/servingrecipemodelselector.d.ts +24 -0
  265. package/dist/esm/models/components/servingrecipemodelselector.d.ts.map +1 -0
  266. package/dist/esm/models/components/servingrecipemodelselector.js +24 -0
  267. package/dist/esm/models/components/servingrecipemodelselector.js.map +1 -0
  268. package/dist/esm/models/components/servingreciperuntime.d.ts +26 -0
  269. package/dist/esm/models/components/servingreciperuntime.d.ts.map +1 -0
  270. package/dist/esm/models/components/servingreciperuntime.js +22 -0
  271. package/dist/esm/models/components/servingreciperuntime.js.map +1 -0
  272. package/dist/esm/models/components/servingvalidationerror.d.ts +8 -8
  273. package/dist/esm/models/components/servingvalidationerror.d.ts.map +1 -1
  274. package/dist/esm/models/components/servingvalidationerror.js +8 -8
  275. package/dist/esm/models/components/servingvalidationerror.js.map +1 -1
  276. package/dist/esm/models/components/trainingmetricpoint.d.ts +34 -0
  277. package/dist/esm/models/components/trainingmetricpoint.d.ts.map +1 -0
  278. package/dist/esm/models/components/trainingmetricpoint.js +24 -0
  279. package/dist/esm/models/components/trainingmetricpoint.js.map +1 -0
  280. package/dist/esm/models/components/validationerror.d.ts +13 -0
  281. package/dist/esm/models/components/validationerror.d.ts.map +1 -1
  282. package/dist/esm/models/components/validationerror.js +14 -0
  283. package/dist/esm/models/components/validationerror.js.map +1 -1
  284. package/dist/esm/models/operations/deleteservingrecipe.d.ts +22 -0
  285. package/dist/esm/models/operations/deleteservingrecipe.d.ts.map +1 -0
  286. package/dist/esm/models/operations/deleteservingrecipe.js +31 -0
  287. package/dist/esm/models/operations/deleteservingrecipe.js.map +1 -0
  288. package/dist/esm/models/operations/getfinetunemetrics.d.ts +22 -0
  289. package/dist/esm/models/operations/getfinetunemetrics.d.ts.map +1 -0
  290. package/dist/esm/models/operations/getfinetunemetrics.js +33 -0
  291. package/dist/esm/models/operations/getfinetunemetrics.js.map +1 -0
  292. package/dist/esm/models/operations/getservingrecipe.d.ts +22 -0
  293. package/dist/esm/models/operations/getservingrecipe.d.ts.map +1 -0
  294. package/dist/esm/models/operations/getservingrecipe.js +31 -0
  295. package/dist/esm/models/operations/getservingrecipe.js.map +1 -0
  296. package/dist/esm/models/operations/index.d.ts +6 -0
  297. package/dist/esm/models/operations/index.d.ts.map +1 -1
  298. package/dist/esm/models/operations/index.js +6 -0
  299. package/dist/esm/models/operations/index.js.map +1 -1
  300. package/dist/esm/models/operations/listservingrecipes.d.ts +24 -0
  301. package/dist/esm/models/operations/listservingrecipes.d.ts.map +1 -0
  302. package/dist/esm/models/operations/listservingrecipes.js +33 -0
  303. package/dist/esm/models/operations/listservingrecipes.js.map +1 -0
  304. package/dist/esm/models/operations/registerservingrecipe.d.ts +25 -0
  305. package/dist/esm/models/operations/registerservingrecipe.d.ts.map +1 -0
  306. package/dist/esm/models/operations/registerservingrecipe.js +36 -0
  307. package/dist/esm/models/operations/registerservingrecipe.js.map +1 -0
  308. package/dist/esm/models/operations/setservingrecipeenabled.d.ts +25 -0
  309. package/dist/esm/models/operations/setservingrecipeenabled.d.ts.map +1 -0
  310. package/dist/esm/models/operations/setservingrecipeenabled.js +36 -0
  311. package/dist/esm/models/operations/setservingrecipeenabled.js.map +1 -0
  312. package/dist/esm/react-query/index.d.ts +6 -0
  313. package/dist/esm/react-query/index.d.ts.map +1 -1
  314. package/dist/esm/react-query/index.js +6 -0
  315. package/dist/esm/react-query/index.js.map +1 -1
  316. package/dist/esm/react-query/servingFinetuneJobsGetMetrics.core.d.ts +15 -0
  317. package/dist/esm/react-query/servingFinetuneJobsGetMetrics.core.d.ts.map +1 -0
  318. package/dist/esm/react-query/servingFinetuneJobsGetMetrics.core.js +31 -0
  319. package/dist/esm/react-query/servingFinetuneJobsGetMetrics.core.js.map +1 -0
  320. package/dist/esm/react-query/servingFinetuneJobsGetMetrics.d.ts +39 -0
  321. package/dist/esm/react-query/servingFinetuneJobsGetMetrics.d.ts.map +1 -0
  322. package/dist/esm/react-query/servingFinetuneJobsGetMetrics.js +50 -0
  323. package/dist/esm/react-query/servingFinetuneJobsGetMetrics.js.map +1 -0
  324. package/dist/esm/react-query/servingRecipesDelete.d.ts +29 -0
  325. package/dist/esm/react-query/servingRecipesDelete.d.ts.map +1 -0
  326. package/dist/esm/react-query/servingRecipesDelete.js +42 -0
  327. package/dist/esm/react-query/servingRecipesDelete.js.map +1 -0
  328. package/dist/esm/react-query/servingRecipesGet.core.d.ts +15 -0
  329. package/dist/esm/react-query/servingRecipesGet.core.d.ts.map +1 -0
  330. package/dist/esm/react-query/servingRecipesGet.core.js +31 -0
  331. package/dist/esm/react-query/servingRecipesGet.core.js.map +1 -0
  332. package/dist/esm/react-query/servingRecipesGet.d.ts +39 -0
  333. package/dist/esm/react-query/servingRecipesGet.d.ts.map +1 -0
  334. package/dist/esm/react-query/servingRecipesGet.js +50 -0
  335. package/dist/esm/react-query/servingRecipesGet.js.map +1 -0
  336. package/dist/esm/react-query/servingRecipesList.core.d.ts +17 -0
  337. package/dist/esm/react-query/servingRecipesList.core.d.ts.map +1 -0
  338. package/dist/esm/react-query/servingRecipesList.core.js +33 -0
  339. package/dist/esm/react-query/servingRecipesList.core.js.map +1 -0
  340. package/dist/esm/react-query/servingRecipesList.d.ts +41 -0
  341. package/dist/esm/react-query/servingRecipesList.d.ts.map +1 -0
  342. package/dist/esm/react-query/servingRecipesList.js +50 -0
  343. package/dist/esm/react-query/servingRecipesList.js.map +1 -0
  344. package/dist/esm/react-query/servingRecipesRegister.d.ts +30 -0
  345. package/dist/esm/react-query/servingRecipesRegister.d.ts.map +1 -0
  346. package/dist/esm/react-query/servingRecipesRegister.js +42 -0
  347. package/dist/esm/react-query/servingRecipesRegister.js.map +1 -0
  348. package/dist/esm/react-query/servingRecipesSetEnabled.d.ts +30 -0
  349. package/dist/esm/react-query/servingRecipesSetEnabled.d.ts.map +1 -0
  350. package/dist/esm/react-query/servingRecipesSetEnabled.js +42 -0
  351. package/dist/esm/react-query/servingRecipesSetEnabled.js.map +1 -0
  352. package/dist/esm/sdk/finetunejobs.d.ts +7 -0
  353. package/dist/esm/sdk/finetunejobs.d.ts.map +1 -1
  354. package/dist/esm/sdk/finetunejobs.js +10 -0
  355. package/dist/esm/sdk/finetunejobs.js.map +1 -1
  356. package/dist/esm/sdk/recipes.d.ts +41 -0
  357. package/dist/esm/sdk/recipes.d.ts.map +1 -0
  358. package/dist/esm/sdk/recipes.js +58 -0
  359. package/dist/esm/sdk/recipes.js.map +1 -0
  360. package/dist/esm/sdk/serving.d.ts +3 -0
  361. package/dist/esm/sdk/serving.d.ts.map +1 -1
  362. package/dist/esm/sdk/serving.js +4 -0
  363. package/dist/esm/sdk/serving.js.map +1 -1
  364. package/jsr.json +1 -1
  365. package/package.json +1 -1
  366. package/src/funcs/servingFinetuneJobsGetMetrics.ts +199 -0
  367. package/src/funcs/servingRecipesDelete.ts +197 -0
  368. package/src/funcs/servingRecipesGet.ts +196 -0
  369. package/src/funcs/servingRecipesList.ts +192 -0
  370. package/src/funcs/servingRecipesRegister.ts +200 -0
  371. package/src/funcs/servingRecipesSetEnabled.ts +200 -0
  372. package/src/lib/config.ts +2 -2
  373. package/src/mcp-server/mcp-server.ts +1 -1
  374. package/src/mcp-server/server.ts +13 -1
  375. package/src/mcp-server/tools/servingFinetuneJobsGetMetrics.ts +37 -0
  376. package/src/mcp-server/tools/servingRecipesDelete.ts +35 -0
  377. package/src/mcp-server/tools/servingRecipesGet.ts +37 -0
  378. package/src/mcp-server/tools/servingRecipesList.ts +37 -0
  379. package/src/mcp-server/tools/servingRecipesRegister.ts +37 -0
  380. package/src/mcp-server/tools/servingRecipesSetEnabled.ts +37 -0
  381. package/src/models/components/index.ts +8 -0
  382. package/src/models/components/pageservingrecipe.ts +74 -0
  383. package/src/models/components/servingrecipe.ts +108 -0
  384. package/src/models/components/servingrecipeaccelerator.ts +82 -0
  385. package/src/models/components/servingrecipeenable.ts +54 -0
  386. package/src/models/components/servingrecipemanifest.ts +146 -0
  387. package/src/models/components/servingrecipemodelselector.ts +62 -0
  388. package/src/models/components/servingreciperuntime.ts +58 -0
  389. package/src/models/components/servingvalidationerror.ts +26 -17
  390. package/src/models/components/trainingmetricpoint.ts +68 -0
  391. package/src/models/components/validationerror.ts +36 -0
  392. package/src/models/operations/deleteservingrecipe.ts +67 -0
  393. package/src/models/operations/getfinetunemetrics.ts +69 -0
  394. package/src/models/operations/getservingrecipe.ts +67 -0
  395. package/src/models/operations/index.ts +6 -0
  396. package/src/models/operations/listservingrecipes.ts +71 -0
  397. package/src/models/operations/registerservingrecipe.ts +76 -0
  398. package/src/models/operations/setservingrecipeenabled.ts +76 -0
  399. package/src/react-query/index.ts +6 -0
  400. package/src/react-query/servingFinetuneJobsGetMetrics.core.ts +78 -0
  401. package/src/react-query/servingFinetuneJobsGetMetrics.ts +144 -0
  402. package/src/react-query/servingRecipesDelete.ts +111 -0
  403. package/src/react-query/servingRecipesGet.core.ts +76 -0
  404. package/src/react-query/servingRecipesGet.ts +141 -0
  405. package/src/react-query/servingRecipesList.core.ts +81 -0
  406. package/src/react-query/servingRecipesList.ts +147 -0
  407. package/src/react-query/servingRecipesRegister.ts +112 -0
  408. package/src/react-query/servingRecipesSetEnabled.ts +112 -0
  409. package/src/sdk/finetunejobs.ts +18 -0
  410. package/src/sdk/recipes.ts +100 -0
  411. package/src/sdk/serving.ts +6 -0
package/bin/mcp-server.js CHANGED
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
52876
52876
  SDK_METADATA = {
52877
52877
  language: "typescript",
52878
52878
  openapiDocVersion: "1.1.0",
52879
- sdkVersion: "0.51.8",
52879
+ sdkVersion: "0.51.10",
52880
52880
  genVersion: "2.918.4",
52881
- userAgent: "speakeasy-sdk/typescript 0.51.8 2.918.4 1.1.0 @meetkai/mka1"
52881
+ userAgent: "speakeasy-sdk/typescript 0.51.10 2.918.4 1.1.0 @meetkai/mka1"
52882
52882
  };
52883
52883
  });
52884
52884
 
@@ -70029,6 +70029,193 @@ var init_pagesecret = __esm(() => {
70029
70029
  });
70030
70030
  });
70031
70031
 
70032
+ // src/models/components/servingrecipeaccelerator.ts
70033
+ var ServingRecipeAccelerator$inboundSchema, ServingRecipeAccelerator$outboundSchema;
70034
+ var init_servingrecipeaccelerator = __esm(() => {
70035
+ init_esm();
70036
+ init_primitives();
70037
+ ServingRecipeAccelerator$inboundSchema = objectType({
70038
+ image: stringType(),
70039
+ min_mem_gb: nullableType(numberType()).optional(),
70040
+ min_vcpu: nullableType(numberType()).optional(),
70041
+ min_vram_gb: nullableType(numberType()).optional()
70042
+ }).transform((v2) => {
70043
+ return remap(v2, {
70044
+ min_mem_gb: "minMemGb",
70045
+ min_vcpu: "minVcpu",
70046
+ min_vram_gb: "minVramGb"
70047
+ });
70048
+ });
70049
+ ServingRecipeAccelerator$outboundSchema = objectType({
70050
+ image: stringType(),
70051
+ minMemGb: nullableType(numberType()).optional(),
70052
+ minVcpu: nullableType(numberType()).optional(),
70053
+ minVramGb: nullableType(numberType()).optional()
70054
+ }).transform((v2) => {
70055
+ return remap(v2, {
70056
+ minMemGb: "min_mem_gb",
70057
+ minVcpu: "min_vcpu",
70058
+ minVramGb: "min_vram_gb"
70059
+ });
70060
+ });
70061
+ });
70062
+
70063
+ // src/models/components/servingrecipemodelselector.ts
70064
+ var ServingRecipeModelSelector$inboundSchema, ServingRecipeModelSelector$outboundSchema;
70065
+ var init_servingrecipemodelselector = __esm(() => {
70066
+ init_esm();
70067
+ ServingRecipeModelSelector$inboundSchema = objectType({
70068
+ architecture: stringType().optional(),
70069
+ family: stringType().optional(),
70070
+ modality: stringType()
70071
+ });
70072
+ ServingRecipeModelSelector$outboundSchema = objectType({
70073
+ architecture: stringType().optional(),
70074
+ family: stringType().optional(),
70075
+ modality: stringType()
70076
+ });
70077
+ });
70078
+
70079
+ // src/models/components/servingreciperuntime.ts
70080
+ var ServingRecipeRuntime$inboundSchema, ServingRecipeRuntime$outboundSchema;
70081
+ var init_servingreciperuntime = __esm(() => {
70082
+ init_esm();
70083
+ ServingRecipeRuntime$inboundSchema = objectType({
70084
+ args: arrayType(stringType()).optional(),
70085
+ env: recordType(stringType()).optional()
70086
+ });
70087
+ ServingRecipeRuntime$outboundSchema = objectType({
70088
+ args: arrayType(stringType()).optional(),
70089
+ env: recordType(stringType()).optional()
70090
+ });
70091
+ });
70092
+
70093
+ // src/models/components/servingrecipemanifest.ts
70094
+ var ApiFormat, ApiFormat$inboundSchema, ApiFormat$outboundSchema, ServingRecipeManifest$inboundSchema, ServingRecipeManifest$outboundSchema;
70095
+ var init_servingrecipemanifest = __esm(() => {
70096
+ init_esm();
70097
+ init_primitives();
70098
+ init_servingrecipeaccelerator();
70099
+ init_servingrecipemodelselector();
70100
+ init_servingreciperuntime();
70101
+ ApiFormat = {
70102
+ Responses: "responses",
70103
+ Completions: "completions",
70104
+ Embeddings: "embeddings",
70105
+ Images: "images",
70106
+ Transcriptions: "transcriptions",
70107
+ Tts: "tts"
70108
+ };
70109
+ ApiFormat$inboundSchema = nativeEnumType(ApiFormat);
70110
+ ApiFormat$outboundSchema = ApiFormat$inboundSchema;
70111
+ ServingRecipeManifest$inboundSchema = objectType({
70112
+ accelerators: recordType(ServingRecipeAccelerator$inboundSchema),
70113
+ apiFormat: ApiFormat$inboundSchema,
70114
+ apiProviderType: stringType().optional(),
70115
+ capabilities: recordType(anyType()).optional(),
70116
+ description: stringType().optional(),
70117
+ engine: stringType().default("vllm"),
70118
+ model_selectors: arrayType(ServingRecipeModelSelector$inboundSchema),
70119
+ name: stringType(),
70120
+ port: numberType().int(),
70121
+ readiness: recordType(anyType()).optional(),
70122
+ runtime: ServingRecipeRuntime$inboundSchema.optional(),
70123
+ version: numberType().int()
70124
+ }).transform((v2) => {
70125
+ return remap(v2, {
70126
+ model_selectors: "modelSelectors"
70127
+ });
70128
+ });
70129
+ ServingRecipeManifest$outboundSchema = objectType({
70130
+ accelerators: recordType(ServingRecipeAccelerator$outboundSchema),
70131
+ apiFormat: ApiFormat$outboundSchema,
70132
+ apiProviderType: stringType().optional(),
70133
+ capabilities: recordType(anyType()).optional(),
70134
+ description: stringType().optional(),
70135
+ engine: stringType().default("vllm"),
70136
+ modelSelectors: arrayType(ServingRecipeModelSelector$outboundSchema),
70137
+ name: stringType(),
70138
+ port: numberType().int(),
70139
+ readiness: recordType(anyType()).optional(),
70140
+ runtime: ServingRecipeRuntime$outboundSchema.optional(),
70141
+ version: numberType().int()
70142
+ }).transform((v2) => {
70143
+ return remap(v2, {
70144
+ modelSelectors: "model_selectors"
70145
+ });
70146
+ });
70147
+ });
70148
+
70149
+ // src/models/components/servingrecipe.ts
70150
+ var ServingRecipe$inboundSchema, ServingRecipe$outboundSchema;
70151
+ var init_servingrecipe = __esm(() => {
70152
+ init_esm();
70153
+ init_primitives();
70154
+ init_servingrecipemanifest();
70155
+ ServingRecipe$inboundSchema = objectType({
70156
+ created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
70157
+ definition: ServingRecipeManifest$inboundSchema,
70158
+ disabled_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
70159
+ enabled: booleanType(),
70160
+ enabled_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))),
70161
+ enabled_by: nullableType(stringType()),
70162
+ name: stringType(),
70163
+ updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
70164
+ }).transform((v2) => {
70165
+ return remap(v2, {
70166
+ created_at: "createdAt",
70167
+ disabled_at: "disabledAt",
70168
+ enabled_at: "enabledAt",
70169
+ enabled_by: "enabledBy",
70170
+ updated_at: "updatedAt"
70171
+ });
70172
+ });
70173
+ ServingRecipe$outboundSchema = objectType({
70174
+ createdAt: dateType().transform((v2) => v2.toISOString()),
70175
+ definition: ServingRecipeManifest$outboundSchema,
70176
+ disabledAt: nullableType(dateType().transform((v2) => v2.toISOString())),
70177
+ enabled: booleanType(),
70178
+ enabledAt: nullableType(dateType().transform((v2) => v2.toISOString())),
70179
+ enabledBy: nullableType(stringType()),
70180
+ name: stringType(),
70181
+ updatedAt: dateType().transform((v2) => v2.toISOString())
70182
+ }).transform((v2) => {
70183
+ return remap(v2, {
70184
+ createdAt: "created_at",
70185
+ disabledAt: "disabled_at",
70186
+ enabledAt: "enabled_at",
70187
+ enabledBy: "enabled_by",
70188
+ updatedAt: "updated_at"
70189
+ });
70190
+ });
70191
+ });
70192
+
70193
+ // src/models/components/pageservingrecipe.ts
70194
+ var PageServingRecipe$inboundSchema, PageServingRecipe$outboundSchema;
70195
+ var init_pageservingrecipe = __esm(() => {
70196
+ init_esm();
70197
+ init_primitives();
70198
+ init_servingrecipe();
70199
+ PageServingRecipe$inboundSchema = objectType({
70200
+ data: arrayType(ServingRecipe$inboundSchema),
70201
+ next_cursor: nullableType(stringType()).optional(),
70202
+ total: numberType().int()
70203
+ }).transform((v2) => {
70204
+ return remap(v2, {
70205
+ next_cursor: "nextCursor"
70206
+ });
70207
+ });
70208
+ PageServingRecipe$outboundSchema = objectType({
70209
+ data: arrayType(ServingRecipe$outboundSchema),
70210
+ nextCursor: nullableType(stringType()).optional(),
70211
+ total: numberType().int()
70212
+ }).transform((v2) => {
70213
+ return remap(v2, {
70214
+ nextCursor: "next_cursor"
70215
+ });
70216
+ });
70217
+ });
70218
+
70032
70219
  // src/models/components/servingtenant.ts
70033
70220
  var ServingTenant$inboundSchema, ServingTenant$outboundSchema;
70034
70221
  var init_servingtenant = __esm(() => {
@@ -74239,6 +74426,18 @@ var init_servingorgteardown = __esm(() => {
74239
74426
  });
74240
74427
  });
74241
74428
 
74429
+ // src/models/components/servingrecipeenable.ts
74430
+ var ServingRecipeEnable$inboundSchema, ServingRecipeEnable$outboundSchema;
74431
+ var init_servingrecipeenable = __esm(() => {
74432
+ init_esm();
74433
+ ServingRecipeEnable$inboundSchema = objectType({
74434
+ enabled: booleanType()
74435
+ });
74436
+ ServingRecipeEnable$outboundSchema = objectType({
74437
+ enabled: booleanType()
74438
+ });
74439
+ });
74440
+
74242
74441
  // src/models/components/servingtenantset.ts
74243
74442
  var ServingTenantSet$inboundSchema, ServingTenantSet$outboundSchema;
74244
74443
  var init_servingtenantset = __esm(() => {
@@ -74252,22 +74451,22 @@ var init_servingtenantset = __esm(() => {
74252
74451
  });
74253
74452
 
74254
74453
  // src/models/components/servingvalidationerror.ts
74255
- var Context$inboundSchema, Context$outboundSchema, ServingValidationErrorLoc$inboundSchema, ServingValidationErrorLoc$outboundSchema, ServingValidationError$inboundSchema, ServingValidationError$outboundSchema;
74454
+ var ServingValidationErrorContext$inboundSchema, ServingValidationErrorContext$outboundSchema, ServingValidationErrorLoc$inboundSchema, ServingValidationErrorLoc$outboundSchema, ServingValidationError$inboundSchema, ServingValidationError$outboundSchema;
74256
74455
  var init_servingvalidationerror = __esm(() => {
74257
74456
  init_esm();
74258
- Context$inboundSchema = objectType({});
74259
- Context$outboundSchema = objectType({});
74457
+ ServingValidationErrorContext$inboundSchema = objectType({});
74458
+ ServingValidationErrorContext$outboundSchema = objectType({});
74260
74459
  ServingValidationErrorLoc$inboundSchema = unionType([stringType(), numberType().int()]);
74261
74460
  ServingValidationErrorLoc$outboundSchema = unionType([stringType(), numberType().int()]);
74262
74461
  ServingValidationError$inboundSchema = objectType({
74263
- ctx: lazyType(() => Context$inboundSchema).optional(),
74462
+ ctx: lazyType(() => ServingValidationErrorContext$inboundSchema).optional(),
74264
74463
  input: anyType().optional(),
74265
74464
  loc: arrayType(unionType([stringType(), numberType().int()])),
74266
74465
  msg: stringType(),
74267
74466
  type: stringType()
74268
74467
  });
74269
74468
  ServingValidationError$outboundSchema = objectType({
74270
- ctx: lazyType(() => Context$outboundSchema).optional(),
74469
+ ctx: lazyType(() => ServingValidationErrorContext$outboundSchema).optional(),
74271
74470
  input: anyType().optional(),
74272
74471
  loc: arrayType(unionType([stringType(), numberType().int()])),
74273
74472
  msg: stringType(),
@@ -75026,6 +75225,22 @@ var init_texttospeechstreamingrequest = __esm(() => {
75026
75225
  });
75027
75226
  });
75028
75227
 
75228
+ // src/models/components/trainingmetricpoint.ts
75229
+ var TrainingMetricPoint$inboundSchema, TrainingMetricPoint$outboundSchema;
75230
+ var init_trainingmetricpoint = __esm(() => {
75231
+ init_esm();
75232
+ TrainingMetricPoint$inboundSchema = objectType({
75233
+ data: recordType(numberType()),
75234
+ step: nullableType(numberType().int()).optional(),
75235
+ timestamp: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
75236
+ });
75237
+ TrainingMetricPoint$outboundSchema = objectType({
75238
+ data: recordType(numberType()),
75239
+ step: nullableType(numberType().int()).optional(),
75240
+ timestamp: dateType().transform((v2) => v2.toISOString())
75241
+ });
75242
+ });
75243
+
75029
75244
  // src/models/components/transcriptionresponse.ts
75030
75245
  var TranscriptionResponse$inboundSchema, TranscriptionResponse$outboundSchema;
75031
75246
  var init_transcriptionresponse = __esm(() => {
@@ -75979,20 +76194,26 @@ var init_usagecostsresponse = __esm(() => {
75979
76194
  });
75980
76195
 
75981
76196
  // src/models/components/validationerror.ts
75982
- var Loc$inboundSchema, Loc$outboundSchema, ValidationError$inboundSchema, ValidationError$outboundSchema;
76197
+ var Loc$inboundSchema, Loc$outboundSchema, Context$inboundSchema, Context$outboundSchema, ValidationError$inboundSchema, ValidationError$outboundSchema;
75983
76198
  var init_validationerror = __esm(() => {
75984
76199
  init_esm();
75985
76200
  Loc$inboundSchema = unionType([stringType(), numberType().int()]);
75986
76201
  Loc$outboundSchema = unionType([stringType(), numberType().int()]);
76202
+ Context$inboundSchema = objectType({});
76203
+ Context$outboundSchema = objectType({});
75987
76204
  ValidationError$inboundSchema = objectType({
75988
76205
  loc: arrayType(unionType([stringType(), numberType().int()])),
75989
76206
  msg: stringType(),
75990
- type: stringType()
76207
+ type: stringType(),
76208
+ input: anyType().optional(),
76209
+ ctx: lazyType(() => Context$inboundSchema).optional()
75991
76210
  });
75992
76211
  ValidationError$outboundSchema = objectType({
75993
76212
  loc: arrayType(unionType([stringType(), numberType().int()])),
75994
76213
  msg: stringType(),
75995
- type: stringType()
76214
+ type: stringType(),
76215
+ input: anyType().optional(),
76216
+ ctx: lazyType(() => Context$outboundSchema).optional()
75996
76217
  });
75997
76218
  });
75998
76219
 
@@ -76996,6 +77217,7 @@ var init_components = __esm(() => {
76996
77217
  init_pagereplica();
76997
77218
  init_pagerevision();
76998
77219
  init_pagesecret();
77220
+ init_pageservingrecipe();
76999
77221
  init_pageservingtenant();
77000
77222
  init_pagevolume();
77001
77223
  init_pendingsafetycheck();
@@ -77126,6 +77348,12 @@ var init_components = __esm(() => {
77126
77348
  init_security2();
77127
77349
  init_servingorgdeletionrequest();
77128
77350
  init_servingorgteardown();
77351
+ init_servingrecipe();
77352
+ init_servingrecipeaccelerator();
77353
+ init_servingrecipeenable();
77354
+ init_servingrecipemanifest();
77355
+ init_servingrecipemodelselector();
77356
+ init_servingreciperuntime();
77129
77357
  init_servingtenant();
77130
77358
  init_servingtenantset();
77131
77359
  init_servingvalidationerror();
@@ -77177,6 +77405,7 @@ var init_components = __esm(() => {
77177
77405
  init_toolchoicemode();
77178
77406
  init_tooldefinition();
77179
77407
  init_toplogprob();
77408
+ init_trainingmetricpoint();
77180
77409
  init_transcriptionresponse();
77181
77410
  init_typeaction();
77182
77411
  init_update();
@@ -87247,6 +87476,29 @@ var init_deleteservingorganization = __esm(() => {
87247
87476
  });
87248
87477
  });
87249
87478
 
87479
+ // src/models/operations/deleteservingrecipe.ts
87480
+ var DeleteServingRecipeRequest$inboundSchema, DeleteServingRecipeRequest$outboundSchema;
87481
+ var init_deleteservingrecipe = __esm(() => {
87482
+ init_esm();
87483
+ init_primitives();
87484
+ DeleteServingRecipeRequest$inboundSchema = objectType({
87485
+ name: stringType(),
87486
+ "X-On-Behalf-Of": stringType().optional()
87487
+ }).transform((v2) => {
87488
+ return remap(v2, {
87489
+ "X-On-Behalf-Of": "xOnBehalfOf"
87490
+ });
87491
+ });
87492
+ DeleteServingRecipeRequest$outboundSchema = objectType({
87493
+ name: stringType(),
87494
+ xOnBehalfOf: stringType().optional()
87495
+ }).transform((v2) => {
87496
+ return remap(v2, {
87497
+ xOnBehalfOf: "X-On-Behalf-Of"
87498
+ });
87499
+ });
87500
+ });
87501
+
87250
87502
  // src/models/operations/deleteskill.ts
87251
87503
  var DeleteSkillRequest$inboundSchema, DeleteSkillRequest$outboundSchema;
87252
87504
  var init_deleteskill = __esm(() => {
@@ -90014,6 +90266,31 @@ var init_getfinetunelogs = __esm(() => {
90014
90266
  });
90015
90267
  });
90016
90268
 
90269
+ // src/models/operations/getfinetunemetrics.ts
90270
+ var GetFinetuneMetricsRequest$inboundSchema, GetFinetuneMetricsRequest$outboundSchema;
90271
+ var init_getfinetunemetrics = __esm(() => {
90272
+ init_esm();
90273
+ init_primitives();
90274
+ GetFinetuneMetricsRequest$inboundSchema = objectType({
90275
+ job_id: stringType(),
90276
+ "X-On-Behalf-Of": stringType().optional()
90277
+ }).transform((v2) => {
90278
+ return remap(v2, {
90279
+ job_id: "jobId",
90280
+ "X-On-Behalf-Of": "xOnBehalfOf"
90281
+ });
90282
+ });
90283
+ GetFinetuneMetricsRequest$outboundSchema = objectType({
90284
+ jobId: stringType(),
90285
+ xOnBehalfOf: stringType().optional()
90286
+ }).transform((v2) => {
90287
+ return remap(v2, {
90288
+ jobId: "job_id",
90289
+ xOnBehalfOf: "X-On-Behalf-Of"
90290
+ });
90291
+ });
90292
+ });
90293
+
90017
90294
  // src/models/operations/getguardrails.ts
90018
90295
  var GetGuardrailsRequest$inboundSchema, GetGuardrailsRequest$outboundSchema;
90019
90296
  var init_getguardrails = __esm(() => {
@@ -90855,6 +91132,29 @@ var init_getservingorganizationdeletion = __esm(() => {
90855
91132
  });
90856
91133
  });
90857
91134
 
91135
+ // src/models/operations/getservingrecipe.ts
91136
+ var GetServingRecipeRequest$inboundSchema, GetServingRecipeRequest$outboundSchema;
91137
+ var init_getservingrecipe = __esm(() => {
91138
+ init_esm();
91139
+ init_primitives();
91140
+ GetServingRecipeRequest$inboundSchema = objectType({
91141
+ name: stringType(),
91142
+ "X-On-Behalf-Of": stringType().optional()
91143
+ }).transform((v2) => {
91144
+ return remap(v2, {
91145
+ "X-On-Behalf-Of": "xOnBehalfOf"
91146
+ });
91147
+ });
91148
+ GetServingRecipeRequest$outboundSchema = objectType({
91149
+ name: stringType(),
91150
+ xOnBehalfOf: stringType().optional()
91151
+ }).transform((v2) => {
91152
+ return remap(v2, {
91153
+ xOnBehalfOf: "X-On-Behalf-Of"
91154
+ });
91155
+ });
91156
+ });
91157
+
90858
91158
  // src/models/operations/getservingtenant.ts
90859
91159
  var GetServingTenantRequest$inboundSchema, GetServingTenantRequest$outboundSchema;
90860
91160
  var init_getservingtenant = __esm(() => {
@@ -94169,6 +94469,31 @@ var init_listservingmodels = __esm(() => {
94169
94469
  });
94170
94470
  });
94171
94471
 
94472
+ // src/models/operations/listservingrecipes.ts
94473
+ var ListServingRecipesRequest$inboundSchema, ListServingRecipesRequest$outboundSchema;
94474
+ var init_listservingrecipes = __esm(() => {
94475
+ init_esm();
94476
+ init_primitives();
94477
+ ListServingRecipesRequest$inboundSchema = objectType({
94478
+ cursor: nullableType(stringType()).optional(),
94479
+ limit: numberType().int().default(50),
94480
+ "X-On-Behalf-Of": stringType().optional()
94481
+ }).transform((v2) => {
94482
+ return remap(v2, {
94483
+ "X-On-Behalf-Of": "xOnBehalfOf"
94484
+ });
94485
+ });
94486
+ ListServingRecipesRequest$outboundSchema = objectType({
94487
+ cursor: nullableType(stringType()).optional(),
94488
+ limit: numberType().int().default(50),
94489
+ xOnBehalfOf: stringType().optional()
94490
+ }).transform((v2) => {
94491
+ return remap(v2, {
94492
+ xOnBehalfOf: "X-On-Behalf-Of"
94493
+ });
94494
+ });
94495
+ });
94496
+
94172
94497
  // src/models/operations/listservingtenants.ts
94173
94498
  var ListServingTenantsRequest$inboundSchema, ListServingTenantsRequest$outboundSchema;
94174
94499
  var init_listservingtenants = __esm(() => {
@@ -95001,6 +95326,34 @@ var init_registermodel = __esm(() => {
95001
95326
  });
95002
95327
  });
95003
95328
 
95329
+ // src/models/operations/registerservingrecipe.ts
95330
+ var RegisterServingRecipeRequest$inboundSchema, RegisterServingRecipeRequest$outboundSchema;
95331
+ var init_registerservingrecipe = __esm(() => {
95332
+ init_esm();
95333
+ init_primitives();
95334
+ init_components();
95335
+ RegisterServingRecipeRequest$inboundSchema = objectType({
95336
+ name: stringType(),
95337
+ "X-On-Behalf-Of": stringType().optional(),
95338
+ ServingRecipeManifest: ServingRecipeManifest$inboundSchema
95339
+ }).transform((v2) => {
95340
+ return remap(v2, {
95341
+ "X-On-Behalf-Of": "xOnBehalfOf",
95342
+ ServingRecipeManifest: "servingRecipeManifest"
95343
+ });
95344
+ });
95345
+ RegisterServingRecipeRequest$outboundSchema = objectType({
95346
+ name: stringType(),
95347
+ xOnBehalfOf: stringType().optional(),
95348
+ servingRecipeManifest: ServingRecipeManifest$outboundSchema
95349
+ }).transform((v2) => {
95350
+ return remap(v2, {
95351
+ xOnBehalfOf: "X-On-Behalf-Of",
95352
+ servingRecipeManifest: "ServingRecipeManifest"
95353
+ });
95354
+ });
95355
+ });
95356
+
95004
95357
  // src/models/operations/reissueownerkey.ts
95005
95358
  var ReissueOwnerKeyUserType, ReissueOwnerKeyRequestBody$inboundSchema, ReissueOwnerKeyRequestBody$outboundSchema, ReissueOwnerKeyRequest$inboundSchema, ReissueOwnerKeyRequest$outboundSchema, ReissueOwnerKeyUserType$inboundSchema, ReissueOwnerKeyUserType$outboundSchema, ApiKey$inboundSchema, ApiKey$outboundSchema, ReissueOwnerKeyResponseBody$inboundSchema2, ReissueOwnerKeyResponseBody$outboundSchema2;
95006
95359
  var init_reissueownerkey2 = __esm(() => {
@@ -96295,6 +96648,34 @@ var init_setorgprice = __esm(() => {
96295
96648
  });
96296
96649
  });
96297
96650
 
96651
+ // src/models/operations/setservingrecipeenabled.ts
96652
+ var SetServingRecipeEnabledRequest$inboundSchema, SetServingRecipeEnabledRequest$outboundSchema;
96653
+ var init_setservingrecipeenabled = __esm(() => {
96654
+ init_esm();
96655
+ init_primitives();
96656
+ init_components();
96657
+ SetServingRecipeEnabledRequest$inboundSchema = objectType({
96658
+ name: stringType(),
96659
+ "X-On-Behalf-Of": stringType().optional(),
96660
+ ServingRecipeEnable: ServingRecipeEnable$inboundSchema
96661
+ }).transform((v2) => {
96662
+ return remap(v2, {
96663
+ "X-On-Behalf-Of": "xOnBehalfOf",
96664
+ ServingRecipeEnable: "servingRecipeEnable"
96665
+ });
96666
+ });
96667
+ SetServingRecipeEnabledRequest$outboundSchema = objectType({
96668
+ name: stringType(),
96669
+ xOnBehalfOf: stringType().optional(),
96670
+ servingRecipeEnable: ServingRecipeEnable$outboundSchema
96671
+ }).transform((v2) => {
96672
+ return remap(v2, {
96673
+ xOnBehalfOf: "X-On-Behalf-Of",
96674
+ servingRecipeEnable: "ServingRecipeEnable"
96675
+ });
96676
+ });
96677
+ });
96678
+
96298
96679
  // src/models/operations/setservingtenant.ts
96299
96680
  var SetServingTenantRequest$inboundSchema, SetServingTenantRequest$outboundSchema;
96300
96681
  var init_setservingtenant = __esm(() => {
@@ -98390,6 +98771,7 @@ var init_operations = __esm(() => {
98390
98771
  init_deleteserviceaccount2();
98391
98772
  init_deleteserviceaccountapikey2();
98392
98773
  init_deleteservingorganization();
98774
+ init_deleteservingrecipe();
98393
98775
  init_deleteskill();
98394
98776
  init_deleteskillversion();
98395
98777
  init_deletespeechtotexthistory();
@@ -98441,6 +98823,7 @@ var init_operations = __esm(() => {
98441
98823
  init_getfinetuneevents();
98442
98824
  init_getfinetunejob();
98443
98825
  init_getfinetunelogs();
98826
+ init_getfinetunemetrics();
98444
98827
  init_getguardrails();
98445
98828
  init_getimage();
98446
98829
  init_getjwtfromkey2();
@@ -98460,6 +98843,7 @@ var init_operations = __esm(() => {
98460
98843
  init_getserviceaccount2();
98461
98844
  init_getservingmodel();
98462
98845
  init_getservingorganizationdeletion();
98846
+ init_getservingrecipe();
98463
98847
  init_getservingtenant();
98464
98848
  init_getsession();
98465
98849
  init_getsessionurl();
@@ -98532,6 +98916,7 @@ var init_operations = __esm(() => {
98532
98916
  init_listserviceaccountapikeys2();
98533
98917
  init_listserviceaccounts2();
98534
98918
  init_listservingmodels();
98919
+ init_listservingrecipes();
98535
98920
  init_listservingtenants();
98536
98921
  init_listsessions();
98537
98922
  init_listskills();
@@ -98558,6 +98943,7 @@ var init_operations = __esm(() => {
98558
98943
  init_registerdeployment();
98559
98944
  init_registerimage();
98560
98945
  init_registermodel();
98946
+ init_registerservingrecipe();
98561
98947
  init_reissueownerkey2();
98562
98948
  init_removeteammember2();
98563
98949
  init_replacemodelcatalogorgaccess();
@@ -98577,6 +98963,7 @@ var init_operations = __esm(() => {
98577
98963
  init_setcurrency();
98578
98964
  init_setorgbudget();
98579
98965
  init_setorgprice();
98966
+ init_setservingrecipeenabled();
98580
98967
  init_setservingtenant();
98581
98968
  init_setupwhatsappappwebhook();
98582
98969
  init_streamagentrunevents();
@@ -134714,22 +135101,24 @@ Fetch recent training log lines for a job.`,
134714
135101
  };
134715
135102
  });
134716
135103
 
134717
- // src/funcs/servingFinetuneJobsList.ts
134718
- function servingFinetuneJobsList(client, request, options) {
135104
+ // src/funcs/servingFinetuneJobsGetMetrics.ts
135105
+ function servingFinetuneJobsGetMetrics(client, request, options) {
134719
135106
  return new APIPromise($do307(client, request, options));
134720
135107
  }
134721
135108
  async function $do307(client, request, options) {
134722
- const parsed = safeParse4(request, (value) => ListFinetuneJobsRequest$outboundSchema.parse(value), "Input validation failed");
135109
+ const parsed = safeParse4(request, (value) => GetFinetuneMetricsRequest$outboundSchema.parse(value), "Input validation failed");
134723
135110
  if (!parsed.ok) {
134724
135111
  return [parsed, { status: "invalid" }];
134725
135112
  }
134726
135113
  const payload = parsed.value;
134727
135114
  const body = null;
134728
- const path = pathToFunc("/api/v1/serving/finetune-jobs")();
134729
- const query = encodeFormQuery({
134730
- cursor: payload.cursor,
134731
- limit: payload.limit
134732
- });
135115
+ const pathParams = {
135116
+ job_id: encodeSimple("job_id", payload.job_id, {
135117
+ explode: false,
135118
+ charEncoding: "percent"
135119
+ })
135120
+ };
135121
+ const path = pathToFunc("/api/v1/serving/finetune-jobs/{job_id}/metrics")(pathParams);
134733
135122
  const headers = new Headers(compactMap({
134734
135123
  Accept: "application/json",
134735
135124
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -134740,7 +135129,7 @@ async function $do307(client, request, options) {
134740
135129
  const context = {
134741
135130
  options: client._options,
134742
135131
  baseURL: options?.serverURL ?? client._baseURL ?? "",
134743
- operationID: "listFinetuneJobs",
135132
+ operationID: "getFinetuneMetrics",
134744
135133
  oAuth2Scopes: null,
134745
135134
  resolvedSecurity: requestSecurity,
134746
135135
  securitySource: client._options.bearerAuth,
@@ -134762,7 +135151,6 @@ async function $do307(client, request, options) {
134762
135151
  baseURL: options?.serverURL,
134763
135152
  path,
134764
135153
  headers,
134765
- query,
134766
135154
  body,
134767
135155
  userAgent: client._options.userAgent,
134768
135156
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -134784,13 +135172,14 @@ async function $do307(client, request, options) {
134784
135172
  const responseFields = {
134785
135173
  HttpMeta: { Response: response, Request: req }
134786
135174
  };
134787
- const [result] = await match(json(200, PageFinetuneJob$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135175
+ const [result] = await match(json(200, arrayType(TrainingMetricPoint$inboundSchema)), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134788
135176
  if (!result.ok) {
134789
135177
  return [result, { status: "complete", request: req, response }];
134790
135178
  }
134791
135179
  return [result, { status: "complete", request: req, response }];
134792
135180
  }
134793
- var init_servingFinetuneJobsList = __esm(() => {
135181
+ var init_servingFinetuneJobsGetMetrics = __esm(() => {
135182
+ init_esm();
134794
135183
  init_encodings();
134795
135184
  init_http();
134796
135185
  init_matchers();
@@ -134804,23 +135193,23 @@ var init_servingFinetuneJobsList = __esm(() => {
134804
135193
  init_async();
134805
135194
  });
134806
135195
 
134807
- // src/mcp-server/tools/servingFinetuneJobsList.ts
134808
- var args298, tool$servingFinetuneJobsList;
134809
- var init_servingFinetuneJobsList2 = __esm(() => {
134810
- init_servingFinetuneJobsList();
135196
+ // src/mcp-server/tools/servingFinetuneJobsGetMetrics.ts
135197
+ var args298, tool$servingFinetuneJobsGetMetrics;
135198
+ var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
135199
+ init_servingFinetuneJobsGetMetrics();
134811
135200
  init_operations();
134812
135201
  init_tools();
134813
135202
  args298 = {
134814
- request: ListFinetuneJobsRequest$inboundSchema
135203
+ request: GetFinetuneMetricsRequest$inboundSchema
134815
135204
  };
134816
- tool$servingFinetuneJobsList = {
134817
- name: "serving-finetune-jobs-list",
134818
- description: `List fine-tune jobs
135205
+ tool$servingFinetuneJobsGetMetrics = {
135206
+ name: "serving-finetune-jobs-get-metrics",
135207
+ description: `Training metrics
134819
135208
 
134820
- List your fine-tune jobs.`,
135209
+ Return the training metric series (loss, learning rate, ...) pushed by the training run.`,
134821
135210
  args: args298,
134822
135211
  tool: async (client, args299, ctx) => {
134823
- const [result, apiCall] = await servingFinetuneJobsList(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135212
+ const [result, apiCall] = await servingFinetuneJobsGetMetrics(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134824
135213
  if (!result.ok) {
134825
135214
  return {
134826
135215
  content: [{ type: "text", text: result.error.message }],
@@ -134833,24 +135222,22 @@ List your fine-tune jobs.`,
134833
135222
  };
134834
135223
  });
134835
135224
 
134836
- // src/funcs/servingFinetuneJobsListCheckpoints.ts
134837
- function servingFinetuneJobsListCheckpoints(client, request, options) {
135225
+ // src/funcs/servingFinetuneJobsList.ts
135226
+ function servingFinetuneJobsList(client, request, options) {
134838
135227
  return new APIPromise($do308(client, request, options));
134839
135228
  }
134840
135229
  async function $do308(client, request, options) {
134841
- const parsed = safeParse4(request, (value) => ListFinetuneCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
135230
+ const parsed = safeParse4(request, (value) => ListFinetuneJobsRequest$outboundSchema.parse(value), "Input validation failed");
134842
135231
  if (!parsed.ok) {
134843
135232
  return [parsed, { status: "invalid" }];
134844
135233
  }
134845
135234
  const payload = parsed.value;
134846
135235
  const body = null;
134847
- const pathParams = {
134848
- job_id: encodeSimple("job_id", payload.job_id, {
134849
- explode: false,
134850
- charEncoding: "percent"
134851
- })
134852
- };
134853
- const path = pathToFunc("/api/v1/serving/finetune-jobs/{job_id}/checkpoints")(pathParams);
135236
+ const path = pathToFunc("/api/v1/serving/finetune-jobs")();
135237
+ const query = encodeFormQuery({
135238
+ cursor: payload.cursor,
135239
+ limit: payload.limit
135240
+ });
134854
135241
  const headers = new Headers(compactMap({
134855
135242
  Accept: "application/json",
134856
135243
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -134861,7 +135248,7 @@ async function $do308(client, request, options) {
134861
135248
  const context = {
134862
135249
  options: client._options,
134863
135250
  baseURL: options?.serverURL ?? client._baseURL ?? "",
134864
- operationID: "listFinetuneCheckpoints",
135251
+ operationID: "listFinetuneJobs",
134865
135252
  oAuth2Scopes: null,
134866
135253
  resolvedSecurity: requestSecurity,
134867
135254
  securitySource: client._options.bearerAuth,
@@ -134883,6 +135270,7 @@ async function $do308(client, request, options) {
134883
135270
  baseURL: options?.serverURL,
134884
135271
  path,
134885
135272
  headers,
135273
+ query,
134886
135274
  body,
134887
135275
  userAgent: client._options.userAgent,
134888
135276
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -134904,14 +135292,13 @@ async function $do308(client, request, options) {
134904
135292
  const responseFields = {
134905
135293
  HttpMeta: { Response: response, Request: req }
134906
135294
  };
134907
- const [result] = await match(json(200, arrayType(Checkpoint$inboundSchema)), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135295
+ const [result] = await match(json(200, PageFinetuneJob$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134908
135296
  if (!result.ok) {
134909
135297
  return [result, { status: "complete", request: req, response }];
134910
135298
  }
134911
135299
  return [result, { status: "complete", request: req, response }];
134912
135300
  }
134913
- var init_servingFinetuneJobsListCheckpoints = __esm(() => {
134914
- init_esm();
135301
+ var init_servingFinetuneJobsList = __esm(() => {
134915
135302
  init_encodings();
134916
135303
  init_http();
134917
135304
  init_matchers();
@@ -134925,23 +135312,23 @@ var init_servingFinetuneJobsListCheckpoints = __esm(() => {
134925
135312
  init_async();
134926
135313
  });
134927
135314
 
134928
- // src/mcp-server/tools/servingFinetuneJobsListCheckpoints.ts
134929
- var args299, tool$servingFinetuneJobsListCheckpoints;
134930
- var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
134931
- init_servingFinetuneJobsListCheckpoints();
135315
+ // src/mcp-server/tools/servingFinetuneJobsList.ts
135316
+ var args299, tool$servingFinetuneJobsList;
135317
+ var init_servingFinetuneJobsList2 = __esm(() => {
135318
+ init_servingFinetuneJobsList();
134932
135319
  init_operations();
134933
135320
  init_tools();
134934
135321
  args299 = {
134935
- request: ListFinetuneCheckpointsRequest$inboundSchema
135322
+ request: ListFinetuneJobsRequest$inboundSchema
134936
135323
  };
134937
- tool$servingFinetuneJobsListCheckpoints = {
134938
- name: "serving-finetune-jobs-list-checkpoints",
134939
- description: `List output checkpoints
135324
+ tool$servingFinetuneJobsList = {
135325
+ name: "serving-finetune-jobs-list",
135326
+ description: `List fine-tune jobs
134940
135327
 
134941
- List the checkpoints a fine-tune job has produced.`,
135328
+ List your fine-tune jobs.`,
134942
135329
  args: args299,
134943
135330
  tool: async (client, args300, ctx) => {
134944
- const [result, apiCall] = await servingFinetuneJobsListCheckpoints(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135331
+ const [result, apiCall] = await servingFinetuneJobsList(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134945
135332
  if (!result.ok) {
134946
135333
  return {
134947
135334
  content: [{ type: "text", text: result.error.message }],
@@ -134954,24 +135341,24 @@ List the checkpoints a fine-tune job has produced.`,
134954
135341
  };
134955
135342
  });
134956
135343
 
134957
- // src/funcs/servingImagesDelete.ts
134958
- function servingImagesDelete(client, request, options) {
135344
+ // src/funcs/servingFinetuneJobsListCheckpoints.ts
135345
+ function servingFinetuneJobsListCheckpoints(client, request, options) {
134959
135346
  return new APIPromise($do309(client, request, options));
134960
135347
  }
134961
135348
  async function $do309(client, request, options) {
134962
- const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
135349
+ const parsed = safeParse4(request, (value) => ListFinetuneCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
134963
135350
  if (!parsed.ok) {
134964
135351
  return [parsed, { status: "invalid" }];
134965
135352
  }
134966
135353
  const payload = parsed.value;
134967
135354
  const body = null;
134968
135355
  const pathParams = {
134969
- image_id: encodeSimple("image_id", payload.image_id, {
135356
+ job_id: encodeSimple("job_id", payload.job_id, {
134970
135357
  explode: false,
134971
135358
  charEncoding: "percent"
134972
135359
  })
134973
135360
  };
134974
- const path = pathToFunc("/api/v1/serving/images/{image_id}")(pathParams);
135361
+ const path = pathToFunc("/api/v1/serving/finetune-jobs/{job_id}/checkpoints")(pathParams);
134975
135362
  const headers = new Headers(compactMap({
134976
135363
  Accept: "application/json",
134977
135364
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -134982,7 +135369,7 @@ async function $do309(client, request, options) {
134982
135369
  const context = {
134983
135370
  options: client._options,
134984
135371
  baseURL: options?.serverURL ?? client._baseURL ?? "",
134985
- operationID: "deleteImage",
135372
+ operationID: "listFinetuneCheckpoints",
134986
135373
  oAuth2Scopes: null,
134987
135374
  resolvedSecurity: requestSecurity,
134988
135375
  securitySource: client._options.bearerAuth,
@@ -135000,7 +135387,7 @@ async function $do309(client, request, options) {
135000
135387
  };
135001
135388
  const requestRes = client._createRequest(context, {
135002
135389
  security: requestSecurity,
135003
- method: "DELETE",
135390
+ method: "GET",
135004
135391
  baseURL: options?.serverURL,
135005
135392
  path,
135006
135393
  headers,
@@ -135025,13 +135412,13 @@ async function $do309(client, request, options) {
135025
135412
  const responseFields = {
135026
135413
  HttpMeta: { Response: response, Request: req }
135027
135414
  };
135028
- const [result] = await match(nil(204, voidType()), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135415
+ const [result] = await match(json(200, arrayType(Checkpoint$inboundSchema)), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135029
135416
  if (!result.ok) {
135030
135417
  return [result, { status: "complete", request: req, response }];
135031
135418
  }
135032
135419
  return [result, { status: "complete", request: req, response }];
135033
135420
  }
135034
- var init_servingImagesDelete = __esm(() => {
135421
+ var init_servingFinetuneJobsListCheckpoints = __esm(() => {
135035
135422
  init_esm();
135036
135423
  init_encodings();
135037
135424
  init_http();
@@ -135040,45 +135427,47 @@ var init_servingImagesDelete = __esm(() => {
135040
135427
  init_schemas4();
135041
135428
  init_security();
135042
135429
  init_url();
135430
+ init_components();
135043
135431
  init_errors4();
135044
135432
  init_operations();
135045
135433
  init_async();
135046
135434
  });
135047
135435
 
135048
- // src/mcp-server/tools/servingImagesDelete.ts
135049
- var args300, tool$servingImagesDelete;
135050
- var init_servingImagesDelete2 = __esm(() => {
135051
- init_servingImagesDelete();
135436
+ // src/mcp-server/tools/servingFinetuneJobsListCheckpoints.ts
135437
+ var args300, tool$servingFinetuneJobsListCheckpoints;
135438
+ var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
135439
+ init_servingFinetuneJobsListCheckpoints();
135052
135440
  init_operations();
135053
135441
  init_tools();
135054
135442
  args300 = {
135055
- request: DeleteImageRequest$inboundSchema
135443
+ request: ListFinetuneCheckpointsRequest$inboundSchema
135056
135444
  };
135057
- tool$servingImagesDelete = {
135058
- name: "serving-images-delete",
135059
- description: `Delete an image
135445
+ tool$servingFinetuneJobsListCheckpoints = {
135446
+ name: "serving-finetune-jobs-list-checkpoints",
135447
+ description: `List output checkpoints
135060
135448
 
135061
- Delete a container image.`,
135449
+ List the checkpoints a fine-tune job has produced.`,
135062
135450
  args: args300,
135063
135451
  tool: async (client, args301, ctx) => {
135064
- const [result, apiCall] = await servingImagesDelete(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135452
+ const [result, apiCall] = await servingFinetuneJobsListCheckpoints(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135065
135453
  if (!result.ok) {
135066
135454
  return {
135067
135455
  content: [{ type: "text", text: result.error.message }],
135068
135456
  isError: true
135069
135457
  };
135070
135458
  }
135071
- return formatResult(undefined, apiCall);
135459
+ const value = result.value;
135460
+ return formatResult(value, apiCall);
135072
135461
  }
135073
135462
  };
135074
135463
  });
135075
135464
 
135076
- // src/funcs/servingImagesGet.ts
135077
- function servingImagesGet(client, request, options) {
135465
+ // src/funcs/servingImagesDelete.ts
135466
+ function servingImagesDelete(client, request, options) {
135078
135467
  return new APIPromise($do310(client, request, options));
135079
135468
  }
135080
135469
  async function $do310(client, request, options) {
135081
- const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
135470
+ const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
135082
135471
  if (!parsed.ok) {
135083
135472
  return [parsed, { status: "invalid" }];
135084
135473
  }
@@ -135101,7 +135490,7 @@ async function $do310(client, request, options) {
135101
135490
  const context = {
135102
135491
  options: client._options,
135103
135492
  baseURL: options?.serverURL ?? client._baseURL ?? "",
135104
- operationID: "getImage",
135493
+ operationID: "deleteImage",
135105
135494
  oAuth2Scopes: null,
135106
135495
  resolvedSecurity: requestSecurity,
135107
135496
  securitySource: client._options.bearerAuth,
@@ -135119,7 +135508,7 @@ async function $do310(client, request, options) {
135119
135508
  };
135120
135509
  const requestRes = client._createRequest(context, {
135121
135510
  security: requestSecurity,
135122
- method: "GET",
135511
+ method: "DELETE",
135123
135512
  baseURL: options?.serverURL,
135124
135513
  path,
135125
135514
  headers,
@@ -135144,13 +135533,14 @@ async function $do310(client, request, options) {
135144
135533
  const responseFields = {
135145
135534
  HttpMeta: { Response: response, Request: req }
135146
135535
  };
135147
- const [result] = await match(json(200, Image$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135536
+ const [result] = await match(nil(204, voidType()), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135148
135537
  if (!result.ok) {
135149
135538
  return [result, { status: "complete", request: req, response }];
135150
135539
  }
135151
135540
  return [result, { status: "complete", request: req, response }];
135152
135541
  }
135153
- var init_servingImagesGet = __esm(() => {
135542
+ var init_servingImagesDelete = __esm(() => {
135543
+ init_esm();
135154
135544
  init_encodings();
135155
135545
  init_http();
135156
135546
  init_matchers();
@@ -135158,57 +135548,57 @@ var init_servingImagesGet = __esm(() => {
135158
135548
  init_schemas4();
135159
135549
  init_security();
135160
135550
  init_url();
135161
- init_components();
135162
135551
  init_errors4();
135163
135552
  init_operations();
135164
135553
  init_async();
135165
135554
  });
135166
135555
 
135167
- // src/mcp-server/tools/servingImagesGet.ts
135168
- var args301, tool$servingImagesGet;
135169
- var init_servingImagesGet2 = __esm(() => {
135170
- init_servingImagesGet();
135556
+ // src/mcp-server/tools/servingImagesDelete.ts
135557
+ var args301, tool$servingImagesDelete;
135558
+ var init_servingImagesDelete2 = __esm(() => {
135559
+ init_servingImagesDelete();
135171
135560
  init_operations();
135172
135561
  init_tools();
135173
135562
  args301 = {
135174
- request: GetImageRequest$inboundSchema
135563
+ request: DeleteImageRequest$inboundSchema
135175
135564
  };
135176
- tool$servingImagesGet = {
135177
- name: "serving-images-get",
135178
- description: `Get an image
135565
+ tool$servingImagesDelete = {
135566
+ name: "serving-images-delete",
135567
+ description: `Delete an image
135179
135568
 
135180
- Retrieve an image, including its build status.`,
135569
+ Delete a container image.`,
135181
135570
  args: args301,
135182
135571
  tool: async (client, args302, ctx) => {
135183
- const [result, apiCall] = await servingImagesGet(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135572
+ const [result, apiCall] = await servingImagesDelete(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135184
135573
  if (!result.ok) {
135185
135574
  return {
135186
135575
  content: [{ type: "text", text: result.error.message }],
135187
135576
  isError: true
135188
135577
  };
135189
135578
  }
135190
- const value = result.value;
135191
- return formatResult(value, apiCall);
135579
+ return formatResult(undefined, apiCall);
135192
135580
  }
135193
135581
  };
135194
135582
  });
135195
135583
 
135196
- // src/funcs/servingImagesList.ts
135197
- function servingImagesList(client, request, options) {
135584
+ // src/funcs/servingImagesGet.ts
135585
+ function servingImagesGet(client, request, options) {
135198
135586
  return new APIPromise($do311(client, request, options));
135199
135587
  }
135200
135588
  async function $do311(client, request, options) {
135201
- const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
135589
+ const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
135202
135590
  if (!parsed.ok) {
135203
135591
  return [parsed, { status: "invalid" }];
135204
135592
  }
135205
135593
  const payload = parsed.value;
135206
135594
  const body = null;
135207
- const path = pathToFunc("/api/v1/serving/images")();
135208
- const query = encodeFormQuery({
135209
- cursor: payload.cursor,
135210
- limit: payload.limit
135211
- });
135595
+ const pathParams = {
135596
+ image_id: encodeSimple("image_id", payload.image_id, {
135597
+ explode: false,
135598
+ charEncoding: "percent"
135599
+ })
135600
+ };
135601
+ const path = pathToFunc("/api/v1/serving/images/{image_id}")(pathParams);
135212
135602
  const headers = new Headers(compactMap({
135213
135603
  Accept: "application/json",
135214
135604
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -135219,7 +135609,7 @@ async function $do311(client, request, options) {
135219
135609
  const context = {
135220
135610
  options: client._options,
135221
135611
  baseURL: options?.serverURL ?? client._baseURL ?? "",
135222
- operationID: "listImages",
135612
+ operationID: "getImage",
135223
135613
  oAuth2Scopes: null,
135224
135614
  resolvedSecurity: requestSecurity,
135225
135615
  securitySource: client._options.bearerAuth,
@@ -135241,7 +135631,6 @@ async function $do311(client, request, options) {
135241
135631
  baseURL: options?.serverURL,
135242
135632
  path,
135243
135633
  headers,
135244
- query,
135245
135634
  body,
135246
135635
  userAgent: client._options.userAgent,
135247
135636
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -135263,13 +135652,13 @@ async function $do311(client, request, options) {
135263
135652
  const responseFields = {
135264
135653
  HttpMeta: { Response: response, Request: req }
135265
135654
  };
135266
- const [result] = await match(json(200, PageImage$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135655
+ const [result] = await match(json(200, Image$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135267
135656
  if (!result.ok) {
135268
135657
  return [result, { status: "complete", request: req, response }];
135269
135658
  }
135270
135659
  return [result, { status: "complete", request: req, response }];
135271
135660
  }
135272
- var init_servingImagesList = __esm(() => {
135661
+ var init_servingImagesGet = __esm(() => {
135273
135662
  init_encodings();
135274
135663
  init_http();
135275
135664
  init_matchers();
@@ -135283,23 +135672,23 @@ var init_servingImagesList = __esm(() => {
135283
135672
  init_async();
135284
135673
  });
135285
135674
 
135286
- // src/mcp-server/tools/servingImagesList.ts
135287
- var args302, tool$servingImagesList;
135288
- var init_servingImagesList2 = __esm(() => {
135289
- init_servingImagesList();
135675
+ // src/mcp-server/tools/servingImagesGet.ts
135676
+ var args302, tool$servingImagesGet;
135677
+ var init_servingImagesGet2 = __esm(() => {
135678
+ init_servingImagesGet();
135290
135679
  init_operations();
135291
135680
  init_tools();
135292
135681
  args302 = {
135293
- request: ListImagesRequest$inboundSchema
135682
+ request: GetImageRequest$inboundSchema
135294
135683
  };
135295
- tool$servingImagesList = {
135296
- name: "serving-images-list",
135297
- description: `List images
135684
+ tool$servingImagesGet = {
135685
+ name: "serving-images-get",
135686
+ description: `Get an image
135298
135687
 
135299
- List your container images.`,
135688
+ Retrieve an image, including its build status.`,
135300
135689
  args: args302,
135301
135690
  tool: async (client, args303, ctx) => {
135302
- const [result, apiCall] = await servingImagesList(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135691
+ const [result, apiCall] = await servingImagesGet(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135303
135692
  if (!result.ok) {
135304
135693
  return {
135305
135694
  content: [{ type: "text", text: result.error.message }],
@@ -135312,20 +135701,23 @@ List your container images.`,
135312
135701
  };
135313
135702
  });
135314
135703
 
135315
- // src/funcs/servingImagesRegister.ts
135316
- function servingImagesRegister(client, request, options) {
135704
+ // src/funcs/servingImagesList.ts
135705
+ function servingImagesList(client, request, options) {
135317
135706
  return new APIPromise($do312(client, request, options));
135318
135707
  }
135319
135708
  async function $do312(client, request, options) {
135320
- const parsed = safeParse4(request, (value) => RegisterImageRequest$outboundSchema.parse(value), "Input validation failed");
135709
+ const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
135321
135710
  if (!parsed.ok) {
135322
135711
  return [parsed, { status: "invalid" }];
135323
135712
  }
135324
135713
  const payload = parsed.value;
135325
- const body = encodeJSON("body", payload.ImageRegister, { explode: true });
135714
+ const body = null;
135326
135715
  const path = pathToFunc("/api/v1/serving/images")();
135716
+ const query = encodeFormQuery({
135717
+ cursor: payload.cursor,
135718
+ limit: payload.limit
135719
+ });
135327
135720
  const headers = new Headers(compactMap({
135328
- "Content-Type": "application/json",
135329
135721
  Accept: "application/json",
135330
135722
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
135331
135723
  }));
@@ -135335,7 +135727,7 @@ async function $do312(client, request, options) {
135335
135727
  const context = {
135336
135728
  options: client._options,
135337
135729
  baseURL: options?.serverURL ?? client._baseURL ?? "",
135338
- operationID: "registerImage",
135730
+ operationID: "listImages",
135339
135731
  oAuth2Scopes: null,
135340
135732
  resolvedSecurity: requestSecurity,
135341
135733
  securitySource: client._options.bearerAuth,
@@ -135353,10 +135745,11 @@ async function $do312(client, request, options) {
135353
135745
  };
135354
135746
  const requestRes = client._createRequest(context, {
135355
135747
  security: requestSecurity,
135356
- method: "POST",
135748
+ method: "GET",
135357
135749
  baseURL: options?.serverURL,
135358
135750
  path,
135359
135751
  headers,
135752
+ query,
135360
135753
  body,
135361
135754
  userAgent: client._options.userAgent,
135362
135755
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -135378,13 +135771,13 @@ async function $do312(client, request, options) {
135378
135771
  const responseFields = {
135379
135772
  HttpMeta: { Response: response, Request: req }
135380
135773
  };
135381
- const [result] = await match(json(201, Image$inboundSchema), jsonErr([403, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135774
+ const [result] = await match(json(200, PageImage$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135382
135775
  if (!result.ok) {
135383
135776
  return [result, { status: "complete", request: req, response }];
135384
135777
  }
135385
135778
  return [result, { status: "complete", request: req, response }];
135386
135779
  }
135387
- var init_servingImagesRegister = __esm(() => {
135780
+ var init_servingImagesList = __esm(() => {
135388
135781
  init_encodings();
135389
135782
  init_http();
135390
135783
  init_matchers();
@@ -135398,23 +135791,23 @@ var init_servingImagesRegister = __esm(() => {
135398
135791
  init_async();
135399
135792
  });
135400
135793
 
135401
- // src/mcp-server/tools/servingImagesRegister.ts
135402
- var args303, tool$servingImagesRegister;
135403
- var init_servingImagesRegister2 = __esm(() => {
135404
- init_servingImagesRegister();
135794
+ // src/mcp-server/tools/servingImagesList.ts
135795
+ var args303, tool$servingImagesList;
135796
+ var init_servingImagesList2 = __esm(() => {
135797
+ init_servingImagesList();
135405
135798
  init_operations();
135406
135799
  init_tools();
135407
135800
  args303 = {
135408
- request: RegisterImageRequest$inboundSchema
135801
+ request: ListImagesRequest$inboundSchema
135409
135802
  };
135410
- tool$servingImagesRegister = {
135411
- name: "serving-images-register",
135412
- description: `Register a container image
135803
+ tool$servingImagesList = {
135804
+ name: "serving-images-list",
135805
+ description: `List images
135413
135806
 
135414
- Register a container image by reference so it can back a BYO deployment or a recipe. (Data upload and build-with-weight-baking are future additions.)`,
135807
+ List your container images.`,
135415
135808
  args: args303,
135416
135809
  tool: async (client, args304, ctx) => {
135417
- const [result, apiCall] = await servingImagesRegister(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135810
+ const [result, apiCall] = await servingImagesList(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135418
135811
  if (!result.ok) {
135419
135812
  return {
135420
135813
  content: [{ type: "text", text: result.error.message }],
@@ -135427,25 +135820,20 @@ Register a container image by reference so it can back a BYO deployment or a rec
135427
135820
  };
135428
135821
  });
135429
135822
 
135430
- // src/funcs/servingModelsDelete.ts
135431
- function servingModelsDelete(client, request, options) {
135823
+ // src/funcs/servingImagesRegister.ts
135824
+ function servingImagesRegister(client, request, options) {
135432
135825
  return new APIPromise($do313(client, request, options));
135433
135826
  }
135434
135827
  async function $do313(client, request, options) {
135435
- const parsed = safeParse4(request, (value) => DeleteModelRequest$outboundSchema.parse(value), "Input validation failed");
135828
+ const parsed = safeParse4(request, (value) => RegisterImageRequest$outboundSchema.parse(value), "Input validation failed");
135436
135829
  if (!parsed.ok) {
135437
135830
  return [parsed, { status: "invalid" }];
135438
135831
  }
135439
135832
  const payload = parsed.value;
135440
- const body = null;
135441
- const pathParams = {
135442
- model_id: encodeSimple("model_id", payload.model_id, {
135443
- explode: false,
135444
- charEncoding: "percent"
135445
- })
135446
- };
135447
- const path = pathToFunc("/api/v1/serving/models/{model_id}")(pathParams);
135833
+ const body = encodeJSON("body", payload.ImageRegister, { explode: true });
135834
+ const path = pathToFunc("/api/v1/serving/images")();
135448
135835
  const headers = new Headers(compactMap({
135836
+ "Content-Type": "application/json",
135449
135837
  Accept: "application/json",
135450
135838
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
135451
135839
  }));
@@ -135455,7 +135843,7 @@ async function $do313(client, request, options) {
135455
135843
  const context = {
135456
135844
  options: client._options,
135457
135845
  baseURL: options?.serverURL ?? client._baseURL ?? "",
135458
- operationID: "deleteModel",
135846
+ operationID: "registerImage",
135459
135847
  oAuth2Scopes: null,
135460
135848
  resolvedSecurity: requestSecurity,
135461
135849
  securitySource: client._options.bearerAuth,
@@ -135473,7 +135861,7 @@ async function $do313(client, request, options) {
135473
135861
  };
135474
135862
  const requestRes = client._createRequest(context, {
135475
135863
  security: requestSecurity,
135476
- method: "DELETE",
135864
+ method: "POST",
135477
135865
  baseURL: options?.serverURL,
135478
135866
  path,
135479
135867
  headers,
@@ -135498,14 +135886,13 @@ async function $do313(client, request, options) {
135498
135886
  const responseFields = {
135499
135887
  HttpMeta: { Response: response, Request: req }
135500
135888
  };
135501
- const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135889
+ const [result] = await match(json(201, Image$inboundSchema), jsonErr([403, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135502
135890
  if (!result.ok) {
135503
135891
  return [result, { status: "complete", request: req, response }];
135504
135892
  }
135505
135893
  return [result, { status: "complete", request: req, response }];
135506
135894
  }
135507
- var init_servingModelsDelete = __esm(() => {
135508
- init_esm();
135895
+ var init_servingImagesRegister = __esm(() => {
135509
135896
  init_encodings();
135510
135897
  init_http();
135511
135898
  init_matchers();
@@ -135513,45 +135900,166 @@ var init_servingModelsDelete = __esm(() => {
135513
135900
  init_schemas4();
135514
135901
  init_security();
135515
135902
  init_url();
135903
+ init_components();
135516
135904
  init_errors4();
135517
135905
  init_operations();
135518
135906
  init_async();
135519
135907
  });
135520
135908
 
135521
- // src/mcp-server/tools/servingModelsDelete.ts
135522
- var args304, tool$servingModelsDelete;
135523
- var init_servingModelsDelete2 = __esm(() => {
135524
- init_servingModelsDelete();
135909
+ // src/mcp-server/tools/servingImagesRegister.ts
135910
+ var args304, tool$servingImagesRegister;
135911
+ var init_servingImagesRegister2 = __esm(() => {
135912
+ init_servingImagesRegister();
135525
135913
  init_operations();
135526
135914
  init_tools();
135527
135915
  args304 = {
135528
- request: DeleteModelRequest$inboundSchema
135916
+ request: RegisterImageRequest$inboundSchema
135529
135917
  };
135530
- tool$servingModelsDelete = {
135531
- name: "serving-models-delete",
135532
- description: `Deregister a model
135918
+ tool$servingImagesRegister = {
135919
+ name: "serving-images-register",
135920
+ description: `Register a container image
135533
135921
 
135534
- Deregister a model from the catalog.`,
135922
+ Register a container image by reference so it can back a BYO deployment or a recipe. (Data upload and build-with-weight-baking are future additions.)`,
135535
135923
  args: args304,
135536
135924
  tool: async (client, args305, ctx) => {
135537
- const [result, apiCall] = await servingModelsDelete(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135925
+ const [result, apiCall] = await servingImagesRegister(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135538
135926
  if (!result.ok) {
135539
135927
  return {
135540
135928
  content: [{ type: "text", text: result.error.message }],
135541
135929
  isError: true
135542
135930
  };
135543
135931
  }
135544
- return formatResult(undefined, apiCall);
135932
+ const value = result.value;
135933
+ return formatResult(value, apiCall);
135545
135934
  }
135546
135935
  };
135547
135936
  });
135548
135937
 
135549
- // src/funcs/servingModelsGet.ts
135550
- function servingModelsGet(client, request, options) {
135938
+ // src/funcs/servingModelsDelete.ts
135939
+ function servingModelsDelete(client, request, options) {
135551
135940
  return new APIPromise($do314(client, request, options));
135552
135941
  }
135553
135942
  async function $do314(client, request, options) {
135554
- const parsed = safeParse4(request, (value) => GetServingModelRequest$outboundSchema.parse(value), "Input validation failed");
135943
+ const parsed = safeParse4(request, (value) => DeleteModelRequest$outboundSchema.parse(value), "Input validation failed");
135944
+ if (!parsed.ok) {
135945
+ return [parsed, { status: "invalid" }];
135946
+ }
135947
+ const payload = parsed.value;
135948
+ const body = null;
135949
+ const pathParams = {
135950
+ model_id: encodeSimple("model_id", payload.model_id, {
135951
+ explode: false,
135952
+ charEncoding: "percent"
135953
+ })
135954
+ };
135955
+ const path = pathToFunc("/api/v1/serving/models/{model_id}")(pathParams);
135956
+ const headers = new Headers(compactMap({
135957
+ Accept: "application/json",
135958
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
135959
+ }));
135960
+ const secConfig = await extractSecurity(client._options.bearerAuth);
135961
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
135962
+ const requestSecurity = resolveGlobalSecurity(securityInput);
135963
+ const context = {
135964
+ options: client._options,
135965
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
135966
+ operationID: "deleteModel",
135967
+ oAuth2Scopes: null,
135968
+ resolvedSecurity: requestSecurity,
135969
+ securitySource: client._options.bearerAuth,
135970
+ retryConfig: options?.retries || client._options.retryConfig || {
135971
+ strategy: "backoff",
135972
+ backoff: {
135973
+ initialInterval: 500,
135974
+ maxInterval: 5000,
135975
+ exponent: 1.5,
135976
+ maxElapsedTime: 15000
135977
+ },
135978
+ retryConnectionErrors: true
135979
+ },
135980
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
135981
+ };
135982
+ const requestRes = client._createRequest(context, {
135983
+ security: requestSecurity,
135984
+ method: "DELETE",
135985
+ baseURL: options?.serverURL,
135986
+ path,
135987
+ headers,
135988
+ body,
135989
+ userAgent: client._options.userAgent,
135990
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
135991
+ }, options);
135992
+ if (!requestRes.ok) {
135993
+ return [requestRes, { status: "invalid" }];
135994
+ }
135995
+ const req = requestRes.value;
135996
+ const doResult = await client._do(req, {
135997
+ context,
135998
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
135999
+ retryConfig: context.retryConfig,
136000
+ retryCodes: context.retryCodes
136001
+ });
136002
+ if (!doResult.ok) {
136003
+ return [doResult, { status: "request-error", request: req }];
136004
+ }
136005
+ const response = doResult.value;
136006
+ const responseFields = {
136007
+ HttpMeta: { Response: response, Request: req }
136008
+ };
136009
+ const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
136010
+ if (!result.ok) {
136011
+ return [result, { status: "complete", request: req, response }];
136012
+ }
136013
+ return [result, { status: "complete", request: req, response }];
136014
+ }
136015
+ var init_servingModelsDelete = __esm(() => {
136016
+ init_esm();
136017
+ init_encodings();
136018
+ init_http();
136019
+ init_matchers();
136020
+ init_primitives();
136021
+ init_schemas4();
136022
+ init_security();
136023
+ init_url();
136024
+ init_errors4();
136025
+ init_operations();
136026
+ init_async();
136027
+ });
136028
+
136029
+ // src/mcp-server/tools/servingModelsDelete.ts
136030
+ var args305, tool$servingModelsDelete;
136031
+ var init_servingModelsDelete2 = __esm(() => {
136032
+ init_servingModelsDelete();
136033
+ init_operations();
136034
+ init_tools();
136035
+ args305 = {
136036
+ request: DeleteModelRequest$inboundSchema
136037
+ };
136038
+ tool$servingModelsDelete = {
136039
+ name: "serving-models-delete",
136040
+ description: `Deregister a model
136041
+
136042
+ Deregister a model from the catalog.`,
136043
+ args: args305,
136044
+ tool: async (client, args306, ctx) => {
136045
+ const [result, apiCall] = await servingModelsDelete(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136046
+ if (!result.ok) {
136047
+ return {
136048
+ content: [{ type: "text", text: result.error.message }],
136049
+ isError: true
136050
+ };
136051
+ }
136052
+ return formatResult(undefined, apiCall);
136053
+ }
136054
+ };
136055
+ });
136056
+
136057
+ // src/funcs/servingModelsGet.ts
136058
+ function servingModelsGet(client, request, options) {
136059
+ return new APIPromise($do315(client, request, options));
136060
+ }
136061
+ async function $do315(client, request, options) {
136062
+ const parsed = safeParse4(request, (value) => GetServingModelRequest$outboundSchema.parse(value), "Input validation failed");
135555
136063
  if (!parsed.ok) {
135556
136064
  return [parsed, { status: "invalid" }];
135557
136065
  }
@@ -135638,12 +136146,12 @@ var init_servingModelsGet = __esm(() => {
135638
136146
  });
135639
136147
 
135640
136148
  // src/mcp-server/tools/servingModelsGet.ts
135641
- var args305, tool$servingModelsGet;
136149
+ var args306, tool$servingModelsGet;
135642
136150
  var init_servingModelsGet2 = __esm(() => {
135643
136151
  init_servingModelsGet();
135644
136152
  init_operations();
135645
136153
  init_tools();
135646
- args305 = {
136154
+ args306 = {
135647
136155
  request: GetServingModelRequest$inboundSchema
135648
136156
  };
135649
136157
  tool$servingModelsGet = {
@@ -135651,9 +136159,9 @@ var init_servingModelsGet2 = __esm(() => {
135651
136159
  description: `Get a model
135652
136160
 
135653
136161
  Retrieve a registered model.`,
135654
- args: args305,
135655
- tool: async (client, args306, ctx) => {
135656
- const [result, apiCall] = await servingModelsGet(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136162
+ args: args306,
136163
+ tool: async (client, args307, ctx) => {
136164
+ const [result, apiCall] = await servingModelsGet(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135657
136165
  if (!result.ok) {
135658
136166
  return {
135659
136167
  content: [{ type: "text", text: result.error.message }],
@@ -135668,9 +136176,9 @@ Retrieve a registered model.`,
135668
136176
 
135669
136177
  // src/funcs/servingModelsList.ts
135670
136178
  function servingModelsList(client, request, options) {
135671
- return new APIPromise($do315(client, request, options));
136179
+ return new APIPromise($do316(client, request, options));
135672
136180
  }
135673
- async function $do315(client, request, options) {
136181
+ async function $do316(client, request, options) {
135674
136182
  const parsed = safeParse4(request, (value) => ListServingModelsRequest$outboundSchema.parse(value), "Input validation failed");
135675
136183
  if (!parsed.ok) {
135676
136184
  return [parsed, { status: "invalid" }];
@@ -135736,13 +136244,486 @@ async function $do315(client, request, options) {
135736
136244
  const responseFields = {
135737
136245
  HttpMeta: { Response: response, Request: req }
135738
136246
  };
135739
- const [result] = await match(json(200, PageModel$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
136247
+ const [result] = await match(json(200, PageModel$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
136248
+ if (!result.ok) {
136249
+ return [result, { status: "complete", request: req, response }];
136250
+ }
136251
+ return [result, { status: "complete", request: req, response }];
136252
+ }
136253
+ var init_servingModelsList = __esm(() => {
136254
+ init_encodings();
136255
+ init_http();
136256
+ init_matchers();
136257
+ init_primitives();
136258
+ init_schemas4();
136259
+ init_security();
136260
+ init_url();
136261
+ init_components();
136262
+ init_errors4();
136263
+ init_operations();
136264
+ init_async();
136265
+ });
136266
+
136267
+ // src/mcp-server/tools/servingModelsList.ts
136268
+ var args307, tool$servingModelsList;
136269
+ var init_servingModelsList2 = __esm(() => {
136270
+ init_servingModelsList();
136271
+ init_operations();
136272
+ init_tools();
136273
+ args307 = {
136274
+ request: ListServingModelsRequest$inboundSchema
136275
+ };
136276
+ tool$servingModelsList = {
136277
+ name: "serving-models-list",
136278
+ description: `List models
136279
+
136280
+ List your registered models.`,
136281
+ args: args307,
136282
+ tool: async (client, args308, ctx) => {
136283
+ const [result, apiCall] = await servingModelsList(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136284
+ if (!result.ok) {
136285
+ return {
136286
+ content: [{ type: "text", text: result.error.message }],
136287
+ isError: true
136288
+ };
136289
+ }
136290
+ const value = result.value;
136291
+ return formatResult(value, apiCall);
136292
+ }
136293
+ };
136294
+ });
136295
+
136296
+ // src/funcs/servingModelsRegister.ts
136297
+ function servingModelsRegister(client, request, options) {
136298
+ return new APIPromise($do317(client, request, options));
136299
+ }
136300
+ async function $do317(client, request, options) {
136301
+ const parsed = safeParse4(request, (value) => RegisterModelRequest$outboundSchema.parse(value), "Input validation failed");
136302
+ if (!parsed.ok) {
136303
+ return [parsed, { status: "invalid" }];
136304
+ }
136305
+ const payload = parsed.value;
136306
+ const body = encodeJSON("body", payload.ModelRegister, { explode: true });
136307
+ const path = pathToFunc("/api/v1/serving/models")();
136308
+ const headers = new Headers(compactMap({
136309
+ "Content-Type": "application/json",
136310
+ Accept: "application/json",
136311
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
136312
+ }));
136313
+ const secConfig = await extractSecurity(client._options.bearerAuth);
136314
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
136315
+ const requestSecurity = resolveGlobalSecurity(securityInput);
136316
+ const context = {
136317
+ options: client._options,
136318
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
136319
+ operationID: "registerModel",
136320
+ oAuth2Scopes: null,
136321
+ resolvedSecurity: requestSecurity,
136322
+ securitySource: client._options.bearerAuth,
136323
+ retryConfig: options?.retries || client._options.retryConfig || {
136324
+ strategy: "backoff",
136325
+ backoff: {
136326
+ initialInterval: 500,
136327
+ maxInterval: 5000,
136328
+ exponent: 1.5,
136329
+ maxElapsedTime: 15000
136330
+ },
136331
+ retryConnectionErrors: true
136332
+ },
136333
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
136334
+ };
136335
+ const requestRes = client._createRequest(context, {
136336
+ security: requestSecurity,
136337
+ method: "POST",
136338
+ baseURL: options?.serverURL,
136339
+ path,
136340
+ headers,
136341
+ body,
136342
+ userAgent: client._options.userAgent,
136343
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
136344
+ }, options);
136345
+ if (!requestRes.ok) {
136346
+ return [requestRes, { status: "invalid" }];
136347
+ }
136348
+ const req = requestRes.value;
136349
+ const doResult = await client._do(req, {
136350
+ context,
136351
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
136352
+ retryConfig: context.retryConfig,
136353
+ retryCodes: context.retryCodes
136354
+ });
136355
+ if (!doResult.ok) {
136356
+ return [doResult, { status: "request-error", request: req }];
136357
+ }
136358
+ const response = doResult.value;
136359
+ const responseFields = {
136360
+ HttpMeta: { Response: response, Request: req }
136361
+ };
136362
+ const [result] = await match(json(201, Model$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
136363
+ if (!result.ok) {
136364
+ return [result, { status: "complete", request: req, response }];
136365
+ }
136366
+ return [result, { status: "complete", request: req, response }];
136367
+ }
136368
+ var init_servingModelsRegister = __esm(() => {
136369
+ init_encodings();
136370
+ init_http();
136371
+ init_matchers();
136372
+ init_primitives();
136373
+ init_schemas4();
136374
+ init_security();
136375
+ init_url();
136376
+ init_components();
136377
+ init_errors4();
136378
+ init_operations();
136379
+ init_async();
136380
+ });
136381
+
136382
+ // src/mcp-server/tools/servingModelsRegister.ts
136383
+ var args308, tool$servingModelsRegister;
136384
+ var init_servingModelsRegister2 = __esm(() => {
136385
+ init_servingModelsRegister();
136386
+ init_operations();
136387
+ init_tools();
136388
+ args308 = {
136389
+ request: RegisterModelRequest$inboundSchema
136390
+ };
136391
+ tool$servingModelsRegister = {
136392
+ name: "serving-models-register",
136393
+ description: `Register a model
136394
+
136395
+ Register a model (from a source or volume) so it can be deployed or fine-tuned.`,
136396
+ args: args308,
136397
+ tool: async (client, args309, ctx) => {
136398
+ const [result, apiCall] = await servingModelsRegister(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136399
+ if (!result.ok) {
136400
+ return {
136401
+ content: [{ type: "text", text: result.error.message }],
136402
+ isError: true
136403
+ };
136404
+ }
136405
+ const value = result.value;
136406
+ return formatResult(value, apiCall);
136407
+ }
136408
+ };
136409
+ });
136410
+
136411
+ // src/funcs/servingRecipesDelete.ts
136412
+ function servingRecipesDelete(client, request, options) {
136413
+ return new APIPromise($do318(client, request, options));
136414
+ }
136415
+ async function $do318(client, request, options) {
136416
+ const parsed = safeParse4(request, (value) => DeleteServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
136417
+ if (!parsed.ok) {
136418
+ return [parsed, { status: "invalid" }];
136419
+ }
136420
+ const payload = parsed.value;
136421
+ const body = null;
136422
+ const pathParams = {
136423
+ name: encodeSimple("name", payload.name, {
136424
+ explode: false,
136425
+ charEncoding: "percent"
136426
+ })
136427
+ };
136428
+ const path = pathToFunc("/api/v1/serving/recipes/{name}")(pathParams);
136429
+ const headers = new Headers(compactMap({
136430
+ Accept: "application/json",
136431
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
136432
+ }));
136433
+ const secConfig = await extractSecurity(client._options.bearerAuth);
136434
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
136435
+ const requestSecurity = resolveGlobalSecurity(securityInput);
136436
+ const context = {
136437
+ options: client._options,
136438
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
136439
+ operationID: "deleteServingRecipe",
136440
+ oAuth2Scopes: null,
136441
+ resolvedSecurity: requestSecurity,
136442
+ securitySource: client._options.bearerAuth,
136443
+ retryConfig: options?.retries || client._options.retryConfig || {
136444
+ strategy: "backoff",
136445
+ backoff: {
136446
+ initialInterval: 500,
136447
+ maxInterval: 5000,
136448
+ exponent: 1.5,
136449
+ maxElapsedTime: 15000
136450
+ },
136451
+ retryConnectionErrors: true
136452
+ },
136453
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
136454
+ };
136455
+ const requestRes = client._createRequest(context, {
136456
+ security: requestSecurity,
136457
+ method: "DELETE",
136458
+ baseURL: options?.serverURL,
136459
+ path,
136460
+ headers,
136461
+ body,
136462
+ userAgent: client._options.userAgent,
136463
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
136464
+ }, options);
136465
+ if (!requestRes.ok) {
136466
+ return [requestRes, { status: "invalid" }];
136467
+ }
136468
+ const req = requestRes.value;
136469
+ const doResult = await client._do(req, {
136470
+ context,
136471
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
136472
+ retryConfig: context.retryConfig,
136473
+ retryCodes: context.retryCodes
136474
+ });
136475
+ if (!doResult.ok) {
136476
+ return [doResult, { status: "request-error", request: req }];
136477
+ }
136478
+ const response = doResult.value;
136479
+ const responseFields = {
136480
+ HttpMeta: { Response: response, Request: req }
136481
+ };
136482
+ const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
136483
+ if (!result.ok) {
136484
+ return [result, { status: "complete", request: req, response }];
136485
+ }
136486
+ return [result, { status: "complete", request: req, response }];
136487
+ }
136488
+ var init_servingRecipesDelete = __esm(() => {
136489
+ init_esm();
136490
+ init_encodings();
136491
+ init_http();
136492
+ init_matchers();
136493
+ init_primitives();
136494
+ init_schemas4();
136495
+ init_security();
136496
+ init_url();
136497
+ init_errors4();
136498
+ init_operations();
136499
+ init_async();
136500
+ });
136501
+
136502
+ // src/mcp-server/tools/servingRecipesDelete.ts
136503
+ var args309, tool$servingRecipesDelete;
136504
+ var init_servingRecipesDelete2 = __esm(() => {
136505
+ init_servingRecipesDelete();
136506
+ init_operations();
136507
+ init_tools();
136508
+ args309 = {
136509
+ request: DeleteServingRecipeRequest$inboundSchema
136510
+ };
136511
+ tool$servingRecipesDelete = {
136512
+ name: "serving-recipes-delete",
136513
+ description: `Delete a serving recipe
136514
+
136515
+ Remove a recipe from the catalog. Rejected while any live deployment's active revision references the recipe. Cluster administrators only.`,
136516
+ args: args309,
136517
+ tool: async (client, args310, ctx) => {
136518
+ const [result, apiCall] = await servingRecipesDelete(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136519
+ if (!result.ok) {
136520
+ return {
136521
+ content: [{ type: "text", text: result.error.message }],
136522
+ isError: true
136523
+ };
136524
+ }
136525
+ return formatResult(undefined, apiCall);
136526
+ }
136527
+ };
136528
+ });
136529
+
136530
+ // src/funcs/servingRecipesGet.ts
136531
+ function servingRecipesGet(client, request, options) {
136532
+ return new APIPromise($do319(client, request, options));
136533
+ }
136534
+ async function $do319(client, request, options) {
136535
+ const parsed = safeParse4(request, (value) => GetServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
136536
+ if (!parsed.ok) {
136537
+ return [parsed, { status: "invalid" }];
136538
+ }
136539
+ const payload = parsed.value;
136540
+ const body = null;
136541
+ const pathParams = {
136542
+ name: encodeSimple("name", payload.name, {
136543
+ explode: false,
136544
+ charEncoding: "percent"
136545
+ })
136546
+ };
136547
+ const path = pathToFunc("/api/v1/serving/recipes/{name}")(pathParams);
136548
+ const headers = new Headers(compactMap({
136549
+ Accept: "application/json",
136550
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
136551
+ }));
136552
+ const secConfig = await extractSecurity(client._options.bearerAuth);
136553
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
136554
+ const requestSecurity = resolveGlobalSecurity(securityInput);
136555
+ const context = {
136556
+ options: client._options,
136557
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
136558
+ operationID: "getServingRecipe",
136559
+ oAuth2Scopes: null,
136560
+ resolvedSecurity: requestSecurity,
136561
+ securitySource: client._options.bearerAuth,
136562
+ retryConfig: options?.retries || client._options.retryConfig || {
136563
+ strategy: "backoff",
136564
+ backoff: {
136565
+ initialInterval: 500,
136566
+ maxInterval: 5000,
136567
+ exponent: 1.5,
136568
+ maxElapsedTime: 15000
136569
+ },
136570
+ retryConnectionErrors: true
136571
+ },
136572
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
136573
+ };
136574
+ const requestRes = client._createRequest(context, {
136575
+ security: requestSecurity,
136576
+ method: "GET",
136577
+ baseURL: options?.serverURL,
136578
+ path,
136579
+ headers,
136580
+ body,
136581
+ userAgent: client._options.userAgent,
136582
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
136583
+ }, options);
136584
+ if (!requestRes.ok) {
136585
+ return [requestRes, { status: "invalid" }];
136586
+ }
136587
+ const req = requestRes.value;
136588
+ const doResult = await client._do(req, {
136589
+ context,
136590
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
136591
+ retryConfig: context.retryConfig,
136592
+ retryCodes: context.retryCodes
136593
+ });
136594
+ if (!doResult.ok) {
136595
+ return [doResult, { status: "request-error", request: req }];
136596
+ }
136597
+ const response = doResult.value;
136598
+ const responseFields = {
136599
+ HttpMeta: { Response: response, Request: req }
136600
+ };
136601
+ const [result] = await match(json(200, ServingRecipe$inboundSchema), jsonErr(404, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
136602
+ if (!result.ok) {
136603
+ return [result, { status: "complete", request: req, response }];
136604
+ }
136605
+ return [result, { status: "complete", request: req, response }];
136606
+ }
136607
+ var init_servingRecipesGet = __esm(() => {
136608
+ init_encodings();
136609
+ init_http();
136610
+ init_matchers();
136611
+ init_primitives();
136612
+ init_schemas4();
136613
+ init_security();
136614
+ init_url();
136615
+ init_components();
136616
+ init_errors4();
136617
+ init_operations();
136618
+ init_async();
136619
+ });
136620
+
136621
+ // src/mcp-server/tools/servingRecipesGet.ts
136622
+ var args310, tool$servingRecipesGet;
136623
+ var init_servingRecipesGet2 = __esm(() => {
136624
+ init_servingRecipesGet();
136625
+ init_operations();
136626
+ init_tools();
136627
+ args310 = {
136628
+ request: GetServingRecipeRequest$inboundSchema
136629
+ };
136630
+ tool$servingRecipesGet = {
136631
+ name: "serving-recipes-get",
136632
+ description: `Get a serving recipe
136633
+
136634
+ Get one recipe catalog record. Tenants can read enabled recipes; disabled recipes are visible to cluster administrators only.`,
136635
+ args: args310,
136636
+ tool: async (client, args311, ctx) => {
136637
+ const [result, apiCall] = await servingRecipesGet(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136638
+ if (!result.ok) {
136639
+ return {
136640
+ content: [{ type: "text", text: result.error.message }],
136641
+ isError: true
136642
+ };
136643
+ }
136644
+ const value = result.value;
136645
+ return formatResult(value, apiCall);
136646
+ }
136647
+ };
136648
+ });
136649
+
136650
+ // src/funcs/servingRecipesList.ts
136651
+ function servingRecipesList(client, request, options) {
136652
+ return new APIPromise($do320(client, request, options));
136653
+ }
136654
+ async function $do320(client, request, options) {
136655
+ const parsed = safeParse4(request, (value) => ListServingRecipesRequest$outboundSchema.parse(value), "Input validation failed");
136656
+ if (!parsed.ok) {
136657
+ return [parsed, { status: "invalid" }];
136658
+ }
136659
+ const payload = parsed.value;
136660
+ const body = null;
136661
+ const path = pathToFunc("/api/v1/serving/recipes")();
136662
+ const query = encodeFormQuery({
136663
+ cursor: payload.cursor,
136664
+ limit: payload.limit
136665
+ });
136666
+ const headers = new Headers(compactMap({
136667
+ Accept: "application/json",
136668
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
136669
+ }));
136670
+ const secConfig = await extractSecurity(client._options.bearerAuth);
136671
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
136672
+ const requestSecurity = resolveGlobalSecurity(securityInput);
136673
+ const context = {
136674
+ options: client._options,
136675
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
136676
+ operationID: "listServingRecipes",
136677
+ oAuth2Scopes: null,
136678
+ resolvedSecurity: requestSecurity,
136679
+ securitySource: client._options.bearerAuth,
136680
+ retryConfig: options?.retries || client._options.retryConfig || {
136681
+ strategy: "backoff",
136682
+ backoff: {
136683
+ initialInterval: 500,
136684
+ maxInterval: 5000,
136685
+ exponent: 1.5,
136686
+ maxElapsedTime: 15000
136687
+ },
136688
+ retryConnectionErrors: true
136689
+ },
136690
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
136691
+ };
136692
+ const requestRes = client._createRequest(context, {
136693
+ security: requestSecurity,
136694
+ method: "GET",
136695
+ baseURL: options?.serverURL,
136696
+ path,
136697
+ headers,
136698
+ query,
136699
+ body,
136700
+ userAgent: client._options.userAgent,
136701
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
136702
+ }, options);
136703
+ if (!requestRes.ok) {
136704
+ return [requestRes, { status: "invalid" }];
136705
+ }
136706
+ const req = requestRes.value;
136707
+ const doResult = await client._do(req, {
136708
+ context,
136709
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
136710
+ retryConfig: context.retryConfig,
136711
+ retryCodes: context.retryCodes
136712
+ });
136713
+ if (!doResult.ok) {
136714
+ return [doResult, { status: "request-error", request: req }];
136715
+ }
136716
+ const response = doResult.value;
136717
+ const responseFields = {
136718
+ HttpMeta: { Response: response, Request: req }
136719
+ };
136720
+ const [result] = await match(json(200, PageServingRecipe$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135740
136721
  if (!result.ok) {
135741
136722
  return [result, { status: "complete", request: req, response }];
135742
136723
  }
135743
136724
  return [result, { status: "complete", request: req, response }];
135744
136725
  }
135745
- var init_servingModelsList = __esm(() => {
136726
+ var init_servingRecipesList = __esm(() => {
135746
136727
  init_encodings();
135747
136728
  init_http();
135748
136729
  init_matchers();
@@ -135756,23 +136737,23 @@ var init_servingModelsList = __esm(() => {
135756
136737
  init_async();
135757
136738
  });
135758
136739
 
135759
- // src/mcp-server/tools/servingModelsList.ts
135760
- var args306, tool$servingModelsList;
135761
- var init_servingModelsList2 = __esm(() => {
135762
- init_servingModelsList();
136740
+ // src/mcp-server/tools/servingRecipesList.ts
136741
+ var args311, tool$servingRecipesList;
136742
+ var init_servingRecipesList2 = __esm(() => {
136743
+ init_servingRecipesList();
135763
136744
  init_operations();
135764
136745
  init_tools();
135765
- args306 = {
135766
- request: ListServingModelsRequest$inboundSchema
136746
+ args311 = {
136747
+ request: ListServingRecipesRequest$inboundSchema
135767
136748
  };
135768
- tool$servingModelsList = {
135769
- name: "serving-models-list",
135770
- description: `List models
136749
+ tool$servingRecipesList = {
136750
+ name: "serving-recipes-list",
136751
+ description: `List serving recipes
135771
136752
 
135772
- List your registered models.`,
135773
- args: args306,
135774
- tool: async (client, args307, ctx) => {
135775
- const [result, apiCall] = await servingModelsList(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136753
+ List the cluster-global serving recipe catalog. Tenants see only enabled (deployable) recipes; cluster administrators see every registered recipe including disabled ones.`,
136754
+ args: args311,
136755
+ tool: async (client, args312, ctx) => {
136756
+ const [result, apiCall] = await servingRecipesList(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135776
136757
  if (!result.ok) {
135777
136758
  return {
135778
136759
  content: [{ type: "text", text: result.error.message }],
@@ -135785,18 +136766,26 @@ List your registered models.`,
135785
136766
  };
135786
136767
  });
135787
136768
 
135788
- // src/funcs/servingModelsRegister.ts
135789
- function servingModelsRegister(client, request, options) {
135790
- return new APIPromise($do316(client, request, options));
136769
+ // src/funcs/servingRecipesRegister.ts
136770
+ function servingRecipesRegister(client, request, options) {
136771
+ return new APIPromise($do321(client, request, options));
135791
136772
  }
135792
- async function $do316(client, request, options) {
135793
- const parsed = safeParse4(request, (value) => RegisterModelRequest$outboundSchema.parse(value), "Input validation failed");
136773
+ async function $do321(client, request, options) {
136774
+ const parsed = safeParse4(request, (value) => RegisterServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
135794
136775
  if (!parsed.ok) {
135795
136776
  return [parsed, { status: "invalid" }];
135796
136777
  }
135797
136778
  const payload = parsed.value;
135798
- const body = encodeJSON("body", payload.ModelRegister, { explode: true });
135799
- const path = pathToFunc("/api/v1/serving/models")();
136779
+ const body = encodeJSON("body", payload.ServingRecipeManifest, {
136780
+ explode: true
136781
+ });
136782
+ const pathParams = {
136783
+ name: encodeSimple("name", payload.name, {
136784
+ explode: false,
136785
+ charEncoding: "percent"
136786
+ })
136787
+ };
136788
+ const path = pathToFunc("/api/v1/serving/recipes/{name}")(pathParams);
135800
136789
  const headers = new Headers(compactMap({
135801
136790
  "Content-Type": "application/json",
135802
136791
  Accept: "application/json",
@@ -135808,7 +136797,7 @@ async function $do316(client, request, options) {
135808
136797
  const context = {
135809
136798
  options: client._options,
135810
136799
  baseURL: options?.serverURL ?? client._baseURL ?? "",
135811
- operationID: "registerModel",
136800
+ operationID: "registerServingRecipe",
135812
136801
  oAuth2Scopes: null,
135813
136802
  resolvedSecurity: requestSecurity,
135814
136803
  securitySource: client._options.bearerAuth,
@@ -135826,7 +136815,7 @@ async function $do316(client, request, options) {
135826
136815
  };
135827
136816
  const requestRes = client._createRequest(context, {
135828
136817
  security: requestSecurity,
135829
- method: "POST",
136818
+ method: "PUT",
135830
136819
  baseURL: options?.serverURL,
135831
136820
  path,
135832
136821
  headers,
@@ -135851,13 +136840,13 @@ async function $do316(client, request, options) {
135851
136840
  const responseFields = {
135852
136841
  HttpMeta: { Response: response, Request: req }
135853
136842
  };
135854
- const [result] = await match(json(201, Model$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
136843
+ const [result] = await match(json(200, ServingRecipe$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135855
136844
  if (!result.ok) {
135856
136845
  return [result, { status: "complete", request: req, response }];
135857
136846
  }
135858
136847
  return [result, { status: "complete", request: req, response }];
135859
136848
  }
135860
- var init_servingModelsRegister = __esm(() => {
136849
+ var init_servingRecipesRegister = __esm(() => {
135861
136850
  init_encodings();
135862
136851
  init_http();
135863
136852
  init_matchers();
@@ -135871,23 +136860,146 @@ var init_servingModelsRegister = __esm(() => {
135871
136860
  init_async();
135872
136861
  });
135873
136862
 
135874
- // src/mcp-server/tools/servingModelsRegister.ts
135875
- var args307, tool$servingModelsRegister;
135876
- var init_servingModelsRegister2 = __esm(() => {
135877
- init_servingModelsRegister();
136863
+ // src/mcp-server/tools/servingRecipesRegister.ts
136864
+ var args312, tool$servingRecipesRegister;
136865
+ var init_servingRecipesRegister2 = __esm(() => {
136866
+ init_servingRecipesRegister();
135878
136867
  init_operations();
135879
136868
  init_tools();
135880
- args307 = {
135881
- request: RegisterModelRequest$inboundSchema
136869
+ args312 = {
136870
+ request: RegisterServingRecipeRequest$inboundSchema
135882
136871
  };
135883
- tool$servingModelsRegister = {
135884
- name: "serving-models-register",
135885
- description: `Register a model
136872
+ tool$servingRecipesRegister = {
136873
+ name: "serving-recipes-register",
136874
+ description: `Register a serving recipe
135886
136875
 
135887
- Register a model (from a source or volume) so it can be deployed or fine-tuned.`,
135888
- args: args307,
135889
- tool: async (client, args308, ctx) => {
135890
- const [result, apiCall] = await servingModelsRegister(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136876
+ Register (or re-register) a digest-pinned recipe manifest in the catalog. A new recipe registers disabled; re-registration replaces the manifest and preserves enablement. Cluster administrators only.`,
136877
+ args: args312,
136878
+ tool: async (client, args313, ctx) => {
136879
+ const [result, apiCall] = await servingRecipesRegister(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136880
+ if (!result.ok) {
136881
+ return {
136882
+ content: [{ type: "text", text: result.error.message }],
136883
+ isError: true
136884
+ };
136885
+ }
136886
+ const value = result.value;
136887
+ return formatResult(value, apiCall);
136888
+ }
136889
+ };
136890
+ });
136891
+
136892
+ // src/funcs/servingRecipesSetEnabled.ts
136893
+ function servingRecipesSetEnabled(client, request, options) {
136894
+ return new APIPromise($do322(client, request, options));
136895
+ }
136896
+ async function $do322(client, request, options) {
136897
+ const parsed = safeParse4(request, (value) => SetServingRecipeEnabledRequest$outboundSchema.parse(value), "Input validation failed");
136898
+ if (!parsed.ok) {
136899
+ return [parsed, { status: "invalid" }];
136900
+ }
136901
+ const payload = parsed.value;
136902
+ const body = encodeJSON("body", payload.ServingRecipeEnable, {
136903
+ explode: true
136904
+ });
136905
+ const pathParams = {
136906
+ name: encodeSimple("name", payload.name, {
136907
+ explode: false,
136908
+ charEncoding: "percent"
136909
+ })
136910
+ };
136911
+ const path = pathToFunc("/api/v1/serving/recipes/{name}")(pathParams);
136912
+ const headers = new Headers(compactMap({
136913
+ "Content-Type": "application/json",
136914
+ Accept: "application/json",
136915
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
136916
+ }));
136917
+ const secConfig = await extractSecurity(client._options.bearerAuth);
136918
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
136919
+ const requestSecurity = resolveGlobalSecurity(securityInput);
136920
+ const context = {
136921
+ options: client._options,
136922
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
136923
+ operationID: "setServingRecipeEnabled",
136924
+ oAuth2Scopes: null,
136925
+ resolvedSecurity: requestSecurity,
136926
+ securitySource: client._options.bearerAuth,
136927
+ retryConfig: options?.retries || client._options.retryConfig || {
136928
+ strategy: "backoff",
136929
+ backoff: {
136930
+ initialInterval: 500,
136931
+ maxInterval: 5000,
136932
+ exponent: 1.5,
136933
+ maxElapsedTime: 15000
136934
+ },
136935
+ retryConnectionErrors: true
136936
+ },
136937
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
136938
+ };
136939
+ const requestRes = client._createRequest(context, {
136940
+ security: requestSecurity,
136941
+ method: "PATCH",
136942
+ baseURL: options?.serverURL,
136943
+ path,
136944
+ headers,
136945
+ body,
136946
+ userAgent: client._options.userAgent,
136947
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
136948
+ }, options);
136949
+ if (!requestRes.ok) {
136950
+ return [requestRes, { status: "invalid" }];
136951
+ }
136952
+ const req = requestRes.value;
136953
+ const doResult = await client._do(req, {
136954
+ context,
136955
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
136956
+ retryConfig: context.retryConfig,
136957
+ retryCodes: context.retryCodes
136958
+ });
136959
+ if (!doResult.ok) {
136960
+ return [doResult, { status: "request-error", request: req }];
136961
+ }
136962
+ const response = doResult.value;
136963
+ const responseFields = {
136964
+ HttpMeta: { Response: response, Request: req }
136965
+ };
136966
+ const [result] = await match(json(200, ServingRecipe$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
136967
+ if (!result.ok) {
136968
+ return [result, { status: "complete", request: req, response }];
136969
+ }
136970
+ return [result, { status: "complete", request: req, response }];
136971
+ }
136972
+ var init_servingRecipesSetEnabled = __esm(() => {
136973
+ init_encodings();
136974
+ init_http();
136975
+ init_matchers();
136976
+ init_primitives();
136977
+ init_schemas4();
136978
+ init_security();
136979
+ init_url();
136980
+ init_components();
136981
+ init_errors4();
136982
+ init_operations();
136983
+ init_async();
136984
+ });
136985
+
136986
+ // src/mcp-server/tools/servingRecipesSetEnabled.ts
136987
+ var args313, tool$servingRecipesSetEnabled;
136988
+ var init_servingRecipesSetEnabled2 = __esm(() => {
136989
+ init_servingRecipesSetEnabled();
136990
+ init_operations();
136991
+ init_tools();
136992
+ args313 = {
136993
+ request: SetServingRecipeEnabledRequest$inboundSchema
136994
+ };
136995
+ tool$servingRecipesSetEnabled = {
136996
+ name: "serving-recipes-set-enabled",
136997
+ description: `Enable or disable a serving recipe
136998
+
136999
+ Toggle cluster-wide deployability of a registered recipe. Disabling does not stop deployments already running the recipe. Cluster administrators only.`,
137000
+ args: args313,
137001
+ tool: async (client, args314, ctx) => {
137002
+ const [result, apiCall] = await servingRecipesSetEnabled(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135891
137003
  if (!result.ok) {
135892
137004
  return {
135893
137005
  content: [{ type: "text", text: result.error.message }],
@@ -135902,9 +137014,9 @@ Register a model (from a source or volume) so it can be deployed or fine-tuned.`
135902
137014
 
135903
137015
  // src/funcs/servingSecretsCreate.ts
135904
137016
  function servingSecretsCreate(client, request, options) {
135905
- return new APIPromise($do317(client, request, options));
137017
+ return new APIPromise($do323(client, request, options));
135906
137018
  }
135907
- async function $do317(client, request, options) {
137019
+ async function $do323(client, request, options) {
135908
137020
  const parsed = safeParse4(request, (value) => CreateSecretRequest$outboundSchema.parse(value), "Input validation failed");
135909
137021
  if (!parsed.ok) {
135910
137022
  return [parsed, { status: "invalid" }];
@@ -135987,12 +137099,12 @@ var init_servingSecretsCreate = __esm(() => {
135987
137099
  });
135988
137100
 
135989
137101
  // src/mcp-server/tools/servingSecretsCreate.ts
135990
- var args308, tool$servingSecretsCreate;
137102
+ var args314, tool$servingSecretsCreate;
135991
137103
  var init_servingSecretsCreate2 = __esm(() => {
135992
137104
  init_servingSecretsCreate();
135993
137105
  init_operations();
135994
137106
  init_tools();
135995
- args308 = {
137107
+ args314 = {
135996
137108
  request: CreateSecretRequest$inboundSchema
135997
137109
  };
135998
137110
  tool$servingSecretsCreate = {
@@ -136000,9 +137112,9 @@ var init_servingSecretsCreate2 = __esm(() => {
136000
137112
  description: `Create a secret
136001
137113
 
136002
137114
  Create a secret whose values are injected into your workloads as env vars.`,
136003
- args: args308,
136004
- tool: async (client, args309, ctx) => {
136005
- const [result, apiCall] = await servingSecretsCreate(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137115
+ args: args314,
137116
+ tool: async (client, args315, ctx) => {
137117
+ const [result, apiCall] = await servingSecretsCreate(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136006
137118
  if (!result.ok) {
136007
137119
  return {
136008
137120
  content: [{ type: "text", text: result.error.message }],
@@ -136017,9 +137129,9 @@ Create a secret whose values are injected into your workloads as env vars.`,
136017
137129
 
136018
137130
  // src/funcs/servingSecretsDelete.ts
136019
137131
  function servingSecretsDelete(client, request, options) {
136020
- return new APIPromise($do318(client, request, options));
137132
+ return new APIPromise($do324(client, request, options));
136021
137133
  }
136022
- async function $do318(client, request, options) {
137134
+ async function $do324(client, request, options) {
136023
137135
  const parsed = safeParse4(request, (value) => DeleteSecretRequest$outboundSchema.parse(value), "Input validation failed");
136024
137136
  if (!parsed.ok) {
136025
137137
  return [parsed, { status: "invalid" }];
@@ -136107,12 +137219,12 @@ var init_servingSecretsDelete = __esm(() => {
136107
137219
  });
136108
137220
 
136109
137221
  // src/mcp-server/tools/servingSecretsDelete.ts
136110
- var args309, tool$servingSecretsDelete;
137222
+ var args315, tool$servingSecretsDelete;
136111
137223
  var init_servingSecretsDelete2 = __esm(() => {
136112
137224
  init_servingSecretsDelete();
136113
137225
  init_operations();
136114
137226
  init_tools();
136115
- args309 = {
137227
+ args315 = {
136116
137228
  request: DeleteSecretRequest$inboundSchema
136117
137229
  };
136118
137230
  tool$servingSecretsDelete = {
@@ -136120,9 +137232,9 @@ var init_servingSecretsDelete2 = __esm(() => {
136120
137232
  description: `Delete a secret
136121
137233
 
136122
137234
  Delete a secret.`,
136123
- args: args309,
136124
- tool: async (client, args310, ctx) => {
136125
- const [result, apiCall] = await servingSecretsDelete(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137235
+ args: args315,
137236
+ tool: async (client, args316, ctx) => {
137237
+ const [result, apiCall] = await servingSecretsDelete(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136126
137238
  if (!result.ok) {
136127
137239
  return {
136128
137240
  content: [{ type: "text", text: result.error.message }],
@@ -136136,9 +137248,9 @@ Delete a secret.`,
136136
137248
 
136137
137249
  // src/funcs/servingSecretsList.ts
136138
137250
  function servingSecretsList(client, request, options) {
136139
- return new APIPromise($do319(client, request, options));
137251
+ return new APIPromise($do325(client, request, options));
136140
137252
  }
136141
- async function $do319(client, request, options) {
137253
+ async function $do325(client, request, options) {
136142
137254
  const parsed = safeParse4(request, (value) => ListSecretsRequest$outboundSchema.parse(value), "Input validation failed");
136143
137255
  if (!parsed.ok) {
136144
137256
  return [parsed, { status: "invalid" }];
@@ -136225,12 +137337,12 @@ var init_servingSecretsList = __esm(() => {
136225
137337
  });
136226
137338
 
136227
137339
  // src/mcp-server/tools/servingSecretsList.ts
136228
- var args310, tool$servingSecretsList;
137340
+ var args316, tool$servingSecretsList;
136229
137341
  var init_servingSecretsList2 = __esm(() => {
136230
137342
  init_servingSecretsList();
136231
137343
  init_operations();
136232
137344
  init_tools();
136233
- args310 = {
137345
+ args316 = {
136234
137346
  request: ListSecretsRequest$inboundSchema
136235
137347
  };
136236
137348
  tool$servingSecretsList = {
@@ -136238,9 +137350,9 @@ var init_servingSecretsList2 = __esm(() => {
136238
137350
  description: `List secrets (names only)
136239
137351
 
136240
137352
  List your secrets by name (values are never returned).`,
136241
- args: args310,
136242
- tool: async (client, args311, ctx) => {
136243
- const [result, apiCall] = await servingSecretsList(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137353
+ args: args316,
137354
+ tool: async (client, args317, ctx) => {
137355
+ const [result, apiCall] = await servingSecretsList(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136244
137356
  if (!result.ok) {
136245
137357
  return {
136246
137358
  content: [{ type: "text", text: result.error.message }],
@@ -136255,9 +137367,9 @@ List your secrets by name (values are never returned).`,
136255
137367
 
136256
137368
  // src/funcs/servingTenantsDeleteOrganization.ts
136257
137369
  function servingTenantsDeleteOrganization(client, request, options) {
136258
- return new APIPromise($do320(client, request, options));
137370
+ return new APIPromise($do326(client, request, options));
136259
137371
  }
136260
- async function $do320(client, request, options) {
137372
+ async function $do326(client, request, options) {
136261
137373
  const parsed = safeParse4(request, (value) => DeleteServingOrganizationRequest$outboundSchema.parse(value), "Input validation failed");
136262
137374
  if (!parsed.ok) {
136263
137375
  return [parsed, { status: "invalid" }];
@@ -136348,12 +137460,12 @@ var init_servingTenantsDeleteOrganization = __esm(() => {
136348
137460
  });
136349
137461
 
136350
137462
  // src/mcp-server/tools/servingTenantsDeleteOrganization.ts
136351
- var args311, tool$servingTenantsDeleteOrganization;
137463
+ var args317, tool$servingTenantsDeleteOrganization;
136352
137464
  var init_servingTenantsDeleteOrganization2 = __esm(() => {
136353
137465
  init_servingTenantsDeleteOrganization();
136354
137466
  init_operations();
136355
137467
  init_tools();
136356
- args311 = {
137468
+ args317 = {
136357
137469
  request: DeleteServingOrganizationRequest$inboundSchema
136358
137470
  };
136359
137471
  tool$servingTenantsDeleteOrganization = {
@@ -136361,9 +137473,9 @@ var init_servingTenantsDeleteOrganization2 = __esm(() => {
136361
137473
  description: `Trigger organization deletion teardown
136362
137474
 
136363
137475
  Durably records an organization.deleted.v1 event and starts (or adopts) the mandatory teardown cascade: the organization is fenced against new work and every deployment is tombstoned and wound down, while all pricing, budget, spend, and usage records are preserved. Idempotent by event id. Cluster administrators only.`,
136364
- args: args311,
136365
- tool: async (client, args312, ctx) => {
136366
- const [result, apiCall] = await servingTenantsDeleteOrganization(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137476
+ args: args317,
137477
+ tool: async (client, args318, ctx) => {
137478
+ const [result, apiCall] = await servingTenantsDeleteOrganization(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136367
137479
  if (!result.ok) {
136368
137480
  return {
136369
137481
  content: [{ type: "text", text: result.error.message }],
@@ -136378,9 +137490,9 @@ Durably records an organization.deleted.v1 event and starts (or adopts) the mand
136378
137490
 
136379
137491
  // src/funcs/servingTenantsGet.ts
136380
137492
  function servingTenantsGet(client, request, options) {
136381
- return new APIPromise($do321(client, request, options));
137493
+ return new APIPromise($do327(client, request, options));
136382
137494
  }
136383
- async function $do321(client, request, options) {
137495
+ async function $do327(client, request, options) {
136384
137496
  const parsed = safeParse4(request, (value) => GetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
136385
137497
  if (!parsed.ok) {
136386
137498
  return [parsed, { status: "invalid" }];
@@ -136468,12 +137580,12 @@ var init_servingTenantsGet = __esm(() => {
136468
137580
  });
136469
137581
 
136470
137582
  // src/mcp-server/tools/servingTenantsGet.ts
136471
- var args312, tool$servingTenantsGet;
137583
+ var args318, tool$servingTenantsGet;
136472
137584
  var init_servingTenantsGet2 = __esm(() => {
136473
137585
  init_servingTenantsGet();
136474
137586
  init_operations();
136475
137587
  init_tools();
136476
- args312 = {
137588
+ args318 = {
136477
137589
  request: GetServingTenantRequest$inboundSchema
136478
137590
  };
136479
137591
  tool$servingTenantsGet = {
@@ -136481,9 +137593,9 @@ var init_servingTenantsGet2 = __esm(() => {
136481
137593
  description: `Get a serving tenant
136482
137594
 
136483
137595
  Get one organization's serving enablement record. Cluster administrators only.`,
136484
- args: args312,
136485
- tool: async (client, args313, ctx) => {
136486
- const [result, apiCall] = await servingTenantsGet(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137596
+ args: args318,
137597
+ tool: async (client, args319, ctx) => {
137598
+ const [result, apiCall] = await servingTenantsGet(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136487
137599
  if (!result.ok) {
136488
137600
  return {
136489
137601
  content: [{ type: "text", text: result.error.message }],
@@ -136498,9 +137610,9 @@ Get one organization's serving enablement record. Cluster administrators only.`,
136498
137610
 
136499
137611
  // src/funcs/servingTenantsGetOrganizationDeletion.ts
136500
137612
  function servingTenantsGetOrganizationDeletion(client, request, options) {
136501
- return new APIPromise($do322(client, request, options));
137613
+ return new APIPromise($do328(client, request, options));
136502
137614
  }
136503
- async function $do322(client, request, options) {
137615
+ async function $do328(client, request, options) {
136504
137616
  const parsed = safeParse4(request, (value) => GetServingOrganizationDeletionRequest$outboundSchema.parse(value), "Input validation failed");
136505
137617
  if (!parsed.ok) {
136506
137618
  return [parsed, { status: "invalid" }];
@@ -136588,12 +137700,12 @@ var init_servingTenantsGetOrganizationDeletion = __esm(() => {
136588
137700
  });
136589
137701
 
136590
137702
  // src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts
136591
- var args313, tool$servingTenantsGetOrganizationDeletion;
137703
+ var args319, tool$servingTenantsGetOrganizationDeletion;
136592
137704
  var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
136593
137705
  init_servingTenantsGetOrganizationDeletion();
136594
137706
  init_operations();
136595
137707
  init_tools();
136596
- args313 = {
137708
+ args319 = {
136597
137709
  request: GetServingOrganizationDeletionRequest$inboundSchema
136598
137710
  };
136599
137711
  tool$servingTenantsGetOrganizationDeletion = {
@@ -136601,9 +137713,9 @@ var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
136601
137713
  description: `Get organization deletion teardown state
136602
137714
 
136603
137715
  Returns the durable teardown-cascade state for an organization (running or complete), so a cluster administrator can confirm offboarding progressed to completion. 404 if the organization has no teardown. Cluster administrators only.`,
136604
- args: args313,
136605
- tool: async (client, args314, ctx) => {
136606
- const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137716
+ args: args319,
137717
+ tool: async (client, args320, ctx) => {
137718
+ const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136607
137719
  if (!result.ok) {
136608
137720
  return {
136609
137721
  content: [{ type: "text", text: result.error.message }],
@@ -136618,9 +137730,9 @@ Returns the durable teardown-cascade state for an organization (running or compl
136618
137730
 
136619
137731
  // src/funcs/servingTenantsList.ts
136620
137732
  function servingTenantsList(client, request, options) {
136621
- return new APIPromise($do323(client, request, options));
137733
+ return new APIPromise($do329(client, request, options));
136622
137734
  }
136623
- async function $do323(client, request, options) {
137735
+ async function $do329(client, request, options) {
136624
137736
  const parsed = safeParse4(request, (value) => ListServingTenantsRequest$outboundSchema.parse(value), "Input validation failed");
136625
137737
  if (!parsed.ok) {
136626
137738
  return [parsed, { status: "invalid" }];
@@ -136707,12 +137819,12 @@ var init_servingTenantsList = __esm(() => {
136707
137819
  });
136708
137820
 
136709
137821
  // src/mcp-server/tools/servingTenantsList.ts
136710
- var args314, tool$servingTenantsList;
137822
+ var args320, tool$servingTenantsList;
136711
137823
  var init_servingTenantsList2 = __esm(() => {
136712
137824
  init_servingTenantsList();
136713
137825
  init_operations();
136714
137826
  init_tools();
136715
- args314 = {
137827
+ args320 = {
136716
137828
  request: ListServingTenantsRequest$inboundSchema
136717
137829
  };
136718
137830
  tool$servingTenantsList = {
@@ -136720,9 +137832,9 @@ var init_servingTenantsList2 = __esm(() => {
136720
137832
  description: `List serving tenants
136721
137833
 
136722
137834
  List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.`,
136723
- args: args314,
136724
- tool: async (client, args315, ctx) => {
136725
- const [result, apiCall] = await servingTenantsList(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137835
+ args: args320,
137836
+ tool: async (client, args321, ctx) => {
137837
+ const [result, apiCall] = await servingTenantsList(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136726
137838
  if (!result.ok) {
136727
137839
  return {
136728
137840
  content: [{ type: "text", text: result.error.message }],
@@ -136737,9 +137849,9 @@ List organization-wide serving enablement records. Cluster administrators only;
136737
137849
 
136738
137850
  // src/funcs/servingTenantsSet.ts
136739
137851
  function servingTenantsSet(client, request, options) {
136740
- return new APIPromise($do324(client, request, options));
137852
+ return new APIPromise($do330(client, request, options));
136741
137853
  }
136742
- async function $do324(client, request, options) {
137854
+ async function $do330(client, request, options) {
136743
137855
  const parsed = safeParse4(request, (value) => SetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
136744
137856
  if (!parsed.ok) {
136745
137857
  return [parsed, { status: "invalid" }];
@@ -136828,12 +137940,12 @@ var init_servingTenantsSet = __esm(() => {
136828
137940
  });
136829
137941
 
136830
137942
  // src/mcp-server/tools/servingTenantsSet.ts
136831
- var args315, tool$servingTenantsSet;
137943
+ var args321, tool$servingTenantsSet;
136832
137944
  var init_servingTenantsSet2 = __esm(() => {
136833
137945
  init_servingTenantsSet();
136834
137946
  init_operations();
136835
137947
  init_tools();
136836
- args315 = {
137948
+ args321 = {
136837
137949
  request: SetServingTenantRequest$inboundSchema
136838
137950
  };
136839
137951
  tool$servingTenantsSet = {
@@ -136841,9 +137953,9 @@ var init_servingTenantsSet2 = __esm(() => {
136841
137953
  description: `Set serving tenant enablement
136842
137954
 
136843
137955
  Enable or disable serving for an organization and all of its teams. Disabling blocks product API access but does not stop existing workloads or callbacks. Cluster administrators only.`,
136844
- args: args315,
136845
- tool: async (client, args316, ctx) => {
136846
- const [result, apiCall] = await servingTenantsSet(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137956
+ args: args321,
137957
+ tool: async (client, args322, ctx) => {
137958
+ const [result, apiCall] = await servingTenantsSet(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136847
137959
  if (!result.ok) {
136848
137960
  return {
136849
137961
  content: [{ type: "text", text: result.error.message }],
@@ -136858,9 +137970,9 @@ Enable or disable serving for an organization and all of its teams. Disabling bl
136858
137970
 
136859
137971
  // src/funcs/servingVolumesCreate.ts
136860
137972
  function servingVolumesCreate(client, request, options) {
136861
- return new APIPromise($do325(client, request, options));
137973
+ return new APIPromise($do331(client, request, options));
136862
137974
  }
136863
- async function $do325(client, request, options) {
137975
+ async function $do331(client, request, options) {
136864
137976
  const parsed = safeParse4(request, (value) => CreateVolumeRequest$outboundSchema.parse(value), "Input validation failed");
136865
137977
  if (!parsed.ok) {
136866
137978
  return [parsed, { status: "invalid" }];
@@ -136943,12 +138055,12 @@ var init_servingVolumesCreate = __esm(() => {
136943
138055
  });
136944
138056
 
136945
138057
  // src/mcp-server/tools/servingVolumesCreate.ts
136946
- var args316, tool$servingVolumesCreate;
138058
+ var args322, tool$servingVolumesCreate;
136947
138059
  var init_servingVolumesCreate2 = __esm(() => {
136948
138060
  init_servingVolumesCreate();
136949
138061
  init_operations();
136950
138062
  init_tools();
136951
- args316 = {
138063
+ args322 = {
136952
138064
  request: CreateVolumeRequest$inboundSchema
136953
138065
  };
136954
138066
  tool$servingVolumesCreate = {
@@ -136956,9 +138068,9 @@ var init_servingVolumesCreate2 = __esm(() => {
136956
138068
  description: `Create a volume
136957
138069
 
136958
138070
  Create a persistent volume for weights, datasets, or checkpoints.`,
136959
- args: args316,
136960
- tool: async (client, args317, ctx) => {
136961
- const [result, apiCall] = await servingVolumesCreate(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138071
+ args: args322,
138072
+ tool: async (client, args323, ctx) => {
138073
+ const [result, apiCall] = await servingVolumesCreate(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136962
138074
  if (!result.ok) {
136963
138075
  return {
136964
138076
  content: [{ type: "text", text: result.error.message }],
@@ -136973,9 +138085,9 @@ Create a persistent volume for weights, datasets, or checkpoints.`,
136973
138085
 
136974
138086
  // src/funcs/servingVolumesDelete.ts
136975
138087
  function servingVolumesDelete(client, request, options) {
136976
- return new APIPromise($do326(client, request, options));
138088
+ return new APIPromise($do332(client, request, options));
136977
138089
  }
136978
- async function $do326(client, request, options) {
138090
+ async function $do332(client, request, options) {
136979
138091
  const parsed = safeParse4(request, (value) => DeleteVolumeRequest$outboundSchema.parse(value), "Input validation failed");
136980
138092
  if (!parsed.ok) {
136981
138093
  return [parsed, { status: "invalid" }];
@@ -137063,12 +138175,12 @@ var init_servingVolumesDelete = __esm(() => {
137063
138175
  });
137064
138176
 
137065
138177
  // src/mcp-server/tools/servingVolumesDelete.ts
137066
- var args317, tool$servingVolumesDelete;
138178
+ var args323, tool$servingVolumesDelete;
137067
138179
  var init_servingVolumesDelete2 = __esm(() => {
137068
138180
  init_servingVolumesDelete();
137069
138181
  init_operations();
137070
138182
  init_tools();
137071
- args317 = {
138183
+ args323 = {
137072
138184
  request: DeleteVolumeRequest$inboundSchema
137073
138185
  };
137074
138186
  tool$servingVolumesDelete = {
@@ -137076,9 +138188,9 @@ var init_servingVolumesDelete2 = __esm(() => {
137076
138188
  description: `Delete a volume
137077
138189
 
137078
138190
  Delete a volume and its contents.`,
137079
- args: args317,
137080
- tool: async (client, args318, ctx) => {
137081
- const [result, apiCall] = await servingVolumesDelete(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138191
+ args: args323,
138192
+ tool: async (client, args324, ctx) => {
138193
+ const [result, apiCall] = await servingVolumesDelete(client, args324.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137082
138194
  if (!result.ok) {
137083
138195
  return {
137084
138196
  content: [{ type: "text", text: result.error.message }],
@@ -137092,9 +138204,9 @@ Delete a volume and its contents.`,
137092
138204
 
137093
138205
  // src/funcs/servingVolumesGet.ts
137094
138206
  function servingVolumesGet(client, request, options) {
137095
- return new APIPromise($do327(client, request, options));
138207
+ return new APIPromise($do333(client, request, options));
137096
138208
  }
137097
- async function $do327(client, request, options) {
138209
+ async function $do333(client, request, options) {
137098
138210
  const parsed = safeParse4(request, (value) => GetVolumeRequest$outboundSchema.parse(value), "Input validation failed");
137099
138211
  if (!parsed.ok) {
137100
138212
  return [parsed, { status: "invalid" }];
@@ -137182,12 +138294,12 @@ var init_servingVolumesGet = __esm(() => {
137182
138294
  });
137183
138295
 
137184
138296
  // src/mcp-server/tools/servingVolumesGet.ts
137185
- var args318, tool$servingVolumesGet;
138297
+ var args324, tool$servingVolumesGet;
137186
138298
  var init_servingVolumesGet2 = __esm(() => {
137187
138299
  init_servingVolumesGet();
137188
138300
  init_operations();
137189
138301
  init_tools();
137190
- args318 = {
138302
+ args324 = {
137191
138303
  request: GetVolumeRequest$inboundSchema
137192
138304
  };
137193
138305
  tool$servingVolumesGet = {
@@ -137195,9 +138307,9 @@ var init_servingVolumesGet2 = __esm(() => {
137195
138307
  description: `Get a volume
137196
138308
 
137197
138309
  Retrieve a volume.`,
137198
- args: args318,
137199
- tool: async (client, args319, ctx) => {
137200
- const [result, apiCall] = await servingVolumesGet(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138310
+ args: args324,
138311
+ tool: async (client, args325, ctx) => {
138312
+ const [result, apiCall] = await servingVolumesGet(client, args325.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137201
138313
  if (!result.ok) {
137202
138314
  return {
137203
138315
  content: [{ type: "text", text: result.error.message }],
@@ -137212,9 +138324,9 @@ Retrieve a volume.`,
137212
138324
 
137213
138325
  // src/funcs/servingVolumesList.ts
137214
138326
  function servingVolumesList(client, request, options) {
137215
- return new APIPromise($do328(client, request, options));
138327
+ return new APIPromise($do334(client, request, options));
137216
138328
  }
137217
- async function $do328(client, request, options) {
138329
+ async function $do334(client, request, options) {
137218
138330
  const parsed = safeParse4(request, (value) => ListVolumesRequest$outboundSchema.parse(value), "Input validation failed");
137219
138331
  if (!parsed.ok) {
137220
138332
  return [parsed, { status: "invalid" }];
@@ -137301,12 +138413,12 @@ var init_servingVolumesList = __esm(() => {
137301
138413
  });
137302
138414
 
137303
138415
  // src/mcp-server/tools/servingVolumesList.ts
137304
- var args319, tool$servingVolumesList;
138416
+ var args325, tool$servingVolumesList;
137305
138417
  var init_servingVolumesList2 = __esm(() => {
137306
138418
  init_servingVolumesList();
137307
138419
  init_operations();
137308
138420
  init_tools();
137309
- args319 = {
138421
+ args325 = {
137310
138422
  request: ListVolumesRequest$inboundSchema
137311
138423
  };
137312
138424
  tool$servingVolumesList = {
@@ -137314,9 +138426,9 @@ var init_servingVolumesList2 = __esm(() => {
137314
138426
  description: `List volumes
137315
138427
 
137316
138428
  List your volumes.`,
137317
- args: args319,
137318
- tool: async (client, args320, ctx) => {
137319
- const [result, apiCall] = await servingVolumesList(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138429
+ args: args325,
138430
+ tool: async (client, args326, ctx) => {
138431
+ const [result, apiCall] = await servingVolumesList(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137320
138432
  if (!result.ok) {
137321
138433
  return {
137322
138434
  content: [{ type: "text", text: result.error.message }],
@@ -137331,9 +138443,9 @@ List your volumes.`,
137331
138443
 
137332
138444
  // src/funcs/usageCosts.ts
137333
138445
  function usageCosts(client, request, options) {
137334
- return new APIPromise($do329(client, request, options));
138446
+ return new APIPromise($do335(client, request, options));
137335
138447
  }
137336
- async function $do329(client, request, options) {
138448
+ async function $do335(client, request, options) {
137337
138449
  const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
137338
138450
  if (!parsed.ok) {
137339
138451
  return [parsed, { status: "invalid" }];
@@ -137416,12 +138528,12 @@ var init_usageCosts = __esm(() => {
137416
138528
  });
137417
138529
 
137418
138530
  // src/mcp-server/tools/usageCosts.ts
137419
- var args320, tool$usageCosts;
138531
+ var args326, tool$usageCosts;
137420
138532
  var init_usageCosts2 = __esm(() => {
137421
138533
  init_usageCosts();
137422
138534
  init_operations();
137423
138535
  init_tools();
137424
- args320 = {
138536
+ args326 = {
137425
138537
  request: GetCostsRequest$inboundSchema
137426
138538
  };
137427
138539
  tool$usageCosts = {
@@ -137429,9 +138541,9 @@ var init_usageCosts2 = __esm(() => {
137429
138541
  description: `Aggregate cost by dimension
137430
138542
 
137431
138543
  Sums stored per-entry cost over [start_time, end_time), grouped by any of service, task_type, model, api_key_id, team_id, user_id, external_user_id, org_id. Point-in-time correct for chargeback/showback.`,
137432
- args: args320,
137433
- tool: async (client, args321, ctx) => {
137434
- const [result, apiCall] = await usageCosts(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138544
+ args: args326,
138545
+ tool: async (client, args327, ctx) => {
138546
+ const [result, apiCall] = await usageCosts(client, args327.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137435
138547
  if (!result.ok) {
137436
138548
  return {
137437
138549
  content: [{ type: "text", text: result.error.message }],
@@ -137446,9 +138558,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
137446
138558
 
137447
138559
  // src/funcs/usageSandbox.ts
137448
138560
  function usageSandbox(client, request, options) {
137449
- return new APIPromise($do330(client, request, options));
138561
+ return new APIPromise($do336(client, request, options));
137450
138562
  }
137451
- async function $do330(client, request, options) {
138563
+ async function $do336(client, request, options) {
137452
138564
  const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
137453
138565
  if (!parsed.ok) {
137454
138566
  return [parsed, { status: "invalid" }];
@@ -137539,12 +138651,12 @@ var init_usageSandbox = __esm(() => {
137539
138651
  });
137540
138652
 
137541
138653
  // src/mcp-server/tools/usageSandbox.ts
137542
- var args321, tool$usageSandbox;
138654
+ var args327, tool$usageSandbox;
137543
138655
  var init_usageSandbox2 = __esm(() => {
137544
138656
  init_usageSandbox();
137545
138657
  init_operations();
137546
138658
  init_tools();
137547
- args321 = {
138659
+ args327 = {
137548
138660
  request: GetSandboxUsageRequest$inboundSchema
137549
138661
  };
137550
138662
  tool$usageSandbox = {
@@ -137552,9 +138664,9 @@ var init_usageSandbox2 = __esm(() => {
137552
138664
  description: `Get Sandbox Usage
137553
138665
 
137554
138666
  Aggregate sandbox usage (session lifecycle, execution, and workspace operations) over a time range, bucketed and optionally grouped. Org-scoped: callers see their own usage, org admins their team's; cluster admins may pass \`all_orgs\` or \`org_ids\`. Cost and spend reporting lives in the budgeting API (\`/api/v1/budgeting/usage/costs\`).`,
137555
- args: args321,
137556
- tool: async (client, args322, ctx) => {
137557
- const [result, apiCall] = await usageSandbox(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138667
+ args: args327,
138668
+ tool: async (client, args328, ctx) => {
138669
+ const [result, apiCall] = await usageSandbox(client, args328.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137558
138670
  if (!result.ok) {
137559
138671
  return {
137560
138672
  content: [{ type: "text", text: result.error.message }],
@@ -137571,7 +138683,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
137571
138683
  function createMCPServer(deps) {
137572
138684
  const server = new McpServer({
137573
138685
  name: "SDK",
137574
- version: "0.51.8"
138686
+ version: "0.51.10"
137575
138687
  });
137576
138688
  const client = new SDKCore({
137577
138689
  bearerAuth: deps.bearerAuth,
@@ -137895,6 +139007,7 @@ function createMCPServer(deps) {
137895
139007
  tool(tool$servingFinetuneJobsListCheckpoints);
137896
139008
  tool(tool$servingFinetuneJobsGetEvents);
137897
139009
  tool(tool$servingFinetuneJobsGetLogs);
139010
+ tool(tool$servingFinetuneJobsGetMetrics);
137898
139011
  tool(tool$servingImagesList);
137899
139012
  tool(tool$servingImagesRegister);
137900
139013
  tool(tool$servingImagesDelete);
@@ -137903,6 +139016,11 @@ function createMCPServer(deps) {
137903
139016
  tool(tool$servingModelsRegister);
137904
139017
  tool(tool$servingModelsDelete);
137905
139018
  tool(tool$servingModelsGet);
139019
+ tool(tool$servingRecipesList);
139020
+ tool(tool$servingRecipesDelete);
139021
+ tool(tool$servingRecipesGet);
139022
+ tool(tool$servingRecipesSetEnabled);
139023
+ tool(tool$servingRecipesRegister);
137906
139024
  tool(tool$servingSecretsList);
137907
139025
  tool(tool$servingSecretsCreate);
137908
139026
  tool(tool$servingSecretsDelete);
@@ -138228,6 +139346,7 @@ var init_server2 = __esm(() => {
138228
139346
  init_servingFinetuneJobsGet2();
138229
139347
  init_servingFinetuneJobsGetEvents2();
138230
139348
  init_servingFinetuneJobsGetLogs2();
139349
+ init_servingFinetuneJobsGetMetrics2();
138231
139350
  init_servingFinetuneJobsList2();
138232
139351
  init_servingFinetuneJobsListCheckpoints2();
138233
139352
  init_servingImagesDelete2();
@@ -138238,6 +139357,11 @@ var init_server2 = __esm(() => {
138238
139357
  init_servingModelsGet2();
138239
139358
  init_servingModelsList2();
138240
139359
  init_servingModelsRegister2();
139360
+ init_servingRecipesDelete2();
139361
+ init_servingRecipesGet2();
139362
+ init_servingRecipesList2();
139363
+ init_servingRecipesRegister2();
139364
+ init_servingRecipesSetEnabled2();
138241
139365
  init_servingSecretsCreate2();
138242
139366
  init_servingSecretsDelete2();
138243
139367
  init_servingSecretsList2();
@@ -139429,7 +140553,7 @@ var routes = rn({
139429
140553
  var app = Ve(routes, {
139430
140554
  name: "mcp",
139431
140555
  versionInfo: {
139432
- currentVersion: "0.51.8"
140556
+ currentVersion: "0.51.10"
139433
140557
  }
139434
140558
  });
139435
140559
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -139437,5 +140561,5 @@ export {
139437
140561
  app
139438
140562
  };
139439
140563
 
139440
- //# debugId=FBE4016E3B80325464756E2164756E21
140564
+ //# debugId=465A21611DCC5EDC64756E2164756E21
139441
140565
  //# sourceMappingURL=mcp-server.js.map