@meetkai/mka1 0.51.13 → 0.51.15

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 (164) hide show
  1. package/README.md +233 -227
  2. package/bin/mcp-server.js +541 -264
  3. package/bin/mcp-server.js.map +18 -10
  4. package/dist/commonjs/funcs/servingEligibilityPreview.d.ts +19 -0
  5. package/dist/commonjs/funcs/servingEligibilityPreview.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/servingEligibilityPreview.js +133 -0
  7. package/dist/commonjs/funcs/servingEligibilityPreview.js.map +1 -0
  8. package/dist/commonjs/lib/config.d.ts +2 -2
  9. package/dist/commonjs/lib/config.js +2 -2
  10. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  11. package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
  12. package/dist/commonjs/mcp-server/server.js +3 -1
  13. package/dist/commonjs/mcp-server/server.js.map +1 -1
  14. package/dist/commonjs/mcp-server/tools/servingEligibilityPreview.d.ts +8 -0
  15. package/dist/commonjs/mcp-server/tools/servingEligibilityPreview.d.ts.map +1 -0
  16. package/dist/commonjs/mcp-server/tools/servingEligibilityPreview.js +64 -0
  17. package/dist/commonjs/mcp-server/tools/servingEligibilityPreview.js.map +1 -0
  18. package/dist/commonjs/models/components/acceleratorpriceband.d.ts +22 -0
  19. package/dist/commonjs/models/components/acceleratorpriceband.d.ts.map +1 -0
  20. package/dist/commonjs/models/components/acceleratorpriceband.js +60 -0
  21. package/dist/commonjs/models/components/acceleratorpriceband.js.map +1 -0
  22. package/dist/commonjs/models/components/acceleratortype.d.ts +22 -0
  23. package/dist/commonjs/models/components/acceleratortype.d.ts.map +1 -1
  24. package/dist/commonjs/models/components/acceleratortype.js +14 -0
  25. package/dist/commonjs/models/components/acceleratortype.js.map +1 -1
  26. package/dist/commonjs/models/components/acquirability.d.ts +20 -0
  27. package/dist/commonjs/models/components/acquirability.d.ts.map +1 -0
  28. package/dist/commonjs/models/components/acquirability.js +54 -0
  29. package/dist/commonjs/models/components/acquirability.js.map +1 -0
  30. package/dist/commonjs/models/components/eligibilitypreview.d.ts +73 -0
  31. package/dist/commonjs/models/components/eligibilitypreview.d.ts.map +1 -0
  32. package/dist/commonjs/models/components/eligibilitypreview.js +99 -0
  33. package/dist/commonjs/models/components/eligibilitypreview.js.map +1 -0
  34. package/dist/commonjs/models/components/eligibilitypriceband.d.ts +24 -0
  35. package/dist/commonjs/models/components/eligibilitypriceband.d.ts.map +1 -0
  36. package/dist/commonjs/models/components/eligibilitypriceband.js +62 -0
  37. package/dist/commonjs/models/components/eligibilitypriceband.js.map +1 -0
  38. package/dist/commonjs/models/components/eligibilityrequest.d.ts +28 -0
  39. package/dist/commonjs/models/components/eligibilityrequest.d.ts.map +1 -0
  40. package/dist/commonjs/models/components/eligibilityrequest.js +59 -0
  41. package/dist/commonjs/models/components/eligibilityrequest.js.map +1 -0
  42. package/dist/commonjs/models/components/index.d.ts +5 -0
  43. package/dist/commonjs/models/components/index.d.ts.map +1 -1
  44. package/dist/commonjs/models/components/index.js +5 -0
  45. package/dist/commonjs/models/components/index.js.map +1 -1
  46. package/dist/commonjs/models/components/replica.d.ts +30 -3
  47. package/dist/commonjs/models/components/replica.d.ts.map +1 -1
  48. package/dist/commonjs/models/components/replica.js +17 -3
  49. package/dist/commonjs/models/components/replica.js.map +1 -1
  50. package/dist/commonjs/models/operations/index.d.ts +1 -0
  51. package/dist/commonjs/models/operations/index.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/index.js +1 -0
  53. package/dist/commonjs/models/operations/index.js.map +1 -1
  54. package/dist/commonjs/models/operations/previeweligibility.d.ts +23 -0
  55. package/dist/commonjs/models/operations/previeweligibility.d.ts.map +1 -0
  56. package/dist/commonjs/models/operations/previeweligibility.js +72 -0
  57. package/dist/commonjs/models/operations/previeweligibility.js.map +1 -0
  58. package/dist/commonjs/react-query/index.d.ts +1 -0
  59. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  60. package/dist/commonjs/react-query/index.js +1 -0
  61. package/dist/commonjs/react-query/index.js.map +1 -1
  62. package/dist/commonjs/react-query/servingEligibilityPreview.d.ts +30 -0
  63. package/dist/commonjs/react-query/servingEligibilityPreview.d.ts.map +1 -0
  64. package/dist/commonjs/react-query/servingEligibilityPreview.js +47 -0
  65. package/dist/commonjs/react-query/servingEligibilityPreview.js.map +1 -0
  66. package/dist/commonjs/sdk/eligibility.d.ts +13 -0
  67. package/dist/commonjs/sdk/eligibility.d.ts.map +1 -0
  68. package/dist/commonjs/sdk/eligibility.js +22 -0
  69. package/dist/commonjs/sdk/eligibility.js.map +1 -0
  70. package/dist/commonjs/sdk/serving.d.ts +3 -0
  71. package/dist/commonjs/sdk/serving.d.ts.map +1 -1
  72. package/dist/commonjs/sdk/serving.js +4 -0
  73. package/dist/commonjs/sdk/serving.js.map +1 -1
  74. package/dist/esm/funcs/servingEligibilityPreview.d.ts +19 -0
  75. package/dist/esm/funcs/servingEligibilityPreview.d.ts.map +1 -0
  76. package/dist/esm/funcs/servingEligibilityPreview.js +97 -0
  77. package/dist/esm/funcs/servingEligibilityPreview.js.map +1 -0
  78. package/dist/esm/lib/config.d.ts +2 -2
  79. package/dist/esm/lib/config.js +2 -2
  80. package/dist/esm/mcp-server/mcp-server.js +1 -1
  81. package/dist/esm/mcp-server/server.d.ts.map +1 -1
  82. package/dist/esm/mcp-server/server.js +3 -1
  83. package/dist/esm/mcp-server/server.js.map +1 -1
  84. package/dist/esm/mcp-server/tools/servingEligibilityPreview.d.ts +8 -0
  85. package/dist/esm/mcp-server/tools/servingEligibilityPreview.d.ts.map +1 -0
  86. package/dist/esm/mcp-server/tools/servingEligibilityPreview.js +28 -0
  87. package/dist/esm/mcp-server/tools/servingEligibilityPreview.js.map +1 -0
  88. package/dist/esm/models/components/acceleratorpriceband.d.ts +22 -0
  89. package/dist/esm/models/components/acceleratorpriceband.d.ts.map +1 -0
  90. package/dist/esm/models/components/acceleratorpriceband.js +22 -0
  91. package/dist/esm/models/components/acceleratorpriceband.js.map +1 -0
  92. package/dist/esm/models/components/acceleratortype.d.ts +22 -0
  93. package/dist/esm/models/components/acceleratortype.d.ts.map +1 -1
  94. package/dist/esm/models/components/acceleratortype.js +14 -0
  95. package/dist/esm/models/components/acceleratortype.js.map +1 -1
  96. package/dist/esm/models/components/acquirability.d.ts +20 -0
  97. package/dist/esm/models/components/acquirability.d.ts.map +1 -0
  98. package/dist/esm/models/components/acquirability.js +18 -0
  99. package/dist/esm/models/components/acquirability.js.map +1 -0
  100. package/dist/esm/models/components/eligibilitypreview.d.ts +73 -0
  101. package/dist/esm/models/components/eligibilitypreview.d.ts.map +1 -0
  102. package/dist/esm/models/components/eligibilitypreview.js +61 -0
  103. package/dist/esm/models/components/eligibilitypreview.js.map +1 -0
  104. package/dist/esm/models/components/eligibilitypriceband.d.ts +24 -0
  105. package/dist/esm/models/components/eligibilitypriceband.d.ts.map +1 -0
  106. package/dist/esm/models/components/eligibilitypriceband.js +24 -0
  107. package/dist/esm/models/components/eligibilitypriceband.js.map +1 -0
  108. package/dist/esm/models/components/eligibilityrequest.d.ts +28 -0
  109. package/dist/esm/models/components/eligibilityrequest.d.ts.map +1 -0
  110. package/dist/esm/models/components/eligibilityrequest.js +21 -0
  111. package/dist/esm/models/components/eligibilityrequest.js.map +1 -0
  112. package/dist/esm/models/components/index.d.ts +5 -0
  113. package/dist/esm/models/components/index.d.ts.map +1 -1
  114. package/dist/esm/models/components/index.js +5 -0
  115. package/dist/esm/models/components/index.js.map +1 -1
  116. package/dist/esm/models/components/replica.d.ts +30 -3
  117. package/dist/esm/models/components/replica.d.ts.map +1 -1
  118. package/dist/esm/models/components/replica.js +16 -2
  119. package/dist/esm/models/components/replica.js.map +1 -1
  120. package/dist/esm/models/operations/index.d.ts +1 -0
  121. package/dist/esm/models/operations/index.d.ts.map +1 -1
  122. package/dist/esm/models/operations/index.js +1 -0
  123. package/dist/esm/models/operations/index.js.map +1 -1
  124. package/dist/esm/models/operations/previeweligibility.d.ts +23 -0
  125. package/dist/esm/models/operations/previeweligibility.d.ts.map +1 -0
  126. package/dist/esm/models/operations/previeweligibility.js +34 -0
  127. package/dist/esm/models/operations/previeweligibility.js.map +1 -0
  128. package/dist/esm/react-query/index.d.ts +1 -0
  129. package/dist/esm/react-query/index.d.ts.map +1 -1
  130. package/dist/esm/react-query/index.js +1 -0
  131. package/dist/esm/react-query/index.js.map +1 -1
  132. package/dist/esm/react-query/servingEligibilityPreview.d.ts +30 -0
  133. package/dist/esm/react-query/servingEligibilityPreview.d.ts.map +1 -0
  134. package/dist/esm/react-query/servingEligibilityPreview.js +42 -0
  135. package/dist/esm/react-query/servingEligibilityPreview.js.map +1 -0
  136. package/dist/esm/sdk/eligibility.d.ts +13 -0
  137. package/dist/esm/sdk/eligibility.d.ts.map +1 -0
  138. package/dist/esm/sdk/eligibility.js +18 -0
  139. package/dist/esm/sdk/eligibility.js.map +1 -0
  140. package/dist/esm/sdk/serving.d.ts +3 -0
  141. package/dist/esm/sdk/serving.d.ts.map +1 -1
  142. package/dist/esm/sdk/serving.js +4 -0
  143. package/dist/esm/sdk/serving.js.map +1 -1
  144. package/jsr.json +1 -1
  145. package/package.json +1 -1
  146. package/src/funcs/servingEligibilityPreview.ts +193 -0
  147. package/src/lib/config.ts +2 -2
  148. package/src/mcp-server/mcp-server.ts +1 -1
  149. package/src/mcp-server/server.ts +3 -1
  150. package/src/mcp-server/tools/servingEligibilityPreview.ts +37 -0
  151. package/src/models/components/acceleratorpriceband.ts +58 -0
  152. package/src/models/components/acceleratortype.ts +43 -0
  153. package/src/models/components/acquirability.ts +29 -0
  154. package/src/models/components/eligibilitypreview.ts +145 -0
  155. package/src/models/components/eligibilitypriceband.ts +62 -0
  156. package/src/models/components/eligibilityrequest.ts +67 -0
  157. package/src/models/components/index.ts +5 -0
  158. package/src/models/components/replica.ts +38 -5
  159. package/src/models/operations/index.ts +1 -0
  160. package/src/models/operations/previeweligibility.ts +70 -0
  161. package/src/react-query/index.ts +1 -0
  162. package/src/react-query/servingEligibilityPreview.ts +113 -0
  163. package/src/sdk/eligibility.ts +28 -0
  164. package/src/sdk/serving.ts +6 -0
package/bin/mcp-server.js CHANGED
@@ -52876,9 +52876,9 @@ var init_config = __esm(() => {
52876
52876
  SDK_METADATA = {
52877
52877
  language: "typescript",
52878
52878
  openapiDocVersion: "1.1.0",
52879
- sdkVersion: "0.51.13",
52879
+ sdkVersion: "0.51.15",
52880
52880
  genVersion: "2.918.4",
52881
- userAgent: "speakeasy-sdk/typescript 0.51.13 2.918.4 1.1.0 @meetkai/mka1"
52881
+ userAgent: "speakeasy-sdk/typescript 0.51.15 2.918.4 1.1.0 @meetkai/mka1"
52882
52882
  };
52883
52883
  });
52884
52884
 
@@ -54484,6 +54484,20 @@ var init_security = __esm(() => {
54484
54484
  };
54485
54485
  });
54486
54486
 
