@meetkai/mka1 0.51.16 → 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 (245) hide show
  1. package/README.md +233 -227
  2. package/bin/mcp-server.js +1056 -544
  3. package/bin/mcp-server.js.map +25 -12
  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/lib/config.d.ts +2 -2
  13. package/dist/commonjs/lib/config.js +2 -2
  14. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  15. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  16. package/dist/commonjs/mcp-server/server.js +5 -1
  17. package/dist/commonjs/mcp-server/server.js.map +1 -1
  18. package/dist/commonjs/mcp-server/tools/servingAcceleratorsAvailability.d.ts +8 -0
  19. package/dist/commonjs/mcp-server/tools/servingAcceleratorsAvailability.d.ts.map +1 -0
  20. package/dist/commonjs/mcp-server/tools/servingAcceleratorsAvailability.js +64 -0
  21. package/dist/commonjs/mcp-server/tools/servingAcceleratorsAvailability.js.map +1 -0
  22. package/dist/commonjs/mcp-server/tools/servingAcceleratorsGet.d.ts +8 -0
  23. package/dist/commonjs/mcp-server/tools/servingAcceleratorsGet.d.ts.map +1 -0
  24. package/dist/commonjs/mcp-server/tools/servingAcceleratorsGet.js +64 -0
  25. package/dist/commonjs/mcp-server/tools/servingAcceleratorsGet.js.map +1 -0
  26. package/dist/commonjs/models/components/acceleratoravailability.d.ts +62 -0
  27. package/dist/commonjs/models/components/acceleratoravailability.d.ts.map +1 -0
  28. package/dist/commonjs/models/components/acceleratoravailability.js +102 -0
  29. package/dist/commonjs/models/components/acceleratoravailability.js.map +1 -0
  30. package/dist/commonjs/models/components/acceleratoravailabilitybucket.d.ts +39 -0
  31. package/dist/commonjs/models/components/acceleratoravailabilitybucket.d.ts.map +1 -0
  32. package/dist/commonjs/models/components/acceleratoravailabilitybucket.js +80 -0
  33. package/dist/commonjs/models/components/acceleratoravailabilitybucket.js.map +1 -0
  34. package/dist/commonjs/models/components/acceleratorhourofdayslot.d.ts +33 -0
  35. package/dist/commonjs/models/components/acceleratorhourofdayslot.d.ts.map +1 -0
  36. package/dist/commonjs/models/components/acceleratorhourofdayslot.js +71 -0
  37. package/dist/commonjs/models/components/acceleratorhourofdayslot.js.map +1 -0
  38. package/dist/commonjs/models/components/acceleratorprovideravailability.d.ts +23 -0
  39. package/dist/commonjs/models/components/acceleratorprovideravailability.d.ts.map +1 -0
  40. package/dist/commonjs/models/components/acceleratorprovideravailability.js +61 -0
  41. package/dist/commonjs/models/components/acceleratorprovideravailability.js.map +1 -0
  42. package/dist/commonjs/models/components/acceleratortype.d.ts +61 -3
  43. package/dist/commonjs/models/components/acceleratortype.d.ts.map +1 -1
  44. package/dist/commonjs/models/components/acceleratortype.js +37 -3
  45. package/dist/commonjs/models/components/acceleratortype.js.map +1 -1
  46. package/dist/commonjs/models/components/acceleratorworkloadaffinity.d.ts +29 -0
  47. package/dist/commonjs/models/components/acceleratorworkloadaffinity.d.ts.map +1 -0
  48. package/dist/commonjs/models/components/acceleratorworkloadaffinity.js +61 -0
  49. package/dist/commonjs/models/components/acceleratorworkloadaffinity.js.map +1 -0
  50. package/dist/commonjs/models/components/affinityrating.d.ts +19 -0
  51. package/dist/commonjs/models/components/affinityrating.d.ts.map +1 -0
  52. package/dist/commonjs/models/components/affinityrating.js +53 -0
  53. package/dist/commonjs/models/components/affinityrating.js.map +1 -0
  54. package/dist/commonjs/models/components/availabilitypriceband.d.ts +24 -0
  55. package/dist/commonjs/models/components/availabilitypriceband.d.ts.map +1 -0
  56. package/dist/commonjs/models/components/availabilitypriceband.js +62 -0
  57. package/dist/commonjs/models/components/availabilitypriceband.js.map +1 -0
  58. package/dist/commonjs/models/components/deployment.d.ts +10 -0
  59. package/dist/commonjs/models/components/deployment.d.ts.map +1 -1
  60. package/dist/commonjs/models/components/deployment.js +6 -0
  61. package/dist/commonjs/models/components/deployment.js.map +1 -1
  62. package/dist/commonjs/models/components/deploymentacceleratorspec.d.ts +5 -5
  63. package/dist/commonjs/models/components/deploymentacceleratorspec.d.ts.map +1 -1
  64. package/dist/commonjs/models/components/deploymentacceleratorspec.js +6 -6
  65. package/dist/commonjs/models/components/deploymentacceleratorspec.js.map +1 -1
  66. package/dist/commonjs/models/components/finetunejob.d.ts +10 -0
  67. package/dist/commonjs/models/components/finetunejob.d.ts.map +1 -1
  68. package/dist/commonjs/models/components/finetunejob.js +6 -0
  69. package/dist/commonjs/models/components/finetunejob.js.map +1 -1
  70. package/dist/commonjs/models/components/index.d.ts +7 -0
  71. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  72. package/dist/commonjs/models/components/index.js +7 -0
  73. package/dist/commonjs/models/components/index.js.map +1 -1
  74. package/dist/commonjs/models/operations/getaccelerator.d.ts +22 -0
  75. package/dist/commonjs/models/operations/getaccelerator.d.ts.map +1 -0
  76. package/dist/commonjs/models/operations/getaccelerator.js +69 -0
  77. package/dist/commonjs/models/operations/getaccelerator.js.map +1 -0
  78. package/dist/commonjs/models/operations/getacceleratoravailability.d.ts +44 -0
  79. package/dist/commonjs/models/operations/getacceleratoravailability.d.ts.map +1 -0
  80. package/dist/commonjs/models/operations/getacceleratoravailability.js +84 -0
  81. package/dist/commonjs/models/operations/getacceleratoravailability.js.map +1 -0
  82. package/dist/commonjs/models/operations/index.d.ts +2 -0
  83. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/index.js +2 -0
  85. package/dist/commonjs/models/operations/index.js.map +1 -1
  86. package/dist/commonjs/react-query/index.d.ts +2 -0
  87. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  88. package/dist/commonjs/react-query/index.js +2 -0
  89. package/dist/commonjs/react-query/index.js.map +1 -1
  90. package/dist/commonjs/react-query/servingAcceleratorsAvailability.core.d.ts +16 -0
  91. package/dist/commonjs/react-query/servingAcceleratorsAvailability.core.d.ts.map +1 -0
  92. package/dist/commonjs/react-query/servingAcceleratorsAvailability.core.js +37 -0
  93. package/dist/commonjs/react-query/servingAcceleratorsAvailability.core.js.map +1 -0
  94. package/dist/commonjs/react-query/servingAcceleratorsAvailability.d.ts +41 -0
  95. package/dist/commonjs/react-query/servingAcceleratorsAvailability.d.ts.map +1 -0
  96. package/dist/commonjs/react-query/servingAcceleratorsAvailability.js +65 -0
  97. package/dist/commonjs/react-query/servingAcceleratorsAvailability.js.map +1 -0
  98. package/dist/commonjs/react-query/servingAcceleratorsGet.core.d.ts +15 -0
  99. package/dist/commonjs/react-query/servingAcceleratorsGet.core.d.ts.map +1 -0
  100. package/dist/commonjs/react-query/servingAcceleratorsGet.core.js +36 -0
  101. package/dist/commonjs/react-query/servingAcceleratorsGet.core.js.map +1 -0
  102. package/dist/commonjs/react-query/servingAcceleratorsGet.d.ts +39 -0
  103. package/dist/commonjs/react-query/servingAcceleratorsGet.d.ts.map +1 -0
  104. package/dist/commonjs/react-query/servingAcceleratorsGet.js +60 -0
  105. package/dist/commonjs/react-query/servingAcceleratorsGet.js.map +1 -0
  106. package/dist/commonjs/sdk/accelerators.d.ts +14 -0
  107. package/dist/commonjs/sdk/accelerators.d.ts.map +1 -1
  108. package/dist/commonjs/sdk/accelerators.js +20 -0
  109. package/dist/commonjs/sdk/accelerators.js.map +1 -1
  110. package/dist/esm/funcs/servingAcceleratorsAvailability.d.ts +19 -0
  111. package/dist/esm/funcs/servingAcceleratorsAvailability.d.ts.map +1 -0
  112. package/dist/esm/funcs/servingAcceleratorsAvailability.js +104 -0
  113. package/dist/esm/funcs/servingAcceleratorsAvailability.js.map +1 -0
  114. package/dist/esm/funcs/servingAcceleratorsGet.d.ts +19 -0
  115. package/dist/esm/funcs/servingAcceleratorsGet.d.ts.map +1 -0
  116. package/dist/esm/funcs/servingAcceleratorsGet.js +100 -0
  117. package/dist/esm/funcs/servingAcceleratorsGet.js.map +1 -0
  118. package/dist/esm/lib/config.d.ts +2 -2
  119. package/dist/esm/lib/config.js +2 -2
  120. package/dist/esm/mcp-server/mcp-server.js +1 -1
  121. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  122. package/dist/esm/mcp-server/server.js +5 -1
  123. package/dist/esm/mcp-server/server.js.map +1 -1
  124. package/dist/esm/mcp-server/tools/servingAcceleratorsAvailability.d.ts +8 -0
  125. package/dist/esm/mcp-server/tools/servingAcceleratorsAvailability.d.ts.map +1 -0
  126. package/dist/esm/mcp-server/tools/servingAcceleratorsAvailability.js +28 -0
  127. package/dist/esm/mcp-server/tools/servingAcceleratorsAvailability.js.map +1 -0
  128. package/dist/esm/mcp-server/tools/servingAcceleratorsGet.d.ts +8 -0
  129. package/dist/esm/mcp-server/tools/servingAcceleratorsGet.d.ts.map +1 -0
  130. package/dist/esm/mcp-server/tools/servingAcceleratorsGet.js +28 -0
  131. package/dist/esm/mcp-server/tools/servingAcceleratorsGet.js.map +1 -0
  132. package/dist/esm/models/components/acceleratoravailability.d.ts +62 -0
  133. package/dist/esm/models/components/acceleratoravailability.d.ts.map +1 -0
  134. package/dist/esm/models/components/acceleratoravailability.js +64 -0
  135. package/dist/esm/models/components/acceleratoravailability.js.map +1 -0
  136. package/dist/esm/models/components/acceleratoravailabilitybucket.d.ts +39 -0
  137. package/dist/esm/models/components/acceleratoravailabilitybucket.d.ts.map +1 -0
  138. package/dist/esm/models/components/acceleratoravailabilitybucket.js +42 -0
  139. package/dist/esm/models/components/acceleratoravailabilitybucket.js.map +1 -0
  140. package/dist/esm/models/components/acceleratorhourofdayslot.d.ts +33 -0
  141. package/dist/esm/models/components/acceleratorhourofdayslot.d.ts.map +1 -0
  142. package/dist/esm/models/components/acceleratorhourofdayslot.js +33 -0
  143. package/dist/esm/models/components/acceleratorhourofdayslot.js.map +1 -0
  144. package/dist/esm/models/components/acceleratorprovideravailability.d.ts +23 -0
  145. package/dist/esm/models/components/acceleratorprovideravailability.d.ts.map +1 -0
  146. package/dist/esm/models/components/acceleratorprovideravailability.js +23 -0
  147. package/dist/esm/models/components/acceleratorprovideravailability.js.map +1 -0
  148. package/dist/esm/models/components/acceleratortype.d.ts +61 -3
  149. package/dist/esm/models/components/acceleratortype.d.ts.map +1 -1
  150. package/dist/esm/models/components/acceleratortype.js +36 -2
  151. package/dist/esm/models/components/acceleratortype.js.map +1 -1
  152. package/dist/esm/models/components/acceleratorworkloadaffinity.d.ts +29 -0
  153. package/dist/esm/models/components/acceleratorworkloadaffinity.d.ts.map +1 -0
  154. package/dist/esm/models/components/acceleratorworkloadaffinity.js +23 -0
  155. package/dist/esm/models/components/acceleratorworkloadaffinity.js.map +1 -0
  156. package/dist/esm/models/components/affinityrating.d.ts +19 -0
  157. package/dist/esm/models/components/affinityrating.d.ts.map +1 -0
  158. package/dist/esm/models/components/affinityrating.js +17 -0
  159. package/dist/esm/models/components/affinityrating.js.map +1 -0
  160. package/dist/esm/models/components/availabilitypriceband.d.ts +24 -0
  161. package/dist/esm/models/components/availabilitypriceband.d.ts.map +1 -0
  162. package/dist/esm/models/components/availabilitypriceband.js +24 -0
  163. package/dist/esm/models/components/availabilitypriceband.js.map +1 -0
  164. package/dist/esm/models/components/deployment.d.ts +10 -0
  165. package/dist/esm/models/components/deployment.d.ts.map +1 -1
  166. package/dist/esm/models/components/deployment.js +6 -0
  167. package/dist/esm/models/components/deployment.js.map +1 -1
  168. package/dist/esm/models/components/deploymentacceleratorspec.d.ts +5 -5
  169. package/dist/esm/models/components/deploymentacceleratorspec.d.ts.map +1 -1
  170. package/dist/esm/models/components/deploymentacceleratorspec.js +5 -5
  171. package/dist/esm/models/components/deploymentacceleratorspec.js.map +1 -1
  172. package/dist/esm/models/components/finetunejob.d.ts +10 -0
  173. package/dist/esm/models/components/finetunejob.d.ts.map +1 -1
  174. package/dist/esm/models/components/finetunejob.js +6 -0
  175. package/dist/esm/models/components/finetunejob.js.map +1 -1
  176. package/dist/esm/models/components/index.d.ts +7 -0
  177. package/dist/esm/models/components/index.d.ts.map +1 -1
  178. package/dist/esm/models/components/index.js +7 -0
  179. package/dist/esm/models/components/index.js.map +1 -1
  180. package/dist/esm/models/operations/getaccelerator.d.ts +22 -0
  181. package/dist/esm/models/operations/getaccelerator.d.ts.map +1 -0
  182. package/dist/esm/models/operations/getaccelerator.js +31 -0
  183. package/dist/esm/models/operations/getaccelerator.js.map +1 -0
  184. package/dist/esm/models/operations/getacceleratoravailability.d.ts +44 -0
  185. package/dist/esm/models/operations/getacceleratoravailability.d.ts.map +1 -0
  186. package/dist/esm/models/operations/getacceleratoravailability.js +46 -0
  187. package/dist/esm/models/operations/getacceleratoravailability.js.map +1 -0
  188. package/dist/esm/models/operations/index.d.ts +2 -0
  189. package/dist/esm/models/operations/index.d.ts.map +1 -1
  190. package/dist/esm/models/operations/index.js +2 -0
  191. package/dist/esm/models/operations/index.js.map +1 -1
  192. package/dist/esm/react-query/index.d.ts +2 -0
  193. package/dist/esm/react-query/index.d.ts.map +1 -1
  194. package/dist/esm/react-query/index.js +2 -0
  195. package/dist/esm/react-query/index.js.map +1 -1
  196. package/dist/esm/react-query/servingAcceleratorsAvailability.core.d.ts +16 -0
  197. package/dist/esm/react-query/servingAcceleratorsAvailability.core.d.ts.map +1 -0
  198. package/dist/esm/react-query/servingAcceleratorsAvailability.core.js +32 -0
  199. package/dist/esm/react-query/servingAcceleratorsAvailability.core.js.map +1 -0
  200. package/dist/esm/react-query/servingAcceleratorsAvailability.d.ts +41 -0
  201. package/dist/esm/react-query/servingAcceleratorsAvailability.d.ts.map +1 -0
  202. package/dist/esm/react-query/servingAcceleratorsAvailability.js +55 -0
  203. package/dist/esm/react-query/servingAcceleratorsAvailability.js.map +1 -0
  204. package/dist/esm/react-query/servingAcceleratorsGet.core.d.ts +15 -0
  205. package/dist/esm/react-query/servingAcceleratorsGet.core.d.ts.map +1 -0
  206. package/dist/esm/react-query/servingAcceleratorsGet.core.js +31 -0
  207. package/dist/esm/react-query/servingAcceleratorsGet.core.js.map +1 -0
  208. package/dist/esm/react-query/servingAcceleratorsGet.d.ts +39 -0
  209. package/dist/esm/react-query/servingAcceleratorsGet.d.ts.map +1 -0
  210. package/dist/esm/react-query/servingAcceleratorsGet.js +50 -0
  211. package/dist/esm/react-query/servingAcceleratorsGet.js.map +1 -0
  212. package/dist/esm/sdk/accelerators.d.ts +14 -0
  213. package/dist/esm/sdk/accelerators.d.ts.map +1 -1
  214. package/dist/esm/sdk/accelerators.js +20 -0
  215. package/dist/esm/sdk/accelerators.js.map +1 -1
  216. package/jsr.json +1 -1
  217. package/package.json +1 -1
  218. package/src/funcs/servingAcceleratorsAvailability.ts +205 -0
  219. package/src/funcs/servingAcceleratorsGet.ts +192 -0
  220. package/src/lib/config.ts +2 -2
  221. package/src/mcp-server/mcp-server.ts +1 -1
  222. package/src/mcp-server/server.ts +5 -1
  223. package/src/mcp-server/tools/servingAcceleratorsAvailability.ts +38 -0
  224. package/src/mcp-server/tools/servingAcceleratorsGet.ts +37 -0
  225. package/src/models/components/acceleratoravailability.ts +146 -0
  226. package/src/models/components/acceleratoravailabilitybucket.ts +103 -0
  227. package/src/models/components/acceleratorhourofdayslot.ts +80 -0
  228. package/src/models/components/acceleratorprovideravailability.ts +66 -0
  229. package/src/models/components/acceleratortype.ts +85 -5
  230. package/src/models/components/acceleratorworkloadaffinity.ts +71 -0
  231. package/src/models/components/affinityrating.ts +28 -0
  232. package/src/models/components/availabilitypriceband.ts +62 -0
  233. package/src/models/components/deployment.ts +16 -0
  234. package/src/models/components/deploymentacceleratorspec.ts +13 -10
  235. package/src/models/components/finetunejob.ts +16 -0
  236. package/src/models/components/index.ts +7 -0
  237. package/src/models/operations/getaccelerator.ts +67 -0
  238. package/src/models/operations/getacceleratoravailability.ts +97 -0
  239. package/src/models/operations/index.ts +2 -0
  240. package/src/react-query/index.ts +2 -0
  241. package/src/react-query/servingAcceleratorsAvailability.core.ts +81 -0
  242. package/src/react-query/servingAcceleratorsAvailability.ts +161 -0
  243. package/src/react-query/servingAcceleratorsGet.core.ts +76 -0
  244. package/src/react-query/servingAcceleratorsGet.ts +143 -0
  245. package/src/sdk/accelerators.ts +36 -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.16",
52879
+ sdkVersion: "0.51.17",
52880
52880
  genVersion: "2.918.4",
52881
- userAgent: "speakeasy-sdk/typescript 0.51.16 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
  });
