@meetkai/mka1 0.51.15 → 0.51.17

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 (372) hide show
  1. package/README.md +236 -227
  2. package/bin/mcp-server.js +1096 -397
  3. package/bin/mcp-server.js.map +37 -21
  4. package/dist/commonjs/funcs/servingAcceleratorsAvailability.d.ts +19 -0
  5. package/dist/commonjs/funcs/servingAcceleratorsAvailability.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/servingAcceleratorsAvailability.js +140 -0
  7. package/dist/commonjs/funcs/servingAcceleratorsAvailability.js.map +1 -0
  8. package/dist/commonjs/funcs/servingAcceleratorsGet.d.ts +19 -0
  9. package/dist/commonjs/funcs/servingAcceleratorsGet.d.ts.map +1 -0
  10. package/dist/commonjs/funcs/servingAcceleratorsGet.js +136 -0
  11. package/dist/commonjs/funcs/servingAcceleratorsGet.js.map +1 -0
  12. package/dist/commonjs/funcs/servingFinetuneJobsCreate.js +1 -1
  13. package/dist/commonjs/funcs/servingFinetuneJobsCreate.js.map +1 -1
  14. package/dist/commonjs/funcs/servingSecretsGet.d.ts +19 -0
  15. package/dist/commonjs/funcs/servingSecretsGet.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/servingSecretsGet.js +136 -0
  17. package/dist/commonjs/funcs/servingSecretsGet.js.map +1 -0
  18. package/dist/commonjs/lib/config.d.ts +2 -2
  19. package/dist/commonjs/lib/config.js +2 -2
  20. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  21. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  22. package/dist/commonjs/mcp-server/server.js +7 -1
  23. package/dist/commonjs/mcp-server/server.js.map +1 -1
  24. package/dist/commonjs/mcp-server/tools/servingAcceleratorsAvailability.d.ts +8 -0
  25. package/dist/commonjs/mcp-server/tools/servingAcceleratorsAvailability.d.ts.map +1 -0
  26. package/dist/commonjs/mcp-server/tools/servingAcceleratorsAvailability.js +64 -0
  27. package/dist/commonjs/mcp-server/tools/servingAcceleratorsAvailability.js.map +1 -0
  28. package/dist/commonjs/mcp-server/tools/servingAcceleratorsGet.d.ts +8 -0
  29. package/dist/commonjs/mcp-server/tools/servingAcceleratorsGet.d.ts.map +1 -0
  30. package/dist/commonjs/mcp-server/tools/servingAcceleratorsGet.js +64 -0
  31. package/dist/commonjs/mcp-server/tools/servingAcceleratorsGet.js.map +1 -0
  32. package/dist/commonjs/mcp-server/tools/servingSecretsGet.d.ts +8 -0
  33. package/dist/commonjs/mcp-server/tools/servingSecretsGet.d.ts.map +1 -0
  34. package/dist/commonjs/mcp-server/tools/servingSecretsGet.js +64 -0
  35. package/dist/commonjs/mcp-server/tools/servingSecretsGet.js.map +1 -0
  36. package/dist/commonjs/models/components/acceleratoravailability.d.ts +62 -0
  37. package/dist/commonjs/models/components/acceleratoravailability.d.ts.map +1 -0
  38. package/dist/commonjs/models/components/acceleratoravailability.js +102 -0
  39. package/dist/commonjs/models/components/acceleratoravailability.js.map +1 -0
  40. package/dist/commonjs/models/components/acceleratoravailabilitybucket.d.ts +39 -0
  41. package/dist/commonjs/models/components/acceleratoravailabilitybucket.d.ts.map +1 -0
  42. package/dist/commonjs/models/components/acceleratoravailabilitybucket.js +80 -0
  43. package/dist/commonjs/models/components/acceleratoravailabilitybucket.js.map +1 -0
  44. package/dist/commonjs/models/components/acceleratorhourofdayslot.d.ts +33 -0
  45. package/dist/commonjs/models/components/acceleratorhourofdayslot.d.ts.map +1 -0
  46. package/dist/commonjs/models/components/acceleratorhourofdayslot.js +71 -0
  47. package/dist/commonjs/models/components/acceleratorhourofdayslot.js.map +1 -0
  48. package/dist/commonjs/models/components/acceleratorprovideravailability.d.ts +23 -0
  49. package/dist/commonjs/models/components/acceleratorprovideravailability.d.ts.map +1 -0
  50. package/dist/commonjs/models/components/acceleratorprovideravailability.js +61 -0
  51. package/dist/commonjs/models/components/acceleratorprovideravailability.js.map +1 -0
  52. package/dist/commonjs/models/components/acceleratortype.d.ts +61 -3
  53. package/dist/commonjs/models/components/acceleratortype.d.ts.map +1 -1
  54. package/dist/commonjs/models/components/acceleratortype.js +37 -3
  55. package/dist/commonjs/models/components/acceleratortype.js.map +1 -1
  56. package/dist/commonjs/models/components/acceleratorworkloadaffinity.d.ts +29 -0
  57. package/dist/commonjs/models/components/acceleratorworkloadaffinity.d.ts.map +1 -0
  58. package/dist/commonjs/models/components/acceleratorworkloadaffinity.js +61 -0
  59. package/dist/commonjs/models/components/acceleratorworkloadaffinity.js.map +1 -0
  60. package/dist/commonjs/models/components/affinityrating.d.ts +19 -0
  61. package/dist/commonjs/models/components/affinityrating.d.ts.map +1 -0
  62. package/dist/commonjs/models/components/affinityrating.js +53 -0
  63. package/dist/commonjs/models/components/affinityrating.js.map +1 -0
  64. package/dist/commonjs/models/components/availabilitypriceband.d.ts +24 -0
  65. package/dist/commonjs/models/components/availabilitypriceband.d.ts.map +1 -0
  66. package/dist/commonjs/models/components/availabilitypriceband.js +62 -0
  67. package/dist/commonjs/models/components/availabilitypriceband.js.map +1 -0
  68. package/dist/commonjs/models/components/deployment.d.ts +10 -0
  69. package/dist/commonjs/models/components/deployment.d.ts.map +1 -1
  70. package/dist/commonjs/models/components/deployment.js +6 -0
  71. package/dist/commonjs/models/components/deployment.js.map +1 -1
  72. package/dist/commonjs/models/components/deploymentacceleratorspec.d.ts +5 -5
  73. package/dist/commonjs/models/components/deploymentacceleratorspec.d.ts.map +1 -1
  74. package/dist/commonjs/models/components/deploymentacceleratorspec.js +6 -6
  75. package/dist/commonjs/models/components/deploymentacceleratorspec.js.map +1 -1
  76. package/dist/commonjs/models/components/deploymentcreate.d.ts +3 -0
  77. package/dist/commonjs/models/components/deploymentcreate.d.ts.map +1 -1
  78. package/dist/commonjs/models/components/deploymentcreate.js.map +1 -1
  79. package/dist/commonjs/models/components/finetunejob.d.ts +10 -0
  80. package/dist/commonjs/models/components/finetunejob.d.ts.map +1 -1
  81. package/dist/commonjs/models/components/finetunejob.js +6 -0
  82. package/dist/commonjs/models/components/finetunejob.js.map +1 -1
  83. package/dist/commonjs/models/components/finetunejobcreate.d.ts +3 -0
  84. package/dist/commonjs/models/components/finetunejobcreate.d.ts.map +1 -1
  85. package/dist/commonjs/models/components/finetunejobcreate.js.map +1 -1
  86. package/dist/commonjs/models/components/index.d.ts +7 -0
  87. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  88. package/dist/commonjs/models/components/index.js +7 -0
  89. package/dist/commonjs/models/components/index.js.map +1 -1
  90. package/dist/commonjs/models/components/metrics.d.ts +3 -5
  91. package/dist/commonjs/models/components/metrics.d.ts.map +1 -1
  92. package/dist/commonjs/models/components/metrics.js +4 -8
  93. package/dist/commonjs/models/components/metrics.js.map +1 -1
  94. package/dist/commonjs/models/components/model.d.ts +5 -0
  95. package/dist/commonjs/models/components/model.d.ts.map +1 -1
  96. package/dist/commonjs/models/components/model.js +4 -0
  97. package/dist/commonjs/models/components/model.js.map +1 -1
  98. package/dist/commonjs/models/components/secret.d.ts +15 -0
  99. package/dist/commonjs/models/components/secret.d.ts.map +1 -1
  100. package/dist/commonjs/models/components/secret.js +14 -1
  101. package/dist/commonjs/models/components/secret.js.map +1 -1
  102. package/dist/commonjs/models/components/secretcreate.d.ts +15 -0
  103. package/dist/commonjs/models/components/secretcreate.d.ts.map +1 -1
  104. package/dist/commonjs/models/components/secretcreate.js +20 -1
  105. package/dist/commonjs/models/components/secretcreate.js.map +1 -1
  106. package/dist/commonjs/models/components/spendsummary.d.ts +3 -3
  107. package/dist/commonjs/models/components/spendsummary.d.ts.map +1 -1
  108. package/dist/commonjs/models/components/spendsummary.js +2 -2
  109. package/dist/commonjs/models/components/spendsummary.js.map +1 -1
  110. package/dist/commonjs/models/components/volume.d.ts +26 -0
  111. package/dist/commonjs/models/components/volume.d.ts.map +1 -1
  112. package/dist/commonjs/models/components/volume.js +18 -1
  113. package/dist/commonjs/models/components/volume.js.map +1 -1
  114. package/dist/commonjs/models/operations/getaccelerator.d.ts +22 -0
  115. package/dist/commonjs/models/operations/getaccelerator.d.ts.map +1 -0
  116. package/dist/commonjs/models/operations/getaccelerator.js +69 -0
  117. package/dist/commonjs/models/operations/getaccelerator.js.map +1 -0
  118. package/dist/commonjs/models/operations/getacceleratoravailability.d.ts +44 -0
  119. package/dist/commonjs/models/operations/getacceleratoravailability.d.ts.map +1 -0
  120. package/dist/commonjs/models/operations/getacceleratoravailability.js +84 -0
  121. package/dist/commonjs/models/operations/getacceleratoravailability.js.map +1 -0
  122. package/dist/commonjs/models/operations/getsecret.d.ts +22 -0
  123. package/dist/commonjs/models/operations/getsecret.d.ts.map +1 -0
  124. package/dist/commonjs/models/operations/getsecret.js +71 -0
  125. package/dist/commonjs/models/operations/getsecret.js.map +1 -0
  126. package/dist/commonjs/models/operations/index.d.ts +3 -0
  127. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  128. package/dist/commonjs/models/operations/index.js +3 -0
  129. package/dist/commonjs/models/operations/index.js.map +1 -1
  130. package/dist/commonjs/react-query/index.d.ts +3 -0
  131. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  132. package/dist/commonjs/react-query/index.js +3 -0
  133. package/dist/commonjs/react-query/index.js.map +1 -1
  134. package/dist/commonjs/react-query/servingAcceleratorsAvailability.core.d.ts +16 -0
  135. package/dist/commonjs/react-query/servingAcceleratorsAvailability.core.d.ts.map +1 -0
  136. package/dist/commonjs/react-query/servingAcceleratorsAvailability.core.js +37 -0
  137. package/dist/commonjs/react-query/servingAcceleratorsAvailability.core.js.map +1 -0
  138. package/dist/commonjs/react-query/servingAcceleratorsAvailability.d.ts +41 -0
  139. package/dist/commonjs/react-query/servingAcceleratorsAvailability.d.ts.map +1 -0
  140. package/dist/commonjs/react-query/servingAcceleratorsAvailability.js +65 -0
  141. package/dist/commonjs/react-query/servingAcceleratorsAvailability.js.map +1 -0
  142. package/dist/commonjs/react-query/servingAcceleratorsGet.core.d.ts +15 -0
  143. package/dist/commonjs/react-query/servingAcceleratorsGet.core.d.ts.map +1 -0
  144. package/dist/commonjs/react-query/servingAcceleratorsGet.core.js +36 -0
  145. package/dist/commonjs/react-query/servingAcceleratorsGet.core.js.map +1 -0
  146. package/dist/commonjs/react-query/servingAcceleratorsGet.d.ts +39 -0
  147. package/dist/commonjs/react-query/servingAcceleratorsGet.d.ts.map +1 -0
  148. package/dist/commonjs/react-query/servingAcceleratorsGet.js +60 -0
  149. package/dist/commonjs/react-query/servingAcceleratorsGet.js.map +1 -0
  150. package/dist/commonjs/react-query/servingSecretsGet.core.d.ts +15 -0
  151. package/dist/commonjs/react-query/servingSecretsGet.core.d.ts.map +1 -0
  152. package/dist/commonjs/react-query/servingSecretsGet.core.js +36 -0
  153. package/dist/commonjs/react-query/servingSecretsGet.core.js.map +1 -0
  154. package/dist/commonjs/react-query/servingSecretsGet.d.ts +39 -0
  155. package/dist/commonjs/react-query/servingSecretsGet.d.ts.map +1 -0
  156. package/dist/commonjs/react-query/servingSecretsGet.js +60 -0
  157. package/dist/commonjs/react-query/servingSecretsGet.js.map +1 -0
  158. package/dist/commonjs/sdk/accelerators.d.ts +14 -0
  159. package/dist/commonjs/sdk/accelerators.d.ts.map +1 -1
  160. package/dist/commonjs/sdk/accelerators.js +20 -0
  161. package/dist/commonjs/sdk/accelerators.js.map +1 -1
  162. package/dist/commonjs/sdk/secrets.d.ts +7 -0
  163. package/dist/commonjs/sdk/secrets.d.ts.map +1 -1
  164. package/dist/commonjs/sdk/secrets.js +10 -0
  165. package/dist/commonjs/sdk/secrets.js.map +1 -1
  166. package/dist/esm/funcs/servingAcceleratorsAvailability.d.ts +19 -0
  167. package/dist/esm/funcs/servingAcceleratorsAvailability.d.ts.map +1 -0
  168. package/dist/esm/funcs/servingAcceleratorsAvailability.js +104 -0
  169. package/dist/esm/funcs/servingAcceleratorsAvailability.js.map +1 -0
  170. package/dist/esm/funcs/servingAcceleratorsGet.d.ts +19 -0
  171. package/dist/esm/funcs/servingAcceleratorsGet.d.ts.map +1 -0
  172. package/dist/esm/funcs/servingAcceleratorsGet.js +100 -0
  173. package/dist/esm/funcs/servingAcceleratorsGet.js.map +1 -0
  174. package/dist/esm/funcs/servingFinetuneJobsCreate.js +1 -1
  175. package/dist/esm/funcs/servingFinetuneJobsCreate.js.map +1 -1
  176. package/dist/esm/funcs/servingSecretsGet.d.ts +19 -0
  177. package/dist/esm/funcs/servingSecretsGet.d.ts.map +1 -0
  178. package/dist/esm/funcs/servingSecretsGet.js +100 -0
  179. package/dist/esm/funcs/servingSecretsGet.js.map +1 -0
  180. package/dist/esm/lib/config.d.ts +2 -2
  181. package/dist/esm/lib/config.js +2 -2
  182. package/dist/esm/mcp-server/mcp-server.js +1 -1
  183. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  184. package/dist/esm/mcp-server/server.js +7 -1
  185. package/dist/esm/mcp-server/server.js.map +1 -1
  186. package/dist/esm/mcp-server/tools/servingAcceleratorsAvailability.d.ts +8 -0
  187. package/dist/esm/mcp-server/tools/servingAcceleratorsAvailability.d.ts.map +1 -0
  188. package/dist/esm/mcp-server/tools/servingAcceleratorsAvailability.js +28 -0
  189. package/dist/esm/mcp-server/tools/servingAcceleratorsAvailability.js.map +1 -0
  190. package/dist/esm/mcp-server/tools/servingAcceleratorsGet.d.ts +8 -0
  191. package/dist/esm/mcp-server/tools/servingAcceleratorsGet.d.ts.map +1 -0
  192. package/dist/esm/mcp-server/tools/servingAcceleratorsGet.js +28 -0
  193. package/dist/esm/mcp-server/tools/servingAcceleratorsGet.js.map +1 -0
  194. package/dist/esm/mcp-server/tools/servingSecretsGet.d.ts +8 -0
  195. package/dist/esm/mcp-server/tools/servingSecretsGet.d.ts.map +1 -0
  196. package/dist/esm/mcp-server/tools/servingSecretsGet.js +28 -0
  197. package/dist/esm/mcp-server/tools/servingSecretsGet.js.map +1 -0
  198. package/dist/esm/models/components/acceleratoravailability.d.ts +62 -0
  199. package/dist/esm/models/components/acceleratoravailability.d.ts.map +1 -0
  200. package/dist/esm/models/components/acceleratoravailability.js +64 -0
  201. package/dist/esm/models/components/acceleratoravailability.js.map +1 -0
  202. package/dist/esm/models/components/acceleratoravailabilitybucket.d.ts +39 -0
  203. package/dist/esm/models/components/acceleratoravailabilitybucket.d.ts.map +1 -0
  204. package/dist/esm/models/components/acceleratoravailabilitybucket.js +42 -0
  205. package/dist/esm/models/components/acceleratoravailabilitybucket.js.map +1 -0
  206. package/dist/esm/models/components/acceleratorhourofdayslot.d.ts +33 -0
  207. package/dist/esm/models/components/acceleratorhourofdayslot.d.ts.map +1 -0
  208. package/dist/esm/models/components/acceleratorhourofdayslot.js +33 -0
  209. package/dist/esm/models/components/acceleratorhourofdayslot.js.map +1 -0
  210. package/dist/esm/models/components/acceleratorprovideravailability.d.ts +23 -0
  211. package/dist/esm/models/components/acceleratorprovideravailability.d.ts.map +1 -0
  212. package/dist/esm/models/components/acceleratorprovideravailability.js +23 -0
  213. package/dist/esm/models/components/acceleratorprovideravailability.js.map +1 -0
  214. package/dist/esm/models/components/acceleratortype.d.ts +61 -3
  215. package/dist/esm/models/components/acceleratortype.d.ts.map +1 -1
  216. package/dist/esm/models/components/acceleratortype.js +36 -2
  217. package/dist/esm/models/components/acceleratortype.js.map +1 -1
  218. package/dist/esm/models/components/acceleratorworkloadaffinity.d.ts +29 -0
  219. package/dist/esm/models/components/acceleratorworkloadaffinity.d.ts.map +1 -0
  220. package/dist/esm/models/components/acceleratorworkloadaffinity.js +23 -0
  221. package/dist/esm/models/components/acceleratorworkloadaffinity.js.map +1 -0
  222. package/dist/esm/models/components/affinityrating.d.ts +19 -0
  223. package/dist/esm/models/components/affinityrating.d.ts.map +1 -0
  224. package/dist/esm/models/components/affinityrating.js +17 -0
  225. package/dist/esm/models/components/affinityrating.js.map +1 -0
  226. package/dist/esm/models/components/availabilitypriceband.d.ts +24 -0
  227. package/dist/esm/models/components/availabilitypriceband.d.ts.map +1 -0
  228. package/dist/esm/models/components/availabilitypriceband.js +24 -0
  229. package/dist/esm/models/components/availabilitypriceband.js.map +1 -0
  230. package/dist/esm/models/components/deployment.d.ts +10 -0
  231. package/dist/esm/models/components/deployment.d.ts.map +1 -1
  232. package/dist/esm/models/components/deployment.js +6 -0
  233. package/dist/esm/models/components/deployment.js.map +1 -1
  234. package/dist/esm/models/components/deploymentacceleratorspec.d.ts +5 -5
  235. package/dist/esm/models/components/deploymentacceleratorspec.d.ts.map +1 -1
  236. package/dist/esm/models/components/deploymentacceleratorspec.js +5 -5
  237. package/dist/esm/models/components/deploymentacceleratorspec.js.map +1 -1
  238. package/dist/esm/models/components/deploymentcreate.d.ts +3 -0
  239. package/dist/esm/models/components/deploymentcreate.d.ts.map +1 -1
  240. package/dist/esm/models/components/deploymentcreate.js.map +1 -1
  241. package/dist/esm/models/components/finetunejob.d.ts +10 -0
  242. package/dist/esm/models/components/finetunejob.d.ts.map +1 -1
  243. package/dist/esm/models/components/finetunejob.js +6 -0
  244. package/dist/esm/models/components/finetunejob.js.map +1 -1
  245. package/dist/esm/models/components/finetunejobcreate.d.ts +3 -0
  246. package/dist/esm/models/components/finetunejobcreate.d.ts.map +1 -1
  247. package/dist/esm/models/components/finetunejobcreate.js.map +1 -1
  248. package/dist/esm/models/components/index.d.ts +7 -0
  249. package/dist/esm/models/components/index.d.ts.map +1 -1
  250. package/dist/esm/models/components/index.js +7 -0
  251. package/dist/esm/models/components/index.js.map +1 -1
  252. package/dist/esm/models/components/metrics.d.ts +3 -5
  253. package/dist/esm/models/components/metrics.d.ts.map +1 -1
  254. package/dist/esm/models/components/metrics.js +4 -8
  255. package/dist/esm/models/components/metrics.js.map +1 -1
  256. package/dist/esm/models/components/model.d.ts +5 -0
  257. package/dist/esm/models/components/model.d.ts.map +1 -1
  258. package/dist/esm/models/components/model.js +4 -0
  259. package/dist/esm/models/components/model.js.map +1 -1
  260. package/dist/esm/models/components/secret.d.ts +15 -0
  261. package/dist/esm/models/components/secret.d.ts.map +1 -1
  262. package/dist/esm/models/components/secret.js +13 -0
  263. package/dist/esm/models/components/secret.js.map +1 -1
  264. package/dist/esm/models/components/secretcreate.d.ts +15 -0
  265. package/dist/esm/models/components/secretcreate.d.ts.map +1 -1
  266. package/dist/esm/models/components/secretcreate.js +19 -0
  267. package/dist/esm/models/components/secretcreate.js.map +1 -1
  268. package/dist/esm/models/components/spendsummary.d.ts +3 -3
  269. package/dist/esm/models/components/spendsummary.d.ts.map +1 -1
  270. package/dist/esm/models/components/spendsummary.js +2 -2
  271. package/dist/esm/models/components/spendsummary.js.map +1 -1
  272. package/dist/esm/models/components/volume.d.ts +26 -0
  273. package/dist/esm/models/components/volume.d.ts.map +1 -1
  274. package/dist/esm/models/components/volume.js +17 -0
  275. package/dist/esm/models/components/volume.js.map +1 -1
  276. package/dist/esm/models/operations/getaccelerator.d.ts +22 -0
  277. package/dist/esm/models/operations/getaccelerator.d.ts.map +1 -0
  278. package/dist/esm/models/operations/getaccelerator.js +31 -0
  279. package/dist/esm/models/operations/getaccelerator.js.map +1 -0
  280. package/dist/esm/models/operations/getacceleratoravailability.d.ts +44 -0
  281. package/dist/esm/models/operations/getacceleratoravailability.d.ts.map +1 -0
  282. package/dist/esm/models/operations/getacceleratoravailability.js +46 -0
  283. package/dist/esm/models/operations/getacceleratoravailability.js.map +1 -0
  284. package/dist/esm/models/operations/getsecret.d.ts +22 -0
  285. package/dist/esm/models/operations/getsecret.d.ts.map +1 -0
  286. package/dist/esm/models/operations/getsecret.js +33 -0
  287. package/dist/esm/models/operations/getsecret.js.map +1 -0
  288. package/dist/esm/models/operations/index.d.ts +3 -0
  289. package/dist/esm/models/operations/index.d.ts.map +1 -1
  290. package/dist/esm/models/operations/index.js +3 -0
  291. package/dist/esm/models/operations/index.js.map +1 -1
  292. package/dist/esm/react-query/index.d.ts +3 -0
  293. package/dist/esm/react-query/index.d.ts.map +1 -1
  294. package/dist/esm/react-query/index.js +3 -0
  295. package/dist/esm/react-query/index.js.map +1 -1
  296. package/dist/esm/react-query/servingAcceleratorsAvailability.core.d.ts +16 -0
  297. package/dist/esm/react-query/servingAcceleratorsAvailability.core.d.ts.map +1 -0
  298. package/dist/esm/react-query/servingAcceleratorsAvailability.core.js +32 -0
  299. package/dist/esm/react-query/servingAcceleratorsAvailability.core.js.map +1 -0
  300. package/dist/esm/react-query/servingAcceleratorsAvailability.d.ts +41 -0
  301. package/dist/esm/react-query/servingAcceleratorsAvailability.d.ts.map +1 -0
  302. package/dist/esm/react-query/servingAcceleratorsAvailability.js +55 -0
  303. package/dist/esm/react-query/servingAcceleratorsAvailability.js.map +1 -0
  304. package/dist/esm/react-query/servingAcceleratorsGet.core.d.ts +15 -0
  305. package/dist/esm/react-query/servingAcceleratorsGet.core.d.ts.map +1 -0
  306. package/dist/esm/react-query/servingAcceleratorsGet.core.js +31 -0
  307. package/dist/esm/react-query/servingAcceleratorsGet.core.js.map +1 -0
  308. package/dist/esm/react-query/servingAcceleratorsGet.d.ts +39 -0
  309. package/dist/esm/react-query/servingAcceleratorsGet.d.ts.map +1 -0
  310. package/dist/esm/react-query/servingAcceleratorsGet.js +50 -0
  311. package/dist/esm/react-query/servingAcceleratorsGet.js.map +1 -0
  312. package/dist/esm/react-query/servingSecretsGet.core.d.ts +15 -0
  313. package/dist/esm/react-query/servingSecretsGet.core.d.ts.map +1 -0
  314. package/dist/esm/react-query/servingSecretsGet.core.js +31 -0
  315. package/dist/esm/react-query/servingSecretsGet.core.js.map +1 -0
  316. package/dist/esm/react-query/servingSecretsGet.d.ts +39 -0
  317. package/dist/esm/react-query/servingSecretsGet.d.ts.map +1 -0
  318. package/dist/esm/react-query/servingSecretsGet.js +50 -0
  319. package/dist/esm/react-query/servingSecretsGet.js.map +1 -0
  320. package/dist/esm/sdk/accelerators.d.ts +14 -0
  321. package/dist/esm/sdk/accelerators.d.ts.map +1 -1
  322. package/dist/esm/sdk/accelerators.js +20 -0
  323. package/dist/esm/sdk/accelerators.js.map +1 -1
  324. package/dist/esm/sdk/secrets.d.ts +7 -0
  325. package/dist/esm/sdk/secrets.d.ts.map +1 -1
  326. package/dist/esm/sdk/secrets.js +10 -0
  327. package/dist/esm/sdk/secrets.js.map +1 -1
  328. package/jsr.json +1 -1
  329. package/package.json +1 -1
  330. package/src/funcs/servingAcceleratorsAvailability.ts +205 -0
  331. package/src/funcs/servingAcceleratorsGet.ts +192 -0
  332. package/src/funcs/servingFinetuneJobsCreate.ts +1 -1
  333. package/src/funcs/servingSecretsGet.ts +196 -0
  334. package/src/lib/config.ts +2 -2
  335. package/src/mcp-server/mcp-server.ts +1 -1
  336. package/src/mcp-server/server.ts +7 -1
  337. package/src/mcp-server/tools/servingAcceleratorsAvailability.ts +38 -0
  338. package/src/mcp-server/tools/servingAcceleratorsGet.ts +37 -0
  339. package/src/mcp-server/tools/servingSecretsGet.ts +37 -0
  340. package/src/models/components/acceleratoravailability.ts +146 -0
  341. package/src/models/components/acceleratoravailabilitybucket.ts +103 -0
  342. package/src/models/components/acceleratorhourofdayslot.ts +80 -0
  343. package/src/models/components/acceleratorprovideravailability.ts +66 -0
  344. package/src/models/components/acceleratortype.ts +85 -5
  345. package/src/models/components/acceleratorworkloadaffinity.ts +71 -0
  346. package/src/models/components/affinityrating.ts +28 -0
  347. package/src/models/components/availabilitypriceband.ts +62 -0
  348. package/src/models/components/deployment.ts +16 -0
  349. package/src/models/components/deploymentacceleratorspec.ts +13 -10
  350. package/src/models/components/deploymentcreate.ts +3 -0
  351. package/src/models/components/finetunejob.ts +16 -0
  352. package/src/models/components/finetunejobcreate.ts +3 -0
  353. package/src/models/components/index.ts +7 -0
  354. package/src/models/components/metrics.ts +7 -13
  355. package/src/models/components/model.ts +9 -0
  356. package/src/models/components/secret.ts +23 -0
  357. package/src/models/components/secretcreate.ts +32 -0
  358. package/src/models/components/spendsummary.ts +5 -5
  359. package/src/models/components/volume.ts +36 -0
  360. package/src/models/operations/getaccelerator.ts +67 -0
  361. package/src/models/operations/getacceleratoravailability.ts +97 -0
  362. package/src/models/operations/getsecret.ts +69 -0
  363. package/src/models/operations/index.ts +3 -0
  364. package/src/react-query/index.ts +3 -0
  365. package/src/react-query/servingAcceleratorsAvailability.core.ts +81 -0
  366. package/src/react-query/servingAcceleratorsAvailability.ts +161 -0
  367. package/src/react-query/servingAcceleratorsGet.core.ts +76 -0
  368. package/src/react-query/servingAcceleratorsGet.ts +143 -0
  369. package/src/react-query/servingSecretsGet.core.ts +76 -0
  370. package/src/react-query/servingSecretsGet.ts +141 -0
  371. package/src/sdk/accelerators.ts +36 -0
  372. package/src/sdk/secrets.ts +18 -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.15",