54487
+ // src/models/components/acceleratorpriceband.ts
54488
+ var AcceleratorPriceBand$inboundSchema, AcceleratorPriceBand$outboundSchema;
54489
+ var init_acceleratorpriceband = __esm(() => {
54490
+ init_esm();
54491
+ AcceleratorPriceBand$inboundSchema = objectType({
54492
+ min: numberType(),
54493
+ p50: numberType()
54494
+ });
54495
+ AcceleratorPriceBand$outboundSchema = objectType({
54496
+ min: numberType(),
54497
+ p50: numberType()
54498
+ });
54499
+ });
54500
+
54487
54501
  // src/models/components/acceleratorspec.ts
54488
54502
  var AcceleratorSpec$inboundSchema, AcceleratorSpec$outboundSchema;
54489
54503
  var init_acceleratorspec = __esm(() => {
@@ -54500,11 +54514,27 @@ var init_acceleratorspec = __esm(() => {
54500
54514
  });
54501
54515
  });
54502
54516
 
54517
+ // src/models/components/acquirability.ts
54518
+ var Acquirability, Acquirability$inboundSchema, Acquirability$outboundSchema;
54519
+ var init_acquirability = __esm(() => {
54520
+ init_esm();
54521
+ Acquirability = {
54522
+ High: "high",
54523
+ Medium: "medium",
54524
+ Low: "low",
54525
+ Unknown: "unknown"
54526
+ };
54527
+ Acquirability$inboundSchema = nativeEnumType(Acquirability);
54528
+ Acquirability$outboundSchema = Acquirability$inboundSchema;
54529
+ });
54530
+
54503
54531
  // src/models/components/acceleratortype.ts
54504
54532
  var Kind, Kind$inboundSchema, Kind$outboundSchema, AcceleratorType$inboundSchema, AcceleratorType$outboundSchema;