@@ -77147,9 +77347,14 @@ var init_workspacemanifest = __esm(() => {
77147
77347
 
77148
77348
  // src/models/components/index.ts
77149
77349
  var init_components = __esm(() => {
77350
+ init_acceleratoravailability();
77351
+ init_acceleratoravailabilitybucket();
77352
+ init_acceleratorhourofdayslot();
77150
77353
  init_acceleratorpriceband();
77354
+ init_acceleratorprovideravailability();
77151
77355
  init_acceleratorspec();
77152
77356
  init_acceleratortype();
77357
+ init_acceleratorworkloadaffinity();
77153
77358
  init_accessentry();
77154
77359
  init_accesslistresponse();
77155
77360
  init_accessmutationrequest();
@@ -77158,6 +77363,7 @@ var init_components = __esm(() => {
77158
77363
  init_acquirability();
77159
77364
  init_activateregistryentryrequest();
77160
77365
  init_addcatalogmodelrequest();
77366
+ init_affinityrating();
77161
77367
  init_agent();
77162
77368
  init_agentcompactioncontextmanagement();
77163
77369
  init_agentconnector();
@@ -77178,6 +77384,7 @@ var init_components = __esm(() => {
77178
77384
  init_allowedtools();
77179
77385
  init_autochunkingstrategy();
77180
77386
  init_autoendpoint();
77387
+ init_availabilitypriceband();
77181
77388
  init_banwordsconfig();
77182
77389
  init_banwordsguardrail();
77183
77390
  init_batchendpoint();
@@ -88408,6 +88615,61 @@ var init_extractwithschema = __esm(() => {
88408
88615
  });
88409
88616
  });
88410
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
+
88411
88673
  // src/models/operations/getagent.ts
88412
88674
  var GetAgentRequest$inboundSchema, GetAgentRequest$outboundSchema;
88413
88675
  var init_getagent = __esm(() => {
@@ -99147,6 +99409,8 @@ var init_operations = __esm(() => {
99147
99409
  init_exportresponsefeedback();
99148
99410
  init_extract();
99149
99411
  init_extractwithschema();
99412
+ init_getaccelerator();
99413
+ init_getacceleratoravailability();
99150
99414
  init_getagent();
99151
99415
  init_getagentconnector();
99152
99416
  init_getagentrun();
@@ -133180,18 +133444,27 @@ Upload raw bytes into the session workspace at the given path.`,
133180
133444
  };
133181
133445
  });
133182
133446
 
133183
- // src/funcs/servingAcceleratorsList.ts
133184
- function servingAcceleratorsList(client, request, options) {
133447
+ // src/funcs/servingAcceleratorsAvailability.ts
133448
+ function servingAcceleratorsAvailability(client, request, options) {
133185
133449
  return new APIPromise($do288(client, request, options));
133186
133450
  }
133187
133451
  async function $do288(client, request, options) {
133188
- const parsed = safeParse4(request, (value) => ListAcceleratorsRequest$outboundSchema.parse(value), "Input validation failed");
133452
+ const parsed = safeParse4(request, (value) => GetAcceleratorAvailabilityRequest$outboundSchema.parse(value), "Input validation failed");
133189
133453
  if (!parsed.ok) {
133190
133454
  return [parsed, { status: "invalid" }];
133191
133455
  }
133192
133456
  const payload = parsed.value;
133193
133457
  const body = null;
133194
- const path = pathToFunc("/api/v1/serving/accelerators")();
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
+ });
133195
133468
  const headers = new Headers(compactMap({
133196
133469
  Accept: "application/json",
133197
133470
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -133202,7 +133475,7 @@ async function $do288(client, request, options) {
133202
133475
  const context = {
133203
133476
  options: client._options,
133204
133477
  baseURL: options?.serverURL ?? client._baseURL ?? "",
133205
- operationID: "listAccelerators",
133478
+ operationID: "getAcceleratorAvailability",
133206
133479
  oAuth2Scopes: null,
133207
133480
  resolvedSecurity: requestSecurity,
133208
133481
  securitySource: client._options.bearerAuth,
@@ -133224,6 +133497,7 @@ async function $do288(client, request, options) {
133224
133497
  baseURL: options?.serverURL,
133225
133498
  path,
133226
133499
  headers,
133500
+ query,
133227
133501
  body,
133228
133502
  userAgent: client._options.userAgent,
133229
133503
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -133245,13 +133519,13 @@ async function $do288(client, request, options) {
133245
133519
  const responseFields = {
133246
133520
  HttpMeta: { Response: response, Request: req }
133247
133521
  };
133248
- const [result] = await match(json(200, PageAcceleratorType$inboundSchema), jsonErr(403, ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
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 });
133249
133523
  if (!result.ok) {
133250
133524
  return [result, { status: "complete", request: req, response }];
133251
133525
  }
133252
133526
  return [result, { status: "complete", request: req, response }];
133253
133527
  }
133254
- var init_servingAcceleratorsList = __esm(() => {
133528
+ var init_servingAcceleratorsAvailability = __esm(() => {
133255
133529
  init_encodings();
133256
133530
  init_http();
133257
133531
  init_matchers();
@@ -133265,23 +133539,23 @@ var init_servingAcceleratorsList = __esm(() => {
133265
133539
  init_async();
133266
133540
  });
133267
133541
 
133268
- // src/mcp-server/tools/servingAcceleratorsList.ts
133269
- var args279, tool$servingAcceleratorsList;
133270
- var init_servingAcceleratorsList2 = __esm(() => {
133271
- init_servingAcceleratorsList();
133542
+ // src/mcp-server/tools/servingAcceleratorsAvailability.ts
133543
+ var args279, tool$servingAcceleratorsAvailability;
133544
+ var init_servingAcceleratorsAvailability2 = __esm(() => {
133545
+ init_servingAcceleratorsAvailability();
133272
133546
  init_operations();
133273
133547
  init_tools();
133274
133548
  args279 = {
133275
- request: ListAcceleratorsRequest$inboundSchema
133549
+ request: GetAcceleratorAvailabilityRequest$inboundSchema
133276
133550
  };
133277
- tool$servingAcceleratorsList = {
133278
- name: "serving-accelerators-list",
133279
- description: `List available accelerator types
133551
+ tool$servingAcceleratorsAvailability = {
133552
+ name: "serving-accelerators-availability",
133553
+ description: `Get accelerator availability history
133280
133554
 
133281
- List the accelerator types available to your organization (GPU, NPU, TPU).`,
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.`,
133282
133556
  args: args279,
133283
133557
  tool: async (client, args280, ctx) => {
133284
- const [result, apiCall] = await servingAcceleratorsList(client, args280.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133558
+ const [result, apiCall] = await servingAcceleratorsAvailability(client, args280.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133285
133559
  if (!result.ok) {
133286
133560
  return {
133287
133561
  content: [{ type: "text", text: result.error.message }],
@@ -133294,20 +133568,25 @@ List the accelerator types available to your organization (GPU, NPU, TPU).`,
133294
133568
  };
133295
133569
  });
133296
133570
 
133297
- // src/funcs/servingDeploymentsCreate.ts
133298
- function servingDeploymentsCreate(client, request, options) {
133571
+ // src/funcs/servingAcceleratorsGet.ts
133572
+ function servingAcceleratorsGet(client, request, options) {
133299
133573
  return new APIPromise($do289(client, request, options));
133300
133574
  }
133301
133575
  async function $do289(client, request, options) {
133302
- const parsed = safeParse4(request, (value) => CreateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133576
+ const parsed = safeParse4(request, (value) => GetAcceleratorRequest$outboundSchema.parse(value), "Input validation failed");
133303
133577
  if (!parsed.ok) {
133304
133578
  return [parsed, { status: "invalid" }];
133305
133579
  }
133306
133580
  const payload = parsed.value;
133307
- const body = encodeJSON("body", payload.DeploymentCreate, { explode: true });
133308
- const path = pathToFunc("/api/v1/serving/deployments")();
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);
133309
133589
  const headers = new Headers(compactMap({
133310
- "Content-Type": "application/json",
133311
133590
  Accept: "application/json",
133312
133591
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
133313
133592
  }));
@@ -133317,7 +133596,7 @@ async function $do289(client, request, options) {
133317
133596
  const context = {
133318
133597
  options: client._options,
133319
133598
  baseURL: options?.serverURL ?? client._baseURL ?? "",
133320
- operationID: "createDeployment",
133599
+ operationID: "getAccelerator",
133321
133600
  oAuth2Scopes: null,
133322
133601
  resolvedSecurity: requestSecurity,
133323
133602
  securitySource: client._options.bearerAuth,
@@ -133335,7 +133614,7 @@ async function $do289(client, request, options) {
133335
133614
  };
133336
133615
  const requestRes = client._createRequest(context, {
133337
133616
  security: requestSecurity,
133338
- method: "POST",
133617
+ method: "GET",
133339
133618
  baseURL: options?.serverURL,
133340
133619
  path,
133341
133620
  headers,
@@ -133360,13 +133639,13 @@ async function $do289(client, request, options) {
133360
133639
  const responseFields = {
133361
133640
  HttpMeta: { Response: response, Request: req }
133362
133641
  };
133363
- const [result] = await match(json(201, Deployment$inboundSchema), jsonErr([401, 403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
133642
+ const [result] = await match(json(200, AcceleratorType$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
133364
133643
  if (!result.ok) {
133365
133644
  return [result, { status: "complete", request: req, response }];
133366
133645
  }
133367
133646
  return [result, { status: "complete", request: req, response }];
133368
133647
  }
133369
- var init_servingDeploymentsCreate = __esm(() => {
133648
+ var init_servingAcceleratorsGet = __esm(() => {
133370
133649
  init_encodings();
133371
133650
  init_http();
133372
133651
  init_matchers();
@@ -133380,23 +133659,23 @@ var init_servingDeploymentsCreate = __esm(() => {
133380
133659
  init_async();
133381
133660
  });
133382
133661
 
133383
- // src/mcp-server/tools/servingDeploymentsCreate.ts
133384
- var args280, tool$servingDeploymentsCreate;
133385
- var init_servingDeploymentsCreate2 = __esm(() => {
133386
- init_servingDeploymentsCreate();
133662
+ // src/mcp-server/tools/servingAcceleratorsGet.ts
133663
+ var args280, tool$servingAcceleratorsGet;
133664
+ var init_servingAcceleratorsGet2 = __esm(() => {
133665
+ init_servingAcceleratorsGet();
133387
133666
  init_operations();
133388
133667
  init_tools();
133389
133668
  args280 = {
133390
- request: CreateDeploymentRequest$inboundSchema
133669
+ request: GetAcceleratorRequest$inboundSchema
133391
133670
  };
133392
- tool$servingDeploymentsCreate = {
133393
- name: "serving-deployments-create",
133394
- description: `Create an inference deployment
133671
+ tool$servingAcceleratorsGet = {
133672
+ name: "serving-accelerators-get",
133673
+ description: `Get an accelerator type
133395
133674
 
133396
- Create and start an inference deployment for a model, and return its endpoint.`,
133675
+ Retrieve one accelerator type from the curated catalog, including its workload affinity, placements, and live market fields when available.`,
133397
133676
  args: args280,
133398
133677
  tool: async (client, args281, ctx) => {
133399
- const [result, apiCall] = await servingDeploymentsCreate(client, args281.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133678
+ const [result, apiCall] = await servingAcceleratorsGet(client, args281.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133400
133679
  if (!result.ok) {
133401
133680
  return {
133402
133681
  content: [{ type: "text", text: result.error.message }],
@@ -133409,24 +133688,18 @@ Create and start an inference deployment for a model, and return its endpoint.`,
133409
133688
  };
133410
133689
  });
133411
133690
 
133412
- // src/funcs/servingDeploymentsDelete.ts
133413
- function servingDeploymentsDelete(client, request, options) {
133691
+ // src/funcs/servingAcceleratorsList.ts
133692
+ function servingAcceleratorsList(client, request, options) {
133414
133693
  return new APIPromise($do290(client, request, options));
133415
133694
  }
133416
133695
  async function $do290(client, request, options) {
133417
- const parsed = safeParse4(request, (value) => DeleteDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133696
+ const parsed = safeParse4(request, (value) => ListAcceleratorsRequest$outboundSchema.parse(value), "Input validation failed");
133418
133697
  if (!parsed.ok) {
133419
133698
  return [parsed, { status: "invalid" }];
133420
133699
  }
133421
133700
  const payload = parsed.value;
133422
133701
  const body = null;
133423
- const pathParams = {
133424
- deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
133425
- explode: false,
133426
- charEncoding: "percent"
133427
- })
133428
- };
133429
- const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}")(pathParams);
133702
+ const path = pathToFunc("/api/v1/serving/accelerators")();
133430
133703
  const headers = new Headers(compactMap({
133431
133704
  Accept: "application/json",
133432
133705
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -133437,7 +133710,7 @@ async function $do290(client, request, options) {
133437
133710
  const context = {
133438
133711
  options: client._options,
133439
133712
  baseURL: options?.serverURL ?? client._baseURL ?? "",
133440
- operationID: "deleteDeployment",
133713
+ operationID: "listAccelerators",
133441
133714
  oAuth2Scopes: null,
133442
133715
  resolvedSecurity: requestSecurity,
133443
133716
  securitySource: client._options.bearerAuth,
@@ -133455,7 +133728,7 @@ async function $do290(client, request, options) {
133455
133728
  };
133456
133729
  const requestRes = client._createRequest(context, {
133457
133730
  security: requestSecurity,
133458
- method: "DELETE",
133731
+ method: "GET",
133459
133732
  baseURL: options?.serverURL,
133460
133733
  path,
133461
133734
  headers,
@@ -133480,14 +133753,13 @@ async function $do290(client, request, options) {
133480
133753
  const responseFields = {
133481
133754
  HttpMeta: { Response: response, Request: req }
133482
133755
  };
133483
- const [result] = await match(nil(204, voidType()), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
133756
+ const [result] = await match(json(200, PageAcceleratorType$inboundSchema), jsonErr(403, ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
133484
133757
  if (!result.ok) {
133485
133758
  return [result, { status: "complete", request: req, response }];
133486
133759
  }
133487
133760
  return [result, { status: "complete", request: req, response }];
133488
133761
  }
133489
- var init_servingDeploymentsDelete = __esm(() => {
133490
- init_esm();
133762
+ var init_servingAcceleratorsList = __esm(() => {
133491
133763
  init_encodings();
133492
133764
  init_http();
133493
133765
  init_matchers();
@@ -133495,58 +133767,55 @@ var init_servingDeploymentsDelete = __esm(() => {
133495
133767
  init_schemas4();
133496
133768
  init_security();
133497
133769
  init_url();
133770
+ init_components();
133498
133771
  init_errors4();
133499
133772
  init_operations();
133500
133773
  init_async();
133501
133774
  });
133502
133775
 
133503
- // src/mcp-server/tools/servingDeploymentsDelete.ts
133504
- var args281, tool$servingDeploymentsDelete;
133505
- var init_servingDeploymentsDelete2 = __esm(() => {
133506
- init_servingDeploymentsDelete();
133776
+ // src/mcp-server/tools/servingAcceleratorsList.ts
133777
+ var args281, tool$servingAcceleratorsList;
133778
+ var init_servingAcceleratorsList2 = __esm(() => {
133779
+ init_servingAcceleratorsList();
133507
133780
  init_operations();
133508
133781
  init_tools();
133509
133782
  args281 = {
133510
- request: DeleteDeploymentRequest$inboundSchema
133783
+ request: ListAcceleratorsRequest$inboundSchema
133511
133784
  };
133512
- tool$servingDeploymentsDelete = {
133513
- name: "serving-deployments-delete",
133514
- description: `Tear down a deployment
133785
+ tool$servingAcceleratorsList = {
133786
+ name: "serving-accelerators-list",
133787
+ description: `List available accelerator types
133515
133788
 
133516
- Tear down a deployment and release its resources.`,
133789
+ List the accelerator types available to your organization (GPU, NPU, TPU).`,
133517
133790
  args: args281,
133518
133791
  tool: async (client, args282, ctx) => {
133519
- const [result, apiCall] = await servingDeploymentsDelete(client, args282.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133792
+ const [result, apiCall] = await servingAcceleratorsList(client, args282.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133520
133793
  if (!result.ok) {
133521
133794
  return {
133522
133795
  content: [{ type: "text", text: result.error.message }],
133523
133796
  isError: true
133524
133797
  };
133525
133798
  }
133526
- return formatResult(undefined, apiCall);
133799
+ const value = result.value;
133800
+ return formatResult(value, apiCall);
133527
133801
  }
133528
133802
  };
133529
133803
  });
133530
133804
 
133531
- // src/funcs/servingDeploymentsDeregister.ts
133532
- function servingDeploymentsDeregister(client, request, options) {
133805
+ // src/funcs/servingDeploymentsCreate.ts
133806
+ function servingDeploymentsCreate(client, request, options) {
133533
133807
  return new APIPromise($do291(client, request, options));
133534
133808
  }
133535
133809
  async function $do291(client, request, options) {
133536
- const parsed = safeParse4(request, (value) => DeregisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133810
+ const parsed = safeParse4(request, (value) => CreateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133537
133811
  if (!parsed.ok) {
133538
133812
  return [parsed, { status: "invalid" }];
133539
133813
  }
133540
133814
  const payload = parsed.value;
133541
- const body = null;
133542
- const pathParams = {
133543
- deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
133544
- explode: false,
133545
- charEncoding: "percent"
133546
- })
133547
- };
133548
- const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/registration")(pathParams);
133815
+ const body = encodeJSON("body", payload.DeploymentCreate, { explode: true });
133816
+ const path = pathToFunc("/api/v1/serving/deployments")();
133549
133817
  const headers = new Headers(compactMap({
133818
+ "Content-Type": "application/json",
133550
133819
  Accept: "application/json",
133551
133820
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
133552
133821
  }));
@@ -133556,7 +133825,7 @@ async function $do291(client, request, options) {
133556
133825
  const context = {
133557
133826
  options: client._options,
133558
133827
  baseURL: options?.serverURL ?? client._baseURL ?? "",
133559
- operationID: "deregisterDeployment",
133828
+ operationID: "createDeployment",
133560
133829
  oAuth2Scopes: null,
133561
133830
  resolvedSecurity: requestSecurity,
133562
133831
  securitySource: client._options.bearerAuth,
@@ -133574,7 +133843,7 @@ async function $do291(client, request, options) {
133574
133843
  };
133575
133844
  const requestRes = client._createRequest(context, {
133576
133845
  security: requestSecurity,
133577
- method: "DELETE",
133846
+ method: "POST",
133578
133847
  baseURL: options?.serverURL,
133579
133848
  path,
133580
133849
  headers,
@@ -133599,14 +133868,13 @@ async function $do291(client, request, options) {
133599
133868
  const responseFields = {
133600
133869
  HttpMeta: { Response: response, Request: req }
133601
133870
  };
133602
- const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
133871
+ const [result] = await match(json(201, Deployment$inboundSchema), jsonErr([401, 403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
133603
133872
  if (!result.ok) {
133604
133873
  return [result, { status: "complete", request: req, response }];
133605
133874
  }
133606
133875
  return [result, { status: "complete", request: req, response }];
133607
133876
  }
133608
- var init_servingDeploymentsDeregister = __esm(() => {
133609
- init_esm();
133877
+ var init_servingDeploymentsCreate = __esm(() => {
133610
133878
  init_encodings();
133611
133879
  init_http();
133612
133880
  init_matchers();
@@ -133614,45 +133882,47 @@ var init_servingDeploymentsDeregister = __esm(() => {
133614
133882
  init_schemas4();
133615
133883
  init_security();
133616
133884
  init_url();
133885
+ init_components();
133617
133886
  init_errors4();
133618
133887
  init_operations();
133619
133888
  init_async();
133620
133889
  });
133621
133890
 
133622
- // src/mcp-server/tools/servingDeploymentsDeregister.ts
133623
- var args282, tool$servingDeploymentsDeregister;
133624
- var init_servingDeploymentsDeregister2 = __esm(() => {
133625
- init_servingDeploymentsDeregister();
133891
+ // src/mcp-server/tools/servingDeploymentsCreate.ts
133892
+ var args282, tool$servingDeploymentsCreate;
133893
+ var init_servingDeploymentsCreate2 = __esm(() => {
133894
+ init_servingDeploymentsCreate();
133626
133895
  init_operations();
133627
133896
  init_tools();
133628
133897
  args282 = {
133629
- request: DeregisterDeploymentRequest$inboundSchema
133898
+ request: CreateDeploymentRequest$inboundSchema
133630
133899
  };
133631
- tool$servingDeploymentsDeregister = {
133632
- name: "serving-deployments-deregister",
133633
- description: `Deregister the model from the LLM gateway
133900
+ tool$servingDeploymentsCreate = {
133901
+ name: "serving-deployments-create",
133902
+ description: `Create an inference deployment
133634
133903
 
133635
- Withdraw the deployment's model from the LLM gateway registry: inference stops resolving, compute keeps running (re-register any time).`,
133904
+ Create and start an inference deployment for a model, and return its endpoint.`,
133636
133905
  args: args282,
133637
133906
  tool: async (client, args283, ctx) => {
133638
- const [result, apiCall] = await servingDeploymentsDeregister(client, args283.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133907
+ const [result, apiCall] = await servingDeploymentsCreate(client, args283.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133639
133908
  if (!result.ok) {
133640
133909
  return {
133641
133910
  content: [{ type: "text", text: result.error.message }],
133642
133911
  isError: true
133643
133912
  };
133644
133913
  }
133645
- return formatResult(undefined, apiCall);
133914
+ const value = result.value;
133915
+ return formatResult(value, apiCall);
133646
133916
  }
133647
133917
  };
133648
133918
  });
133649
133919
 
133650
- // src/funcs/servingDeploymentsGet.ts
133651
- function servingDeploymentsGet(client, request, options) {
133920
+ // src/funcs/servingDeploymentsDelete.ts
133921
+ function servingDeploymentsDelete(client, request, options) {
133652
133922
  return new APIPromise($do292(client, request, options));
133653
133923
  }
133654
133924
  async function $do292(client, request, options) {
133655
- const parsed = safeParse4(request, (value) => GetDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133925
+ const parsed = safeParse4(request, (value) => DeleteDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133656
133926
  if (!parsed.ok) {
133657
133927
  return [parsed, { status: "invalid" }];
133658
133928
  }
@@ -133675,7 +133945,7 @@ async function $do292(client, request, options) {
133675
133945
  const context = {
133676
133946
  options: client._options,
133677
133947
  baseURL: options?.serverURL ?? client._baseURL ?? "",
133678
- operationID: "getDeployment",
133948
+ operationID: "deleteDeployment",
133679
133949
  oAuth2Scopes: null,
133680
133950
  resolvedSecurity: requestSecurity,
133681
133951
  securitySource: client._options.bearerAuth,
@@ -133693,7 +133963,7 @@ async function $do292(client, request, options) {
133693
133963
  };
133694
133964
  const requestRes = client._createRequest(context, {
133695
133965
  security: requestSecurity,
133696
- method: "GET",
133966
+ method: "DELETE",
133697
133967
  baseURL: options?.serverURL,
133698
133968
  path,
133699
133969
  headers,
@@ -133718,13 +133988,14 @@ async function $do292(client, request, options) {
133718
133988
  const responseFields = {
133719
133989
  HttpMeta: { Response: response, Request: req }
133720
133990
  };
133721
- const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
133991
+ const [result] = await match(nil(204, voidType()), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
133722
133992
  if (!result.ok) {
133723
133993
  return [result, { status: "complete", request: req, response }];
133724
133994
  }
133725
133995
  return [result, { status: "complete", request: req, response }];
133726
133996
  }
133727
- var init_servingDeploymentsGet = __esm(() => {
133997
+ var init_servingDeploymentsDelete = __esm(() => {
133998
+ init_esm();
133728
133999
  init_encodings();
133729
134000
  init_http();
133730
134001
  init_matchers();
@@ -133732,47 +134003,45 @@ var init_servingDeploymentsGet = __esm(() => {
133732
134003
  init_schemas4();
133733
134004
  init_security();
133734
134005
  init_url();
133735
- init_components();
133736
134006
  init_errors4();
133737
134007
  init_operations();
133738
134008
  init_async();
133739
134009
  });
133740
134010
 
133741
- // src/mcp-server/tools/servingDeploymentsGet.ts
133742
- var args283, tool$servingDeploymentsGet;
133743
- var init_servingDeploymentsGet2 = __esm(() => {
133744
- init_servingDeploymentsGet();
134011
+ // src/mcp-server/tools/servingDeploymentsDelete.ts
134012
+ var args283, tool$servingDeploymentsDelete;
134013
+ var init_servingDeploymentsDelete2 = __esm(() => {
134014
+ init_servingDeploymentsDelete();
133745
134015
  init_operations();
133746
134016
  init_tools();
133747
134017
  args283 = {
133748
- request: GetDeploymentRequest$inboundSchema
134018
+ request: DeleteDeploymentRequest$inboundSchema
133749
134019
  };
133750
- tool$servingDeploymentsGet = {
133751
- name: "serving-deployments-get",
133752
- description: `Get a deployment
134020
+ tool$servingDeploymentsDelete = {
134021
+ name: "serving-deployments-delete",
134022
+ description: `Tear down a deployment
133753
134023
 
133754
- Retrieve a single deployment, including its status and endpoint URL.`,
134024
+ Tear down a deployment and release its resources.`,
133755
134025
  args: args283,
133756
134026
  tool: async (client, args284, ctx) => {
133757
- const [result, apiCall] = await servingDeploymentsGet(client, args284.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134027
+ const [result, apiCall] = await servingDeploymentsDelete(client, args284.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133758
134028
  if (!result.ok) {
133759
134029
  return {
133760
134030
  content: [{ type: "text", text: result.error.message }],
133761
134031
  isError: true
133762
134032
  };
133763
134033
  }
133764
- const value = result.value;
133765
- return formatResult(value, apiCall);
134034
+ return formatResult(undefined, apiCall);
133766
134035
  }
133767
134036
  };
133768
134037
  });
133769
134038
 
133770
- // src/funcs/servingDeploymentsGetLogs.ts
133771
- function servingDeploymentsGetLogs(client, request, options) {
134039
+ // src/funcs/servingDeploymentsDeregister.ts
134040
+ function servingDeploymentsDeregister(client, request, options) {
133772
134041
  return new APIPromise($do293(client, request, options));
133773
134042
  }
133774
134043
  async function $do293(client, request, options) {
133775
- const parsed = safeParse4(request, (value) => GetDeploymentLogsRequest$outboundSchema.parse(value), "Input validation failed");
134044
+ const parsed = safeParse4(request, (value) => DeregisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133776
134045
  if (!parsed.ok) {
133777
134046
  return [parsed, { status: "invalid" }];
133778
134047
  }
@@ -133784,10 +134053,7 @@ async function $do293(client, request, options) {
133784
134053
  charEncoding: "percent"
133785
134054
  })
133786
134055
  };
133787
- const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/logs")(pathParams);
133788
- const query = encodeFormQuery({
133789
- tail: payload.tail
133790
- });
134056
+ const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/registration")(pathParams);
133791
134057
  const headers = new Headers(compactMap({
133792
134058
  Accept: "application/json",
133793
134059
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -133798,7 +134064,7 @@ async function $do293(client, request, options) {
133798
134064
  const context = {
133799
134065
  options: client._options,
133800
134066
  baseURL: options?.serverURL ?? client._baseURL ?? "",
133801
- operationID: "getDeploymentLogs",
134067
+ operationID: "deregisterDeployment",
133802
134068
  oAuth2Scopes: null,
133803
134069
  resolvedSecurity: requestSecurity,
133804
134070
  securitySource: client._options.bearerAuth,
@@ -133816,11 +134082,10 @@ async function $do293(client, request, options) {
133816
134082
  };
133817
134083
  const requestRes = client._createRequest(context, {
133818
134084
  security: requestSecurity,
133819
- method: "GET",
134085
+ method: "DELETE",
133820
134086
  baseURL: options?.serverURL,
133821
134087
  path,
133822
134088
  headers,
133823
- query,
133824
134089
  body,
133825
134090
  userAgent: client._options.userAgent,
133826
134091
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -133842,13 +134107,13 @@ async function $do293(client, request, options) {
133842
134107
  const responseFields = {
133843
134108
  HttpMeta: { Response: response, Request: req }
133844
134109
  };
133845
- const [result] = await match(json(200, arrayType(LogLine$inboundSchema)), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134110
+ const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
133846
134111
  if (!result.ok) {
133847
134112
  return [result, { status: "complete", request: req, response }];
133848
134113
  }
133849
134114
  return [result, { status: "complete", request: req, response }];
133850
134115
  }
133851
- var init_servingDeploymentsGetLogs = __esm(() => {
134116
+ var init_servingDeploymentsDeregister = __esm(() => {
133852
134117
  init_esm();
133853
134118
  init_encodings();
133854
134119
  init_http();
@@ -133857,47 +134122,45 @@ var init_servingDeploymentsGetLogs = __esm(() => {
133857
134122
  init_schemas4();
133858
134123
  init_security();
133859
134124
  init_url();
133860
- init_components();
133861
134125
  init_errors4();
133862
134126
  init_operations();
133863
134127
  init_async();
133864
134128
  });
133865
134129
 
133866
- // src/mcp-server/tools/servingDeploymentsGetLogs.ts
133867
- var args284, tool$servingDeploymentsGetLogs;
133868
- var init_servingDeploymentsGetLogs2 = __esm(() => {
133869
- init_servingDeploymentsGetLogs();
134130
+ // src/mcp-server/tools/servingDeploymentsDeregister.ts
134131
+ var args284, tool$servingDeploymentsDeregister;
134132
+ var init_servingDeploymentsDeregister2 = __esm(() => {
134133
+ init_servingDeploymentsDeregister();
133870
134134
  init_operations();
133871
134135
  init_tools();
133872
134136
  args284 = {
133873
- request: GetDeploymentLogsRequest$inboundSchema
134137
+ request: DeregisterDeploymentRequest$inboundSchema
133874
134138
  };
133875
- tool$servingDeploymentsGetLogs = {
133876
- name: "serving-deployments-get-logs",
133877
- description: `Fetch deployment logs
134139
+ tool$servingDeploymentsDeregister = {
134140
+ name: "serving-deployments-deregister",
134141
+ description: `Deregister the model from the LLM gateway
133878
134142
 
133879
- Fetch recent log lines from a deployment's replicas.`,
134143
+ Withdraw the deployment's model from the LLM gateway registry: inference stops resolving, compute keeps running (re-register any time).`,
133880
134144
  args: args284,
133881
134145
  tool: async (client, args285, ctx) => {
133882
- const [result, apiCall] = await servingDeploymentsGetLogs(client, args285.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134146
+ const [result, apiCall] = await servingDeploymentsDeregister(client, args285.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
133883
134147
  if (!result.ok) {
133884
134148
  return {
133885
134149
  content: [{ type: "text", text: result.error.message }],
133886
134150
  isError: true
133887
134151
  };
133888
134152
  }
133889
- const value = result.value;
133890
- return formatResult(value, apiCall);
134153
+ return formatResult(undefined, apiCall);
133891
134154
  }
133892
134155
  };
133893
134156
  });
133894
134157
 
133895
- // src/funcs/servingDeploymentsGetMetrics.ts
133896
- function servingDeploymentsGetMetrics(client, request, options) {
134158
+ // src/funcs/servingDeploymentsGet.ts
134159
+ function servingDeploymentsGet(client, request, options) {
133897
134160
  return new APIPromise($do294(client, request, options));
133898
134161
  }
133899
134162
  async function $do294(client, request, options) {
133900
- const parsed = safeParse4(request, (value) => GetDeploymentMetricsRequest$outboundSchema.parse(value), "Input validation failed");
134163
+ const parsed = safeParse4(request, (value) => GetDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
133901
134164
  if (!parsed.ok) {
133902
134165
  return [parsed, { status: "invalid" }];
133903
134166
  }
@@ -133909,7 +134172,7 @@ async function $do294(client, request, options) {
133909
134172
  charEncoding: "percent"
133910
134173
  })
133911
134174
  };
133912
- const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/metrics")(pathParams);
134175
+ const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}")(pathParams);
133913
134176
  const headers = new Headers(compactMap({
133914
134177
  Accept: "application/json",
133915
134178
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -133920,7 +134183,7 @@ async function $do294(client, request, options) {
133920
134183
  const context = {
133921
134184
  options: client._options,
133922
134185
  baseURL: options?.serverURL ?? client._baseURL ?? "",
133923
- operationID: "getDeploymentMetrics",
134186
+ operationID: "getDeployment",
133924
134187
  oAuth2Scopes: null,
133925
134188
  resolvedSecurity: requestSecurity,
133926
134189
  securitySource: client._options.bearerAuth,
@@ -133963,13 +134226,13 @@ async function $do294(client, request, options) {
133963
134226
  const responseFields = {
133964
134227
  HttpMeta: { Response: response, Request: req }
133965
134228
  };
133966
- const [result] = await match(json(200, Metrics$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134229
+ const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
133967
134230
  if (!result.ok) {
133968
134231
  return [result, { status: "complete", request: req, response }];
133969
134232
  }
133970
134233
  return [result, { status: "complete", request: req, response }];
133971
134234
  }
133972
- var init_servingDeploymentsGetMetrics = __esm(() => {
134235
+ var init_servingDeploymentsGet = __esm(() => {
133973
134236
  init_encodings();
133974
134237
  init_http();
133975
134238
  init_matchers();
@@ -133983,23 +134246,23 @@ var init_servingDeploymentsGetMetrics = __esm(() => {
133983
134246
  init_async();
133984
134247
  });
133985
134248
 
133986
- // src/mcp-server/tools/servingDeploymentsGetMetrics.ts
133987
- var args285, tool$servingDeploymentsGetMetrics;
133988
- var init_servingDeploymentsGetMetrics2 = __esm(() => {
133989
- init_servingDeploymentsGetMetrics();
134249
+ // src/mcp-server/tools/servingDeploymentsGet.ts
134250
+ var args285, tool$servingDeploymentsGet;
134251
+ var init_servingDeploymentsGet2 = __esm(() => {
134252
+ init_servingDeploymentsGet();
133990
134253
  init_operations();
133991
134254
  init_tools();
133992
134255
  args285 = {
133993
- request: GetDeploymentMetricsRequest$inboundSchema
134256
+ request: GetDeploymentRequest$inboundSchema
133994
134257
  };
133995
- tool$servingDeploymentsGetMetrics = {
133996
- name: "serving-deployments-get-metrics",
133997
- description: `Live serving metrics
134258
+ tool$servingDeploymentsGet = {
134259
+ name: "serving-deployments-get",
134260
+ description: `Get a deployment
133998
134261
 
133999
- Return live serving metrics (throughput, queue depth, accelerator usage).`,
134262
+ Retrieve a single deployment, including its status and endpoint URL.`,
134000
134263
  args: args285,
134001
134264
  tool: async (client, args286, ctx) => {
134002
- const [result, apiCall] = await servingDeploymentsGetMetrics(client, args286.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134265
+ const [result, apiCall] = await servingDeploymentsGet(client, args286.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134003
134266
  if (!result.ok) {
134004
134267
  return {
134005
134268
  content: [{ type: "text", text: result.error.message }],
@@ -134012,21 +134275,26 @@ Return live serving metrics (throughput, queue depth, accelerator usage).`,
134012
134275
  };
134013
134276
  });
134014
134277
 
134015
- // src/funcs/servingDeploymentsList.ts
134016
- function servingDeploymentsList(client, request, options) {
134278
+ // src/funcs/servingDeploymentsGetLogs.ts
134279
+ function servingDeploymentsGetLogs(client, request, options) {
134017
134280
  return new APIPromise($do295(client, request, options));
134018
134281
  }
134019
134282
  async function $do295(client, request, options) {
134020
- const parsed = safeParse4(request, (value) => ListDeploymentsRequest$outboundSchema.parse(value), "Input validation failed");
134283
+ const parsed = safeParse4(request, (value) => GetDeploymentLogsRequest$outboundSchema.parse(value), "Input validation failed");
134021
134284
  if (!parsed.ok) {
134022
134285
  return [parsed, { status: "invalid" }];
134023
134286
  }
134024
134287
  const payload = parsed.value;
134025
134288
  const body = null;
134026
- const path = pathToFunc("/api/v1/serving/deployments")();
134289
+ const pathParams = {
134290
+ deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
134291
+ explode: false,
134292
+ charEncoding: "percent"
134293
+ })
134294
+ };
134295
+ const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/logs")(pathParams);
134027
134296
  const query = encodeFormQuery({
134028
- cursor: payload.cursor,
134029
- limit: payload.limit
134297
+ tail: payload.tail
134030
134298
  });
134031
134299
  const headers = new Headers(compactMap({
134032
134300
  Accept: "application/json",
@@ -134038,7 +134306,7 @@ async function $do295(client, request, options) {
134038
134306
  const context = {
134039
134307
  options: client._options,
134040
134308
  baseURL: options?.serverURL ?? client._baseURL ?? "",
134041
- operationID: "listDeployments",
134309
+ operationID: "getDeploymentLogs",
134042
134310
  oAuth2Scopes: null,
134043
134311
  resolvedSecurity: requestSecurity,
134044
134312
  securitySource: client._options.bearerAuth,
@@ -134082,13 +134350,14 @@ async function $do295(client, request, options) {
134082
134350
  const responseFields = {
134083
134351
  HttpMeta: { Response: response, Request: req }
134084
134352
  };
134085
- const [result] = await match(json(200, PageDeployment$inboundSchema), jsonErr([401, 403], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
134353
+ const [result] = await match(json(200, arrayType(LogLine$inboundSchema)), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134086
134354
  if (!result.ok) {
134087
134355
  return [result, { status: "complete", request: req, response }];
134088
134356
  }
134089
134357
  return [result, { status: "complete", request: req, response }];
134090
134358
  }
134091
- var init_servingDeploymentsList = __esm(() => {
134359
+ var init_servingDeploymentsGetLogs = __esm(() => {
134360
+ init_esm();
134092
134361
  init_encodings();
134093
134362
  init_http();
134094
134363
  init_matchers();
@@ -134102,23 +134371,23 @@ var init_servingDeploymentsList = __esm(() => {
134102
134371
  init_async();
134103
134372
  });
134104
134373
 
134105
- // src/mcp-server/tools/servingDeploymentsList.ts
134106
- var args286, tool$servingDeploymentsList;
134107
- var init_servingDeploymentsList2 = __esm(() => {
134108
- init_servingDeploymentsList();
134374
+ // src/mcp-server/tools/servingDeploymentsGetLogs.ts
134375
+ var args286, tool$servingDeploymentsGetLogs;
134376
+ var init_servingDeploymentsGetLogs2 = __esm(() => {
134377
+ init_servingDeploymentsGetLogs();
134109
134378
  init_operations();
134110
134379
  init_tools();
134111
134380
  args286 = {
134112
- request: ListDeploymentsRequest$inboundSchema
134381
+ request: GetDeploymentLogsRequest$inboundSchema
134113
134382
  };
134114
- tool$servingDeploymentsList = {
134115
- name: "serving-deployments-list",
134116
- description: `List deployments
134383
+ tool$servingDeploymentsGetLogs = {
134384
+ name: "serving-deployments-get-logs",
134385
+ description: `Fetch deployment logs
134117
134386
 
134118
- List your inference deployments.`,
134387
+ Fetch recent log lines from a deployment's replicas.`,
134119
134388
  args: args286,
134120
134389
  tool: async (client, args287, ctx) => {
134121
- const [result, apiCall] = await servingDeploymentsList(client, args287.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134390
+ const [result, apiCall] = await servingDeploymentsGetLogs(client, args287.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134122
134391
  if (!result.ok) {
134123
134392
  return {
134124
134393
  content: [{ type: "text", text: result.error.message }],
@@ -134131,12 +134400,12 @@ List your inference deployments.`,
134131
134400
  };
134132
134401
  });
134133
134402
 
134134
- // src/funcs/servingDeploymentsListReplicas.ts
134135
- function servingDeploymentsListReplicas(client, request, options) {
134403
+ // src/funcs/servingDeploymentsGetMetrics.ts
134404
+ function servingDeploymentsGetMetrics(client, request, options) {
134136
134405
  return new APIPromise($do296(client, request, options));
134137
134406
  }
134138
134407
  async function $do296(client, request, options) {
134139
- const parsed = safeParse4(request, (value) => ListReplicasRequest$outboundSchema.parse(value), "Input validation failed");
134408
+ const parsed = safeParse4(request, (value) => GetDeploymentMetricsRequest$outboundSchema.parse(value), "Input validation failed");
134140
134409
  if (!parsed.ok) {
134141
134410
  return [parsed, { status: "invalid" }];
134142
134411
  }
@@ -134148,7 +134417,7 @@ async function $do296(client, request, options) {
134148
134417
  charEncoding: "percent"
134149
134418
  })
134150
134419
  };
134151
- const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/replicas")(pathParams);
134420
+ const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/metrics")(pathParams);
134152
134421
  const headers = new Headers(compactMap({
134153
134422
  Accept: "application/json",
134154
134423
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -134159,7 +134428,7 @@ async function $do296(client, request, options) {
134159
134428
  const context = {
134160
134429
  options: client._options,
134161
134430
  baseURL: options?.serverURL ?? client._baseURL ?? "",
134162
- operationID: "listReplicas",
134431
+ operationID: "getDeploymentMetrics",
134163
134432
  oAuth2Scopes: null,
134164
134433
  resolvedSecurity: requestSecurity,
134165
134434
  securitySource: client._options.bearerAuth,
@@ -134202,13 +134471,13 @@ async function $do296(client, request, options) {
134202
134471
  const responseFields = {
134203
134472
  HttpMeta: { Response: response, Request: req }
134204
134473
  };
134205
- const [result] = await match(json(200, PageReplica$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134474
+ const [result] = await match(json(200, Metrics$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134206
134475
  if (!result.ok) {
134207
134476
  return [result, { status: "complete", request: req, response }];
134208
134477
  }
134209
134478
  return [result, { status: "complete", request: req, response }];
134210
134479
  }
134211
- var init_servingDeploymentsListReplicas = __esm(() => {
134480
+ var init_servingDeploymentsGetMetrics = __esm(() => {
134212
134481
  init_encodings();
134213
134482
  init_http();
134214
134483
  init_matchers();
@@ -134222,23 +134491,23 @@ var init_servingDeploymentsListReplicas = __esm(() => {
134222
134491
  init_async();
134223
134492
  });
134224
134493
 
134225
- // src/mcp-server/tools/servingDeploymentsListReplicas.ts
134226
- var args287, tool$servingDeploymentsListReplicas;
134227
- var init_servingDeploymentsListReplicas2 = __esm(() => {
134228
- init_servingDeploymentsListReplicas();
134494
+ // src/mcp-server/tools/servingDeploymentsGetMetrics.ts
134495
+ var args287, tool$servingDeploymentsGetMetrics;
134496
+ var init_servingDeploymentsGetMetrics2 = __esm(() => {
134497
+ init_servingDeploymentsGetMetrics();
134229
134498
  init_operations();
134230
134499
  init_tools();
134231
134500
  args287 = {
134232
- request: ListReplicasRequest$inboundSchema
134501
+ request: GetDeploymentMetricsRequest$inboundSchema
134233
134502
  };
134234
- tool$servingDeploymentsListReplicas = {
134235
- name: "serving-deployments-list-replicas",
134236
- description: `List running replicas
134503
+ tool$servingDeploymentsGetMetrics = {
134504
+ name: "serving-deployments-get-metrics",
134505
+ description: `Live serving metrics
134237
134506
 
134238
- List the replicas currently backing a deployment.`,
134507
+ Return live serving metrics (throughput, queue depth, accelerator usage).`,
134239
134508
  args: args287,
134240
134509
  tool: async (client, args288, ctx) => {
134241
- const [result, apiCall] = await servingDeploymentsListReplicas(client, args288.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134510
+ const [result, apiCall] = await servingDeploymentsGetMetrics(client, args288.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134242
134511
  if (!result.ok) {
134243
134512
  return {
134244
134513
  content: [{ type: "text", text: result.error.message }],
@@ -134251,24 +134520,22 @@ List the replicas currently backing a deployment.`,
134251
134520
  };
134252
134521
  });
134253
134522
 
134254
- // src/funcs/servingDeploymentsListRevisions.ts
134255
- function servingDeploymentsListRevisions(client, request, options) {
134523
+ // src/funcs/servingDeploymentsList.ts
134524
+ function servingDeploymentsList(client, request, options) {
134256
134525
  return new APIPromise($do297(client, request, options));
134257
134526
  }
134258
134527
  async function $do297(client, request, options) {
134259
- const parsed = safeParse4(request, (value) => ListRevisionsRequest$outboundSchema.parse(value), "Input validation failed");
134528
+ const parsed = safeParse4(request, (value) => ListDeploymentsRequest$outboundSchema.parse(value), "Input validation failed");
134260
134529
  if (!parsed.ok) {
134261
134530
  return [parsed, { status: "invalid" }];
134262
134531
  }
134263
134532
  const payload = parsed.value;
134264
134533
  const body = null;
134265
- const pathParams = {
134266
- deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
134267
- explode: false,
134268
- charEncoding: "percent"
134269
- })
134270
- };
134271
- const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/revisions")(pathParams);
134534
+ const path = pathToFunc("/api/v1/serving/deployments")();
134535
+ const query = encodeFormQuery({
134536
+ cursor: payload.cursor,
134537
+ limit: payload.limit
134538
+ });
134272
134539
  const headers = new Headers(compactMap({
134273
134540
  Accept: "application/json",
134274
134541
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -134279,7 +134546,7 @@ async function $do297(client, request, options) {
134279
134546
  const context = {
134280
134547
  options: client._options,
134281
134548
  baseURL: options?.serverURL ?? client._baseURL ?? "",
134282
- operationID: "listRevisions",
134549
+ operationID: "listDeployments",
134283
134550
  oAuth2Scopes: null,
134284
134551
  resolvedSecurity: requestSecurity,
134285
134552
  securitySource: client._options.bearerAuth,
@@ -134301,6 +134568,7 @@ async function $do297(client, request, options) {
134301
134568
  baseURL: options?.serverURL,
134302
134569
  path,
134303
134570
  headers,
134571
+ query,
134304
134572
  body,
134305
134573
  userAgent: client._options.userAgent,
134306
134574
  timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
@@ -134322,13 +134590,13 @@ async function $do297(client, request, options) {
134322
134590
  const responseFields = {
134323
134591
  HttpMeta: { Response: response, Request: req }
134324
134592
  };
134325
- const [result] = await match(json(200, PageRevision$inboundSchema), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
134593
+ const [result] = await match(json(200, PageDeployment$inboundSchema), jsonErr([401, 403], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
134326
134594
  if (!result.ok) {
134327
134595
  return [result, { status: "complete", request: req, response }];
134328
134596
  }
134329
134597
  return [result, { status: "complete", request: req, response }];
134330
134598
  }
134331
- var init_servingDeploymentsListRevisions = __esm(() => {
134599
+ var init_servingDeploymentsList = __esm(() => {
134332
134600
  init_encodings();
134333
134601
  init_http();
134334
134602
  init_matchers();
@@ -134342,23 +134610,23 @@ var init_servingDeploymentsListRevisions = __esm(() => {
134342
134610
  init_async();
134343
134611
  });
134344
134612
 
134345
- // src/mcp-server/tools/servingDeploymentsListRevisions.ts
134346
- var args288, tool$servingDeploymentsListRevisions;
134347
- var init_servingDeploymentsListRevisions2 = __esm(() => {
134348
- init_servingDeploymentsListRevisions();
134613
+ // src/mcp-server/tools/servingDeploymentsList.ts
134614
+ var args288, tool$servingDeploymentsList;
134615
+ var init_servingDeploymentsList2 = __esm(() => {
134616
+ init_servingDeploymentsList();
134349
134617
  init_operations();
134350
134618
  init_tools();
134351
134619
  args288 = {
134352
- request: ListRevisionsRequest$inboundSchema
134620
+ request: ListDeploymentsRequest$inboundSchema
134353
134621
  };
134354
- tool$servingDeploymentsListRevisions = {
134355
- name: "serving-deployments-list-revisions",
134356
- description: `List config revisions
134622
+ tool$servingDeploymentsList = {
134623
+ name: "serving-deployments-list",
134624
+ description: `List deployments
134357
134625
 
134358
- List a deployment's configuration revisions, most recent first.`,
134626
+ List your inference deployments.`,
134359
134627
  args: args288,
134360
134628
  tool: async (client, args289, ctx) => {
134361
- const [result, apiCall] = await servingDeploymentsListRevisions(client, args289.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134629
+ const [result, apiCall] = await servingDeploymentsList(client, args289.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134362
134630
  if (!result.ok) {
134363
134631
  return {
134364
134632
  content: [{ type: "text", text: result.error.message }],
@@ -134371,12 +134639,12 @@ List a deployment's configuration revisions, most recent first.`,
134371
134639
  };
134372
134640
  });
134373
134641
 
134374
- // src/funcs/servingDeploymentsRegister.ts
134375
- function servingDeploymentsRegister(client, request, options) {
134642
+ // src/funcs/servingDeploymentsListReplicas.ts
134643
+ function servingDeploymentsListReplicas(client, request, options) {
134376
134644
  return new APIPromise($do298(client, request, options));
134377
134645
  }
134378
134646
  async function $do298(client, request, options) {
134379
- const parsed = safeParse4(request, (value) => RegisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134647
+ const parsed = safeParse4(request, (value) => ListReplicasRequest$outboundSchema.parse(value), "Input validation failed");
134380
134648
  if (!parsed.ok) {
134381
134649
  return [parsed, { status: "invalid" }];
134382
134650
  }
@@ -134388,7 +134656,7 @@ async function $do298(client, request, options) {
134388
134656
  charEncoding: "percent"
134389
134657
  })
134390
134658
  };
134391
- const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/registration")(pathParams);
134659
+ const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/replicas")(pathParams);
134392
134660
  const headers = new Headers(compactMap({
134393
134661
  Accept: "application/json",
134394
134662
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
@@ -134399,7 +134667,7 @@ async function $do298(client, request, options) {
134399
134667
  const context = {
134400
134668
  options: client._options,
134401
134669
  baseURL: options?.serverURL ?? client._baseURL ?? "",
134402
- operationID: "registerDeployment",
134670
+ operationID: "listReplicas",
134403
134671
  oAuth2Scopes: null,
134404
134672
  resolvedSecurity: requestSecurity,
134405
134673
  securitySource: client._options.bearerAuth,
@@ -134417,7 +134685,7 @@ async function $do298(client, request, options) {
134417
134685
  };
134418
134686
  const requestRes = client._createRequest(context, {
134419
134687
  security: requestSecurity,
134420
- method: "POST",
134688
+ method: "GET",
134421
134689
  baseURL: options?.serverURL,
134422
134690
  path,
134423
134691
  headers,
@@ -134442,13 +134710,13 @@ async function $do298(client, request, options) {
134442
134710
  const responseFields = {
134443
134711
  HttpMeta: { Response: response, Request: req }
134444
134712
  };
134445
- const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134713
+ const [result] = await match(json(200, PageReplica$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134446
134714
  if (!result.ok) {
134447
134715
  return [result, { status: "complete", request: req, response }];
134448
134716
  }
134449
134717
  return [result, { status: "complete", request: req, response }];
134450
134718
  }
134451
- var init_servingDeploymentsRegister = __esm(() => {
134719
+ var init_servingDeploymentsListReplicas = __esm(() => {
134452
134720
  init_encodings();
134453
134721
  init_http();
134454
134722
  init_matchers();
@@ -134462,23 +134730,23 @@ var init_servingDeploymentsRegister = __esm(() => {
134462
134730
  init_async();
134463
134731
  });
134464
134732
 
134465
- // src/mcp-server/tools/servingDeploymentsRegister.ts
134466
- var args289, tool$servingDeploymentsRegister;
134467
- var init_servingDeploymentsRegister2 = __esm(() => {
134468
- init_servingDeploymentsRegister();
134733
+ // src/mcp-server/tools/servingDeploymentsListReplicas.ts
134734
+ var args289, tool$servingDeploymentsListReplicas;
134735
+ var init_servingDeploymentsListReplicas2 = __esm(() => {
134736
+ init_servingDeploymentsListReplicas();
134469
134737
  init_operations();
134470
134738
  init_tools();
134471
134739
  args289 = {
134472
- request: RegisterDeploymentRequest$inboundSchema
134740
+ request: ListReplicasRequest$inboundSchema
134473
134741
  };
134474
- tool$servingDeploymentsRegister = {
134475
- name: "serving-deployments-register",
134476
- description: `Register the model with the LLM gateway
134742
+ tool$servingDeploymentsListReplicas = {
134743
+ name: "serving-deployments-list-replicas",
134744
+ description: `List running replicas
134477
134745
 
134478
- 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.`,
134746
+ List the replicas currently backing a deployment.`,
134479
134747
  args: args289,
134480
134748
  tool: async (client, args290, ctx) => {
134481
- const [result, apiCall] = await servingDeploymentsRegister(client, args290.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134749
+ const [result, apiCall] = await servingDeploymentsListReplicas(client, args290.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134482
134750
  if (!result.ok) {
134483
134751
  return {
134484
134752
  content: [{ type: "text", text: result.error.message }],
@@ -134491,28 +134759,25 @@ Make the deployment's model available for inference: registers it in the LLM gat
134491
134759
  };
134492
134760
  });
134493
134761
 
134494
- // src/funcs/servingDeploymentsRollback.ts
134495
- function servingDeploymentsRollback(client, request, options) {
134762
+ // src/funcs/servingDeploymentsListRevisions.ts
134763
+ function servingDeploymentsListRevisions(client, request, options) {
134496
134764
  return new APIPromise($do299(client, request, options));
134497
134765
  }
134498
134766
  async function $do299(client, request, options) {
134499
- const parsed = safeParse4(request, (value) => RollbackDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134767
+ const parsed = safeParse4(request, (value) => ListRevisionsRequest$outboundSchema.parse(value), "Input validation failed");
134500
134768
  if (!parsed.ok) {
134501
134769
  return [parsed, { status: "invalid" }];
134502
134770
  }
134503
134771
  const payload = parsed.value;
134504
- const body = encodeJSON("body", payload.DeploymentRollbackRequest, {
134505
- explode: true
134506
- });
134772
+ const body = null;
134507
134773
  const pathParams = {
134508
134774
  deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
134509
134775
  explode: false,
134510
134776
  charEncoding: "percent"
134511
134777
  })
134512
134778
  };
134513
- const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/rollback")(pathParams);
134779
+ const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/revisions")(pathParams);
134514
134780
  const headers = new Headers(compactMap({
134515
- "Content-Type": "application/json",
134516
134781
  Accept: "application/json",
134517
134782
  "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
134518
134783
  }));
@@ -134522,7 +134787,7 @@ async function $do299(client, request, options) {
134522
134787
  const context = {
134523
134788
  options: client._options,
134524
134789
  baseURL: options?.serverURL ?? client._baseURL ?? "",
134525
- operationID: "rollbackDeployment",
134790
+ operationID: "listRevisions",
134526
134791
  oAuth2Scopes: null,
134527
134792
  resolvedSecurity: requestSecurity,
134528
134793
  securitySource: client._options.bearerAuth,
@@ -134540,7 +134805,250 @@ async function $do299(client, request, options) {
134540
134805
  };
134541
134806
  const requestRes = client._createRequest(context, {
134542
134807
  security: requestSecurity,
134543
- method: "POST",
134808
+ method: "GET",
134809
+ baseURL: options?.serverURL,
134810
+ path,
134811
+ headers,
134812
+ body,
134813
+ userAgent: client._options.userAgent,
134814
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
134815
+ }, options);
134816
+ if (!requestRes.ok) {
134817
+ return [requestRes, { status: "invalid" }];
134818
+ }
134819
+ const req = requestRes.value;
134820
+ const doResult = await client._do(req, {
134821
+ context,
134822
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
134823
+ retryConfig: context.retryConfig,
134824
+ retryCodes: context.retryCodes
134825
+ });
134826
+ if (!doResult.ok) {
134827
+ return [doResult, { status: "request-error", request: req }];
134828
+ }
134829
+ const response = doResult.value;
134830
+ const responseFields = {
134831
+ HttpMeta: { Response: response, Request: req }
134832
+ };
134833
+ const [result] = await match(json(200, PageRevision$inboundSchema), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
134834
+ if (!result.ok) {
134835
+ return [result, { status: "complete", request: req, response }];
134836
+ }
134837
+ return [result, { status: "complete", request: req, response }];
134838
+ }
134839
+ var init_servingDeploymentsListRevisions = __esm(() => {
134840
+ init_encodings();
134841
+ init_http();
134842
+ init_matchers();
134843
+ init_primitives();
134844
+ init_schemas4();
134845
+ init_security();
134846
+ init_url();
134847
+ init_components();
134848
+ init_errors4();
134849
+ init_operations();
134850
+ init_async();
134851
+ });
134852
+
134853
+ // src/mcp-server/tools/servingDeploymentsListRevisions.ts
134854
+ var args290, tool$servingDeploymentsListRevisions;
134855
+ var init_servingDeploymentsListRevisions2 = __esm(() => {
134856
+ init_servingDeploymentsListRevisions();
134857
+ init_operations();
134858
+ init_tools();
134859
+ args290 = {
134860
+ request: ListRevisionsRequest$inboundSchema
134861
+ };
134862
+ tool$servingDeploymentsListRevisions = {
134863
+ name: "serving-deployments-list-revisions",
134864
+ description: `List config revisions
134865
+
134866
+ List a deployment's configuration revisions, most recent first.`,
134867
+ args: args290,
134868
+ tool: async (client, args291, ctx) => {
134869
+ const [result, apiCall] = await servingDeploymentsListRevisions(client, args291.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134870
+ if (!result.ok) {
134871
+ return {
134872
+ content: [{ type: "text", text: result.error.message }],
134873
+ isError: true
134874
+ };
134875
+ }
134876
+ const value = result.value;
134877
+ return formatResult(value, apiCall);
134878
+ }
134879
+ };
134880
+ });
134881
+
134882
+ // src/funcs/servingDeploymentsRegister.ts
134883
+ function servingDeploymentsRegister(client, request, options) {
134884
+ return new APIPromise($do300(client, request, options));
134885
+ }
134886
+ async function $do300(client, request, options) {
134887
+ const parsed = safeParse4(request, (value) => RegisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134888
+ if (!parsed.ok) {
134889
+ return [parsed, { status: "invalid" }];
134890
+ }
134891
+ const payload = parsed.value;
134892
+ const body = null;
134893
+ const pathParams = {
134894
+ deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
134895
+ explode: false,
134896
+ charEncoding: "percent"
134897
+ })
134898
+ };
134899
+ const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/registration")(pathParams);
134900
+ const headers = new Headers(compactMap({
134901
+ Accept: "application/json",
134902
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
134903
+ }));
134904
+ const secConfig = await extractSecurity(client._options.bearerAuth);
134905
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
134906
+ const requestSecurity = resolveGlobalSecurity(securityInput);
134907
+ const context = {
134908
+ options: client._options,
134909
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
134910
+ operationID: "registerDeployment",
134911
+ oAuth2Scopes: null,
134912
+ resolvedSecurity: requestSecurity,
134913
+ securitySource: client._options.bearerAuth,
134914
+ retryConfig: options?.retries || client._options.retryConfig || {
134915
+ strategy: "backoff",
134916
+ backoff: {
134917
+ initialInterval: 500,
134918
+ maxInterval: 5000,
134919
+ exponent: 1.5,
134920
+ maxElapsedTime: 15000
134921
+ },
134922
+ retryConnectionErrors: true
134923
+ },
134924
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
134925
+ };
134926
+ const requestRes = client._createRequest(context, {
134927
+ security: requestSecurity,
134928
+ method: "POST",
134929
+ baseURL: options?.serverURL,
134930
+ path,
134931
+ headers,
134932
+ body,
134933
+ userAgent: client._options.userAgent,
134934
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
134935
+ }, options);
134936
+ if (!requestRes.ok) {
134937
+ return [requestRes, { status: "invalid" }];
134938
+ }
134939
+ const req = requestRes.value;
134940
+ const doResult = await client._do(req, {
134941
+ context,
134942
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
134943
+ retryConfig: context.retryConfig,
134944
+ retryCodes: context.retryCodes
134945
+ });
134946
+ if (!doResult.ok) {
134947
+ return [doResult, { status: "request-error", request: req }];
134948
+ }
134949
+ const response = doResult.value;
134950
+ const responseFields = {
134951
+ HttpMeta: { Response: response, Request: req }
134952
+ };
134953
+ const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134954
+ if (!result.ok) {
134955
+ return [result, { status: "complete", request: req, response }];
134956
+ }
134957
+ return [result, { status: "complete", request: req, response }];
134958
+ }
134959
+ var init_servingDeploymentsRegister = __esm(() => {
134960
+ init_encodings();
134961
+ init_http();
134962
+ init_matchers();
134963
+ init_primitives();
134964
+ init_schemas4();
134965
+ init_security();
134966
+ init_url();
134967
+ init_components();
134968
+ init_errors4();
134969
+ init_operations();
134970
+ init_async();
134971
+ });
134972
+
134973
+ // src/mcp-server/tools/servingDeploymentsRegister.ts
134974
+ var args291, tool$servingDeploymentsRegister;
134975
+ var init_servingDeploymentsRegister2 = __esm(() => {
134976
+ init_servingDeploymentsRegister();
134977
+ init_operations();
134978
+ init_tools();
134979
+ args291 = {
134980
+ request: RegisterDeploymentRequest$inboundSchema
134981
+ };
134982
+ tool$servingDeploymentsRegister = {
134983
+ name: "serving-deployments-register",
134984
+ description: `Register the model with the LLM gateway
134985
+
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.`,
134987
+ args: args291,
134988
+ tool: async (client, args292, ctx) => {
134989
+ const [result, apiCall] = await servingDeploymentsRegister(client, args292.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134990
+ if (!result.ok) {
134991
+ return {
134992
+ content: [{ type: "text", text: result.error.message }],
134993
+ isError: true
134994
+ };
134995
+ }
134996
+ const value = result.value;
134997
+ return formatResult(value, apiCall);
134998
+ }
134999
+ };
135000
+ });
135001
+
135002
+ // src/funcs/servingDeploymentsRollback.ts
135003
+ function servingDeploymentsRollback(client, request, options) {
135004
+ return new APIPromise($do301(client, request, options));
135005
+ }
135006
+ async function $do301(client, request, options) {
135007
+ const parsed = safeParse4(request, (value) => RollbackDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
135008
+ if (!parsed.ok) {
135009
+ return [parsed, { status: "invalid" }];
135010
+ }
135011
+ const payload = parsed.value;
135012
+ const body = encodeJSON("body", payload.DeploymentRollbackRequest, {
135013
+ explode: true
135014
+ });
135015
+ const pathParams = {
135016
+ deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
135017
+ explode: false,
135018
+ charEncoding: "percent"
135019
+ })
135020
+ };
135021
+ const path = pathToFunc("/api/v1/serving/deployments/{deployment_id}/rollback")(pathParams);
135022
+ const headers = new Headers(compactMap({
135023
+ "Content-Type": "application/json",
135024
+ Accept: "application/json",
135025
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
135026
+ }));
135027
+ const secConfig = await extractSecurity(client._options.bearerAuth);
135028
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
135029
+ const requestSecurity = resolveGlobalSecurity(securityInput);
135030
+ const context = {
135031
+ options: client._options,
135032
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
135033
+ operationID: "rollbackDeployment",
135034
+ oAuth2Scopes: null,
135035
+ resolvedSecurity: requestSecurity,
135036
+ securitySource: client._options.bearerAuth,
135037
+ retryConfig: options?.retries || client._options.retryConfig || {
135038
+ strategy: "backoff",
135039
+ backoff: {
135040
+ initialInterval: 500,
135041
+ maxInterval: 5000,
135042
+ exponent: 1.5,
135043
+ maxElapsedTime: 15000
135044
+ },
135045
+ retryConnectionErrors: true
135046
+ },
135047
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
135048
+ };
135049
+ const requestRes = client._createRequest(context, {
135050
+ security: requestSecurity,
135051
+ method: "POST",
134544
135052
  baseURL: options?.serverURL,
134545
135053
  path,
134546
135054
  headers,
@@ -134586,12 +135094,12 @@ var init_servingDeploymentsRollback = __esm(() => {
134586
135094
  });
134587
135095
 
134588
135096
  // src/mcp-server/tools/servingDeploymentsRollback.ts
134589
- var args290, tool$servingDeploymentsRollback;
135097
+ var args292, tool$servingDeploymentsRollback;
134590
135098
  var init_servingDeploymentsRollback2 = __esm(() => {
134591
135099
  init_servingDeploymentsRollback();
134592
135100
  init_operations();
134593
135101
  init_tools();
134594
- args290 = {
135102
+ args292 = {
134595
135103
  request: RollbackDeploymentRequest$inboundSchema
134596
135104
  };
134597
135105
  tool$servingDeploymentsRollback = {
@@ -134599,9 +135107,9 @@ var init_servingDeploymentsRollback2 = __esm(() => {
134599
135107
  description: `Roll back to a previous revision
134600
135108
 
134601
135109
  Roll a deployment back to a previous configuration revision.`,
134602
- args: args290,
134603
- tool: async (client, args291, ctx) => {
134604
- 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();
134605
135113
  if (!result.ok) {
134606
135114
  return {
134607
135115
  content: [{ type: "text", text: result.error.message }],
@@ -134616,9 +135124,9 @@ Roll a deployment back to a previous configuration revision.`,
134616
135124
 
134617
135125
  // src/funcs/servingDeploymentsUpdate.ts
134618
135126
  function servingDeploymentsUpdate(client, request, options) {
134619
- return new APIPromise($do300(client, request, options));
135127
+ return new APIPromise($do302(client, request, options));
134620
135128
  }
134621
- async function $do300(client, request, options) {
135129
+ async function $do302(client, request, options) {
134622
135130
  const parsed = safeParse4(request, (value) => UpdateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
134623
135131
  if (!parsed.ok) {
134624
135132
  return [parsed, { status: "invalid" }];
@@ -134707,12 +135215,12 @@ var init_servingDeploymentsUpdate = __esm(() => {
134707
135215
  });
134708
135216
 
134709
135217
  // src/mcp-server/tools/servingDeploymentsUpdate.ts
134710
- var args291, tool$servingDeploymentsUpdate;
135218
+ var args293, tool$servingDeploymentsUpdate;
134711
135219
  var init_servingDeploymentsUpdate2 = __esm(() => {
134712
135220
  init_servingDeploymentsUpdate();
134713
135221
  init_operations();
134714
135222
  init_tools();
134715
- args291 = {
135223
+ args293 = {
134716
135224
  request: UpdateDeploymentRequest$inboundSchema
134717
135225
  };
134718
135226
  tool$servingDeploymentsUpdate = {
@@ -134720,9 +135228,9 @@ var init_servingDeploymentsUpdate2 = __esm(() => {
134720
135228
  description: `Update a deployment (new revision)
134721
135229
 
134722
135230
  Update a deployment's configuration, rolling out a new revision.`,
134723
- args: args291,
134724
- tool: async (client, args292, ctx) => {
134725
- 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();
134726
135234
  if (!result.ok) {
134727
135235
  return {
134728
135236
  content: [{ type: "text", text: result.error.message }],
@@ -134737,9 +135245,9 @@ Update a deployment's configuration, rolling out a new revision.`,
134737
135245
 
134738
135246
  // src/funcs/servingDeploymentsUpdateScaling.ts
134739
135247
  function servingDeploymentsUpdateScaling(client, request, options) {
134740
- return new APIPromise($do301(client, request, options));
135248
+ return new APIPromise($do303(client, request, options));
134741
135249
  }
134742
- async function $do301(client, request, options) {
135250
+ async function $do303(client, request, options) {
134743
135251
  const parsed = safeParse4(request, (value) => UpdateScalingRequest$outboundSchema.parse(value), "Input validation failed");
134744
135252
  if (!parsed.ok) {
134745
135253
  return [parsed, { status: "invalid" }];
@@ -134830,12 +135338,12 @@ var init_servingDeploymentsUpdateScaling = __esm(() => {
134830
135338
  });
134831
135339
 
134832
135340
  // src/mcp-server/tools/servingDeploymentsUpdateScaling.ts
134833
- var args292, tool$servingDeploymentsUpdateScaling;
135341
+ var args294, tool$servingDeploymentsUpdateScaling;
134834
135342
  var init_servingDeploymentsUpdateScaling2 = __esm(() => {
134835
135343
  init_servingDeploymentsUpdateScaling();
134836
135344
  init_operations();
134837
135345
  init_tools();
134838
- args292 = {
135346
+ args294 = {
134839
135347
  request: UpdateScalingRequest$inboundSchema
134840
135348
  };
134841
135349
  tool$servingDeploymentsUpdateScaling = {
@@ -134843,9 +135351,9 @@ var init_servingDeploymentsUpdateScaling2 = __esm(() => {
134843
135351
  description: `Update autoscaling live (no redeploy)
134844
135352
 
134845
135353
  Change a deployment's autoscaling limits in place, without redeploying.`,
134846
- args: args292,
134847
- tool: async (client, args293, ctx) => {
134848
- 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();
134849
135357
  if (!result.ok) {
134850
135358
  return {
134851
135359
  content: [{ type: "text", text: result.error.message }],
@@ -134860,9 +135368,9 @@ Change a deployment's autoscaling limits in place, without redeploying.`,
134860
135368
 
134861
135369
  // src/funcs/servingEligibilityPreview.ts
134862
135370
  function servingEligibilityPreview(client, request, options) {
134863
- return new APIPromise($do302(client, request, options));
135371
+ return new APIPromise($do304(client, request, options));
134864
135372
  }
134865
- async function $do302(client, request, options) {
135373
+ async function $do304(client, request, options) {
134866
135374
  const parsed = safeParse4(request, (value) => PreviewEligibilityRequest$outboundSchema.parse(value), "Input validation failed");
134867
135375
  if (!parsed.ok) {
134868
135376
  return [parsed, { status: "invalid" }];
@@ -134947,12 +135455,12 @@ var init_servingEligibilityPreview = __esm(() => {
134947
135455
  });
134948
135456
 
134949
135457
  // src/mcp-server/tools/servingEligibilityPreview.ts
134950
- var args293, tool$servingEligibilityPreview;
135458
+ var args295, tool$servingEligibilityPreview;
134951
135459
  var init_servingEligibilityPreview2 = __esm(() => {
134952
135460
  init_servingEligibilityPreview();
134953
135461
  init_operations();
134954
135462
  init_tools();
134955
- args293 = {
135463
+ args295 = {
134956
135464
  request: PreviewEligibilityRequest$inboundSchema
134957
135465
  };
134958
135466
  tool$servingEligibilityPreview = {
@@ -134960,9 +135468,9 @@ var init_servingEligibilityPreview2 = __esm(() => {
134960
135468
  description: `Preview accelerator eligibility
134961
135469
 
134962
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.`,
134963
- args: args293,
134964
- tool: async (client, args294, ctx) => {
134965
- 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();
134966
135474
  if (!result.ok) {
134967
135475
  return {
134968
135476
  content: [{ type: "text", text: result.error.message }],
@@ -134977,9 +135485,9 @@ Preview, before submitting a job or deployment, how much matching capacity the c
134977
135485
 
134978
135486
  // src/funcs/servingFinetuneJobsCancel.ts
134979
135487
  function servingFinetuneJobsCancel(client, request, options) {
134980
- return new APIPromise($do303(client, request, options));
135488
+ return new APIPromise($do305(client, request, options));
134981
135489
  }
134982
- async function $do303(client, request, options) {
135490
+ async function $do305(client, request, options) {
134983
135491
  const parsed = safeParse4(request, (value) => CancelFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
134984
135492
  if (!parsed.ok) {
134985
135493
  return [parsed, { status: "invalid" }];
@@ -135067,12 +135575,12 @@ var init_servingFinetuneJobsCancel = __esm(() => {
135067
135575
  });
135068
135576
 
135069
135577
  // src/mcp-server/tools/servingFinetuneJobsCancel.ts
135070
- var args294, tool$servingFinetuneJobsCancel;
135578
+ var args296, tool$servingFinetuneJobsCancel;
135071
135579
  var init_servingFinetuneJobsCancel2 = __esm(() => {
135072
135580
  init_servingFinetuneJobsCancel();
135073
135581
  init_operations();
135074
135582
  init_tools();
135075
- args294 = {
135583
+ args296 = {
135076
135584
  request: CancelFinetuneJobRequest$inboundSchema
135077
135585
  };
135078
135586
  tool$servingFinetuneJobsCancel = {
@@ -135080,9 +135588,9 @@ var init_servingFinetuneJobsCancel2 = __esm(() => {
135080
135588
  description: `Cancel a fine-tune job
135081
135589
 
135082
135590
  Cancel a running fine-tune job.`,
135083
- args: args294,
135084
- tool: async (client, args295, ctx) => {
135085
- 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();
135086
135594
  if (!result.ok) {
135087
135595
  return {
135088
135596
  content: [{ type: "text", text: result.error.message }],
@@ -135096,9 +135604,9 @@ Cancel a running fine-tune job.`,
135096
135604
 
135097
135605
  // src/funcs/servingFinetuneJobsCreate.ts
135098
135606
  function servingFinetuneJobsCreate(client, request, options) {
135099
- return new APIPromise($do304(client, request, options));
135607
+ return new APIPromise($do306(client, request, options));
135100
135608
  }
135101
- async function $do304(client, request, options) {
135609
+ async function $do306(client, request, options) {
135102
135610
  const parsed = safeParse4(request, (value) => CreateFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
135103
135611
  if (!parsed.ok) {
135104
135612
  return [parsed, { status: "invalid" }];
@@ -135181,12 +135689,12 @@ var init_servingFinetuneJobsCreate = __esm(() => {
135181
135689
  });
135182
135690
 
135183
135691
  // src/mcp-server/tools/servingFinetuneJobsCreate.ts
135184
- var args295, tool$servingFinetuneJobsCreate;
135692
+ var args297, tool$servingFinetuneJobsCreate;
135185
135693
  var init_servingFinetuneJobsCreate2 = __esm(() => {
135186
135694
  init_servingFinetuneJobsCreate();
135187
135695
  init_operations();
135188
135696
  init_tools();
135189
- args295 = {
135697
+ args297 = {
135190
135698
  request: CreateFinetuneJobRequest$inboundSchema
135191
135699
  };
135192
135700
  tool$servingFinetuneJobsCreate = {
@@ -135194,9 +135702,9 @@ var init_servingFinetuneJobsCreate2 = __esm(() => {
135194
135702
  description: `Submit a fine-tune job
135195
135703
 
135196
135704
  Submit a fine-tune job for a base model and dataset, and return its id.`,
135197
- args: args295,
135198
- tool: async (client, args296, ctx) => {
135199
- 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();
135200
135708
  if (!result.ok) {
135201
135709
  return {
135202
135710
  content: [{ type: "text", text: result.error.message }],
@@ -135211,9 +135719,9 @@ Submit a fine-tune job for a base model and dataset, and return its id.`,
135211
135719
 
135212
135720
  // src/funcs/servingFinetuneJobsGet.ts
135213
135721
  function servingFinetuneJobsGet(client, request, options) {
135214
- return new APIPromise($do305(client, request, options));
135722
+ return new APIPromise($do307(client, request, options));
135215
135723
  }
135216
- async function $do305(client, request, options) {
135724
+ async function $do307(client, request, options) {
135217
135725
  const parsed = safeParse4(request, (value) => GetFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
135218
135726
  if (!parsed.ok) {
135219
135727
  return [parsed, { status: "invalid" }];
@@ -135301,12 +135809,12 @@ var init_servingFinetuneJobsGet = __esm(() => {
135301
135809
  });
135302
135810
 
135303
135811
  // src/mcp-server/tools/servingFinetuneJobsGet.ts
135304
- var args296, tool$servingFinetuneJobsGet;
135812
+ var args298, tool$servingFinetuneJobsGet;
135305
135813
  var init_servingFinetuneJobsGet2 = __esm(() => {
135306
135814
  init_servingFinetuneJobsGet();
135307
135815
  init_operations();
135308
135816
  init_tools();
135309
- args296 = {
135817
+ args298 = {
135310
135818
  request: GetFinetuneJobRequest$inboundSchema
135311
135819
  };
135312
135820
  tool$servingFinetuneJobsGet = {
@@ -135314,9 +135822,9 @@ var init_servingFinetuneJobsGet2 = __esm(() => {
135314
135822
  description: `Get a fine-tune job
135315
135823
 
135316
135824
  Retrieve a fine-tune job, including its status and progress.`,
135317
- args: args296,
135318
- tool: async (client, args297, ctx) => {
135319
- 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();
135320
135828
  if (!result.ok) {
135321
135829
  return {
135322
135830
  content: [{ type: "text", text: result.error.message }],
@@ -135331,9 +135839,9 @@ Retrieve a fine-tune job, including its status and progress.`,
135331
135839
 
135332
135840
  // src/funcs/servingFinetuneJobsGetEvents.ts
135333
135841
  function servingFinetuneJobsGetEvents(client, request, options) {
135334
- return new APIPromise($do306(client, request, options));
135842
+ return new APIPromise($do308(client, request, options));
135335
135843
  }
135336
- async function $do306(client, request, options) {
135844
+ async function $do308(client, request, options) {
135337
135845
  const parsed = safeParse4(request, (value) => GetFinetuneEventsRequest$outboundSchema.parse(value), "Input validation failed");
135338
135846
  if (!parsed.ok) {
135339
135847
  return [parsed, { status: "invalid" }];
@@ -135426,12 +135934,12 @@ var init_servingFinetuneJobsGetEvents = __esm(() => {
135426
135934
  });
135427
135935
 
135428
135936
  // src/mcp-server/tools/servingFinetuneJobsGetEvents.ts
135429
- var args297, tool$servingFinetuneJobsGetEvents;
135937
+ var args299, tool$servingFinetuneJobsGetEvents;
135430
135938
  var init_servingFinetuneJobsGetEvents2 = __esm(() => {
135431
135939
  init_servingFinetuneJobsGetEvents();
135432
135940
  init_operations();
135433
135941
  init_tools();
135434
- args297 = {
135942
+ args299 = {
135435
135943
  request: GetFinetuneEventsRequest$inboundSchema
135436
135944
  };
135437
135945
  tool$servingFinetuneJobsGetEvents = {
@@ -135439,9 +135947,9 @@ var init_servingFinetuneJobsGetEvents2 = __esm(() => {
135439
135947
  description: `Status timeline
135440
135948
 
135441
135949
  Return the job's status timeline (queued, running, checkpoints, completion).`,
135442
- args: args297,
135443
- tool: async (client, args298, ctx) => {
135444
- 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();
135445
135953
  if (!result.ok) {
135446
135954
  return {
135447
135955
  content: [{ type: "text", text: result.error.message }],
@@ -135456,9 +135964,9 @@ Return the job's status timeline (queued, running, checkpoints, completion).`,
135456
135964
 
135457
135965
  // src/funcs/servingFinetuneJobsGetLogs.ts
135458
135966
  function servingFinetuneJobsGetLogs(client, request, options) {
135459
- return new APIPromise($do307(client, request, options));
135967
+ return new APIPromise($do309(client, request, options));
135460
135968
  }
135461
- async function $do307(client, request, options) {
135969
+ async function $do309(client, request, options) {
135462
135970
  const parsed = safeParse4(request, (value) => GetFinetuneLogsRequest$outboundSchema.parse(value), "Input validation failed");
135463
135971
  if (!parsed.ok) {
135464
135972
  return [parsed, { status: "invalid" }];
@@ -135551,12 +136059,12 @@ var init_servingFinetuneJobsGetLogs = __esm(() => {
135551
136059
  });
135552
136060
 
135553
136061
  // src/mcp-server/tools/servingFinetuneJobsGetLogs.ts
135554
- var args298, tool$servingFinetuneJobsGetLogs;
136062
+ var args300, tool$servingFinetuneJobsGetLogs;
135555
136063
  var init_servingFinetuneJobsGetLogs2 = __esm(() => {
135556
136064
  init_servingFinetuneJobsGetLogs();
135557
136065
  init_operations();
135558
136066
  init_tools();
135559
- args298 = {
136067
+ args300 = {
135560
136068
  request: GetFinetuneLogsRequest$inboundSchema
135561
136069
  };
135562
136070
  tool$servingFinetuneJobsGetLogs = {
@@ -135564,9 +136072,9 @@ var init_servingFinetuneJobsGetLogs2 = __esm(() => {
135564
136072
  description: `Fetch training logs
135565
136073
 
135566
136074
  Fetch recent training log lines for a job.`,
135567
- args: args298,
135568
- tool: async (client, args299, ctx) => {
135569
- 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();
135570
136078
  if (!result.ok) {
135571
136079
  return {
135572
136080
  content: [{ type: "text", text: result.error.message }],
@@ -135581,9 +136089,9 @@ Fetch recent training log lines for a job.`,
135581
136089
 
135582
136090
  // src/funcs/servingFinetuneJobsGetMetrics.ts
135583
136091
  function servingFinetuneJobsGetMetrics(client, request, options) {
135584
- return new APIPromise($do308(client, request, options));
136092
+ return new APIPromise($do310(client, request, options));
135585
136093
  }
135586
- async function $do308(client, request, options) {
136094
+ async function $do310(client, request, options) {
135587
136095
  const parsed = safeParse4(request, (value) => GetFinetuneMetricsRequest$outboundSchema.parse(value), "Input validation failed");
135588
136096
  if (!parsed.ok) {
135589
136097
  return [parsed, { status: "invalid" }];
@@ -135672,12 +136180,12 @@ var init_servingFinetuneJobsGetMetrics = __esm(() => {
135672
136180
  });
135673
136181
 
135674
136182
  // src/mcp-server/tools/servingFinetuneJobsGetMetrics.ts
135675
- var args299, tool$servingFinetuneJobsGetMetrics;
136183
+ var args301, tool$servingFinetuneJobsGetMetrics;
135676
136184
  var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
135677
136185
  init_servingFinetuneJobsGetMetrics();
135678
136186
  init_operations();
135679
136187
  init_tools();
135680
- args299 = {
136188
+ args301 = {
135681
136189
  request: GetFinetuneMetricsRequest$inboundSchema
135682
136190
  };
135683
136191
  tool$servingFinetuneJobsGetMetrics = {
@@ -135685,9 +136193,9 @@ var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
135685
136193
  description: `Training metrics
135686
136194
 
135687
136195
  Return the training metric series (loss, learning rate, ...) pushed by the training run.`,
135688
- args: args299,
135689
- tool: async (client, args300, ctx) => {
135690
- 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();
135691
136199
  if (!result.ok) {
135692
136200
  return {
135693
136201
  content: [{ type: "text", text: result.error.message }],
@@ -135702,9 +136210,9 @@ Return the training metric series (loss, learning rate, ...) pushed by the train
135702
136210
 
135703
136211
  // src/funcs/servingFinetuneJobsList.ts
135704
136212
  function servingFinetuneJobsList(client, request, options) {
135705
- return new APIPromise($do309(client, request, options));
136213
+ return new APIPromise($do311(client, request, options));
135706
136214
  }
135707
- async function $do309(client, request, options) {
136215
+ async function $do311(client, request, options) {
135708
136216
  const parsed = safeParse4(request, (value) => ListFinetuneJobsRequest$outboundSchema.parse(value), "Input validation failed");
135709
136217
  if (!parsed.ok) {
135710
136218
  return [parsed, { status: "invalid" }];
@@ -135791,12 +136299,12 @@ var init_servingFinetuneJobsList = __esm(() => {
135791
136299
  });
135792
136300
 
135793
136301
  // src/mcp-server/tools/servingFinetuneJobsList.ts
135794
- var args300, tool$servingFinetuneJobsList;
136302
+ var args302, tool$servingFinetuneJobsList;
135795
136303
  var init_servingFinetuneJobsList2 = __esm(() => {
135796
136304
  init_servingFinetuneJobsList();
135797
136305
  init_operations();
135798
136306
  init_tools();
135799
- args300 = {
136307
+ args302 = {
135800
136308
  request: ListFinetuneJobsRequest$inboundSchema
135801
136309
  };
135802
136310
  tool$servingFinetuneJobsList = {
@@ -135804,9 +136312,9 @@ var init_servingFinetuneJobsList2 = __esm(() => {
135804
136312
  description: `List fine-tune jobs
135805
136313
 
135806
136314
  List your fine-tune jobs.`,
135807
- args: args300,
135808
- tool: async (client, args301, ctx) => {
135809
- 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();
135810
136318
  if (!result.ok) {
135811
136319
  return {
135812
136320
  content: [{ type: "text", text: result.error.message }],
@@ -135821,9 +136329,9 @@ List your fine-tune jobs.`,
135821
136329
 
135822
136330
  // src/funcs/servingFinetuneJobsListCheckpoints.ts
135823
136331
  function servingFinetuneJobsListCheckpoints(client, request, options) {
135824
- return new APIPromise($do310(client, request, options));
136332
+ return new APIPromise($do312(client, request, options));
135825
136333
  }
135826
- async function $do310(client, request, options) {
136334
+ async function $do312(client, request, options) {
135827
136335
  const parsed = safeParse4(request, (value) => ListFinetuneCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
135828
136336
  if (!parsed.ok) {
135829
136337
  return [parsed, { status: "invalid" }];
@@ -135912,12 +136420,12 @@ var init_servingFinetuneJobsListCheckpoints = __esm(() => {
135912
136420
  });
135913
136421
 
135914
136422
  // src/mcp-server/tools/servingFinetuneJobsListCheckpoints.ts
135915
- var args301, tool$servingFinetuneJobsListCheckpoints;
136423
+ var args303, tool$servingFinetuneJobsListCheckpoints;
135916
136424
  var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
135917
136425
  init_servingFinetuneJobsListCheckpoints();
135918
136426
  init_operations();
135919
136427
  init_tools();
135920
- args301 = {
136428
+ args303 = {
135921
136429
  request: ListFinetuneCheckpointsRequest$inboundSchema
135922
136430
  };
135923
136431
  tool$servingFinetuneJobsListCheckpoints = {
@@ -135925,9 +136433,9 @@ var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
135925
136433
  description: `List output checkpoints
135926
136434
 
135927
136435
  List the checkpoints a fine-tune job has produced.`,
135928
- args: args301,
135929
- tool: async (client, args302, ctx) => {
135930
- 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();
135931
136439
  if (!result.ok) {
135932
136440
  return {
135933
136441
  content: [{ type: "text", text: result.error.message }],
@@ -135942,9 +136450,9 @@ List the checkpoints a fine-tune job has produced.`,
135942
136450
 
135943
136451
  // src/funcs/servingImagesDelete.ts
135944
136452
  function servingImagesDelete(client, request, options) {
135945
- return new APIPromise($do311(client, request, options));
136453
+ return new APIPromise($do313(client, request, options));
135946
136454
  }
135947
- async function $do311(client, request, options) {
136455
+ async function $do313(client, request, options) {
135948
136456
  const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
135949
136457
  if (!parsed.ok) {
135950
136458
  return [parsed, { status: "invalid" }];
@@ -136032,12 +136540,12 @@ var init_servingImagesDelete = __esm(() => {
136032
136540
  });
136033
136541
 
136034
136542
  // src/mcp-server/tools/servingImagesDelete.ts
136035
- var args302, tool$servingImagesDelete;
136543
+ var args304, tool$servingImagesDelete;
136036
136544
  var init_servingImagesDelete2 = __esm(() => {
136037
136545
  init_servingImagesDelete();
136038
136546
  init_operations();
136039
136547
  init_tools();
136040
- args302 = {
136548
+ args304 = {
136041
136549
  request: DeleteImageRequest$inboundSchema
136042
136550
  };
136043
136551
  tool$servingImagesDelete = {
@@ -136045,9 +136553,9 @@ var init_servingImagesDelete2 = __esm(() => {
136045
136553
  description: `Delete an image
136046
136554
 
136047
136555
  Delete a container image.`,
136048
- args: args302,
136049
- tool: async (client, args303, ctx) => {
136050
- 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();
136051
136559
  if (!result.ok) {
136052
136560
  return {
136053
136561
  content: [{ type: "text", text: result.error.message }],
@@ -136061,9 +136569,9 @@ Delete a container image.`,
136061
136569
 
136062
136570
  // src/funcs/servingImagesGet.ts
136063
136571
  function servingImagesGet(client, request, options) {
136064
- return new APIPromise($do312(client, request, options));
136572
+ return new APIPromise($do314(client, request, options));
136065
136573
  }
136066
- async function $do312(client, request, options) {
136574
+ async function $do314(client, request, options) {
136067
136575
  const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
136068
136576
  if (!parsed.ok) {
136069
136577
  return [parsed, { status: "invalid" }];
@@ -136151,12 +136659,12 @@ var init_servingImagesGet = __esm(() => {
136151
136659
  });
136152
136660
 
136153
136661
  // src/mcp-server/tools/servingImagesGet.ts
136154
- var args303, tool$servingImagesGet;
136662
+ var args305, tool$servingImagesGet;
136155
136663
  var init_servingImagesGet2 = __esm(() => {
136156
136664
  init_servingImagesGet();
136157
136665
  init_operations();
136158
136666
  init_tools();
136159
- args303 = {
136667
+ args305 = {
136160
136668
  request: GetImageRequest$inboundSchema
136161
136669
  };
136162
136670
  tool$servingImagesGet = {
@@ -136164,9 +136672,9 @@ var init_servingImagesGet2 = __esm(() => {
136164
136672
  description: `Get an image
136165
136673
 
136166
136674
  Retrieve an image, including its build status.`,
136167
- args: args303,
136168
- tool: async (client, args304, ctx) => {
136169
- 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();
136170
136678
  if (!result.ok) {
136171
136679
  return {
136172
136680
  content: [{ type: "text", text: result.error.message }],
@@ -136181,9 +136689,9 @@ Retrieve an image, including its build status.`,
136181
136689
 
136182
136690
  // src/funcs/servingImagesList.ts
136183
136691
  function servingImagesList(client, request, options) {
136184
- return new APIPromise($do313(client, request, options));
136692
+ return new APIPromise($do315(client, request, options));
136185
136693
  }
136186
- async function $do313(client, request, options) {
136694
+ async function $do315(client, request, options) {
136187
136695
  const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
136188
136696
  if (!parsed.ok) {
136189
136697
  return [parsed, { status: "invalid" }];
@@ -136270,12 +136778,12 @@ var init_servingImagesList = __esm(() => {
136270
136778
  });
136271
136779
 
136272
136780
  // src/mcp-server/tools/servingImagesList.ts
136273
- var args304, tool$servingImagesList;
136781
+ var args306, tool$servingImagesList;
136274
136782
  var init_servingImagesList2 = __esm(() => {
136275
136783
  init_servingImagesList();
136276
136784
  init_operations();
136277
136785
  init_tools();
136278
- args304 = {
136786
+ args306 = {
136279
136787
  request: ListImagesRequest$inboundSchema
136280
136788
  };
136281
136789
  tool$servingImagesList = {
@@ -136283,9 +136791,9 @@ var init_servingImagesList2 = __esm(() => {
136283
136791
  description: `List images
136284
136792
 
136285
136793
  List your container images.`,
136286
- args: args304,
136287
- tool: async (client, args305, ctx) => {
136288
- 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();
136289
136797
  if (!result.ok) {
136290
136798
  return {
136291
136799
  content: [{ type: "text", text: result.error.message }],
@@ -136300,9 +136808,9 @@ List your container images.`,
136300
136808
 
136301
136809
  // src/funcs/servingImagesRegister.ts
136302
136810
  function servingImagesRegister(client, request, options) {
136303
- return new APIPromise($do314(client, request, options));
136811
+ return new APIPromise($do316(client, request, options));
136304
136812
  }
136305
- async function $do314(client, request, options) {
136813
+ async function $do316(client, request, options) {
136306
136814
  const parsed = safeParse4(request, (value) => RegisterImageRequest$outboundSchema.parse(value), "Input validation failed");
136307
136815
  if (!parsed.ok) {
136308
136816
  return [parsed, { status: "invalid" }];
@@ -136385,12 +136893,12 @@ var init_servingImagesRegister = __esm(() => {
136385
136893
  });
136386
136894
 
136387
136895
  // src/mcp-server/tools/servingImagesRegister.ts
136388
- var args305, tool$servingImagesRegister;
136896
+ var args307, tool$servingImagesRegister;
136389
136897
  var init_servingImagesRegister2 = __esm(() => {
136390
136898
  init_servingImagesRegister();
136391
136899
  init_operations();
136392
136900
  init_tools();
136393
- args305 = {
136901
+ args307 = {
136394
136902
  request: RegisterImageRequest$inboundSchema
136395
136903
  };
136396
136904
  tool$servingImagesRegister = {
@@ -136398,9 +136906,9 @@ var init_servingImagesRegister2 = __esm(() => {
136398
136906
  description: `Register a container image
136399
136907
 
136400
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.)`,
136401
- args: args305,
136402
- tool: async (client, args306, ctx) => {
136403
- 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();
136404
136912
  if (!result.ok) {
136405
136913
  return {
136406
136914
  content: [{ type: "text", text: result.error.message }],
@@ -136415,9 +136923,9 @@ Register a container image by reference so it can back a BYO deployment or a rec
136415
136923
 
136416
136924
  // src/funcs/servingModelsDelete.ts
136417
136925
  function servingModelsDelete(client, request, options) {
136418
- return new APIPromise($do315(client, request, options));
136926
+ return new APIPromise($do317(client, request, options));
136419
136927
  }
136420
- async function $do315(client, request, options) {
136928
+ async function $do317(client, request, options) {
136421
136929
  const parsed = safeParse4(request, (value) => DeleteModelRequest$outboundSchema.parse(value), "Input validation failed");
136422
136930
  if (!parsed.ok) {
136423
136931
  return [parsed, { status: "invalid" }];
@@ -136505,12 +137013,12 @@ var init_servingModelsDelete = __esm(() => {
136505
137013
  });
136506
137014
 
136507
137015
  // src/mcp-server/tools/servingModelsDelete.ts
136508
- var args306, tool$servingModelsDelete;
137016
+ var args308, tool$servingModelsDelete;
136509
137017
  var init_servingModelsDelete2 = __esm(() => {
136510
137018
  init_servingModelsDelete();
136511
137019
  init_operations();
136512
137020
  init_tools();
136513
- args306 = {
137021
+ args308 = {
136514
137022
  request: DeleteModelRequest$inboundSchema
136515
137023
  };
136516
137024
  tool$servingModelsDelete = {
@@ -136518,9 +137026,9 @@ var init_servingModelsDelete2 = __esm(() => {
136518
137026
  description: `Deregister a model
136519
137027
 
136520
137028
  Deregister a model from the catalog.`,
136521
- args: args306,
136522
- tool: async (client, args307, ctx) => {
136523
- 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();
136524
137032
  if (!result.ok) {
136525
137033
  return {
136526
137034
  content: [{ type: "text", text: result.error.message }],
@@ -136534,9 +137042,9 @@ Deregister a model from the catalog.`,
136534
137042
 
136535
137043
  // src/funcs/servingModelsGet.ts
136536
137044
  function servingModelsGet(client, request, options) {
136537
- return new APIPromise($do316(client, request, options));
137045
+ return new APIPromise($do318(client, request, options));
136538
137046
  }
136539
- async function $do316(client, request, options) {
137047
+ async function $do318(client, request, options) {
136540
137048
  const parsed = safeParse4(request, (value) => GetServingModelRequest$outboundSchema.parse(value), "Input validation failed");
136541
137049
  if (!parsed.ok) {
136542
137050
  return [parsed, { status: "invalid" }];
@@ -136624,12 +137132,12 @@ var init_servingModelsGet = __esm(() => {
136624
137132
  });
136625
137133
 
136626
137134
  // src/mcp-server/tools/servingModelsGet.ts
136627
- var args307, tool$servingModelsGet;
137135
+ var args309, tool$servingModelsGet;
136628
137136
  var init_servingModelsGet2 = __esm(() => {
136629
137137
  init_servingModelsGet();
136630
137138
  init_operations();
136631
137139
  init_tools();
136632
- args307 = {
137140
+ args309 = {
136633
137141
  request: GetServingModelRequest$inboundSchema
136634
137142
  };
136635
137143
  tool$servingModelsGet = {
@@ -136637,9 +137145,9 @@ var init_servingModelsGet2 = __esm(() => {
136637
137145
  description: `Get a model
136638
137146
 
136639
137147
  Retrieve a registered model.`,
136640
- args: args307,
136641
- tool: async (client, args308, ctx) => {
136642
- 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();
136643
137151
  if (!result.ok) {
136644
137152
  return {
136645
137153
  content: [{ type: "text", text: result.error.message }],
@@ -136654,9 +137162,9 @@ Retrieve a registered model.`,
136654
137162
 
136655
137163
  // src/funcs/servingModelsList.ts
136656
137164
  function servingModelsList(client, request, options) {
136657
- return new APIPromise($do317(client, request, options));
137165
+ return new APIPromise($do319(client, request, options));
136658
137166
  }
136659
- async function $do317(client, request, options) {
137167
+ async function $do319(client, request, options) {
136660
137168
  const parsed = safeParse4(request, (value) => ListServingModelsRequest$outboundSchema.parse(value), "Input validation failed");
136661
137169
  if (!parsed.ok) {
136662
137170
  return [parsed, { status: "invalid" }];
@@ -136743,12 +137251,12 @@ var init_servingModelsList = __esm(() => {
136743
137251
  });
136744
137252
 
136745
137253
  // src/mcp-server/tools/servingModelsList.ts
136746
- var args308, tool$servingModelsList;
137254
+ var args310, tool$servingModelsList;
136747
137255
  var init_servingModelsList2 = __esm(() => {
136748
137256
  init_servingModelsList();
136749
137257
  init_operations();
136750
137258
  init_tools();
136751
- args308 = {
137259
+ args310 = {
136752
137260
  request: ListServingModelsRequest$inboundSchema
136753
137261
  };
136754
137262
  tool$servingModelsList = {
@@ -136756,9 +137264,9 @@ var init_servingModelsList2 = __esm(() => {
136756
137264
  description: `List models
136757
137265
 
136758
137266
  List your registered models.`,
136759
- args: args308,
136760
- tool: async (client, args309, ctx) => {
136761
- 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();
136762
137270
  if (!result.ok) {
136763
137271
  return {
136764
137272
  content: [{ type: "text", text: result.error.message }],
@@ -136773,9 +137281,9 @@ List your registered models.`,
136773
137281
 
136774
137282
  // src/funcs/servingModelsRegister.ts
136775
137283
  function servingModelsRegister(client, request, options) {
136776
- return new APIPromise($do318(client, request, options));
137284
+ return new APIPromise($do320(client, request, options));
136777
137285
  }
136778
- async function $do318(client, request, options) {
137286
+ async function $do320(client, request, options) {
136779
137287
  const parsed = safeParse4(request, (value) => RegisterModelRequest$outboundSchema.parse(value), "Input validation failed");
136780
137288
  if (!parsed.ok) {
136781
137289
  return [parsed, { status: "invalid" }];
@@ -136858,12 +137366,12 @@ var init_servingModelsRegister = __esm(() => {
136858
137366
  });
136859
137367
 
136860
137368
  // src/mcp-server/tools/servingModelsRegister.ts
136861
- var args309, tool$servingModelsRegister;
137369
+ var args311, tool$servingModelsRegister;
136862
137370
  var init_servingModelsRegister2 = __esm(() => {
136863
137371
  init_servingModelsRegister();
136864
137372
  init_operations();
136865
137373
  init_tools();
136866
- args309 = {
137374
+ args311 = {
136867
137375
  request: RegisterModelRequest$inboundSchema
136868
137376
  };
136869
137377
  tool$servingModelsRegister = {
@@ -136871,9 +137379,9 @@ var init_servingModelsRegister2 = __esm(() => {
136871
137379
  description: `Register a model
136872
137380
 
136873
137381
  Register a model (from a source or volume) so it can be deployed or fine-tuned.`,
136874
- args: args309,
136875
- tool: async (client, args310, ctx) => {
136876
- 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();
136877
137385
  if (!result.ok) {
136878
137386
  return {
136879
137387
  content: [{ type: "text", text: result.error.message }],
@@ -136888,9 +137396,9 @@ Register a model (from a source or volume) so it can be deployed or fine-tuned.`
136888
137396
 
136889
137397
  // src/funcs/servingRecipesDelete.ts
136890
137398
  function servingRecipesDelete(client, request, options) {
136891
- return new APIPromise($do319(client, request, options));
137399
+ return new APIPromise($do321(client, request, options));
136892
137400
  }
136893
- async function $do319(client, request, options) {
137401
+ async function $do321(client, request, options) {
136894
137402
  const parsed = safeParse4(request, (value) => DeleteServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
136895
137403
  if (!parsed.ok) {
136896
137404
  return [parsed, { status: "invalid" }];
@@ -136978,12 +137486,12 @@ var init_servingRecipesDelete = __esm(() => {
136978
137486
  });
136979
137487
 
136980
137488
  // src/mcp-server/tools/servingRecipesDelete.ts
136981
- var args310, tool$servingRecipesDelete;
137489
+ var args312, tool$servingRecipesDelete;
136982
137490
  var init_servingRecipesDelete2 = __esm(() => {
136983
137491
  init_servingRecipesDelete();
136984
137492
  init_operations();
136985
137493
  init_tools();
136986
- args310 = {
137494
+ args312 = {
136987
137495
  request: DeleteServingRecipeRequest$inboundSchema
136988
137496
  };
136989
137497
  tool$servingRecipesDelete = {
@@ -136991,9 +137499,9 @@ var init_servingRecipesDelete2 = __esm(() => {
136991
137499
  description: `Delete a serving recipe
136992
137500
 
136993
137501
  Remove a recipe from the catalog. Rejected while any live deployment's active revision references the recipe. Cluster administrators only.`,
136994
- args: args310,
136995
- tool: async (client, args311, ctx) => {
136996
- 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();
136997
137505
  if (!result.ok) {
136998
137506
  return {
136999
137507
  content: [{ type: "text", text: result.error.message }],
@@ -137007,9 +137515,9 @@ Remove a recipe from the catalog. Rejected while any live deployment's active re
137007
137515
 
137008
137516
  // src/funcs/servingRecipesGet.ts
137009
137517
  function servingRecipesGet(client, request, options) {
137010
- return new APIPromise($do320(client, request, options));
137518
+ return new APIPromise($do322(client, request, options));
137011
137519
  }
137012
- async function $do320(client, request, options) {
137520
+ async function $do322(client, request, options) {
137013
137521
  const parsed = safeParse4(request, (value) => GetServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
137014
137522
  if (!parsed.ok) {
137015
137523
  return [parsed, { status: "invalid" }];
@@ -137097,12 +137605,12 @@ var init_servingRecipesGet = __esm(() => {
137097
137605
  });
137098
137606
 
137099
137607
  // src/mcp-server/tools/servingRecipesGet.ts
137100
- var args311, tool$servingRecipesGet;
137608
+ var args313, tool$servingRecipesGet;
137101
137609
  var init_servingRecipesGet2 = __esm(() => {
137102
137610
  init_servingRecipesGet();
137103
137611
  init_operations();
137104
137612
  init_tools();
137105
- args311 = {
137613
+ args313 = {
137106
137614
  request: GetServingRecipeRequest$inboundSchema
137107
137615
  };
137108
137616
  tool$servingRecipesGet = {
@@ -137110,9 +137618,9 @@ var init_servingRecipesGet2 = __esm(() => {
137110
137618
  description: `Get a serving recipe
137111
137619
 
137112
137620
  Get one recipe catalog record. Tenants can read enabled recipes; disabled recipes are visible to cluster administrators only.`,
137113
- args: args311,
137114
- tool: async (client, args312, ctx) => {
137115
- 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();
137116
137624
  if (!result.ok) {
137117
137625
  return {
137118
137626
  content: [{ type: "text", text: result.error.message }],
@@ -137127,9 +137635,9 @@ Get one recipe catalog record. Tenants can read enabled recipes; disabled recipe
137127
137635
 
137128
137636
  // src/funcs/servingRecipesList.ts
137129
137637
  function servingRecipesList(client, request, options) {
137130
- return new APIPromise($do321(client, request, options));
137638
+ return new APIPromise($do323(client, request, options));
137131
137639
  }
137132
- async function $do321(client, request, options) {
137640
+ async function $do323(client, request, options) {
137133
137641
  const parsed = safeParse4(request, (value) => ListServingRecipesRequest$outboundSchema.parse(value), "Input validation failed");
137134
137642
  if (!parsed.ok) {
137135
137643
  return [parsed, { status: "invalid" }];
@@ -137216,12 +137724,12 @@ var init_servingRecipesList = __esm(() => {
137216
137724
  });
137217
137725
 
137218
137726
  // src/mcp-server/tools/servingRecipesList.ts
137219
- var args312, tool$servingRecipesList;
137727
+ var args314, tool$servingRecipesList;
137220
137728
  var init_servingRecipesList2 = __esm(() => {
137221
137729
  init_servingRecipesList();
137222
137730
  init_operations();
137223
137731
  init_tools();
137224
- args312 = {
137732
+ args314 = {
137225
137733
  request: ListServingRecipesRequest$inboundSchema
137226
137734
  };
137227
137735
  tool$servingRecipesList = {
@@ -137229,9 +137737,9 @@ var init_servingRecipesList2 = __esm(() => {
137229
137737
  description: `List serving recipes
137230
137738
 
137231
137739
  List the cluster-global serving recipe catalog. Tenants see only enabled (deployable) recipes; cluster administrators see every registered recipe including disabled ones.`,
137232
- args: args312,
137233
- tool: async (client, args313, ctx) => {
137234
- 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();
137235
137743
  if (!result.ok) {
137236
137744
  return {
137237
137745
  content: [{ type: "text", text: result.error.message }],
@@ -137246,9 +137754,9 @@ List the cluster-global serving recipe catalog. Tenants see only enabled (deploy
137246
137754
 
137247
137755
  // src/funcs/servingRecipesRegister.ts
137248
137756
  function servingRecipesRegister(client, request, options) {
137249
- return new APIPromise($do322(client, request, options));
137757
+ return new APIPromise($do324(client, request, options));
137250
137758
  }
137251
- async function $do322(client, request, options) {
137759
+ async function $do324(client, request, options) {
137252
137760
  const parsed = safeParse4(request, (value) => RegisterServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
137253
137761
  if (!parsed.ok) {
137254
137762
  return [parsed, { status: "invalid" }];
@@ -137339,12 +137847,12 @@ var init_servingRecipesRegister = __esm(() => {
137339
137847
  });
137340
137848
 
137341
137849
  // src/mcp-server/tools/servingRecipesRegister.ts
137342
- var args313, tool$servingRecipesRegister;
137850
+ var args315, tool$servingRecipesRegister;
137343
137851
  var init_servingRecipesRegister2 = __esm(() => {
137344
137852
  init_servingRecipesRegister();
137345
137853
  init_operations();
137346
137854
  init_tools();
137347
- args313 = {
137855
+ args315 = {
137348
137856
  request: RegisterServingRecipeRequest$inboundSchema
137349
137857
  };
137350
137858
  tool$servingRecipesRegister = {
@@ -137352,9 +137860,9 @@ var init_servingRecipesRegister2 = __esm(() => {
137352
137860
  description: `Register a serving recipe
137353
137861
 
137354
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.`,
137355
- args: args313,
137356
- tool: async (client, args314, ctx) => {
137357
- 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();
137358
137866
  if (!result.ok) {
137359
137867
  return {
137360
137868
  content: [{ type: "text", text: result.error.message }],
@@ -137369,9 +137877,9 @@ Register (or re-register) a digest-pinned recipe manifest in the catalog. A new
137369
137877
 
137370
137878
  // src/funcs/servingRecipesSetEnabled.ts
137371
137879
  function servingRecipesSetEnabled(client, request, options) {
137372
- return new APIPromise($do323(client, request, options));
137880
+ return new APIPromise($do325(client, request, options));
137373
137881
  }
137374
- async function $do323(client, request, options) {
137882
+ async function $do325(client, request, options) {
137375
137883
  const parsed = safeParse4(request, (value) => SetServingRecipeEnabledRequest$outboundSchema.parse(value), "Input validation failed");
137376
137884
  if (!parsed.ok) {
137377
137885
  return [parsed, { status: "invalid" }];
@@ -137462,12 +137970,12 @@ var init_servingRecipesSetEnabled = __esm(() => {
137462
137970
  });
137463
137971
 
137464
137972
  // src/mcp-server/tools/servingRecipesSetEnabled.ts
137465
- var args314, tool$servingRecipesSetEnabled;
137973
+ var args316, tool$servingRecipesSetEnabled;
137466
137974
  var init_servingRecipesSetEnabled2 = __esm(() => {
137467
137975
  init_servingRecipesSetEnabled();
137468
137976
  init_operations();
137469
137977
  init_tools();
137470
- args314 = {
137978
+ args316 = {
137471
137979
  request: SetServingRecipeEnabledRequest$inboundSchema
137472
137980
  };
137473
137981
  tool$servingRecipesSetEnabled = {
@@ -137475,9 +137983,9 @@ var init_servingRecipesSetEnabled2 = __esm(() => {
137475
137983
  description: `Enable or disable a serving recipe
137476
137984
 
137477
137985
  Toggle cluster-wide deployability of a registered recipe. Disabling does not stop deployments already running the recipe. Cluster administrators only.`,
137478
- args: args314,
137479
- tool: async (client, args315, ctx) => {
137480
- 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();
137481
137989
  if (!result.ok) {
137482
137990
  return {
137483
137991
  content: [{ type: "text", text: result.error.message }],
@@ -137492,9 +138000,9 @@ Toggle cluster-wide deployability of a registered recipe. Disabling does not sto
137492
138000
 
137493
138001
  // src/funcs/servingSecretsCreate.ts
137494
138002
  function servingSecretsCreate(client, request, options) {
137495
- return new APIPromise($do324(client, request, options));
138003
+ return new APIPromise($do326(client, request, options));
137496
138004
  }
137497
- async function $do324(client, request, options) {
138005
+ async function $do326(client, request, options) {
137498
138006
  const parsed = safeParse4(request, (value) => CreateSecretRequest$outboundSchema.parse(value), "Input validation failed");
137499
138007
  if (!parsed.ok) {
137500
138008
  return [parsed, { status: "invalid" }];
@@ -137577,12 +138085,12 @@ var init_servingSecretsCreate = __esm(() => {
137577
138085
  });
137578
138086
 
137579
138087
  // src/mcp-server/tools/servingSecretsCreate.ts
137580
- var args315, tool$servingSecretsCreate;
138088
+ var args317, tool$servingSecretsCreate;
137581
138089
  var init_servingSecretsCreate2 = __esm(() => {
137582
138090
  init_servingSecretsCreate();
137583
138091
  init_operations();
137584
138092
  init_tools();
137585
- args315 = {
138093
+ args317 = {
137586
138094
  request: CreateSecretRequest$inboundSchema
137587
138095
  };
137588
138096
  tool$servingSecretsCreate = {
@@ -137590,9 +138098,9 @@ var init_servingSecretsCreate2 = __esm(() => {
137590
138098
  description: `Create a secret
137591
138099
 
137592
138100
  Create a secret whose values are injected into your workloads as env vars.`,
137593
- args: args315,
137594
- tool: async (client, args316, ctx) => {
137595
- 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();
137596
138104
  if (!result.ok) {
137597
138105
  return {
137598
138106
  content: [{ type: "text", text: result.error.message }],
@@ -137607,9 +138115,9 @@ Create a secret whose values are injected into your workloads as env vars.`,
137607
138115
 
137608
138116
  // src/funcs/servingSecretsDelete.ts
137609
138117
  function servingSecretsDelete(client, request, options) {
137610
- return new APIPromise($do325(client, request, options));
138118
+ return new APIPromise($do327(client, request, options));
137611
138119
  }
137612
- async function $do325(client, request, options) {
138120
+ async function $do327(client, request, options) {
137613
138121
  const parsed = safeParse4(request, (value) => DeleteSecretRequest$outboundSchema.parse(value), "Input validation failed");
137614
138122
  if (!parsed.ok) {
137615
138123
  return [parsed, { status: "invalid" }];
@@ -137697,12 +138205,12 @@ var init_servingSecretsDelete = __esm(() => {
137697
138205
  });
137698
138206
 
137699
138207
  // src/mcp-server/tools/servingSecretsDelete.ts
137700
- var args316, tool$servingSecretsDelete;
138208
+ var args318, tool$servingSecretsDelete;
137701
138209
  var init_servingSecretsDelete2 = __esm(() => {
137702
138210
  init_servingSecretsDelete();
137703
138211
  init_operations();
137704
138212
  init_tools();
137705
- args316 = {
138213
+ args318 = {
137706
138214
  request: DeleteSecretRequest$inboundSchema
137707
138215
  };
137708
138216
  tool$servingSecretsDelete = {
@@ -137710,9 +138218,9 @@ var init_servingSecretsDelete2 = __esm(() => {
137710
138218
  description: `Delete a secret
137711
138219
 
137712
138220
  Delete a secret.`,
137713
- args: args316,
137714
- tool: async (client, args317, ctx) => {
137715
- 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();
137716
138224
  if (!result.ok) {
137717
138225
  return {
137718
138226
  content: [{ type: "text", text: result.error.message }],
@@ -137726,9 +138234,9 @@ Delete a secret.`,
137726
138234
 
137727
138235
  // src/funcs/servingSecretsGet.ts
137728
138236
  function servingSecretsGet(client, request, options) {
137729
- return new APIPromise($do326(client, request, options));
138237
+ return new APIPromise($do328(client, request, options));
137730
138238
  }
137731
- async function $do326(client, request, options) {
138239
+ async function $do328(client, request, options) {
137732
138240
  const parsed = safeParse4(request, (value) => GetSecretRequest$outboundSchema.parse(value), "Input validation failed");
137733
138241
  if (!parsed.ok) {
137734
138242
  return [parsed, { status: "invalid" }];
@@ -137816,12 +138324,12 @@ var init_servingSecretsGet = __esm(() => {
137816
138324
  });
137817
138325
 
137818
138326
  // src/mcp-server/tools/servingSecretsGet.ts
137819
- var args317, tool$servingSecretsGet;
138327
+ var args319, tool$servingSecretsGet;
137820
138328
  var init_servingSecretsGet2 = __esm(() => {
137821
138329
  init_servingSecretsGet();
137822
138330
  init_operations();
137823
138331
  init_tools();
137824
- args317 = {
138332
+ args319 = {
137825
138333
  request: GetSecretRequest$inboundSchema
137826
138334
  };
137827
138335
  tool$servingSecretsGet = {
@@ -137829,9 +138337,9 @@ var init_servingSecretsGet2 = __esm(() => {
137829
138337
  description: `Get a secret
137830
138338
 
137831
138339
  Retrieve secret metadata: key names and allowed use. Values are never returned.`,
137832
- args: args317,
137833
- tool: async (client, args318, ctx) => {
137834
- const [result, apiCall] = await servingSecretsGet(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138340
+ args: args319,
138341
+ tool: async (client, args320, ctx) => {
138342
+ const [result, apiCall] = await servingSecretsGet(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137835
138343
  if (!result.ok) {
137836
138344
  return {
137837
138345
  content: [{ type: "text", text: result.error.message }],
@@ -137846,9 +138354,9 @@ Retrieve secret metadata: key names and allowed use. Values are never returned.`
137846
138354
 
137847
138355
  // src/funcs/servingSecretsList.ts
137848
138356
  function servingSecretsList(client, request, options) {
137849
- return new APIPromise($do327(client, request, options));
138357
+ return new APIPromise($do329(client, request, options));
137850
138358
  }
137851
- async function $do327(client, request, options) {
138359
+ async function $do329(client, request, options) {
137852
138360
  const parsed = safeParse4(request, (value) => ListSecretsRequest$outboundSchema.parse(value), "Input validation failed");
137853
138361
  if (!parsed.ok) {
137854
138362
  return [parsed, { status: "invalid" }];
@@ -137935,12 +138443,12 @@ var init_servingSecretsList = __esm(() => {
137935
138443
  });
137936
138444
 
137937
138445
  // src/mcp-server/tools/servingSecretsList.ts
137938
- var args318, tool$servingSecretsList;
138446
+ var args320, tool$servingSecretsList;
137939
138447
  var init_servingSecretsList2 = __esm(() => {
137940
138448
  init_servingSecretsList();
137941
138449
  init_operations();
137942
138450
  init_tools();
137943
- args318 = {
138451
+ args320 = {
137944
138452
  request: ListSecretsRequest$inboundSchema
137945
138453
  };
137946
138454
  tool$servingSecretsList = {
@@ -137948,9 +138456,9 @@ var init_servingSecretsList2 = __esm(() => {
137948
138456
  description: `List secrets (names only)
137949
138457
 
137950
138458
  List your secrets by name (values are never returned).`,
137951
- args: args318,
137952
- tool: async (client, args319, ctx) => {
137953
- const [result, apiCall] = await servingSecretsList(client, args319.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();
137954
138462
  if (!result.ok) {
137955
138463
  return {
137956
138464
  content: [{ type: "text", text: result.error.message }],
@@ -137965,9 +138473,9 @@ List your secrets by name (values are never returned).`,
137965
138473
 
137966
138474
  // src/funcs/servingSpendGet.ts
137967
138475
  function servingSpendGet(client, request, options) {
137968
- return new APIPromise($do328(client, request, options));
138476
+ return new APIPromise($do330(client, request, options));
137969
138477
  }
137970
- async function $do328(client, request, options) {
138478
+ async function $do330(client, request, options) {
137971
138479
  const parsed = safeParse4(request, (value) => GetSpendRequest$outboundSchema.parse(value), "Input validation failed");
137972
138480
  if (!parsed.ok) {
137973
138481
  return [parsed, { status: "invalid" }];
@@ -138054,12 +138562,12 @@ var init_servingSpendGet = __esm(() => {
138054
138562
  });
138055
138563
 
138056
138564
  // src/mcp-server/tools/servingSpendGet.ts
138057
- var args319, tool$servingSpendGet;
138565
+ var args321, tool$servingSpendGet;
138058
138566
  var init_servingSpendGet2 = __esm(() => {
138059
138567
  init_servingSpendGet();
138060
138568
  init_operations();
138061
138569
  init_tools();
138062
- args319 = {
138570
+ args321 = {
138063
138571
  request: GetSpendRequest$inboundSchema
138064
138572
  };
138065
138573
  tool$servingSpendGet = {
@@ -138067,9 +138575,9 @@ var init_servingSpendGet2 = __esm(() => {
138067
138575
  description: `Cost and spend summary
138068
138576
 
138069
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.`,
138070
- args: args319,
138071
- tool: async (client, args320, ctx) => {
138072
- const [result, apiCall] = await servingSpendGet(client, args320.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();
138073
138581
  if (!result.ok) {
138074
138582
  return {
138075
138583
  content: [{ type: "text", text: result.error.message }],
@@ -138084,9 +138592,9 @@ Aggregate spend for your organization, computed from retained compute ledgers as
138084
138592
 
138085
138593
  // src/funcs/servingTenantsDeleteOrganization.ts
138086
138594
  function servingTenantsDeleteOrganization(client, request, options) {
138087
- return new APIPromise($do329(client, request, options));
138595
+ return new APIPromise($do331(client, request, options));
138088
138596
  }
138089
- async function $do329(client, request, options) {
138597
+ async function $do331(client, request, options) {
138090
138598
  const parsed = safeParse4(request, (value) => DeleteServingOrganizationRequest$outboundSchema.parse(value), "Input validation failed");
138091
138599
  if (!parsed.ok) {
138092
138600
  return [parsed, { status: "invalid" }];
@@ -138177,12 +138685,12 @@ var init_servingTenantsDeleteOrganization = __esm(() => {
138177
138685
  });
138178
138686
 
138179
138687
  // src/mcp-server/tools/servingTenantsDeleteOrganization.ts
138180
- var args320, tool$servingTenantsDeleteOrganization;
138688
+ var args322, tool$servingTenantsDeleteOrganization;
138181
138689
  var init_servingTenantsDeleteOrganization2 = __esm(() => {
138182
138690
  init_servingTenantsDeleteOrganization();
138183
138691
  init_operations();
138184
138692
  init_tools();
138185
- args320 = {
138693
+ args322 = {
138186
138694
  request: DeleteServingOrganizationRequest$inboundSchema
138187
138695
  };
138188
138696
  tool$servingTenantsDeleteOrganization = {
@@ -138190,9 +138698,9 @@ var init_servingTenantsDeleteOrganization2 = __esm(() => {
138190
138698
  description: `Trigger organization deletion teardown
138191
138699
 
138192
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.`,
138193
- args: args320,
138194
- tool: async (client, args321, ctx) => {
138195
- const [result, apiCall] = await servingTenantsDeleteOrganization(client, args321.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();
138196
138704
  if (!result.ok) {
138197
138705
  return {
138198
138706
  content: [{ type: "text", text: result.error.message }],
@@ -138207,9 +138715,9 @@ Durably records an organization.deleted.v1 event and starts (or adopts) the mand
138207
138715
 
138208
138716
  // src/funcs/servingTenantsGet.ts
138209
138717
  function servingTenantsGet(client, request, options) {
138210
- return new APIPromise($do330(client, request, options));
138718
+ return new APIPromise($do332(client, request, options));
138211
138719
  }
138212
- async function $do330(client, request, options) {
138720
+ async function $do332(client, request, options) {
138213
138721
  const parsed = safeParse4(request, (value) => GetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
138214
138722
  if (!parsed.ok) {
138215
138723
  return [parsed, { status: "invalid" }];
@@ -138297,12 +138805,12 @@ var init_servingTenantsGet = __esm(() => {
138297
138805
  });
138298
138806
 
138299
138807
  // src/mcp-server/tools/servingTenantsGet.ts
138300
- var args321, tool$servingTenantsGet;
138808
+ var args323, tool$servingTenantsGet;
138301
138809
  var init_servingTenantsGet2 = __esm(() => {
138302
138810
  init_servingTenantsGet();
138303
138811
  init_operations();
138304
138812
  init_tools();
138305
- args321 = {
138813
+ args323 = {
138306
138814
  request: GetServingTenantRequest$inboundSchema
138307
138815
  };
138308
138816
  tool$servingTenantsGet = {
@@ -138310,9 +138818,9 @@ var init_servingTenantsGet2 = __esm(() => {
138310
138818
  description: `Get a serving tenant
138311
138819
 
138312
138820
  Get one organization's serving enablement record. Cluster administrators only.`,
138313
- args: args321,
138314
- tool: async (client, args322, ctx) => {
138315
- const [result, apiCall] = await servingTenantsGet(client, args322.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();
138316
138824
  if (!result.ok) {
138317
138825
  return {
138318
138826
  content: [{ type: "text", text: result.error.message }],
@@ -138327,9 +138835,9 @@ Get one organization's serving enablement record. Cluster administrators only.`,
138327
138835
 
138328
138836
  // src/funcs/servingTenantsGetOrganizationDeletion.ts
138329
138837
  function servingTenantsGetOrganizationDeletion(client, request, options) {
138330
- return new APIPromise($do331(client, request, options));
138838
+ return new APIPromise($do333(client, request, options));
138331
138839
  }
138332
- async function $do331(client, request, options) {
138840
+ async function $do333(client, request, options) {
138333
138841
  const parsed = safeParse4(request, (value) => GetServingOrganizationDeletionRequest$outboundSchema.parse(value), "Input validation failed");
138334
138842
  if (!parsed.ok) {
138335
138843
  return [parsed, { status: "invalid" }];
@@ -138417,12 +138925,12 @@ var init_servingTenantsGetOrganizationDeletion = __esm(() => {
138417
138925
  });
138418
138926
 
138419
138927
  // src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts
138420
- var args322, tool$servingTenantsGetOrganizationDeletion;
138928
+ var args324, tool$servingTenantsGetOrganizationDeletion;
138421
138929
  var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
138422
138930
  init_servingTenantsGetOrganizationDeletion();
138423
138931
  init_operations();
138424
138932
  init_tools();
138425
- args322 = {
138933
+ args324 = {
138426
138934
  request: GetServingOrganizationDeletionRequest$inboundSchema
138427
138935
  };
138428
138936
  tool$servingTenantsGetOrganizationDeletion = {
@@ -138430,9 +138938,9 @@ var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
138430
138938
  description: `Get organization deletion teardown state
138431
138939
 
138432
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.`,
138433
- args: args322,
138434
- tool: async (client, args323, ctx) => {
138435
- const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args323.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();
138436
138944
  if (!result.ok) {
138437
138945
  return {
138438
138946
  content: [{ type: "text", text: result.error.message }],
@@ -138447,9 +138955,9 @@ Returns the durable teardown-cascade state for an organization (running or compl
138447
138955
 
138448
138956
  // src/funcs/servingTenantsList.ts
138449
138957
  function servingTenantsList(client, request, options) {
138450
- return new APIPromise($do332(client, request, options));
138958
+ return new APIPromise($do334(client, request, options));
138451
138959
  }
138452
- async function $do332(client, request, options) {
138960
+ async function $do334(client, request, options) {
138453
138961
  const parsed = safeParse4(request, (value) => ListServingTenantsRequest$outboundSchema.parse(value), "Input validation failed");
138454
138962
  if (!parsed.ok) {
138455
138963
  return [parsed, { status: "invalid" }];
@@ -138536,12 +139044,12 @@ var init_servingTenantsList = __esm(() => {
138536
139044
  });
138537
139045
 
138538
139046
  // src/mcp-server/tools/servingTenantsList.ts
138539
- var args323, tool$servingTenantsList;
139047
+ var args325, tool$servingTenantsList;
138540
139048
  var init_servingTenantsList2 = __esm(() => {
138541
139049
  init_servingTenantsList();
138542
139050
  init_operations();
138543
139051
  init_tools();
138544
- args323 = {
139052
+ args325 = {
138545
139053
  request: ListServingTenantsRequest$inboundSchema
138546
139054
  };
138547
139055
  tool$servingTenantsList = {
@@ -138549,9 +139057,9 @@ var init_servingTenantsList2 = __esm(() => {
138549
139057
  description: `List serving tenants
138550
139058
 
138551
139059
  List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.`,
138552
- args: args323,
138553
- tool: async (client, args324, ctx) => {
138554
- const [result, apiCall] = await servingTenantsList(client, args324.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();
138555
139063
  if (!result.ok) {
138556
139064
  return {
138557
139065
  content: [{ type: "text", text: result.error.message }],
@@ -138566,9 +139074,9 @@ List organization-wide serving enablement records. Cluster administrators only;
138566
139074
 
138567
139075
  // src/funcs/servingTenantsSet.ts
138568
139076
  function servingTenantsSet(client, request, options) {
138569
- return new APIPromise($do333(client, request, options));
139077
+ return new APIPromise($do335(client, request, options));
138570
139078
  }
138571
- async function $do333(client, request, options) {
139079
+ async function $do335(client, request, options) {
138572
139080
  const parsed = safeParse4(request, (value) => SetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
138573
139081
  if (!parsed.ok) {
138574
139082
  return [parsed, { status: "invalid" }];
@@ -138657,12 +139165,12 @@ var init_servingTenantsSet = __esm(() => {
138657
139165
  });
138658
139166
 
138659
139167
  // src/mcp-server/tools/servingTenantsSet.ts
138660
- var args324, tool$servingTenantsSet;
139168
+ var args326, tool$servingTenantsSet;
138661
139169
  var init_servingTenantsSet2 = __esm(() => {
138662
139170
  init_servingTenantsSet();
138663
139171
  init_operations();
138664
139172
  init_tools();
138665
- args324 = {
139173
+ args326 = {
138666
139174
  request: SetServingTenantRequest$inboundSchema
138667
139175
  };
138668
139176
  tool$servingTenantsSet = {
@@ -138670,9 +139178,9 @@ var init_servingTenantsSet2 = __esm(() => {
138670
139178
  description: `Set serving tenant enablement
138671
139179
 
138672
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.`,
138673
- args: args324,
138674
- tool: async (client, args325, ctx) => {
138675
- const [result, apiCall] = await servingTenantsSet(client, args325.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();
138676
139184
  if (!result.ok) {
138677
139185
  return {
138678
139186
  content: [{ type: "text", text: result.error.message }],
@@ -138687,9 +139195,9 @@ Enable or disable serving for an organization and all of its teams. Disabling bl
138687
139195
 
138688
139196
  // src/funcs/servingVolumesCreate.ts
138689
139197
  function servingVolumesCreate(client, request, options) {
138690
- return new APIPromise($do334(client, request, options));
139198
+ return new APIPromise($do336(client, request, options));
138691
139199
  }
138692
- async function $do334(client, request, options) {
139200
+ async function $do336(client, request, options) {
138693
139201
  const parsed = safeParse4(request, (value) => CreateVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138694
139202
  if (!parsed.ok) {
138695
139203
  return [parsed, { status: "invalid" }];
@@ -138772,12 +139280,12 @@ var init_servingVolumesCreate = __esm(() => {
138772
139280
  });
138773
139281
 
138774
139282
  // src/mcp-server/tools/servingVolumesCreate.ts
138775
- var args325, tool$servingVolumesCreate;
139283
+ var args327, tool$servingVolumesCreate;
138776
139284
  var init_servingVolumesCreate2 = __esm(() => {
138777
139285
  init_servingVolumesCreate();
138778
139286
  init_operations();
138779
139287
  init_tools();
138780
- args325 = {
139288
+ args327 = {
138781
139289
  request: CreateVolumeRequest$inboundSchema
138782
139290
  };
138783
139291
  tool$servingVolumesCreate = {
@@ -138785,9 +139293,9 @@ var init_servingVolumesCreate2 = __esm(() => {
138785
139293
  description: `Create a volume
138786
139294
 
138787
139295
  Create a persistent volume for weights, datasets, or checkpoints.`,
138788
- args: args325,
138789
- tool: async (client, args326, ctx) => {
138790
- const [result, apiCall] = await servingVolumesCreate(client, args326.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();
138791
139299
  if (!result.ok) {
138792
139300
  return {
138793
139301
  content: [{ type: "text", text: result.error.message }],
@@ -138802,9 +139310,9 @@ Create a persistent volume for weights, datasets, or checkpoints.`,
138802
139310
 
138803
139311
  // src/funcs/servingVolumesDelete.ts
138804
139312
  function servingVolumesDelete(client, request, options) {
138805
- return new APIPromise($do335(client, request, options));
139313
+ return new APIPromise($do337(client, request, options));
138806
139314
  }
138807
- async function $do335(client, request, options) {
139315
+ async function $do337(client, request, options) {
138808
139316
  const parsed = safeParse4(request, (value) => DeleteVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138809
139317
  if (!parsed.ok) {
138810
139318
  return [parsed, { status: "invalid" }];
@@ -138892,12 +139400,12 @@ var init_servingVolumesDelete = __esm(() => {
138892
139400
  });
138893
139401
 
138894
139402
  // src/mcp-server/tools/servingVolumesDelete.ts
138895
- var args326, tool$servingVolumesDelete;
139403
+ var args328, tool$servingVolumesDelete;
138896
139404
  var init_servingVolumesDelete2 = __esm(() => {
138897
139405
  init_servingVolumesDelete();
138898
139406
  init_operations();
138899
139407
  init_tools();
138900
- args326 = {
139408
+ args328 = {
138901
139409
  request: DeleteVolumeRequest$inboundSchema
138902
139410
  };
138903
139411
  tool$servingVolumesDelete = {
@@ -138905,9 +139413,9 @@ var init_servingVolumesDelete2 = __esm(() => {
138905
139413
  description: `Delete a volume
138906
139414
 
138907
139415
  Delete a volume and its contents.`,
138908
- args: args326,
138909
- tool: async (client, args327, ctx) => {
138910
- const [result, apiCall] = await servingVolumesDelete(client, args327.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();
138911
139419
  if (!result.ok) {
138912
139420
  return {
138913
139421
  content: [{ type: "text", text: result.error.message }],
@@ -138921,9 +139429,9 @@ Delete a volume and its contents.`,
138921
139429
 
138922
139430
  // src/funcs/servingVolumesGet.ts
138923
139431
  function servingVolumesGet(client, request, options) {
138924
- return new APIPromise($do336(client, request, options));
139432
+ return new APIPromise($do338(client, request, options));
138925
139433
  }
138926
- async function $do336(client, request, options) {
139434
+ async function $do338(client, request, options) {
138927
139435
  const parsed = safeParse4(request, (value) => GetVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138928
139436
  if (!parsed.ok) {
138929
139437
  return [parsed, { status: "invalid" }];
@@ -139011,12 +139519,12 @@ var init_servingVolumesGet = __esm(() => {
139011
139519
  });
139012
139520
 
139013
139521
  // src/mcp-server/tools/servingVolumesGet.ts
139014
- var args327, tool$servingVolumesGet;
139522
+ var args329, tool$servingVolumesGet;
139015
139523
  var init_servingVolumesGet2 = __esm(() => {
139016
139524
  init_servingVolumesGet();
139017
139525
  init_operations();
139018
139526
  init_tools();
139019
- args327 = {
139527
+ args329 = {
139020
139528
  request: GetVolumeRequest$inboundSchema
139021
139529
  };
139022
139530
  tool$servingVolumesGet = {
@@ -139024,9 +139532,9 @@ var init_servingVolumesGet2 = __esm(() => {
139024
139532
  description: `Get a volume
139025
139533
 
139026
139534
  Retrieve a volume.`,
139027
- args: args327,
139028
- tool: async (client, args328, ctx) => {
139029
- const [result, apiCall] = await servingVolumesGet(client, args328.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();
139030
139538
  if (!result.ok) {
139031
139539
  return {
139032
139540
  content: [{ type: "text", text: result.error.message }],
@@ -139041,9 +139549,9 @@ Retrieve a volume.`,
139041
139549
 
139042
139550
  // src/funcs/servingVolumesList.ts
139043
139551
  function servingVolumesList(client, request, options) {
139044
- return new APIPromise($do337(client, request, options));
139552
+ return new APIPromise($do339(client, request, options));
139045
139553
  }
139046
- async function $do337(client, request, options) {
139554
+ async function $do339(client, request, options) {
139047
139555
  const parsed = safeParse4(request, (value) => ListVolumesRequest$outboundSchema.parse(value), "Input validation failed");
139048
139556
  if (!parsed.ok) {
139049
139557
  return [parsed, { status: "invalid" }];
@@ -139130,12 +139638,12 @@ var init_servingVolumesList = __esm(() => {
139130
139638
  });
139131
139639
 
139132
139640
  // src/mcp-server/tools/servingVolumesList.ts
139133
- var args328, tool$servingVolumesList;
139641
+ var args330, tool$servingVolumesList;
139134
139642
  var init_servingVolumesList2 = __esm(() => {
139135
139643
  init_servingVolumesList();
139136
139644
  init_operations();
139137
139645
  init_tools();
139138
- args328 = {
139646
+ args330 = {
139139
139647
  request: ListVolumesRequest$inboundSchema
139140
139648
  };
139141
139649
  tool$servingVolumesList = {
@@ -139143,9 +139651,9 @@ var init_servingVolumesList2 = __esm(() => {
139143
139651
  description: `List volumes
139144
139652
 
139145
139653
  List your volumes.`,
139146
- args: args328,
139147
- tool: async (client, args329, ctx) => {
139148
- const [result, apiCall] = await servingVolumesList(client, args329.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();
139149
139657
  if (!result.ok) {
139150
139658
  return {
139151
139659
  content: [{ type: "text", text: result.error.message }],
@@ -139160,9 +139668,9 @@ List your volumes.`,
139160
139668
 
139161
139669
  // src/funcs/usageCosts.ts
139162
139670
  function usageCosts(client, request, options) {
139163
- return new APIPromise($do338(client, request, options));
139671
+ return new APIPromise($do340(client, request, options));
139164
139672
  }
139165
- async function $do338(client, request, options) {
139673
+ async function $do340(client, request, options) {
139166
139674
  const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
139167
139675
  if (!parsed.ok) {
139168
139676
  return [parsed, { status: "invalid" }];
@@ -139245,12 +139753,12 @@ var init_usageCosts = __esm(() => {
139245
139753
  });
139246
139754
 
139247
139755
  // src/mcp-server/tools/usageCosts.ts
139248
- var args329, tool$usageCosts;
139756
+ var args331, tool$usageCosts;
139249
139757
  var init_usageCosts2 = __esm(() => {
139250
139758
  init_usageCosts();
139251
139759
  init_operations();
139252
139760
  init_tools();
139253
- args329 = {
139761
+ args331 = {
139254
139762
  request: GetCostsRequest$inboundSchema
139255
139763
  };
139256
139764
  tool$usageCosts = {
@@ -139258,9 +139766,9 @@ var init_usageCosts2 = __esm(() => {
139258
139766
  description: `Aggregate cost by dimension
139259
139767
 
139260
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.`,
139261
- args: args329,
139262
- tool: async (client, args330, ctx) => {
139263
- const [result, apiCall] = await usageCosts(client, args330.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();
139264
139772
  if (!result.ok) {
139265
139773
  return {
139266
139774
  content: [{ type: "text", text: result.error.message }],
@@ -139275,9 +139783,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
139275
139783
 
139276
139784
  // src/funcs/usageSandbox.ts
139277
139785
  function usageSandbox(client, request, options) {
139278
- return new APIPromise($do339(client, request, options));
139786
+ return new APIPromise($do341(client, request, options));
139279
139787
  }
139280
- async function $do339(client, request, options) {
139788
+ async function $do341(client, request, options) {
139281
139789
  const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
139282
139790
  if (!parsed.ok) {
139283
139791
  return [parsed, { status: "invalid" }];
@@ -139368,12 +139876,12 @@ var init_usageSandbox = __esm(() => {
139368
139876
  });
139369
139877
 
139370
139878
  // src/mcp-server/tools/usageSandbox.ts
139371
- var args330, tool$usageSandbox;
139879
+ var args332, tool$usageSandbox;
139372
139880
  var init_usageSandbox2 = __esm(() => {
139373
139881
  init_usageSandbox();
139374
139882
  init_operations();
139375
139883
  init_tools();
139376
- args330 = {
139884
+ args332 = {
139377
139885
  request: GetSandboxUsageRequest$inboundSchema
139378
139886
  };
139379
139887
  tool$usageSandbox = {
@@ -139381,9 +139889,9 @@ var init_usageSandbox2 = __esm(() => {
139381
139889
  description: `Get Sandbox Usage
139382
139890
 
139383
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\`).`,
139384
- args: args330,
139385
- tool: async (client, args331, ctx) => {
139386
- const [result, apiCall] = await usageSandbox(client, args331.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();
139387
139895
  if (!result.ok) {
139388
139896
  return {
139389
139897
  content: [{ type: "text", text: result.error.message }],
@@ -139400,7 +139908,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
139400
139908
  function createMCPServer(deps) {
139401
139909
  const server = new McpServer({
139402
139910
  name: "SDK",
139403
- version: "0.51.16"
139911
+ version: "0.51.17"
139404
139912
  });
139405
139913
  const client = new SDKCore({
139406
139914
  bearerAuth: deps.bearerAuth,
@@ -139704,6 +140212,8 @@ function createMCPServer(deps) {
139704
140212
  tool(tool$authClusterAcceptInvite);
139705
140213
  tool(tool$authApiKeyGetJwtFromKey);
139706
140214
  tool(tool$servingAcceleratorsList);
140215
+ tool(tool$servingAcceleratorsGet);
140216
+ tool(tool$servingAcceleratorsAvailability);
139707
140217
  tool(tool$servingDeploymentsList);
139708
140218
  tool(tool$servingDeploymentsCreate);
139709
140219
  tool(tool$servingDeploymentsDelete);
@@ -140047,6 +140557,8 @@ var init_server2 = __esm(() => {
140047
140557
  init_sandboxTerminate2();
140048
140558
  init_sandboxUploadArchive2();
140049
140559
  init_sandboxUploadFile2();
140560
+ init_servingAcceleratorsAvailability2();
140561
+ init_servingAcceleratorsGet2();
140050
140562
  init_servingAcceleratorsList2();
140051
140563
  init_servingDeploymentsCreate2();
140052
140564
  init_servingDeploymentsDelete2();
@@ -141276,7 +141788,7 @@ var routes = rn({
141276
141788
  var app = Ve(routes, {
141277
141789
  name: "mcp",
141278
141790
  versionInfo: {
141279
- currentVersion: "0.51.16"
141791
+ currentVersion: "0.51.17"
141280
141792
  }
141281
141793
  });
141282
141794
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -141284,5 +141796,5 @@ export {
141284
141796
  app
141285
141797
  };
141286
141798
 
141287
- //# debugId=76B0C3127D52836D64756E2164756E21
141799
+ //# debugId=548289B3A8B7757E64756E2164756E21
141288
141800
  //# sourceMappingURL=mcp-server.js.map