@meetkai/mka1 0.51.2 → 0.51.3
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/bin/mcp-server.js +140 -23
- package/bin/mcp-server.js.map +22 -19
- package/dist/commonjs/funcs/servingDeploymentsCreate.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsCreate.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsDelete.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsDelete.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsGet.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsGet.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsList.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsList.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsListRevisions.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsListRevisions.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsUpdate.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsUpdate.js.map +1 -1
- package/dist/commonjs/funcs/servingDeploymentsUpdateScaling.js +3 -1
- package/dist/commonjs/funcs/servingDeploymentsUpdateScaling.js.map +1 -1
- package/dist/commonjs/funcs/servingModelsDelete.js +1 -1
- package/dist/commonjs/funcs/servingModelsDelete.js.map +1 -1
- package/dist/commonjs/funcs/servingSecretsDelete.js +1 -1
- package/dist/commonjs/funcs/servingSecretsDelete.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.js +1 -1
- package/dist/commonjs/models/components/deploymentapiformat.d.ts +22 -0
- package/dist/commonjs/models/components/deploymentapiformat.d.ts.map +1 -0
- package/dist/commonjs/models/components/deploymentapiformat.js +56 -0
- package/dist/commonjs/models/components/deploymentapiformat.js.map +1 -0
- package/dist/commonjs/models/components/deploymentcreate.d.ts +26 -5
- package/dist/commonjs/models/components/deploymentcreate.d.ts.map +1 -1
- package/dist/commonjs/models/components/deploymentcreate.js +16 -3
- package/dist/commonjs/models/components/deploymentcreate.js.map +1 -1
- package/dist/commonjs/models/components/deploymentscalingcreate.d.ts +31 -0
- package/dist/commonjs/models/components/deploymentscalingcreate.d.ts.map +1 -0
- package/dist/commonjs/models/components/deploymentscalingcreate.js +83 -0
- package/dist/commonjs/models/components/deploymentscalingcreate.js.map +1 -0
- package/dist/commonjs/models/components/deploymentscalingupdate.d.ts +28 -0
- package/dist/commonjs/models/components/deploymentscalingupdate.d.ts.map +1 -0
- package/dist/commonjs/models/components/deploymentscalingupdate.js +83 -0
- package/dist/commonjs/models/components/deploymentscalingupdate.js.map +1 -0
- package/dist/commonjs/models/components/deploymentupdate.d.ts +7 -0
- package/dist/commonjs/models/components/deploymentupdate.d.ts.map +1 -1
- package/dist/commonjs/models/components/deploymentupdate.js +9 -0
- package/dist/commonjs/models/components/deploymentupdate.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +3 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +3 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/operations/updatescaling.d.ts +2 -2
- package/dist/commonjs/models/operations/updatescaling.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updatescaling.js +4 -4
- package/dist/commonjs/models/operations/updatescaling.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsCreate.js +1 -1
- package/dist/esm/funcs/servingDeploymentsCreate.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsDelete.js +1 -1
- package/dist/esm/funcs/servingDeploymentsDelete.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsGet.js +1 -1
- package/dist/esm/funcs/servingDeploymentsGet.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsList.js +1 -1
- package/dist/esm/funcs/servingDeploymentsList.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsListRevisions.js +1 -1
- package/dist/esm/funcs/servingDeploymentsListRevisions.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsUpdate.js +1 -1
- package/dist/esm/funcs/servingDeploymentsUpdate.js.map +1 -1
- package/dist/esm/funcs/servingDeploymentsUpdateScaling.js +3 -1
- package/dist/esm/funcs/servingDeploymentsUpdateScaling.js.map +1 -1
- package/dist/esm/funcs/servingModelsDelete.js +1 -1
- package/dist/esm/funcs/servingModelsDelete.js.map +1 -1
- package/dist/esm/funcs/servingSecretsDelete.js +1 -1
- package/dist/esm/funcs/servingSecretsDelete.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.js +1 -1
- package/dist/esm/models/components/deploymentapiformat.d.ts +22 -0
- package/dist/esm/models/components/deploymentapiformat.d.ts.map +1 -0
- package/dist/esm/models/components/deploymentapiformat.js +20 -0
- package/dist/esm/models/components/deploymentapiformat.js.map +1 -0
- package/dist/esm/models/components/deploymentcreate.d.ts +26 -5
- package/dist/esm/models/components/deploymentcreate.d.ts.map +1 -1
- package/dist/esm/models/components/deploymentcreate.js +16 -3
- package/dist/esm/models/components/deploymentcreate.js.map +1 -1
- package/dist/esm/models/components/deploymentscalingcreate.d.ts +31 -0
- package/dist/esm/models/components/deploymentscalingcreate.d.ts.map +1 -0
- package/dist/esm/models/components/deploymentscalingcreate.js +45 -0
- package/dist/esm/models/components/deploymentscalingcreate.js.map +1 -0
- package/dist/esm/models/components/deploymentscalingupdate.d.ts +28 -0
- package/dist/esm/models/components/deploymentscalingupdate.d.ts.map +1 -0
- package/dist/esm/models/components/deploymentscalingupdate.js +45 -0
- package/dist/esm/models/components/deploymentscalingupdate.js.map +1 -0
- package/dist/esm/models/components/deploymentupdate.d.ts +7 -0
- package/dist/esm/models/components/deploymentupdate.d.ts.map +1 -1
- package/dist/esm/models/components/deploymentupdate.js +9 -0
- package/dist/esm/models/components/deploymentupdate.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +3 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +3 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/operations/updatescaling.d.ts +2 -2
- package/dist/esm/models/operations/updatescaling.d.ts.map +1 -1
- package/dist/esm/models/operations/updatescaling.js +4 -4
- package/dist/esm/models/operations/updatescaling.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/servingDeploymentsCreate.ts +3 -2
- package/src/funcs/servingDeploymentsDelete.ts +3 -2
- package/src/funcs/servingDeploymentsGet.ts +3 -2
- package/src/funcs/servingDeploymentsList.ts +3 -2
- package/src/funcs/servingDeploymentsListRevisions.ts +3 -2
- package/src/funcs/servingDeploymentsUpdate.ts +3 -2
- package/src/funcs/servingDeploymentsUpdateScaling.ts +3 -1
- package/src/funcs/servingModelsDelete.ts +1 -1
- package/src/funcs/servingSecretsDelete.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/deploymentapiformat.ts +31 -0
- package/src/models/components/deploymentcreate.ts +49 -12
- package/src/models/components/deploymentscalingcreate.ts +90 -0
- package/src/models/components/deploymentscalingupdate.ts +87 -0
- package/src/models/components/deploymentupdate.ts +19 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/operations/updatescaling.ts +6 -6
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.3",
|
|
52880
52880
|
genVersion: "2.918.4",
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.51.
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.51.3 2.918.4 1.1.0 @meetkai/mka1"
|
|
52882
52882
|
};
|
|
52883
52883
|
});
|
|
52884
52884
|
|
|
@@ -63485,6 +63485,59 @@ var init_deployment = __esm(() => {
|
|
|
63485
63485
|
});
|
|
63486
63486
|
});
|
|
63487
63487
|
|
|
63488
|
+
// src/models/components/deploymentapiformat.ts
|
|
63489
|
+
var DeploymentAPIFormat, DeploymentAPIFormat$inboundSchema, DeploymentAPIFormat$outboundSchema;
|
|
63490
|
+
var init_deploymentapiformat = __esm(() => {
|
|
63491
|
+
init_esm();
|
|
63492
|
+
DeploymentAPIFormat = {
|
|
63493
|
+
Responses: "responses",
|
|
63494
|
+
Completions: "completions",
|
|
63495
|
+
Embeddings: "embeddings",
|
|
63496
|
+
Images: "images",
|
|
63497
|
+
Transcriptions: "transcriptions",
|
|
63498
|
+
Tts: "tts"
|
|
63499
|
+
};
|
|
63500
|
+
DeploymentAPIFormat$inboundSchema = nativeEnumType(DeploymentAPIFormat);
|
|
63501
|
+
DeploymentAPIFormat$outboundSchema = DeploymentAPIFormat$inboundSchema;
|
|
63502
|
+
});
|
|
63503
|
+
|
|
63504
|
+
// src/models/components/deploymentscalingcreate.ts
|
|
63505
|
+
var DeploymentScalingCreate$inboundSchema, DeploymentScalingCreate$outboundSchema;
|
|
63506
|
+
var init_deploymentscalingcreate = __esm(() => {
|
|
63507
|
+
init_esm();
|
|
63508
|
+
init_primitives();
|
|
63509
|
+
DeploymentScalingCreate$inboundSchema = objectType({
|
|
63510
|
+
buffer_containers: numberType().int().default(0),
|
|
63511
|
+
max_concurrent_inputs: numberType().int().default(100),
|
|
63512
|
+
max_containers: numberType().int().default(1),
|
|
63513
|
+
min_containers: numberType().int().default(1),
|
|
63514
|
+
scaledown_window_s: numberType().int().default(300)
|
|
63515
|
+
}).transform((v2) => {
|
|
63516
|
+
return remap(v2, {
|
|
63517
|
+
buffer_containers: "bufferContainers",
|
|
63518
|
+
max_concurrent_inputs: "maxConcurrentInputs",
|
|
63519
|
+
max_containers: "maxContainers",
|
|
63520
|
+
min_containers: "minContainers",
|
|
63521
|
+
scaledown_window_s: "scaledownWindowS"
|
|
63522
|
+
});
|
|
63523
|
+
});
|
|
63524
|
+
DeploymentScalingCreate$outboundSchema = objectType({
|
|
63525
|
+
bufferContainers: numberType().int().default(0),
|
|
63526
|
+
maxConcurrentInputs: numberType().int().default(100),
|
|
63527
|
+
maxContainers: numberType().int().default(1),
|
|
63528
|
+
minContainers: numberType().int().default(1),
|
|
63529
|
+
scaledownWindowS: numberType().int().default(300)
|
|
63530
|
+
}).transform((v2) => {
|
|
63531
|
+
return remap(v2, {
|
|
63532
|
+
bufferContainers: "buffer_containers",
|
|
63533
|
+
maxConcurrentInputs: "max_concurrent_inputs",
|
|
63534
|
+
maxContainers: "max_containers",
|
|
63535
|
+
minContainers: "min_containers",
|
|
63536
|
+
scaledownWindowS: "scaledown_window_s"
|
|
63537
|
+
});
|
|
63538
|
+
});
|
|
63539
|
+
});
|
|
63540
|
+
|
|
63488
63541
|
// src/models/components/deploystrategy.ts
|
|
63489
63542
|
var DeployStrategy, DeployStrategy$inboundSchema, DeployStrategy$outboundSchema;
|
|
63490
63543
|
var init_deploystrategy = __esm(() => {
|
|
@@ -63503,43 +63556,56 @@ var init_deploymentcreate = __esm(() => {
|
|
|
63503
63556
|
init_esm();
|
|
63504
63557
|
init_primitives();
|
|
63505
63558
|
init_acceleratorspec();
|
|
63559
|
+
init_deploymentapiformat();
|
|
63560
|
+
init_deploymentscalingcreate();
|
|
63506
63561
|
init_deploystrategy();
|
|
63507
63562
|
init_engine();
|
|
63508
|
-
init_scaling();
|
|
63509
63563
|
DeploymentCreate$inboundSchema = objectType({
|
|
63510
63564
|
accelerator: AcceleratorSpec$inboundSchema,
|
|
63565
|
+
api_format: DeploymentAPIFormat$inboundSchema.optional(),
|
|
63511
63566
|
endpoint_auth: booleanType().default(true),
|
|
63512
63567
|
engine: Engine$inboundSchema.optional(),
|
|
63513
63568
|
engine_args: arrayType(stringType()).optional(),
|
|
63514
63569
|
image: nullableType(stringType()).optional(),
|
|
63570
|
+
max_usd_hr: numberType(),
|
|
63515
63571
|
model: stringType(),
|
|
63516
63572
|
name: stringType(),
|
|
63517
|
-
|
|
63573
|
+
port: numberType().int().optional(),
|
|
63574
|
+
runtime: stringType().optional(),
|
|
63575
|
+
scaling: DeploymentScalingCreate$inboundSchema.optional(),
|
|
63518
63576
|
secrets: arrayType(stringType()).optional(),
|
|
63519
63577
|
strategy: DeployStrategy$inboundSchema.optional(),
|
|
63520
63578
|
volume: nullableType(stringType()).optional()
|
|
63521
63579
|
}).transform((v2) => {
|
|
63522
63580
|
return remap(v2, {
|
|
63581
|
+
api_format: "apiFormat",
|
|
63523
63582
|
endpoint_auth: "endpointAuth",
|
|
63524
|
-
engine_args: "engineArgs"
|
|
63583
|
+
engine_args: "engineArgs",
|
|
63584
|
+
max_usd_hr: "maxUsdHr"
|
|
63525
63585
|
});
|
|
63526
63586
|
});
|
|
63527
63587
|
DeploymentCreate$outboundSchema = objectType({
|
|
63528
63588
|
accelerator: AcceleratorSpec$outboundSchema,
|
|
63589
|
+
apiFormat: DeploymentAPIFormat$outboundSchema.optional(),
|
|
63529
63590
|
endpointAuth: booleanType().default(true),
|
|
63530
63591
|
engine: Engine$outboundSchema.optional(),
|
|
63531
63592
|
engineArgs: arrayType(stringType()).optional(),
|
|
63532
63593
|
image: nullableType(stringType()).optional(),
|
|
63594
|
+
maxUsdHr: numberType(),
|
|
63533
63595
|
model: stringType(),
|
|
63534
63596
|
name: stringType(),
|
|
63535
|
-
|
|
63597
|
+
port: numberType().int().optional(),
|
|
63598
|
+
runtime: stringType().optional(),
|
|
63599
|
+
scaling: DeploymentScalingCreate$outboundSchema.optional(),
|
|
63536
63600
|
secrets: arrayType(stringType()).optional(),
|
|
63537
63601
|
strategy: DeployStrategy$outboundSchema.optional(),
|
|
63538
63602
|
volume: nullableType(stringType()).optional()
|
|
63539
63603
|
}).transform((v2) => {
|
|
63540
63604
|
return remap(v2, {
|
|
63605
|
+
apiFormat: "api_format",
|
|
63541
63606
|
endpointAuth: "endpoint_auth",
|
|
63542
|
-
engineArgs: "engine_args"
|
|
63607
|
+
engineArgs: "engine_args",
|
|
63608
|
+
maxUsdHr: "max_usd_hr"
|
|
63543
63609
|
});
|
|
63544
63610
|
});
|
|
63545
63611
|
});
|
|
@@ -63559,31 +63625,77 @@ var init_deploymentrollbackrequest = __esm(() => {
|
|
|
63559
63625
|
});
|
|
63560
63626
|
});
|
|
63561
63627
|
|
|
63628
|
+
// src/models/components/deploymentscalingupdate.ts
|
|
63629
|
+
var DeploymentScalingUpdate$inboundSchema, DeploymentScalingUpdate$outboundSchema;
|
|
63630
|
+
var init_deploymentscalingupdate = __esm(() => {
|
|
63631
|
+
init_esm();
|
|
63632
|
+
init_primitives();
|
|
63633
|
+
DeploymentScalingUpdate$inboundSchema = objectType({
|
|
63634
|
+
buffer_containers: numberType().int().optional(),
|
|
63635
|
+
max_concurrent_inputs: numberType().int().optional(),
|
|
63636
|
+
max_containers: numberType().int().optional(),
|
|
63637
|
+
min_containers: numberType().int().optional(),
|
|
63638
|
+
scaledown_window_s: numberType().int().optional()
|
|
63639
|
+
}).transform((v2) => {
|
|
63640
|
+
return remap(v2, {
|
|
63641
|
+
buffer_containers: "bufferContainers",
|
|
63642
|
+
max_concurrent_inputs: "maxConcurrentInputs",
|
|
63643
|
+
max_containers: "maxContainers",
|
|
63644
|
+
min_containers: "minContainers",
|
|
63645
|
+
scaledown_window_s: "scaledownWindowS"
|
|
63646
|
+
});
|
|
63647
|
+
});
|
|
63648
|
+
DeploymentScalingUpdate$outboundSchema = objectType({
|
|
63649
|
+
bufferContainers: numberType().int().optional(),
|
|
63650
|
+
maxConcurrentInputs: numberType().int().optional(),
|
|
63651
|
+
maxContainers: numberType().int().optional(),
|
|
63652
|
+
minContainers: numberType().int().optional(),
|
|
63653
|
+
scaledownWindowS: numberType().int().optional()
|
|
63654
|
+
}).transform((v2) => {
|
|
63655
|
+
return remap(v2, {
|
|
63656
|
+
bufferContainers: "buffer_containers",
|
|
63657
|
+
maxConcurrentInputs: "max_concurrent_inputs",
|
|
63658
|
+
maxContainers: "max_containers",
|
|
63659
|
+
minContainers: "min_containers",
|
|
63660
|
+
scaledownWindowS: "scaledown_window_s"
|
|
63661
|
+
});
|
|
63662
|
+
});
|
|
63663
|
+
});
|
|
63664
|
+
|
|
63562
63665
|
// src/models/components/deploymentupdate.ts
|
|
63563
63666
|
var DeploymentUpdate$inboundSchema, DeploymentUpdate$outboundSchema;
|
|
63564
63667
|
var init_deploymentupdate = __esm(() => {
|
|
63565
63668
|
init_esm();
|
|
63566
63669
|
init_primitives();
|
|
63670
|
+
init_deploymentapiformat();
|
|
63567
63671
|
init_deploystrategy();
|
|
63568
63672
|
DeploymentUpdate$inboundSchema = objectType({
|
|
63673
|
+
api_format: nullableType(DeploymentAPIFormat$inboundSchema).optional(),
|
|
63569
63674
|
engine_args: nullableType(arrayType(stringType())).optional(),
|
|
63570
63675
|
image: nullableType(stringType()).optional(),
|
|
63571
63676
|
model: nullableType(stringType()).optional(),
|
|
63677
|
+
port: nullableType(numberType().int()).optional(),
|
|
63678
|
+
runtime: nullableType(stringType()).optional(),
|
|
63572
63679
|
secrets: nullableType(arrayType(stringType())).optional(),
|
|
63573
63680
|
strategy: DeployStrategy$inboundSchema.optional()
|
|
63574
63681
|
}).transform((v2) => {
|
|
63575
63682
|
return remap(v2, {
|
|
63683
|
+
api_format: "apiFormat",
|
|
63576
63684
|
engine_args: "engineArgs"
|
|
63577
63685
|
});
|
|
63578
63686
|
});
|
|
63579
63687
|
DeploymentUpdate$outboundSchema = objectType({
|
|
63688
|
+
apiFormat: nullableType(DeploymentAPIFormat$outboundSchema).optional(),
|
|
63580
63689
|
engineArgs: nullableType(arrayType(stringType())).optional(),
|
|
63581
63690
|
image: nullableType(stringType()).optional(),
|
|
63582
63691
|
model: nullableType(stringType()).optional(),
|
|
63692
|
+
port: nullableType(numberType().int()).optional(),
|
|
63693
|
+
runtime: nullableType(stringType()).optional(),
|
|
63583
63694
|
secrets: nullableType(arrayType(stringType())).optional(),
|
|
63584
63695
|
strategy: DeployStrategy$outboundSchema.optional()
|
|
63585
63696
|
}).transform((v2) => {
|
|
63586
63697
|
return remap(v2, {
|
|
63698
|
+
apiFormat: "api_format",
|
|
63587
63699
|
engineArgs: "engine_args"
|
|
63588
63700
|
});
|
|
63589
63701
|
});
|
|
@@ -76620,9 +76732,12 @@ var init_components = __esm(() => {
|
|
|
76620
76732
|
init_deletepromptresponse();
|
|
76621
76733
|
init_deleteresponseobject();
|
|
76622
76734
|
init_deployment();
|
|
76735
|
+
init_deploymentapiformat();
|
|
76623
76736
|
init_deploymentcreate();
|
|
76624
76737
|
init_deploymentendpoint();
|
|
76625
76738
|
init_deploymentrollbackrequest();
|
|
76739
|
+
init_deploymentscalingcreate();
|
|
76740
|
+
init_deploymentscalingupdate();
|
|
76626
76741
|
init_deploymentupdate();
|
|
76627
76742
|
init_deploystrategy();
|
|
76628
76743
|
init_doubleclickaction();
|
|
@@ -97490,23 +97605,23 @@ var init_updatescaling = __esm(() => {
|
|
|
97490
97605
|
UpdateScalingRequest$inboundSchema = objectType({
|
|
97491
97606
|
deployment_id: stringType(),
|
|
97492
97607
|
"X-On-Behalf-Of": stringType().optional(),
|
|
97493
|
-
|
|
97608
|
+
DeploymentScalingUpdate: DeploymentScalingUpdate$inboundSchema
|
|
97494
97609
|
}).transform((v2) => {
|
|
97495
97610
|
return remap(v2, {
|
|
97496
97611
|
deployment_id: "deploymentId",
|
|
97497
97612
|
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
97498
|
-
|
|
97613
|
+
DeploymentScalingUpdate: "deploymentScalingUpdate"
|
|
97499
97614
|
});
|
|
97500
97615
|
});
|
|
97501
97616
|
UpdateScalingRequest$outboundSchema = objectType({
|
|
97502
97617
|
deploymentId: stringType(),
|
|
97503
97618
|
xOnBehalfOf: stringType().optional(),
|
|
97504
|
-
|
|
97619
|
+
deploymentScalingUpdate: DeploymentScalingUpdate$outboundSchema
|
|
97505
97620
|
}).transform((v2) => {
|
|
97506
97621
|
return remap(v2, {
|
|
97507
97622
|
deploymentId: "deployment_id",
|
|
97508
97623
|
xOnBehalfOf: "X-On-Behalf-Of",
|
|
97509
|
-
|
|
97624
|
+
deploymentScalingUpdate: "DeploymentScalingUpdate"
|
|
97510
97625
|
});
|
|
97511
97626
|
});
|
|
97512
97627
|
});
|
|
@@ -132106,7 +132221,7 @@ async function $do287(client, request, options) {
|
|
|
132106
132221
|
const responseFields = {
|
|
132107
132222
|
HttpMeta: { Response: response, Request: req }
|
|
132108
132223
|
};
|
|
132109
|
-
const [result] = await match(json(201, Deployment$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
132224
|
+
const [result] = await match(json(201, Deployment$inboundSchema), jsonErr([401, 403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
132110
132225
|
if (!result.ok) {
|
|
132111
132226
|
return [result, { status: "complete", request: req, response }];
|
|
132112
132227
|
}
|
|
@@ -132226,7 +132341,7 @@ async function $do288(client, request, options) {
|
|
|
132226
132341
|
const responseFields = {
|
|
132227
132342
|
HttpMeta: { Response: response, Request: req }
|
|
132228
132343
|
};
|
|
132229
|
-
const [result] = await match(nil(204, voidType()), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
132344
|
+
const [result] = await match(nil(204, voidType()), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
132230
132345
|
if (!result.ok) {
|
|
132231
132346
|
return [result, { status: "complete", request: req, response }];
|
|
132232
132347
|
}
|
|
@@ -132464,7 +132579,7 @@ async function $do290(client, request, options) {
|
|
|
132464
132579
|
const responseFields = {
|
|
132465
132580
|
HttpMeta: { Response: response, Request: req }
|
|
132466
132581
|
};
|
|
132467
|
-
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
132582
|
+
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
132468
132583
|
if (!result.ok) {
|
|
132469
132584
|
return [result, { status: "complete", request: req, response }];
|
|
132470
132585
|
}
|
|
@@ -132828,7 +132943,7 @@ async function $do293(client, request, options) {
|
|
|
132828
132943
|
const responseFields = {
|
|
132829
132944
|
HttpMeta: { Response: response, Request: req }
|
|
132830
132945
|
};
|
|
132831
|
-
const [result] = await match(json(200, PageDeployment$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
132946
|
+
const [result] = await match(json(200, PageDeployment$inboundSchema), jsonErr([401, 403], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
132832
132947
|
if (!result.ok) {
|
|
132833
132948
|
return [result, { status: "complete", request: req, response }];
|
|
132834
132949
|
}
|
|
@@ -133068,7 +133183,7 @@ async function $do295(client, request, options) {
|
|
|
133068
133183
|
const responseFields = {
|
|
133069
133184
|
HttpMeta: { Response: response, Request: req }
|
|
133070
133185
|
};
|
|
133071
|
-
const [result] = await match(json(200, PageRevision$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
133186
|
+
const [result] = await match(json(200, PageRevision$inboundSchema), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
133072
133187
|
if (!result.ok) {
|
|
133073
133188
|
return [result, { status: "complete", request: req, response }];
|
|
133074
133189
|
}
|
|
@@ -133432,7 +133547,7 @@ async function $do298(client, request, options) {
|
|
|
133432
133547
|
const responseFields = {
|
|
133433
133548
|
HttpMeta: { Response: response, Request: req }
|
|
133434
133549
|
};
|
|
133435
|
-
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
133550
|
+
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([401, 403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
133436
133551
|
if (!result.ok) {
|
|
133437
133552
|
return [result, { status: "complete", request: req, response }];
|
|
133438
133553
|
}
|
|
@@ -133491,7 +133606,9 @@ async function $do299(client, request, options) {
|
|
|
133491
133606
|
return [parsed, { status: "invalid" }];
|
|
133492
133607
|
}
|
|
133493
133608
|
const payload = parsed.value;
|
|
133494
|
-
const body = encodeJSON("body", payload.
|
|
133609
|
+
const body = encodeJSON("body", payload.DeploymentScalingUpdate, {
|
|
133610
|
+
explode: true
|
|
133611
|
+
});
|
|
133495
133612
|
const pathParams = {
|
|
133496
133613
|
deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
|
|
133497
133614
|
explode: false,
|
|
@@ -134990,7 +135107,7 @@ async function $do311(client, request, options) {
|
|
|
134990
135107
|
const responseFields = {
|
|
134991
135108
|
HttpMeta: { Response: response, Request: req }
|
|
134992
135109
|
};
|
|
134993
|
-
const [result] = await match(nil(204, voidType()), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135110
|
+
const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
134994
135111
|
if (!result.ok) {
|
|
134995
135112
|
return [result, { status: "complete", request: req, response }];
|
|
134996
135113
|
}
|
|
@@ -135578,7 +135695,7 @@ async function $do316(client, request, options) {
|
|
|
135578
135695
|
const responseFields = {
|
|
135579
135696
|
HttpMeta: { Response: response, Request: req }
|
|
135580
135697
|
};
|
|
135581
|
-
const [result] = await match(nil(204, voidType()), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135698
|
+
const [result] = await match(nil(204, voidType()), jsonErr([403, 404, 409], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
135582
135699
|
if (!result.ok) {
|
|
135583
135700
|
return [result, { status: "complete", request: req, response }];
|
|
135584
135701
|
}
|
|
@@ -136820,7 +136937,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
136820
136937
|
function createMCPServer(deps) {
|
|
136821
136938
|
const server = new McpServer({
|
|
136822
136939
|
name: "SDK",
|
|
136823
|
-
version: "0.51.
|
|
136940
|
+
version: "0.51.3"
|
|
136824
136941
|
});
|
|
136825
136942
|
const client = new SDKCore({
|
|
136826
136943
|
bearerAuth: deps.bearerAuth,
|
|
@@ -138670,7 +138787,7 @@ var routes = rn({
|
|
|
138670
138787
|
var app = Ve(routes, {
|
|
138671
138788
|
name: "mcp",
|
|
138672
138789
|
versionInfo: {
|
|
138673
|
-
currentVersion: "0.51.
|
|
138790
|
+
currentVersion: "0.51.3"
|
|
138674
138791
|
}
|
|
138675
138792
|
});
|
|
138676
138793
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -138678,5 +138795,5 @@ export {
|
|
|
138678
138795
|
app
|
|
138679
138796
|
};
|
|
138680
138797
|
|
|
138681
|
-
//# debugId=
|
|
138798
|
+
//# debugId=1F3708FAE904E9AA64756E2164756E21
|
|
138682
138799
|
//# sourceMappingURL=mcp-server.js.map
|