54505
54533
  var init_acceleratortype = __esm(() => {
54506
54534
  init_esm();
54507
54535
  init_primitives();
54536
+ init_acceleratorpriceband();
54537
+ init_acquirability();
54508
54538
  Kind = {
54509
54539
  Gpu: "gpu",
54510
54540
  Npu: "npu",
@@ -54514,27 +54544,39 @@ var init_acceleratortype = __esm(() => {
54514
54544
  Kind$inboundSchema = nativeEnumType(Kind);
54515
54545
  Kind$outboundSchema = Kind$inboundSchema;
54516
54546
  AcceleratorType$inboundSchema = objectType({
54547
+ acquirability: Acquirability$inboundSchema.optional(),
54548
+ acquirable_count: numberType().int().optional(),
54517
54549
  kind: Kind$inboundSchema.default("gpu"),
54518
54550
  max_count: numberType().int(),
54519
54551
  memory_gb: numberType().int(),
54520
54552
  name: stringType(),
54553
+ offered: booleanType().optional(),
54554
+ price_usd_hr: AcceleratorPriceBand$inboundSchema.optional(),
54521
54555
  vendor: stringType()
54522
54556
  }).transform((v2) => {
54523
54557
  return remap(v2, {
54558
+ acquirable_count: "acquirableCount",
54524
54559
  max_count: "maxCount",
54525
- memory_gb: "memoryGb"
54560
+ memory_gb: "memoryGb",
54561
+ price_usd_hr: "priceUsdHr"
54526
54562
  });
54527
54563
  });
54528
54564
  AcceleratorType$outboundSchema = objectType({
54565
+ acquirability: Acquirability$outboundSchema.optional(),
54566
+ acquirableCount: numberType().int().optional(),
54529
54567
  kind: Kind$outboundSchema.default("gpu"),
54530
54568
  maxCount: numberType().int(),
54531
54569
  memoryGb: numberType().int(),
54532
54570
  name: stringType(),
54571
+ offered: booleanType().optional(),
54572
+ priceUsdHr: AcceleratorPriceBand$outboundSchema.optional(),
54533
54573
  vendor: stringType()
54534
54574
  }).transform((v2) => {
54535
54575
  return remap(v2, {
54576
+ acquirableCount: "acquirable_count",
54536
54577
  maxCount: "max_count",
54537
- memoryGb: "memory_gb"
54578
+ memoryGb: "memory_gb",
54579
+ priceUsdHr: "price_usd_hr"
54538
54580
  });
54539
54581
  });
54540
54582
  });
@@ -63812,6 +63854,82 @@ var init_effectivepricesresponse = __esm(() => {
63812
63854
  });
63813
63855
  });
63814
63856
 
63857
+ // src/models/components/eligibilitypriceband.ts
63858
+ var EligibilityPriceBand$inboundSchema, EligibilityPriceBand$outboundSchema;
63859
+ var init_eligibilitypriceband = __esm(() => {
63860
+ init_esm();
63861
+ EligibilityPriceBand$inboundSchema = objectType({
63862
+ max: numberType(),
63863
+ min: numberType(),
63864
+ p50: numberType()
63865
+ });
63866
+ EligibilityPriceBand$outboundSchema = objectType({
63867
+ max: numberType(),
63868
+ min: numberType(),
63869
+ p50: numberType()
63870
+ });
63871
+ });
63872
+
63873
+ // src/models/components/eligibilitypreview.ts
63874
+ var EstStart, EstStart$inboundSchema, EstStart$outboundSchema, EligibilityPreview$inboundSchema, EligibilityPreview$outboundSchema;
63875
+ var init_eligibilitypreview = __esm(() => {
63876
+ init_esm();
63877
+ init_primitives();
63878
+ init_acquirability();
63879
+ init_eligibilitypriceband();
63880
+ EstStart = {
63881
+ Immediate: "immediate",
63882
+ Minutes: "minutes",
63883
+ Queued: "queued",
63884
+ Unknown: "unknown"
63885
+ };
63886
+ EstStart$inboundSchema = nativeEnumType(EstStart);
63887
+ EstStart$outboundSchema = EstStart$inboundSchema;
63888
+ EligibilityPreview$inboundSchema = objectType({
63889
+ acquirability: Acquirability$inboundSchema,
63890
+ acquirable_now: numberType().int(),
63891
+ advice: arrayType(stringType()),
63892
+ eligible: booleanType(),
63893
+ est_start: EstStart$inboundSchema,
63894
+ price_usd_hr: EligibilityPriceBand$inboundSchema.optional(),
63895
+ watchable: numberType().int()
63896
+ }).transform((v2) => {
63897
+ return remap(v2, {
63898
+ acquirable_now: "acquirableNow",
63899
+ est_start: "estStart",
63900
+ price_usd_hr: "priceUsdHr"
63901
+ });
63902
+ });
63903
+ EligibilityPreview$outboundSchema = objectType({
63904
+ acquirability: Acquirability$outboundSchema,
63905
+ acquirableNow: numberType().int(),
63906
+ advice: arrayType(stringType()),
63907
+ eligible: booleanType(),
63908
+ estStart: EstStart$outboundSchema,
63909
+ priceUsdHr: EligibilityPriceBand$outboundSchema.optional(),
63910
+ watchable: numberType().int()
63911
+ }).transform((v2) => {
63912
+ return remap(v2, {
63913
+ acquirableNow: "acquirable_now",
63914
+ estStart: "est_start",
63915
+ priceUsdHr: "price_usd_hr"
63916
+ });
63917
+ });
63918
+ });
63919
+
63920
+ // src/models/components/eligibilityrequest.ts
63921
+ var EligibilityRequest$inboundSchema, EligibilityRequest$outboundSchema;
63922
+ var init_eligibilityrequest = __esm(() => {
63923
+ init_esm();
63924
+ init_acceleratorspec();
63925
+ EligibilityRequest$inboundSchema = objectType({
63926
+ accelerator: AcceleratorSpec$inboundSchema
63927
+ });
63928
+ EligibilityRequest$outboundSchema = objectType({
63929
+ accelerator: AcceleratorSpec$outboundSchema
63930
+ });
63931
+ });
63932
+
63815
63933
  // src/models/components/embeddingmodellimits.ts
63816
63934
  var EmbeddingModelLimits$inboundSchema, EmbeddingModelLimits$outboundSchema;
63817
63935
  var init_embeddingmodellimits = __esm(() => {
@@ -69875,20 +69993,27 @@ var init_pagemodel = __esm(() => {
69875
69993
  });
69876
69994
 
69877
69995
  // src/models/components/replica.ts
69878
- var Replica$inboundSchema, Replica$outboundSchema;
69996
+ var Placement, Placement$inboundSchema, Placement$outboundSchema, Replica$inboundSchema, Replica$outboundSchema;
69879
69997
  var init_replica = __esm(() => {
69880
69998
  init_esm();
69881
69999
  init_primitives();
69882
70000
  init_deploymentacceleratorspec();
70001
+ Placement = {
70002
+ Internal: "internal",
70003
+ External: "external"
70004
+ };
70005
+ Placement$inboundSchema = nativeEnumType(Placement);
70006
+ Placement$outboundSchema = Placement$inboundSchema;
69883
70007
  Replica$inboundSchema = objectType({
69884
70008
  accelerator: DeploymentAcceleratorSpec$inboundSchema,
69885
70009
  id: stringType(),
69886
- node: nullableType(stringType()).optional(),
70010
+ placement: Placement$inboundSchema,
69887
70011
  price_usd_hr: numberType().optional(),
69888
70012
  provider: stringType().optional(),
69889
70013
  region: stringType().optional(),
69890
70014
  started_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
69891
- status: stringType()
70015
+ status: stringType(),
70016
+ zone: stringType()
69892
70017
  }).transform((v2) => {
69893
70018
  return remap(v2, {
69894
70019
  price_usd_hr: "priceUsdHr",
@@ -69898,12 +70023,13 @@ var init_replica = __esm(() => {
69898
70023
  Replica$outboundSchema = objectType({
69899
70024
  accelerator: DeploymentAcceleratorSpec$outboundSchema,
69900
70025
  id: stringType(),
69901
- node: nullableType(stringType()).optional(),
70026
+ placement: Placement$outboundSchema,
69902
70027
  priceUsdHr: numberType().optional(),
69903
70028
  provider: stringType().optional(),
69904
70029
  region: stringType().optional(),
69905
70030
  startedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
69906
- status: stringType()
70031
+ status: stringType(),
70032
+ zone: stringType()
69907
70033
  }).transform((v2) => {
69908
70034
  return remap(v2, {
69909
70035
  priceUsdHr: "price_usd_hr",
@@ -76982,6 +77108,7 @@ var init_workspacemanifest = __esm(() => {
76982
77108
 
76983
77109
  // src/models/components/index.ts
76984
77110
  var init_components = __esm(() => {
77111
+ init_acceleratorpriceband();
76985
77112
  init_acceleratorspec();
76986
77113
  init_acceleratortype();
76987
77114
  init_accessentry();
@@ -76989,6 +77116,7 @@ var init_components = __esm(() => {
76989
77116
  init_accessmutationrequest();
76990
77117
  init_accessmutationresponse();
76991
77118
  init_acknowledgedsafetycheck();
77119
+ init_acquirability();
76992
77120
  init_activateregistryentryrequest();
76993
77121
  init_addcatalogmodelrequest();
76994
77122
  init_agent();
@@ -77129,6 +77257,9 @@ var init_components = __esm(() => {
77129
77257
  init_dragaction();
77130
77258
  init_effectivepricerow();
77131
77259
  init_effectivepricesresponse();
77260
+ init_eligibilitypreview();
77261
+ init_eligibilitypriceband();
77262
+ init_eligibilityrequest();
77132
77263
  init_embeddingmodel();
77133
77264
  init_embeddingmodellimits();
77134
77265
  init_embeddingmodellistresponse();
@@ -95251,6 +95382,32 @@ var init_pausefinetuningjob = __esm(() => {
95251
95382
  });
95252
95383
  });
95253
95384
 
95385
+ // src/models/operations/previeweligibility.ts
95386
+ var PreviewEligibilityRequest$inboundSchema, PreviewEligibilityRequest$outboundSchema;
95387
+ var init_previeweligibility = __esm(() => {
95388
+ init_esm();
95389
+ init_primitives();
95390
+ init_components();
95391
+ PreviewEligibilityRequest$inboundSchema = objectType({
95392
+ "X-On-Behalf-Of": stringType().optional(),
95393
+ EligibilityRequest: EligibilityRequest$inboundSchema
95394
+ }).transform((v2) => {
95395
+ return remap(v2, {
95396
+ "X-On-Behalf-Of": "xOnBehalfOf",
95397
+ EligibilityRequest: "eligibilityRequest"
95398
+ });
95399
+ });
95400
+ PreviewEligibilityRequest$outboundSchema = objectType({
95401
+ xOnBehalfOf: stringType().optional(),
95402
+ eligibilityRequest: EligibilityRequest$outboundSchema
95403
+ }).transform((v2) => {
95404
+ return remap(v2, {
95405
+ xOnBehalfOf: "X-On-Behalf-Of",
95406
+ eligibilityRequest: "EligibilityRequest"
95407
+ });
95408
+ });
95409
+ });
95410
+
95254
95411
  // src/models/operations/proxybrowserportrequest.ts
95255
95412
  var ProxyBrowserPortRequestRequest$inboundSchema, ProxyBrowserPortRequestRequest$outboundSchema;
95256
95413
  var init_proxybrowserportrequest = __esm(() => {
@@ -99074,6 +99231,7 @@ var init_operations = __esm(() => {
99074
99231
  init_modifyvectorstore();
99075
99232
  init_pauseagentschedule();
99076
99233
  init_pausefinetuningjob();
99234
+ init_previeweligibility();
99077
99235
  init_proxybrowserportrequest();
99078
99236
  init_putorgautomodel();
99079
99237
  init_regeneratescopedapikey2();
@@ -134635,11 +134793,128 @@ Change a deployment's autoscaling limits in place, without redeploying.`,
134635
134793
  };
134636
134794
  });
134637
134795
 
134638
- // src/funcs/servingFinetuneJobsCancel.ts
134639
- function servingFinetuneJobsCancel(client, request, options) {
134796
+ // src/funcs/servingEligibilityPreview.ts
134797
+ function servingEligibilityPreview(client, request, options) {
134640
134798
  return new APIPromise($do302(client, request, options));
134641
134799
  }
134642
134800
  async function $do302(client, request, options) {
134801
+ const parsed = safeParse4(request, (value) => PreviewEligibilityRequest$outboundSchema.parse(value), "Input validation failed");
134802
+ if (!parsed.ok) {
134803
+ return [parsed, { status: "invalid" }];
134804
+ }
134805
+ const payload = parsed.value;
134806
+ const body = encodeJSON("body", payload.EligibilityRequest, {
134807
+ explode: true
134808
+ });
134809
+ const path = pathToFunc("/api/v1/serving/eligibility")();
134810
+ const headers = new Headers(compactMap({
134811
+ "Content-Type": "application/json",
134812
+ Accept: "application/json",
134813
+ "X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
134814
+ }));
134815
+ const secConfig = await extractSecurity(client._options.bearerAuth);
134816
+ const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
134817
+ const requestSecurity = resolveGlobalSecurity(securityInput);
134818
+ const context = {
134819
+ options: client._options,
134820
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
134821
+ operationID: "previewEligibility",
134822
+ oAuth2Scopes: null,
134823
+ resolvedSecurity: requestSecurity,
134824
+ securitySource: client._options.bearerAuth,
134825
+ retryConfig: options?.retries || client._options.retryConfig || {
134826
+ strategy: "backoff",
134827
+ backoff: {
134828
+ initialInterval: 500,
134829
+ maxInterval: 5000,
134830
+ exponent: 1.5,
134831
+ maxElapsedTime: 15000
134832
+ },
134833
+ retryConnectionErrors: true
134834
+ },
134835
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
134836
+ };
134837
+ const requestRes = client._createRequest(context, {
134838
+ security: requestSecurity,
134839
+ method: "POST",
134840
+ baseURL: options?.serverURL,
134841
+ path,
134842
+ headers,
134843
+ body,
134844
+ userAgent: client._options.userAgent,
134845
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
134846
+ }, options);
134847
+ if (!requestRes.ok) {
134848
+ return [requestRes, { status: "invalid" }];
134849
+ }
134850
+ const req = requestRes.value;
134851
+ const doResult = await client._do(req, {
134852
+ context,
134853
+ isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
134854
+ retryConfig: context.retryConfig,
134855
+ retryCodes: context.retryCodes
134856
+ });
134857
+ if (!doResult.ok) {
134858
+ return [doResult, { status: "request-error", request: req }];
134859
+ }
134860
+ const response = doResult.value;
134861
+ const responseFields = {
134862
+ HttpMeta: { Response: response, Request: req }
134863
+ };
134864
+ const [result] = await match(json(200, EligibilityPreview$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
134865
+ if (!result.ok) {
134866
+ return [result, { status: "complete", request: req, response }];
134867
+ }
134868
+ return [result, { status: "complete", request: req, response }];
134869
+ }
134870
+ var init_servingEligibilityPreview = __esm(() => {
134871
+ init_encodings();
134872
+ init_http();
134873
+ init_matchers();
134874
+ init_primitives();
134875
+ init_schemas4();
134876
+ init_security();
134877
+ init_url();
134878
+ init_components();
134879
+ init_errors4();
134880
+ init_operations();
134881
+ init_async();
134882
+ });
134883
+
134884
+ // src/mcp-server/tools/servingEligibilityPreview.ts
134885
+ var args293, tool$servingEligibilityPreview;
134886
+ var init_servingEligibilityPreview2 = __esm(() => {
134887
+ init_servingEligibilityPreview();
134888
+ init_operations();
134889
+ init_tools();
134890
+ args293 = {
134891
+ request: PreviewEligibilityRequest$inboundSchema
134892
+ };
134893
+ tool$servingEligibilityPreview = {
134894
+ name: "serving-eligibility-preview",
134895
+ description: `Preview accelerator eligibility
134896
+
134897
+ Preview, before submitting a job or deployment, how much matching capacity the cluster can currently acquire and how likely it is to start. The response is provider-anonymous: counts, price bands, and advice only. This is an advisory read; it reserves nothing.`,
134898
+ args: args293,
134899
+ tool: async (client, args294, ctx) => {
134900
+ const [result, apiCall] = await servingEligibilityPreview(client, args294.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134901
+ if (!result.ok) {
134902
+ return {
134903
+ content: [{ type: "text", text: result.error.message }],
134904
+ isError: true
134905
+ };
134906
+ }
134907
+ const value = result.value;
134908
+ return formatResult(value, apiCall);
134909
+ }
134910
+ };
134911
+ });
134912
+
134913
+ // src/funcs/servingFinetuneJobsCancel.ts
134914
+ function servingFinetuneJobsCancel(client, request, options) {
134915
+ return new APIPromise($do303(client, request, options));
134916
+ }
134917
+ async function $do303(client, request, options) {
134643
134918
  const parsed = safeParse4(request, (value) => CancelFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
134644
134919
  if (!parsed.ok) {
134645
134920
  return [parsed, { status: "invalid" }];
@@ -134727,12 +135002,12 @@ var init_servingFinetuneJobsCancel = __esm(() => {
134727
135002
  });
134728
135003
 
134729
135004
  // src/mcp-server/tools/servingFinetuneJobsCancel.ts
134730
- var args293, tool$servingFinetuneJobsCancel;
135005
+ var args294, tool$servingFinetuneJobsCancel;
134731
135006
  var init_servingFinetuneJobsCancel2 = __esm(() => {
134732
135007
  init_servingFinetuneJobsCancel();
134733
135008
  init_operations();
134734
135009
  init_tools();
134735
- args293 = {
135010
+ args294 = {
134736
135011
  request: CancelFinetuneJobRequest$inboundSchema
134737
135012
  };
134738
135013
  tool$servingFinetuneJobsCancel = {
@@ -134740,9 +135015,9 @@ var init_servingFinetuneJobsCancel2 = __esm(() => {
134740
135015
  description: `Cancel a fine-tune job
134741
135016
 
134742
135017
  Cancel a running fine-tune job.`,
134743
- args: args293,
134744
- tool: async (client, args294, ctx) => {
134745
- const [result, apiCall] = await servingFinetuneJobsCancel(client, args294.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135018
+ args: args294,
135019
+ tool: async (client, args295, ctx) => {
135020
+ const [result, apiCall] = await servingFinetuneJobsCancel(client, args295.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134746
135021
  if (!result.ok) {
134747
135022
  return {
134748
135023
  content: [{ type: "text", text: result.error.message }],
@@ -134756,9 +135031,9 @@ Cancel a running fine-tune job.`,
134756
135031
 
134757
135032
  // src/funcs/servingFinetuneJobsCreate.ts
134758
135033
  function servingFinetuneJobsCreate(client, request, options) {
134759
- return new APIPromise($do303(client, request, options));
135034
+ return new APIPromise($do304(client, request, options));
134760
135035
  }
134761
- async function $do303(client, request, options) {
135036
+ async function $do304(client, request, options) {
134762
135037
  const parsed = safeParse4(request, (value) => CreateFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
134763
135038
  if (!parsed.ok) {
134764
135039
  return [parsed, { status: "invalid" }];
@@ -134841,12 +135116,12 @@ var init_servingFinetuneJobsCreate = __esm(() => {
134841
135116
  });
134842
135117
 
134843
135118
  // src/mcp-server/tools/servingFinetuneJobsCreate.ts
134844
- var args294, tool$servingFinetuneJobsCreate;
135119
+ var args295, tool$servingFinetuneJobsCreate;
134845
135120
  var init_servingFinetuneJobsCreate2 = __esm(() => {
134846
135121
  init_servingFinetuneJobsCreate();
134847
135122
  init_operations();
134848
135123
  init_tools();
134849
- args294 = {
135124
+ args295 = {
134850
135125
  request: CreateFinetuneJobRequest$inboundSchema
134851
135126
  };
134852
135127
  tool$servingFinetuneJobsCreate = {
@@ -134854,9 +135129,9 @@ var init_servingFinetuneJobsCreate2 = __esm(() => {
134854
135129
  description: `Submit a fine-tune job
134855
135130
 
134856
135131
  Submit a fine-tune job for a base model and dataset, and return its id.`,
134857
- args: args294,
134858
- tool: async (client, args295, ctx) => {
134859
- const [result, apiCall] = await servingFinetuneJobsCreate(client, args295.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135132
+ args: args295,
135133
+ tool: async (client, args296, ctx) => {
135134
+ const [result, apiCall] = await servingFinetuneJobsCreate(client, args296.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134860
135135
  if (!result.ok) {
134861
135136
  return {
134862
135137
  content: [{ type: "text", text: result.error.message }],
@@ -134871,9 +135146,9 @@ Submit a fine-tune job for a base model and dataset, and return its id.`,
134871
135146
 
134872
135147
  // src/funcs/servingFinetuneJobsGet.ts
134873
135148
  function servingFinetuneJobsGet(client, request, options) {
134874
- return new APIPromise($do304(client, request, options));
135149
+ return new APIPromise($do305(client, request, options));
134875
135150
  }
134876
- async function $do304(client, request, options) {
135151
+ async function $do305(client, request, options) {
134877
135152
  const parsed = safeParse4(request, (value) => GetFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
134878
135153
  if (!parsed.ok) {
134879
135154
  return [parsed, { status: "invalid" }];
@@ -134961,12 +135236,12 @@ var init_servingFinetuneJobsGet = __esm(() => {
134961
135236
  });
134962
135237
 
134963
135238
  // src/mcp-server/tools/servingFinetuneJobsGet.ts
134964
- var args295, tool$servingFinetuneJobsGet;
135239
+ var args296, tool$servingFinetuneJobsGet;
134965
135240
  var init_servingFinetuneJobsGet2 = __esm(() => {
134966
135241
  init_servingFinetuneJobsGet();
134967
135242
  init_operations();
134968
135243
  init_tools();
134969
- args295 = {
135244
+ args296 = {
134970
135245
  request: GetFinetuneJobRequest$inboundSchema
134971
135246
  };
134972
135247
  tool$servingFinetuneJobsGet = {
@@ -134974,9 +135249,9 @@ var init_servingFinetuneJobsGet2 = __esm(() => {
134974
135249
  description: `Get a fine-tune job
134975
135250
 
134976
135251
  Retrieve a fine-tune job, including its status and progress.`,
134977
- args: args295,
134978
- tool: async (client, args296, ctx) => {
134979
- const [result, apiCall] = await servingFinetuneJobsGet(client, args296.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135252
+ args: args296,
135253
+ tool: async (client, args297, ctx) => {
135254
+ const [result, apiCall] = await servingFinetuneJobsGet(client, args297.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
134980
135255
  if (!result.ok) {
134981
135256
  return {
134982
135257
  content: [{ type: "text", text: result.error.message }],
@@ -134991,9 +135266,9 @@ Retrieve a fine-tune job, including its status and progress.`,
134991
135266
 
134992
135267
  // src/funcs/servingFinetuneJobsGetEvents.ts
134993
135268
  function servingFinetuneJobsGetEvents(client, request, options) {
134994
- return new APIPromise($do305(client, request, options));
135269
+ return new APIPromise($do306(client, request, options));
134995
135270
  }
134996
- async function $do305(client, request, options) {
135271
+ async function $do306(client, request, options) {
134997
135272
  const parsed = safeParse4(request, (value) => GetFinetuneEventsRequest$outboundSchema.parse(value), "Input validation failed");
134998
135273
  if (!parsed.ok) {
134999
135274
  return [parsed, { status: "invalid" }];
@@ -135086,12 +135361,12 @@ var init_servingFinetuneJobsGetEvents = __esm(() => {
135086
135361
  });
135087
135362
 
135088
135363
  // src/mcp-server/tools/servingFinetuneJobsGetEvents.ts
135089
- var args296, tool$servingFinetuneJobsGetEvents;
135364
+ var args297, tool$servingFinetuneJobsGetEvents;
135090
135365
  var init_servingFinetuneJobsGetEvents2 = __esm(() => {
135091
135366
  init_servingFinetuneJobsGetEvents();
135092
135367
  init_operations();
135093
135368
  init_tools();
135094
- args296 = {
135369
+ args297 = {
135095
135370
  request: GetFinetuneEventsRequest$inboundSchema
135096
135371
  };
135097
135372
  tool$servingFinetuneJobsGetEvents = {
@@ -135099,9 +135374,9 @@ var init_servingFinetuneJobsGetEvents2 = __esm(() => {
135099
135374
  description: `Status timeline
135100
135375
 
135101
135376
  Return the job's status timeline (queued, running, checkpoints, completion).`,
135102
- args: args296,
135103
- tool: async (client, args297, ctx) => {
135104
- const [result, apiCall] = await servingFinetuneJobsGetEvents(client, args297.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135377
+ args: args297,
135378
+ tool: async (client, args298, ctx) => {
135379
+ const [result, apiCall] = await servingFinetuneJobsGetEvents(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135105
135380
  if (!result.ok) {
135106
135381
  return {
135107
135382
  content: [{ type: "text", text: result.error.message }],
@@ -135116,9 +135391,9 @@ Return the job's status timeline (queued, running, checkpoints, completion).`,
135116
135391
 
135117
135392
  // src/funcs/servingFinetuneJobsGetLogs.ts
135118
135393
  function servingFinetuneJobsGetLogs(client, request, options) {
135119
- return new APIPromise($do306(client, request, options));
135394
+ return new APIPromise($do307(client, request, options));
135120
135395
  }
135121
- async function $do306(client, request, options) {
135396
+ async function $do307(client, request, options) {
135122
135397
  const parsed = safeParse4(request, (value) => GetFinetuneLogsRequest$outboundSchema.parse(value), "Input validation failed");
135123
135398
  if (!parsed.ok) {
135124
135399
  return [parsed, { status: "invalid" }];
@@ -135211,12 +135486,12 @@ var init_servingFinetuneJobsGetLogs = __esm(() => {
135211
135486
  });
135212
135487
 
135213
135488
  // src/mcp-server/tools/servingFinetuneJobsGetLogs.ts
135214
- var args297, tool$servingFinetuneJobsGetLogs;
135489
+ var args298, tool$servingFinetuneJobsGetLogs;
135215
135490
  var init_servingFinetuneJobsGetLogs2 = __esm(() => {
135216
135491
  init_servingFinetuneJobsGetLogs();
135217
135492
  init_operations();
135218
135493
  init_tools();
135219
- args297 = {
135494
+ args298 = {
135220
135495
  request: GetFinetuneLogsRequest$inboundSchema
135221
135496
  };
135222
135497
  tool$servingFinetuneJobsGetLogs = {
@@ -135224,9 +135499,9 @@ var init_servingFinetuneJobsGetLogs2 = __esm(() => {
135224
135499
  description: `Fetch training logs
135225
135500
 
135226
135501
  Fetch recent training log lines for a job.`,
135227
- args: args297,
135228
- tool: async (client, args298, ctx) => {
135229
- const [result, apiCall] = await servingFinetuneJobsGetLogs(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135502
+ args: args298,
135503
+ tool: async (client, args299, ctx) => {
135504
+ const [result, apiCall] = await servingFinetuneJobsGetLogs(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135230
135505
  if (!result.ok) {
135231
135506
  return {
135232
135507
  content: [{ type: "text", text: result.error.message }],
@@ -135241,9 +135516,9 @@ Fetch recent training log lines for a job.`,
135241
135516
 
135242
135517
  // src/funcs/servingFinetuneJobsGetMetrics.ts
135243
135518
  function servingFinetuneJobsGetMetrics(client, request, options) {
135244
- return new APIPromise($do307(client, request, options));
135519
+ return new APIPromise($do308(client, request, options));
135245
135520
  }
135246
- async function $do307(client, request, options) {
135521
+ async function $do308(client, request, options) {
135247
135522
  const parsed = safeParse4(request, (value) => GetFinetuneMetricsRequest$outboundSchema.parse(value), "Input validation failed");
135248
135523
  if (!parsed.ok) {
135249
135524
  return [parsed, { status: "invalid" }];
@@ -135332,12 +135607,12 @@ var init_servingFinetuneJobsGetMetrics = __esm(() => {
135332
135607
  });
135333
135608
 
135334
135609
  // src/mcp-server/tools/servingFinetuneJobsGetMetrics.ts
135335
- var args298, tool$servingFinetuneJobsGetMetrics;
135610
+ var args299, tool$servingFinetuneJobsGetMetrics;
135336
135611
  var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
135337
135612
  init_servingFinetuneJobsGetMetrics();
135338
135613
  init_operations();
135339
135614
  init_tools();
135340
- args298 = {
135615
+ args299 = {
135341
135616
  request: GetFinetuneMetricsRequest$inboundSchema
135342
135617
  };
135343
135618
  tool$servingFinetuneJobsGetMetrics = {
@@ -135345,9 +135620,9 @@ var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
135345
135620
  description: `Training metrics
135346
135621
 
135347
135622
  Return the training metric series (loss, learning rate, ...) pushed by the training run.`,
135348
- args: args298,
135349
- tool: async (client, args299, ctx) => {
135350
- const [result, apiCall] = await servingFinetuneJobsGetMetrics(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135623
+ args: args299,
135624
+ tool: async (client, args300, ctx) => {
135625
+ const [result, apiCall] = await servingFinetuneJobsGetMetrics(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135351
135626
  if (!result.ok) {
135352
135627
  return {
135353
135628
  content: [{ type: "text", text: result.error.message }],
@@ -135362,9 +135637,9 @@ Return the training metric series (loss, learning rate, ...) pushed by the train
135362
135637
 
135363
135638
  // src/funcs/servingFinetuneJobsList.ts
135364
135639
  function servingFinetuneJobsList(client, request, options) {
135365
- return new APIPromise($do308(client, request, options));
135640
+ return new APIPromise($do309(client, request, options));
135366
135641
  }
135367
- async function $do308(client, request, options) {
135642
+ async function $do309(client, request, options) {
135368
135643
  const parsed = safeParse4(request, (value) => ListFinetuneJobsRequest$outboundSchema.parse(value), "Input validation failed");
135369
135644
  if (!parsed.ok) {
135370
135645
  return [parsed, { status: "invalid" }];
@@ -135451,12 +135726,12 @@ var init_servingFinetuneJobsList = __esm(() => {
135451
135726
  });
135452
135727
 
135453
135728
  // src/mcp-server/tools/servingFinetuneJobsList.ts
135454
- var args299, tool$servingFinetuneJobsList;
135729
+ var args300, tool$servingFinetuneJobsList;
135455
135730
  var init_servingFinetuneJobsList2 = __esm(() => {
135456
135731
  init_servingFinetuneJobsList();
135457
135732
  init_operations();
135458
135733
  init_tools();
135459
- args299 = {
135734
+ args300 = {
135460
135735
  request: ListFinetuneJobsRequest$inboundSchema
135461
135736
  };
135462
135737
  tool$servingFinetuneJobsList = {
@@ -135464,9 +135739,9 @@ var init_servingFinetuneJobsList2 = __esm(() => {
135464
135739
  description: `List fine-tune jobs
135465
135740
 
135466
135741
  List your fine-tune jobs.`,
135467
- args: args299,
135468
- tool: async (client, args300, ctx) => {
135469
- const [result, apiCall] = await servingFinetuneJobsList(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135742
+ args: args300,
135743
+ tool: async (client, args301, ctx) => {
135744
+ const [result, apiCall] = await servingFinetuneJobsList(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135470
135745
  if (!result.ok) {
135471
135746
  return {
135472
135747
  content: [{ type: "text", text: result.error.message }],
@@ -135481,9 +135756,9 @@ List your fine-tune jobs.`,
135481
135756
 
135482
135757
  // src/funcs/servingFinetuneJobsListCheckpoints.ts
135483
135758
  function servingFinetuneJobsListCheckpoints(client, request, options) {
135484
- return new APIPromise($do309(client, request, options));
135759
+ return new APIPromise($do310(client, request, options));
135485
135760
  }
135486
- async function $do309(client, request, options) {
135761
+ async function $do310(client, request, options) {
135487
135762
  const parsed = safeParse4(request, (value) => ListFinetuneCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
135488
135763
  if (!parsed.ok) {
135489
135764
  return [parsed, { status: "invalid" }];
@@ -135572,12 +135847,12 @@ var init_servingFinetuneJobsListCheckpoints = __esm(() => {
135572
135847
  });
135573
135848
 
135574
135849
  // src/mcp-server/tools/servingFinetuneJobsListCheckpoints.ts
135575
- var args300, tool$servingFinetuneJobsListCheckpoints;
135850
+ var args301, tool$servingFinetuneJobsListCheckpoints;
135576
135851
  var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
135577
135852
  init_servingFinetuneJobsListCheckpoints();
135578
135853
  init_operations();
135579
135854
  init_tools();
135580
- args300 = {
135855
+ args301 = {
135581
135856
  request: ListFinetuneCheckpointsRequest$inboundSchema
135582
135857
  };
135583
135858
  tool$servingFinetuneJobsListCheckpoints = {
@@ -135585,9 +135860,9 @@ var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
135585
135860
  description: `List output checkpoints
135586
135861
 
135587
135862
  List the checkpoints a fine-tune job has produced.`,
135588
- args: args300,
135589
- tool: async (client, args301, ctx) => {
135590
- const [result, apiCall] = await servingFinetuneJobsListCheckpoints(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135863
+ args: args301,
135864
+ tool: async (client, args302, ctx) => {
135865
+ const [result, apiCall] = await servingFinetuneJobsListCheckpoints(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135591
135866
  if (!result.ok) {
135592
135867
  return {
135593
135868
  content: [{ type: "text", text: result.error.message }],
@@ -135602,9 +135877,9 @@ List the checkpoints a fine-tune job has produced.`,
135602
135877
 
135603
135878
  // src/funcs/servingImagesDelete.ts
135604
135879
  function servingImagesDelete(client, request, options) {
135605
- return new APIPromise($do310(client, request, options));
135880
+ return new APIPromise($do311(client, request, options));
135606
135881
  }
135607
- async function $do310(client, request, options) {
135882
+ async function $do311(client, request, options) {
135608
135883
  const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
135609
135884
  if (!parsed.ok) {
135610
135885
  return [parsed, { status: "invalid" }];
@@ -135692,12 +135967,12 @@ var init_servingImagesDelete = __esm(() => {
135692
135967
  });
135693
135968
 
135694
135969
  // src/mcp-server/tools/servingImagesDelete.ts
135695
- var args301, tool$servingImagesDelete;
135970
+ var args302, tool$servingImagesDelete;
135696
135971
  var init_servingImagesDelete2 = __esm(() => {
135697
135972
  init_servingImagesDelete();
135698
135973
  init_operations();
135699
135974
  init_tools();
135700
- args301 = {
135975
+ args302 = {
135701
135976
  request: DeleteImageRequest$inboundSchema
135702
135977
  };
135703
135978
  tool$servingImagesDelete = {
@@ -135705,9 +135980,9 @@ var init_servingImagesDelete2 = __esm(() => {
135705
135980
  description: `Delete an image
135706
135981
 
135707
135982
  Delete a container image.`,
135708
- args: args301,
135709
- tool: async (client, args302, ctx) => {
135710
- const [result, apiCall] = await servingImagesDelete(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135983
+ args: args302,
135984
+ tool: async (client, args303, ctx) => {
135985
+ const [result, apiCall] = await servingImagesDelete(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135711
135986
  if (!result.ok) {
135712
135987
  return {
135713
135988
  content: [{ type: "text", text: result.error.message }],
@@ -135721,9 +135996,9 @@ Delete a container image.`,
135721
135996
 
135722
135997
  // src/funcs/servingImagesGet.ts
135723
135998
  function servingImagesGet(client, request, options) {
135724
- return new APIPromise($do311(client, request, options));
135999
+ return new APIPromise($do312(client, request, options));
135725
136000
  }
135726
- async function $do311(client, request, options) {
136001
+ async function $do312(client, request, options) {
135727
136002
  const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
135728
136003
  if (!parsed.ok) {
135729
136004
  return [parsed, { status: "invalid" }];
@@ -135811,12 +136086,12 @@ var init_servingImagesGet = __esm(() => {
135811
136086
  });
135812
136087
 
135813
136088
  // src/mcp-server/tools/servingImagesGet.ts
135814
- var args302, tool$servingImagesGet;
136089
+ var args303, tool$servingImagesGet;
135815
136090
  var init_servingImagesGet2 = __esm(() => {
135816
136091
  init_servingImagesGet();
135817
136092
  init_operations();
135818
136093
  init_tools();
135819
- args302 = {
136094
+ args303 = {
135820
136095
  request: GetImageRequest$inboundSchema
135821
136096
  };
135822
136097
  tool$servingImagesGet = {
@@ -135824,9 +136099,9 @@ var init_servingImagesGet2 = __esm(() => {
135824
136099
  description: `Get an image
135825
136100
 
135826
136101
  Retrieve an image, including its build status.`,
135827
- args: args302,
135828
- tool: async (client, args303, ctx) => {
135829
- const [result, apiCall] = await servingImagesGet(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136102
+ args: args303,
136103
+ tool: async (client, args304, ctx) => {
136104
+ const [result, apiCall] = await servingImagesGet(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135830
136105
  if (!result.ok) {
135831
136106
  return {
135832
136107
  content: [{ type: "text", text: result.error.message }],
@@ -135841,9 +136116,9 @@ Retrieve an image, including its build status.`,
135841
136116
 
135842
136117
  // src/funcs/servingImagesList.ts
135843
136118
  function servingImagesList(client, request, options) {
135844
- return new APIPromise($do312(client, request, options));
136119
+ return new APIPromise($do313(client, request, options));
135845
136120
  }
135846
- async function $do312(client, request, options) {
136121
+ async function $do313(client, request, options) {
135847
136122
  const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
135848
136123
  if (!parsed.ok) {
135849
136124
  return [parsed, { status: "invalid" }];
@@ -135930,12 +136205,12 @@ var init_servingImagesList = __esm(() => {
135930
136205
  });
135931
136206
 
135932
136207
  // src/mcp-server/tools/servingImagesList.ts
135933
- var args303, tool$servingImagesList;
136208
+ var args304, tool$servingImagesList;
135934
136209
  var init_servingImagesList2 = __esm(() => {
135935
136210
  init_servingImagesList();
135936
136211
  init_operations();
135937
136212
  init_tools();
135938
- args303 = {
136213
+ args304 = {
135939
136214
  request: ListImagesRequest$inboundSchema
135940
136215
  };
135941
136216
  tool$servingImagesList = {
@@ -135943,9 +136218,9 @@ var init_servingImagesList2 = __esm(() => {
135943
136218
  description: `List images
135944
136219
 
135945
136220
  List your container images.`,
135946
- args: args303,
135947
- tool: async (client, args304, ctx) => {
135948
- const [result, apiCall] = await servingImagesList(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136221
+ args: args304,
136222
+ tool: async (client, args305, ctx) => {
136223
+ const [result, apiCall] = await servingImagesList(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
135949
136224
  if (!result.ok) {
135950
136225
  return {
135951
136226
  content: [{ type: "text", text: result.error.message }],
@@ -135960,9 +136235,9 @@ List your container images.`,
135960
136235
 
135961
136236
  // src/funcs/servingImagesRegister.ts
135962
136237
  function servingImagesRegister(client, request, options) {
135963
- return new APIPromise($do313(client, request, options));
136238
+ return new APIPromise($do314(client, request, options));
135964
136239
  }
135965
- async function $do313(client, request, options) {
136240
+ async function $do314(client, request, options) {
135966
136241
  const parsed = safeParse4(request, (value) => RegisterImageRequest$outboundSchema.parse(value), "Input validation failed");
135967
136242
  if (!parsed.ok) {
135968
136243
  return [parsed, { status: "invalid" }];
@@ -136045,12 +136320,12 @@ var init_servingImagesRegister = __esm(() => {
136045
136320
  });
136046
136321
 
136047
136322
  // src/mcp-server/tools/servingImagesRegister.ts
136048
- var args304, tool$servingImagesRegister;
136323
+ var args305, tool$servingImagesRegister;
136049
136324
  var init_servingImagesRegister2 = __esm(() => {
136050
136325
  init_servingImagesRegister();
136051
136326
  init_operations();
136052
136327
  init_tools();
136053
- args304 = {
136328
+ args305 = {
136054
136329
  request: RegisterImageRequest$inboundSchema
136055
136330
  };
136056
136331
  tool$servingImagesRegister = {
@@ -136058,9 +136333,9 @@ var init_servingImagesRegister2 = __esm(() => {
136058
136333
  description: `Register a container image
136059
136334
 
136060
136335
  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.)`,
136061
- args: args304,
136062
- tool: async (client, args305, ctx) => {
136063
- const [result, apiCall] = await servingImagesRegister(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136336
+ args: args305,
136337
+ tool: async (client, args306, ctx) => {
136338
+ const [result, apiCall] = await servingImagesRegister(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136064
136339
  if (!result.ok) {
136065
136340
  return {
136066
136341
  content: [{ type: "text", text: result.error.message }],
@@ -136075,9 +136350,9 @@ Register a container image by reference so it can back a BYO deployment or a rec
136075
136350
 
136076
136351
  // src/funcs/servingModelsDelete.ts
136077
136352
  function servingModelsDelete(client, request, options) {
136078
- return new APIPromise($do314(client, request, options));
136353
+ return new APIPromise($do315(client, request, options));
136079
136354
  }
136080
- async function $do314(client, request, options) {
136355
+ async function $do315(client, request, options) {
136081
136356
  const parsed = safeParse4(request, (value) => DeleteModelRequest$outboundSchema.parse(value), "Input validation failed");
136082
136357
  if (!parsed.ok) {
136083
136358
  return [parsed, { status: "invalid" }];
@@ -136165,12 +136440,12 @@ var init_servingModelsDelete = __esm(() => {
136165
136440
  });
136166
136441
 
136167
136442
  // src/mcp-server/tools/servingModelsDelete.ts
136168
- var args305, tool$servingModelsDelete;
136443
+ var args306, tool$servingModelsDelete;
136169
136444
  var init_servingModelsDelete2 = __esm(() => {
136170
136445
  init_servingModelsDelete();
136171
136446
  init_operations();
136172
136447
  init_tools();
136173
- args305 = {
136448
+ args306 = {
136174
136449
  request: DeleteModelRequest$inboundSchema
136175
136450
  };
136176
136451
  tool$servingModelsDelete = {
@@ -136178,9 +136453,9 @@ var init_servingModelsDelete2 = __esm(() => {
136178
136453
  description: `Deregister a model
136179
136454
 
136180
136455
  Deregister a model from the catalog.`,
136181
- args: args305,
136182
- tool: async (client, args306, ctx) => {
136183
- const [result, apiCall] = await servingModelsDelete(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136456
+ args: args306,
136457
+ tool: async (client, args307, ctx) => {
136458
+ const [result, apiCall] = await servingModelsDelete(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136184
136459
  if (!result.ok) {
136185
136460
  return {
136186
136461
  content: [{ type: "text", text: result.error.message }],
@@ -136194,9 +136469,9 @@ Deregister a model from the catalog.`,
136194
136469
 
136195
136470
  // src/funcs/servingModelsGet.ts
136196
136471
  function servingModelsGet(client, request, options) {
136197
- return new APIPromise($do315(client, request, options));
136472
+ return new APIPromise($do316(client, request, options));
136198
136473
  }
136199
- async function $do315(client, request, options) {
136474
+ async function $do316(client, request, options) {
136200
136475
  const parsed = safeParse4(request, (value) => GetServingModelRequest$outboundSchema.parse(value), "Input validation failed");
136201
136476
  if (!parsed.ok) {
136202
136477
  return [parsed, { status: "invalid" }];
@@ -136284,12 +136559,12 @@ var init_servingModelsGet = __esm(() => {
136284
136559
  });
136285
136560
 
136286
136561
  // src/mcp-server/tools/servingModelsGet.ts
136287
- var args306, tool$servingModelsGet;
136562
+ var args307, tool$servingModelsGet;
136288
136563
  var init_servingModelsGet2 = __esm(() => {
136289
136564
  init_servingModelsGet();
136290
136565
  init_operations();
136291
136566
  init_tools();
136292
- args306 = {
136567
+ args307 = {
136293
136568
  request: GetServingModelRequest$inboundSchema
136294
136569
  };
136295
136570
  tool$servingModelsGet = {
@@ -136297,9 +136572,9 @@ var init_servingModelsGet2 = __esm(() => {
136297
136572
  description: `Get a model
136298
136573
 
136299
136574
  Retrieve a registered model.`,
136300
- args: args306,
136301
- tool: async (client, args307, ctx) => {
136302
- const [result, apiCall] = await servingModelsGet(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136575
+ args: args307,
136576
+ tool: async (client, args308, ctx) => {
136577
+ const [result, apiCall] = await servingModelsGet(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136303
136578
  if (!result.ok) {
136304
136579
  return {
136305
136580
  content: [{ type: "text", text: result.error.message }],
@@ -136314,9 +136589,9 @@ Retrieve a registered model.`,
136314
136589
 
136315
136590
  // src/funcs/servingModelsList.ts
136316
136591
  function servingModelsList(client, request, options) {
136317
- return new APIPromise($do316(client, request, options));
136592
+ return new APIPromise($do317(client, request, options));
136318
136593
  }
136319
- async function $do316(client, request, options) {
136594
+ async function $do317(client, request, options) {
136320
136595
  const parsed = safeParse4(request, (value) => ListServingModelsRequest$outboundSchema.parse(value), "Input validation failed");
136321
136596
  if (!parsed.ok) {
136322
136597
  return [parsed, { status: "invalid" }];
@@ -136403,12 +136678,12 @@ var init_servingModelsList = __esm(() => {
136403
136678
  });
136404
136679
 
136405
136680
  // src/mcp-server/tools/servingModelsList.ts
136406
- var args307, tool$servingModelsList;
136681
+ var args308, tool$servingModelsList;
136407
136682
  var init_servingModelsList2 = __esm(() => {
136408
136683
  init_servingModelsList();
136409
136684
  init_operations();
136410
136685
  init_tools();
136411
- args307 = {
136686
+ args308 = {
136412
136687
  request: ListServingModelsRequest$inboundSchema
136413
136688
  };
136414
136689
  tool$servingModelsList = {
@@ -136416,9 +136691,9 @@ var init_servingModelsList2 = __esm(() => {
136416
136691
  description: `List models
136417
136692
 
136418
136693
  List your registered models.`,
136419
- args: args307,
136420
- tool: async (client, args308, ctx) => {
136421
- const [result, apiCall] = await servingModelsList(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136694
+ args: args308,
136695
+ tool: async (client, args309, ctx) => {
136696
+ const [result, apiCall] = await servingModelsList(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136422
136697
  if (!result.ok) {
136423
136698
  return {
136424
136699
  content: [{ type: "text", text: result.error.message }],
@@ -136433,9 +136708,9 @@ List your registered models.`,
136433
136708
 
136434
136709
  // src/funcs/servingModelsRegister.ts
136435
136710
  function servingModelsRegister(client, request, options) {
136436
- return new APIPromise($do317(client, request, options));
136711
+ return new APIPromise($do318(client, request, options));
136437
136712
  }
136438
- async function $do317(client, request, options) {
136713
+ async function $do318(client, request, options) {
136439
136714
  const parsed = safeParse4(request, (value) => RegisterModelRequest$outboundSchema.parse(value), "Input validation failed");
136440
136715
  if (!parsed.ok) {
136441
136716
  return [parsed, { status: "invalid" }];
@@ -136518,12 +136793,12 @@ var init_servingModelsRegister = __esm(() => {
136518
136793
  });
136519
136794
 
136520
136795
  // src/mcp-server/tools/servingModelsRegister.ts
136521
- var args308, tool$servingModelsRegister;
136796
+ var args309, tool$servingModelsRegister;
136522
136797
  var init_servingModelsRegister2 = __esm(() => {
136523
136798
  init_servingModelsRegister();
136524
136799
  init_operations();
136525
136800
  init_tools();
136526
- args308 = {
136801
+ args309 = {
136527
136802
  request: RegisterModelRequest$inboundSchema
136528
136803
  };
136529
136804
  tool$servingModelsRegister = {
@@ -136531,9 +136806,9 @@ var init_servingModelsRegister2 = __esm(() => {
136531
136806
  description: `Register a model
136532
136807
 
136533
136808
  Register a model (from a source or volume) so it can be deployed or fine-tuned.`,
136534
- args: args308,
136535
- tool: async (client, args309, ctx) => {
136536
- const [result, apiCall] = await servingModelsRegister(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136809
+ args: args309,
136810
+ tool: async (client, args310, ctx) => {
136811
+ const [result, apiCall] = await servingModelsRegister(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136537
136812
  if (!result.ok) {
136538
136813
  return {
136539
136814
  content: [{ type: "text", text: result.error.message }],
@@ -136548,9 +136823,9 @@ Register a model (from a source or volume) so it can be deployed or fine-tuned.`
136548
136823
 
136549
136824
  // src/funcs/servingRecipesDelete.ts
136550
136825
  function servingRecipesDelete(client, request, options) {
136551
- return new APIPromise($do318(client, request, options));
136826
+ return new APIPromise($do319(client, request, options));
136552
136827
  }
136553
- async function $do318(client, request, options) {
136828
+ async function $do319(client, request, options) {
136554
136829
  const parsed = safeParse4(request, (value) => DeleteServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
136555
136830
  if (!parsed.ok) {
136556
136831
  return [parsed, { status: "invalid" }];
@@ -136638,12 +136913,12 @@ var init_servingRecipesDelete = __esm(() => {
136638
136913
  });
136639
136914
 
136640
136915
  // src/mcp-server/tools/servingRecipesDelete.ts
136641
- var args309, tool$servingRecipesDelete;
136916
+ var args310, tool$servingRecipesDelete;
136642
136917
  var init_servingRecipesDelete2 = __esm(() => {
136643
136918
  init_servingRecipesDelete();
136644
136919
  init_operations();
136645
136920
  init_tools();
136646
- args309 = {
136921
+ args310 = {
136647
136922
  request: DeleteServingRecipeRequest$inboundSchema
136648
136923
  };
136649
136924
  tool$servingRecipesDelete = {
@@ -136651,9 +136926,9 @@ var init_servingRecipesDelete2 = __esm(() => {
136651
136926
  description: `Delete a serving recipe
136652
136927
 
136653
136928
  Remove a recipe from the catalog. Rejected while any live deployment's active revision references the recipe. Cluster administrators only.`,
136654
- args: args309,
136655
- tool: async (client, args310, ctx) => {
136656
- const [result, apiCall] = await servingRecipesDelete(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136929
+ args: args310,
136930
+ tool: async (client, args311, ctx) => {
136931
+ const [result, apiCall] = await servingRecipesDelete(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136657
136932
  if (!result.ok) {
136658
136933
  return {
136659
136934
  content: [{ type: "text", text: result.error.message }],
@@ -136667,9 +136942,9 @@ Remove a recipe from the catalog. Rejected while any live deployment's active re
136667
136942
 
136668
136943
  // src/funcs/servingRecipesGet.ts
136669
136944
  function servingRecipesGet(client, request, options) {
136670
- return new APIPromise($do319(client, request, options));
136945
+ return new APIPromise($do320(client, request, options));
136671
136946
  }
136672
- async function $do319(client, request, options) {
136947
+ async function $do320(client, request, options) {
136673
136948
  const parsed = safeParse4(request, (value) => GetServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
136674
136949
  if (!parsed.ok) {
136675
136950
  return [parsed, { status: "invalid" }];
@@ -136757,12 +137032,12 @@ var init_servingRecipesGet = __esm(() => {
136757
137032
  });
136758
137033
 
136759
137034
  // src/mcp-server/tools/servingRecipesGet.ts
136760
- var args310, tool$servingRecipesGet;
137035
+ var args311, tool$servingRecipesGet;
136761
137036
  var init_servingRecipesGet2 = __esm(() => {
136762
137037
  init_servingRecipesGet();
136763
137038
  init_operations();
136764
137039
  init_tools();
136765
- args310 = {
137040
+ args311 = {
136766
137041
  request: GetServingRecipeRequest$inboundSchema
136767
137042
  };
136768
137043
  tool$servingRecipesGet = {
@@ -136770,9 +137045,9 @@ var init_servingRecipesGet2 = __esm(() => {
136770
137045
  description: `Get a serving recipe
136771
137046
 
136772
137047
  Get one recipe catalog record. Tenants can read enabled recipes; disabled recipes are visible to cluster administrators only.`,
136773
- args: args310,
136774
- tool: async (client, args311, ctx) => {
136775
- const [result, apiCall] = await servingRecipesGet(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137048
+ args: args311,
137049
+ tool: async (client, args312, ctx) => {
137050
+ const [result, apiCall] = await servingRecipesGet(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136776
137051
  if (!result.ok) {
136777
137052
  return {
136778
137053
  content: [{ type: "text", text: result.error.message }],
@@ -136787,9 +137062,9 @@ Get one recipe catalog record. Tenants can read enabled recipes; disabled recipe
136787
137062
 
136788
137063
  // src/funcs/servingRecipesList.ts
136789
137064
  function servingRecipesList(client, request, options) {
136790
- return new APIPromise($do320(client, request, options));
137065
+ return new APIPromise($do321(client, request, options));
136791
137066
  }
136792
- async function $do320(client, request, options) {
137067
+ async function $do321(client, request, options) {
136793
137068
  const parsed = safeParse4(request, (value) => ListServingRecipesRequest$outboundSchema.parse(value), "Input validation failed");
136794
137069
  if (!parsed.ok) {
136795
137070
  return [parsed, { status: "invalid" }];
@@ -136876,12 +137151,12 @@ var init_servingRecipesList = __esm(() => {
136876
137151
  });
136877
137152
 
136878
137153
  // src/mcp-server/tools/servingRecipesList.ts
136879
- var args311, tool$servingRecipesList;
137154
+ var args312, tool$servingRecipesList;
136880
137155
  var init_servingRecipesList2 = __esm(() => {
136881
137156
  init_servingRecipesList();
136882
137157
  init_operations();
136883
137158
  init_tools();
136884
- args311 = {
137159
+ args312 = {
136885
137160
  request: ListServingRecipesRequest$inboundSchema
136886
137161
  };
136887
137162
  tool$servingRecipesList = {
@@ -136889,9 +137164,9 @@ var init_servingRecipesList2 = __esm(() => {
136889
137164
  description: `List serving recipes
136890
137165
 
136891
137166
  List the cluster-global serving recipe catalog. Tenants see only enabled (deployable) recipes; cluster administrators see every registered recipe including disabled ones.`,
136892
- args: args311,
136893
- tool: async (client, args312, ctx) => {
136894
- const [result, apiCall] = await servingRecipesList(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137167
+ args: args312,
137168
+ tool: async (client, args313, ctx) => {
137169
+ const [result, apiCall] = await servingRecipesList(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
136895
137170
  if (!result.ok) {
136896
137171
  return {
136897
137172
  content: [{ type: "text", text: result.error.message }],
@@ -136906,9 +137181,9 @@ List the cluster-global serving recipe catalog. Tenants see only enabled (deploy
136906
137181
 
136907
137182
  // src/funcs/servingRecipesRegister.ts
136908
137183
  function servingRecipesRegister(client, request, options) {
136909
- return new APIPromise($do321(client, request, options));
137184
+ return new APIPromise($do322(client, request, options));
136910
137185
  }
136911
- async function $do321(client, request, options) {
137186
+ async function $do322(client, request, options) {
136912
137187
  const parsed = safeParse4(request, (value) => RegisterServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
136913
137188
  if (!parsed.ok) {
136914
137189
  return [parsed, { status: "invalid" }];
@@ -136999,12 +137274,12 @@ var init_servingRecipesRegister = __esm(() => {
136999
137274
  });
137000
137275
 
137001
137276
  // src/mcp-server/tools/servingRecipesRegister.ts
137002
- var args312, tool$servingRecipesRegister;
137277
+ var args313, tool$servingRecipesRegister;
137003
137278
  var init_servingRecipesRegister2 = __esm(() => {
137004
137279
  init_servingRecipesRegister();
137005
137280
  init_operations();
137006
137281
  init_tools();
137007
- args312 = {
137282
+ args313 = {
137008
137283
  request: RegisterServingRecipeRequest$inboundSchema
137009
137284
  };
137010
137285
  tool$servingRecipesRegister = {
@@ -137012,9 +137287,9 @@ var init_servingRecipesRegister2 = __esm(() => {
137012
137287
  description: `Register a serving recipe
137013
137288
 
137014
137289
  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.`,
137015
- args: args312,
137016
- tool: async (client, args313, ctx) => {
137017
- const [result, apiCall] = await servingRecipesRegister(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137290
+ args: args313,
137291
+ tool: async (client, args314, ctx) => {
137292
+ const [result, apiCall] = await servingRecipesRegister(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137018
137293
  if (!result.ok) {
137019
137294
  return {
137020
137295
  content: [{ type: "text", text: result.error.message }],
@@ -137029,9 +137304,9 @@ Register (or re-register) a digest-pinned recipe manifest in the catalog. A new
137029
137304
 
137030
137305
  // src/funcs/servingRecipesSetEnabled.ts
137031
137306
  function servingRecipesSetEnabled(client, request, options) {
137032
- return new APIPromise($do322(client, request, options));
137307
+ return new APIPromise($do323(client, request, options));
137033
137308
  }
137034
- async function $do322(client, request, options) {
137309
+ async function $do323(client, request, options) {
137035
137310
  const parsed = safeParse4(request, (value) => SetServingRecipeEnabledRequest$outboundSchema.parse(value), "Input validation failed");
137036
137311
  if (!parsed.ok) {
137037
137312
  return [parsed, { status: "invalid" }];
@@ -137122,12 +137397,12 @@ var init_servingRecipesSetEnabled = __esm(() => {
137122
137397
  });
137123
137398
 
137124
137399
  // src/mcp-server/tools/servingRecipesSetEnabled.ts
137125
- var args313, tool$servingRecipesSetEnabled;
137400
+ var args314, tool$servingRecipesSetEnabled;
137126
137401
  var init_servingRecipesSetEnabled2 = __esm(() => {
137127
137402
  init_servingRecipesSetEnabled();
137128
137403
  init_operations();
137129
137404
  init_tools();
137130
- args313 = {
137405
+ args314 = {
137131
137406
  request: SetServingRecipeEnabledRequest$inboundSchema
137132
137407
  };
137133
137408
  tool$servingRecipesSetEnabled = {
@@ -137135,9 +137410,9 @@ var init_servingRecipesSetEnabled2 = __esm(() => {
137135
137410
  description: `Enable or disable a serving recipe
137136
137411
 
137137
137412
  Toggle cluster-wide deployability of a registered recipe. Disabling does not stop deployments already running the recipe. Cluster administrators only.`,
137138
- args: args313,
137139
- tool: async (client, args314, ctx) => {
137140
- const [result, apiCall] = await servingRecipesSetEnabled(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137413
+ args: args314,
137414
+ tool: async (client, args315, ctx) => {
137415
+ const [result, apiCall] = await servingRecipesSetEnabled(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137141
137416
  if (!result.ok) {
137142
137417
  return {
137143
137418
  content: [{ type: "text", text: result.error.message }],
@@ -137152,9 +137427,9 @@ Toggle cluster-wide deployability of a registered recipe. Disabling does not sto
137152
137427
 
137153
137428
  // src/funcs/servingSecretsCreate.ts
137154
137429
  function servingSecretsCreate(client, request, options) {
137155
- return new APIPromise($do323(client, request, options));
137430
+ return new APIPromise($do324(client, request, options));
137156
137431
  }
137157
- async function $do323(client, request, options) {
137432
+ async function $do324(client, request, options) {
137158
137433
  const parsed = safeParse4(request, (value) => CreateSecretRequest$outboundSchema.parse(value), "Input validation failed");
137159
137434
  if (!parsed.ok) {
137160
137435
  return [parsed, { status: "invalid" }];
@@ -137237,12 +137512,12 @@ var init_servingSecretsCreate = __esm(() => {
137237
137512
  });
137238
137513
 
137239
137514
  // src/mcp-server/tools/servingSecretsCreate.ts
137240
- var args314, tool$servingSecretsCreate;
137515
+ var args315, tool$servingSecretsCreate;
137241
137516
  var init_servingSecretsCreate2 = __esm(() => {
137242
137517
  init_servingSecretsCreate();
137243
137518
  init_operations();
137244
137519
  init_tools();
137245
- args314 = {
137520
+ args315 = {
137246
137521
  request: CreateSecretRequest$inboundSchema
137247
137522
  };
137248
137523
  tool$servingSecretsCreate = {
@@ -137250,9 +137525,9 @@ var init_servingSecretsCreate2 = __esm(() => {
137250
137525
  description: `Create a secret
137251
137526
 
137252
137527
  Create a secret whose values are injected into your workloads as env vars.`,
137253
- args: args314,
137254
- tool: async (client, args315, ctx) => {
137255
- const [result, apiCall] = await servingSecretsCreate(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137528
+ args: args315,
137529
+ tool: async (client, args316, ctx) => {
137530
+ const [result, apiCall] = await servingSecretsCreate(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137256
137531
  if (!result.ok) {
137257
137532
  return {
137258
137533
  content: [{ type: "text", text: result.error.message }],
@@ -137267,9 +137542,9 @@ Create a secret whose values are injected into your workloads as env vars.`,
137267
137542
 
137268
137543
  // src/funcs/servingSecretsDelete.ts
137269
137544
  function servingSecretsDelete(client, request, options) {
137270
- return new APIPromise($do324(client, request, options));
137545
+ return new APIPromise($do325(client, request, options));
137271
137546
  }
137272
- async function $do324(client, request, options) {
137547
+ async function $do325(client, request, options) {
137273
137548
  const parsed = safeParse4(request, (value) => DeleteSecretRequest$outboundSchema.parse(value), "Input validation failed");
137274
137549
  if (!parsed.ok) {
137275
137550
  return [parsed, { status: "invalid" }];
@@ -137357,12 +137632,12 @@ var init_servingSecretsDelete = __esm(() => {
137357
137632
  });
137358
137633
 
137359
137634
  // src/mcp-server/tools/servingSecretsDelete.ts
137360
- var args315, tool$servingSecretsDelete;
137635
+ var args316, tool$servingSecretsDelete;
137361
137636
  var init_servingSecretsDelete2 = __esm(() => {
137362
137637
  init_servingSecretsDelete();
137363
137638
  init_operations();
137364
137639
  init_tools();
137365
- args315 = {
137640
+ args316 = {
137366
137641
  request: DeleteSecretRequest$inboundSchema
137367
137642
  };
137368
137643
  tool$servingSecretsDelete = {
@@ -137370,9 +137645,9 @@ var init_servingSecretsDelete2 = __esm(() => {
137370
137645
  description: `Delete a secret
137371
137646
 
137372
137647
  Delete a secret.`,
137373
- args: args315,
137374
- tool: async (client, args316, ctx) => {
137375
- const [result, apiCall] = await servingSecretsDelete(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137648
+ args: args316,
137649
+ tool: async (client, args317, ctx) => {
137650
+ const [result, apiCall] = await servingSecretsDelete(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137376
137651
  if (!result.ok) {
137377
137652
  return {
137378
137653
  content: [{ type: "text", text: result.error.message }],
@@ -137386,9 +137661,9 @@ Delete a secret.`,
137386
137661
 
137387
137662
  // src/funcs/servingSecretsList.ts
137388
137663
  function servingSecretsList(client, request, options) {
137389
- return new APIPromise($do325(client, request, options));
137664
+ return new APIPromise($do326(client, request, options));
137390
137665
  }
137391
- async function $do325(client, request, options) {
137666
+ async function $do326(client, request, options) {
137392
137667
  const parsed = safeParse4(request, (value) => ListSecretsRequest$outboundSchema.parse(value), "Input validation failed");
137393
137668
  if (!parsed.ok) {
137394
137669
  return [parsed, { status: "invalid" }];
@@ -137475,12 +137750,12 @@ var init_servingSecretsList = __esm(() => {
137475
137750
  });
137476
137751
 
137477
137752
  // src/mcp-server/tools/servingSecretsList.ts
137478
- var args316, tool$servingSecretsList;
137753
+ var args317, tool$servingSecretsList;
137479
137754
  var init_servingSecretsList2 = __esm(() => {
137480
137755
  init_servingSecretsList();
137481
137756
  init_operations();
137482
137757
  init_tools();
137483
- args316 = {
137758
+ args317 = {
137484
137759
  request: ListSecretsRequest$inboundSchema
137485
137760
  };
137486
137761
  tool$servingSecretsList = {
@@ -137488,9 +137763,9 @@ var init_servingSecretsList2 = __esm(() => {
137488
137763
  description: `List secrets (names only)
137489
137764
 
137490
137765
  List your secrets by name (values are never returned).`,
137491
- args: args316,
137492
- tool: async (client, args317, ctx) => {
137493
- const [result, apiCall] = await servingSecretsList(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137766
+ args: args317,
137767
+ tool: async (client, args318, ctx) => {
137768
+ const [result, apiCall] = await servingSecretsList(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137494
137769
  if (!result.ok) {
137495
137770
  return {
137496
137771
  content: [{ type: "text", text: result.error.message }],
@@ -137505,9 +137780,9 @@ List your secrets by name (values are never returned).`,
137505
137780
 
137506
137781
  // src/funcs/servingSpendGet.ts
137507
137782
  function servingSpendGet(client, request, options) {
137508
- return new APIPromise($do326(client, request, options));
137783
+ return new APIPromise($do327(client, request, options));
137509
137784
  }
137510
- async function $do326(client, request, options) {
137785
+ async function $do327(client, request, options) {
137511
137786
  const parsed = safeParse4(request, (value) => GetSpendRequest$outboundSchema.parse(value), "Input validation failed");
137512
137787
  if (!parsed.ok) {
137513
137788
  return [parsed, { status: "invalid" }];
@@ -137594,12 +137869,12 @@ var init_servingSpendGet = __esm(() => {
137594
137869
  });
137595
137870
 
137596
137871
  // src/mcp-server/tools/servingSpendGet.ts
137597
- var args317, tool$servingSpendGet;
137872
+ var args318, tool$servingSpendGet;
137598
137873
  var init_servingSpendGet2 = __esm(() => {
137599
137874
  init_servingSpendGet();
137600
137875
  init_operations();
137601
137876
  init_tools();
137602
- args317 = {
137877
+ args318 = {
137603
137878
  request: GetSpendRequest$inboundSchema
137604
137879
  };
137605
137880
  tool$servingSpendGet = {
@@ -137607,9 +137882,9 @@ var init_servingSpendGet2 = __esm(() => {
137607
137882
  description: `Cost and spend summary
137608
137883
 
137609
137884
  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.`,
137610
- args: args317,
137611
- tool: async (client, args318, ctx) => {
137612
- const [result, apiCall] = await servingSpendGet(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137885
+ args: args318,
137886
+ tool: async (client, args319, ctx) => {
137887
+ const [result, apiCall] = await servingSpendGet(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137613
137888
  if (!result.ok) {
137614
137889
  return {
137615
137890
  content: [{ type: "text", text: result.error.message }],
@@ -137624,9 +137899,9 @@ Aggregate spend for your organization, computed from retained compute ledgers as
137624
137899
 
137625
137900
  // src/funcs/servingTenantsDeleteOrganization.ts
137626
137901
  function servingTenantsDeleteOrganization(client, request, options) {
137627
- return new APIPromise($do327(client, request, options));
137902
+ return new APIPromise($do328(client, request, options));
137628
137903
  }
137629
- async function $do327(client, request, options) {
137904
+ async function $do328(client, request, options) {
137630
137905
  const parsed = safeParse4(request, (value) => DeleteServingOrganizationRequest$outboundSchema.parse(value), "Input validation failed");
137631
137906
  if (!parsed.ok) {
137632
137907
  return [parsed, { status: "invalid" }];
@@ -137717,12 +137992,12 @@ var init_servingTenantsDeleteOrganization = __esm(() => {
137717
137992
  });
137718
137993
 
137719
137994
  // src/mcp-server/tools/servingTenantsDeleteOrganization.ts
137720
- var args318, tool$servingTenantsDeleteOrganization;
137995
+ var args319, tool$servingTenantsDeleteOrganization;
137721
137996
  var init_servingTenantsDeleteOrganization2 = __esm(() => {
137722
137997
  init_servingTenantsDeleteOrganization();
137723
137998
  init_operations();
137724
137999
  init_tools();
137725
- args318 = {
138000
+ args319 = {
137726
138001
  request: DeleteServingOrganizationRequest$inboundSchema
137727
138002
  };
137728
138003
  tool$servingTenantsDeleteOrganization = {
@@ -137730,9 +138005,9 @@ var init_servingTenantsDeleteOrganization2 = __esm(() => {
137730
138005
  description: `Trigger organization deletion teardown
137731
138006
 
137732
138007
  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.`,
137733
- args: args318,
137734
- tool: async (client, args319, ctx) => {
137735
- const [result, apiCall] = await servingTenantsDeleteOrganization(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138008
+ args: args319,
138009
+ tool: async (client, args320, ctx) => {
138010
+ const [result, apiCall] = await servingTenantsDeleteOrganization(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137736
138011
  if (!result.ok) {
137737
138012
  return {
137738
138013
  content: [{ type: "text", text: result.error.message }],
@@ -137747,9 +138022,9 @@ Durably records an organization.deleted.v1 event and starts (or adopts) the mand
137747
138022
 
137748
138023
  // src/funcs/servingTenantsGet.ts
137749
138024
  function servingTenantsGet(client, request, options) {
137750
- return new APIPromise($do328(client, request, options));
138025
+ return new APIPromise($do329(client, request, options));
137751
138026
  }
137752
- async function $do328(client, request, options) {
138027
+ async function $do329(client, request, options) {
137753
138028
  const parsed = safeParse4(request, (value) => GetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
137754
138029
  if (!parsed.ok) {
137755
138030
  return [parsed, { status: "invalid" }];
@@ -137837,12 +138112,12 @@ var init_servingTenantsGet = __esm(() => {
137837
138112
  });
137838
138113
 
137839
138114
  // src/mcp-server/tools/servingTenantsGet.ts
137840
- var args319, tool$servingTenantsGet;
138115
+ var args320, tool$servingTenantsGet;
137841
138116
  var init_servingTenantsGet2 = __esm(() => {
137842
138117
  init_servingTenantsGet();
137843
138118
  init_operations();
137844
138119
  init_tools();
137845
- args319 = {
138120
+ args320 = {
137846
138121
  request: GetServingTenantRequest$inboundSchema
137847
138122
  };
137848
138123
  tool$servingTenantsGet = {
@@ -137850,9 +138125,9 @@ var init_servingTenantsGet2 = __esm(() => {
137850
138125
  description: `Get a serving tenant
137851
138126
 
137852
138127
  Get one organization's serving enablement record. Cluster administrators only.`,
137853
- args: args319,
137854
- tool: async (client, args320, ctx) => {
137855
- const [result, apiCall] = await servingTenantsGet(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138128
+ args: args320,
138129
+ tool: async (client, args321, ctx) => {
138130
+ const [result, apiCall] = await servingTenantsGet(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137856
138131
  if (!result.ok) {
137857
138132
  return {
137858
138133
  content: [{ type: "text", text: result.error.message }],
@@ -137867,9 +138142,9 @@ Get one organization's serving enablement record. Cluster administrators only.`,
137867
138142
 
137868
138143
  // src/funcs/servingTenantsGetOrganizationDeletion.ts
137869
138144
  function servingTenantsGetOrganizationDeletion(client, request, options) {
137870
- return new APIPromise($do329(client, request, options));
138145
+ return new APIPromise($do330(client, request, options));
137871
138146
  }
137872
- async function $do329(client, request, options) {
138147
+ async function $do330(client, request, options) {
137873
138148
  const parsed = safeParse4(request, (value) => GetServingOrganizationDeletionRequest$outboundSchema.parse(value), "Input validation failed");
137874
138149
  if (!parsed.ok) {
137875
138150
  return [parsed, { status: "invalid" }];
@@ -137957,12 +138232,12 @@ var init_servingTenantsGetOrganizationDeletion = __esm(() => {
137957
138232
  });
137958
138233
 
137959
138234
  // src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts
137960
- var args320, tool$servingTenantsGetOrganizationDeletion;
138235
+ var args321, tool$servingTenantsGetOrganizationDeletion;
137961
138236
  var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
137962
138237
  init_servingTenantsGetOrganizationDeletion();
137963
138238
  init_operations();
137964
138239
  init_tools();
137965
- args320 = {
138240
+ args321 = {
137966
138241
  request: GetServingOrganizationDeletionRequest$inboundSchema
137967
138242
  };
137968
138243
  tool$servingTenantsGetOrganizationDeletion = {
@@ -137970,9 +138245,9 @@ var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
137970
138245
  description: `Get organization deletion teardown state
137971
138246
 
137972
138247
  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.`,
137973
- args: args320,
137974
- tool: async (client, args321, ctx) => {
137975
- const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138248
+ args: args321,
138249
+ tool: async (client, args322, ctx) => {
138250
+ const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
137976
138251
  if (!result.ok) {
137977
138252
  return {
137978
138253
  content: [{ type: "text", text: result.error.message }],
@@ -137987,9 +138262,9 @@ Returns the durable teardown-cascade state for an organization (running or compl
137987
138262
 
137988
138263
  // src/funcs/servingTenantsList.ts
137989
138264
  function servingTenantsList(client, request, options) {
137990
- return new APIPromise($do330(client, request, options));
138265
+ return new APIPromise($do331(client, request, options));
137991
138266
  }
137992
- async function $do330(client, request, options) {
138267
+ async function $do331(client, request, options) {
137993
138268
  const parsed = safeParse4(request, (value) => ListServingTenantsRequest$outboundSchema.parse(value), "Input validation failed");
137994
138269
  if (!parsed.ok) {
137995
138270
  return [parsed, { status: "invalid" }];
@@ -138076,12 +138351,12 @@ var init_servingTenantsList = __esm(() => {
138076
138351
  });
138077
138352
 
138078
138353
  // src/mcp-server/tools/servingTenantsList.ts
138079
- var args321, tool$servingTenantsList;
138354
+ var args322, tool$servingTenantsList;
138080
138355
  var init_servingTenantsList2 = __esm(() => {
138081
138356
  init_servingTenantsList();
138082
138357
  init_operations();
138083
138358
  init_tools();
138084
- args321 = {
138359
+ args322 = {
138085
138360
  request: ListServingTenantsRequest$inboundSchema
138086
138361
  };
138087
138362
  tool$servingTenantsList = {
@@ -138089,9 +138364,9 @@ var init_servingTenantsList2 = __esm(() => {
138089
138364
  description: `List serving tenants
138090
138365
 
138091
138366
  List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.`,
138092
- args: args321,
138093
- tool: async (client, args322, ctx) => {
138094
- const [result, apiCall] = await servingTenantsList(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138367
+ args: args322,
138368
+ tool: async (client, args323, ctx) => {
138369
+ const [result, apiCall] = await servingTenantsList(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138095
138370
  if (!result.ok) {
138096
138371
  return {
138097
138372
  content: [{ type: "text", text: result.error.message }],
@@ -138106,9 +138381,9 @@ List organization-wide serving enablement records. Cluster administrators only;
138106
138381
 
138107
138382
  // src/funcs/servingTenantsSet.ts
138108
138383
  function servingTenantsSet(client, request, options) {
138109
- return new APIPromise($do331(client, request, options));
138384
+ return new APIPromise($do332(client, request, options));
138110
138385
  }
138111
- async function $do331(client, request, options) {
138386
+ async function $do332(client, request, options) {
138112
138387
  const parsed = safeParse4(request, (value) => SetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
138113
138388
  if (!parsed.ok) {
138114
138389
  return [parsed, { status: "invalid" }];
@@ -138197,12 +138472,12 @@ var init_servingTenantsSet = __esm(() => {
138197
138472
  });
138198
138473
 
138199
138474
  // src/mcp-server/tools/servingTenantsSet.ts
138200
- var args322, tool$servingTenantsSet;
138475
+ var args323, tool$servingTenantsSet;
138201
138476
  var init_servingTenantsSet2 = __esm(() => {
138202
138477
  init_servingTenantsSet();
138203
138478
  init_operations();
138204
138479
  init_tools();
138205
- args322 = {
138480
+ args323 = {
138206
138481
  request: SetServingTenantRequest$inboundSchema
138207
138482
  };
138208
138483
  tool$servingTenantsSet = {
@@ -138210,9 +138485,9 @@ var init_servingTenantsSet2 = __esm(() => {
138210
138485
  description: `Set serving tenant enablement
138211
138486
 
138212
138487
  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.`,
138213
- args: args322,
138214
- tool: async (client, args323, ctx) => {
138215
- const [result, apiCall] = await servingTenantsSet(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138488
+ args: args323,
138489
+ tool: async (client, args324, ctx) => {
138490
+ const [result, apiCall] = await servingTenantsSet(client, args324.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138216
138491
  if (!result.ok) {
138217
138492
  return {
138218
138493
  content: [{ type: "text", text: result.error.message }],
@@ -138227,9 +138502,9 @@ Enable or disable serving for an organization and all of its teams. Disabling bl
138227
138502
 
138228
138503
  // src/funcs/servingVolumesCreate.ts
138229
138504
  function servingVolumesCreate(client, request, options) {
138230
- return new APIPromise($do332(client, request, options));
138505
+ return new APIPromise($do333(client, request, options));
138231
138506
  }
138232
- async function $do332(client, request, options) {
138507
+ async function $do333(client, request, options) {
138233
138508
  const parsed = safeParse4(request, (value) => CreateVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138234
138509
  if (!parsed.ok) {
138235
138510
  return [parsed, { status: "invalid" }];
@@ -138312,12 +138587,12 @@ var init_servingVolumesCreate = __esm(() => {
138312
138587
  });
138313
138588
 
138314
138589
  // src/mcp-server/tools/servingVolumesCreate.ts
138315
- var args323, tool$servingVolumesCreate;
138590
+ var args324, tool$servingVolumesCreate;
138316
138591
  var init_servingVolumesCreate2 = __esm(() => {
138317
138592
  init_servingVolumesCreate();
138318
138593
  init_operations();
138319
138594
  init_tools();
138320
- args323 = {
138595
+ args324 = {
138321
138596
  request: CreateVolumeRequest$inboundSchema
138322
138597
  };
138323
138598
  tool$servingVolumesCreate = {
@@ -138325,9 +138600,9 @@ var init_servingVolumesCreate2 = __esm(() => {
138325
138600
  description: `Create a volume
138326
138601
 
138327
138602
  Create a persistent volume for weights, datasets, or checkpoints.`,
138328
- args: args323,
138329
- tool: async (client, args324, ctx) => {
138330
- const [result, apiCall] = await servingVolumesCreate(client, args324.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138603
+ args: args324,
138604
+ tool: async (client, args325, ctx) => {
138605
+ const [result, apiCall] = await servingVolumesCreate(client, args325.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138331
138606
  if (!result.ok) {
138332
138607
  return {
138333
138608
  content: [{ type: "text", text: result.error.message }],
@@ -138342,9 +138617,9 @@ Create a persistent volume for weights, datasets, or checkpoints.`,
138342
138617
 
138343
138618
  // src/funcs/servingVolumesDelete.ts
138344
138619
  function servingVolumesDelete(client, request, options) {
138345
- return new APIPromise($do333(client, request, options));
138620
+ return new APIPromise($do334(client, request, options));
138346
138621
  }
138347
- async function $do333(client, request, options) {
138622
+ async function $do334(client, request, options) {
138348
138623
  const parsed = safeParse4(request, (value) => DeleteVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138349
138624
  if (!parsed.ok) {
138350
138625
  return [parsed, { status: "invalid" }];
@@ -138432,12 +138707,12 @@ var init_servingVolumesDelete = __esm(() => {
138432
138707
  });
138433
138708
 
138434
138709
  // src/mcp-server/tools/servingVolumesDelete.ts
138435
- var args324, tool$servingVolumesDelete;
138710
+ var args325, tool$servingVolumesDelete;
138436
138711
  var init_servingVolumesDelete2 = __esm(() => {
138437
138712
  init_servingVolumesDelete();
138438
138713
  init_operations();
138439
138714
  init_tools();
138440
- args324 = {
138715
+ args325 = {
138441
138716
  request: DeleteVolumeRequest$inboundSchema
138442
138717
  };
138443
138718
  tool$servingVolumesDelete = {
@@ -138445,9 +138720,9 @@ var init_servingVolumesDelete2 = __esm(() => {
138445
138720
  description: `Delete a volume
138446
138721
 
138447
138722
  Delete a volume and its contents.`,
138448
- args: args324,
138449
- tool: async (client, args325, ctx) => {
138450
- const [result, apiCall] = await servingVolumesDelete(client, args325.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138723
+ args: args325,
138724
+ tool: async (client, args326, ctx) => {
138725
+ const [result, apiCall] = await servingVolumesDelete(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138451
138726
  if (!result.ok) {
138452
138727
  return {
138453
138728
  content: [{ type: "text", text: result.error.message }],
@@ -138461,9 +138736,9 @@ Delete a volume and its contents.`,
138461
138736
 
138462
138737
  // src/funcs/servingVolumesGet.ts
138463
138738
  function servingVolumesGet(client, request, options) {
138464
- return new APIPromise($do334(client, request, options));
138739
+ return new APIPromise($do335(client, request, options));
138465
138740
  }
138466
- async function $do334(client, request, options) {
138741
+ async function $do335(client, request, options) {
138467
138742
  const parsed = safeParse4(request, (value) => GetVolumeRequest$outboundSchema.parse(value), "Input validation failed");
138468
138743
  if (!parsed.ok) {
138469
138744
  return [parsed, { status: "invalid" }];
@@ -138551,12 +138826,12 @@ var init_servingVolumesGet = __esm(() => {
138551
138826
  });
138552
138827
 
138553
138828
  // src/mcp-server/tools/servingVolumesGet.ts
138554
- var args325, tool$servingVolumesGet;
138829
+ var args326, tool$servingVolumesGet;
138555
138830
  var init_servingVolumesGet2 = __esm(() => {
138556
138831
  init_servingVolumesGet();
138557
138832
  init_operations();
138558
138833
  init_tools();
138559
- args325 = {
138834
+ args326 = {
138560
138835
  request: GetVolumeRequest$inboundSchema
138561
138836
  };
138562
138837
  tool$servingVolumesGet = {
@@ -138564,9 +138839,9 @@ var init_servingVolumesGet2 = __esm(() => {
138564
138839
  description: `Get a volume
138565
138840
 
138566
138841
  Retrieve a volume.`,
138567
- args: args325,
138568
- tool: async (client, args326, ctx) => {
138569
- const [result, apiCall] = await servingVolumesGet(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138842
+ args: args326,
138843
+ tool: async (client, args327, ctx) => {
138844
+ const [result, apiCall] = await servingVolumesGet(client, args327.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138570
138845
  if (!result.ok) {
138571
138846
  return {
138572
138847
  content: [{ type: "text", text: result.error.message }],
@@ -138581,9 +138856,9 @@ Retrieve a volume.`,
138581
138856
 
138582
138857
  // src/funcs/servingVolumesList.ts
138583
138858
  function servingVolumesList(client, request, options) {
138584
- return new APIPromise($do335(client, request, options));
138859
+ return new APIPromise($do336(client, request, options));
138585
138860
  }
138586
- async function $do335(client, request, options) {
138861
+ async function $do336(client, request, options) {
138587
138862
  const parsed = safeParse4(request, (value) => ListVolumesRequest$outboundSchema.parse(value), "Input validation failed");
138588
138863
  if (!parsed.ok) {
138589
138864
  return [parsed, { status: "invalid" }];
@@ -138670,12 +138945,12 @@ var init_servingVolumesList = __esm(() => {
138670
138945
  });
138671
138946
 
138672
138947
  // src/mcp-server/tools/servingVolumesList.ts
138673
- var args326, tool$servingVolumesList;
138948
+ var args327, tool$servingVolumesList;
138674
138949
  var init_servingVolumesList2 = __esm(() => {
138675
138950
  init_servingVolumesList();
138676
138951
  init_operations();
138677
138952
  init_tools();
138678
- args326 = {
138953
+ args327 = {
138679
138954
  request: ListVolumesRequest$inboundSchema
138680
138955
  };
138681
138956
  tool$servingVolumesList = {
@@ -138683,9 +138958,9 @@ var init_servingVolumesList2 = __esm(() => {
138683
138958
  description: `List volumes
138684
138959
 
138685
138960
  List your volumes.`,
138686
- args: args326,
138687
- tool: async (client, args327, ctx) => {
138688
- const [result, apiCall] = await servingVolumesList(client, args327.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138961
+ args: args327,
138962
+ tool: async (client, args328, ctx) => {
138963
+ const [result, apiCall] = await servingVolumesList(client, args328.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138689
138964
  if (!result.ok) {
138690
138965
  return {
138691
138966
  content: [{ type: "text", text: result.error.message }],
@@ -138700,9 +138975,9 @@ List your volumes.`,
138700
138975
 
138701
138976
  // src/funcs/usageCosts.ts
138702
138977
  function usageCosts(client, request, options) {
138703
- return new APIPromise($do336(client, request, options));
138978
+ return new APIPromise($do337(client, request, options));
138704
138979
  }
138705
- async function $do336(client, request, options) {
138980
+ async function $do337(client, request, options) {
138706
138981
  const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
138707
138982
  if (!parsed.ok) {
138708
138983
  return [parsed, { status: "invalid" }];
@@ -138785,12 +139060,12 @@ var init_usageCosts = __esm(() => {
138785
139060
  });
138786
139061
 
138787
139062
  // src/mcp-server/tools/usageCosts.ts
138788
- var args327, tool$usageCosts;
139063
+ var args328, tool$usageCosts;
138789
139064
  var init_usageCosts2 = __esm(() => {
138790
139065
  init_usageCosts();
138791
139066
  init_operations();
138792
139067
  init_tools();
138793
- args327 = {
139068
+ args328 = {
138794
139069
  request: GetCostsRequest$inboundSchema
138795
139070
  };
138796
139071
  tool$usageCosts = {
@@ -138798,9 +139073,9 @@ var init_usageCosts2 = __esm(() => {
138798
139073
  description: `Aggregate cost by dimension
138799
139074
 
138800
139075
  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.`,
138801
- args: args327,
138802
- tool: async (client, args328, ctx) => {
138803
- const [result, apiCall] = await usageCosts(client, args328.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139076
+ args: args328,
139077
+ tool: async (client, args329, ctx) => {
139078
+ const [result, apiCall] = await usageCosts(client, args329.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138804
139079
  if (!result.ok) {
138805
139080
  return {
138806
139081
  content: [{ type: "text", text: result.error.message }],
@@ -138815,9 +139090,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
138815
139090
 
138816
139091
  // src/funcs/usageSandbox.ts
138817
139092
  function usageSandbox(client, request, options) {
138818
- return new APIPromise($do337(client, request, options));
139093
+ return new APIPromise($do338(client, request, options));
138819
139094
  }
138820
- async function $do337(client, request, options) {
139095
+ async function $do338(client, request, options) {
138821
139096
  const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
138822
139097
  if (!parsed.ok) {
138823
139098
  return [parsed, { status: "invalid" }];
@@ -138908,12 +139183,12 @@ var init_usageSandbox = __esm(() => {
138908
139183
  });
138909
139184
 
138910
139185
  // src/mcp-server/tools/usageSandbox.ts
138911
- var args328, tool$usageSandbox;
139186
+ var args329, tool$usageSandbox;
138912
139187
  var init_usageSandbox2 = __esm(() => {
138913
139188
  init_usageSandbox();
138914
139189
  init_operations();
138915
139190
  init_tools();
138916
- args328 = {
139191
+ args329 = {
138917
139192
  request: GetSandboxUsageRequest$inboundSchema
138918
139193
  };
138919
139194
  tool$usageSandbox = {
@@ -138921,9 +139196,9 @@ var init_usageSandbox2 = __esm(() => {
138921
139196
  description: `Get Sandbox Usage
138922
139197
 
138923
139198
  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\`).`,
138924
- args: args328,
138925
- tool: async (client, args329, ctx) => {
138926
- const [result, apiCall] = await usageSandbox(client, args329.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
139199
+ args: args329,
139200
+ tool: async (client, args330, ctx) => {
139201
+ const [result, apiCall] = await usageSandbox(client, args330.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
138927
139202
  if (!result.ok) {
138928
139203
  return {
138929
139204
  content: [{ type: "text", text: result.error.message }],
@@ -138940,7 +139215,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
138940
139215
  function createMCPServer(deps) {
138941
139216
  const server = new McpServer({
138942
139217
  name: "SDK",
138943
- version: "0.51.13"
139218
+ version: "0.51.15"
138944
139219
  });
138945
139220
  const client = new SDKCore({
138946
139221
  bearerAuth: deps.bearerAuth,
@@ -139257,6 +139532,7 @@ function createMCPServer(deps) {
139257
139532
  tool(tool$servingDeploymentsListRevisions);
139258
139533
  tool(tool$servingDeploymentsRollback);
139259
139534
  tool(tool$servingDeploymentsUpdateScaling);
139535
+ tool(tool$servingEligibilityPreview);
139260
139536
  tool(tool$servingFinetuneJobsList);
139261
139537
  tool(tool$servingFinetuneJobsCreate);
139262
139538
  tool(tool$servingFinetuneJobsCancel);
@@ -139599,6 +139875,7 @@ var init_server2 = __esm(() => {
139599
139875
  init_servingDeploymentsRollback2();
139600
139876
  init_servingDeploymentsUpdate2();
139601
139877
  init_servingDeploymentsUpdateScaling2();
139878
+ init_servingEligibilityPreview2();
139602
139879
  init_servingFinetuneJobsCancel2();
139603
139880
  init_servingFinetuneJobsCreate2();
139604
139881
  init_servingFinetuneJobsGet2();
@@ -140812,7 +141089,7 @@ var routes = rn({
140812
141089
  var app = Ve(routes, {
140813
141090
  name: "mcp",
140814
141091
  versionInfo: {
140815
- currentVersion: "0.51.13"
141092
+ currentVersion: "0.51.15"
140816
141093
  }
140817
141094
  });
140818
141095
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -140820,5 +141097,5 @@ export {
140820
141097
  app
140821
141098
  };
140822
141099
 
140823
- //# debugId=5CD55DAFA3EC806464756E2164756E21
141100
+ //# debugId=9A1DDB13BDE34BA164756E2164756E21
140824
141101
  //# sourceMappingURL=mcp-server.js.map