@meetkai/mka1 0.51.20 → 0.51.21
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.
- package/README.md +246 -243
- package/bin/mcp-server.js +568 -371
- package/bin/mcp-server.js.map +26 -22
- package/dist/commonjs/funcs/servingDatasetsCreate.d.ts +1 -1
- package/dist/commonjs/funcs/servingDatasetsCreate.js +1 -1
- package/dist/commonjs/funcs/servingDatasetsUploadContent.d.ts +19 -0
- package/dist/commonjs/funcs/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/commonjs/funcs/servingDatasetsUploadContent.js +139 -0
- package/dist/commonjs/funcs/servingDatasetsUploadContent.js.map +1 -0
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.js +3 -1
- package/dist/commonjs/funcs/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/commonjs/funcs/servingTenantsGet.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsGet.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsGet.js +3 -1
- package/dist/commonjs/funcs/servingTenantsGet.js.map +1 -1
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.js +3 -1
- package/dist/commonjs/funcs/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/commonjs/funcs/servingTenantsList.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsList.js +3 -1
- package/dist/commonjs/funcs/servingTenantsList.js.map +1 -1
- package/dist/commonjs/funcs/servingTenantsSet.d.ts +3 -1
- package/dist/commonjs/funcs/servingTenantsSet.d.ts.map +1 -1
- package/dist/commonjs/funcs/servingTenantsSet.js +3 -1
- package/dist/commonjs/funcs/servingTenantsSet.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.d.ts.map +1 -1
- package/dist/commonjs/mcp-server/server.js +3 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingDatasetsCreate.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingDatasetsCreate.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingDatasetsUploadContent.d.ts +8 -0
- package/dist/commonjs/mcp-server/tools/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/commonjs/mcp-server/tools/servingDatasetsUploadContent.js +64 -0
- package/dist/commonjs/mcp-server/tools/servingDatasetsUploadContent.js.map +1 -0
- package/dist/commonjs/mcp-server/tools/servingTenantsDeleteOrganization.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGet.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGet.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGetOrganizationDeletion.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsList.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsList.js.map +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsSet.js +1 -1
- package/dist/commonjs/mcp-server/tools/servingTenantsSet.js.map +1 -1
- package/dist/commonjs/models/components/datasetupload.d.ts +22 -1
- package/dist/commonjs/models/components/datasetupload.d.ts.map +1 -1
- package/dist/commonjs/models/components/datasetupload.js +14 -1
- package/dist/commonjs/models/components/datasetupload.js.map +1 -1
- package/dist/commonjs/models/components/datasetuploadreceipt.d.ts +33 -0
- package/dist/commonjs/models/components/datasetuploadreceipt.d.ts.map +1 -0
- package/dist/commonjs/models/components/datasetuploadreceipt.js +71 -0
- package/dist/commonjs/models/components/datasetuploadreceipt.js.map +1 -0
- package/dist/commonjs/models/components/datasetuploadtarget.d.ts +6 -3
- package/dist/commonjs/models/components/datasetuploadtarget.d.ts.map +1 -1
- package/dist/commonjs/models/components/datasetuploadtarget.js +2 -2
- package/dist/commonjs/models/components/datasetuploadtarget.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +1 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +1 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/operations/index.d.ts +1 -0
- package/dist/commonjs/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/models/operations/index.js +1 -0
- package/dist/commonjs/models/operations/index.js.map +1 -1
- package/dist/commonjs/models/operations/uploadservingdatasetcontent.d.ts +24 -0
- package/dist/commonjs/models/operations/uploadservingdatasetcontent.d.ts.map +1 -0
- package/dist/commonjs/models/operations/uploadservingdatasetcontent.js +85 -0
- package/dist/commonjs/models/operations/uploadservingdatasetcontent.js.map +1 -0
- package/dist/commonjs/react-query/index.d.ts +1 -0
- package/dist/commonjs/react-query/index.d.ts.map +1 -1
- package/dist/commonjs/react-query/index.js +1 -0
- package/dist/commonjs/react-query/index.js.map +1 -1
- package/dist/commonjs/react-query/servingDatasetsCreate.d.ts +1 -1
- package/dist/commonjs/react-query/servingDatasetsCreate.js +1 -1
- package/dist/commonjs/react-query/servingDatasetsUploadContent.d.ts +30 -0
- package/dist/commonjs/react-query/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/commonjs/react-query/servingDatasetsUploadContent.js +47 -0
- package/dist/commonjs/react-query/servingDatasetsUploadContent.js.map +1 -0
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.d.ts +3 -1
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.js +3 -1
- package/dist/commonjs/react-query/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/commonjs/react-query/servingTenantsGet.d.ts +6 -2
- package/dist/commonjs/react-query/servingTenantsGet.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsGet.js +6 -2
- package/dist/commonjs/react-query/servingTenantsGet.js.map +1 -1
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.d.ts +6 -2
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.js +6 -2
- package/dist/commonjs/react-query/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/commonjs/react-query/servingTenantsList.d.ts +6 -2
- package/dist/commonjs/react-query/servingTenantsList.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsList.js +6 -2
- package/dist/commonjs/react-query/servingTenantsList.js.map +1 -1
- package/dist/commonjs/react-query/servingTenantsSet.d.ts +3 -1
- package/dist/commonjs/react-query/servingTenantsSet.d.ts.map +1 -1
- package/dist/commonjs/react-query/servingTenantsSet.js +3 -1
- package/dist/commonjs/react-query/servingTenantsSet.js.map +1 -1
- package/dist/commonjs/sdk/datasets.d.ts +8 -1
- package/dist/commonjs/sdk/datasets.d.ts.map +1 -1
- package/dist/commonjs/sdk/datasets.js +11 -1
- package/dist/commonjs/sdk/datasets.js.map +1 -1
- package/dist/commonjs/sdk/tenants.d.ts +15 -5
- package/dist/commonjs/sdk/tenants.d.ts.map +1 -1
- package/dist/commonjs/sdk/tenants.js +15 -5
- package/dist/commonjs/sdk/tenants.js.map +1 -1
- package/dist/esm/funcs/servingDatasetsCreate.d.ts +1 -1
- package/dist/esm/funcs/servingDatasetsCreate.js +1 -1
- package/dist/esm/funcs/servingDatasetsUploadContent.d.ts +19 -0
- package/dist/esm/funcs/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/esm/funcs/servingDatasetsUploadContent.js +103 -0
- package/dist/esm/funcs/servingDatasetsUploadContent.js.map +1 -0
- package/dist/esm/funcs/servingTenantsDeleteOrganization.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsDeleteOrganization.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsDeleteOrganization.js +3 -1
- package/dist/esm/funcs/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/esm/funcs/servingTenantsGet.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsGet.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsGet.js +3 -1
- package/dist/esm/funcs/servingTenantsGet.js.map +1 -1
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.js +3 -1
- package/dist/esm/funcs/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/esm/funcs/servingTenantsList.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsList.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsList.js +3 -1
- package/dist/esm/funcs/servingTenantsList.js.map +1 -1
- package/dist/esm/funcs/servingTenantsSet.d.ts +3 -1
- package/dist/esm/funcs/servingTenantsSet.d.ts.map +1 -1
- package/dist/esm/funcs/servingTenantsSet.js +3 -1
- package/dist/esm/funcs/servingTenantsSet.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/server.d.ts.map +1 -1
- package/dist/esm/mcp-server/server.js +3 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingDatasetsCreate.js +1 -1
- package/dist/esm/mcp-server/tools/servingDatasetsCreate.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingDatasetsUploadContent.d.ts +8 -0
- package/dist/esm/mcp-server/tools/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/esm/mcp-server/tools/servingDatasetsUploadContent.js +28 -0
- package/dist/esm/mcp-server/tools/servingDatasetsUploadContent.js.map +1 -0
- package/dist/esm/mcp-server/tools/servingTenantsDeleteOrganization.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsGet.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsGet.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsGetOrganizationDeletion.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsList.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsList.js.map +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsSet.js +1 -1
- package/dist/esm/mcp-server/tools/servingTenantsSet.js.map +1 -1
- package/dist/esm/models/components/datasetupload.d.ts +22 -1
- package/dist/esm/models/components/datasetupload.d.ts.map +1 -1
- package/dist/esm/models/components/datasetupload.js +13 -0
- package/dist/esm/models/components/datasetupload.js.map +1 -1
- package/dist/esm/models/components/datasetuploadreceipt.d.ts +33 -0
- package/dist/esm/models/components/datasetuploadreceipt.d.ts.map +1 -0
- package/dist/esm/models/components/datasetuploadreceipt.js +33 -0
- package/dist/esm/models/components/datasetuploadreceipt.js.map +1 -0
- package/dist/esm/models/components/datasetuploadtarget.d.ts +6 -3
- package/dist/esm/models/components/datasetuploadtarget.d.ts.map +1 -1
- package/dist/esm/models/components/datasetuploadtarget.js +2 -2
- package/dist/esm/models/components/datasetuploadtarget.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +1 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +1 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/operations/index.d.ts +1 -0
- package/dist/esm/models/operations/index.d.ts.map +1 -1
- package/dist/esm/models/operations/index.js +1 -0
- package/dist/esm/models/operations/index.js.map +1 -1
- package/dist/esm/models/operations/uploadservingdatasetcontent.d.ts +24 -0
- package/dist/esm/models/operations/uploadservingdatasetcontent.d.ts.map +1 -0
- package/dist/esm/models/operations/uploadservingdatasetcontent.js +47 -0
- package/dist/esm/models/operations/uploadservingdatasetcontent.js.map +1 -0
- package/dist/esm/react-query/index.d.ts +1 -0
- package/dist/esm/react-query/index.d.ts.map +1 -1
- package/dist/esm/react-query/index.js +1 -0
- package/dist/esm/react-query/index.js.map +1 -1
- package/dist/esm/react-query/servingDatasetsCreate.d.ts +1 -1
- package/dist/esm/react-query/servingDatasetsCreate.js +1 -1
- package/dist/esm/react-query/servingDatasetsUploadContent.d.ts +30 -0
- package/dist/esm/react-query/servingDatasetsUploadContent.d.ts.map +1 -0
- package/dist/esm/react-query/servingDatasetsUploadContent.js +42 -0
- package/dist/esm/react-query/servingDatasetsUploadContent.js.map +1 -0
- package/dist/esm/react-query/servingTenantsDeleteOrganization.d.ts +3 -1
- package/dist/esm/react-query/servingTenantsDeleteOrganization.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsDeleteOrganization.js +3 -1
- package/dist/esm/react-query/servingTenantsDeleteOrganization.js.map +1 -1
- package/dist/esm/react-query/servingTenantsGet.d.ts +6 -2
- package/dist/esm/react-query/servingTenantsGet.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsGet.js +6 -2
- package/dist/esm/react-query/servingTenantsGet.js.map +1 -1
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.d.ts +6 -2
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.js +6 -2
- package/dist/esm/react-query/servingTenantsGetOrganizationDeletion.js.map +1 -1
- package/dist/esm/react-query/servingTenantsList.d.ts +6 -2
- package/dist/esm/react-query/servingTenantsList.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsList.js +6 -2
- package/dist/esm/react-query/servingTenantsList.js.map +1 -1
- package/dist/esm/react-query/servingTenantsSet.d.ts +3 -1
- package/dist/esm/react-query/servingTenantsSet.d.ts.map +1 -1
- package/dist/esm/react-query/servingTenantsSet.js +3 -1
- package/dist/esm/react-query/servingTenantsSet.js.map +1 -1
- package/dist/esm/sdk/datasets.d.ts +8 -1
- package/dist/esm/sdk/datasets.d.ts.map +1 -1
- package/dist/esm/sdk/datasets.js +11 -1
- package/dist/esm/sdk/datasets.js.map +1 -1
- package/dist/esm/sdk/tenants.d.ts +15 -5
- package/dist/esm/sdk/tenants.d.ts.map +1 -1
- package/dist/esm/sdk/tenants.js +15 -5
- package/dist/esm/sdk/tenants.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/servingDatasetsCreate.ts +1 -1
- package/src/funcs/servingDatasetsUploadContent.ts +202 -0
- package/src/funcs/servingTenantsDeleteOrganization.ts +3 -1
- package/src/funcs/servingTenantsGet.ts +3 -1
- package/src/funcs/servingTenantsGetOrganizationDeletion.ts +3 -1
- package/src/funcs/servingTenantsList.ts +3 -1
- package/src/funcs/servingTenantsSet.ts +3 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/servingDatasetsCreate.ts +1 -1
- package/src/mcp-server/tools/servingDatasetsUploadContent.ts +37 -0
- package/src/mcp-server/tools/servingTenantsDeleteOrganization.ts +1 -1
- package/src/mcp-server/tools/servingTenantsGet.ts +1 -1
- package/src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts +1 -1
- package/src/mcp-server/tools/servingTenantsList.ts +1 -1
- package/src/mcp-server/tools/servingTenantsSet.ts +1 -1
- package/src/models/components/datasetupload.ts +30 -1
- package/src/models/components/datasetuploadreceipt.ts +80 -0
- package/src/models/components/datasetuploadtarget.ts +10 -5
- package/src/models/components/index.ts +1 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/uploadservingdatasetcontent.ts +88 -0
- package/src/react-query/index.ts +1 -0
- package/src/react-query/servingDatasetsCreate.ts +1 -1
- package/src/react-query/servingDatasetsUploadContent.ts +113 -0
- package/src/react-query/servingTenantsDeleteOrganization.ts +3 -1
- package/src/react-query/servingTenantsGet.ts +6 -2
- package/src/react-query/servingTenantsGetOrganizationDeletion.ts +6 -2
- package/src/react-query/servingTenantsList.ts +6 -2
- package/src/react-query/servingTenantsSet.ts +3 -1
- package/src/sdk/datasets.ts +19 -1
- package/src/sdk/tenants.ts +15 -5
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.
|
|
52879
|
+
sdkVersion: "0.51.21",
|
|
52880
52880
|
genVersion: "2.924.0",
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.51.
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.51.21 2.924.0 1.1.0 @meetkai/mka1"
|
|
52882
52882
|
};
|
|
52883
52883
|
});
|
|
52884
52884
|
|
|
@@ -63432,7 +63432,7 @@ var init_datasetuploadtarget = __esm(() => {
|
|
|
63432
63432
|
DatasetUploadTargetMethod$inboundSchema = nativeEnumType(DatasetUploadTargetMethod);
|
|
63433
63433
|
DatasetUploadTargetMethod$outboundSchema = DatasetUploadTargetMethod$inboundSchema;
|
|
63434
63434
|
DatasetUploadTarget$inboundSchema = objectType({
|
|
63435
|
-
expires_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
63435
|
+
expires_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
63436
63436
|
key: stringType(),
|
|
63437
63437
|
method: DatasetUploadTargetMethod$inboundSchema,
|
|
63438
63438
|
url: stringType()
|
|
@@ -63442,7 +63442,7 @@ var init_datasetuploadtarget = __esm(() => {
|
|
|
63442
63442
|
});
|
|
63443
63443
|
});
|
|
63444
63444
|
DatasetUploadTarget$outboundSchema = objectType({
|
|
63445
|
-
expiresAt: dateType().transform((v2) => v2.toISOString()),
|
|
63445
|
+
expiresAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
63446
63446
|
key: stringType(),
|
|
63447
63447
|
method: DatasetUploadTargetMethod$outboundSchema,
|
|
63448
63448
|
url: stringType()
|
|
@@ -63454,14 +63454,22 @@ var init_datasetuploadtarget = __esm(() => {
|
|
|
63454
63454
|
});
|
|
63455
63455
|
|
|
63456
63456
|
// src/models/components/datasetupload.ts
|
|
63457
|
-
var DatasetUpload$inboundSchema, DatasetUpload$outboundSchema;
|
|
63457
|
+
var DatasetUploadMode, DatasetUploadMode$inboundSchema, DatasetUploadMode$outboundSchema, DatasetUpload$inboundSchema, DatasetUpload$outboundSchema;
|
|
63458
63458
|
var init_datasetupload = __esm(() => {
|
|
63459
63459
|
init_esm();
|
|
63460
63460
|
init_datasetuploadtarget();
|
|
63461
|
+
DatasetUploadMode = {
|
|
63462
|
+
Api: "api",
|
|
63463
|
+
Presigned: "presigned"
|
|
63464
|
+
};
|
|
63465
|
+
DatasetUploadMode$inboundSchema = nativeEnumType(DatasetUploadMode);
|
|
63466
|
+
DatasetUploadMode$outboundSchema = DatasetUploadMode$inboundSchema;
|
|
63461
63467
|
DatasetUpload$inboundSchema = objectType({
|
|
63468
|
+
mode: DatasetUploadMode$inboundSchema,
|
|
63462
63469
|
targets: arrayType(DatasetUploadTarget$inboundSchema)
|
|
63463
63470
|
});
|
|
63464
63471
|
DatasetUpload$outboundSchema = objectType({
|
|
63472
|
+
mode: DatasetUploadMode$outboundSchema,
|
|
63465
63473
|
targets: arrayType(DatasetUploadTarget$outboundSchema)
|
|
63466
63474
|
});
|
|
63467
63475
|
});
|
|
@@ -63537,6 +63545,31 @@ var init_datasetcreate = __esm(() => {
|
|
|
63537
63545
|
});
|
|
63538
63546
|
});
|
|
63539
63547
|
|
|
63548
|
+
// src/models/components/datasetuploadreceipt.ts
|
|
63549
|
+
var DatasetUploadReceipt$inboundSchema, DatasetUploadReceipt$outboundSchema;
|
|
63550
|
+
var init_datasetuploadreceipt = __esm(() => {
|
|
63551
|
+
init_esm();
|
|
63552
|
+
init_primitives();
|
|
63553
|
+
DatasetUploadReceipt$inboundSchema = objectType({
|
|
63554
|
+
key: stringType(),
|
|
63555
|
+
sha256: stringType(),
|
|
63556
|
+
size_bytes: numberType().int()
|
|
63557
|
+
}).transform((v2) => {
|
|
63558
|
+
return remap(v2, {
|
|
63559
|
+
size_bytes: "sizeBytes"
|
|
63560
|
+
});
|
|
63561
|
+
});
|
|
63562
|
+
DatasetUploadReceipt$outboundSchema = objectType({
|
|
63563
|
+
key: stringType(),
|
|
63564
|
+
sha256: stringType(),
|
|
63565
|
+
sizeBytes: numberType().int()
|
|
63566
|
+
}).transform((v2) => {
|
|
63567
|
+
return remap(v2, {
|
|
63568
|
+
sizeBytes: "size_bytes"
|
|
63569
|
+
});
|
|
63570
|
+
});
|
|
63571
|
+
});
|
|
63572
|
+
|
|
63540
63573
|
// src/models/components/deactivateregistryentryresponse.ts
|
|
63541
63574
|
var DeactivateRegistryEntryResponse$inboundSchema, DeactivateRegistryEntryResponse$outboundSchema;
|
|
63542
63575
|
var init_deactivateregistryentryresponse = __esm(() => {
|
|
@@ -77775,6 +77808,7 @@ var init_components = __esm(() => {
|
|
|
77775
77808
|
init_datasetmanifest();
|
|
77776
77809
|
init_datasetmanifestobject();
|
|
77777
77810
|
init_datasetupload();
|
|
77811
|
+
init_datasetuploadreceipt();
|
|
77778
77812
|
init_datasetuploadtarget();
|
|
77779
77813
|
init_deactivateregistryentryresponse();
|
|
77780
77814
|
init_decideagentrunmcpapprovalrequest();
|
|
@@ -99566,6 +99600,45 @@ var init_uploadfile = __esm(() => {
|
|
|
99566
99600
|
});
|
|
99567
99601
|
});
|
|
99568
99602
|
|
|
99603
|
+
// src/models/operations/uploadservingdatasetcontent.ts
|
|
99604
|
+
var UploadServingDatasetContentRequest$inboundSchema, UploadServingDatasetContentRequest$outboundSchema;
|
|
99605
|
+
var init_uploadservingdatasetcontent = __esm(() => {
|
|
99606
|
+
init_esm();
|
|
99607
|
+
init_primitives();
|
|
99608
|
+
UploadServingDatasetContentRequest$inboundSchema = objectType({
|
|
99609
|
+
dataset_id: stringType(),
|
|
99610
|
+
"X-On-Behalf-Of": stringType().optional(),
|
|
99611
|
+
RequestBody: unionType([
|
|
99612
|
+
instanceOfType(ReadableStream),
|
|
99613
|
+
instanceOfType(Blob),
|
|
99614
|
+
instanceOfType(ArrayBuffer),
|
|
99615
|
+
instanceOfType(Uint8Array)
|
|
99616
|
+
])
|
|
99617
|
+
}).transform((v2) => {
|
|
99618
|
+
return remap(v2, {
|
|
99619
|
+
dataset_id: "datasetId",
|
|
99620
|
+
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
99621
|
+
RequestBody: "requestBody"
|
|
99622
|
+
});
|
|
99623
|
+
});
|
|
99624
|
+
UploadServingDatasetContentRequest$outboundSchema = objectType({
|
|
99625
|
+
datasetId: stringType(),
|
|
99626
|
+
xOnBehalfOf: stringType().optional(),
|
|
99627
|
+
requestBody: unionType([
|
|
99628
|
+
instanceOfType(ReadableStream),
|
|
99629
|
+
instanceOfType(Blob),
|
|
99630
|
+
instanceOfType(ArrayBuffer),
|
|
99631
|
+
instanceOfType(Uint8Array)
|
|
99632
|
+
])
|
|
99633
|
+
}).transform((v2) => {
|
|
99634
|
+
return remap(v2, {
|
|
99635
|
+
datasetId: "dataset_id",
|
|
99636
|
+
xOnBehalfOf: "X-On-Behalf-Of",
|
|
99637
|
+
requestBody: "RequestBody"
|
|
99638
|
+
});
|
|
99639
|
+
});
|
|
99640
|
+
});
|
|
99641
|
+
|
|
99569
99642
|
// src/models/operations/uploadworkspacearchive.ts
|
|
99570
99643
|
var UploadWorkspaceArchiveRequest$inboundSchema, UploadWorkspaceArchiveRequest$outboundSchema;
|
|
99571
99644
|
var init_uploadworkspacearchive = __esm(() => {
|
|
@@ -100081,6 +100154,7 @@ var init_operations = __esm(() => {
|
|
|
100081
100154
|
init_updateteam2();
|
|
100082
100155
|
init_updatevectorstorefileattributes();
|
|
100083
100156
|
init_uploadfile();
|
|
100157
|
+
init_uploadservingdatasetcontent();
|
|
100084
100158
|
init_uploadworkspacearchive();
|
|
100085
100159
|
init_uploadworkspacefile();
|
|
100086
100160
|
init_wakeagentrun();
|
|
@@ -134479,7 +134553,7 @@ var init_servingDatasetsCreate2 = __esm(() => {
|
|
|
134479
134553
|
name: "serving-datasets-create",
|
|
134480
134554
|
description: `Register or begin uploading a dataset
|
|
134481
134555
|
|
|
134482
|
-
Register a dataset by reference (\`source\`: an external dataset reference passed to the trainer as-is, or a \`repo://{repo}[@{revision}][/{path}]\` reference reserved for the versioned dataset store) — the dataset is \`ready\` immediately. Omit \`source\` to upload instead: the response is \`pending_upload\` and carries an \`upload\` block
|
|
134556
|
+
Register a dataset by reference (\`source\`: an external dataset reference passed to the trainer as-is, or a \`repo://{repo}[@{revision}][/{path}]\` reference reserved for the versioned dataset store) — the dataset is \`ready\` immediately. Omit \`source\` to upload instead: the response is \`pending_upload\` and carries an \`upload\` block describing where to PUT the data. When the artifact store is not internet-exposed (the default posture) the block is \`mode: api\` and the target is the API upload path; when a public artifact endpoint is configured it is \`mode: presigned\` with time-bounded presigned PUT URLs. PUT the data, then call commit to seal the immutable manifest.`,
|
|
134483
134557
|
args: args283,
|
|
134484
134558
|
tool: async (client, args284, ctx) => {
|
|
134485
134559
|
const [result, apiCall] = await servingDatasetsCreate(client, args284.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -134855,11 +134929,132 @@ List your datasets.`,
|
|
|
134855
134929
|
};
|
|
134856
134930
|
});
|
|
134857
134931
|
|
|
134858
|
-
// src/funcs/
|
|
134859
|
-
function
|
|
134932
|
+
// src/funcs/servingDatasetsUploadContent.ts
|
|
134933
|
+
function servingDatasetsUploadContent(client, request, options) {
|
|
134860
134934
|
return new APIPromise($do296(client, request, options));
|
|
134861
134935
|
}
|
|
134862
134936
|
async function $do296(client, request, options) {
|
|
134937
|
+
const parsed = safeParse4(request, (value) => UploadServingDatasetContentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134938
|
+
if (!parsed.ok) {
|
|
134939
|
+
return [parsed, { status: "invalid" }];
|
|
134940
|
+
}
|
|
134941
|
+
const payload = parsed.value;
|
|
134942
|
+
const body = payload.RequestBody instanceof Uint8Array ? new Uint8Array(payload.RequestBody).buffer : payload.RequestBody;
|
|
134943
|
+
const pathParams = {
|
|
134944
|
+
dataset_id: encodeSimple("dataset_id", payload.dataset_id, {
|
|
134945
|
+
explode: false,
|
|
134946
|
+
charEncoding: "percent"
|
|
134947
|
+
})
|
|
134948
|
+
};
|
|
134949
|
+
const path = pathToFunc("/api/v1/serving/datasets/{dataset_id}/content")(pathParams);
|
|
134950
|
+
const headers = new Headers(compactMap({
|
|
134951
|
+
"Content-Type": "application/octet-stream",
|
|
134952
|
+
Accept: "application/json",
|
|
134953
|
+
"X-On-Behalf-Of": encodeSimple("X-On-Behalf-Of", payload["X-On-Behalf-Of"], { explode: false, charEncoding: "none" })
|
|
134954
|
+
}));
|
|
134955
|
+
const secConfig = await extractSecurity(client._options.bearerAuth);
|
|
134956
|
+
const securityInput = secConfig == null ? {} : { bearerAuth: secConfig };
|
|
134957
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
134958
|
+
const context = {
|
|
134959
|
+
options: client._options,
|
|
134960
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
134961
|
+
operationID: "uploadServingDatasetContent",
|
|
134962
|
+
oAuth2Scopes: null,
|
|
134963
|
+
resolvedSecurity: requestSecurity,
|
|
134964
|
+
securitySource: client._options.bearerAuth,
|
|
134965
|
+
retryConfig: options?.retries || client._options.retryConfig || {
|
|
134966
|
+
strategy: "backoff",
|
|
134967
|
+
backoff: {
|
|
134968
|
+
initialInterval: 500,
|
|
134969
|
+
maxInterval: 5000,
|
|
134970
|
+
exponent: 1.5,
|
|
134971
|
+
maxElapsedTime: 15000
|
|
134972
|
+
},
|
|
134973
|
+
retryConnectionErrors: true
|
|
134974
|
+
},
|
|
134975
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
134976
|
+
};
|
|
134977
|
+
const requestRes = client._createRequest(context, {
|
|
134978
|
+
security: requestSecurity,
|
|
134979
|
+
method: "PUT",
|
|
134980
|
+
baseURL: options?.serverURL,
|
|
134981
|
+
path,
|
|
134982
|
+
headers,
|
|
134983
|
+
body,
|
|
134984
|
+
userAgent: client._options.userAgent,
|
|
134985
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
134986
|
+
}, options);
|
|
134987
|
+
if (!requestRes.ok) {
|
|
134988
|
+
return [requestRes, { status: "invalid" }];
|
|
134989
|
+
}
|
|
134990
|
+
const req = requestRes.value;
|
|
134991
|
+
const doResult = await client._do(req, {
|
|
134992
|
+
context,
|
|
134993
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
134994
|
+
retryConfig: context.retryConfig,
|
|
134995
|
+
retryCodes: context.retryCodes
|
|
134996
|
+
});
|
|
134997
|
+
if (!doResult.ok) {
|
|
134998
|
+
return [doResult, { status: "request-error", request: req }];
|
|
134999
|
+
}
|
|
135000
|
+
const response = doResult.value;
|
|
135001
|
+
const responseFields = {
|
|
135002
|
+
HttpMeta: { Response: response, Request: req }
|
|
135003
|
+
};
|
|
135004
|
+
const [result] = await match(json(200, DatasetUploadReceipt$inboundSchema), jsonErr([403, 404, 409, 413], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135005
|
+
if (!result.ok) {
|
|
135006
|
+
return [result, { status: "complete", request: req, response }];
|
|
135007
|
+
}
|
|
135008
|
+
return [result, { status: "complete", request: req, response }];
|
|
135009
|
+
}
|
|
135010
|
+
var init_servingDatasetsUploadContent = __esm(() => {
|
|
135011
|
+
init_encodings();
|
|
135012
|
+
init_http();
|
|
135013
|
+
init_matchers();
|
|
135014
|
+
init_primitives();
|
|
135015
|
+
init_schemas4();
|
|
135016
|
+
init_security();
|
|
135017
|
+
init_url();
|
|
135018
|
+
init_components();
|
|
135019
|
+
init_errors4();
|
|
135020
|
+
init_operations();
|
|
135021
|
+
init_async();
|
|
135022
|
+
});
|
|
135023
|
+
|
|
135024
|
+
// src/mcp-server/tools/servingDatasetsUploadContent.ts
|
|
135025
|
+
var args287, tool$servingDatasetsUploadContent;
|
|
135026
|
+
var init_servingDatasetsUploadContent2 = __esm(() => {
|
|
135027
|
+
init_servingDatasetsUploadContent();
|
|
135028
|
+
init_operations();
|
|
135029
|
+
init_tools();
|
|
135030
|
+
args287 = {
|
|
135031
|
+
request: UploadServingDatasetContentRequest$inboundSchema
|
|
135032
|
+
};
|
|
135033
|
+
tool$servingDatasetsUploadContent = {
|
|
135034
|
+
name: "serving-datasets-upload-content",
|
|
135035
|
+
description: `Upload dataset content through the API
|
|
135036
|
+
|
|
135037
|
+
Stream the raw dataset bytes through the serving API into the dataset's object storage. Valid only while the dataset is \`pending_upload\`; repeating the upload before commit overwrites the previous bytes. The response receipt carries the stored size and SHA-256 digest so the client can verify the bytes before calling commit. Uploads are capped by the cluster's configured maximum dataset size.`,
|
|
135038
|
+
args: args287,
|
|
135039
|
+
tool: async (client, args288, ctx) => {
|
|
135040
|
+
const [result, apiCall] = await servingDatasetsUploadContent(client, args288.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135041
|
+
if (!result.ok) {
|
|
135042
|
+
return {
|
|
135043
|
+
content: [{ type: "text", text: result.error.message }],
|
|
135044
|
+
isError: true
|
|
135045
|
+
};
|
|
135046
|
+
}
|
|
135047
|
+
const value = result.value;
|
|
135048
|
+
return formatResult(value, apiCall);
|
|
135049
|
+
}
|
|
135050
|
+
};
|
|
135051
|
+
});
|
|
135052
|
+
|
|
135053
|
+
// src/funcs/servingDeploymentsCreate.ts
|
|
135054
|
+
function servingDeploymentsCreate(client, request, options) {
|
|
135055
|
+
return new APIPromise($do297(client, request, options));
|
|
135056
|
+
}
|
|
135057
|
+
async function $do297(client, request, options) {
|
|
134863
135058
|
const parsed = safeParse4(request, (value) => CreateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134864
135059
|
if (!parsed.ok) {
|
|
134865
135060
|
return [parsed, { status: "invalid" }];
|
|
@@ -134942,12 +135137,12 @@ var init_servingDeploymentsCreate = __esm(() => {
|
|
|
134942
135137
|
});
|
|
134943
135138
|
|
|
134944
135139
|
// src/mcp-server/tools/servingDeploymentsCreate.ts
|
|
134945
|
-
var
|
|
135140
|
+
var args288, tool$servingDeploymentsCreate;
|
|
134946
135141
|
var init_servingDeploymentsCreate2 = __esm(() => {
|
|
134947
135142
|
init_servingDeploymentsCreate();
|
|
134948
135143
|
init_operations();
|
|
134949
135144
|
init_tools();
|
|
134950
|
-
|
|
135145
|
+
args288 = {
|
|
134951
135146
|
request: CreateDeploymentRequest$inboundSchema
|
|
134952
135147
|
};
|
|
134953
135148
|
tool$servingDeploymentsCreate = {
|
|
@@ -134955,9 +135150,9 @@ var init_servingDeploymentsCreate2 = __esm(() => {
|
|
|
134955
135150
|
description: `Create an inference deployment
|
|
134956
135151
|
|
|
134957
135152
|
Create and start an inference deployment for a model, and return its endpoint.`,
|
|
134958
|
-
args:
|
|
134959
|
-
tool: async (client,
|
|
134960
|
-
const [result, apiCall] = await servingDeploymentsCreate(client,
|
|
135153
|
+
args: args288,
|
|
135154
|
+
tool: async (client, args289, ctx) => {
|
|
135155
|
+
const [result, apiCall] = await servingDeploymentsCreate(client, args289.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
134961
135156
|
if (!result.ok) {
|
|
134962
135157
|
return {
|
|
134963
135158
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -134972,9 +135167,9 @@ Create and start an inference deployment for a model, and return its endpoint.`,
|
|
|
134972
135167
|
|
|
134973
135168
|
// src/funcs/servingDeploymentsDelete.ts
|
|
134974
135169
|
function servingDeploymentsDelete(client, request, options) {
|
|
134975
|
-
return new APIPromise($
|
|
135170
|
+
return new APIPromise($do298(client, request, options));
|
|
134976
135171
|
}
|
|
134977
|
-
async function $
|
|
135172
|
+
async function $do298(client, request, options) {
|
|
134978
135173
|
const parsed = safeParse4(request, (value) => DeleteDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
134979
135174
|
if (!parsed.ok) {
|
|
134980
135175
|
return [parsed, { status: "invalid" }];
|
|
@@ -135062,12 +135257,12 @@ var init_servingDeploymentsDelete = __esm(() => {
|
|
|
135062
135257
|
});
|
|
135063
135258
|
|
|
135064
135259
|
// src/mcp-server/tools/servingDeploymentsDelete.ts
|
|
135065
|
-
var
|
|
135260
|
+
var args289, tool$servingDeploymentsDelete;
|
|
135066
135261
|
var init_servingDeploymentsDelete2 = __esm(() => {
|
|
135067
135262
|
init_servingDeploymentsDelete();
|
|
135068
135263
|
init_operations();
|
|
135069
135264
|
init_tools();
|
|
135070
|
-
|
|
135265
|
+
args289 = {
|
|
135071
135266
|
request: DeleteDeploymentRequest$inboundSchema
|
|
135072
135267
|
};
|
|
135073
135268
|
tool$servingDeploymentsDelete = {
|
|
@@ -135075,9 +135270,9 @@ var init_servingDeploymentsDelete2 = __esm(() => {
|
|
|
135075
135270
|
description: `Tear down a deployment
|
|
135076
135271
|
|
|
135077
135272
|
Tear down a deployment and release its resources.`,
|
|
135078
|
-
args:
|
|
135079
|
-
tool: async (client,
|
|
135080
|
-
const [result, apiCall] = await servingDeploymentsDelete(client,
|
|
135273
|
+
args: args289,
|
|
135274
|
+
tool: async (client, args290, ctx) => {
|
|
135275
|
+
const [result, apiCall] = await servingDeploymentsDelete(client, args290.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135081
135276
|
if (!result.ok) {
|
|
135082
135277
|
return {
|
|
135083
135278
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135091,9 +135286,9 @@ Tear down a deployment and release its resources.`,
|
|
|
135091
135286
|
|
|
135092
135287
|
// src/funcs/servingDeploymentsDeregister.ts
|
|
135093
135288
|
function servingDeploymentsDeregister(client, request, options) {
|
|
135094
|
-
return new APIPromise($
|
|
135289
|
+
return new APIPromise($do299(client, request, options));
|
|
135095
135290
|
}
|
|
135096
|
-
async function $
|
|
135291
|
+
async function $do299(client, request, options) {
|
|
135097
135292
|
const parsed = safeParse4(request, (value) => DeregisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135098
135293
|
if (!parsed.ok) {
|
|
135099
135294
|
return [parsed, { status: "invalid" }];
|
|
@@ -135181,12 +135376,12 @@ var init_servingDeploymentsDeregister = __esm(() => {
|
|
|
135181
135376
|
});
|
|
135182
135377
|
|
|
135183
135378
|
// src/mcp-server/tools/servingDeploymentsDeregister.ts
|
|
135184
|
-
var
|
|
135379
|
+
var args290, tool$servingDeploymentsDeregister;
|
|
135185
135380
|
var init_servingDeploymentsDeregister2 = __esm(() => {
|
|
135186
135381
|
init_servingDeploymentsDeregister();
|
|
135187
135382
|
init_operations();
|
|
135188
135383
|
init_tools();
|
|
135189
|
-
|
|
135384
|
+
args290 = {
|
|
135190
135385
|
request: DeregisterDeploymentRequest$inboundSchema
|
|
135191
135386
|
};
|
|
135192
135387
|
tool$servingDeploymentsDeregister = {
|
|
@@ -135194,9 +135389,9 @@ var init_servingDeploymentsDeregister2 = __esm(() => {
|
|
|
135194
135389
|
description: `Deregister the model from the LLM gateway
|
|
135195
135390
|
|
|
135196
135391
|
Withdraw the deployment's model from the LLM gateway registry: inference stops resolving, compute keeps running (re-register any time).`,
|
|
135197
|
-
args:
|
|
135198
|
-
tool: async (client,
|
|
135199
|
-
const [result, apiCall] = await servingDeploymentsDeregister(client,
|
|
135392
|
+
args: args290,
|
|
135393
|
+
tool: async (client, args291, ctx) => {
|
|
135394
|
+
const [result, apiCall] = await servingDeploymentsDeregister(client, args291.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135200
135395
|
if (!result.ok) {
|
|
135201
135396
|
return {
|
|
135202
135397
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135210,9 +135405,9 @@ Withdraw the deployment's model from the LLM gateway registry: inference stops r
|
|
|
135210
135405
|
|
|
135211
135406
|
// src/funcs/servingDeploymentsGet.ts
|
|
135212
135407
|
function servingDeploymentsGet(client, request, options) {
|
|
135213
|
-
return new APIPromise($
|
|
135408
|
+
return new APIPromise($do300(client, request, options));
|
|
135214
135409
|
}
|
|
135215
|
-
async function $
|
|
135410
|
+
async function $do300(client, request, options) {
|
|
135216
135411
|
const parsed = safeParse4(request, (value) => GetDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135217
135412
|
if (!parsed.ok) {
|
|
135218
135413
|
return [parsed, { status: "invalid" }];
|
|
@@ -135300,12 +135495,12 @@ var init_servingDeploymentsGet = __esm(() => {
|
|
|
135300
135495
|
});
|
|
135301
135496
|
|
|
135302
135497
|
// src/mcp-server/tools/servingDeploymentsGet.ts
|
|
135303
|
-
var
|
|
135498
|
+
var args291, tool$servingDeploymentsGet;
|
|
135304
135499
|
var init_servingDeploymentsGet2 = __esm(() => {
|
|
135305
135500
|
init_servingDeploymentsGet();
|
|
135306
135501
|
init_operations();
|
|
135307
135502
|
init_tools();
|
|
135308
|
-
|
|
135503
|
+
args291 = {
|
|
135309
135504
|
request: GetDeploymentRequest$inboundSchema
|
|
135310
135505
|
};
|
|
135311
135506
|
tool$servingDeploymentsGet = {
|
|
@@ -135313,9 +135508,9 @@ var init_servingDeploymentsGet2 = __esm(() => {
|
|
|
135313
135508
|
description: `Get a deployment
|
|
135314
135509
|
|
|
135315
135510
|
Retrieve a single deployment, including its status and endpoint URL.`,
|
|
135316
|
-
args:
|
|
135317
|
-
tool: async (client,
|
|
135318
|
-
const [result, apiCall] = await servingDeploymentsGet(client,
|
|
135511
|
+
args: args291,
|
|
135512
|
+
tool: async (client, args292, ctx) => {
|
|
135513
|
+
const [result, apiCall] = await servingDeploymentsGet(client, args292.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135319
135514
|
if (!result.ok) {
|
|
135320
135515
|
return {
|
|
135321
135516
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135330,9 +135525,9 @@ Retrieve a single deployment, including its status and endpoint URL.`,
|
|
|
135330
135525
|
|
|
135331
135526
|
// src/funcs/servingDeploymentsGetLogs.ts
|
|
135332
135527
|
function servingDeploymentsGetLogs(client, request, options) {
|
|
135333
|
-
return new APIPromise($
|
|
135528
|
+
return new APIPromise($do301(client, request, options));
|
|
135334
135529
|
}
|
|
135335
|
-
async function $
|
|
135530
|
+
async function $do301(client, request, options) {
|
|
135336
135531
|
const parsed = safeParse4(request, (value) => GetDeploymentLogsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135337
135532
|
if (!parsed.ok) {
|
|
135338
135533
|
return [parsed, { status: "invalid" }];
|
|
@@ -135424,12 +135619,12 @@ var init_servingDeploymentsGetLogs = __esm(() => {
|
|
|
135424
135619
|
});
|
|
135425
135620
|
|
|
135426
135621
|
// src/mcp-server/tools/servingDeploymentsGetLogs.ts
|
|
135427
|
-
var
|
|
135622
|
+
var args292, tool$servingDeploymentsGetLogs;
|
|
135428
135623
|
var init_servingDeploymentsGetLogs2 = __esm(() => {
|
|
135429
135624
|
init_servingDeploymentsGetLogs();
|
|
135430
135625
|
init_operations();
|
|
135431
135626
|
init_tools();
|
|
135432
|
-
|
|
135627
|
+
args292 = {
|
|
135433
135628
|
request: GetDeploymentLogsRequest$inboundSchema
|
|
135434
135629
|
};
|
|
135435
135630
|
tool$servingDeploymentsGetLogs = {
|
|
@@ -135437,9 +135632,9 @@ var init_servingDeploymentsGetLogs2 = __esm(() => {
|
|
|
135437
135632
|
description: `Fetch deployment logs
|
|
135438
135633
|
|
|
135439
135634
|
Fetch recent log lines from a deployment's replicas.`,
|
|
135440
|
-
args:
|
|
135441
|
-
tool: async (client,
|
|
135442
|
-
const [result, apiCall] = await servingDeploymentsGetLogs(client,
|
|
135635
|
+
args: args292,
|
|
135636
|
+
tool: async (client, args293, ctx) => {
|
|
135637
|
+
const [result, apiCall] = await servingDeploymentsGetLogs(client, args293.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135443
135638
|
if (!result.ok) {
|
|
135444
135639
|
return {
|
|
135445
135640
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135454,9 +135649,9 @@ Fetch recent log lines from a deployment's replicas.`,
|
|
|
135454
135649
|
|
|
135455
135650
|
// src/funcs/servingDeploymentsGetMetrics.ts
|
|
135456
135651
|
function servingDeploymentsGetMetrics(client, request, options) {
|
|
135457
|
-
return new APIPromise($
|
|
135652
|
+
return new APIPromise($do302(client, request, options));
|
|
135458
135653
|
}
|
|
135459
|
-
async function $
|
|
135654
|
+
async function $do302(client, request, options) {
|
|
135460
135655
|
const parsed = safeParse4(request, (value) => GetDeploymentMetricsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135461
135656
|
if (!parsed.ok) {
|
|
135462
135657
|
return [parsed, { status: "invalid" }];
|
|
@@ -135544,12 +135739,12 @@ var init_servingDeploymentsGetMetrics = __esm(() => {
|
|
|
135544
135739
|
});
|
|
135545
135740
|
|
|
135546
135741
|
// src/mcp-server/tools/servingDeploymentsGetMetrics.ts
|
|
135547
|
-
var
|
|
135742
|
+
var args293, tool$servingDeploymentsGetMetrics;
|
|
135548
135743
|
var init_servingDeploymentsGetMetrics2 = __esm(() => {
|
|
135549
135744
|
init_servingDeploymentsGetMetrics();
|
|
135550
135745
|
init_operations();
|
|
135551
135746
|
init_tools();
|
|
135552
|
-
|
|
135747
|
+
args293 = {
|
|
135553
135748
|
request: GetDeploymentMetricsRequest$inboundSchema
|
|
135554
135749
|
};
|
|
135555
135750
|
tool$servingDeploymentsGetMetrics = {
|
|
@@ -135557,9 +135752,9 @@ var init_servingDeploymentsGetMetrics2 = __esm(() => {
|
|
|
135557
135752
|
description: `Live serving metrics
|
|
135558
135753
|
|
|
135559
135754
|
Return live serving metrics (throughput, queue depth, accelerator usage).`,
|
|
135560
|
-
args:
|
|
135561
|
-
tool: async (client,
|
|
135562
|
-
const [result, apiCall] = await servingDeploymentsGetMetrics(client,
|
|
135755
|
+
args: args293,
|
|
135756
|
+
tool: async (client, args294, ctx) => {
|
|
135757
|
+
const [result, apiCall] = await servingDeploymentsGetMetrics(client, args294.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135563
135758
|
if (!result.ok) {
|
|
135564
135759
|
return {
|
|
135565
135760
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135574,9 +135769,9 @@ Return live serving metrics (throughput, queue depth, accelerator usage).`,
|
|
|
135574
135769
|
|
|
135575
135770
|
// src/funcs/servingDeploymentsList.ts
|
|
135576
135771
|
function servingDeploymentsList(client, request, options) {
|
|
135577
|
-
return new APIPromise($
|
|
135772
|
+
return new APIPromise($do303(client, request, options));
|
|
135578
135773
|
}
|
|
135579
|
-
async function $
|
|
135774
|
+
async function $do303(client, request, options) {
|
|
135580
135775
|
const parsed = safeParse4(request, (value) => ListDeploymentsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135581
135776
|
if (!parsed.ok) {
|
|
135582
135777
|
return [parsed, { status: "invalid" }];
|
|
@@ -135663,12 +135858,12 @@ var init_servingDeploymentsList = __esm(() => {
|
|
|
135663
135858
|
});
|
|
135664
135859
|
|
|
135665
135860
|
// src/mcp-server/tools/servingDeploymentsList.ts
|
|
135666
|
-
var
|
|
135861
|
+
var args294, tool$servingDeploymentsList;
|
|
135667
135862
|
var init_servingDeploymentsList2 = __esm(() => {
|
|
135668
135863
|
init_servingDeploymentsList();
|
|
135669
135864
|
init_operations();
|
|
135670
135865
|
init_tools();
|
|
135671
|
-
|
|
135866
|
+
args294 = {
|
|
135672
135867
|
request: ListDeploymentsRequest$inboundSchema
|
|
135673
135868
|
};
|
|
135674
135869
|
tool$servingDeploymentsList = {
|
|
@@ -135676,9 +135871,9 @@ var init_servingDeploymentsList2 = __esm(() => {
|
|
|
135676
135871
|
description: `List deployments
|
|
135677
135872
|
|
|
135678
135873
|
List your inference deployments.`,
|
|
135679
|
-
args:
|
|
135680
|
-
tool: async (client,
|
|
135681
|
-
const [result, apiCall] = await servingDeploymentsList(client,
|
|
135874
|
+
args: args294,
|
|
135875
|
+
tool: async (client, args295, ctx) => {
|
|
135876
|
+
const [result, apiCall] = await servingDeploymentsList(client, args295.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135682
135877
|
if (!result.ok) {
|
|
135683
135878
|
return {
|
|
135684
135879
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135693,9 +135888,9 @@ List your inference deployments.`,
|
|
|
135693
135888
|
|
|
135694
135889
|
// src/funcs/servingDeploymentsListReplicas.ts
|
|
135695
135890
|
function servingDeploymentsListReplicas(client, request, options) {
|
|
135696
|
-
return new APIPromise($
|
|
135891
|
+
return new APIPromise($do304(client, request, options));
|
|
135697
135892
|
}
|
|
135698
|
-
async function $
|
|
135893
|
+
async function $do304(client, request, options) {
|
|
135699
135894
|
const parsed = safeParse4(request, (value) => ListReplicasRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135700
135895
|
if (!parsed.ok) {
|
|
135701
135896
|
return [parsed, { status: "invalid" }];
|
|
@@ -135783,12 +135978,12 @@ var init_servingDeploymentsListReplicas = __esm(() => {
|
|
|
135783
135978
|
});
|
|
135784
135979
|
|
|
135785
135980
|
// src/mcp-server/tools/servingDeploymentsListReplicas.ts
|
|
135786
|
-
var
|
|
135981
|
+
var args295, tool$servingDeploymentsListReplicas;
|
|
135787
135982
|
var init_servingDeploymentsListReplicas2 = __esm(() => {
|
|
135788
135983
|
init_servingDeploymentsListReplicas();
|
|
135789
135984
|
init_operations();
|
|
135790
135985
|
init_tools();
|
|
135791
|
-
|
|
135986
|
+
args295 = {
|
|
135792
135987
|
request: ListReplicasRequest$inboundSchema
|
|
135793
135988
|
};
|
|
135794
135989
|
tool$servingDeploymentsListReplicas = {
|
|
@@ -135796,9 +135991,9 @@ var init_servingDeploymentsListReplicas2 = __esm(() => {
|
|
|
135796
135991
|
description: `List running replicas
|
|
135797
135992
|
|
|
135798
135993
|
List the replicas currently backing a deployment.`,
|
|
135799
|
-
args:
|
|
135800
|
-
tool: async (client,
|
|
135801
|
-
const [result, apiCall] = await servingDeploymentsListReplicas(client,
|
|
135994
|
+
args: args295,
|
|
135995
|
+
tool: async (client, args296, ctx) => {
|
|
135996
|
+
const [result, apiCall] = await servingDeploymentsListReplicas(client, args296.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135802
135997
|
if (!result.ok) {
|
|
135803
135998
|
return {
|
|
135804
135999
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135813,9 +136008,9 @@ List the replicas currently backing a deployment.`,
|
|
|
135813
136008
|
|
|
135814
136009
|
// src/funcs/servingDeploymentsListRevisions.ts
|
|
135815
136010
|
function servingDeploymentsListRevisions(client, request, options) {
|
|
135816
|
-
return new APIPromise($
|
|
136011
|
+
return new APIPromise($do305(client, request, options));
|
|
135817
136012
|
}
|
|
135818
|
-
async function $
|
|
136013
|
+
async function $do305(client, request, options) {
|
|
135819
136014
|
const parsed = safeParse4(request, (value) => ListRevisionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135820
136015
|
if (!parsed.ok) {
|
|
135821
136016
|
return [parsed, { status: "invalid" }];
|
|
@@ -135903,12 +136098,12 @@ var init_servingDeploymentsListRevisions = __esm(() => {
|
|
|
135903
136098
|
});
|
|
135904
136099
|
|
|
135905
136100
|
// src/mcp-server/tools/servingDeploymentsListRevisions.ts
|
|
135906
|
-
var
|
|
136101
|
+
var args296, tool$servingDeploymentsListRevisions;
|
|
135907
136102
|
var init_servingDeploymentsListRevisions2 = __esm(() => {
|
|
135908
136103
|
init_servingDeploymentsListRevisions();
|
|
135909
136104
|
init_operations();
|
|
135910
136105
|
init_tools();
|
|
135911
|
-
|
|
136106
|
+
args296 = {
|
|
135912
136107
|
request: ListRevisionsRequest$inboundSchema
|
|
135913
136108
|
};
|
|
135914
136109
|
tool$servingDeploymentsListRevisions = {
|
|
@@ -135916,9 +136111,9 @@ var init_servingDeploymentsListRevisions2 = __esm(() => {
|
|
|
135916
136111
|
description: `List config revisions
|
|
135917
136112
|
|
|
135918
136113
|
List a deployment's configuration revisions, most recent first.`,
|
|
135919
|
-
args:
|
|
135920
|
-
tool: async (client,
|
|
135921
|
-
const [result, apiCall] = await servingDeploymentsListRevisions(client,
|
|
136114
|
+
args: args296,
|
|
136115
|
+
tool: async (client, args297, ctx) => {
|
|
136116
|
+
const [result, apiCall] = await servingDeploymentsListRevisions(client, args297.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
135922
136117
|
if (!result.ok) {
|
|
135923
136118
|
return {
|
|
135924
136119
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -135933,9 +136128,9 @@ List a deployment's configuration revisions, most recent first.`,
|
|
|
135933
136128
|
|
|
135934
136129
|
// src/funcs/servingDeploymentsRegister.ts
|
|
135935
136130
|
function servingDeploymentsRegister(client, request, options) {
|
|
135936
|
-
return new APIPromise($
|
|
136131
|
+
return new APIPromise($do306(client, request, options));
|
|
135937
136132
|
}
|
|
135938
|
-
async function $
|
|
136133
|
+
async function $do306(client, request, options) {
|
|
135939
136134
|
const parsed = safeParse4(request, (value) => RegisterDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
135940
136135
|
if (!parsed.ok) {
|
|
135941
136136
|
return [parsed, { status: "invalid" }];
|
|
@@ -136023,12 +136218,12 @@ var init_servingDeploymentsRegister = __esm(() => {
|
|
|
136023
136218
|
});
|
|
136024
136219
|
|
|
136025
136220
|
// src/mcp-server/tools/servingDeploymentsRegister.ts
|
|
136026
|
-
var
|
|
136221
|
+
var args297, tool$servingDeploymentsRegister;
|
|
136027
136222
|
var init_servingDeploymentsRegister2 = __esm(() => {
|
|
136028
136223
|
init_servingDeploymentsRegister();
|
|
136029
136224
|
init_operations();
|
|
136030
136225
|
init_tools();
|
|
136031
|
-
|
|
136226
|
+
args297 = {
|
|
136032
136227
|
request: RegisterDeploymentRequest$inboundSchema
|
|
136033
136228
|
};
|
|
136034
136229
|
tool$servingDeploymentsRegister = {
|
|
@@ -136036,9 +136231,9 @@ var init_servingDeploymentsRegister2 = __esm(() => {
|
|
|
136036
136231
|
description: `Register the model with the LLM gateway
|
|
136037
136232
|
|
|
136038
136233
|
Make the deployment's model available for inference: registers it in the LLM gateway's model registry under the deployment's name. Deployment must be ready. Registration is deliberately decoupled from deployment so pricing, budgets, and rate limits can be configured before the model becomes callable.`,
|
|
136039
|
-
args:
|
|
136040
|
-
tool: async (client,
|
|
136041
|
-
const [result, apiCall] = await servingDeploymentsRegister(client,
|
|
136234
|
+
args: args297,
|
|
136235
|
+
tool: async (client, args298, ctx) => {
|
|
136236
|
+
const [result, apiCall] = await servingDeploymentsRegister(client, args298.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136042
136237
|
if (!result.ok) {
|
|
136043
136238
|
return {
|
|
136044
136239
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136053,9 +136248,9 @@ Make the deployment's model available for inference: registers it in the LLM gat
|
|
|
136053
136248
|
|
|
136054
136249
|
// src/funcs/servingDeploymentsRollback.ts
|
|
136055
136250
|
function servingDeploymentsRollback(client, request, options) {
|
|
136056
|
-
return new APIPromise($
|
|
136251
|
+
return new APIPromise($do307(client, request, options));
|
|
136057
136252
|
}
|
|
136058
|
-
async function $
|
|
136253
|
+
async function $do307(client, request, options) {
|
|
136059
136254
|
const parsed = safeParse4(request, (value) => RollbackDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136060
136255
|
if (!parsed.ok) {
|
|
136061
136256
|
return [parsed, { status: "invalid" }];
|
|
@@ -136146,12 +136341,12 @@ var init_servingDeploymentsRollback = __esm(() => {
|
|
|
136146
136341
|
});
|
|
136147
136342
|
|
|
136148
136343
|
// src/mcp-server/tools/servingDeploymentsRollback.ts
|
|
136149
|
-
var
|
|
136344
|
+
var args298, tool$servingDeploymentsRollback;
|
|
136150
136345
|
var init_servingDeploymentsRollback2 = __esm(() => {
|
|
136151
136346
|
init_servingDeploymentsRollback();
|
|
136152
136347
|
init_operations();
|
|
136153
136348
|
init_tools();
|
|
136154
|
-
|
|
136349
|
+
args298 = {
|
|
136155
136350
|
request: RollbackDeploymentRequest$inboundSchema
|
|
136156
136351
|
};
|
|
136157
136352
|
tool$servingDeploymentsRollback = {
|
|
@@ -136159,9 +136354,9 @@ var init_servingDeploymentsRollback2 = __esm(() => {
|
|
|
136159
136354
|
description: `Roll back to a previous revision
|
|
136160
136355
|
|
|
136161
136356
|
Roll a deployment back to a previous configuration revision.`,
|
|
136162
|
-
args:
|
|
136163
|
-
tool: async (client,
|
|
136164
|
-
const [result, apiCall] = await servingDeploymentsRollback(client,
|
|
136357
|
+
args: args298,
|
|
136358
|
+
tool: async (client, args299, ctx) => {
|
|
136359
|
+
const [result, apiCall] = await servingDeploymentsRollback(client, args299.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136165
136360
|
if (!result.ok) {
|
|
136166
136361
|
return {
|
|
136167
136362
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136176,9 +136371,9 @@ Roll a deployment back to a previous configuration revision.`,
|
|
|
136176
136371
|
|
|
136177
136372
|
// src/funcs/servingDeploymentsUpdate.ts
|
|
136178
136373
|
function servingDeploymentsUpdate(client, request, options) {
|
|
136179
|
-
return new APIPromise($
|
|
136374
|
+
return new APIPromise($do308(client, request, options));
|
|
136180
136375
|
}
|
|
136181
|
-
async function $
|
|
136376
|
+
async function $do308(client, request, options) {
|
|
136182
136377
|
const parsed = safeParse4(request, (value) => UpdateDeploymentRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136183
136378
|
if (!parsed.ok) {
|
|
136184
136379
|
return [parsed, { status: "invalid" }];
|
|
@@ -136267,12 +136462,12 @@ var init_servingDeploymentsUpdate = __esm(() => {
|
|
|
136267
136462
|
});
|
|
136268
136463
|
|
|
136269
136464
|
// src/mcp-server/tools/servingDeploymentsUpdate.ts
|
|
136270
|
-
var
|
|
136465
|
+
var args299, tool$servingDeploymentsUpdate;
|
|
136271
136466
|
var init_servingDeploymentsUpdate2 = __esm(() => {
|
|
136272
136467
|
init_servingDeploymentsUpdate();
|
|
136273
136468
|
init_operations();
|
|
136274
136469
|
init_tools();
|
|
136275
|
-
|
|
136470
|
+
args299 = {
|
|
136276
136471
|
request: UpdateDeploymentRequest$inboundSchema
|
|
136277
136472
|
};
|
|
136278
136473
|
tool$servingDeploymentsUpdate = {
|
|
@@ -136280,9 +136475,9 @@ var init_servingDeploymentsUpdate2 = __esm(() => {
|
|
|
136280
136475
|
description: `Update a deployment (new revision)
|
|
136281
136476
|
|
|
136282
136477
|
Update a deployment's configuration, rolling out a new revision.`,
|
|
136283
|
-
args:
|
|
136284
|
-
tool: async (client,
|
|
136285
|
-
const [result, apiCall] = await servingDeploymentsUpdate(client,
|
|
136478
|
+
args: args299,
|
|
136479
|
+
tool: async (client, args300, ctx) => {
|
|
136480
|
+
const [result, apiCall] = await servingDeploymentsUpdate(client, args300.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136286
136481
|
if (!result.ok) {
|
|
136287
136482
|
return {
|
|
136288
136483
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136297,9 +136492,9 @@ Update a deployment's configuration, rolling out a new revision.`,
|
|
|
136297
136492
|
|
|
136298
136493
|
// src/funcs/servingDeploymentsUpdateScaling.ts
|
|
136299
136494
|
function servingDeploymentsUpdateScaling(client, request, options) {
|
|
136300
|
-
return new APIPromise($
|
|
136495
|
+
return new APIPromise($do309(client, request, options));
|
|
136301
136496
|
}
|
|
136302
|
-
async function $
|
|
136497
|
+
async function $do309(client, request, options) {
|
|
136303
136498
|
const parsed = safeParse4(request, (value) => UpdateScalingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136304
136499
|
if (!parsed.ok) {
|
|
136305
136500
|
return [parsed, { status: "invalid" }];
|
|
@@ -136390,12 +136585,12 @@ var init_servingDeploymentsUpdateScaling = __esm(() => {
|
|
|
136390
136585
|
});
|
|
136391
136586
|
|
|
136392
136587
|
// src/mcp-server/tools/servingDeploymentsUpdateScaling.ts
|
|
136393
|
-
var
|
|
136588
|
+
var args300, tool$servingDeploymentsUpdateScaling;
|
|
136394
136589
|
var init_servingDeploymentsUpdateScaling2 = __esm(() => {
|
|
136395
136590
|
init_servingDeploymentsUpdateScaling();
|
|
136396
136591
|
init_operations();
|
|
136397
136592
|
init_tools();
|
|
136398
|
-
|
|
136593
|
+
args300 = {
|
|
136399
136594
|
request: UpdateScalingRequest$inboundSchema
|
|
136400
136595
|
};
|
|
136401
136596
|
tool$servingDeploymentsUpdateScaling = {
|
|
@@ -136403,9 +136598,9 @@ var init_servingDeploymentsUpdateScaling2 = __esm(() => {
|
|
|
136403
136598
|
description: `Update autoscaling live (no redeploy)
|
|
136404
136599
|
|
|
136405
136600
|
Change a deployment's autoscaling limits in place, without redeploying.`,
|
|
136406
|
-
args:
|
|
136407
|
-
tool: async (client,
|
|
136408
|
-
const [result, apiCall] = await servingDeploymentsUpdateScaling(client,
|
|
136601
|
+
args: args300,
|
|
136602
|
+
tool: async (client, args301, ctx) => {
|
|
136603
|
+
const [result, apiCall] = await servingDeploymentsUpdateScaling(client, args301.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136409
136604
|
if (!result.ok) {
|
|
136410
136605
|
return {
|
|
136411
136606
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136420,9 +136615,9 @@ Change a deployment's autoscaling limits in place, without redeploying.`,
|
|
|
136420
136615
|
|
|
136421
136616
|
// src/funcs/servingEligibilityPreview.ts
|
|
136422
136617
|
function servingEligibilityPreview(client, request, options) {
|
|
136423
|
-
return new APIPromise($
|
|
136618
|
+
return new APIPromise($do310(client, request, options));
|
|
136424
136619
|
}
|
|
136425
|
-
async function $
|
|
136620
|
+
async function $do310(client, request, options) {
|
|
136426
136621
|
const parsed = safeParse4(request, (value) => PreviewEligibilityRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136427
136622
|
if (!parsed.ok) {
|
|
136428
136623
|
return [parsed, { status: "invalid" }];
|
|
@@ -136507,12 +136702,12 @@ var init_servingEligibilityPreview = __esm(() => {
|
|
|
136507
136702
|
});
|
|
136508
136703
|
|
|
136509
136704
|
// src/mcp-server/tools/servingEligibilityPreview.ts
|
|
136510
|
-
var
|
|
136705
|
+
var args301, tool$servingEligibilityPreview;
|
|
136511
136706
|
var init_servingEligibilityPreview2 = __esm(() => {
|
|
136512
136707
|
init_servingEligibilityPreview();
|
|
136513
136708
|
init_operations();
|
|
136514
136709
|
init_tools();
|
|
136515
|
-
|
|
136710
|
+
args301 = {
|
|
136516
136711
|
request: PreviewEligibilityRequest$inboundSchema
|
|
136517
136712
|
};
|
|
136518
136713
|
tool$servingEligibilityPreview = {
|
|
@@ -136520,9 +136715,9 @@ var init_servingEligibilityPreview2 = __esm(() => {
|
|
|
136520
136715
|
description: `Preview accelerator eligibility
|
|
136521
136716
|
|
|
136522
136717
|
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.`,
|
|
136523
|
-
args:
|
|
136524
|
-
tool: async (client,
|
|
136525
|
-
const [result, apiCall] = await servingEligibilityPreview(client,
|
|
136718
|
+
args: args301,
|
|
136719
|
+
tool: async (client, args302, ctx) => {
|
|
136720
|
+
const [result, apiCall] = await servingEligibilityPreview(client, args302.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136526
136721
|
if (!result.ok) {
|
|
136527
136722
|
return {
|
|
136528
136723
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136537,9 +136732,9 @@ Preview, before submitting a job or deployment, how much matching capacity the c
|
|
|
136537
136732
|
|
|
136538
136733
|
// src/funcs/servingFinetuneJobsCancel.ts
|
|
136539
136734
|
function servingFinetuneJobsCancel(client, request, options) {
|
|
136540
|
-
return new APIPromise($
|
|
136735
|
+
return new APIPromise($do311(client, request, options));
|
|
136541
136736
|
}
|
|
136542
|
-
async function $
|
|
136737
|
+
async function $do311(client, request, options) {
|
|
136543
136738
|
const parsed = safeParse4(request, (value) => CancelFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136544
136739
|
if (!parsed.ok) {
|
|
136545
136740
|
return [parsed, { status: "invalid" }];
|
|
@@ -136627,12 +136822,12 @@ var init_servingFinetuneJobsCancel = __esm(() => {
|
|
|
136627
136822
|
});
|
|
136628
136823
|
|
|
136629
136824
|
// src/mcp-server/tools/servingFinetuneJobsCancel.ts
|
|
136630
|
-
var
|
|
136825
|
+
var args302, tool$servingFinetuneJobsCancel;
|
|
136631
136826
|
var init_servingFinetuneJobsCancel2 = __esm(() => {
|
|
136632
136827
|
init_servingFinetuneJobsCancel();
|
|
136633
136828
|
init_operations();
|
|
136634
136829
|
init_tools();
|
|
136635
|
-
|
|
136830
|
+
args302 = {
|
|
136636
136831
|
request: CancelFinetuneJobRequest$inboundSchema
|
|
136637
136832
|
};
|
|
136638
136833
|
tool$servingFinetuneJobsCancel = {
|
|
@@ -136640,9 +136835,9 @@ var init_servingFinetuneJobsCancel2 = __esm(() => {
|
|
|
136640
136835
|
description: `Cancel a fine-tune job
|
|
136641
136836
|
|
|
136642
136837
|
Cancel a running fine-tune job and return the updated job. Fine-tune records are never deleted: the cancelled job, its events, and its spend history stay readable.`,
|
|
136643
|
-
args:
|
|
136644
|
-
tool: async (client,
|
|
136645
|
-
const [result, apiCall] = await servingFinetuneJobsCancel(client,
|
|
136838
|
+
args: args302,
|
|
136839
|
+
tool: async (client, args303, ctx) => {
|
|
136840
|
+
const [result, apiCall] = await servingFinetuneJobsCancel(client, args303.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136646
136841
|
if (!result.ok) {
|
|
136647
136842
|
return {
|
|
136648
136843
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136657,9 +136852,9 @@ Cancel a running fine-tune job and return the updated job. Fine-tune records are
|
|
|
136657
136852
|
|
|
136658
136853
|
// src/funcs/servingFinetuneJobsCreate.ts
|
|
136659
136854
|
function servingFinetuneJobsCreate(client, request, options) {
|
|
136660
|
-
return new APIPromise($
|
|
136855
|
+
return new APIPromise($do312(client, request, options));
|
|
136661
136856
|
}
|
|
136662
|
-
async function $
|
|
136857
|
+
async function $do312(client, request, options) {
|
|
136663
136858
|
const parsed = safeParse4(request, (value) => CreateFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136664
136859
|
if (!parsed.ok) {
|
|
136665
136860
|
return [parsed, { status: "invalid" }];
|
|
@@ -136742,12 +136937,12 @@ var init_servingFinetuneJobsCreate = __esm(() => {
|
|
|
136742
136937
|
});
|
|
136743
136938
|
|
|
136744
136939
|
// src/mcp-server/tools/servingFinetuneJobsCreate.ts
|
|
136745
|
-
var
|
|
136940
|
+
var args303, tool$servingFinetuneJobsCreate;
|
|
136746
136941
|
var init_servingFinetuneJobsCreate2 = __esm(() => {
|
|
136747
136942
|
init_servingFinetuneJobsCreate();
|
|
136748
136943
|
init_operations();
|
|
136749
136944
|
init_tools();
|
|
136750
|
-
|
|
136945
|
+
args303 = {
|
|
136751
136946
|
request: CreateFinetuneJobRequest$inboundSchema
|
|
136752
136947
|
};
|
|
136753
136948
|
tool$servingFinetuneJobsCreate = {
|
|
@@ -136755,9 +136950,9 @@ var init_servingFinetuneJobsCreate2 = __esm(() => {
|
|
|
136755
136950
|
description: `Submit a fine-tune job
|
|
136756
136951
|
|
|
136757
136952
|
Submit a fine-tune job for a base model and dataset, and return its id.`,
|
|
136758
|
-
args:
|
|
136759
|
-
tool: async (client,
|
|
136760
|
-
const [result, apiCall] = await servingFinetuneJobsCreate(client,
|
|
136953
|
+
args: args303,
|
|
136954
|
+
tool: async (client, args304, ctx) => {
|
|
136955
|
+
const [result, apiCall] = await servingFinetuneJobsCreate(client, args304.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136761
136956
|
if (!result.ok) {
|
|
136762
136957
|
return {
|
|
136763
136958
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136772,9 +136967,9 @@ Submit a fine-tune job for a base model and dataset, and return its id.`,
|
|
|
136772
136967
|
|
|
136773
136968
|
// src/funcs/servingFinetuneJobsGet.ts
|
|
136774
136969
|
function servingFinetuneJobsGet(client, request, options) {
|
|
136775
|
-
return new APIPromise($
|
|
136970
|
+
return new APIPromise($do313(client, request, options));
|
|
136776
136971
|
}
|
|
136777
|
-
async function $
|
|
136972
|
+
async function $do313(client, request, options) {
|
|
136778
136973
|
const parsed = safeParse4(request, (value) => GetFinetuneJobRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136779
136974
|
if (!parsed.ok) {
|
|
136780
136975
|
return [parsed, { status: "invalid" }];
|
|
@@ -136862,12 +137057,12 @@ var init_servingFinetuneJobsGet = __esm(() => {
|
|
|
136862
137057
|
});
|
|
136863
137058
|
|
|
136864
137059
|
// src/mcp-server/tools/servingFinetuneJobsGet.ts
|
|
136865
|
-
var
|
|
137060
|
+
var args304, tool$servingFinetuneJobsGet;
|
|
136866
137061
|
var init_servingFinetuneJobsGet2 = __esm(() => {
|
|
136867
137062
|
init_servingFinetuneJobsGet();
|
|
136868
137063
|
init_operations();
|
|
136869
137064
|
init_tools();
|
|
136870
|
-
|
|
137065
|
+
args304 = {
|
|
136871
137066
|
request: GetFinetuneJobRequest$inboundSchema
|
|
136872
137067
|
};
|
|
136873
137068
|
tool$servingFinetuneJobsGet = {
|
|
@@ -136875,9 +137070,9 @@ var init_servingFinetuneJobsGet2 = __esm(() => {
|
|
|
136875
137070
|
description: `Get a fine-tune job
|
|
136876
137071
|
|
|
136877
137072
|
Retrieve a fine-tune job, including its status and progress.`,
|
|
136878
|
-
args:
|
|
136879
|
-
tool: async (client,
|
|
136880
|
-
const [result, apiCall] = await servingFinetuneJobsGet(client,
|
|
137073
|
+
args: args304,
|
|
137074
|
+
tool: async (client, args305, ctx) => {
|
|
137075
|
+
const [result, apiCall] = await servingFinetuneJobsGet(client, args305.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
136881
137076
|
if (!result.ok) {
|
|
136882
137077
|
return {
|
|
136883
137078
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -136892,9 +137087,9 @@ Retrieve a fine-tune job, including its status and progress.`,
|
|
|
136892
137087
|
|
|
136893
137088
|
// src/funcs/servingFinetuneJobsGetEvents.ts
|
|
136894
137089
|
function servingFinetuneJobsGetEvents(client, request, options) {
|
|
136895
|
-
return new APIPromise($
|
|
137090
|
+
return new APIPromise($do314(client, request, options));
|
|
136896
137091
|
}
|
|
136897
|
-
async function $
|
|
137092
|
+
async function $do314(client, request, options) {
|
|
136898
137093
|
const parsed = safeParse4(request, (value) => GetFinetuneEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
136899
137094
|
if (!parsed.ok) {
|
|
136900
137095
|
return [parsed, { status: "invalid" }];
|
|
@@ -136988,12 +137183,12 @@ var init_servingFinetuneJobsGetEvents = __esm(() => {
|
|
|
136988
137183
|
});
|
|
136989
137184
|
|
|
136990
137185
|
// src/mcp-server/tools/servingFinetuneJobsGetEvents.ts
|
|
136991
|
-
var
|
|
137186
|
+
var args305, tool$servingFinetuneJobsGetEvents;
|
|
136992
137187
|
var init_servingFinetuneJobsGetEvents2 = __esm(() => {
|
|
136993
137188
|
init_servingFinetuneJobsGetEvents();
|
|
136994
137189
|
init_operations();
|
|
136995
137190
|
init_tools();
|
|
136996
|
-
|
|
137191
|
+
args305 = {
|
|
136997
137192
|
request: GetFinetuneEventsRequest$inboundSchema
|
|
136998
137193
|
};
|
|
136999
137194
|
tool$servingFinetuneJobsGetEvents = {
|
|
@@ -137001,9 +137196,9 @@ var init_servingFinetuneJobsGetEvents2 = __esm(() => {
|
|
|
137001
137196
|
description: `Status timeline
|
|
137002
137197
|
|
|
137003
137198
|
Return the job's status timeline (queued, running, checkpoints, completion).`,
|
|
137004
|
-
args:
|
|
137005
|
-
tool: async (client,
|
|
137006
|
-
const [result, apiCall] = await servingFinetuneJobsGetEvents(client,
|
|
137199
|
+
args: args305,
|
|
137200
|
+
tool: async (client, args306, ctx) => {
|
|
137201
|
+
const [result, apiCall] = await servingFinetuneJobsGetEvents(client, args306.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137007
137202
|
if (!result.ok) {
|
|
137008
137203
|
return {
|
|
137009
137204
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137018,9 +137213,9 @@ Return the job's status timeline (queued, running, checkpoints, completion).`,
|
|
|
137018
137213
|
|
|
137019
137214
|
// src/funcs/servingFinetuneJobsGetLogs.ts
|
|
137020
137215
|
function servingFinetuneJobsGetLogs(client, request, options) {
|
|
137021
|
-
return new APIPromise($
|
|
137216
|
+
return new APIPromise($do315(client, request, options));
|
|
137022
137217
|
}
|
|
137023
|
-
async function $
|
|
137218
|
+
async function $do315(client, request, options) {
|
|
137024
137219
|
const parsed = safeParse4(request, (value) => GetFinetuneLogsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137025
137220
|
if (!parsed.ok) {
|
|
137026
137221
|
return [parsed, { status: "invalid" }];
|
|
@@ -137112,12 +137307,12 @@ var init_servingFinetuneJobsGetLogs = __esm(() => {
|
|
|
137112
137307
|
});
|
|
137113
137308
|
|
|
137114
137309
|
// src/mcp-server/tools/servingFinetuneJobsGetLogs.ts
|
|
137115
|
-
var
|
|
137310
|
+
var args306, tool$servingFinetuneJobsGetLogs;
|
|
137116
137311
|
var init_servingFinetuneJobsGetLogs2 = __esm(() => {
|
|
137117
137312
|
init_servingFinetuneJobsGetLogs();
|
|
137118
137313
|
init_operations();
|
|
137119
137314
|
init_tools();
|
|
137120
|
-
|
|
137315
|
+
args306 = {
|
|
137121
137316
|
request: GetFinetuneLogsRequest$inboundSchema
|
|
137122
137317
|
};
|
|
137123
137318
|
tool$servingFinetuneJobsGetLogs = {
|
|
@@ -137125,9 +137320,9 @@ var init_servingFinetuneJobsGetLogs2 = __esm(() => {
|
|
|
137125
137320
|
description: `Fetch training logs
|
|
137126
137321
|
|
|
137127
137322
|
Fetch recent training log lines for a job.`,
|
|
137128
|
-
args:
|
|
137129
|
-
tool: async (client,
|
|
137130
|
-
const [result, apiCall] = await servingFinetuneJobsGetLogs(client,
|
|
137323
|
+
args: args306,
|
|
137324
|
+
tool: async (client, args307, ctx) => {
|
|
137325
|
+
const [result, apiCall] = await servingFinetuneJobsGetLogs(client, args307.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137131
137326
|
if (!result.ok) {
|
|
137132
137327
|
return {
|
|
137133
137328
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137142,9 +137337,9 @@ Fetch recent training log lines for a job.`,
|
|
|
137142
137337
|
|
|
137143
137338
|
// src/funcs/servingFinetuneJobsGetMetrics.ts
|
|
137144
137339
|
function servingFinetuneJobsGetMetrics(client, request, options) {
|
|
137145
|
-
return new APIPromise($
|
|
137340
|
+
return new APIPromise($do316(client, request, options));
|
|
137146
137341
|
}
|
|
137147
|
-
async function $
|
|
137342
|
+
async function $do316(client, request, options) {
|
|
137148
137343
|
const parsed = safeParse4(request, (value) => GetFinetuneMetricsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137149
137344
|
if (!parsed.ok) {
|
|
137150
137345
|
return [parsed, { status: "invalid" }];
|
|
@@ -137237,12 +137432,12 @@ var init_servingFinetuneJobsGetMetrics = __esm(() => {
|
|
|
137237
137432
|
});
|
|
137238
137433
|
|
|
137239
137434
|
// src/mcp-server/tools/servingFinetuneJobsGetMetrics.ts
|
|
137240
|
-
var
|
|
137435
|
+
var args307, tool$servingFinetuneJobsGetMetrics;
|
|
137241
137436
|
var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
|
|
137242
137437
|
init_servingFinetuneJobsGetMetrics();
|
|
137243
137438
|
init_operations();
|
|
137244
137439
|
init_tools();
|
|
137245
|
-
|
|
137440
|
+
args307 = {
|
|
137246
137441
|
request: GetFinetuneMetricsRequest$inboundSchema
|
|
137247
137442
|
};
|
|
137248
137443
|
tool$servingFinetuneJobsGetMetrics = {
|
|
@@ -137250,9 +137445,9 @@ var init_servingFinetuneJobsGetMetrics2 = __esm(() => {
|
|
|
137250
137445
|
description: `Training metrics
|
|
137251
137446
|
|
|
137252
137447
|
Return the training metric series (loss, learning rate, ...) pushed by the training run.`,
|
|
137253
|
-
args:
|
|
137254
|
-
tool: async (client,
|
|
137255
|
-
const [result, apiCall] = await servingFinetuneJobsGetMetrics(client,
|
|
137448
|
+
args: args307,
|
|
137449
|
+
tool: async (client, args308, ctx) => {
|
|
137450
|
+
const [result, apiCall] = await servingFinetuneJobsGetMetrics(client, args308.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137256
137451
|
if (!result.ok) {
|
|
137257
137452
|
return {
|
|
137258
137453
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137267,9 +137462,9 @@ Return the training metric series (loss, learning rate, ...) pushed by the train
|
|
|
137267
137462
|
|
|
137268
137463
|
// src/funcs/servingFinetuneJobsList.ts
|
|
137269
137464
|
function servingFinetuneJobsList(client, request, options) {
|
|
137270
|
-
return new APIPromise($
|
|
137465
|
+
return new APIPromise($do317(client, request, options));
|
|
137271
137466
|
}
|
|
137272
|
-
async function $
|
|
137467
|
+
async function $do317(client, request, options) {
|
|
137273
137468
|
const parsed = safeParse4(request, (value) => ListFinetuneJobsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137274
137469
|
if (!parsed.ok) {
|
|
137275
137470
|
return [parsed, { status: "invalid" }];
|
|
@@ -137356,12 +137551,12 @@ var init_servingFinetuneJobsList = __esm(() => {
|
|
|
137356
137551
|
});
|
|
137357
137552
|
|
|
137358
137553
|
// src/mcp-server/tools/servingFinetuneJobsList.ts
|
|
137359
|
-
var
|
|
137554
|
+
var args308, tool$servingFinetuneJobsList;
|
|
137360
137555
|
var init_servingFinetuneJobsList2 = __esm(() => {
|
|
137361
137556
|
init_servingFinetuneJobsList();
|
|
137362
137557
|
init_operations();
|
|
137363
137558
|
init_tools();
|
|
137364
|
-
|
|
137559
|
+
args308 = {
|
|
137365
137560
|
request: ListFinetuneJobsRequest$inboundSchema
|
|
137366
137561
|
};
|
|
137367
137562
|
tool$servingFinetuneJobsList = {
|
|
@@ -137369,9 +137564,9 @@ var init_servingFinetuneJobsList2 = __esm(() => {
|
|
|
137369
137564
|
description: `List fine-tune jobs
|
|
137370
137565
|
|
|
137371
137566
|
List your fine-tune jobs.`,
|
|
137372
|
-
args:
|
|
137373
|
-
tool: async (client,
|
|
137374
|
-
const [result, apiCall] = await servingFinetuneJobsList(client,
|
|
137567
|
+
args: args308,
|
|
137568
|
+
tool: async (client, args309, ctx) => {
|
|
137569
|
+
const [result, apiCall] = await servingFinetuneJobsList(client, args309.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137375
137570
|
if (!result.ok) {
|
|
137376
137571
|
return {
|
|
137377
137572
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137386,9 +137581,9 @@ List your fine-tune jobs.`,
|
|
|
137386
137581
|
|
|
137387
137582
|
// src/funcs/servingFinetuneJobsListCheckpoints.ts
|
|
137388
137583
|
function servingFinetuneJobsListCheckpoints(client, request, options) {
|
|
137389
|
-
return new APIPromise($
|
|
137584
|
+
return new APIPromise($do318(client, request, options));
|
|
137390
137585
|
}
|
|
137391
|
-
async function $
|
|
137586
|
+
async function $do318(client, request, options) {
|
|
137392
137587
|
const parsed = safeParse4(request, (value) => ListFinetuneCheckpointsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137393
137588
|
if (!parsed.ok) {
|
|
137394
137589
|
return [parsed, { status: "invalid" }];
|
|
@@ -137481,12 +137676,12 @@ var init_servingFinetuneJobsListCheckpoints = __esm(() => {
|
|
|
137481
137676
|
});
|
|
137482
137677
|
|
|
137483
137678
|
// src/mcp-server/tools/servingFinetuneJobsListCheckpoints.ts
|
|
137484
|
-
var
|
|
137679
|
+
var args309, tool$servingFinetuneJobsListCheckpoints;
|
|
137485
137680
|
var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
|
|
137486
137681
|
init_servingFinetuneJobsListCheckpoints();
|
|
137487
137682
|
init_operations();
|
|
137488
137683
|
init_tools();
|
|
137489
|
-
|
|
137684
|
+
args309 = {
|
|
137490
137685
|
request: ListFinetuneCheckpointsRequest$inboundSchema
|
|
137491
137686
|
};
|
|
137492
137687
|
tool$servingFinetuneJobsListCheckpoints = {
|
|
@@ -137494,9 +137689,9 @@ var init_servingFinetuneJobsListCheckpoints2 = __esm(() => {
|
|
|
137494
137689
|
description: `List output checkpoints
|
|
137495
137690
|
|
|
137496
137691
|
List the checkpoints a fine-tune job has produced.`,
|
|
137497
|
-
args:
|
|
137498
|
-
tool: async (client,
|
|
137499
|
-
const [result, apiCall] = await servingFinetuneJobsListCheckpoints(client,
|
|
137692
|
+
args: args309,
|
|
137693
|
+
tool: async (client, args310, ctx) => {
|
|
137694
|
+
const [result, apiCall] = await servingFinetuneJobsListCheckpoints(client, args310.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137500
137695
|
if (!result.ok) {
|
|
137501
137696
|
return {
|
|
137502
137697
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137511,9 +137706,9 @@ List the checkpoints a fine-tune job has produced.`,
|
|
|
137511
137706
|
|
|
137512
137707
|
// src/funcs/servingImagesDelete.ts
|
|
137513
137708
|
function servingImagesDelete(client, request, options) {
|
|
137514
|
-
return new APIPromise($
|
|
137709
|
+
return new APIPromise($do319(client, request, options));
|
|
137515
137710
|
}
|
|
137516
|
-
async function $
|
|
137711
|
+
async function $do319(client, request, options) {
|
|
137517
137712
|
const parsed = safeParse4(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137518
137713
|
if (!parsed.ok) {
|
|
137519
137714
|
return [parsed, { status: "invalid" }];
|
|
@@ -137601,12 +137796,12 @@ var init_servingImagesDelete = __esm(() => {
|
|
|
137601
137796
|
});
|
|
137602
137797
|
|
|
137603
137798
|
// src/mcp-server/tools/servingImagesDelete.ts
|
|
137604
|
-
var
|
|
137799
|
+
var args310, tool$servingImagesDelete;
|
|
137605
137800
|
var init_servingImagesDelete2 = __esm(() => {
|
|
137606
137801
|
init_servingImagesDelete();
|
|
137607
137802
|
init_operations();
|
|
137608
137803
|
init_tools();
|
|
137609
|
-
|
|
137804
|
+
args310 = {
|
|
137610
137805
|
request: DeleteImageRequest$inboundSchema
|
|
137611
137806
|
};
|
|
137612
137807
|
tool$servingImagesDelete = {
|
|
@@ -137614,9 +137809,9 @@ var init_servingImagesDelete2 = __esm(() => {
|
|
|
137614
137809
|
description: `Delete an image
|
|
137615
137810
|
|
|
137616
137811
|
Delete a container image.`,
|
|
137617
|
-
args:
|
|
137618
|
-
tool: async (client,
|
|
137619
|
-
const [result, apiCall] = await servingImagesDelete(client,
|
|
137812
|
+
args: args310,
|
|
137813
|
+
tool: async (client, args311, ctx) => {
|
|
137814
|
+
const [result, apiCall] = await servingImagesDelete(client, args311.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137620
137815
|
if (!result.ok) {
|
|
137621
137816
|
return {
|
|
137622
137817
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137630,9 +137825,9 @@ Delete a container image.`,
|
|
|
137630
137825
|
|
|
137631
137826
|
// src/funcs/servingImagesGet.ts
|
|
137632
137827
|
function servingImagesGet(client, request, options) {
|
|
137633
|
-
return new APIPromise($
|
|
137828
|
+
return new APIPromise($do320(client, request, options));
|
|
137634
137829
|
}
|
|
137635
|
-
async function $
|
|
137830
|
+
async function $do320(client, request, options) {
|
|
137636
137831
|
const parsed = safeParse4(request, (value) => GetImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137637
137832
|
if (!parsed.ok) {
|
|
137638
137833
|
return [parsed, { status: "invalid" }];
|
|
@@ -137720,12 +137915,12 @@ var init_servingImagesGet = __esm(() => {
|
|
|
137720
137915
|
});
|
|
137721
137916
|
|
|
137722
137917
|
// src/mcp-server/tools/servingImagesGet.ts
|
|
137723
|
-
var
|
|
137918
|
+
var args311, tool$servingImagesGet;
|
|
137724
137919
|
var init_servingImagesGet2 = __esm(() => {
|
|
137725
137920
|
init_servingImagesGet();
|
|
137726
137921
|
init_operations();
|
|
137727
137922
|
init_tools();
|
|
137728
|
-
|
|
137923
|
+
args311 = {
|
|
137729
137924
|
request: GetImageRequest$inboundSchema
|
|
137730
137925
|
};
|
|
137731
137926
|
tool$servingImagesGet = {
|
|
@@ -137733,9 +137928,9 @@ var init_servingImagesGet2 = __esm(() => {
|
|
|
137733
137928
|
description: `Get an image
|
|
137734
137929
|
|
|
137735
137930
|
Retrieve an image, including its build status.`,
|
|
137736
|
-
args:
|
|
137737
|
-
tool: async (client,
|
|
137738
|
-
const [result, apiCall] = await servingImagesGet(client,
|
|
137931
|
+
args: args311,
|
|
137932
|
+
tool: async (client, args312, ctx) => {
|
|
137933
|
+
const [result, apiCall] = await servingImagesGet(client, args312.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137739
137934
|
if (!result.ok) {
|
|
137740
137935
|
return {
|
|
137741
137936
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137750,9 +137945,9 @@ Retrieve an image, including its build status.`,
|
|
|
137750
137945
|
|
|
137751
137946
|
// src/funcs/servingImagesList.ts
|
|
137752
137947
|
function servingImagesList(client, request, options) {
|
|
137753
|
-
return new APIPromise($
|
|
137948
|
+
return new APIPromise($do321(client, request, options));
|
|
137754
137949
|
}
|
|
137755
|
-
async function $
|
|
137950
|
+
async function $do321(client, request, options) {
|
|
137756
137951
|
const parsed = safeParse4(request, (value) => ListImagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137757
137952
|
if (!parsed.ok) {
|
|
137758
137953
|
return [parsed, { status: "invalid" }];
|
|
@@ -137839,12 +138034,12 @@ var init_servingImagesList = __esm(() => {
|
|
|
137839
138034
|
});
|
|
137840
138035
|
|
|
137841
138036
|
// src/mcp-server/tools/servingImagesList.ts
|
|
137842
|
-
var
|
|
138037
|
+
var args312, tool$servingImagesList;
|
|
137843
138038
|
var init_servingImagesList2 = __esm(() => {
|
|
137844
138039
|
init_servingImagesList();
|
|
137845
138040
|
init_operations();
|
|
137846
138041
|
init_tools();
|
|
137847
|
-
|
|
138042
|
+
args312 = {
|
|
137848
138043
|
request: ListImagesRequest$inboundSchema
|
|
137849
138044
|
};
|
|
137850
138045
|
tool$servingImagesList = {
|
|
@@ -137852,9 +138047,9 @@ var init_servingImagesList2 = __esm(() => {
|
|
|
137852
138047
|
description: `List images
|
|
137853
138048
|
|
|
137854
138049
|
List your container images.`,
|
|
137855
|
-
args:
|
|
137856
|
-
tool: async (client,
|
|
137857
|
-
const [result, apiCall] = await servingImagesList(client,
|
|
138050
|
+
args: args312,
|
|
138051
|
+
tool: async (client, args313, ctx) => {
|
|
138052
|
+
const [result, apiCall] = await servingImagesList(client, args313.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137858
138053
|
if (!result.ok) {
|
|
137859
138054
|
return {
|
|
137860
138055
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137869,9 +138064,9 @@ List your container images.`,
|
|
|
137869
138064
|
|
|
137870
138065
|
// src/funcs/servingImagesRegister.ts
|
|
137871
138066
|
function servingImagesRegister(client, request, options) {
|
|
137872
|
-
return new APIPromise($
|
|
138067
|
+
return new APIPromise($do322(client, request, options));
|
|
137873
138068
|
}
|
|
137874
|
-
async function $
|
|
138069
|
+
async function $do322(client, request, options) {
|
|
137875
138070
|
const parsed = safeParse4(request, (value) => RegisterImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137876
138071
|
if (!parsed.ok) {
|
|
137877
138072
|
return [parsed, { status: "invalid" }];
|
|
@@ -137954,12 +138149,12 @@ var init_servingImagesRegister = __esm(() => {
|
|
|
137954
138149
|
});
|
|
137955
138150
|
|
|
137956
138151
|
// src/mcp-server/tools/servingImagesRegister.ts
|
|
137957
|
-
var
|
|
138152
|
+
var args313, tool$servingImagesRegister;
|
|
137958
138153
|
var init_servingImagesRegister2 = __esm(() => {
|
|
137959
138154
|
init_servingImagesRegister();
|
|
137960
138155
|
init_operations();
|
|
137961
138156
|
init_tools();
|
|
137962
|
-
|
|
138157
|
+
args313 = {
|
|
137963
138158
|
request: RegisterImageRequest$inboundSchema
|
|
137964
138159
|
};
|
|
137965
138160
|
tool$servingImagesRegister = {
|
|
@@ -137967,9 +138162,9 @@ var init_servingImagesRegister2 = __esm(() => {
|
|
|
137967
138162
|
description: `Register a container image
|
|
137968
138163
|
|
|
137969
138164
|
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.)`,
|
|
137970
|
-
args:
|
|
137971
|
-
tool: async (client,
|
|
137972
|
-
const [result, apiCall] = await servingImagesRegister(client,
|
|
138165
|
+
args: args313,
|
|
138166
|
+
tool: async (client, args314, ctx) => {
|
|
138167
|
+
const [result, apiCall] = await servingImagesRegister(client, args314.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
137973
138168
|
if (!result.ok) {
|
|
137974
138169
|
return {
|
|
137975
138170
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -137984,9 +138179,9 @@ Register a container image by reference so it can back a BYO deployment or a rec
|
|
|
137984
138179
|
|
|
137985
138180
|
// src/funcs/servingModelsDelete.ts
|
|
137986
138181
|
function servingModelsDelete(client, request, options) {
|
|
137987
|
-
return new APIPromise($
|
|
138182
|
+
return new APIPromise($do323(client, request, options));
|
|
137988
138183
|
}
|
|
137989
|
-
async function $
|
|
138184
|
+
async function $do323(client, request, options) {
|
|
137990
138185
|
const parsed = safeParse4(request, (value) => DeleteServingModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
137991
138186
|
if (!parsed.ok) {
|
|
137992
138187
|
return [parsed, { status: "invalid" }];
|
|
@@ -138074,12 +138269,12 @@ var init_servingModelsDelete = __esm(() => {
|
|
|
138074
138269
|
});
|
|
138075
138270
|
|
|
138076
138271
|
// src/mcp-server/tools/servingModelsDelete.ts
|
|
138077
|
-
var
|
|
138272
|
+
var args314, tool$servingModelsDelete;
|
|
138078
138273
|
var init_servingModelsDelete2 = __esm(() => {
|
|
138079
138274
|
init_servingModelsDelete();
|
|
138080
138275
|
init_operations();
|
|
138081
138276
|
init_tools();
|
|
138082
|
-
|
|
138277
|
+
args314 = {
|
|
138083
138278
|
request: DeleteServingModelRequest$inboundSchema
|
|
138084
138279
|
};
|
|
138085
138280
|
tool$servingModelsDelete = {
|
|
@@ -138087,9 +138282,9 @@ var init_servingModelsDelete2 = __esm(() => {
|
|
|
138087
138282
|
description: `Deregister a model
|
|
138088
138283
|
|
|
138089
138284
|
Deregister a model from the catalog.`,
|
|
138090
|
-
args:
|
|
138091
|
-
tool: async (client,
|
|
138092
|
-
const [result, apiCall] = await servingModelsDelete(client,
|
|
138285
|
+
args: args314,
|
|
138286
|
+
tool: async (client, args315, ctx) => {
|
|
138287
|
+
const [result, apiCall] = await servingModelsDelete(client, args315.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138093
138288
|
if (!result.ok) {
|
|
138094
138289
|
return {
|
|
138095
138290
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138103,9 +138298,9 @@ Deregister a model from the catalog.`,
|
|
|
138103
138298
|
|
|
138104
138299
|
// src/funcs/servingModelsGet.ts
|
|
138105
138300
|
function servingModelsGet(client, request, options) {
|
|
138106
|
-
return new APIPromise($
|
|
138301
|
+
return new APIPromise($do324(client, request, options));
|
|
138107
138302
|
}
|
|
138108
|
-
async function $
|
|
138303
|
+
async function $do324(client, request, options) {
|
|
138109
138304
|
const parsed = safeParse4(request, (value) => GetServingModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
138110
138305
|
if (!parsed.ok) {
|
|
138111
138306
|
return [parsed, { status: "invalid" }];
|
|
@@ -138193,12 +138388,12 @@ var init_servingModelsGet = __esm(() => {
|
|
|
138193
138388
|
});
|
|
138194
138389
|
|
|
138195
138390
|
// src/mcp-server/tools/servingModelsGet.ts
|
|
138196
|
-
var
|
|
138391
|
+
var args315, tool$servingModelsGet;
|
|
138197
138392
|
var init_servingModelsGet2 = __esm(() => {
|
|
138198
138393
|
init_servingModelsGet();
|
|
138199
138394
|
init_operations();
|
|
138200
138395
|
init_tools();
|
|
138201
|
-
|
|
138396
|
+
args315 = {
|
|
138202
138397
|
request: GetServingModelRequest$inboundSchema
|
|
138203
138398
|
};
|
|
138204
138399
|
tool$servingModelsGet = {
|
|
@@ -138206,9 +138401,9 @@ var init_servingModelsGet2 = __esm(() => {
|
|
|
138206
138401
|
description: `Get a model
|
|
138207
138402
|
|
|
138208
138403
|
Retrieve a registered model.`,
|
|
138209
|
-
args:
|
|
138210
|
-
tool: async (client,
|
|
138211
|
-
const [result, apiCall] = await servingModelsGet(client,
|
|
138404
|
+
args: args315,
|
|
138405
|
+
tool: async (client, args316, ctx) => {
|
|
138406
|
+
const [result, apiCall] = await servingModelsGet(client, args316.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138212
138407
|
if (!result.ok) {
|
|
138213
138408
|
return {
|
|
138214
138409
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138223,9 +138418,9 @@ Retrieve a registered model.`,
|
|
|
138223
138418
|
|
|
138224
138419
|
// src/funcs/servingModelsList.ts
|
|
138225
138420
|
function servingModelsList(client, request, options) {
|
|
138226
|
-
return new APIPromise($
|
|
138421
|
+
return new APIPromise($do325(client, request, options));
|
|
138227
138422
|
}
|
|
138228
|
-
async function $
|
|
138423
|
+
async function $do325(client, request, options) {
|
|
138229
138424
|
const parsed = safeParse4(request, (value) => ListServingModelsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
138230
138425
|
if (!parsed.ok) {
|
|
138231
138426
|
return [parsed, { status: "invalid" }];
|
|
@@ -138312,12 +138507,12 @@ var init_servingModelsList = __esm(() => {
|
|
|
138312
138507
|
});
|
|
138313
138508
|
|
|
138314
138509
|
// src/mcp-server/tools/servingModelsList.ts
|
|
138315
|
-
var
|
|
138510
|
+
var args316, tool$servingModelsList;
|
|
138316
138511
|
var init_servingModelsList2 = __esm(() => {
|
|
138317
138512
|
init_servingModelsList();
|
|
138318
138513
|
init_operations();
|
|
138319
138514
|
init_tools();
|
|
138320
|
-
|
|
138515
|
+
args316 = {
|
|
138321
138516
|
request: ListServingModelsRequest$inboundSchema
|
|
138322
138517
|
};
|
|
138323
138518
|
tool$servingModelsList = {
|
|
@@ -138325,9 +138520,9 @@ var init_servingModelsList2 = __esm(() => {
|
|
|
138325
138520
|
description: `List models
|
|
138326
138521
|
|
|
138327
138522
|
List your registered models.`,
|
|
138328
|
-
args:
|
|
138329
|
-
tool: async (client,
|
|
138330
|
-
const [result, apiCall] = await servingModelsList(client,
|
|
138523
|
+
args: args316,
|
|
138524
|
+
tool: async (client, args317, ctx) => {
|
|
138525
|
+
const [result, apiCall] = await servingModelsList(client, args317.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138331
138526
|
if (!result.ok) {
|
|
138332
138527
|
return {
|
|
138333
138528
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138342,9 +138537,9 @@ List your registered models.`,
|
|
|
138342
138537
|
|
|
138343
138538
|
// src/funcs/servingModelsRegister.ts
|
|
138344
138539
|
function servingModelsRegister(client, request, options) {
|
|
138345
|
-
return new APIPromise($
|
|
138540
|
+
return new APIPromise($do326(client, request, options));
|
|
138346
138541
|
}
|
|
138347
|
-
async function $
|
|
138542
|
+
async function $do326(client, request, options) {
|
|
138348
138543
|
const parsed = safeParse4(request, (value) => RegisterServingModelRequest$outboundSchema.parse(value), "Input validation failed");
|
|
138349
138544
|
if (!parsed.ok) {
|
|
138350
138545
|
return [parsed, { status: "invalid" }];
|
|
@@ -138427,12 +138622,12 @@ var init_servingModelsRegister = __esm(() => {
|
|
|
138427
138622
|
});
|
|
138428
138623
|
|
|
138429
138624
|
// src/mcp-server/tools/servingModelsRegister.ts
|
|
138430
|
-
var
|
|
138625
|
+
var args317, tool$servingModelsRegister;
|
|
138431
138626
|
var init_servingModelsRegister2 = __esm(() => {
|
|
138432
138627
|
init_servingModelsRegister();
|
|
138433
138628
|
init_operations();
|
|
138434
138629
|
init_tools();
|
|
138435
|
-
|
|
138630
|
+
args317 = {
|
|
138436
138631
|
request: RegisterServingModelRequest$inboundSchema
|
|
138437
138632
|
};
|
|
138438
138633
|
tool$servingModelsRegister = {
|
|
@@ -138440,9 +138635,9 @@ var init_servingModelsRegister2 = __esm(() => {
|
|
|
138440
138635
|
description: `Register a model
|
|
138441
138636
|
|
|
138442
138637
|
Register a model (from a source or volume) so it can be deployed or fine-tuned.`,
|
|
138443
|
-
args:
|
|
138444
|
-
tool: async (client,
|
|
138445
|
-
const [result, apiCall] = await servingModelsRegister(client,
|
|
138638
|
+
args: args317,
|
|
138639
|
+
tool: async (client, args318, ctx) => {
|
|
138640
|
+
const [result, apiCall] = await servingModelsRegister(client, args318.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138446
138641
|
if (!result.ok) {
|
|
138447
138642
|
return {
|
|
138448
138643
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138457,9 +138652,9 @@ Register a model (from a source or volume) so it can be deployed or fine-tuned.`
|
|
|
138457
138652
|
|
|
138458
138653
|
// src/funcs/servingRecipesDelete.ts
|
|
138459
138654
|
function servingRecipesDelete(client, request, options) {
|
|
138460
|
-
return new APIPromise($
|
|
138655
|
+
return new APIPromise($do327(client, request, options));
|
|
138461
138656
|
}
|
|
138462
|
-
async function $
|
|
138657
|
+
async function $do327(client, request, options) {
|
|
138463
138658
|
const parsed = safeParse4(request, (value) => DeleteServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
138464
138659
|
if (!parsed.ok) {
|
|
138465
138660
|
return [parsed, { status: "invalid" }];
|
|
@@ -138547,12 +138742,12 @@ var init_servingRecipesDelete = __esm(() => {
|
|
|
138547
138742
|
});
|
|
138548
138743
|
|
|
138549
138744
|
// src/mcp-server/tools/servingRecipesDelete.ts
|
|
138550
|
-
var
|
|
138745
|
+
var args318, tool$servingRecipesDelete;
|
|
138551
138746
|
var init_servingRecipesDelete2 = __esm(() => {
|
|
138552
138747
|
init_servingRecipesDelete();
|
|
138553
138748
|
init_operations();
|
|
138554
138749
|
init_tools();
|
|
138555
|
-
|
|
138750
|
+
args318 = {
|
|
138556
138751
|
request: DeleteServingRecipeRequest$inboundSchema
|
|
138557
138752
|
};
|
|
138558
138753
|
tool$servingRecipesDelete = {
|
|
@@ -138560,9 +138755,9 @@ var init_servingRecipesDelete2 = __esm(() => {
|
|
|
138560
138755
|
description: `Delete a serving recipe
|
|
138561
138756
|
|
|
138562
138757
|
Remove a recipe from the catalog. Rejected while any live deployment's active revision references the recipe. Cluster administrators only.`,
|
|
138563
|
-
args:
|
|
138564
|
-
tool: async (client,
|
|
138565
|
-
const [result, apiCall] = await servingRecipesDelete(client,
|
|
138758
|
+
args: args318,
|
|
138759
|
+
tool: async (client, args319, ctx) => {
|
|
138760
|
+
const [result, apiCall] = await servingRecipesDelete(client, args319.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138566
138761
|
if (!result.ok) {
|
|
138567
138762
|
return {
|
|
138568
138763
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138576,9 +138771,9 @@ Remove a recipe from the catalog. Rejected while any live deployment's active re
|
|
|
138576
138771
|
|
|
138577
138772
|
// src/funcs/servingRecipesGet.ts
|
|
138578
138773
|
function servingRecipesGet(client, request, options) {
|
|
138579
|
-
return new APIPromise($
|
|
138774
|
+
return new APIPromise($do328(client, request, options));
|
|
138580
138775
|
}
|
|
138581
|
-
async function $
|
|
138776
|
+
async function $do328(client, request, options) {
|
|
138582
138777
|
const parsed = safeParse4(request, (value) => GetServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
138583
138778
|
if (!parsed.ok) {
|
|
138584
138779
|
return [parsed, { status: "invalid" }];
|
|
@@ -138666,12 +138861,12 @@ var init_servingRecipesGet = __esm(() => {
|
|
|
138666
138861
|
});
|
|
138667
138862
|
|
|
138668
138863
|
// src/mcp-server/tools/servingRecipesGet.ts
|
|
138669
|
-
var
|
|
138864
|
+
var args319, tool$servingRecipesGet;
|
|
138670
138865
|
var init_servingRecipesGet2 = __esm(() => {
|
|
138671
138866
|
init_servingRecipesGet();
|
|
138672
138867
|
init_operations();
|
|
138673
138868
|
init_tools();
|
|
138674
|
-
|
|
138869
|
+
args319 = {
|
|
138675
138870
|
request: GetServingRecipeRequest$inboundSchema
|
|
138676
138871
|
};
|
|
138677
138872
|
tool$servingRecipesGet = {
|
|
@@ -138679,9 +138874,9 @@ var init_servingRecipesGet2 = __esm(() => {
|
|
|
138679
138874
|
description: `Get a serving recipe
|
|
138680
138875
|
|
|
138681
138876
|
Get one recipe catalog record. Tenants can read enabled recipes; disabled recipes are visible to cluster administrators only.`,
|
|
138682
|
-
args:
|
|
138683
|
-
tool: async (client,
|
|
138684
|
-
const [result, apiCall] = await servingRecipesGet(client,
|
|
138877
|
+
args: args319,
|
|
138878
|
+
tool: async (client, args320, ctx) => {
|
|
138879
|
+
const [result, apiCall] = await servingRecipesGet(client, args320.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138685
138880
|
if (!result.ok) {
|
|
138686
138881
|
return {
|
|
138687
138882
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138696,9 +138891,9 @@ Get one recipe catalog record. Tenants can read enabled recipes; disabled recipe
|
|
|
138696
138891
|
|
|
138697
138892
|
// src/funcs/servingRecipesList.ts
|
|
138698
138893
|
function servingRecipesList(client, request, options) {
|
|
138699
|
-
return new APIPromise($
|
|
138894
|
+
return new APIPromise($do329(client, request, options));
|
|
138700
138895
|
}
|
|
138701
|
-
async function $
|
|
138896
|
+
async function $do329(client, request, options) {
|
|
138702
138897
|
const parsed = safeParse4(request, (value) => ListServingRecipesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
138703
138898
|
if (!parsed.ok) {
|
|
138704
138899
|
return [parsed, { status: "invalid" }];
|
|
@@ -138785,12 +138980,12 @@ var init_servingRecipesList = __esm(() => {
|
|
|
138785
138980
|
});
|
|
138786
138981
|
|
|
138787
138982
|
// src/mcp-server/tools/servingRecipesList.ts
|
|
138788
|
-
var
|
|
138983
|
+
var args320, tool$servingRecipesList;
|
|
138789
138984
|
var init_servingRecipesList2 = __esm(() => {
|
|
138790
138985
|
init_servingRecipesList();
|
|
138791
138986
|
init_operations();
|
|
138792
138987
|
init_tools();
|
|
138793
|
-
|
|
138988
|
+
args320 = {
|
|
138794
138989
|
request: ListServingRecipesRequest$inboundSchema
|
|
138795
138990
|
};
|
|
138796
138991
|
tool$servingRecipesList = {
|
|
@@ -138798,9 +138993,9 @@ var init_servingRecipesList2 = __esm(() => {
|
|
|
138798
138993
|
description: `List serving recipes
|
|
138799
138994
|
|
|
138800
138995
|
List the cluster-global serving recipe catalog. Tenants see only enabled (deployable) recipes; cluster administrators see every registered recipe including disabled ones.`,
|
|
138801
|
-
args:
|
|
138802
|
-
tool: async (client,
|
|
138803
|
-
const [result, apiCall] = await servingRecipesList(client,
|
|
138996
|
+
args: args320,
|
|
138997
|
+
tool: async (client, args321, ctx) => {
|
|
138998
|
+
const [result, apiCall] = await servingRecipesList(client, args321.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138804
138999
|
if (!result.ok) {
|
|
138805
139000
|
return {
|
|
138806
139001
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138815,9 +139010,9 @@ List the cluster-global serving recipe catalog. Tenants see only enabled (deploy
|
|
|
138815
139010
|
|
|
138816
139011
|
// src/funcs/servingRecipesRegister.ts
|
|
138817
139012
|
function servingRecipesRegister(client, request, options) {
|
|
138818
|
-
return new APIPromise($
|
|
139013
|
+
return new APIPromise($do330(client, request, options));
|
|
138819
139014
|
}
|
|
138820
|
-
async function $
|
|
139015
|
+
async function $do330(client, request, options) {
|
|
138821
139016
|
const parsed = safeParse4(request, (value) => RegisterServingRecipeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
138822
139017
|
if (!parsed.ok) {
|
|
138823
139018
|
return [parsed, { status: "invalid" }];
|
|
@@ -138908,12 +139103,12 @@ var init_servingRecipesRegister = __esm(() => {
|
|
|
138908
139103
|
});
|
|
138909
139104
|
|
|
138910
139105
|
// src/mcp-server/tools/servingRecipesRegister.ts
|
|
138911
|
-
var
|
|
139106
|
+
var args321, tool$servingRecipesRegister;
|
|
138912
139107
|
var init_servingRecipesRegister2 = __esm(() => {
|
|
138913
139108
|
init_servingRecipesRegister();
|
|
138914
139109
|
init_operations();
|
|
138915
139110
|
init_tools();
|
|
138916
|
-
|
|
139111
|
+
args321 = {
|
|
138917
139112
|
request: RegisterServingRecipeRequest$inboundSchema
|
|
138918
139113
|
};
|
|
138919
139114
|
tool$servingRecipesRegister = {
|
|
@@ -138921,9 +139116,9 @@ var init_servingRecipesRegister2 = __esm(() => {
|
|
|
138921
139116
|
description: `Register a serving recipe
|
|
138922
139117
|
|
|
138923
139118
|
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.`,
|
|
138924
|
-
args:
|
|
138925
|
-
tool: async (client,
|
|
138926
|
-
const [result, apiCall] = await servingRecipesRegister(client,
|
|
139119
|
+
args: args321,
|
|
139120
|
+
tool: async (client, args322, ctx) => {
|
|
139121
|
+
const [result, apiCall] = await servingRecipesRegister(client, args322.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
138927
139122
|
if (!result.ok) {
|
|
138928
139123
|
return {
|
|
138929
139124
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -138938,9 +139133,9 @@ Register (or re-register) a digest-pinned recipe manifest in the catalog. A new
|
|
|
138938
139133
|
|
|
138939
139134
|
// src/funcs/servingRecipesSetEnabled.ts
|
|
138940
139135
|
function servingRecipesSetEnabled(client, request, options) {
|
|
138941
|
-
return new APIPromise($
|
|
139136
|
+
return new APIPromise($do331(client, request, options));
|
|
138942
139137
|
}
|
|
138943
|
-
async function $
|
|
139138
|
+
async function $do331(client, request, options) {
|
|
138944
139139
|
const parsed = safeParse4(request, (value) => SetServingRecipeEnabledRequest$outboundSchema.parse(value), "Input validation failed");
|
|
138945
139140
|
if (!parsed.ok) {
|
|
138946
139141
|
return [parsed, { status: "invalid" }];
|
|
@@ -139031,12 +139226,12 @@ var init_servingRecipesSetEnabled = __esm(() => {
|
|
|
139031
139226
|
});
|
|
139032
139227
|
|
|
139033
139228
|
// src/mcp-server/tools/servingRecipesSetEnabled.ts
|
|
139034
|
-
var
|
|
139229
|
+
var args322, tool$servingRecipesSetEnabled;
|
|
139035
139230
|
var init_servingRecipesSetEnabled2 = __esm(() => {
|
|
139036
139231
|
init_servingRecipesSetEnabled();
|
|
139037
139232
|
init_operations();
|
|
139038
139233
|
init_tools();
|
|
139039
|
-
|
|
139234
|
+
args322 = {
|
|
139040
139235
|
request: SetServingRecipeEnabledRequest$inboundSchema
|
|
139041
139236
|
};
|
|
139042
139237
|
tool$servingRecipesSetEnabled = {
|
|
@@ -139044,9 +139239,9 @@ var init_servingRecipesSetEnabled2 = __esm(() => {
|
|
|
139044
139239
|
description: `Enable or disable a serving recipe
|
|
139045
139240
|
|
|
139046
139241
|
Toggle cluster-wide deployability of a registered recipe. Disabling does not stop deployments already running the recipe. Cluster administrators only.`,
|
|
139047
|
-
args:
|
|
139048
|
-
tool: async (client,
|
|
139049
|
-
const [result, apiCall] = await servingRecipesSetEnabled(client,
|
|
139242
|
+
args: args322,
|
|
139243
|
+
tool: async (client, args323, ctx) => {
|
|
139244
|
+
const [result, apiCall] = await servingRecipesSetEnabled(client, args323.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
139050
139245
|
if (!result.ok) {
|
|
139051
139246
|
return {
|
|
139052
139247
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -139061,9 +139256,9 @@ Toggle cluster-wide deployability of a registered recipe. Disabling does not sto
|
|
|
139061
139256
|
|
|
139062
139257
|
// src/funcs/servingSecretsCreate.ts
|
|
139063
139258
|
function servingSecretsCreate(client, request, options) {
|
|
139064
|
-
return new APIPromise($
|
|
139259
|
+
return new APIPromise($do332(client, request, options));
|
|
139065
139260
|
}
|
|
139066
|
-
async function $
|
|
139261
|
+
async function $do332(client, request, options) {
|
|
139067
139262
|
const parsed = safeParse4(request, (value) => CreateSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
139068
139263
|
if (!parsed.ok) {
|
|
139069
139264
|
return [parsed, { status: "invalid" }];
|
|
@@ -139146,12 +139341,12 @@ var init_servingSecretsCreate = __esm(() => {
|
|
|
139146
139341
|
});
|
|
139147
139342
|
|
|
139148
139343
|
// src/mcp-server/tools/servingSecretsCreate.ts
|
|
139149
|
-
var
|
|
139344
|
+
var args323, tool$servingSecretsCreate;
|
|
139150
139345
|
var init_servingSecretsCreate2 = __esm(() => {
|
|
139151
139346
|
init_servingSecretsCreate();
|
|
139152
139347
|
init_operations();
|
|
139153
139348
|
init_tools();
|
|
139154
|
-
|
|
139349
|
+
args323 = {
|
|
139155
139350
|
request: CreateSecretRequest$inboundSchema
|
|
139156
139351
|
};
|
|
139157
139352
|
tool$servingSecretsCreate = {
|
|
@@ -139159,9 +139354,9 @@ var init_servingSecretsCreate2 = __esm(() => {
|
|
|
139159
139354
|
description: `Create a secret
|
|
139160
139355
|
|
|
139161
139356
|
Create a secret whose values are injected into your workloads as env vars.`,
|
|
139162
|
-
args:
|
|
139163
|
-
tool: async (client,
|
|
139164
|
-
const [result, apiCall] = await servingSecretsCreate(client,
|
|
139357
|
+
args: args323,
|
|
139358
|
+
tool: async (client, args324, ctx) => {
|
|
139359
|
+
const [result, apiCall] = await servingSecretsCreate(client, args324.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
139165
139360
|
if (!result.ok) {
|
|
139166
139361
|
return {
|
|
139167
139362
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -139176,9 +139371,9 @@ Create a secret whose values are injected into your workloads as env vars.`,
|
|
|
139176
139371
|
|
|
139177
139372
|
// src/funcs/servingSecretsDelete.ts
|
|
139178
139373
|
function servingSecretsDelete(client, request, options) {
|
|
139179
|
-
return new APIPromise($
|
|
139374
|
+
return new APIPromise($do333(client, request, options));
|
|
139180
139375
|
}
|
|
139181
|
-
async function $
|
|
139376
|
+
async function $do333(client, request, options) {
|
|
139182
139377
|
const parsed = safeParse4(request, (value) => DeleteSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
139183
139378
|
if (!parsed.ok) {
|
|
139184
139379
|
return [parsed, { status: "invalid" }];
|
|
@@ -139266,12 +139461,12 @@ var init_servingSecretsDelete = __esm(() => {
|
|
|
139266
139461
|
});
|
|
139267
139462
|
|
|
139268
139463
|
// src/mcp-server/tools/servingSecretsDelete.ts
|
|
139269
|
-
var
|
|
139464
|
+
var args324, tool$servingSecretsDelete;
|
|
139270
139465
|
var init_servingSecretsDelete2 = __esm(() => {
|
|
139271
139466
|
init_servingSecretsDelete();
|
|
139272
139467
|
init_operations();
|
|
139273
139468
|
init_tools();
|
|
139274
|
-
|
|
139469
|
+
args324 = {
|
|
139275
139470
|
request: DeleteSecretRequest$inboundSchema
|
|
139276
139471
|
};
|
|
139277
139472
|
tool$servingSecretsDelete = {
|
|
@@ -139279,9 +139474,9 @@ var init_servingSecretsDelete2 = __esm(() => {
|
|
|
139279
139474
|
description: `Delete a secret
|
|
139280
139475
|
|
|
139281
139476
|
Delete a secret.`,
|
|
139282
|
-
args:
|
|
139283
|
-
tool: async (client,
|
|
139284
|
-
const [result, apiCall] = await servingSecretsDelete(client,
|
|
139477
|
+
args: args324,
|
|
139478
|
+
tool: async (client, args325, ctx) => {
|
|
139479
|
+
const [result, apiCall] = await servingSecretsDelete(client, args325.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
139285
139480
|
if (!result.ok) {
|
|
139286
139481
|
return {
|
|
139287
139482
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -139295,9 +139490,9 @@ Delete a secret.`,
|
|
|
139295
139490
|
|
|
139296
139491
|
// src/funcs/servingSecretsGet.ts
|
|
139297
139492
|
function servingSecretsGet(client, request, options) {
|
|
139298
|
-
return new APIPromise($
|
|
139493
|
+
return new APIPromise($do334(client, request, options));
|
|
139299
139494
|
}
|
|
139300
|
-
async function $
|
|
139495
|
+
async function $do334(client, request, options) {
|
|
139301
139496
|
const parsed = safeParse4(request, (value) => GetSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
139302
139497
|
if (!parsed.ok) {
|
|
139303
139498
|
return [parsed, { status: "invalid" }];
|
|
@@ -139385,12 +139580,12 @@ var init_servingSecretsGet = __esm(() => {
|
|
|
139385
139580
|
});
|
|
139386
139581
|
|
|
139387
139582
|
// src/mcp-server/tools/servingSecretsGet.ts
|
|
139388
|
-
var
|
|
139583
|
+
var args325, tool$servingSecretsGet;
|
|
139389
139584
|
var init_servingSecretsGet2 = __esm(() => {
|
|
139390
139585
|
init_servingSecretsGet();
|
|
139391
139586
|
init_operations();
|
|
139392
139587
|
init_tools();
|
|
139393
|
-
|
|
139588
|
+
args325 = {
|
|
139394
139589
|
request: GetSecretRequest$inboundSchema
|
|
139395
139590
|
};
|
|
139396
139591
|
tool$servingSecretsGet = {
|
|
@@ -139398,9 +139593,9 @@ var init_servingSecretsGet2 = __esm(() => {
|
|
|
139398
139593
|
description: `Get a secret
|
|
139399
139594
|
|
|
139400
139595
|
Retrieve secret metadata: key names and allowed use. Values are never returned.`,
|
|
139401
|
-
args:
|
|
139402
|
-
tool: async (client,
|
|
139403
|
-
const [result, apiCall] = await servingSecretsGet(client,
|
|
139596
|
+
args: args325,
|
|
139597
|
+
tool: async (client, args326, ctx) => {
|
|
139598
|
+
const [result, apiCall] = await servingSecretsGet(client, args326.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
139404
139599
|
if (!result.ok) {
|
|
139405
139600
|
return {
|
|
139406
139601
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -139415,9 +139610,9 @@ Retrieve secret metadata: key names and allowed use. Values are never returned.`
|
|
|
139415
139610
|
|
|
139416
139611
|
// src/funcs/servingSecretsList.ts
|
|
139417
139612
|
function servingSecretsList(client, request, options) {
|
|
139418
|
-
return new APIPromise($
|
|
139613
|
+
return new APIPromise($do335(client, request, options));
|
|
139419
139614
|
}
|
|
139420
|
-
async function $
|
|
139615
|
+
async function $do335(client, request, options) {
|
|
139421
139616
|
const parsed = safeParse4(request, (value) => ListSecretsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
139422
139617
|
if (!parsed.ok) {
|
|
139423
139618
|
return [parsed, { status: "invalid" }];
|
|
@@ -139504,12 +139699,12 @@ var init_servingSecretsList = __esm(() => {
|
|
|
139504
139699
|
});
|
|
139505
139700
|
|
|
139506
139701
|
// src/mcp-server/tools/servingSecretsList.ts
|
|
139507
|
-
var
|
|
139702
|
+
var args326, tool$servingSecretsList;
|
|
139508
139703
|
var init_servingSecretsList2 = __esm(() => {
|
|
139509
139704
|
init_servingSecretsList();
|
|
139510
139705
|
init_operations();
|
|
139511
139706
|
init_tools();
|
|
139512
|
-
|
|
139707
|
+
args326 = {
|
|
139513
139708
|
request: ListSecretsRequest$inboundSchema
|
|
139514
139709
|
};
|
|
139515
139710
|
tool$servingSecretsList = {
|
|
@@ -139517,9 +139712,9 @@ var init_servingSecretsList2 = __esm(() => {
|
|
|
139517
139712
|
description: `List secrets (names only)
|
|
139518
139713
|
|
|
139519
139714
|
List your secrets by name (values are never returned).`,
|
|
139520
|
-
args:
|
|
139521
|
-
tool: async (client,
|
|
139522
|
-
const [result, apiCall] = await servingSecretsList(client,
|
|
139715
|
+
args: args326,
|
|
139716
|
+
tool: async (client, args327, ctx) => {
|
|
139717
|
+
const [result, apiCall] = await servingSecretsList(client, args327.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
139523
139718
|
if (!result.ok) {
|
|
139524
139719
|
return {
|
|
139525
139720
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -139534,9 +139729,9 @@ List your secrets by name (values are never returned).`,
|
|
|
139534
139729
|
|
|
139535
139730
|
// src/funcs/servingSpendGet.ts
|
|
139536
139731
|
function servingSpendGet(client, request, options) {
|
|
139537
|
-
return new APIPromise($
|
|
139732
|
+
return new APIPromise($do336(client, request, options));
|
|
139538
139733
|
}
|
|
139539
|
-
async function $
|
|
139734
|
+
async function $do336(client, request, options) {
|
|
139540
139735
|
const parsed = safeParse4(request, (value) => GetSpendRequest$outboundSchema.parse(value), "Input validation failed");
|
|
139541
139736
|
if (!parsed.ok) {
|
|
139542
139737
|
return [parsed, { status: "invalid" }];
|
|
@@ -139623,12 +139818,12 @@ var init_servingSpendGet = __esm(() => {
|
|
|
139623
139818
|
});
|
|
139624
139819
|
|
|
139625
139820
|
// src/mcp-server/tools/servingSpendGet.ts
|
|
139626
|
-
var
|
|
139821
|
+
var args327, tool$servingSpendGet;
|
|
139627
139822
|
var init_servingSpendGet2 = __esm(() => {
|
|
139628
139823
|
init_servingSpendGet();
|
|
139629
139824
|
init_operations();
|
|
139630
139825
|
init_tools();
|
|
139631
|
-
|
|
139826
|
+
args327 = {
|
|
139632
139827
|
request: GetSpendRequest$inboundSchema
|
|
139633
139828
|
};
|
|
139634
139829
|
tool$servingSpendGet = {
|
|
@@ -139636,9 +139831,9 @@ var init_servingSpendGet2 = __esm(() => {
|
|
|
139636
139831
|
description: `Cost and spend summary
|
|
139637
139832
|
|
|
139638
139833
|
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.`,
|
|
139639
|
-
args:
|
|
139640
|
-
tool: async (client,
|
|
139641
|
-
const [result, apiCall] = await servingSpendGet(client,
|
|
139834
|
+
args: args327,
|
|
139835
|
+
tool: async (client, args328, ctx) => {
|
|
139836
|
+
const [result, apiCall] = await servingSpendGet(client, args328.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
139642
139837
|
if (!result.ok) {
|
|
139643
139838
|
return {
|
|
139644
139839
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -139653,9 +139848,9 @@ Aggregate spend for your organization, computed from retained compute ledgers as
|
|
|
139653
139848
|
|
|
139654
139849
|
// src/funcs/servingTenantsDeleteOrganization.ts
|
|
139655
139850
|
function servingTenantsDeleteOrganization(client, request, options) {
|
|
139656
|
-
return new APIPromise($
|
|
139851
|
+
return new APIPromise($do337(client, request, options));
|
|
139657
139852
|
}
|
|
139658
|
-
async function $
|
|
139853
|
+
async function $do337(client, request, options) {
|
|
139659
139854
|
const parsed = safeParse4(request, (value) => DeleteServingOrganizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
139660
139855
|
if (!parsed.ok) {
|
|
139661
139856
|
return [parsed, { status: "invalid" }];
|
|
@@ -139746,22 +139941,22 @@ var init_servingTenantsDeleteOrganization = __esm(() => {
|
|
|
139746
139941
|
});
|
|
139747
139942
|
|
|
139748
139943
|
// src/mcp-server/tools/servingTenantsDeleteOrganization.ts
|
|
139749
|
-
var
|
|
139944
|
+
var args328, tool$servingTenantsDeleteOrganization;
|
|
139750
139945
|
var init_servingTenantsDeleteOrganization2 = __esm(() => {
|
|
139751
139946
|
init_servingTenantsDeleteOrganization();
|
|
139752
139947
|
init_operations();
|
|
139753
139948
|
init_tools();
|
|
139754
|
-
|
|
139949
|
+
args328 = {
|
|
139755
139950
|
request: DeleteServingOrganizationRequest$inboundSchema
|
|
139756
139951
|
};
|
|
139757
139952
|
tool$servingTenantsDeleteOrganization = {
|
|
139758
139953
|
name: "serving-tenants-delete-organization",
|
|
139759
139954
|
description: `Trigger organization deletion teardown
|
|
139760
139955
|
|
|
139761
|
-
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.`,
|
|
139762
|
-
args:
|
|
139763
|
-
tool: async (client,
|
|
139764
|
-
const [result, apiCall] = await servingTenantsDeleteOrganization(client,
|
|
139956
|
+
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. Deprecated: this operation has moved to the operator admin plane at \`POST /api/v1/admin/tenants/{org_id}/deletion\`. This path keeps working for one transition release (responses carry \`Deprecation: true\` and a \`Link\` successor header) and is removed from this document in the next SDK major.`,
|
|
139957
|
+
args: args328,
|
|
139958
|
+
tool: async (client, args329, ctx) => {
|
|
139959
|
+
const [result, apiCall] = await servingTenantsDeleteOrganization(client, args329.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
139765
139960
|
if (!result.ok) {
|
|
139766
139961
|
return {
|
|
139767
139962
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -139776,9 +139971,9 @@ Durably records an organization.deleted.v1 event and starts (or adopts) the mand
|
|
|
139776
139971
|
|
|
139777
139972
|
// src/funcs/servingTenantsGet.ts
|
|
139778
139973
|
function servingTenantsGet(client, request, options) {
|
|
139779
|
-
return new APIPromise($
|
|
139974
|
+
return new APIPromise($do338(client, request, options));
|
|
139780
139975
|
}
|
|
139781
|
-
async function $
|
|
139976
|
+
async function $do338(client, request, options) {
|
|
139782
139977
|
const parsed = safeParse4(request, (value) => GetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
|
|
139783
139978
|
if (!parsed.ok) {
|
|
139784
139979
|
return [parsed, { status: "invalid" }];
|
|
@@ -139866,22 +140061,22 @@ var init_servingTenantsGet = __esm(() => {
|
|
|
139866
140061
|
});
|
|
139867
140062
|
|
|
139868
140063
|
// src/mcp-server/tools/servingTenantsGet.ts
|
|
139869
|
-
var
|
|
140064
|
+
var args329, tool$servingTenantsGet;
|
|
139870
140065
|
var init_servingTenantsGet2 = __esm(() => {
|
|
139871
140066
|
init_servingTenantsGet();
|
|
139872
140067
|
init_operations();
|
|
139873
140068
|
init_tools();
|
|
139874
|
-
|
|
140069
|
+
args329 = {
|
|
139875
140070
|
request: GetServingTenantRequest$inboundSchema
|
|
139876
140071
|
};
|
|
139877
140072
|
tool$servingTenantsGet = {
|
|
139878
140073
|
name: "serving-tenants-get",
|
|
139879
140074
|
description: `Get a serving tenant
|
|
139880
140075
|
|
|
139881
|
-
Get one organization's serving enablement record. Cluster administrators only.`,
|
|
139882
|
-
args:
|
|
139883
|
-
tool: async (client,
|
|
139884
|
-
const [result, apiCall] = await servingTenantsGet(client,
|
|
140076
|
+
Get one organization's serving enablement record. Cluster administrators only. Deprecated: this operation has moved to the operator admin plane at \`GET /api/v1/admin/tenants/{org_id}\`. This path keeps working for one transition release (responses carry \`Deprecation: true\` and a \`Link\` successor header) and is removed from this document in the next SDK major.`,
|
|
140077
|
+
args: args329,
|
|
140078
|
+
tool: async (client, args330, ctx) => {
|
|
140079
|
+
const [result, apiCall] = await servingTenantsGet(client, args330.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
139885
140080
|
if (!result.ok) {
|
|
139886
140081
|
return {
|
|
139887
140082
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -139896,9 +140091,9 @@ Get one organization's serving enablement record. Cluster administrators only.`,
|
|
|
139896
140091
|
|
|
139897
140092
|
// src/funcs/servingTenantsGetOrganizationDeletion.ts
|
|
139898
140093
|
function servingTenantsGetOrganizationDeletion(client, request, options) {
|
|
139899
|
-
return new APIPromise($
|
|
140094
|
+
return new APIPromise($do339(client, request, options));
|
|
139900
140095
|
}
|
|
139901
|
-
async function $
|
|
140096
|
+
async function $do339(client, request, options) {
|
|
139902
140097
|
const parsed = safeParse4(request, (value) => GetServingOrganizationDeletionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
139903
140098
|
if (!parsed.ok) {
|
|
139904
140099
|
return [parsed, { status: "invalid" }];
|
|
@@ -139986,22 +140181,22 @@ var init_servingTenantsGetOrganizationDeletion = __esm(() => {
|
|
|
139986
140181
|
});
|
|
139987
140182
|
|
|
139988
140183
|
// src/mcp-server/tools/servingTenantsGetOrganizationDeletion.ts
|
|
139989
|
-
var
|
|
140184
|
+
var args330, tool$servingTenantsGetOrganizationDeletion;
|
|
139990
140185
|
var init_servingTenantsGetOrganizationDeletion2 = __esm(() => {
|
|
139991
140186
|
init_servingTenantsGetOrganizationDeletion();
|
|
139992
140187
|
init_operations();
|
|
139993
140188
|
init_tools();
|
|
139994
|
-
|
|
140189
|
+
args330 = {
|
|
139995
140190
|
request: GetServingOrganizationDeletionRequest$inboundSchema
|
|
139996
140191
|
};
|
|
139997
140192
|
tool$servingTenantsGetOrganizationDeletion = {
|
|
139998
140193
|
name: "serving-tenants-get-organization-deletion",
|
|
139999
140194
|
description: `Get organization deletion teardown state
|
|
140000
140195
|
|
|
140001
|
-
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.`,
|
|
140002
|
-
args:
|
|
140003
|
-
tool: async (client,
|
|
140004
|
-
const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client,
|
|
140196
|
+
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. Deprecated: this operation has moved to the operator admin plane at \`GET /api/v1/admin/tenants/{org_id}/deletion\`. This path keeps working for one transition release (responses carry \`Deprecation: true\` and a \`Link\` successor header) and is removed from this document in the next SDK major.`,
|
|
140197
|
+
args: args330,
|
|
140198
|
+
tool: async (client, args331, ctx) => {
|
|
140199
|
+
const [result, apiCall] = await servingTenantsGetOrganizationDeletion(client, args331.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140005
140200
|
if (!result.ok) {
|
|
140006
140201
|
return {
|
|
140007
140202
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140016,9 +140211,9 @@ Returns the durable teardown-cascade state for an organization (running or compl
|
|
|
140016
140211
|
|
|
140017
140212
|
// src/funcs/servingTenantsList.ts
|
|
140018
140213
|
function servingTenantsList(client, request, options) {
|
|
140019
|
-
return new APIPromise($
|
|
140214
|
+
return new APIPromise($do340(client, request, options));
|
|
140020
140215
|
}
|
|
140021
|
-
async function $
|
|
140216
|
+
async function $do340(client, request, options) {
|
|
140022
140217
|
const parsed = safeParse4(request, (value) => ListServingTenantsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
140023
140218
|
if (!parsed.ok) {
|
|
140024
140219
|
return [parsed, { status: "invalid" }];
|
|
@@ -140105,22 +140300,22 @@ var init_servingTenantsList = __esm(() => {
|
|
|
140105
140300
|
});
|
|
140106
140301
|
|
|
140107
140302
|
// src/mcp-server/tools/servingTenantsList.ts
|
|
140108
|
-
var
|
|
140303
|
+
var args331, tool$servingTenantsList;
|
|
140109
140304
|
var init_servingTenantsList2 = __esm(() => {
|
|
140110
140305
|
init_servingTenantsList();
|
|
140111
140306
|
init_operations();
|
|
140112
140307
|
init_tools();
|
|
140113
|
-
|
|
140308
|
+
args331 = {
|
|
140114
140309
|
request: ListServingTenantsRequest$inboundSchema
|
|
140115
140310
|
};
|
|
140116
140311
|
tool$servingTenantsList = {
|
|
140117
140312
|
name: "serving-tenants-list",
|
|
140118
140313
|
description: `List serving tenants
|
|
140119
140314
|
|
|
140120
|
-
List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned.`,
|
|
140121
|
-
args:
|
|
140122
|
-
tool: async (client,
|
|
140123
|
-
const [result, apiCall] = await servingTenantsList(client,
|
|
140315
|
+
List organization-wide serving enablement records. Cluster administrators only; a missing organization is not provisioned. Deprecated: this operation has moved to the operator admin plane at \`GET /api/v1/admin/tenants\`. This path keeps working for one transition release (responses carry \`Deprecation: true\` and a \`Link\` successor header) and is removed from this document in the next SDK major.`,
|
|
140316
|
+
args: args331,
|
|
140317
|
+
tool: async (client, args332, ctx) => {
|
|
140318
|
+
const [result, apiCall] = await servingTenantsList(client, args332.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140124
140319
|
if (!result.ok) {
|
|
140125
140320
|
return {
|
|
140126
140321
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140135,9 +140330,9 @@ List organization-wide serving enablement records. Cluster administrators only;
|
|
|
140135
140330
|
|
|
140136
140331
|
// src/funcs/servingTenantsSet.ts
|
|
140137
140332
|
function servingTenantsSet(client, request, options) {
|
|
140138
|
-
return new APIPromise($
|
|
140333
|
+
return new APIPromise($do341(client, request, options));
|
|
140139
140334
|
}
|
|
140140
|
-
async function $
|
|
140335
|
+
async function $do341(client, request, options) {
|
|
140141
140336
|
const parsed = safeParse4(request, (value) => SetServingTenantRequest$outboundSchema.parse(value), "Input validation failed");
|
|
140142
140337
|
if (!parsed.ok) {
|
|
140143
140338
|
return [parsed, { status: "invalid" }];
|
|
@@ -140226,22 +140421,22 @@ var init_servingTenantsSet = __esm(() => {
|
|
|
140226
140421
|
});
|
|
140227
140422
|
|
|
140228
140423
|
// src/mcp-server/tools/servingTenantsSet.ts
|
|
140229
|
-
var
|
|
140424
|
+
var args332, tool$servingTenantsSet;
|
|
140230
140425
|
var init_servingTenantsSet2 = __esm(() => {
|
|
140231
140426
|
init_servingTenantsSet();
|
|
140232
140427
|
init_operations();
|
|
140233
140428
|
init_tools();
|
|
140234
|
-
|
|
140429
|
+
args332 = {
|
|
140235
140430
|
request: SetServingTenantRequest$inboundSchema
|
|
140236
140431
|
};
|
|
140237
140432
|
tool$servingTenantsSet = {
|
|
140238
140433
|
name: "serving-tenants-set",
|
|
140239
140434
|
description: `Set serving tenant enablement
|
|
140240
140435
|
|
|
140241
|
-
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.`,
|
|
140242
|
-
args:
|
|
140243
|
-
tool: async (client,
|
|
140244
|
-
const [result, apiCall] = await servingTenantsSet(client,
|
|
140436
|
+
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. Deprecated: this operation has moved to the operator admin plane at \`PUT /api/v1/admin/tenants/{org_id}\`. This path keeps working for one transition release (responses carry \`Deprecation: true\` and a \`Link\` successor header) and is removed from this document in the next SDK major.`,
|
|
140437
|
+
args: args332,
|
|
140438
|
+
tool: async (client, args333, ctx) => {
|
|
140439
|
+
const [result, apiCall] = await servingTenantsSet(client, args333.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140245
140440
|
if (!result.ok) {
|
|
140246
140441
|
return {
|
|
140247
140442
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140256,9 +140451,9 @@ Enable or disable serving for an organization and all of its teams. Disabling bl
|
|
|
140256
140451
|
|
|
140257
140452
|
// src/funcs/servingVolumesCreate.ts
|
|
140258
140453
|
function servingVolumesCreate(client, request, options) {
|
|
140259
|
-
return new APIPromise($
|
|
140454
|
+
return new APIPromise($do342(client, request, options));
|
|
140260
140455
|
}
|
|
140261
|
-
async function $
|
|
140456
|
+
async function $do342(client, request, options) {
|
|
140262
140457
|
const parsed = safeParse4(request, (value) => CreateVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
140263
140458
|
if (!parsed.ok) {
|
|
140264
140459
|
return [parsed, { status: "invalid" }];
|
|
@@ -140341,12 +140536,12 @@ var init_servingVolumesCreate = __esm(() => {
|
|
|
140341
140536
|
});
|
|
140342
140537
|
|
|
140343
140538
|
// src/mcp-server/tools/servingVolumesCreate.ts
|
|
140344
|
-
var
|
|
140539
|
+
var args333, tool$servingVolumesCreate;
|
|
140345
140540
|
var init_servingVolumesCreate2 = __esm(() => {
|
|
140346
140541
|
init_servingVolumesCreate();
|
|
140347
140542
|
init_operations();
|
|
140348
140543
|
init_tools();
|
|
140349
|
-
|
|
140544
|
+
args333 = {
|
|
140350
140545
|
request: CreateVolumeRequest$inboundSchema
|
|
140351
140546
|
};
|
|
140352
140547
|
tool$servingVolumesCreate = {
|
|
@@ -140354,9 +140549,9 @@ var init_servingVolumesCreate2 = __esm(() => {
|
|
|
140354
140549
|
description: `Create a volume
|
|
140355
140550
|
|
|
140356
140551
|
Create a persistent volume for weights, datasets, or checkpoints.`,
|
|
140357
|
-
args:
|
|
140358
|
-
tool: async (client,
|
|
140359
|
-
const [result, apiCall] = await servingVolumesCreate(client,
|
|
140552
|
+
args: args333,
|
|
140553
|
+
tool: async (client, args334, ctx) => {
|
|
140554
|
+
const [result, apiCall] = await servingVolumesCreate(client, args334.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140360
140555
|
if (!result.ok) {
|
|
140361
140556
|
return {
|
|
140362
140557
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140371,9 +140566,9 @@ Create a persistent volume for weights, datasets, or checkpoints.`,
|
|
|
140371
140566
|
|
|
140372
140567
|
// src/funcs/servingVolumesDelete.ts
|
|
140373
140568
|
function servingVolumesDelete(client, request, options) {
|
|
140374
|
-
return new APIPromise($
|
|
140569
|
+
return new APIPromise($do343(client, request, options));
|
|
140375
140570
|
}
|
|
140376
|
-
async function $
|
|
140571
|
+
async function $do343(client, request, options) {
|
|
140377
140572
|
const parsed = safeParse4(request, (value) => DeleteVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
140378
140573
|
if (!parsed.ok) {
|
|
140379
140574
|
return [parsed, { status: "invalid" }];
|
|
@@ -140461,12 +140656,12 @@ var init_servingVolumesDelete = __esm(() => {
|
|
|
140461
140656
|
});
|
|
140462
140657
|
|
|
140463
140658
|
// src/mcp-server/tools/servingVolumesDelete.ts
|
|
140464
|
-
var
|
|
140659
|
+
var args334, tool$servingVolumesDelete;
|
|
140465
140660
|
var init_servingVolumesDelete2 = __esm(() => {
|
|
140466
140661
|
init_servingVolumesDelete();
|
|
140467
140662
|
init_operations();
|
|
140468
140663
|
init_tools();
|
|
140469
|
-
|
|
140664
|
+
args334 = {
|
|
140470
140665
|
request: DeleteVolumeRequest$inboundSchema
|
|
140471
140666
|
};
|
|
140472
140667
|
tool$servingVolumesDelete = {
|
|
@@ -140474,9 +140669,9 @@ var init_servingVolumesDelete2 = __esm(() => {
|
|
|
140474
140669
|
description: `Delete a volume
|
|
140475
140670
|
|
|
140476
140671
|
Delete a volume and its contents.`,
|
|
140477
|
-
args:
|
|
140478
|
-
tool: async (client,
|
|
140479
|
-
const [result, apiCall] = await servingVolumesDelete(client,
|
|
140672
|
+
args: args334,
|
|
140673
|
+
tool: async (client, args335, ctx) => {
|
|
140674
|
+
const [result, apiCall] = await servingVolumesDelete(client, args335.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140480
140675
|
if (!result.ok) {
|
|
140481
140676
|
return {
|
|
140482
140677
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140490,9 +140685,9 @@ Delete a volume and its contents.`,
|
|
|
140490
140685
|
|
|
140491
140686
|
// src/funcs/servingVolumesGet.ts
|
|
140492
140687
|
function servingVolumesGet(client, request, options) {
|
|
140493
|
-
return new APIPromise($
|
|
140688
|
+
return new APIPromise($do344(client, request, options));
|
|
140494
140689
|
}
|
|
140495
|
-
async function $
|
|
140690
|
+
async function $do344(client, request, options) {
|
|
140496
140691
|
const parsed = safeParse4(request, (value) => GetVolumeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
140497
140692
|
if (!parsed.ok) {
|
|
140498
140693
|
return [parsed, { status: "invalid" }];
|
|
@@ -140580,12 +140775,12 @@ var init_servingVolumesGet = __esm(() => {
|
|
|
140580
140775
|
});
|
|
140581
140776
|
|
|
140582
140777
|
// src/mcp-server/tools/servingVolumesGet.ts
|
|
140583
|
-
var
|
|
140778
|
+
var args335, tool$servingVolumesGet;
|
|
140584
140779
|
var init_servingVolumesGet2 = __esm(() => {
|
|
140585
140780
|
init_servingVolumesGet();
|
|
140586
140781
|
init_operations();
|
|
140587
140782
|
init_tools();
|
|
140588
|
-
|
|
140783
|
+
args335 = {
|
|
140589
140784
|
request: GetVolumeRequest$inboundSchema
|
|
140590
140785
|
};
|
|
140591
140786
|
tool$servingVolumesGet = {
|
|
@@ -140593,9 +140788,9 @@ var init_servingVolumesGet2 = __esm(() => {
|
|
|
140593
140788
|
description: `Get a volume
|
|
140594
140789
|
|
|
140595
140790
|
Retrieve a volume.`,
|
|
140596
|
-
args:
|
|
140597
|
-
tool: async (client,
|
|
140598
|
-
const [result, apiCall] = await servingVolumesGet(client,
|
|
140791
|
+
args: args335,
|
|
140792
|
+
tool: async (client, args336, ctx) => {
|
|
140793
|
+
const [result, apiCall] = await servingVolumesGet(client, args336.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140599
140794
|
if (!result.ok) {
|
|
140600
140795
|
return {
|
|
140601
140796
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140610,9 +140805,9 @@ Retrieve a volume.`,
|
|
|
140610
140805
|
|
|
140611
140806
|
// src/funcs/servingVolumesList.ts
|
|
140612
140807
|
function servingVolumesList(client, request, options) {
|
|
140613
|
-
return new APIPromise($
|
|
140808
|
+
return new APIPromise($do345(client, request, options));
|
|
140614
140809
|
}
|
|
140615
|
-
async function $
|
|
140810
|
+
async function $do345(client, request, options) {
|
|
140616
140811
|
const parsed = safeParse4(request, (value) => ListVolumesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
140617
140812
|
if (!parsed.ok) {
|
|
140618
140813
|
return [parsed, { status: "invalid" }];
|
|
@@ -140699,12 +140894,12 @@ var init_servingVolumesList = __esm(() => {
|
|
|
140699
140894
|
});
|
|
140700
140895
|
|
|
140701
140896
|
// src/mcp-server/tools/servingVolumesList.ts
|
|
140702
|
-
var
|
|
140897
|
+
var args336, tool$servingVolumesList;
|
|
140703
140898
|
var init_servingVolumesList2 = __esm(() => {
|
|
140704
140899
|
init_servingVolumesList();
|
|
140705
140900
|
init_operations();
|
|
140706
140901
|
init_tools();
|
|
140707
|
-
|
|
140902
|
+
args336 = {
|
|
140708
140903
|
request: ListVolumesRequest$inboundSchema
|
|
140709
140904
|
};
|
|
140710
140905
|
tool$servingVolumesList = {
|
|
@@ -140712,9 +140907,9 @@ var init_servingVolumesList2 = __esm(() => {
|
|
|
140712
140907
|
description: `List volumes
|
|
140713
140908
|
|
|
140714
140909
|
List your volumes.`,
|
|
140715
|
-
args:
|
|
140716
|
-
tool: async (client,
|
|
140717
|
-
const [result, apiCall] = await servingVolumesList(client,
|
|
140910
|
+
args: args336,
|
|
140911
|
+
tool: async (client, args337, ctx) => {
|
|
140912
|
+
const [result, apiCall] = await servingVolumesList(client, args337.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140718
140913
|
if (!result.ok) {
|
|
140719
140914
|
return {
|
|
140720
140915
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140729,9 +140924,9 @@ List your volumes.`,
|
|
|
140729
140924
|
|
|
140730
140925
|
// src/funcs/usageCosts.ts
|
|
140731
140926
|
function usageCosts(client, request, options) {
|
|
140732
|
-
return new APIPromise($
|
|
140927
|
+
return new APIPromise($do346(client, request, options));
|
|
140733
140928
|
}
|
|
140734
|
-
async function $
|
|
140929
|
+
async function $do346(client, request, options) {
|
|
140735
140930
|
const parsed = safeParse4(request, (value) => GetCostsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
140736
140931
|
if (!parsed.ok) {
|
|
140737
140932
|
return [parsed, { status: "invalid" }];
|
|
@@ -140814,12 +141009,12 @@ var init_usageCosts = __esm(() => {
|
|
|
140814
141009
|
});
|
|
140815
141010
|
|
|
140816
141011
|
// src/mcp-server/tools/usageCosts.ts
|
|
140817
|
-
var
|
|
141012
|
+
var args337, tool$usageCosts;
|
|
140818
141013
|
var init_usageCosts2 = __esm(() => {
|
|
140819
141014
|
init_usageCosts();
|
|
140820
141015
|
init_operations();
|
|
140821
141016
|
init_tools();
|
|
140822
|
-
|
|
141017
|
+
args337 = {
|
|
140823
141018
|
request: GetCostsRequest$inboundSchema
|
|
140824
141019
|
};
|
|
140825
141020
|
tool$usageCosts = {
|
|
@@ -140827,9 +141022,9 @@ var init_usageCosts2 = __esm(() => {
|
|
|
140827
141022
|
description: `Aggregate cost by dimension
|
|
140828
141023
|
|
|
140829
141024
|
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.`,
|
|
140830
|
-
args:
|
|
140831
|
-
tool: async (client,
|
|
140832
|
-
const [result, apiCall] = await usageCosts(client,
|
|
141025
|
+
args: args337,
|
|
141026
|
+
tool: async (client, args338, ctx) => {
|
|
141027
|
+
const [result, apiCall] = await usageCosts(client, args338.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140833
141028
|
if (!result.ok) {
|
|
140834
141029
|
return {
|
|
140835
141030
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140844,9 +141039,9 @@ Sums stored per-entry cost over [start_time, end_time), grouped by any of servic
|
|
|
140844
141039
|
|
|
140845
141040
|
// src/funcs/usageSandbox.ts
|
|
140846
141041
|
function usageSandbox(client, request, options) {
|
|
140847
|
-
return new APIPromise($
|
|
141042
|
+
return new APIPromise($do347(client, request, options));
|
|
140848
141043
|
}
|
|
140849
|
-
async function $
|
|
141044
|
+
async function $do347(client, request, options) {
|
|
140850
141045
|
const parsed = safeParse4(request, (value) => GetSandboxUsageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
140851
141046
|
if (!parsed.ok) {
|
|
140852
141047
|
return [parsed, { status: "invalid" }];
|
|
@@ -140937,12 +141132,12 @@ var init_usageSandbox = __esm(() => {
|
|
|
140937
141132
|
});
|
|
140938
141133
|
|
|
140939
141134
|
// src/mcp-server/tools/usageSandbox.ts
|
|
140940
|
-
var
|
|
141135
|
+
var args338, tool$usageSandbox;
|
|
140941
141136
|
var init_usageSandbox2 = __esm(() => {
|
|
140942
141137
|
init_usageSandbox();
|
|
140943
141138
|
init_operations();
|
|
140944
141139
|
init_tools();
|
|
140945
|
-
|
|
141140
|
+
args338 = {
|
|
140946
141141
|
request: GetSandboxUsageRequest$inboundSchema
|
|
140947
141142
|
};
|
|
140948
141143
|
tool$usageSandbox = {
|
|
@@ -140950,9 +141145,9 @@ var init_usageSandbox2 = __esm(() => {
|
|
|
140950
141145
|
description: `Get Sandbox Usage
|
|
140951
141146
|
|
|
140952
141147
|
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\`).`,
|
|
140953
|
-
args:
|
|
140954
|
-
tool: async (client,
|
|
140955
|
-
const [result, apiCall] = await usageSandbox(client,
|
|
141148
|
+
args: args338,
|
|
141149
|
+
tool: async (client, args339, ctx) => {
|
|
141150
|
+
const [result, apiCall] = await usageSandbox(client, args339.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
140956
141151
|
if (!result.ok) {
|
|
140957
141152
|
return {
|
|
140958
141153
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -140969,7 +141164,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
140969
141164
|
function createMCPServer(deps) {
|
|
140970
141165
|
const server = new McpServer({
|
|
140971
141166
|
name: "SDK",
|
|
140972
|
-
version: "0.51.
|
|
141167
|
+
version: "0.51.21"
|
|
140973
141168
|
});
|
|
140974
141169
|
const client = new SDKCore({
|
|
140975
141170
|
bearerAuth: deps.bearerAuth,
|
|
@@ -141280,6 +141475,7 @@ function createMCPServer(deps) {
|
|
|
141280
141475
|
tool(tool$servingDatasetsDelete);
|
|
141281
141476
|
tool(tool$servingDatasetsGet);
|
|
141282
141477
|
tool(tool$servingDatasetsCommit);
|
|
141478
|
+
tool(tool$servingDatasetsUploadContent);
|
|
141283
141479
|
tool(tool$servingDeploymentsList);
|
|
141284
141480
|
tool(tool$servingDeploymentsCreate);
|
|
141285
141481
|
tool(tool$servingDeploymentsDelete);
|
|
@@ -141631,6 +141827,7 @@ var init_server2 = __esm(() => {
|
|
|
141631
141827
|
init_servingDatasetsDelete2();
|
|
141632
141828
|
init_servingDatasetsGet2();
|
|
141633
141829
|
init_servingDatasetsList2();
|
|
141830
|
+
init_servingDatasetsUploadContent2();
|
|
141634
141831
|
init_servingDeploymentsCreate2();
|
|
141635
141832
|
init_servingDeploymentsDelete2();
|
|
141636
141833
|
init_servingDeploymentsDeregister2();
|
|
@@ -142859,7 +143056,7 @@ var routes = rn({
|
|
|
142859
143056
|
var app = Ve(routes, {
|
|
142860
143057
|
name: "mcp",
|
|
142861
143058
|
versionInfo: {
|
|
142862
|
-
currentVersion: "0.51.
|
|
143059
|
+
currentVersion: "0.51.21"
|
|
142863
143060
|
}
|
|
142864
143061
|
});
|
|
142865
143062
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -142867,5 +143064,5 @@ export {
|
|
|
142867
143064
|
app
|
|
142868
143065
|
};
|
|
142869
143066
|
|
|
142870
|
-
//# debugId=
|
|
143067
|
+
//# debugId=C27E385DE65864AD64756E2164756E21
|
|
142871
143068
|
//# sourceMappingURL=mcp-server.js.map
|