52879
+ sdkVersion: "0.51.17",
52880
52880
  genVersion: "2.918.4",
52881
- userAgent: "speakeasy-sdk/typescript 0.51.15 2.918.4 1.1.0 @meetkai/mka1"
52881
+ userAgent: "speakeasy-sdk/typescript 0.51.17 2.918.4 1.1.0 @meetkai/mka1"
52882
52882
  };
52883
52883
  });
52884
52884
 
@@ -54484,6 +54484,145 @@ var init_security = __esm(() => {
54484
54484
  };
54485
54485
  });
54486
54486
 
54487
+ // src/models/components/availabilitypriceband.ts
54488
+ var AvailabilityPriceBand$inboundSchema, AvailabilityPriceBand$outboundSchema;
54489
+ var init_availabilitypriceband = __esm(() => {
54490
+ init_esm();
54491
+ AvailabilityPriceBand$inboundSchema = objectType({
54492
+ avg: numberType(),
54493
+ max: numberType(),
54494
+ min: numberType()
54495
+ });
54496
+ AvailabilityPriceBand$outboundSchema = objectType({
54497
+ avg: numberType(),
54498
+ max: numberType(),
54499
+ min: numberType()
54500
+ });
54501
+ });
54502
+
54503
+ // src/models/components/acceleratoravailabilitybucket.ts
54504
+ var AcceleratorAvailabilityBucket$inboundSchema, AcceleratorAvailabilityBucket$outboundSchema;
54505
+ var init_acceleratoravailabilitybucket = __esm(() => {
54506
+ init_esm();
54507
+ init_primitives();
54508
+ init_availabilitypriceband();
54509
+ AcceleratorAvailabilityBucket$inboundSchema = objectType({
54510
+ availability_ratio: numberType(),
54511
+ bucket_start: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
54512
+ present_polls: numberType().int(),
54513
+ price_band: nullableType(AvailabilityPriceBand$inboundSchema).optional()
54514
+ }).transform((v2) => {
54515
+ return remap(v2, {
54516
+ availability_ratio: "availabilityRatio",
54517
+ bucket_start: "bucketStart",
54518
+ present_polls: "presentPolls",
54519
+ price_band: "priceBand"
54520
+ });
54521
+ });
54522
+ AcceleratorAvailabilityBucket$outboundSchema = objectType({
54523
+ availabilityRatio: numberType(),
54524
+ bucketStart: dateType().transform((v2) => v2.toISOString()),
54525
+ presentPolls: numberType().int(),
54526
+ priceBand: nullableType(AvailabilityPriceBand$outboundSchema).optional()
54527
+ }).transform((v2) => {
54528
+ return remap(v2, {
54529
+ availabilityRatio: "availability_ratio",
54530
+ bucketStart: "bucket_start",
54531
+ presentPolls: "present_polls",
54532
+ priceBand: "price_band"
54533
+ });
54534
+ });
54535
+ });
54536
+
54537
+ // src/models/components/acceleratorhourofdayslot.ts
54538
+ var AcceleratorHourOfDaySlot$inboundSchema, AcceleratorHourOfDaySlot$outboundSchema;
54539
+ var init_acceleratorhourofdayslot = __esm(() => {
54540
+ init_esm();
54541
+ init_primitives();
54542
+ AcceleratorHourOfDaySlot$inboundSchema = objectType({
54543
+ availability_ratio: numberType(),
54544
+ hour: numberType().int(),
54545
+ samples: numberType().int()
54546
+ }).transform((v2) => {
54547
+ return remap(v2, {
54548
+ availability_ratio: "availabilityRatio"
54549
+ });
54550
+ });
54551
+ AcceleratorHourOfDaySlot$outboundSchema = objectType({
54552
+ availabilityRatio: numberType(),
54553
+ hour: numberType().int(),
54554
+ samples: numberType().int()
54555
+ }).transform((v2) => {
54556
+ return remap(v2, {
54557
+ availabilityRatio: "availability_ratio"
54558
+ });
54559
+ });
54560
+ });
54561
+
54562
+ // src/models/components/acceleratorprovideravailability.ts
54563
+ var AcceleratorProviderAvailability$inboundSchema, AcceleratorProviderAvailability$outboundSchema;
54564
+ var init_acceleratorprovideravailability = __esm(() => {
54565
+ init_esm();
54566
+ init_acceleratoravailabilitybucket();
54567
+ AcceleratorProviderAvailability$inboundSchema = objectType({
54568
+ buckets: arrayType(AcceleratorAvailabilityBucket$inboundSchema),
54569
+ provider: stringType()
54570
+ });
54571
+ AcceleratorProviderAvailability$outboundSchema = objectType({
54572
+ buckets: arrayType(AcceleratorAvailabilityBucket$outboundSchema),
54573
+ provider: stringType()
54574
+ });
54575
+ });
54576
+
54577
+ // src/models/components/acceleratoravailability.ts
54578
+ var AcceleratorAvailabilityClass, Window, AcceleratorAvailabilityClass$inboundSchema, AcceleratorAvailabilityClass$outboundSchema, Window$inboundSchema, Window$outboundSchema, AcceleratorAvailability$inboundSchema, AcceleratorAvailability$outboundSchema;
54579
+ var init_acceleratoravailability = __esm(() => {
54580
+ init_esm();
54581
+ init_primitives();
54582
+ init_acceleratoravailabilitybucket();
54583
+ init_acceleratorhourofdayslot();
54584
+ init_acceleratorprovideravailability();
54585
+ AcceleratorAvailabilityClass = {
54586
+ Gpu: "gpu",
54587
+ Cpu: "cpu"
54588
+ };
54589
+ Window = {
54590
+ TwentyFourh: "24h",
54591
+ Sevend: "7d",
54592
+ Thirtyd: "30d"
54593
+ };
54594
+ AcceleratorAvailabilityClass$inboundSchema = nativeEnumType(AcceleratorAvailabilityClass);
54595
+ AcceleratorAvailabilityClass$outboundSchema = AcceleratorAvailabilityClass$inboundSchema;
54596
+ Window$inboundSchema = nativeEnumType(Window);
54597
+ Window$outboundSchema = Window$inboundSchema;
54598
+ AcceleratorAvailability$inboundSchema = objectType({
54599
+ buckets: arrayType(AcceleratorAvailabilityBucket$inboundSchema),
54600
+ by_provider: arrayType(AcceleratorProviderAvailability$inboundSchema).optional(),
54601
+ class: AcceleratorAvailabilityClass$inboundSchema,
54602
+ hour_of_day: arrayType(AcceleratorHourOfDaySlot$inboundSchema),
54603
+ name: stringType(),
54604
+ window: Window$inboundSchema
54605
+ }).transform((v2) => {
54606
+ return remap(v2, {
54607
+ by_provider: "byProvider",
54608
+ hour_of_day: "hourOfDay"
54609
+ });
54610
+ });
54611
+ AcceleratorAvailability$outboundSchema = objectType({
54612
+ buckets: arrayType(AcceleratorAvailabilityBucket$outboundSchema),
54613
+ byProvider: arrayType(AcceleratorProviderAvailability$outboundSchema).optional(),
54614
+ class: AcceleratorAvailabilityClass$outboundSchema,
54615
+ hourOfDay: arrayType(AcceleratorHourOfDaySlot$outboundSchema),
54616
+ name: stringType(),
54617
+ window: Window$outboundSchema
54618
+ }).transform((v2) => {
54619
+ return remap(v2, {
54620
+ byProvider: "by_provider",
54621
+ hourOfDay: "hour_of_day"
54622
+ });
54623
+ });
54624
+ });
54625
+
54487
54626
  // src/models/components/acceleratorpriceband.ts
54488
54627
  var AcceleratorPriceBand$inboundSchema, AcceleratorPriceBand$outboundSchema;
54489
54628
  var init_acceleratorpriceband = __esm(() => {
@@ -54514,6 +54653,34 @@ var init_acceleratorspec = __esm(() => {
54514
54653
  });
54515
54654
  });
54516
54655
 
54656
+ // src/models/components/affinityrating.ts
54657
+ var AffinityRating, AffinityRating$inboundSchema, AffinityRating$outboundSchema;
54658
+ var init_affinityrating = __esm(() => {
54659
+ init_esm();
54660
+ AffinityRating = {
54661
+ Optimal: "optimal",
54662
+ Capable: "capable",
54663
+ Unsuited: "unsuited"
54664
+ };
54665
+ AffinityRating$inboundSchema = nativeEnumType(AffinityRating);
54666
+ AffinityRating$outboundSchema = AffinityRating$inboundSchema;
54667
+ });
54668
+
54669
+ // src/models/components/acceleratorworkloadaffinity.ts
54670
+ var AcceleratorWorkloadAffinity$inboundSchema, AcceleratorWorkloadAffinity$outboundSchema;
54671
+ var init_acceleratorworkloadaffinity = __esm(() => {
54672
+ init_esm();
54673
+ init_affinityrating();
54674
+ AcceleratorWorkloadAffinity$inboundSchema = objectType({
54675
+ serving: AffinityRating$inboundSchema,
54676
+ training: AffinityRating$inboundSchema
54677
+ });
54678
+ AcceleratorWorkloadAffinity$outboundSchema = objectType({
54679
+ serving: AffinityRating$outboundSchema,
54680
+ training: AffinityRating$outboundSchema
54681
+ });
54682
+ });
54683
+
54517
54684
  // src/models/components/acquirability.ts
54518
54685
  var Acquirability, Acquirability$inboundSchema, Acquirability$outboundSchema;
54519
54686
  var init_acquirability = __esm(() => {
@@ -54529,54 +54696,75 @@ var init_acquirability = __esm(() => {
54529
54696
  });
54530
54697
 
54531
54698
  // src/models/components/acceleratortype.ts
54532
- var Kind, Kind$inboundSchema, Kind$outboundSchema, AcceleratorType$inboundSchema, AcceleratorType$outboundSchema;
54699
+ var Class2, Kind, Placements, Class$inboundSchema, Class$outboundSchema, Kind$inboundSchema, Kind$outboundSchema, Placements$inboundSchema, Placements$outboundSchema, AcceleratorType$inboundSchema, AcceleratorType$outboundSchema;
54533
54700
  var init_acceleratortype = __esm(() => {
54534
54701
  init_esm();
54535
54702
  init_primitives();
54536
54703
  init_acceleratorpriceband();
54704
+ init_acceleratorworkloadaffinity();
54537
54705
  init_acquirability();
54706
+ Class2 = {
54707
+ Gpu: "gpu",
54708
+ Cpu: "cpu"
54709
+ };
54538
54710
  Kind = {
54539
54711
  Gpu: "gpu",
54540
54712
  Npu: "npu",
54541
54713
  Tpu: "tpu",
54542
54714
  Other: "other"
54543
54715
  };
54716
+ Placements = {
54717
+ Internal: "internal",
54718
+ External: "external"
54719
+ };
54720
+ Class$inboundSchema = nativeEnumType(Class2);
54721
+ Class$outboundSchema = Class$inboundSchema;
54544
54722
  Kind$inboundSchema = nativeEnumType(Kind);
54545
54723
  Kind$outboundSchema = Kind$inboundSchema;
54724
+ Placements$inboundSchema = nativeEnumType(Placements);
54725
+ Placements$outboundSchema = Placements$inboundSchema;
54546
54726
  AcceleratorType$inboundSchema = objectType({
54547
54727
  acquirability: Acquirability$inboundSchema.optional(),
54548
54728
  acquirable_count: numberType().int().optional(),
54729
+ class: Class$inboundSchema,
54549
54730
  kind: Kind$inboundSchema.default("gpu"),
54550
54731
  max_count: numberType().int(),
54551
- memory_gb: numberType().int(),
54732
+ memory_gb: numberType().int().optional(),
54552
54733
  name: stringType(),
54553
54734
  offered: booleanType().optional(),
54735
+ placements: arrayType(Placements$inboundSchema),
54554
54736
  price_usd_hr: AcceleratorPriceBand$inboundSchema.optional(),
54555
- vendor: stringType()
54737
+ vendor: stringType(),
54738
+ workload_affinity: AcceleratorWorkloadAffinity$inboundSchema
54556
54739
  }).transform((v2) => {
54557
54740
  return remap(v2, {
54558
54741
  acquirable_count: "acquirableCount",
54559
54742
  max_count: "maxCount",
54560
54743
  memory_gb: "memoryGb",
54561
- price_usd_hr: "priceUsdHr"
54744
+ price_usd_hr: "priceUsdHr",
54745
+ workload_affinity: "workloadAffinity"
54562
54746
  });
54563
54747
  });
54564
54748
  AcceleratorType$outboundSchema = objectType({
54565
54749
  acquirability: Acquirability$outboundSchema.optional(),
54566
54750
  acquirableCount: numberType().int().optional(),
54751
+ class: Class$outboundSchema,
54567
54752
  kind: Kind$outboundSchema.default("gpu"),
54568
54753
  maxCount: numberType().int(),
54569
- memoryGb: numberType().int(),
54754
+ memoryGb: numberType().int().optional(),
54570
54755
  name: stringType(),
54571
54756
  offered: booleanType().optional(),
54757
+ placements: arrayType(Placements$outboundSchema),
54572
54758
  priceUsdHr: AcceleratorPriceBand$outboundSchema.optional(),
54573
- vendor: stringType()
54759
+ vendor: stringType(),
54760
+ workloadAffinity: AcceleratorWorkloadAffinity$outboundSchema
54574
54761
  }).transform((v2) => {
54575
54762
  return remap(v2, {
54576
54763
  acquirableCount: "acquirable_count",
54577
54764
  maxCount: "max_count",
54578
54765
  memoryGb: "memory_gb",
54579
- priceUsdHr: "price_usd_hr"
54766
+ priceUsdHr: "price_usd_hr",
54767
+ workloadAffinity: "workload_affinity"
54580
54768
  });
54581
54769
  });
54582
54770
  });
@@ -63386,23 +63574,23 @@ var init_deleteresponseobject = __esm(() => {
63386
63574
  });
63387
63575
 
63388
63576
  // src/models/components/deploymentacceleratorspec.ts
63389
- var Class2, Class$inboundSchema, Class$outboundSchema, DeploymentAcceleratorSpec$inboundSchema, DeploymentAcceleratorSpec$outboundSchema;
63577
+ var DeploymentAcceleratorSpecClass, DeploymentAcceleratorSpecClass$inboundSchema, DeploymentAcceleratorSpecClass$outboundSchema, DeploymentAcceleratorSpec$inboundSchema, DeploymentAcceleratorSpec$outboundSchema;
63390
63578
  var init_deploymentacceleratorspec = __esm(() => {
63391
63579
  init_esm();
63392
- Class2 = {
63580
+ DeploymentAcceleratorSpecClass = {
63393
63581
  Gpu: "gpu",
63394
63582
  Cpu: "cpu"
63395
63583
  };
63396
- Class$inboundSchema = nativeEnumType(Class2);
63397
- Class$outboundSchema = Class$inboundSchema;
63584
+ DeploymentAcceleratorSpecClass$inboundSchema = nativeEnumType(DeploymentAcceleratorSpecClass);
63585
+ DeploymentAcceleratorSpecClass$outboundSchema = DeploymentAcceleratorSpecClass$inboundSchema;
63398
63586
  DeploymentAcceleratorSpec$inboundSchema = objectType({
63399
- class: Class$inboundSchema.default("gpu"),
63587
+ class: DeploymentAcceleratorSpecClass$inboundSchema.default("gpu"),
63400
63588
  count: numberType().int().default(1),
63401
63589
  fallback: arrayType(stringType()).optional(),
63402
63590
  type: stringType().optional()
63403
63591
  });
63404
63592
  DeploymentAcceleratorSpec$outboundSchema = objectType({
63405
- class: Class$outboundSchema.default("gpu"),
63593
+ class: DeploymentAcceleratorSpecClass$outboundSchema.default("gpu"),
63406
63594
  count: numberType().int().default(1),
63407
63595
  fallback: arrayType(stringType()).optional(),
63408
63596
  type: stringType().optional()
@@ -63516,6 +63704,8 @@ var init_deployment = __esm(() => {
63516
63704
  image: nullableType(stringType()),
63517
63705
  model: stringType(),
63518
63706
  name: stringType(),
63707
+ phase: nullableType(stringType()).optional(),
63708
+ phase_message: nullableType(stringType()).optional(),
63519
63709
  revision: numberType().int(),
63520
63710
  scaling: Scaling$inboundSchema,
63521
63711
  served_model_id: nullableType(stringType()).optional(),
@@ -63524,6 +63714,7 @@ var init_deployment = __esm(() => {
63524
63714
  }).transform((v2) => {
63525
63715
  return remap(v2, {
63526
63716
  created_at: "createdAt",
63717
+ phase_message: "phaseMessage",
63527
63718
  served_model_id: "servedModelId",
63528
63719
  updated_at: "updatedAt"
63529
63720
  });
@@ -63537,6 +63728,8 @@ var init_deployment = __esm(() => {
63537
63728
  image: nullableType(stringType()),
63538
63729
  model: stringType(),
63539
63730
  name: stringType(),
63731
+ phase: nullableType(stringType()).optional(),
63732
+ phaseMessage: nullableType(stringType()).optional(),
63540
63733
  revision: numberType().int(),
63541
63734
  scaling: Scaling$outboundSchema,
63542
63735
  servedModelId: nullableType(stringType()).optional(),
@@ -63545,6 +63738,7 @@ var init_deployment = __esm(() => {
63545
63738
  }).transform((v2) => {
63546
63739
  return remap(v2, {
63547
63740
  createdAt: "created_at",
63741
+ phaseMessage: "phase_message",
63548
63742
  servedModelId: "served_model_id",
63549
63743
  updatedAt: "updated_at"
63550
63744
  });
@@ -65170,6 +65364,8 @@ var init_finetunejob = __esm(() => {
65170
65364
  name: stringType(),
65171
65365
  output_model: nullableType(stringType()).optional(),
65172
65366
  parent_job_id: nullableType(stringType()).optional(),
65367
+ phase: nullableType(stringType()).optional(),
65368
+ phase_message: nullableType(stringType()).optional(),
65173
65369
  progress: nullableType(numberType()).optional(),
65174
65370
  status: FinetuneJobStatus$inboundSchema
65175
65371
  }).transform((v2) => {
@@ -65179,7 +65375,8 @@ var init_finetunejob = __esm(() => {
65179
65375
  finished_at: "finishedAt",
65180
65376
  from_checkpoint: "fromCheckpoint",
65181
65377
  output_model: "outputModel",
65182
- parent_job_id: "parentJobId"
65378
+ parent_job_id: "parentJobId",
65379
+ phase_message: "phaseMessage"
65183
65380
  });
65184
65381
  });
65185
65382
  FinetuneJob$outboundSchema = objectType({
@@ -65193,6 +65390,8 @@ var init_finetunejob = __esm(() => {
65193
65390
  name: stringType(),
65194
65391
  outputModel: nullableType(stringType()).optional(),
65195
65392
  parentJobId: nullableType(stringType()).optional(),
65393
+ phase: nullableType(stringType()).optional(),
65394
+ phaseMessage: nullableType(stringType()).optional(),
65196
65395
  progress: nullableType(numberType()).optional(),
65197
65396
  status: FinetuneJobStatus$outboundSchema
65198
65397
  }).transform((v2) => {
@@ -65202,7 +65401,8 @@ var init_finetunejob = __esm(() => {
65202
65401
  finishedAt: "finished_at",
65203
65402
  fromCheckpoint: "from_checkpoint",
65204
65403
  outputModel: "output_model",
65205
- parentJobId: "parent_job_id"
65404
+ parentJobId: "parent_job_id",
65405
+ phaseMessage: "phase_message"
65206
65406
  });
65207
65407
  });
65208
65408
  });
@@ -68543,29 +68743,25 @@ var init_metrics = __esm(() => {
68543
68743
  init_esm();
68544
68744
  init_primitives();
68545
68745
  Metrics$inboundSchema = objectType({
68546
- accelerator_memory_used_mb: numberType().int(),
68547
- accelerator_utilization: numberType(),
68746
+ kv_cache_utilization: numberType(),
68548
68747
  queue_backlog: numberType().int(),
68549
68748
  replicas: numberType().int(),
68550
68749
  requests_per_second: numberType()
68551
68750
  }).transform((v2) => {
68552
68751
  return remap(v2, {
68553
- accelerator_memory_used_mb: "acceleratorMemoryUsedMb",
68554
- accelerator_utilization: "acceleratorUtilization",
68752
+ kv_cache_utilization: "kvCacheUtilization",
68555
68753
  queue_backlog: "queueBacklog",
68556
68754
  requests_per_second: "requestsPerSecond"
68557
68755
  });
68558
68756
  });
68559
68757
  Metrics$outboundSchema = objectType({
68560
- acceleratorMemoryUsedMb: numberType().int(),
68561
- acceleratorUtilization: numberType(),
68758
+ kvCacheUtilization: numberType(),
68562
68759
  queueBacklog: numberType().int(),
68563
68760
  replicas: numberType().int(),
68564
68761
  requestsPerSecond: numberType()
68565
68762
  }).transform((v2) => {
68566
68763
  return remap(v2, {
68567
- acceleratorMemoryUsedMb: "accelerator_memory_used_mb",
68568
- acceleratorUtilization: "accelerator_utilization",
68764
+ kvCacheUtilization: "kv_cache_utilization",
68569
68765
  queueBacklog: "queue_backlog",
68570
68766
  requestsPerSecond: "requests_per_second"
68571
68767
  });
@@ -68579,24 +68775,28 @@ var init_model = __esm(() => {
68579
68775
  init_primitives();
68580
68776
  Model$inboundSchema = objectType({
68581
68777
  created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
68778
+ deployable_runtimes: arrayType(stringType()),
68582
68779
  id: stringType(),
68583
68780
  name: stringType(),
68584
68781
  revision: nullableType(stringType()).optional(),
68585
68782
  source: stringType()
68586
68783
  }).transform((v2) => {
68587
68784
  return remap(v2, {
68588
- created_at: "createdAt"
68785
+ created_at: "createdAt",
68786
+ deployable_runtimes: "deployableRuntimes"
68589
68787
  });
68590
68788
  });
68591
68789
  Model$outboundSchema = objectType({
68592
68790
  createdAt: dateType().transform((v2) => v2.toISOString()),
68791
+ deployableRuntimes: arrayType(stringType()),
68593
68792
  id: stringType(),
68594
68793
  name: stringType(),
68595
68794
  revision: nullableType(stringType()).optional(),
68596
68795
  source: stringType()
68597
68796
  }).transform((v2) => {
68598
68797
  return remap(v2, {
68599
- createdAt: "created_at"
68798
+ createdAt: "created_at",
68799
+ deployableRuntimes: "deployable_runtimes"
68600
68800
  });
68601
68801
  });
68602
68802
  });
@@ -70127,27 +70327,37 @@ var init_pagerevision = __esm(() => {
70127
70327
  });
70128
70328
 
70129
70329
  // src/models/components/secret.ts
70130
- var Secret$inboundSchema, Secret$outboundSchema;
70330
+ var AllowedUse, AllowedUse$inboundSchema, AllowedUse$outboundSchema, Secret$inboundSchema, Secret$outboundSchema;
70131
70331
  var init_secret = __esm(() => {
70132
70332
  init_esm();
70133
70333
  init_primitives();
70334
+ AllowedUse = {
70335
+ Finetune: "finetune",
70336
+ Serving: "serving"
70337
+ };
70338
+ AllowedUse$inboundSchema = nativeEnumType(AllowedUse);
70339
+ AllowedUse$outboundSchema = AllowedUse$inboundSchema;
70134
70340
  Secret$inboundSchema = objectType({
70341
+ allowed_use: arrayType(AllowedUse$inboundSchema),
70135
70342
  created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
70136
70343
  id: stringType(),
70137
70344
  keys: arrayType(stringType()),
70138
70345
  name: stringType()
70139
70346
  }).transform((v2) => {
70140
70347
  return remap(v2, {
70348
+ allowed_use: "allowedUse",
70141
70349
  created_at: "createdAt"
70142
70350
  });
70143
70351
  });
70144
70352
  Secret$outboundSchema = objectType({
70353
+ allowedUse: arrayType(AllowedUse$outboundSchema),
70145
70354
  createdAt: dateType().transform((v2) => v2.toISOString()),
70146
70355
  id: stringType(),
70147
70356
  keys: arrayType(stringType()),
70148
70357
  name: stringType()
70149
70358
  }).transform((v2) => {
70150
70359
  return remap(v2, {
70360
+ allowedUse: "allowed_use",
70151
70361
  createdAt: "created_at"
70152
70362
  });
70153
70363
  });
@@ -70428,30 +70638,42 @@ var init_pageservingtenant = __esm(() => {
70428
70638
  });
70429
70639
 
70430
70640
  // src/models/components/volume.ts
70431
- var Volume$inboundSchema, Volume$outboundSchema;
70641
+ var VolumeStatus, VolumeStatus$inboundSchema, VolumeStatus$outboundSchema, Volume$inboundSchema, Volume$outboundSchema;
70432
70642
  var init_volume = __esm(() => {
70433
70643
  init_esm();
70434
70644
  init_primitives();
70645
+ VolumeStatus = {
70646
+ Active: "active",
70647
+ Deleting: "deleting"
70648
+ };
70649
+ VolumeStatus$inboundSchema = nativeEnumType(VolumeStatus);
70650
+ VolumeStatus$outboundSchema = VolumeStatus$inboundSchema;
70435
70651
  Volume$inboundSchema = objectType({
70436
70652
  created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
70437
70653
  id: stringType(),
70438
70654
  name: stringType(),
70439
- size_gb: nullableType(numberType().int()).optional()
70655
+ size_gb: nullableType(numberType().int()).optional(),
70656
+ status: VolumeStatus$inboundSchema,
70657
+ used_bytes: numberType().int()
70440
70658
  }).transform((v2) => {
70441
70659
  return remap(v2, {
70442
70660
  created_at: "createdAt",
70443
- size_gb: "sizeGb"
70661
+ size_gb: "sizeGb",
70662
+ used_bytes: "usedBytes"
70444
70663
  });
70445
70664
  });
70446
70665
  Volume$outboundSchema = objectType({
70447
70666
  createdAt: dateType().transform((v2) => v2.toISOString()),
70448
70667
  id: stringType(),
70449
70668
  name: stringType(),
70450
- sizeGb: nullableType(numberType().int()).optional()
70669
+ sizeGb: nullableType(numberType().int()).optional(),
70670
+ status: VolumeStatus$outboundSchema,
70671
+ usedBytes: numberType().int()
70451
70672
  }).transform((v2) => {
70452
70673
  return remap(v2, {
70453
70674
  createdAt: "created_at",
70454
- sizeGb: "size_gb"
70675
+ sizeGb: "size_gb",
70676
+ usedBytes: "used_bytes"
70455
70677
  });
70456
70678
  });
70457
70679
  });
@@ -74479,16 +74701,33 @@ var init_searchvectorstorerequest = __esm(() => {
74479
74701
  });
74480
74702
 
74481
74703
  // src/models/components/secretcreate.ts
74482
- var SecretCreate$inboundSchema, SecretCreate$outboundSchema;
74704
+ var SecretCreateAllowedUse, SecretCreateAllowedUse$inboundSchema, SecretCreateAllowedUse$outboundSchema, SecretCreate$inboundSchema, SecretCreate$outboundSchema;
74483
74705
  var init_secretcreate = __esm(() => {
74484
74706
  init_esm();
74707
+ init_primitives();
74708
+ SecretCreateAllowedUse = {
74709
+ Finetune: "finetune",
74710
+ Serving: "serving"
74711
+ };
74712
+ SecretCreateAllowedUse$inboundSchema = nativeEnumType(SecretCreateAllowedUse);
74713
+ SecretCreateAllowedUse$outboundSchema = SecretCreateAllowedUse$inboundSchema;
74485
74714
  SecretCreate$inboundSchema = objectType({
74715
+ allowed_use: arrayType(SecretCreateAllowedUse$inboundSchema).optional(),
74486
74716
  data: recordType(stringType()),
74487
74717
  name: stringType()
74718
+ }).transform((v2) => {
74719
+ return remap(v2, {
74720
+ allowed_use: "allowedUse"
74721
+ });
74488
74722
  });
74489
74723
  SecretCreate$outboundSchema = objectType({
74724
+ allowedUse: arrayType(SecretCreateAllowedUse$outboundSchema).optional(),
74490
74725
  data: recordType(stringType()),
74491
74726
  name: stringType()
74727
+ }).transform((v2) => {
74728
+ return remap(v2, {
74729
+ allowedUse: "allowed_use"
74730
+ });
74492
74731
  });
74493
74732
  });
74494
74733
 
@@ -75116,7 +75355,7 @@ var init_spendsummary = __esm(() => {
75116
75355
  init_spendgroup();
75117
75356
  init_spendwindow();
75118
75357
  SpendSummary$inboundSchema = objectType({
75119
- deployments: SpendGroup$inboundSchema,
75358
+ deployments: SpendGroup$inboundSchema.optional(),
75120
75359
  finetune: SpendGroup$inboundSchema,
75121
75360
  total_usd: numberType(),
75122
75361
  window: SpendWindow$inboundSchema
@@ -75126,7 +75365,7 @@ var init_spendsummary = __esm(() => {
75126
75365
  });
75127
75366
  });
75128
75367
  SpendSummary$outboundSchema = objectType({
75129
- deployments: SpendGroup$outboundSchema,
75368
+ deployments: SpendGroup$outboundSchema.optional(),
75130
75369
  finetune: SpendGroup$outboundSchema,
75131
75370
  totalUsd: numberType(),
75132
75371
  window: SpendWindow$outboundSchema
@@ -77108,9 +77347,14 @@ var init_workspacemanifest = __esm(() => {
77108
77347
 
77109
77348
  // src/models/components/index.ts
77110
77349
  var init_components = __esm(() => {
77350
+ init_acceleratoravailability();
77351
+ init_acceleratoravailabilitybucket();
77352
+ init_acceleratorhourofdayslot();
77111
77353
  init_acceleratorpriceband();
77354
+ init_acceleratorprovideravailability();
77112
77355
  init_acceleratorspec();
77113
77356
  init_acceleratortype();
77357
+ init_acceleratorworkloadaffinity();
77114
77358
  init_accessentry();
77115
77359
  init_accesslistresponse();
77116
77360
  init_accessmutationrequest();
@@ -77119,6 +77363,7 @@ var init_components = __esm(() => {
77119
77363
  init_acquirability();
77120
77364
  init_activateregistryentryrequest();
77121
77365
  init_addcatalogmodelrequest();
77366
+ init_affinityrating();
77122
77367
  init_agent();
77123
77368
  init_agentcompactioncontextmanagement();
77124
77369
  init_agentconnector();
@@ -77139,6 +77384,7 @@ var init_components = __esm(() => {
77139
77384
  init_allowedtools();
77140
77385
  init_autochunkingstrategy();
77141
77386
  init_autoendpoint();
77387
+ init_availabilitypriceband();
77142
77388
  init_banwordsconfig();
77143
77389
  init_banwordsguardrail();
77144
77390
  init_batchendpoint();
@@ -88369,6 +88615,61 @@ var init_extractwithschema = __esm(() => {
88369
88615
  });
88370
88616
  });
88371
88617
 
88618
+ // src/models/operations/getaccelerator.ts
88619
+ var GetAcceleratorRequest$inboundSchema, GetAcceleratorRequest$outboundSchema;
88620
+ var init_getaccelerator = __esm(() => {
88621
+ init_esm();
88622
+ init_primitives();
88623
+ GetAcceleratorRequest$inboundSchema = objectType({
88624
+ name: stringType(),
88625
+ "X-On-Behalf-Of": stringType().optional()
88626
+ }).transform((v2) => {
88627
+ return remap(v2, {
88628
+ "X-On-Behalf-Of": "xOnBehalfOf"
88629
+ });
88630
+ });
88631
+ GetAcceleratorRequest$outboundSchema = objectType({
88632
+ name: stringType(),
88633
+ xOnBehalfOf: stringType().optional()
88634
+ }).transform((v2) => {
88635
+ return remap(v2, {
88636
+ xOnBehalfOf: "X-On-Behalf-Of"
88637
+ });
88638
+ });
88639
+ });
88640
+
88641
+ // src/models/operations/getacceleratoravailability.ts
88642
+ var Window2, Window$inboundSchema2, Window$outboundSchema2, GetAcceleratorAvailabilityRequest$inboundSchema, GetAcceleratorAvailabilityRequest$outboundSchema;
88643
+ var init_getacceleratoravailability = __esm(() => {
88644
+ init_esm();
88645
+ init_primitives();
88646
+ Window2 = {
88647
+ TwentyFourh: "24h",
88648
+ Sevend: "7d",
88649
+ Thirtyd: "30d"
88650
+ };
88651
+ Window$inboundSchema2 = nativeEnumType(Window2);
88652
+ Window$outboundSchema2 = Window$inboundSchema2;
88653
+ GetAcceleratorAvailabilityRequest$inboundSchema = objectType({
88654
+ name: stringType(),
88655
+ window: Window$inboundSchema2.default("7d"),
88656
+ "X-On-Behalf-Of": stringType().optional()
88657
+ }).transform((v2) => {
88658
+ return remap(v2, {
88659
+ "X-On-Behalf-Of": "xOnBehalfOf"
88660
+ });
88661
+ });
88662
+ GetAcceleratorAvailabilityRequest$outboundSchema = objectType({
88663
+ name: stringType(),
88664
+ window: Window$outboundSchema2.default("7d"),
88665
+ xOnBehalfOf: stringType().optional()
88666
+ }).transform((v2) => {
88667
+ return remap(v2, {
88668
+ xOnBehalfOf: "X-On-Behalf-Of"
88669
+ });
88670
+ });
88671
+ });
88672
+
88372
88673
  // src/models/operations/getagent.ts
88373
88674
  var GetAgentRequest$inboundSchema, GetAgentRequest$outboundSchema;
88374
88675
  var init_getagent = __esm(() => {
@@ -91272,6 +91573,31 @@ var init_getsandboxusage = __esm(() => {
91272
91573
  });
91273
91574
  });
91274
91575
 
91576
+ // src/models/operations/getsecret.ts
91577
+ var GetSecretRequest$inboundSchema, GetSecretRequest$outboundSchema;
91578
+ var init_getsecret = __esm(() => {
91579
+ init_esm();
91580
+ init_primitives();
91581
+ GetSecretRequest$inboundSchema = objectType({
91582
+ secret_id: stringType(),
91583
+ "X-On-Behalf-Of": stringType().optional()
91584
+ }).transform((v2) => {
91585
+ return remap(v2, {
91586
+ secret_id: "secretId",
91587
+ "X-On-Behalf-Of": "xOnBehalfOf"
91588
+ });
91589
+ });
91590
+ GetSecretRequest$outboundSchema = objectType({
91591
+ secretId: stringType(),
91592
+ xOnBehalfOf: stringType().optional()
91593
+ }).transform((v2) => {
91594
+ return remap(v2, {
91595
+ secretId: "secret_id",
91596
+ xOnBehalfOf: "X-On-Behalf-Of"
91597
+ });
91598
+ });
91599
+ });
91600
+
91275
91601
  // src/models/operations/getserviceaccount.ts
91276
91602
  var GetServiceAccountRequest$inboundSchema, GetServiceAccountRequest$outboundSchema, GetServiceAccountServiceAccount$inboundSchema, GetServiceAccountServiceAccount$outboundSchema, GetServiceAccountTeams$inboundSchema, GetServiceAccountTeams$outboundSchema, GetServiceAccountResponseBody$inboundSchema2, GetServiceAccountResponseBody$outboundSchema2;
91277
91603
  var init_getserviceaccount2 = __esm(() => {
@@ -99083,6 +99409,8 @@ var init_operations = __esm(() => {
99083
99409
  init_exportresponsefeedback();
99084
99410
  init_extract();
99085
99411
  init_extractwithschema();
99412
+ init_getaccelerator();
99413
+ init_getacceleratoravailability();
99086
99414
  init_getagent();
99087
99415
  init_getagentconnector();
99088
99416
  init_getagentrun();
@@ -99134,6 +99462,7 @@ var init_operations = __esm(() => {
99134
99462
  init_getresponsefeedback();
99135
99463
  init_getresponsesusage();
99136
99464
  init_getsandboxusage();
99465
+ init_getsecret();
99137
99466
  init_getserviceaccount2();
99138
99467
  init_getservingmodel();
99139
99468
  init_getservingorganizationdeletion();
@@ -133115,11 +133444,255 @@ Upload raw bytes into the session workspace at the given path.`,
133115
133444
  };
133116
133445
  });
133117
133446
 
133118
- // src/funcs/servingAcceleratorsList.ts
133119
- function servingAcceleratorsList(client, request, options) {
133447
+ // src/funcs/servingAcceleratorsAvailability.ts
133448
+ function servingAcceleratorsAvailability(client, request, options) {
133120
133449
  return new APIPromise($do288(client, request, options));
133121
133450
  }
133122
133451
  async function $do288(client, request, options) {
133452
+ const parsed = safeParse4(request, (value) => GetAcceleratorAvailabilityRequest$outboundSchema.parse(value), "Input validation failed");
133453
+ if (!parsed.ok) {
133454
+ return [parsed, { status: "invalid" }];
133455
+ }
133456
+ const payload = parsed.value;
133457
+ const body = null;
133458
+ const pathParams = {
133459
+ name: encodeSimple("name", payload.name, {
133460
+ explode: false,
133461
+ charEncoding: "percent"
133462
+ })
133463
+ };
133464
+ const path = pathToFunc("/api/v1/serving/accelerators/{name}/availability")(pathParams);
133465
+ const query = encodeFormQuery({
133466
+ window: payload.window
133467
+ });
133468
+ const headers = new Headers(compactMap({
133469
+ Accept: "application/json",
133470
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
133471
+ }));
133472
+ const secConfig = await extractSecurity(client._options.bearerAuth);
133473
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
133474
+ const requestSecurity = resolveGlobalSecurity(securityInput);
133475
+ const context = {
133476
+ options: client._options,
133477
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
133478
+ operationID: "getAcceleratorAvailability",
133479
+ oAuth2Scopes: null,
133480
+ resolvedSecurity: requestSecurity,
133481
+ securitySource: client._options.bearerAuth,
133482
+ retryConfig: options?.retries || client._options.retryConfig || {
133483
+ strategy: "backoff",
133484
+ backoff: {
133485
+ initialInterval: 500,
133486
+ maxInterval: 5000,
133487
+ exponent: 1.5,
133488
+ maxElapsedTime: 15000
133489
+ },
133490
+ retryConnectionErrors: true
133491
+ },
133492
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
133493
+ };
133494
+ const requestRes = client._createRequest(context, {
133495
+ security: requestSecurity,
133496
+ method: "GET",
133497
+ baseURL: options?.serverURL,
133498
+ path,
133499
+ headers,
133500
+ query,
133501
+ body,
133502
+ userAgent: client._options.userAgent,
133503
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
133504
+ }, options);
133505
+ if (!requestRes.ok) {
133506
+ return [requestRes, { status: "invalid" }];
133507
+ }
133508
+ const req = requestRes.value;
133509
+ const doResult = await client._do(req, {
133510
+ context,
133511
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
133512
+ retryConfig: context.retryConfig,
133513
+ retryCodes: context.retryCodes
133514
+ });
133515
+ if (!doResult.ok) {
133516
+ return [doResult, { status: "request-error", request: req }];
133517
+ }
133518
+ const response = doResult.value;
133519
+ const responseFields = {
133520
+ HttpMeta: { Response: response, Request: req }
133521
+ };
133522
+ const [result] = await match(json(200, AcceleratorAvailability$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr(501, ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
133523
+ if (!result.ok) {
133524
+ return [result, { status: "complete", request: req, response }];
133525
+ }
133526
+ return [result, { status: "complete", request: req, response }];
133527
+ }
133528
+ var init_servingAcceleratorsAvailability = __esm(() => {
133529
+ init_encodings();
133530
+ init_http();
133531
+ init_matchers();
133532
+ init_primitives();
133533
+ init_schemas4();
133534
+ init_security();
133535
+ init_url();
133536
+ init_components();
133537
+ init_errors4();
133538
+ init_operations();
133539
+ init_async();
133540
+ });
133541
+
133542
+ // src/mcp-server/tools/servingAcceleratorsAvailability.ts
133543
+ var args279, tool$servingAcceleratorsAvailability;
133544
+ var init_servingAcceleratorsAvailability2 = __esm(() => {
133545
+ init_servingAcceleratorsAvailability();
133546
+ init_operations();
133547
+ init_tools();
133548
+ args279 = {
133549
+ request: GetAcceleratorAvailabilityRequest$inboundSchema
133550
+ };
133551
+ tool$servingAcceleratorsAvailability = {
133552
+ name: "serving-accelerators-availability",
133553
+ description: `Get accelerator availability history
133554
+
133555
+ Bucketed availability time series for one accelerator type over a window, aggregated across anonymous providers and served from hourly rollups. Includes a 24-slot hour-of-day profile. Hours the platform polled without observing the accelerator read as availability 0; a window with no observations at all returns an empty series.`,
133556
+ args: args279,
133557
+ tool: async (client, args280, ctx) => {
133558
+ const [result, apiCall] = await servingAcceleratorsAvailability(client, args280.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133559
+ if (!result.ok) {
133560
+ return {
133561
+ content: [{ type: "text", text: result.error.message }],
133562
+ isError: true
133563
+ };
133564
+ }
133565
+ const value = result.value;
133566
+ return formatResult(value, apiCall);
133567
+ }
133568
+ };
133569
+ });
133570
+
133571
+ // src/funcs/servingAcceleratorsGet.ts
133572
+ function servingAcceleratorsGet(client, request, options) {
133573
+ return new APIPromise($do289(client, request, options));
133574
+ }
133575
+ async function $do289(client, request, options) {
133576
+ const parsed = safeParse4(request, (value) => GetAcceleratorRequest$outboundSchema.parse(value), "Input validation failed");
133577
+ if (!parsed.ok) {
133578
+ return [parsed, { status: "invalid" }];
133579
+ }
133580
+ const payload = parsed.value;
133581
+ const body = null;
133582
+ const pathParams = {
133583
+ name: encodeSimple("name", payload.name, {
133584
+ explode: false,
133585
+ charEncoding: "percent"
133586
+ })
133587
+ };
133588
+ const path = pathToFunc("/api/v1/serving/accelerators/{name}")(pathParams);
133589
+ const headers = new Headers(compactMap({
133590
+ Accept: "application/json",
133591
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
133592
+ }));
133593
+ const secConfig = await extractSecurity(client._options.bearerAuth);
133594
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
133595
+ const requestSecurity = resolveGlobalSecurity(securityInput);
133596
+ const context = {
133597
+ options: client._options,
133598
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
133599
+ operationID: "getAccelerator",
133600
+ oAuth2Scopes: null,
133601
+ resolvedSecurity: requestSecurity,
133602
+ securitySource: client._options.bearerAuth,
133603
+ retryConfig: options?.retries || client._options.retryConfig || {
133604
+ strategy: "backoff",
133605
+ backoff: {
133606
+ initialInterval: 500,
133607
+ maxInterval: 5000,
133608
+ exponent: 1.5,
133609
+ maxElapsedTime: 15000
133610
+ },
133611
+ retryConnectionErrors: true
133612
+ },
133613
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
133614
+ };
133615
+ const requestRes = client._createRequest(context, {
133616
+ security: requestSecurity,
133617
+ method: "GET",
133618
+ baseURL: options?.serverURL,
133619
+ path,
133620
+ headers,
133621
+ body,
133622
+ userAgent: client._options.userAgent,
133623
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
133624
+ }, options);
133625
+ if (!requestRes.ok) {
133626
+ return [requestRes, { status: "invalid" }];
133627
+ }
133628
+ const req = requestRes.value;
133629
+ const doResult = await client._do(req, {
133630
+ context,
133631
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
133632
+ retryConfig: context.retryConfig,
133633
+ retryCodes: context.retryCodes
133634
+ });
133635
+ if (!doResult.ok) {
133636
+ return [doResult, { status: "request-error", request: req }];
133637
+ }
133638
+ const response = doResult.value;
133639
+ const responseFields = {
133640
+ HttpMeta: { Response: response, Request: req }
133641
+ };
133642
+ const [result] = await match(json(200, AcceleratorType$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
133643
+ if (!result.ok) {
133644
+ return [result, { status: "complete", request: req, response }];
133645
+ }
133646
+ return [result, { status: "complete", request: req, response }];
133647
+ }
133648
+ var init_servingAcceleratorsGet = __esm(() => {
133649
+ init_encodings();
133650
+ init_http();
133651
+ init_matchers();
133652
+ init_primitives();
133653
+ init_schemas4();
133654
+ init_security();
133655
+ init_url();
133656
+ init_components();
133657
+ init_errors4();
133658
+ init_operations();
133659
+ init_async();
133660
+ });
133661
+
133662
+ // src/mcp-server/tools/servingAcceleratorsGet.ts
133663
+ var args280, tool$servingAcceleratorsGet;
133664
+ var init_servingAcceleratorsGet2 = __esm(() => {
133665
+ init_servingAcceleratorsGet();
133666
+ init_operations();
133667
+ init_tools();
133668
+ args280 = {
133669
+ request: GetAcceleratorRequest$inboundSchema
133670
+ };
133671
+ tool$servingAcceleratorsGet = {
133672
+ name: "serving-accelerators-get",
133673
+ description: `Get an accelerator type
133674
+
133675
+ Retrieve one accelerator type from the curated catalog, including its workload affinity, placements, and live market fields when available.`,
133676
+ args: args280,
133677
+ tool: async (client, args281, ctx) => {
133678
+ const [result, apiCall] = await servingAcceleratorsGet(client, args281.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133679
+ if (!result.ok) {
133680
+ return {
133681
+ content: [{ type: "text", text: result.error.message }],
133682
+ isError: true
133683
+ };
133684
+ }
133685
+ const value = result.value;
133686
+ return formatResult(value, apiCall);
133687
+ }
133688
+ };
133689
+ });
133690
+
133691
+ // src/funcs/servingAcceleratorsList.ts
133692
+ function servingAcceleratorsList(client, request, options) {
133693
+ return new APIPromise($do290(client, request, options));
133694
+ }
133695
+ async function $do290(client, request, options) {
133123
133696
  const parsed = safeParse4(request, (value) => ListAcceleratorsRequest$outboundSchema.parse(value), "Input validation failed");
133124
133697
  if (!parsed.ok) {
133125
133698
  return [parsed, { status: "invalid" }];
@@ -133201,12 +133774,12 @@ var init_servingAcceleratorsList = __esm(() => {
133201
133774
  });
133202
133775
 
133203
133776
  // src/mcp-server/tools/servingAcceleratorsList.ts
133204
- var args279, tool$servingAcceleratorsList;
133777
+ var args281, tool$servingAcceleratorsList;
133205
133778
  var init_servingAcceleratorsList2 = __esm(() => {
133206
133779
  init_servingAcceleratorsList();
133207
133780
  init_operations();
133208
133781
  init_tools();
133209
- args279 = {
133782
+ args281 = {
133210
133783
  request: ListAcceleratorsRequest$inboundSchema
133211
133784
  };
133212
133785
  tool$servingAcceleratorsList = {
@@ -133214,9 +133787,9 @@ var init_servingAcceleratorsList2 = __esm(() => {
133214
133787
  description: `List available accelerator types
133215
133788
 
133216
133789
  List the accelerator types available to your organization (GPU, NPU, TPU).`,
133217
- args: args279,
133218
- tool: async (client, args280, ctx) => {
133219
- const [result, apiCall] = await servingAcceleratorsList(client, args280.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133790
+ args: args281,
133791
+ tool: async (client, args282, ctx) => {
133792
+ const [result, apiCall] = await servingAcceleratorsList(client, args282.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133220
133793
  if (!result.ok) {
133221
133794
  return {
133222
133795
  content: [{ type: "text", text: result.error.message }],
@@ -133231,9 +133804,9 @@ List the accelerator types available to your organization (GPU, NPU, TPU).`,
133231
133804
 
133232
133805
  // src/funcs/servingDeploymentsCreate.ts
133233
133806
  function servingDeploymentsCreate(client, request, options) {
133234
- return new APIPromise($do289(client, request, options));
133807
+ return new APIPromise($do291(client, request, options));
133235
133808
  }
133236
- async function $do289(client, request, options) {
133809
+ async function $do291(client, request, options) {
133237
133810
  const parsed = safeParse4(request, (value) => CreateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133238
133811
  if (!parsed.ok) {
133239
133812
  return [parsed, { status: "invalid" }];
@@ -133316,12 +133889,12 @@ var init_servingDeploymentsCreate = __esm(() => {
133316
133889
  });
133317
133890
 
133318
133891
  // src/mcp-server/tools/servingDeploymentsCreate.ts
133319
- var args280, tool$servingDeploymentsCreate;
133892
+ var args282, tool$servingDeploymentsCreate;
133320
133893
  var init_servingDeploymentsCreate2 = __esm(() => {
133321
133894
  init_servingDeploymentsCreate();
133322
133895
  init_operations();
133323
133896
  init_tools();
133324
- args280 = {
133897
+ args282 = {
133325
133898
  request: CreateDeploymentRequest$inboundSchema
133326
133899
  };
133327
133900
  tool$servingDeploymentsCreate = {
@@ -133329,9 +133902,9 @@ var init_servingDeploymentsCreate2 = __esm(() => {
133329
133902
  description: `Create an inference deployment
133330
133903
 
133331
133904
  Create and start an inference deployment for a model, and return its endpoint.`,
133332
- args: args280,
133333
- tool: async (client, args281, ctx) => {
133334
- const [result, apiCall] = await servingDeploymentsCreate(client, args281.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133905
+ args: args282,
133906
+ tool: async (client, args283, ctx) => {
133907
+ const [result, apiCall] = await servingDeploymentsCreate(client, args283.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133335
133908
  if (!result.ok) {
133336
133909
  return {
133337
133910
  content: [{ type: "text", text: result.error.message }],
@@ -133346,9 +133919,9 @@ Create and start an inference deployment for a model, and return its endpoint.`,
133346
133919
 
133347
133920
  // src/funcs/servingDeploymentsDelete.ts
133348
133921
  function servingDeploymentsDelete(client, request, options) {
133349
- return new APIPromise($do290(client, request, options));
133922
+ return new APIPromise($do292(client, request, options));
133350
133923
  }
133351
- async function $do290(client, request, options) {
133924
+ async function $do292(client, request, options) {
133352
133925
  const parsed = safeParse4(request, (value) => DeleteDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133353
133926
  if (!parsed.ok) {
133354
133927
  return [parsed, { status: "invalid" }];
@@ -133436,12 +134009,12 @@ var init_servingDeploymentsDelete = __esm(() => {
133436
134009
  });
133437
134010
 
133438
134011
  // src/mcp-server/tools/servingDeploymentsDelete.ts
133439
- var args281, tool$servingDeploymentsDelete;
134012
+ var args283, tool$servingDeploymentsDelete;
133440
134013
  var init_servingDeploymentsDelete2 = __esm(() => {
133441
134014
  init_servingDeploymentsDelete();
133442
134015
  init_operations();
133443
134016
  init_tools();
133444
- args281 = {
134017
+ args283 = {
133445
134018
  request: DeleteDeploymentRequest$inboundSchema
133446
134019
  };
133447
134020
  tool$servingDeploymentsDelete = {
@@ -133449,9 +134022,9 @@ var init_servingDeploymentsDelete2 = __esm(() => {
133449
134022
  description: `Tear down a deployment
133450
134023
 
133451
134024
  Tear down a deployment and release its resources.`,
133452
- args: args281,
133453
- tool: async (client, args282, ctx) => {
133454
- const [result, apiCall] = await servingDeploymentsDelete(client, args282.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134025
+ args: args283,
134026
+ tool: async (client, args284, ctx) => {
134027
+ const [result, apiCall] = await servingDeploymentsDelete(client, args284.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133455
134028
  if (!result.ok) {
133456
134029
  return {
133457
134030
  content: [{ type: "text", text: result.error.message }],
@@ -133465,9 +134038,9 @@ Tear down a deployment and release its resources.`,
133465
134038
 
133466
134039
  // src/funcs/servingDeploymentsDeregister.ts
133467
134040
  function servingDeploymentsDeregister(client, request, options) {
133468
- return new APIPromise($do291(client, request, options));
134041
+ return new APIPromise($do293(client, request, options));
133469
134042
  }
133470
- async function $do291(client, request, options) {
134043
+ async function $do293(client, request, options) {
133471
134044
  const parsed = safeParse4(request, (value) => DeregisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133472
134045
  if (!parsed.ok) {
133473
134046
  return [parsed, { status: "invalid" }];
@@ -133555,12 +134128,12 @@ var init_servingDeploymentsDeregister = __esm(() => {
133555
134128
  });
133556
134129
 
133557
134130
  // src/mcp-server/tools/servingDeploymentsDeregister.ts
133558
- var args282, tool$servingDeploymentsDeregister;
134131
+ var args284, tool$servingDeploymentsDeregister;
133559
134132
  var init_servingDeploymentsDeregister2 = __esm(() => {
133560
134133
  init_servingDeploymentsDeregister();
133561
134134
  init_operations();
133562
134135
  init_tools();
133563
- args282 = {
134136
+ args284 = {
133564
134137
  request: DeregisterDeploymentRequest$inboundSchema
133565
134138
  };
133566
134139
  tool$servingDeploymentsDeregister = {
@@ -133568,9 +134141,9 @@ var init_servingDeploymentsDeregister2 = __esm(() => {
133568
134141
  description: `Deregister the model from the LLM gateway
133569
134142
 
133570
134143
  Withdraw the deployment's model from the LLM gateway registry: inference stops resolving, compute keeps running (re-register any time).`,
133571
- args: args282,
133572
- tool: async (client, args283, ctx) => {
133573
- const [result, apiCall] = await servingDeploymentsDeregister(client, args283.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134144
+ args: args284,
134145
+ tool: async (client, args285, ctx) => {
134146
+ const [result, apiCall] = await servingDeploymentsDeregister(client, args285.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133574
134147
  if (!result.ok) {
133575
134148
  return {
133576
134149
  content: [{ type: "text", text: result.error.message }],
@@ -133584,9 +134157,9 @@ Withdraw the deployment's model from the LLM gateway registry: inference stops r
133584
134157
 
133585
134158
  // src/funcs/servingDeploymentsGet.ts
133586
134159
  function servingDeploymentsGet(client, request, options) {
133587
- return new APIPromise($do292(client, request, options));
134160
+ return new APIPromise($do294(client, request, options));
133588
134161
  }
133589
- async function $do292(client, request, options) {
134162
+ async function $do294(client, request, options) {
133590
134163
  const parsed = safeParse4(request, (value) => GetDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133591
134164
  if (!parsed.ok) {
133592
134165
  return [parsed, { status: "invalid" }];
@@ -133674,12 +134247,12 @@ var init_servingDeploymentsGet = __esm(() => {
133674
134247
  });
133675
134248
 
133676
134249
  // src/mcp-server/tools/servingDeploymentsGet.ts
133677
- var args283, tool$servingDeploymentsGet;
134250
+ var args285, tool$servingDeploymentsGet;
133678
134251
  var init_servingDeploymentsGet2 = __esm(() => {
133679
134252
  init_servingDeploymentsGet();
133680
134253
  init_operations();
133681
134254
  init_tools();
133682
- args283 = {
134255
+ args285 = {
133683
134256
  request: GetDeploymentRequest$inboundSchema
133684
134257
  };
133685
134258
  tool$servingDeploymentsGet = {
@@ -133687,9 +134260,9 @@ var init_servingDeploymentsGet2 = __esm(() => {
133687
134260
  description: `Get a deployment
133688
134261
 
133689
134262
  Retrieve a single deployment, including its status and endpoint URL.`,
133690
- args: args283,
133691
- tool: async (client, args284, ctx) => {
133692
- const [result, apiCall] = await servingDeploymentsGet(client, args284.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134263
+ args: args285,
134264
+ tool: async (client, args286, ctx) => {
134265
+ const [result, apiCall] = await servingDeploymentsGet(client, args286.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133693
134266
  if (!result.ok) {
133694
134267
  return {
133695
134268
  content: [{ type: "text", text: result.error.message }],
@@ -133704,9 +134277,9 @@ Retrieve a single deployment, including its status and endpoint URL.`,
133704
134277
 
133705
134278
  // src/funcs/servingDeploymentsGetLogs.ts
133706
134279
  function servingDeploymentsGetLogs(client, request, options) {
133707
- return new APIPromise($do293(client, request, options));
134280
+ return new APIPromise($do295(client, request, options));
133708
134281
  }
133709
- async function $do293(client, request, options) {
134282
+ async function $do295(client, request, options) {
133710
134283
  const parsed = safeParse4(request, (value) => GetDeploymentLogsRequest$outboundSchema.parse(value), "Input validation failed");
133711
134284
  if (!parsed.ok) {
133712
134285
  return [parsed, { status: "invalid" }];
@@ -133799,12 +134372,12 @@ var init_servingDeploymentsGetLogs = __esm(() => {
133799
134372
  });
133800
134373
 
133801
134374
  // src/mcp-server/tools/servingDeploymentsGetLogs.ts
133802
- var args284, tool$servingDeploymentsGetLogs;
134375
+ var args286, tool$servingDeploymentsGetLogs;
133803
134376
  var init_servingDeploymentsGetLogs2 = __esm(() => {
133804
134377
  init_servingDeploymentsGetLogs();
133805
134378
  init_operations();
133806
134379
  init_tools();
133807
- args284 = {
134380
+ args286 = {
133808
134381
  request: GetDeploymentLogsRequest$inboundSchema
133809
134382
  };
133810
134383
  tool$servingDeploymentsGetLogs = {
@@ -133812,9 +134385,9 @@ var init_servingDeploymentsGetLogs2 = __esm(() => {
133812
134385
  description: `Fetch deployment logs
133813
134386
 
133814
134387
  Fetch recent log lines from a deployment's replicas.`,
133815
- args: args284,
133816
- tool: async (client, args285, ctx) => {
133817
- const [result, apiCall] = await servingDeploymentsGetLogs(client, args285.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134388
+ args: args286,
134389
+ tool: async (client, args287, ctx) => {
134390
+ const [result, apiCall] = await servingDeploymentsGetLogs(client, args287.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133818
134391
  if (!result.ok) {
133819
134392
  return {
133820
134393
  content: [{ type: "text", text: result.error.message }],
@@ -133829,9 +134402,9 @@ Fetch recent log lines from a deployment's replicas.`,
133829
134402
 
133830
134403
  // src/funcs/servingDeploymentsGetMetrics.ts
133831
134404
  function servingDeploymentsGetMetrics(client, request, options) {
133832
- return new APIPromise($do294(client, request, options));
134405
+ return new APIPromise($do296(client, request, options));
133833
134406
  }
133834
- async function $do294(client, request, options) {
134407
+ async function $do296(client, request, options) {
133835
134408
  const parsed = safeParse4(request, (value) => GetDeploymentMetricsRequest$outboundSchema.parse(value), "Input validation failed");
133836
134409
  if (!parsed.ok) {
133837
134410
  return [parsed, { status: "invalid" }];
@@ -133919,12 +134492,12 @@ var init_servingDeploymentsGetMetrics = __esm(() => {
133919
134492
  });
133920
134493
 
133921
134494
  // src/mcp-server/tools/servingDeploymentsGetMetrics.ts
133922
- var args285, tool$servingDeploymentsGetMetrics;
134495
+ var args287, tool$servingDeploymentsGetMetrics;
133923
134496
  var init_servingDeploymentsGetMetrics2 = __esm(() => {
133924
134497
  init_servingDeploymentsGetMetrics();
133925
134498
  init_operations();
133926
134499
  init_tools();
133927
- args285 = {
134500
+ args287 = {
133928
134501
  request: GetDeploymentMetricsRequest$inboundSchema
133929
134502
  };
133930
134503
  tool$servingDeploymentsGetMetrics = {
@@ -133932,9 +134505,9 @@ var init_servingDeploymentsGetMetrics2 = __esm(() => {
133932
134505
  description: `Live serving metrics
133933
134506
 
133934
134507
  Return live serving metrics (throughput, queue depth, accelerator usage).`,
133935
- args: args285,
133936
- tool: async (client, args286, ctx) => {
133937
- const [result, apiCall] = await servingDeploymentsGetMetrics(client, args286.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134508
+ args: args287,
134509
+ tool: async (client, args288, ctx) => {
134510
+ const [result, apiCall] = await servingDeploymentsGetMetrics(client, args288.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133938
134511
  if (!result.ok) {
133939
134512
  return {
133940
134513
  content: [{ type: "text", text: result.error.message }],
@@ -133949,9 +134522,9 @@ Return live serving metrics (throughput, queue depth, accelerator usage).`,
133949
134522
 
133950
134523
  // src/funcs/servingDeploymentsList.ts
133951
134524
  function servingDeploymentsList(client, request, options) {
133952
- return new APIPromise($do295(client, request, options));
134525
+ return new APIPromise($do297(client, request, options));
133953
134526
  }
133954
- async function $do295(client, request, options) {
134527
+ async function $do297(client, request, options) {
133955
134528
  const parsed = safeParse4(request, (value) => ListDeploymentsRequest$outboundSchema.parse(value), "Input validation failed");
133956
134529
  if (!parsed.ok) {
133957
134530
  return [parsed, { status: "invalid" }];
@@ -134038,12 +134611,12 @@ var init_servingDeploymentsList = __esm(() => {
134038
134611
  });
134039
134612
 
134040
134613
  // src/mcp-server/tools/servingDeploymentsList.ts
134041
- var args286, tool$servingDeploymentsList;
134614
+ var args288, tool$servingDeploymentsList;
134042
134615
  var init_servingDeploymentsList2 = __esm(() => {
134043
134616
  init_servingDeploymentsList();
134044
134617
  init_operations();
134045
134618
  init_tools();
134046
- args286 = {
134619
+ args288 = {
134047
134620
  request: ListDeploymentsRequest$inboundSchema
134048
134621
  };
134049
134622
  tool$servingDeploymentsList = {
@@ -134051,9 +134624,9 @@ var init_servingDeploymentsList2 = __esm(() => {
134051
134624
  description: `List deployments
134052
134625
 
134053
134626
  List your inference deployments.`,
134054
- args: args286,
134055
- tool: async (client, args287, ctx) => {
134056
- const [result, apiCall] = await servingDeploymentsList(client, args287.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134627
+ args: args288,
134628
+ tool: async (client, args289, ctx) => {
134629
+ const [result, apiCall] = await servingDeploymentsList(client, args289.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134057
134630
  if (!result.ok) {
134058
134631
  return {
134059
134632
  content: [{ type: "text", text: result.error.message }],
@@ -134068,9 +134641,9 @@ List your inference deployments.`,
134068
134641
 
134069
134642
  // src/funcs/servingDeploymentsListReplicas.ts
134070
134643
  function servingDeploymentsListReplicas(client, request, options) {
134071
- return new APIPromise($do296(client, request, options));
134644
+ return new APIPromise($do298(client, request, options));
134072
134645
  }
134073
- async function $do296(client, request, options) {
134646
+ async function $do298(client, request, options) {
134074
134647
  const parsed = safeParse4(request, (value) => ListReplicasRequest$outboundSchema.parse(value), "Input validation failed");
134075
134648
  if (!parsed.ok) {
134076
134649
  return [parsed, { status: "invalid" }];
@@ -134158,12 +134731,12 @@ var init_servingDeploymentsListReplicas = __esm(() => {
134158
134731
  });
134159
134732
 
134160
134733
  // src/mcp-server/tools/servingDeploymentsListReplicas.ts
134161
- var args287, tool$servingDeploymentsListReplicas;
134734
+ var args289, tool$servingDeploymentsListReplicas;
134162
134735
  var init_servingDeploymentsListReplicas2 = __esm(() => {
134163
134736
  init_servingDeploymentsListReplicas();
134164
134737
  init_operations();
134165
134738
  init_tools();
134166
- args287 = {
134739
+ args289 = {
134167
134740
  request: ListReplicasRequest$inboundSchema
134168
134741
  };
134169
134742
  tool$servingDeploymentsListReplicas = {
@@ -134171,9 +134744,9 @@ var init_servingDeploymentsListReplicas2 = __esm(() => {
134171
134744
  description: `List running replicas
134172
134745
 
134173
134746
  List the replicas currently backing a deployment.`,
134174
- args: args287,
134175
- tool: async (client, args288, ctx) => {
134176
- const [result, apiCall] = await servingDeploymentsListReplicas(client, args288.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134747
+ args: args289,
134748
+ tool: async (client, args290, ctx) => {
134749
+ const [result, apiCall] = await servingDeploymentsListReplicas(client, args290.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134177
134750
  if (!result.ok) {
134178
134751
  return {
134179
134752
  content: [{ type: "text", text: result.error.message }],
@@ -134188,9 +134761,9 @@ List the replicas currently backing a deployment.`,
134188
134761
 
134189
134762
  // src/funcs/servingDeploymentsListRevisions.ts
134190
134763
  function servingDeploymentsListRevisions(client, request, options) {
134191
- return new APIPromise($do297(client, request, options));
134764
+ return new APIPromise($do299(client, request, options));
134192
134765
  }
134193
- async function $do297(client, request, options) {
134766
+ async function $do299(client, request, options) {
134194
134767
  const parsed = safeParse4(request, (value) => ListRevisionsRequest$outboundSchema.parse(value), "Input validation failed");
134195
134768
  if (!parsed.ok) {
134196
134769
  return [parsed, { status: "invalid" }];
@@ -134278,12 +134851,12 @@ var init_servingDeploymentsListRevisions = __esm(() => {
134278
134851
  });
134279
134852
 
134280
134853
  // src/mcp-server/tools/servingDeploymentsListRevisions.ts
134281
- var args288, tool$servingDeploymentsListRevisions;
134854
+ var args290, tool$servingDeploymentsListRevisions;
134282
134855
  var init_servingDeploymentsListRevisions2 = __esm(() => {
134283
134856
  init_servingDeploymentsListRevisions();
134284
134857
  init_operations();
134285
134858
  init_tools();
134286
- args288 = {
134859
+ args290 = {
134287
134860
  request: ListRevisionsRequest$inboundSchema
134288
134861
  };
134289
134862
  tool$servingDeploymentsListRevisions = {
@@ -134291,9 +134864,9 @@ var init_servingDeploymentsListRevisions2 = __esm(() => {
134291
134864
  description: `List config revisions
134292
134865
 
134293
134866
  List a deployment's configuration revisions, most recent first.`,
134294
- args: args288,
134295
- tool: async (client, args289, ctx) => {
134296
- const [result, apiCall] = await servingDeploymentsListRevisions(client, args289.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134867
+ args: args290,
134868
+ tool: async (client, args291, ctx) => {
134869
+ const [result, apiCall] = await servingDeploymentsListRevisions(client, args291.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134297
134870
  if (!result.ok) {
134298
134871
  return {
134299
134872
  content: [{ type: "text", text: result.error.message }],
@@ -134308,9 +134881,9 @@ List a deployment's configuration revisions, most recent first.`,
134308
134881
 
134309
134882
  // src/funcs/servingDeploymentsRegister.ts
134310
134883
  function servingDeploymentsRegister(client, request, options) {
134311
- return new APIPromise($do298(client, request, options));
134884
+ return new APIPromise($do300(client, request, options));
134312
134885
  }
134313
- async function $do298(client, request, options) {
134886
+ async function $do300(client, request, options) {
134314
134887
  const parsed = safeParse4(request, (value) => RegisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134315
134888
  if (!parsed.ok) {
134316
134889
  return [parsed, { status: "invalid" }];
@@ -134398,12 +134971,12 @@ var init_servingDeploymentsRegister = __esm(() => {
134398
134971
  });
134399
134972
 
134400
134973
  // src/mcp-server/tools/servingDeploymentsRegister.ts
134401
- var args289, tool$servingDeploymentsRegister;
134974
+ var args291, tool$servingDeploymentsRegister;
134402
134975
  var init_servingDeploymentsRegister2 = __esm(() => {
134403
134976
  init_servingDeploymentsRegister();
134404
134977
  init_operations();
134405
134978
  init_tools();
134406
- args289 = {
134979
+ args291 = {
134407
134980
  request: RegisterDeploymentRequest$inboundSchema
134408
134981
  };
134409
134982
  tool$servingDeploymentsRegister = {
@@ -134411,9 +134984,9 @@ var init_servingDeploymentsRegister2 = __esm(() => {
134411
134984
  description: `Register the model with the LLM gateway
134412
134985
 
134413
134986
  Make the deployment's model available for inference: registers it in the LLM gateway's model registry under the deployment's name. Deployment must be ready. Registration is deliberately decoupled from deployment so pricing, budgets, and rate limits can be configured before the model becomes callable.`,
134414
- args: args289,
134415
- tool: async (client, args290, ctx) => {
134416
- const [result, apiCall] = await servingDeploymentsRegister(client, args290.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134987
+ args: args291,
134988
+ tool: async (client, args292, ctx) => {
134989
+ const [result, apiCall] = await servingDeploymentsRegister(client, args292.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134417
134990
  if (!result.ok) {
134418
134991
  return {
134419
134992
  content: [{ type: "text", text: result.error.message }],
@@ -134428,9 +135001,9 @@ Make the deployment's model available for inference: registers it in the LLM gat
134428
135001
 
134429
135002
  // src/funcs/servingDeploymentsRollback.ts
134430
135003
  function servingDeploymentsRollback(client, request, options) {
134431
- return new APIPromise($do299(client, request, options));
135004
+ return new APIPromise($do301(client, request, options));
134432
135005
  }
134433
- async function $do299(client, request, options) {
135006
+ async function $do301(client, request, options) {
134434
135007
  const parsed = safeParse4(request, (value) => RollbackDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134435
135008
  if (!parsed.ok) {
134436
135009
  return [parsed, { status: "invalid" }];
@@ -134521,12 +135094,12 @@ var init_servingDeploymentsRollback = __esm(() => {
134521
135094
  });
134522
135095
 
134523
135096
  // src/mcp-server/tools/servingDeploymentsRollback.ts
134524
- var args290, tool$servingDeploymentsRollback;
135097
+ var args292, tool$servingDeploymentsRollback;
134525
135098
  var init_servingDeploymentsRollback2 = __esm(() => {
134526
135099
  init_servingDeploymentsRollback();
134527
135100
  init_operations();
134528
135101
  init_tools();
134529
- args290 = {
135102
+ args292 = {
134530
135103
  request: RollbackDeploymentRequest$inboundSchema
134531
135104
  };
134532
135105
  tool$servingDeploymentsRollback = {
@@ -134534,9 +135107,9 @@ var init_servingDeploymentsRollback2 = __esm(() => {
134534
135107
  description: `Roll back to a previous revision
134535
135108
 
134536
135109
  Roll a deployment back to a previous configuration revision.`,
134537
- args: args290,
134538
- tool: async (client, args291, ctx) => {
134539
- const [result, apiCall] = await servingDeploymentsRollback(client, args291.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135110
+ args: args292,
135111
+ tool: async (client, args293, ctx) => {
135112
+ const [result, apiCall] = await servingDeploymentsRollback(client, args293.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134540
135113
  if (!result.ok) {
134541
135114
  return {
134542
135115
  content: [{ type: "text", text: result.error.message }],
@@ -134551,9 +135124,9 @@ Roll a deployment back to a previous configuration revision.`,
134551
135124
 
134552
135125
  // src/funcs/servingDeploymentsUpdate.ts
134553
135126
  function servingDeploymentsUpdate(client, request, options) {
134554
- return new APIPromise($do300(client, request, options));
135127
+ return new APIPromise($do302(client, request, options));
134555
135128
  }
134556
- async function $do300(client, request, options) {
135129
+ async function $do302(client, request, options) {
134557
135130
  const parsed = safeParse4(request, (value) => UpdateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134558
135131
  if (!parsed.ok) {
134559
135132
  return [parsed, { status: "invalid" }];
@@ -134642,12 +135215,12 @@ var init_servingDeploymentsUpdate = __esm(() => {
134642
135215
  });
134643
135216
 
134644
135217
  // src/mcp-server/tools/servingDeploymentsUpdate.ts
134645
- var args291, tool$servingDeploymentsUpdate;
135218
+ var args293, tool$servingDeploymentsUpdate;
134646
135219
  var init_servingDeploymentsUpdate2 = __esm(() => {
134647
135220
  init_servingDeploymentsUpdate();
134648
135221
  init_operations();
134649
135222
  init_tools();
134650
- args291 = {
135223
+ args293 = {
134651
135224
  request: UpdateDeploymentRequest$inboundSchema
134652
135225
  };
134653
135226
  tool$servingDeploymentsUpdate = {
@@ -134655,9 +135228,9 @@ var init_servingDeploymentsUpdate2 = __esm(() => {
134655
135228
  description: `Update a deployment (new revision)
134656
135229
 
134657
135230
  Update a deployment's configuration, rolling out a new revision.`,
134658
- args: args291,
134659
- tool: async (client, args292, ctx) => {
134660
- const [result, apiCall] = await servingDeploymentsUpdate(client, args292.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135231
+ args: args293,
135232
+ tool: async (client, args294, ctx) => {
135233
+ const [result, apiCall] = await servingDeploymentsUpdate(client, args294.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134661
135234
  if (!result.ok) {
134662
135235
  return {
134663
135236
  content: [{ type: "text", text: result.error.message }],
@@ -134672,9 +135245,9 @@ Update a deployment's configuration, rolling out a new revision.`,
134672
135245
 
134673
135246
  // src/funcs/servingDeploymentsUpdateScaling.ts
134674
135247
  function servingDeploymentsUpdateScaling(client, request, options) {
134675
- return new APIPromise($do301(client, request, options));
135248
+ return new APIPromise($do303(client, request, options));
134676
135249
  }
134677
- async function $do301(client, request, options) {
135250
+ async function $do303(client, request, options) {
134678
135251
  const parsed = safeParse4(request, (value) => UpdateScalingRequest$outboundSchema.parse(value), "Input validation failed");
134679
135252
  if (!parsed.ok) {
134680
135253
  return [parsed, { status: "invalid" }];
@@ -134765,12 +135338,12 @@ var init_servingDeploymentsUpdateScaling = __esm(() => {
134765
135338
  });
134766
135339
 
134767
135340
  // src/mcp-server/tools/servingDeploymentsUpdateScaling.ts
134768
- var args292, tool$servingDeploymentsUpdateScaling;
135341
+ var args294, tool$servingDeploymentsUpdateScaling;
134769
135342
  var init_servingDeploymentsUpdateScaling2 = __esm(() => {
134770
135343
  init_servingDeploymentsUpdateScaling();
134771
135344
  init_operations();
134772
135345
  init_tools();
134773
- args292 = {
135346
+ args294 = {
134774
135347
  request: UpdateScalingRequest$inboundSchema
134775
135348
  };
134776
135349
  tool$servingDeploymentsUpdateScaling = {
@@ -134778,9 +135351,9 @@ var init_servingDeploymentsUpdateScaling2 = __esm(() => {
134778
135351
  description: `Update autoscaling live (no redeploy)
134779
135352
 
134780
135353
  Change a deployment's autoscaling limits in place, without redeploying.`,
134781
- args: args292,
134782
- tool: async (client, args293, ctx) => {
134783
- const [result, apiCall] = await servingDeploymentsUpdateScaling(client, args293.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135354
+ args: args294,
135355
+ tool: async (client, args295, ctx) => {
135356
+ const [result, apiCall] = await servingDeploymentsUpdateScaling(client, args295.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134784
135357
  if (!result.ok) {
134785
135358
  return {
134786
135359
  content: [{ type: "text", text: result.error.message }],
@@ -134795,9 +135368,9 @@ Change a deployment's autoscaling limits in place, without redeploying.`,
134795
135368
 
134796
135369
  // src/funcs/servingEligibilityPreview.ts
134797
135370
  function servingEligibilityPreview(client, request, options) {
134798
- return new APIPromise($do302(client, request, options));
135371
+ return new APIPromise($do304(client, request, options));
134799
135372
  }
134800
- async function $do302(client, request, options) {
135373
+ async function $do304(client, request, options) {
134801
135374
  const parsed = safeParse4(request, (value) => PreviewEligibilityRequest$outboundSchema.parse(value), "Input validation failed");
134802
135375
  if (!parsed.ok) {
134803
135376
  return [parsed, { status: "invalid" }];
@@ -134882,12 +135455,12 @@ var init_servingEligibilityPreview = __esm(() => {
134882
135455
  });
134883
135456
 
134884
135457
  // src/mcp-server/tools/servingEligibilityPreview.ts
134885
- var args293, tool$servingEligibilityPreview;
135458
+ var args295, tool$servingEligibilityPreview;
134886
135459
  var init_servingEligibilityPreview2 = __esm(() => {
134887
135460
  init_servingEligibilityPreview();
134888
135461
  init_operations();
134889
135462
  init_tools();
134890
- args293 = {
135463
+ args295 = {
134891
135464
  request: PreviewEligibilityRequest$inboundSchema
134892
135465
  };
134893
135466
  tool$servingEligibilityPreview = {
@@ -134895,9 +135468,9 @@ var init_servingEligibilityPreview2 = __esm(() => {
134895
135468
  description: `Preview accelerator eligibility
134896
135469
 
134897
135470
  Preview, before submitting a job or deployment, how much matching capacity the cluster can currently acquire and how likely it is to start. The response is provider-anonymous: counts, price bands, and advice only. This is an advisory read; it reserves nothing.`,
134898
- args: args293,
134899
- tool: async (client, args294, ctx) => {
134900
- const [result, apiCall] = await servingEligibilityPreview(client, args294.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135471
+ args: args295,
135472
+ tool: async (client, args296, ctx) => {
135473
+ const [result, apiCall] = await servingEligibilityPreview(client, args296.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134901
135474
  if (!result.ok) {
134902
135475
  return {
134903
135476
  content: [{ type: "text", text: result.error.message }],
@@ -134912,9 +135485,9 @@ Preview, before submitting a job or deployment, how much matching capacity the c
134912
135485
 
134913
135486
  // src/funcs/servingFinetuneJobsCancel.ts
134914
135487
  function servingFinetuneJobsCancel(client, request, options) {
134915
- return new APIPromise($do303(client, request, options));
135488
+ return new APIPromise($do305(client, request, options));
134916
135489
  }
134917
- async function $do303(client, request, options) {
135490
+ async function $do305(client, request, options) {
134918
135491
  const parsed = safeParse4(request, (value) => CancelFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
134919
135492
  if (!parsed.ok) {
134920
135493
  return [parsed, { status: "invalid" }];
@@ -135002,12 +135575,12 @@ var init_servingFinetuneJobsCancel = __esm(() => {
135002
135575
  });
135003
135576
 
135004
135577
  // src/mcp-server/tools/servingFinetuneJobsCancel.ts
135005
- var args294, tool$servingFinetuneJobsCancel;
135578
+ var args296, tool$servingFinetuneJobsCancel;
135006
135579
  var init_servingFinetuneJobsCancel2 = __esm(() => {
135007
135580
  init_servingFinetuneJobsCancel();
135008
135581
  init_operations();
135009
135582
  init_tools();
135010
- args294 = {
135583
+ args296 = {
135011
135584
  request: CancelFinetuneJobRequest$inboundSchema
135012
135585
  };
135013
135586
  tool$servingFinetuneJobsCancel = {
@@ -135015,9 +135588,9 @@ var init_servingFinetuneJobsCancel2 = __esm(() => {
135015
135588
  description: `Cancel a fine-tune job
135016
135589
 
135017
135590
  Cancel a running fine-tune job.`,
135018
- args: args294,
135019
- tool: async (client, args295, ctx) => {
135020
- const [result, apiCall] = await servingFinetuneJobsCancel(client, args295.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135591
+ args: args296,
135592
+ tool: async (client, args297, ctx) => {
135593
+ const [result, apiCall] = await servingFinetuneJobsCancel(client, args297.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135021
135594
  if (!result.ok) {
135022
135595
  return {
135023
135596
  content: [{ type: "text", text: result.error.message }],
@@ -135031,9 +135604,9 @@ Cancel a running fine-tune job.`,
135031
135604
 
135032
135605
  // src/funcs/servingFinetuneJobsCreate.ts
135033
135606
  function servingFinetuneJobsCreate(client, request, options) {
135034
- return new APIPromise($do304(client, request, options));
135607
+ return new APIPromise($do306(client, request, options));
135035
135608
  }
135036
- async function $do304(client, request, options) {
135609
+ async function $do306(client, request, options) {
135037
135610
  const parsed = safeParse4(request, (value) => CreateFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
135038
135611
  if (!parsed.ok) {
135039
135612
  return [parsed, { status: "invalid" }];
@@ -135095,7 +135668,7 @@ async function $do304(client, request, options) {
135095
135668
  const responseFields = {
135096
135669
  HttpMeta: { Response: response, Request: req }
135097
135670
  };
135098
- const [result] = await match(json(201, FinetuneJob$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135671
+ const [result] = await match(json(201, FinetuneJob$inboundSchema), jsonErr([403, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
135099
135672
  if (!result.ok) {
135100
135673
  return [result, { status: "complete", request: req, response }];
135101
135674
  }
@@ -135116,12 +135689,12 @@ var init_servingFinetuneJobsCreate = __esm(() => {
135116
135689
  });
135117
135690
 
135118
135691
  // src/mcp-server/tools/servingFinetuneJobsCreate.ts
135119
- var args295, tool$servingFinetuneJobsCreate;
135692
+ var args297, tool$servingFinetuneJobsCreate;
135120
135693
  var init_servingFinetuneJobsCreate2 = __esm(() => {
135121
135694
  init_servingFinetuneJobsCreate();
135122
135695
  init_operations();
135123
135696
  init_tools();
135124
- args295 = {
135697
+ args297 = {
135125
135698
  request: CreateFinetuneJobRequest$inboundSchema
135126
135699
  };
135127
135700
  tool$servingFinetuneJobsCreate = {
@@ -135129,9 +135702,9 @@ var init_servingFinetuneJobsCreate2 = __esm(() => {
135129
135702
  description: `Submit a fine-tune job
135130
135703
 
135131
135704
  Submit a fine-tune job for a base model and dataset, and return its id.`,
135132
- args: args295,
135133
- tool: async (client, args296, ctx) => {
135134
- const [result, apiCall] = await servingFinetuneJobsCreate(client, args296.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135705
+ args: args297,
135706
+ tool: async (client, args298, ctx) => {
135707
+ const [result, apiCall] = await servingFinetuneJobsCreate(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135135
135708
  if (!result.ok) {
135136
135709
  return {
135137
135710
  content: [{ type: "text", text: result.error.message }],
@@ -135146,9 +135719,9 @@ Submit a fine-tune job for a base model and dataset, and return its id.`,
135146
135719
 
135147
135720
  // src/funcs/servingFinetuneJobsGet.ts
135148
135721
  function servingFinetuneJobsGet(client, request, options) {
135149
- return new APIPromise($do305(client, request, options));
135722
+ return new APIPromise($do307(client, request, options));
135150
135723
  }
135151
- async function $do305(client, request, options) {
135724
+ async function $do307(client, request, options) {
135152
135725
  const parsed = safeParse4(request, (value) => GetFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
135153
135726
  if (!parsed.ok) {
135154
135727
  return [parsed, { status: "invalid" }];
@@ -135236,12 +135809,12 @@ var init_servingFinetuneJobsGet = __esm(() => {
135236
135809
  });
135237
135810
 
135238
135811
  // src/mcp-server/tools/servingFinetuneJobsGet.ts
135239
- var args296, tool$servingFinetuneJobsGet;
135812
+ var args298, tool$servingFinetuneJobsGet;
135240
135813
  var init_servingFinetuneJobsGet2 = __esm(() => {
135241
135814
  init_servingFinetuneJobsGet();
135242
135815
  init_operations();
135243
135816
  init_tools();
135244
- args296 = {
135817
+ args298 = {
135245
135818
  request: GetFinetuneJobRequest$inboundSchema
135246
135819
  };
135247
135820
  tool$servingFinetuneJobsGet = {
@@ -135249,9 +135822,9 @@ var init_servingFinetuneJobsGet2 = __esm(() => {
135249
135822
  description: `Get a fine-tune job
135250
135823
 
135251
135824
  Retrieve a fine-tune job, including its status and progress.`,
135252
- args: args296,
135253
- tool: async (client, args297, ctx) => {
135254
- const [result, apiCall] = await servingFinetuneJobsGet(client, args297.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135825
+ args: args298,
135826
+ tool: async (client, args299, ctx) => {
135827
+ const [result, apiCall] = await servingFinetuneJobsGet(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135255
135828
  if (!result.ok) {
135256
135829
  return {
135257
135830
  content: [{ type: "text", text: result.error.message }],
@@ -135266,9 +135839,9 @@ Retrieve a fine-tune job, including its status and progress.`,
135266
135839
 
135267
135840
  // src/funcs/servingFinetuneJobsGetEvents.ts
135268
135841
  function servingFinetuneJobsGetEvents(client, request, options) {
135269
- return new APIPromise($do306(client, request, options));
135842
+ return new APIPromise($do308(client, request, options));
135270
135843
  }
135271
- async function $do306(client, request, options) {
135844
+ async function $do308(client, request, options) {
135272
135845
  const parsed = safeParse4(request, (value) => GetFinetuneEventsRequest$outboundSchema.parse(value), "Input validation failed");
135273
135846
  if (!parsed.ok) {
135274
135847
  return [parsed, { status: "invalid" }];
@@ -135361,12 +135934,12 @@ var init_servingFinetuneJobsGetEvents = __esm(() => {
135361
135934
  });
135362
135935
 
135363
135936
  // src/mcp-server/tools/servingFinetuneJobsGetEvents.ts
135364
- var args297, tool$servingFinetuneJobsGetEvents;
135937
+ var args299, tool$servingFinetuneJobsGetEvents;
135365
135938
  var init_servingFinetuneJobsGetEvents2 = __esm(() => {
135366
135939
  init_servingFinetuneJobsGetEvents();
135367
135940
  init_operations();
135368
135941
  init_tools();
135369
- args297 = {
135942
+ args299 = {
135370
135943
  request: GetFinetuneEventsRequest$inboundSchema
135371
135944
  };
135372
135945
  tool$servingFinetuneJobsGetEvents = {
@@ -135374,9 +135947,9 @@ var init_servingFinetuneJobsGetEvents2 = __esm(() => {
135374
135947
  description: `Status timeline
135375
135948
 
135376
135949
  Return the job's status timeline (queued, running, checkpoints, completion).`,
135377
- args: args297,
135378
- tool: async (client, args298, ctx) => {
135379
- const [result, apiCall] = await servingFinetuneJobsGetEvents(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135950
+ args: args299,
135951
+ tool: async (client, args300, ctx) => {
135952
+ const [result, apiCall] = await servingFinetuneJobsGetEvents(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135380
135953
  if (!result.ok) {
135381
135954
  return {
135382
135955
  content: [{ type: "text", text: result.error.message }],
@@ -135391,9 +135964,9 @@ Return the job's status timeline (queued, running, checkpoints, completion).`,
135391
135964
 
135392
135965
  // src/funcs/servingFinetuneJobsGetLogs.ts
135393
135966
  function servingFinetuneJobsGetLogs(client, request, options) {
135394
- return new APIPromise($do307(client, request, options));
135967
+ return new APIPromise($do309(client, request, options));
135395
135968
  }
135396
- async function $do307(client, request, options) {
135969
+ async function $do309(client, request, options) {
135397
135970
  const parsed = safeParse4(request, (value) => GetFinetuneLogsRequest$outboundSchema.parse(value), "Input validation failed");
135398
135971
  if (!parsed.ok) {
135399
135972
  return [parsed, { status: "invalid" }];
@@ -135486,12 +136059,12 @@ var init_servingFinetuneJobsGetLogs = __esm(() => {
135486
136059
  });
135487
136060
 
135488
136061
  // src/mcp-server/tools/servingFinetuneJobsGetLogs.ts
135489
- var args298, tool$servingFinetuneJobsGetLogs;
136062
+ var args300, tool$servingFinetuneJobsGetLogs;
135490
136063
  var init_servingFinetuneJobsGetLogs2 = __esm(() => {
135491
136064
  init_servingFinetuneJobsGetLogs();
135492
136065
  init_operations();
135493
136066
  init_tools();
135494
- args298 = {
136067
+ args300 = {
135495
136068
  request: GetFinetuneLogsRequest$inboundSchema
135496
136069
  };
135497
136070
  tool$servingFinetuneJobsGetLogs = {
@@ -135499,9 +136072,9 @@ var init_servingFinetuneJobsGetLogs2 = __esm(() => {
135499
136072
  description: `Fetch training logs
135500
136073
 
135501
136074
  Fetch recent training log lines for a job.`,
135502
- args: args298,
135503
- tool: async (client, args299, ctx) => {
135504
- const [result, apiCall] = await servingFinetuneJobsGetLogs(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136075
+ args: args300,
136076
+ tool: async (client, args301, ctx) => {
136077
+ const [result, apiCall] = await servingFinetuneJobsGetLogs(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135505
136078
  if (!result.ok) {
135506
136079
  return {
135507
136080
  content: [{ type: "text", text: result.error.message }],
@@ -135516,9 +136089,9 @@ Fetch recent training log lines for a job.`,
135516
136089
 
135517
136090
  // src/funcs/servingFinetuneJobsGetMetrics.ts
135518
136091
  function servingFinetuneJobsGetMetrics(client, request, options) {
135519
- return new APIPromise($do308(client, request, options));
136092
+ return new APIPromise($do310(client, request, options));
135520
136093
  }
135521
- async function $do308(client, request, options) {
136094
+ async function $do310(client, request, options) {
135522
136095
  const parsed = safeParse4(request, (value) => GetFinetuneMetricsRequest$outboundSchema.parse(value), "Input validation failed");
135523
136096
  if (!parsed.ok) {
135524
136097
  return [parsed, { status: "invalid" }];
@@ -135607,12 +136180,12 @@ var init_servingFinetuneJobsGetMetrics = __esm(() => {
135607
136180
  });
135608
136181
 
135609
136182
  // src/mcp-server/tools/servingFinetuneJobsGetMetrics.ts
135610
- var args299, tool$servingFinetuneJobsGetMetrics;
136183
+ var args301, tool$servingFinetuneJobsGetMetrics;
135611
136184
  var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
135612
136185
  init_servingFinetuneJobsGetMetrics();
135613
136186
  init_operations();
135614
136187
  init_tools();
135615
- args299 = {
136188
+ args301 = {
135616
136189
  request: GetFinetuneMetricsRequest$inboundSchema
135617
136190
  };
135618
136191
  tool$servingFinetuneJobsGetMetrics = {
@@ -135620,9 +136193,9 @@ var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
135620
136193
  description: `Training metrics
135621
136194
 
135622
136195
  Return the training metric series (loss, learning rate, ...) pushed by the training run.`,
135623
- args: args299,
135624
- tool: async (client, args300, ctx) => {
135625
- const [result, apiCall] = await servingFinetuneJobsGetMetrics(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136196
+ args: args301,
136197
+ tool: async (client, args302, ctx) => {
136198
+ const [result, apiCall] = await servingFinetuneJobsGetMetrics(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135626
136199
  if (!result.ok) {
135627
136200
  return {
135628
136201
  content: [{ type: "text", text: result.error.message }],
@@ -135637,9 +136210,9 @@ Return the training metric series (loss, learning rate, ...) pushed by the train
135637
136210
 
135638
136211
  // src/funcs/servingFinetuneJobsList.ts
135639
136212
  function servingFinetuneJobsList(client, request, options) {
135640
- return new APIPromise($do309(client, request, options));
136213
+ return new APIPromise($do311(client, request, options));
135641
136214
  }
135642
- async function $do309(client, request, options) {
136215
+ async function $do311(client, request, options) {
135643
136216
  const parsed = safeParse4(request, (value) => ListFinetuneJobsRequest$outboundSchema.parse(value), "Input validation failed");
135644
136217
  if (!parsed.ok) {
135645
136218
  return [parsed, { status: "invalid" }];
@@ -135726,12 +136299,12 @@ var init_servingFinetuneJobsList = __esm(() => {
135726
136299
  });
135727
136300
 
135728
136301
  // src/mcp-server/tools/servingFinetuneJobsList.ts
135729
- var args300, tool$servingFinetuneJobsList;
136302
+ var args302, tool$servingFinetuneJobsList;
135730
136303
  var init_servingFinetuneJobsList2 = __esm(() => {
135731
136304
  init_servingFinetuneJobsList();
135732
136305
  init_operations();
135733
136306
  init_tools();
135734
- args300 = {
136307
+ args302 = {
135735
136308
  request: ListFinetuneJobsRequest$inboundSchema
135736
136309
  };
135737
136310
  tool$servingFinetuneJobsList = {
@@ -135739,9 +136312,9 @@ var init_servingFinetuneJobsList2 = __esm(() => {
135739
136312
  description: `List fine-tune jobs
135740
136313
 
135741
136314
  List your fine-tune jobs.`,
135742
- args: args300,
135743
- tool: async (client, args301, ctx) => {
135744
- const [result, apiCall] = await servingFinetuneJobsList(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136315
+ args: args302,
136316
+ tool: async (client, args303, ctx) => {
136317
+ const [result, apiCall] = await servingFinetuneJobsList(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135745
136318
  if (!result.ok) {
135746
136319
  return {
135747
136320
  content: [{ type: "text", text: result.error.message }],
@@ -135756,9 +136329,9 @@ List your fine-tune jobs.`,
135756
136329
 
135757
136330
  // src/funcs/servingFinetuneJobsListCheckpoints.ts
135758
136331
  function servingFinetuneJobsListCheckpoints(client, request, options) {
135759
- return new APIPromise($do310(client, request, options));
136332
+ return new APIPromise($do312(client, request, options));
135760
136333
  }
135761
- async function $do310(client, request, options) {
136334
+ async function $do312(client, request, options) {
135762
136335
  const parsed = safeParse4(request, (value) => ListFinetuneCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
135763
136336
  if (!parsed.ok) {
135764
136337
  return [parsed, { status: "invalid" }];
@@ -135847,12 +136420,12 @@ var init_servingFinetuneJobsListCheckpoints = __esm(() => {
135847
136420
  });
135848
136421
 
135849
136422
  // src/mcp-server/tools/servingFinetuneJobsListCheckpoints.ts
135850
- var args301, tool$servingFinetuneJobsListCheckpoints;
136423
+ var args303, tool$servingFinetuneJobsListCheckpoints;
135851
136424
  var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
135852
136425
  init_servingFinetuneJobsListCheckpoints();
135853
136426
  init_operations();
135854
136427
  init_tools();
135855
- args301 = {
136428
+ args303 = {
135856
136429
  request: ListFinetuneCheckpointsRequest$inboundSchema
135857
136430
  };
135858
136431
  tool$servingFinetuneJobsListCheckpoints = {
@@ -135860,9 +136433,9 @@ var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
135860
136433
  description: `List output checkpoints
135861
136434
 
135862
136435
  List the checkpoints a fine-tune job has produced.`,
135863
- args: args301,
135864
- tool: async (client, args302, ctx) => {
135865
- const [result, apiCall] = await servingFinetuneJobsListCheckpoints(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136436
+ args: args303,
136437
+ tool: async (client, args304, ctx) => {
136438
+ const [result, apiCall] = await servingFinetuneJobsListCheckpoints(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135866
136439
  if (!result.ok) {
135867
136440
  return {
135868
136441
  content: [{ type: "text", text: result.error.message }],
@@ -135877,9 +136450,9 @@ List the checkpoints a fine-tune job has produced.`,
135877
136450
 
135878
136451
  // src/funcs/servingImagesDelete.ts
135879
136452
  function servingImagesDelete(client, request, options) {
135880
- return new APIPromise($do311(client, request, options));
136453
+ return new APIPromise($do313(client, request, options));
135881
136454
  }
135882
- async function $do311(client, request, options) {
136455
+ async function $do313(client, request, options) {
135883
136456
  const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
135884
136457
  if (!parsed.ok) {
135885
136458
  return [parsed, { status: "invalid" }];
@@ -135967,12 +136540,12 @@ var init_servingImagesDelete = __esm(() => {
135967
136540
  });
135968
136541
 
135969
136542
  // src/mcp-server/tools/servingImagesDelete.ts
135970
- var args302, tool$servingImagesDelete;
136543
+ var args304, tool$servingImagesDelete;
135971
136544
  var init_servingImagesDelete2 = __esm(() => {
135972
136545
  init_servingImagesDelete();
135973
136546
  init_operations();
135974
136547
  init_tools();
135975
- args302 = {
136548
+ args304 = {
135976
136549
  request: DeleteImageRequest$inboundSchema
135977
136550
  };
135978
136551
  tool$servingImagesDelete = {
@@ -135980,9 +136553,9 @@ var init_servingImagesDelete2 = __esm(() => {
135980
136553
  description: `Delete an image
135981
136554
 
135982
136555
  Delete a container image.`,
135983
- args: args302,
135984
- tool: async (client, args303, ctx) => {
135985
- const [result, apiCall] = await servingImagesDelete(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136556
+ args: args304,
136557
+ tool: async (client, args305, ctx) => {
136558
+ const [result, apiCall] = await servingImagesDelete(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135986
136559
  if (!result.ok) {
135987
136560
  return {
135988
136561
  content: [{ type: "text", text: result.error.message }],
@@ -135996,9 +136569,9 @@ Delete a container image.`,
135996
136569
 
135997
136570
  // src/funcs/servingImagesGet.ts
135998
136571
  function servingImagesGet(client, request, options) {
135999
- return new APIPromise($do312(client, request, options));
136572
+ return new APIPromise($do314(client, request, options));
136000
136573
  }
136001
- async function $do312(client, request, options) {
136574
+ async function $do314(client, request, options) {
136002
136575
  const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
136003
136576
  if (!parsed.ok) {
136004
136577
  return [parsed, { status: "invalid" }];
@@ -136086,12 +136659,12 @@ var init_servingImagesGet = __esm(() => {
136086
136659
  });
136087
136660
 
136088
136661
  // src/mcp-server/tools/servingImagesGet.ts
136089
- var args303, tool$servingImagesGet;
136662
+ var args305, tool$servingImagesGet;
136090
136663
  var init_servingImagesGet2 = __esm(() => {
136091
136664
  init_servingImagesGet();
136092
136665
  init_operations();
136093
136666
  init_tools();
136094
- args303 = {
136667
+ args305 = {
136095
136668
  request: GetImageRequest$inboundSchema
136096
136669
  };
136097
136670
  tool$servingImagesGet = {
@@ -136099,9 +136672,9 @@ var init_servingImagesGet2 = __esm(() => {
136099
136672
  description: `Get an image
136100
136673
 
136101
136674
  Retrieve an image, including its build status.`,
136102
- args: args303,
136103
- tool: async (client, args304, ctx) => {
136104
- const [result, apiCall] = await servingImagesGet(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136675
+ args: args305,
136676
+ tool: async (client, args306, ctx) => {
136677
+ const [result, apiCall] = await servingImagesGet(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136105
136678
  if (!result.ok) {
136106
136679
  return {
136107
136680
  content: [{ type: "text", text: result.error.message }],
@@ -136116,9 +136689,9 @@ Retrieve an image, including its build status.`,
136116
136689
 
136117
136690
  // src/funcs/servingImagesList.ts
136118
136691
  function servingImagesList(client, request, options) {
136119
- return new APIPromise($do313(client, request, options));
136692
+ return new APIPromise($do315(client, request, options));
136120
136693
  }
136121
- async function $do313(client, request, options) {
136694
+ async function $do315(client, request, options) {
136122
136695
  const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
136123
136696
  if (!parsed.ok) {
136124
136697
  return [parsed, { status: "invalid" }];
@@ -136205,12 +136778,12 @@ var init_servingImagesList = __esm(() => {
136205
136778
  });
136206
136779
 
136207
136780
  // src/mcp-server/tools/servingImagesList.ts
136208
- var args304, tool$servingImagesList;
136781
+ var args306, tool$servingImagesList;
136209
136782
  var init_servingImagesList2 = __esm(() => {
136210
136783
  init_servingImagesList();
136211
136784
  init_operations();
136212
136785
  init_tools();
136213
- args304 = {
136786
+ args306 = {
136214
136787
  request: ListImagesRequest$inboundSchema
136215
136788
  };
136216
136789
  tool$servingImagesList = {
@@ -136218,9 +136791,9 @@ var init_servingImagesList2 = __esm(() => {
136218
136791
  description: `List images
136219
136792
 
136220
136793
  List your container images.`,
136221
- args: args304,
136222
- tool: async (client, args305, ctx) => {
136223
- const [result, apiCall] = await servingImagesList(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136794
+ args: args306,
136795
+ tool: async (client, args307, ctx) => {
136796
+ const [result, apiCall] = await servingImagesList(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136224
136797
  if (!result.ok) {
136225
136798
  return {
136226
136799
  content: [{ type: "text", text: result.error.message }],
@@ -136235,9 +136808,9 @@ List your container images.`,
136235
136808
 
136236
136809
  // src/funcs/servingImagesRegister.ts
136237
136810
  function servingImagesRegister(client, request, options) {
136238
- return new APIPromise($do314(client, request, options));
136811
+ return new APIPromise($do316(client, request, options));
136239
136812
  }
136240
- async function $do314(client, request, options) {
136813
+ async function $do316(client, request, options) {
136241
136814
  const parsed = safeParse4(request, (value) => RegisterImageRequest$outboundSchema.parse(value), "Input validation failed");
136242
136815
  if (!parsed.ok) {
136243
136816
  return [parsed, { status: "invalid" }];
@@ -136320,12 +136893,12 @@ var init_servingImagesRegister = __esm(() => {
136320
136893
  });
136321
136894
 
136322
136895
  // src/mcp-server/tools/servingImagesRegister.ts
136323
- var args305, tool$servingImagesRegister;
136896
+ var args307, tool$servingImagesRegister;
136324
136897
  var init_servingImagesRegister2 = __esm(() => {
136325
136898
  init_servingImagesRegister();
136326
136899
  init_operations();
136327
136900
  init_tools();
136328
- args305 = {
136901
+ args307 = {
136329
136902
  request: RegisterImageRequest$inboundSchema
136330
136903
  };
136331
136904
  tool$servingImagesRegister = {
@@ -136333,9 +136906,9 @@ var init_servingImagesRegister2 = __esm(() => {
136333
136906
  description: `Register a container image
136334
136907
 
136335
136908
  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.)`,
136336
- args: args305,
136337
- tool: async (client, args306, ctx) => {
136338
- const [result, apiCall] = await servingImagesRegister(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136909
+ args: args307,
136910
+ tool: async (client, args308, ctx) => {
136911
+ const [result, apiCall] = await servingImagesRegister(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136339
136912
  if (!result.ok) {
136340
136913
  return {
136341
136914
  content: [{ type: "text", text: result.error.message }],
@@ -136350,9 +136923,9 @@ Register a container image by reference so it can back a BYO deployment or a rec
136350
136923
 
136351
136924
  // src/funcs/servingModelsDelete.ts
136352
136925
  function servingModelsDelete(client, request, options) {
136353
- return new APIPromise($do315(client, request, options));
136926
+ return new APIPromise($do317(client, request, options));
136354
136927
  }
136355
- async function $do315(client, request, options) {
136928
+ async function $do317(client, request, options) {
136356
136929
  const parsed = safeParse4(request, (value) => DeleteModelRequest$outboundSchema.parse(value), "Input validation failed");
136357
136930
  if (!parsed.ok) {
136358
136931
  return [parsed, { status: "invalid" }];
@@ -136440,12 +137013,12 @@ var init_servingModelsDelete = __esm(() => {
136440
137013
  });
136441
137014
 
136442
137015
  // src/mcp-server/tools/servingModelsDelete.ts
136443
- var args306, tool$servingModelsDelete;
137016
+ var args308, tool$servingModelsDelete;
136444
137017
  var init_servingModelsDelete2 = __esm(() => {
136445
137018
  init_servingModelsDelete();
136446
137019
  init_operations();
136447
137020
  init_tools();
136448
- args306 = {
137021
+ args308 = {
136449
137022
  request: DeleteModelRequest$inboundSchema
136450
137023
  };
136451
137024
  tool$servingModelsDelete = {
@@ -136453,9 +137026,9 @@ var init_servingModelsDelete2 = __esm(() => {
136453
137026
  description: `Deregister a model
136454
137027
 
136455
137028
  Deregister a model from the catalog.`,
136456
- args: args306,
136457
- tool: async (client, args307, ctx) => {
136458
- const [result, apiCall] = await servingModelsDelete(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137029
+ args: args308,
137030
+ tool: async (client, args309, ctx) => {
137031
+ const [result, apiCall] = await servingModelsDelete(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136459
137032
  if (!result.ok) {
136460
137033
  return {
136461
137034
  content: [{ type: "text", text: result.error.message }],
@@ -136469,9 +137042,9 @@ Deregister a model from the catalog.`,
136469
137042
 
136470
137043
  // src/funcs/servingModelsGet.ts
136471
137044
  function servingModelsGet(client, request, options) {
136472
- return new APIPromise($do316(client, request, options));
137045
+ return new APIPromise($do318(client, request, options));
136473
137046
  }
136474
- async function $do316(client, request, options) {
137047
+ async function $do318(client, request, options) {
136475
137048
  const parsed = safeParse4(request, (value) => GetServingModelRequest$outboundSchema.parse(value), "Input validation failed");
136476
137049
  if (!parsed.ok) {
136477
137050
  return [parsed, { status: "invalid" }];
@@ -136559,12 +137132,12 @@ var init_servingModelsGet = __esm(() => {
136559
137132
  });
136560
137133
 
136561
137134
  // src/mcp-server/tools/servingModelsGet.ts
136562
- var args307, tool$servingModelsGet;
137135
+ var args309, tool$servingModelsGet;
136563
137136
  var init_servingModelsGet2 = __esm(() => {
136564
137137
  init_servingModelsGet();
136565
137138
  init_operations();
136566
137139
  init_tools();
136567
- args307 = {
137140
+ args309 = {
136568
137141
  request: GetServingModelRequest$inboundSchema
136569
137142
  };
136570
137143
  tool$servingModelsGet = {
@@ -136572,9 +137145,9 @@ var init_servingModelsGet2 = __esm(() => {
136572
137145
  description: `Get a model
136573
137146
 
136574
137147
  Retrieve a registered model.`,
136575
- args: args307,
136576
- tool: async (client, args308, ctx) => {
136577
- const [result, apiCall] = await servingModelsGet(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137148
+ args: args309,
137149
+ tool: async (client, args310, ctx) => {
137150
+ const [result, apiCall] = await servingModelsGet(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136578
137151
  if (!result.ok) {
136579
137152
  return {
136580
137153
  content: [{ type: "text", text: result.error.message }],
@@ -136589,9 +137162,9 @@ Retrieve a registered model.`,
136589
137162
 
136590
137163
  // src/funcs/servingModelsList.ts
136591
137164
  function servingModelsList(client, request, options) {
136592
- return new APIPromise($do317(client, request, options));
137165
+ return new APIPromise($do319(client, request, options));
136593
137166
  }
136594
- async function $do317(client, request, options) {
137167
+ async function $do319(client, request, options) {
136595
137168
  const parsed = safeParse4(request, (value) => ListServingModelsRequest$outboundSchema.parse(value), "Input validation failed");
136596
137169
  if (!parsed.ok) {
136597
137170
  return [parsed, { status: "invalid" }];
@@ -136678,12 +137251,12 @@ var init_servingModelsList = __esm(() => {
136678
137251
  });
136679
137252
 
136680
137253
  // src/mcp-server/tools/servingModelsList.ts
136681
- var args308, tool$servingModelsList;
137254
+ var args310, tool$servingModelsList;
136682
137255
  var init_servingModelsList2 = __esm(() => {
136683
137256
  init_servingModelsList();
136684
137257
  init_operations();
136685
137258
  init_tools();
136686
- args308 = {
137259
+ args310 = {
136687
137260
  request: ListServingModelsRequest$inboundSchema
136688
137261
  };
136689
137262
  tool$servingModelsList = {
@@ -136691,9 +137264,9 @@ var init_servingModelsList2 = __esm(() => {
136691
137264
  description: `List models
136692
137265
 
136693
137266
  List your registered models.`,
136694
- args: args308,
136695
- tool: async (client, args309, ctx) => {
136696
- const [result, apiCall] = await servingModelsList(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137267
+ args: args310,
137268
+ tool: async (client, args311, ctx) => {
137269
+ const [result, apiCall] = await servingModelsList(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136697
137270
  if (!result.ok) {
136698
137271
  return {
136699
137272
  content: [{ type: "text", text: result.error.message }],
@@ -136708,9 +137281,9 @@ List your registered models.`,
136708
137281
 
136709
137282
  // src/funcs/servingModelsRegister.ts
136710
137283
  function servingModelsRegister(client, request, options) {
136711
- return new APIPromise($do318(client, request, options));
137284
+ return new APIPromise($do320(client, request, options));
136712
137285
  }
136713
- async function $do318(client, request, options) {
137286
+ async function $do320(client, request, options) {
136714
137287
  const parsed = safeParse4(request, (value) => RegisterModelRequest$outboundSchema.parse(value), "Input validation failed");
136715
137288
  if (!parsed.ok) {
136716
137289
  return [parsed, { status: "invalid" }];
@@ -136793,12 +137366,12 @@ var init_servingModelsRegister = __esm(() => {
136793
137366
  });
136794
137367
 
136795
137368
  // src/mcp-server/tools/servingModelsRegister.ts
136796
- var args309, tool$servingModelsRegister;
137369
+ var args311, tool$servingModelsRegister;
136797
137370
  var init_servingModelsRegister2 = __esm(() => {
136798
137371
  init_servingModelsRegister();
136799
137372
  init_operations();
136800
137373
  init_tools();
136801
- args309 = {
137374
+ args311 = {
136802
137375
  request: RegisterModelRequest$inboundSchema
136803
137376
  };
136804
137377
  tool$servingModelsRegister = {
@@ -136806,9 +137379,9 @@ var init_servingModelsRegister2 = __esm(() => {
136806
137379
  description: `Register a model
136807
137380
 
136808
137381
  Register a model (from a source or volume) so it can be deployed or fine-tuned.`,
136809
- args: args309,
136810
- tool: async (client, args310, ctx) => {
136811
- const [result, apiCall] = await servingModelsRegister(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137382
+ args: args311,
137383
+ tool: async (client, args312, ctx) => {
137384
+ const [result, apiCall] = await servingModelsRegister(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136812
137385
  if (!result.ok) {
136813
137386
  return {
136814
137387
  content: [{ type: "text", text: result.error.message }],
@@ -136823,9 +137396,9 @@ Register a model (from a source or volume) so it can be deployed or fine-tuned.`
136823
137396
 
136824
137397
  // src/funcs/servingRecipesDelete.ts
136825
137398
  function servingRecipesDelete(client, request, options) {
136826
- return new APIPromise($do319(client, request, options));
137399
+ return new APIPromise($do321(client, request, options));
136827
137400
  }
136828
- async function $do319(client, request, options) {
137401
+ async function $do321(client, request, options) {
136829
137402
  const parsed = safeParse4(request, (value) => DeleteServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
136830
137403
  if (!parsed.ok) {
136831
137404
  return [parsed, { status: "invalid" }];
@@ -136913,12 +137486,12 @@ var init_servingRecipesDelete = __esm(() => {
136913
137486
  });
136914
137487
 
136915
137488
  // src/mcp-server/tools/servingRecipesDelete.ts
136916
- var args310, tool$servingRecipesDelete;
137489
+ var args312, tool$servingRecipesDelete;
136917
137490
  var init_servingRecipesDelete2 = __esm(() => {
136918
137491
  init_servingRecipesDelete();
136919
137492
  init_operations();
136920
137493
  init_tools();
136921
- args310 = {
137494
+ args312 = {
136922
137495
  request: DeleteServingRecipeRequest$inboundSchema
136923
137496
  };
136924
137497
  tool$servingRecipesDelete = {
@@ -136926,9 +137499,9 @@ var init_servingRecipesDelete2 = __esm(() => {
136926
137499
  description: `Delete a serving recipe
136927
137500
 
136928
137501
  Remove a recipe from the catalog. Rejected while any live deployment's active revision references the recipe. Cluster administrators only.`,
136929
- args: args310,
136930
- tool: async (client, args311, ctx) => {
136931
- const [result, apiCall] = await servingRecipesDelete(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137502
+ args: args312,
137503
+ tool: async (client, args313, ctx) => {
137504
+ const [result, apiCall] = await servingRecipesDelete(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136932
137505
  if (!result.ok) {
136933
137506
  return {
136934
137507
  content: [{ type: "text", text: result.error.message }],
@@ -136942,9 +137515,9 @@ Remove a recipe from the catalog. Rejected while any live deployment's active re
136942
137515
 
136943
137516
  // src/funcs/servingRecipesGet.ts
136944
137517
  function servingRecipesGet(client, request, options) {
136945
- return new APIPromise($do320(client, request, options));
137518
+ return new APIPromise($do322(client, request, options));
136946
137519
  }
136947
- async function $do320(client, request, options) {
137520
+ async function $do322(client, request, options) {
136948
137521
  const parsed = safeParse4(request, (value) => GetServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
136949
137522
  if (!parsed.ok) {
136950
137523
  return [parsed, { status: "invalid" }];
@@ -137032,12 +137605,12 @@ var init_servingRecipesGet = __esm(() => {
137032
137605
  });
137033
137606
 
137034
137607
  // src/mcp-server/tools/servingRecipesGet.ts
137035
- var args311, tool$servingRecipesGet;
137608
+ var args313, tool$servingRecipesGet;
137036
137609
  var init_servingRecipesGet2 = __esm(() => {
137037
137610
  init_servingRecipesGet();
137038
137611
  init_operations();
137039
137612
  init_tools();
137040
- args311 = {
137613
+ args313 = {
137041
137614
  request: GetServingRecipeRequest$inboundSchema
137042
137615
  };
137043
137616
  tool$servingRecipesGet = {
@@ -137045,9 +137618,9 @@ var init_servingRecipesGet2 = __esm(() => {
137045
137618
  description: `Get a serving recipe
137046
137619
 
137047
137620
  Get one recipe catalog record. Tenants can read enabled recipes; disabled recipes are visible to cluster administrators only.`,
137048
- args: args311,
137049
- tool: async (client, args312, ctx) => {
137050
- const [result, apiCall] = await servingRecipesGet(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137621
+ args: args313,
137622
+ tool: async (client, args314, ctx) => {
137623
+ const [result, apiCall] = await servingRecipesGet(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137051
137624
  if (!result.ok) {
137052
137625
  return {
137053
137626
  content: [{ type: "text", text: result.error.message }],
@@ -137062,9 +137635,9 @@ Get one recipe catalog record. Tenants can read enabled recipes; disabled recipe
137062
137635
 
137063
137636
  // src/funcs/servingRecipesList.ts
137064
137637
  function servingRecipesList(client, request, options) {
137065
- return new APIPromise($do321(client, request, options));
137638
+ return new APIPromise($do323(client, request, options));
137066
137639
  }
137067
- async function $do321(client, request, options) {
137640
+ async function $do323(client, request, options) {
137068
137641
  const parsed = safeParse4(request, (value) => ListServingRecipesRequest$outboundSchema.parse(value), "Input validation failed");
137069
137642
  if (!parsed.ok) {
137070
137643
  return [parsed, { status: "invalid" }];
@@ -137151,12 +137724,12 @@ var init_servingRecipesList = __esm(() => {
137151
137724
  });
137152
137725
 
137153
137726
  // src/mcp-server/tools/servingRecipesList.ts
137154
- var args312, tool$servingRecipesList;
137727
+ var args314, tool$servingRecipesList;
137155
137728
  var init_servingRecipesList2 = __esm(() => {
137156
137729
  init_servingRecipesList();
137157
137730
  init_operations();
137158
137731
  init_tools();
137159
- args312 = {
137732
+ args314 = {
137160
137733
  request: ListServingRecipesRequest$inboundSchema
137161
137734
  };
137162
137735
  tool$servingRecipesList = {
@@ -137164,9 +137737,9 @@ var init_servingRecipesList2 = __esm(() => {
137164
137737
  description: `List serving recipes
137165
137738
 
137166
137739
  List the cluster-global serving recipe catalog. Tenants see only enabled (deployable) recipes; cluster administrators see every registered recipe including disabled ones.`,
137167
- args: args312,
137168
- tool: async (client, args313, ctx) => {
137169
- const [result, apiCall] = await servingRecipesList(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137740
+ args: args314,
137741
+ tool: async (client, args315, ctx) => {
137742
+ const [result, apiCall] = await servingRecipesList(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137170
137743
  if (!result.ok) {
137171
137744
  return {
137172
137745
  content: [{ type: "text", text: result.error.message }],
@@ -137181,9 +137754,9 @@ List the cluster-global serving recipe catalog. Tenants see only enabled (deploy
137181
137754
 
137182
137755
  // src/funcs/servingRecipesRegister.ts
137183
137756
  function servingRecipesRegister(client, request, options) {
137184
- return new APIPromise($do322(client, request, options));
137757
+ return new APIPromise($do324(client, request, options));
137185
137758
  }
137186
- async function $do322(client, request, options) {
137759
+ async function $do324(client, request, options) {
137187
137760
  const parsed = safeParse4(request, (value) => RegisterServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
137188
137761
  if (!parsed.ok) {
137189
137762
  return [parsed, { status: "invalid" }];
@@ -137274,12 +137847,12 @@ var init_servingRecipesRegister = __esm(() => {
137274
137847
  });
137275
137848
 
137276
137849
  // src/mcp-server/tools/servingRecipesRegister.ts
137277
- var args313, tool$servingRecipesRegister;
137850
+ var args315, tool$servingRecipesRegister;
137278
137851
  var init_servingRecipesRegister2 = __esm(() => {
137279
137852
  init_servingRecipesRegister();
137280
137853
  init_operations();
137281
137854
  init_tools();
137282
- args313 = {
137855
+ args315 = {
137283
137856
  request: RegisterServingRecipeRequest$inboundSchema
137284
137857
  };
137285
137858
  tool$servingRecipesRegister = {
@@ -137287,9 +137860,9 @@ var init_servingRecipesRegister2 = __esm(() => {
137287
137860
  description: `Register a serving recipe
137288
137861
 
137289
137862
  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.`,
137290
- args: args313,
137291
- tool: async (client, args314, ctx) => {
137292
- const [result, apiCall] = await servingRecipesRegister(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137863
+ args: args315,
137864
+ tool: async (client, args316, ctx) => {
137865
+ const [result, apiCall] = await servingRecipesRegister(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137293
137866
  if (!result.ok) {
137294
137867
  return {
137295
137868
  content: [{ type: "text", text: result.error.message }],
@@ -137304,9 +137877,9 @@ Register (or re-register) a digest-pinned recipe manifest in the catalog. A new
137304
137877
 
137305
137878
  // src/funcs/servingRecipesSetEnabled.ts
137306
137879
  function servingRecipesSetEnabled(client, request, options) {
137307
- return new APIPromise($do323(client, request, options));
137880
+ return new APIPromise($do325(client, request, options));
137308
137881
  }
137309
- async function $do323(client, request, options) {
137882
+ async function $do325(client, request, options) {
137310
137883
  const parsed = safeParse4(request, (value) => SetServingRecipeEnabledRequest$outboundSchema.parse(value), "Input validation failed");
137311
137884
  if (!parsed.ok) {
137312
137885
  return [parsed, { status: "invalid" }];
@@ -137397,12 +137970,12 @@ var init_servingRecipesSetEnabled = __esm(() => {
137397
137970
  });
137398
137971
 
137399
137972
  // src/mcp-server/tools/servingRecipesSetEnabled.ts
137400
- var args314, tool$servingRecipesSetEnabled;
137973
+ var args316, tool$servingRecipesSetEnabled;
137401
137974
  var init_servingRecipesSetEnabled2 = __esm(() => {
137402
137975
  init_servingRecipesSetEnabled();
137403
137976
  init_operations();
137404
137977
  init_tools();
137405
- args314 = {
137978
+ args316 = {
137406
137979
  request: SetServingRecipeEnabledRequest$inboundSchema
137407
137980
  };
137408
137981
  tool$servingRecipesSetEnabled = {
@@ -137410,9 +137983,9 @@ var init_servingRecipesSetEnabled2 = __esm(() => {
137410
137983
  description: `Enable or disable a serving recipe
137411
137984
 
137412
137985
  Toggle cluster-wide deployability of a registered recipe. Disabling does not stop deployments already running the recipe. Cluster administrators only.`,
137413
- args: args314,
137414
- tool: async (client, args315, ctx) => {
137415
- const [result, apiCall] = await servingRecipesSetEnabled(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137986
+ args: args316,
137987
+ tool: async (client, args317, ctx) => {
137988
+ const [result, apiCall] = await servingRecipesSetEnabled(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137416
137989
  if (!result.ok) {
137417
137990
  return {
137418
137991
  content: [{ type: "text", text: result.error.message }],
@@ -137427,9 +138000,9 @@ Toggle cluster-wide deployability of a registered recipe. Disabling does not sto
137427
138000
 
137428
138001
  // src/funcs/servingSecretsCreate.ts
137429
138002
  function servingSecretsCreate(client, request, options) {
137430
- return new APIPromise($do324(client, request, options));
138003
+ return new APIPromise($do326(client, request, options));
137431
138004
  }
137432
- async function $do324(client, request, options) {
138005
+ async function $do326(client, request, options) {
137433
138006
  const parsed = safeParse4(request, (value) => CreateSecretRequest$outboundSchema.parse(value), "Input validation failed");
137434
138007
  if (!parsed.ok) {
137435
138008
  return [parsed, { status: "invalid" }];
@@ -137512,12 +138085,12 @@ var init_servingSecretsCreate = __esm(() => {
137512
138085
  });
137513
138086
 
137514
138087
  // src/mcp-server/tools/servingSecretsCreate.ts
137515
- var args315, tool$servingSecretsCreate;
138088
+ var args317, tool$servingSecretsCreate;
137516
138089
  var init_servingSecretsCreate2 = __esm(() => {
137517
138090
  init_servingSecretsCreate();
137518
138091
  init_operations();
137519
138092
  init_tools();
137520
- args315 = {
138093
+ args317 = {
137521
138094
  request: CreateSecretRequest$inboundSchema
137522
138095
  };
137523
138096
  tool$servingSecretsCreate = {
@@ -137525,9 +138098,9 @@ var init_servingSecretsCreate2 = __esm(() => {
137525
138098
  description: `Create a secret
137526
138099
 
137527
138100
  Create a secret whose values are injected into your workloads as env vars.`,
137528
- args: args315,
137529
- tool: async (client, args316, ctx) => {
137530
- const [result, apiCall] = await servingSecretsCreate(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138101
+ args: args317,
138102
+ tool: async (client, args318, ctx) => {
138103
+ const [result, apiCall] = await servingSecretsCreate(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137531
138104
  if (!result.ok) {
137532
138105
  return {
137533
138106
  content: [{ type: "text", text: result.error.message }],
@@ -137542,9 +138115,9 @@ Create a secret whose values are injected into your workloads as env vars.`,
137542
138115
 
137543
138116
  // src/funcs/servingSecretsDelete.ts
137544
138117
  function servingSecretsDelete(client, request, options) {
137545
- return new APIPromise($do325(client, request, options));
138118
+ return new APIPromise($do327(client, request, options));
137546
138119
  }
137547
- async function $do325(client, request, options) {
138120
+ async function $do327(client, request, options) {
137548
138121
  const parsed = safeParse4(request, (value) => DeleteSecretRequest$outboundSchema.parse(value), "Input validation failed");
137549
138122
  if (!parsed.ok) {
137550
138123
  return [parsed, { status: "invalid" }];
@@ -137632,12 +138205,12 @@ var init_servingSecretsDelete = __esm(() => {
137632
138205
  });
137633
138206
 
137634
138207
  // src/mcp-server/tools/servingSecretsDelete.ts
137635
- var args316, tool$servingSecretsDelete;
138208
+ var args318, tool$servingSecretsDelete;
137636
138209
  var init_servingSecretsDelete2 = __esm(() => {
137637
138210
  init_servingSecretsDelete();
137638
138211
  init_operations();
137639
138212
  init_tools();
137640
- args316 = {
138213
+ args318 = {
137641
138214
  request: DeleteSecretRequest$inboundSchema
137642
138215
  };
137643
138216
  tool$servingSecretsDelete = {
@@ -137645,9 +138218,9 @@ var init_servingSecretsDelete2 = __esm(() => {
137645
138218
  description: `Delete a secret
137646
138219
 
137647
138220
  Delete a secret.`,
137648
- args: args316,
137649
- tool: async (client, args317, ctx) => {
137650
- const [result, apiCall] = await servingSecretsDelete(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138221
+ args: args318,
138222
+ tool: async (client, args319, ctx) => {
138223
+ const [result, apiCall] = await servingSecretsDelete(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137651
138224
  if (!result.ok) {
137652
138225
  return {
137653
138226
  content: [{ type: "text", text: result.error.message }],
@@ -137659,11 +138232,131 @@ Delete a secret.`,
137659
138232
  };
137660
138233
  });
137661
138234
 
138235
+ // src/funcs/servingSecretsGet.ts
138236
+ function servingSecretsGet(client, request, options) {
138237
+ return new APIPromise($do328(client, request, options));
138238
+ }
138239
+ async function $do328(client, request, options) {
138240
+ const parsed = safeParse4(request, (value) => GetSecretRequest$outboundSchema.parse(value), "Input validation failed");
138241
+ if (!parsed.ok) {
138242
+ return [parsed, { status: "invalid" }];
138243
+ }
138244
+ const payload = parsed.value;
138245
+ const body = null;
138246
+ const pathParams = {
138247
+ secret_id: encodeSimple("secret_id", payload.secret_id, {
138248
+ explode: false,
138249
+ charEncoding: "percent"
138250
+ })
138251
+ };
138252
+ const path = pathToFunc("/api/v1/serving/secrets/{secret_id}")(pathParams);
138253
+ const headers = new Headers(compactMap({
138254
+ Accept: "application/json",
138255
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
138256
+ }));
138257
+ const secConfig = await extractSecurity(client._options.bearerAuth);
138258
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
138259
+ const requestSecurity = resolveGlobalSecurity(securityInput);
138260
+ const context = {
138261
+ options: client._options,
138262
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
138263
+ operationID: "getSecret",
138264
+ oAuth2Scopes: null,
138265
+ resolvedSecurity: requestSecurity,
138266
+ securitySource: client._options.bearerAuth,
138267
+ retryConfig: options?.retries || client._options.retryConfig || {
138268
+ strategy: "backoff",
138269
+ backoff: {
138270
+ initialInterval: 500,
138271
+ maxInterval: 5000,
138272
+ exponent: 1.5,
138273
+ maxElapsedTime: 15000
138274
+ },
138275
+ retryConnectionErrors: true
138276
+ },
138277
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
138278
+ };
138279
+ const requestRes = client._createRequest(context, {
138280
+ security: requestSecurity,
138281
+ method: "GET",
138282
+ baseURL: options?.serverURL,
138283
+ path,
138284
+ headers,
138285
+ body,
138286
+ userAgent: client._options.userAgent,
138287
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
138288
+ }, options);
138289
+ if (!requestRes.ok) {
138290
+ return [requestRes, { status: "invalid" }];
138291
+ }
138292
+ const req = requestRes.value;
138293
+ const doResult = await client._do(req, {
138294
+ context,
138295
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
138296
+ retryConfig: context.retryConfig,
138297
+ retryCodes: context.retryCodes
138298
+ });
138299
+ if (!doResult.ok) {
138300
+ return [doResult, { status: "request-error", request: req }];
138301
+ }
138302
+ const response = doResult.value;
138303
+ const responseFields = {
138304
+ HttpMeta: { Response: response, Request: req }
138305
+ };
138306
+ const [result] = await match(json(200, Secret$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
138307
+ if (!result.ok) {
138308
+ return [result, { status: "complete", request: req, response }];
138309
+ }
138310
+ return [result, { status: "complete", request: req, response }];
138311
+ }
138312
+ var init_servingSecretsGet = __esm(() => {
138313
+ init_encodings();
138314
+ init_http();
138315
+ init_matchers();
138316
+ init_primitives();
138317
+ init_schemas4();
138318
+ init_security();
138319
+ init_url();
138320
+ init_components();
138321
+ init_errors4();
138322
+ init_operations();
138323
+ init_async();
138324
+ });
138325
+
138326
+ // src/mcp-server/tools/servingSecretsGet.ts
138327
+ var args319, tool$servingSecretsGet;
138328
+ var init_servingSecretsGet2 = __esm(() => {
138329
+ init_servingSecretsGet();
138330
+ init_operations();
138331
+ init_tools();
138332
+ args319 = {
138333
+ request: GetSecretRequest$inboundSchema
138334
+ };
138335
+ tool$servingSecretsGet = {
138336
+ name: "serving-secrets-get",
138337
+ description: `Get a secret
138338
+
138339
+ Retrieve secret metadata: key names and allowed use. Values are never returned.`,
138340
+ args: args319,
138341
+ tool: async (client, args320, ctx) => {
138342
+ const [result, apiCall] = await servingSecretsGet(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138343
+ if (!result.ok) {
138344
+ return {
138345
+ content: [{ type: "text", text: result.error.message }],
138346
+ isError: true
138347
+ };
138348
+ }
138349
+ const value = result.value;
138350
+ return formatResult(value, apiCall);
138351
+ }
138352
+ };
138353
+ });
138354
+
137662
138355
  // src/funcs/servingSecretsList.ts
137663
138356
  function servingSecretsList(client, request, options) {
137664
- return new APIPromise($do326(client, request, options));
138357
+ return new APIPromise($do329(client, request, options));
137665
138358
  }
137666
- async function $do326(client, request, options) {
138359
+ async function $do329(client, request, options) {
137667
138360
  const parsed = safeParse4(request, (value) => ListSecretsRequest$outboundSchema.parse(value), "Input validation failed");
137668
138361
  if (!parsed.ok) {
137669
138362
  return [parsed, { status: "invalid" }];
@@ -137750,12 +138443,12 @@ var init_servingSecretsList = __esm(() => {
137750
138443
  });
137751
138444
 
137752
138445
  // src/mcp-server/tools/servingSecretsList.ts
137753
- var args317, tool$servingSecretsList;
138446
+ var args320, tool$servingSecretsList;
137754
138447
  var init_servingSecretsList2 = __esm(() => {
137755
138448
  init_servingSecretsList();
137756
138449
  init_operations();
137757
138450
  init_tools();
137758
- args317 = {
138451
+ args320 = {
137759
138452
  request: ListSecretsRequest$inboundSchema
137760
138453
  };
137761
138454
  tool$servingSecretsList = {
@@ -137763,9 +138456,9 @@ var init_servingSecretsList2 = __esm(() => {
137763
138456
  description: `List secrets (names only)
137764
138457
 
137765
138458
  List your secrets by name (values are never returned).`,
137766
- args: args317,
137767
- tool: async (client, args318, ctx) => {
137768
- const [result, apiCall] = await servingSecretsList(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138459
+ args: args320,
138460
+ tool: async (client, args321, ctx) => {
138461
+ const [result, apiCall] = await servingSecretsList(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137769
138462
  if (!result.ok) {
137770
138463
  return {
137771
138464
  content: [{ type: "text", text: result.error.message }],
@@ -137780,9 +138473,9 @@ List your secrets by name (values are never returned).`,
137780
138473
 
137781
138474
  // src/funcs/servingSpendGet.ts
137782
138475
  function servingSpendGet(client, request, options) {
137783
- return new APIPromise($do327(client, request, options));
138476
+ return new APIPromise($do330(client, request, options));
137784
138477
  }
137785
- async function $do327(client, request, options) {
138478
+ async function $do330(client, request, options) {
137786
138479
  const parsed = safeParse4(request, (value) => GetSpendRequest$outboundSchema.parse(value), "Input validation failed");
137787
138480
  if (!parsed.ok) {
137788
138481
  return [parsed, { status: "invalid" }];
@@ -137869,12 +138562,12 @@ var init_servingSpendGet = __esm(() => {
137869
138562
  });
137870
138563
 
137871
138564
  // src/mcp-server/tools/servingSpendGet.ts
137872
- var args318, tool$servingSpendGet;
138565
+ var args321, tool$servingSpendGet;
137873
138566
  var init_servingSpendGet2 = __esm(() => {
137874
138567
  init_servingSpendGet();
137875
138568
  init_operations();
137876
138569
  init_tools();
137877
- args318 = {
138570
+ args321 = {
137878
138571
  request: GetSpendRequest$inboundSchema
137879
138572
  };
137880
138573
  tool$servingSpendGet = {
@@ -137882,9 +138575,9 @@ var init_servingSpendGet2 = __esm(() => {
137882
138575
  description: `Cost and spend summary
137883
138576
 
137884
138577
  Aggregate spend for your organization, computed from retained compute ledgers as price × runtime overlap with the requested window. Spend is derived on read and is never stored.`,
137885
- args: args318,
137886
- tool: async (client, args319, ctx) => {
137887
- const [result, apiCall] = await servingSpendGet(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138578
+ args: args321,
138579
+ tool: async (client, args322, ctx) => {
138580
+ const [result, apiCall] = await servingSpendGet(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137888
138581
  if (!result.ok) {
137889
138582
  return {
137890
138583
  content: [{ type: "text", text: result.error.message }],
@@ -137899,9 +138592,9 @@ Aggregate spend for your organization, computed from retained compute ledgers as
137899
138592
 
137900
138593
  // src/funcs/servingTenantsDeleteOrganization.ts
137901
138594
  function servingTenantsDeleteOrganization(client, request, options) {
137902
- return new APIPromise($do328(client, request, options));
138595
+ return new APIPromise($do331(client, request, options));
137903
138596
  }
137904
- async function $do328(client, request, options) {
138597
+ async function $do331(client, request, options) {
137905
138598
  const parsed = safeParse4(request, (value) => DeleteServingOrganizationRequest$outboundSchema.parse(value), "Input validation failed");
137906
138599
  if (!parsed.ok) {
137907
138600
  return [parsed, { status: "invalid" }];
@@ -137992,12 +138685,12 @@ var init_servingTenantsDeleteOrganization = __esm(() => {
137992
138685
  });
137993
138686
 
137994
138687
  // src/mcp-server/tools/servingTenantsDeleteOrganization.ts
137995
- var args319, tool$servingTenantsDeleteOrganization;
138688
+ var args322, tool$servingTenantsDeleteOrganization;
137996
138689
  var init_servingTenantsDeleteOrganization2 = __esm(() => {
137997
138690
  init_servingTenantsDeleteOrganization();
137998
138691
  init_operations();
137999
138692
  init_tools();
138000
- args319 = {
138693
+ args322 = {
138001
138694
  request: DeleteServingOrganizationRequest$inboundSchema
138002
138695
  };
138003
138696
  tool$servingTenantsDeleteOrganization = {
@@ -138005,9 +138698,9 @@ var init_servingTenantsDeleteOrganization2 = __esm(() => {
138005
138698
  description: `Trigger organization deletion teardown
138006
138699
 
138007
138700
  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.`,
138008
- args: args319,
138009
- tool: async (client, args320, ctx) => {
138010
- const [result, apiCall] = await servingTenantsDeleteOrganization(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138701
+ args: args322,
138702
+ tool: async (client, args323, ctx) => {
138703
+ const [result, apiCall] = await servingTenantsDeleteOrganization(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138011
138704
  if (!result.ok) {
138012
138705
  return {
138013
138706
  content: [{ type: "text", text: result.error.message }],
@@ -138022,9 +138715,9 @@ Durably records an organization.deleted.v1 event and starts (or adopts) the mand
138022
138715
 
138023
138716
  // src/funcs/servingTenantsGet.ts
138024
138717
  function servingTenantsGet(client, request, options) {
138025
- return new APIPromise($do329(client, request, options));
138718
+ return new APIPromise($do332(client, request, options));
138026
138719
  }
138027
- async function $do329(client, request, options) {
138720
+ async function $do332(client, request, options) {
138028
138721
  const parsed = safeParse4(request, (value) => GetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
138029
138722
  if (!parsed.ok) {
138030
138723
  return [parsed, { status: "invalid" }];
@@ -138112,12 +138805,12 @@ var init_servingTenantsGet = __esm(() => {
138112
138805
  });
138113
138806
 
138114
138807
  // src/mcp-server/tools/servingTenantsGet.ts
138115
- var args320, tool$servingTenantsGet;
138808
+ var args323, tool$servingTenantsGet;
138116
138809
  var init_servingTenantsGet2 = __esm(() => {
138117
138810
  init_servingTenantsGet();
138118
138811
  init_operations();
138119
138812
  init_tools();
138120
- args320 = {
138813
+ args323 = {
138121
138814
  request: GetServingTenantRequest$inboundSchema
138122
138815
  };
138123
138816
  tool$servingTenantsGet = {
@@ -138125,9 +138818,9 @@ var init_servingTenantsGet2 = __esm(() => {
138125
138818
  description: `Get a serving tenant
138126
138819
 
138127
138820
  Get one organization's serving enablement record. Cluster administrators only.`,
138128
- args: args320,
138129
- tool: async (client, args321, ctx) => {
138130
- const [result, apiCall] = await servingTenantsGet(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138821
+ args: args323,
138822
+ tool: async (client, args324, ctx) => {
138823
+ const [result, apiCall] = await servingTenantsGet(client, args324.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138131
138824
  if (!result.ok) {
138132
138825
  return {
138133
138826
  content: [{ type: "text", text: result.error.message }],
@@ -138142,9 +138835,9 @@ Get one organization's serving enablement record. Cluster administrators only.`,
138142
138835
 
138143
138836
  // src/funcs/servingTenantsGetOrganizationDeletion.ts
138144
138837
  function servingTenantsGetOrganizationDeletion(client, request, options) {
138145
- return new APIPromise($do330(client, request, options));
138838
+ return new APIPromise($do333(client, request, options));
138146
138839
  }
138147
- async function $do330(client, request, options) {
138840
+ async function $do333(client, request, options) {
138148
138841
  const parsed = safeParse4(request, (value) => GetServingOrganizationDeletionRequest$outboundSchema.parse(value), "Input validation failed");
138149
138842
  if (!parsed.ok) {
138150
138843
  return [parsed, { status: "invalid" }];
@@ -138232,12 +138925,12 @@ var init_servingTenantsGetOrganizationDeletion = __esm(() => {
138232
138925
  });
138233
138926
 
138234
138927
  // src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts
138235
- var args321, tool$servingTenantsGetOrganizationDeletion;
138928
+ var args324, tool$servingTenantsGetOrganizationDeletion;
138236
138929
  var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
138237
138930
  init_servingTenantsGetOrganizationDeletion();
138238
138931
  init_operations();
138239
138932
  init_tools();
138240
- args321 = {
138933
+ args324 = {
138241
138934
  request: GetServingOrganizationDeletionRequest$inboundSchema
138242
138935
  };
138243
138936
  tool$servingTenantsGetOrganizationDeletion = {
@@ -138245,9 +138938,9 @@ var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
138245
138938
  description: `Get organization deletion teardown state
138246
138939
 
138247
138940
  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.`,
138248
- args: args321,
138249
- tool: async (client, args322, ctx) => {
138250
- const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138941
+ args: args324,
138942
+ tool: async (client, args325, ctx) => {
138943
+ const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args325.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138251
138944
  if (!result.ok) {
138252
138945
  return {
138253
138946
  content: [{ type: "text", text: result.error.message }],
@@ -138262,9 +138955,9 @@ Returns the durable teardown-cascade state for an organization (running or compl
138262
138955
 
138263
138956
  // src/funcs/servingTenantsList.ts
138264
138957
  function servingTenantsList(client, request, options) {
138265
- return new APIPromise($do331(client, request, options));
138958
+ return new APIPromise($do334(client, request, options));
138266
138959
  }
138267
- async function $do331(client, request, options) {
138960
+ async function $do334(client, request, options) {
138268
138961
  const parsed = safeParse4(request, (value) => ListServingTenantsRequest$outboundSchema.parse(value), "Input validation failed");
138269
138962
  if (!parsed.ok) {
138270
138963
  return [parsed, { status: "invalid" }];
@@ -138351,12 +139044,12 @@ var init_servingTenantsList = __esm(() => {
138351
139044
  });
138352
139045
 
138353
139046
  // src/mcp-server/tools/servingTenantsList.ts
138354
- var args322, tool$servingTenantsList;
139047
+ var args325, tool$servingTenantsList;
138355
139048
  var init_servingTenantsList2 = __esm(() => {
138356
139049
  init_servingTenantsList();
138357
139050
  init_operations();
138358
139051
  init_tools();
138359
- args322 = {
139052
+ args325 = {
138360
139053
  request: ListServingTenantsRequest$inboundSchema
138361
139054
  };
138362
139055
  tool$servingTenantsList = {
@@ -138364,9 +139057,9 @@ var init_servingTenantsList2 = __esm(() => {
138364
139057
  description: `List serving tenants
138365
139058
 
138366
139059
  List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.`,
138367
- args: args322,
138368
- tool: async (client, args323, ctx) => {
138369
- const [result, apiCall] = await servingTenantsList(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139060
+ args: args325,
139061
+ tool: async (client, args326, ctx) => {
139062
+ const [result, apiCall] = await servingTenantsList(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138370
139063
  if (!result.ok) {
138371
139064
  return {
138372
139065
  content: [{ type: "text", text: result.error.message }],
@@ -138381,9 +139074,9 @@ List organization-wide serving enablement records. Cluster administrators only;
138381
139074
 
138382
139075
  // src/funcs/servingTenantsSet.ts
138383
139076
  function servingTenantsSet(client, request, options) {
138384
- return new APIPromise($do332(client, request, options));
139077
+ return new APIPromise($do335(client, request, options));
138385
139078
  }
138386
- async function $do332(client, request, options) {
139079
+ async function $do335(client, request, options) {
138387
139080
  const parsed = safeParse4(request, (value) => SetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
138388
139081
  if (!parsed.ok) {
138389
139082
  return [parsed, { status: "invalid" }];
@@ -138472,12 +139165,12 @@ var init_servingTenantsSet = __esm(() => {
138472
139165
  });
138473
139166
 
138474
139167
  // src/mcp-server/tools/servingTenantsSet.ts
138475
- var args323, tool$servingTenantsSet;
139168
+ var args326, tool$servingTenantsSet;
138476
139169
  var init_servingTenantsSet2 = __esm(() => {
138477
139170
  init_servingTenantsSet();
138478
139171
  init_operations();
138479
139172
  init_tools();
138480
- args323 = {
139173
+ args326 = {
138481
139174
  request: SetServingTenantRequest$inboundSchema
138482
139175
  };
138483
139176
  tool$servingTenantsSet = {
@@ -138485,9 +139178,9 @@ var init_servingTenantsSet2 = __esm(() => {
138485
139178
  description: `Set serving tenant enablement
138486
139179
 
138487
139180
  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.`,
138488
- args: args323,
138489
- tool: async (client, args324, ctx) => {
138490
- const [result, apiCall] = await servingTenantsSet(client, args324.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139181
+ args: args326,
139182
+ tool: async (client, args327, ctx) => {
139183
+ const [result, apiCall] = await servingTenantsSet(client, args327.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138491
139184
  if (!result.ok) {
138492
139185
  return {
138493
139186
  content: [{ type: "text", text: result.error.message }],
@@ -138502,9 +139195,9 @@ Enable or disable serving for an organization and all of its teams. Disabling bl
138502
139195
 
138503
139196
  // src/funcs/servingVolumesCreate.ts
138504
139197
  function servingVolumesCreate(client, request, options) {
138505
- return new APIPromise($do333(client, request, options));
139198
+ return new APIPromise($do336(client, request, options));
138506
139199
  }
138507
- async function $do333(client, request, options) {
139200
+ async function $do336(client, request, options) {
138508
139201
  const parsed = safeParse4(request, (value) => CreateVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138509
139202
  if (!parsed.ok) {
138510
139203
  return [parsed, { status: "invalid" }];
@@ -138587,12 +139280,12 @@ var init_servingVolumesCreate = __esm(() => {
138587
139280
  });
138588
139281
 
138589
139282
  // src/mcp-server/tools/servingVolumesCreate.ts
138590
- var args324, tool$servingVolumesCreate;
139283
+ var args327, tool$servingVolumesCreate;
138591
139284
  var init_servingVolumesCreate2 = __esm(() => {
138592
139285
  init_servingVolumesCreate();
138593
139286
  init_operations();
138594
139287
  init_tools();
138595
- args324 = {
139288
+ args327 = {
138596
139289
  request: CreateVolumeRequest$inboundSchema
138597
139290
  };
138598
139291
  tool$servingVolumesCreate = {
@@ -138600,9 +139293,9 @@ var init_servingVolumesCreate2 = __esm(() => {
138600
139293
  description: `Create a volume
138601
139294
 
138602
139295
  Create a persistent volume for weights, datasets, or checkpoints.`,
138603
- args: args324,
138604
- tool: async (client, args325, ctx) => {
138605
- const [result, apiCall] = await servingVolumesCreate(client, args325.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139296
+ args: args327,
139297
+ tool: async (client, args328, ctx) => {
139298
+ const [result, apiCall] = await servingVolumesCreate(client, args328.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138606
139299
  if (!result.ok) {
138607
139300
  return {
138608
139301
  content: [{ type: "text", text: result.error.message }],
@@ -138617,9 +139310,9 @@ Create a persistent volume for weights, datasets, or checkpoints.`,
138617
139310
 
138618
139311
  // src/funcs/servingVolumesDelete.ts
138619
139312
  function servingVolumesDelete(client, request, options) {
138620
- return new APIPromise($do334(client, request, options));
139313
+ return new APIPromise($do337(client, request, options));
138621
139314
  }
138622
- async function $do334(client, request, options) {
139315
+ async function $do337(client, request, options) {
138623
139316
  const parsed = safeParse4(request, (value) => DeleteVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138624
139317
  if (!parsed.ok) {
138625
139318
  return [parsed, { status: "invalid" }];
@@ -138707,12 +139400,12 @@ var init_servingVolumesDelete = __esm(() => {
138707
139400
  });
138708
139401
 
138709
139402
  // src/mcp-server/tools/servingVolumesDelete.ts
138710
- var args325, tool$servingVolumesDelete;
139403
+ var args328, tool$servingVolumesDelete;
138711
139404
  var init_servingVolumesDelete2 = __esm(() => {
138712
139405
  init_servingVolumesDelete();
138713
139406
  init_operations();
138714
139407
  init_tools();
138715
- args325 = {
139408
+ args328 = {
138716
139409
  request: DeleteVolumeRequest$inboundSchema
138717
139410
  };
138718
139411
  tool$servingVolumesDelete = {
@@ -138720,9 +139413,9 @@ var init_servingVolumesDelete2 = __esm(() => {
138720
139413
  description: `Delete a volume
138721
139414
 
138722
139415
  Delete a volume and its contents.`,
138723
- args: args325,
138724
- tool: async (client, args326, ctx) => {
138725
- const [result, apiCall] = await servingVolumesDelete(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139416
+ args: args328,
139417
+ tool: async (client, args329, ctx) => {
139418
+ const [result, apiCall] = await servingVolumesDelete(client, args329.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138726
139419
  if (!result.ok) {
138727
139420
  return {
138728
139421
  content: [{ type: "text", text: result.error.message }],
@@ -138736,9 +139429,9 @@ Delete a volume and its contents.`,
138736
139429
 
138737
139430
  // src/funcs/servingVolumesGet.ts
138738
139431
  function servingVolumesGet(client, request, options) {
138739
- return new APIPromise($do335(client, request, options));
139432
+ return new APIPromise($do338(client, request, options));
138740
139433
  }
138741
- async function $do335(client, request, options) {
139434
+ async function $do338(client, request, options) {
138742
139435
  const parsed = safeParse4(request, (value) => GetVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138743
139436
  if (!parsed.ok) {
138744
139437
  return [parsed, { status: "invalid" }];
@@ -138826,12 +139519,12 @@ var init_servingVolumesGet = __esm(() => {
138826
139519
  });
138827
139520
 
138828
139521
  // src/mcp-server/tools/servingVolumesGet.ts
138829
- var args326, tool$servingVolumesGet;
139522
+ var args329, tool$servingVolumesGet;
138830
139523
  var init_servingVolumesGet2 = __esm(() => {
138831
139524
  init_servingVolumesGet();
138832
139525
  init_operations();
138833
139526
  init_tools();
138834
- args326 = {
139527
+ args329 = {
138835
139528
  request: GetVolumeRequest$inboundSchema
138836
139529
  };
138837
139530
  tool$servingVolumesGet = {
@@ -138839,9 +139532,9 @@ var init_servingVolumesGet2 = __esm(() => {
138839
139532
  description: `Get a volume
138840
139533
 
138841
139534
  Retrieve a volume.`,
138842
- args: args326,
138843
- tool: async (client, args327, ctx) => {
138844
- const [result, apiCall] = await servingVolumesGet(client, args327.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139535
+ args: args329,
139536
+ tool: async (client, args330, ctx) => {
139537
+ const [result, apiCall] = await servingVolumesGet(client, args330.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138845
139538
  if (!result.ok) {
138846
139539
  return {
138847
139540
  content: [{ type: "text", text: result.error.message }],
@@ -138856,9 +139549,9 @@ Retrieve a volume.`,
138856
139549
 
138857
139550
  // src/funcs/servingVolumesList.ts
138858
139551
  function servingVolumesList(client, request, options) {
138859
- return new APIPromise($do336(client, request, options));
139552
+ return new APIPromise($do339(client, request, options));
138860
139553
  }
138861
- async function $do336(client, request, options) {
139554
+ async function $do339(client, request, options) {
138862
139555
  const parsed = safeParse4(request, (value) => ListVolumesRequest$outboundSchema.parse(value), "Input validation failed");
138863
139556
  if (!parsed.ok) {
138864
139557
  return [parsed, { status: "invalid" }];
@@ -138945,12 +139638,12 @@ var init_servingVolumesList = __esm(() => {
138945
139638
  });
138946
139639
 
138947
139640
  // src/mcp-server/tools/servingVolumesList.ts
138948
- var args327, tool$servingVolumesList;
139641
+ var args330, tool$servingVolumesList;
138949
139642
  var init_servingVolumesList2 = __esm(() => {
138950
139643
  init_servingVolumesList();
138951
139644
  init_operations();
138952
139645
  init_tools();
138953
- args327 = {
139646
+ args330 = {
138954
139647
  request: ListVolumesRequest$inboundSchema
138955
139648
  };
138956
139649
  tool$servingVolumesList = {
@@ -138958,9 +139651,9 @@ var init_servingVolumesList2 = __esm(() => {
138958
139651
  description: `List volumes
138959
139652
 
138960
139653
  List your volumes.`,
138961
- args: args327,
138962
- tool: async (client, args328, ctx) => {
138963
- const [result, apiCall] = await servingVolumesList(client, args328.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139654
+ args: args330,
139655
+ tool: async (client, args331, ctx) => {
139656
+ const [result, apiCall] = await servingVolumesList(client, args331.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138964
139657
  if (!result.ok) {
138965
139658
  return {
138966
139659
  content: [{ type: "text", text: result.error.message }],
@@ -138975,9 +139668,9 @@ List your volumes.`,
138975
139668
 
138976
139669
  // src/funcs/usageCosts.ts
138977
139670
  function usageCosts(client, request, options) {
138978
- return new APIPromise($do337(client, request, options));
139671
+ return new APIPromise($do340(client, request, options));
138979
139672
  }
138980
- async function $do337(client, request, options) {
139673
+ async function $do340(client, request, options) {
138981
139674
  const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
138982
139675
  if (!parsed.ok) {
138983
139676
  return [parsed, { status: "invalid" }];
@@ -139060,12 +139753,12 @@ var init_usageCosts = __esm(() => {
139060
139753
  });
139061
139754
 
139062
139755
  // src/mcp-server/tools/usageCosts.ts
139063
- var args328, tool$usageCosts;
139756
+ var args331, tool$usageCosts;
139064
139757
  var init_usageCosts2 = __esm(() => {
139065
139758
  init_usageCosts();
139066
139759
  init_operations();
139067
139760
  init_tools();
139068
- args328 = {
139761
+ args331 = {
139069
139762
  request: GetCostsRequest$inboundSchema
139070
139763
  };
139071
139764
  tool$usageCosts = {
@@ -139073,9 +139766,9 @@ var init_usageCosts2 = __esm(() => {
139073
139766
  description: `Aggregate cost by dimension
139074
139767
 
139075
139768
  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.`,
139076
- args: args328,
139077
- tool: async (client, args329, ctx) => {
139078
- const [result, apiCall] = await usageCosts(client, args329.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139769
+ args: args331,
139770
+ tool: async (client, args332, ctx) => {
139771
+ const [result, apiCall] = await usageCosts(client, args332.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139079
139772
  if (!result.ok) {
139080
139773
  return {
139081
139774
  content: [{ type: "text", text: result.error.message }],
@@ -139090,9 +139783,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
139090
139783
 
139091
139784
  // src/funcs/usageSandbox.ts
139092
139785
  function usageSandbox(client, request, options) {
139093
- return new APIPromise($do338(client, request, options));
139786
+ return new APIPromise($do341(client, request, options));
139094
139787
  }
139095
- async function $do338(client, request, options) {
139788
+ async function $do341(client, request, options) {
139096
139789
  const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
139097
139790
  if (!parsed.ok) {
139098
139791
  return [parsed, { status: "invalid" }];
@@ -139183,12 +139876,12 @@ var init_usageSandbox = __esm(() => {
139183
139876
  });
139184
139877
 
139185
139878
  // src/mcp-server/tools/usageSandbox.ts
139186
- var args329, tool$usageSandbox;
139879
+ var args332, tool$usageSandbox;
139187
139880
  var init_usageSandbox2 = __esm(() => {
139188
139881
  init_usageSandbox();
139189
139882
  init_operations();
139190
139883
  init_tools();
139191
- args329 = {
139884
+ args332 = {
139192
139885
  request: GetSandboxUsageRequest$inboundSchema
139193
139886
  };
139194
139887
  tool$usageSandbox = {
@@ -139196,9 +139889,9 @@ var init_usageSandbox2 = __esm(() => {
139196
139889
  description: `Get Sandbox Usage
139197
139890
 
139198
139891
  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\`).`,
139199
- args: args329,
139200
- tool: async (client, args330, ctx) => {
139201
- const [result, apiCall] = await usageSandbox(client, args330.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139892
+ args: args332,
139893
+ tool: async (client, args333, ctx) => {
139894
+ const [result, apiCall] = await usageSandbox(client, args333.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139202
139895
  if (!result.ok) {
139203
139896
  return {
139204
139897
  content: [{ type: "text", text: result.error.message }],
@@ -139215,7 +139908,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
139215
139908
  function createMCPServer(deps) {
139216
139909
  const server = new McpServer({
139217
139910
  name: "SDK",
139218
- version: "0.51.15"
139911
+ version: "0.51.17"
139219
139912
  });
139220
139913
  const client = new SDKCore({
139221
139914
  bearerAuth: deps.bearerAuth,
@@ -139519,6 +140212,8 @@ function createMCPServer(deps) {
139519
140212
  tool(tool$authClusterAcceptInvite);
139520
140213
  tool(tool$authApiKeyGetJwtFromKey);
139521
140214
  tool(tool$servingAcceleratorsList);
140215
+ tool(tool$servingAcceleratorsGet);
140216
+ tool(tool$servingAcceleratorsAvailability);
139522
140217
  tool(tool$servingDeploymentsList);
139523
140218
  tool(tool$servingDeploymentsCreate);
139524
140219
  tool(tool$servingDeploymentsDelete);
@@ -139557,6 +140252,7 @@ function createMCPServer(deps) {
139557
140252
  tool(tool$servingSecretsList);
139558
140253
  tool(tool$servingSecretsCreate);
139559
140254
  tool(tool$servingSecretsDelete);
140255
+ tool(tool$servingSecretsGet);
139560
140256
  tool(tool$servingSpendGet);
139561
140257
  tool(tool$servingTenantsList);
139562
140258
  tool(tool$servingTenantsGet);
@@ -139861,6 +140557,8 @@ var init_server2 = __esm(() => {
139861
140557
  init_sandboxTerminate2();
139862
140558
  init_sandboxUploadArchive2();
139863
140559
  init_sandboxUploadFile2();
140560
+ init_servingAcceleratorsAvailability2();
140561
+ init_servingAcceleratorsGet2();
139864
140562
  init_servingAcceleratorsList2();
139865
140563
  init_servingDeploymentsCreate2();
139866
140564
  init_servingDeploymentsDelete2();
@@ -139899,6 +140597,7 @@ var init_server2 = __esm(() => {
139899
140597
  init_servingRecipesSetEnabled2();
139900
140598
  init_servingSecretsCreate2();
139901
140599
  init_servingSecretsDelete2();
140600
+ init_servingSecretsGet2();
139902
140601
  init_servingSecretsList2();
139903
140602
  init_servingSpendGet2();
139904
140603
  init_servingTenantsDeleteOrganization2();
@@ -141089,7 +141788,7 @@ var routes = rn({
141089
141788
  var app = Ve(routes, {
141090
141789
  name: "mcp",
141091
141790
  versionInfo: {
141092
- currentVersion: "0.51.15"
141791
+ currentVersion: "0.51.17"
141093
141792
  }
141094
141793
  });
141095
141794
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -141097,5 +141796,5 @@ export {
141097
141796
  app
141098
141797
  };
141099
141798
 
141100
- //# debugId=9A1DDB13BDE34BA164756E2164756E21
141799
+ //# debugId=548289B3A8B7757E64756E2164756E21
141101
141800
  //# sourceMappingURL=mcp-server.js.map