@meetkai/mka1 0.51.2 → 0.51.4
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 +150 -25
- package/bin/mcp-server.js.map +24 -21
- 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/servingDeploymentsListReplicas.js +1 -1
- package/dist/commonjs/funcs/servingDeploymentsListReplicas.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 +4 -2
- 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/components/replica.d.ts +9 -0
- package/dist/commonjs/models/components/replica.d.ts.map +1 -1
- package/dist/commonjs/models/components/replica.js +8 -0
- package/dist/commonjs/models/components/replica.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/servingDeploymentsListReplicas.js +1 -1
- package/dist/esm/funcs/servingDeploymentsListReplicas.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 +4 -2
- 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/components/replica.d.ts +9 -0
- package/dist/esm/models/components/replica.d.ts.map +1 -1
- package/dist/esm/models/components/replica.js +8 -0
- package/dist/esm/models/components/replica.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/servingDeploymentsListReplicas.ts +1 -0
- package/src/funcs/servingDeploymentsListRevisions.ts +3 -2
- package/src/funcs/servingDeploymentsUpdate.ts +3 -2
- package/src/funcs/servingDeploymentsUpdateScaling.ts +4 -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/components/replica.ts +17 -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.4",
|
|
52880
52880
|
genVersion: "2.918.4",
|
|
52881
|
-
userAgent: "speakeasy-sdk/typescript 0.51.
|
|
52881
|
+
userAgent: "speakeasy-sdk/typescript 0.51.4 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
|
});
|
|
@@ -69773,10 +69885,14 @@ var init_replica = __esm(() => {
|
|
|
69773
69885
|
accelerator: AcceleratorSpec$inboundSchema,
|
|
69774
69886
|
id: stringType(),
|
|
69775
69887
|
node: nullableType(stringType()).optional(),
|
|
69888
|
+
price_usd_hr: numberType().optional(),
|
|
69889
|
+
provider: stringType().optional(),
|
|
69890
|
+
region: stringType().optional(),
|
|
69776
69891
|
started_at: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
69777
69892
|
status: stringType()
|
|
69778
69893
|
}).transform((v2) => {
|
|
69779
69894
|
return remap(v2, {
|
|
69895
|
+
price_usd_hr: "priceUsdHr",
|
|
69780
69896
|
started_at: "startedAt"
|
|
69781
69897
|
});
|
|
69782
69898
|
});
|
|
@@ -69784,10 +69900,14 @@ var init_replica = __esm(() => {
|
|
|
69784
69900
|
accelerator: AcceleratorSpec$outboundSchema,
|
|
69785
69901
|
id: stringType(),
|
|
69786
69902
|
node: nullableType(stringType()).optional(),
|
|
69903
|
+
priceUsdHr: numberType().optional(),
|
|
69904
|
+
provider: stringType().optional(),
|
|
69905
|
+
region: stringType().optional(),
|
|
69787
69906
|
startedAt: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
69788
69907
|
status: stringType()
|
|
69789
69908
|
}).transform((v2) => {
|
|
69790
69909
|
return remap(v2, {
|
|
69910
|
+
priceUsdHr: "price_usd_hr",
|
|
69791
69911
|
startedAt: "started_at"
|
|
69792
69912
|
});
|
|
69793
69913
|
});
|
|
@@ -76620,9 +76740,12 @@ var init_components = __esm(() => {
|
|
|
76620
76740
|
init_deletepromptresponse();
|
|
76621
76741
|
init_deleteresponseobject();
|
|
76622
76742
|
init_deployment();
|
|
76743
|
+
init_deploymentapiformat();
|
|
76623
76744
|
init_deploymentcreate();
|
|
76624
76745
|
init_deploymentendpoint();
|
|
76625
76746
|
init_deploymentrollbackrequest();
|
|
76747
|
+
init_deploymentscalingcreate();
|
|
76748
|
+
init_deploymentscalingupdate();
|
|
76626
76749
|
init_deploymentupdate();
|
|
76627
76750
|
init_deploystrategy();
|
|
76628
76751
|
init_doubleclickaction();
|
|
@@ -97490,23 +97613,23 @@ var init_updatescaling = __esm(() => {
|
|
|
97490
97613
|
UpdateScalingRequest$inboundSchema = objectType({
|
|
97491
97614
|
deployment_id: stringType(),
|
|
97492
97615
|
"X-On-Behalf-Of": stringType().optional(),
|
|
97493
|
-
|
|
97616
|
+
DeploymentScalingUpdate: DeploymentScalingUpdate$inboundSchema
|
|
97494
97617
|
}).transform((v2) => {
|
|
97495
97618
|
return remap(v2, {
|
|
97496
97619
|
deployment_id: "deploymentId",
|
|
97497
97620
|
"X-On-Behalf-Of": "xOnBehalfOf",
|
|
97498
|
-
|
|
97621
|
+
DeploymentScalingUpdate: "deploymentScalingUpdate"
|
|
97499
97622
|
});
|
|
97500
97623
|
});
|
|
97501
97624
|
UpdateScalingRequest$outboundSchema = objectType({
|
|
97502
97625
|
deploymentId: stringType(),
|
|
97503
97626
|
xOnBehalfOf: stringType().optional(),
|
|
97504
|
-
|
|
97627
|
+
deploymentScalingUpdate: DeploymentScalingUpdate$outboundSchema
|
|
97505
97628
|
}).transform((v2) => {
|
|
97506
97629
|
return remap(v2, {
|
|
97507
97630
|
deploymentId: "deployment_id",
|
|
97508
97631
|
xOnBehalfOf: "X-On-Behalf-Of",
|
|
97509
|
-
|
|
97632
|
+
deploymentScalingUpdate: "DeploymentScalingUpdate"
|
|
97510
97633
|
});
|
|
97511
97634
|
});
|
|
97512
97635
|
});
|
|
@@ -132106,7 +132229,7 @@ async function $do287(client, request, options) {
|
|
|
132106
132229
|
const responseFields = {
|
|
132107
132230
|
HttpMeta: { Response: response, Request: req }
|
|
132108
132231
|
};
|
|
132109
|
-
const [result] = await match(json(201, Deployment$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
132232
|
+
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
132233
|
if (!result.ok) {
|
|
132111
132234
|
return [result, { status: "complete", request: req, response }];
|
|
132112
132235
|
}
|
|
@@ -132226,7 +132349,7 @@ async function $do288(client, request, options) {
|
|
|
132226
132349
|
const responseFields = {
|
|
132227
132350
|
HttpMeta: { Response: response, Request: req }
|
|
132228
132351
|
};
|
|
132229
|
-
const [result] = await match(nil(204, voidType()), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
132352
|
+
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
132353
|
if (!result.ok) {
|
|
132231
132354
|
return [result, { status: "complete", request: req, response }];
|
|
132232
132355
|
}
|
|
@@ -132464,7 +132587,7 @@ async function $do290(client, request, options) {
|
|
|
132464
132587
|
const responseFields = {
|
|
132465
132588
|
HttpMeta: { Response: response, Request: req }
|
|
132466
132589
|
};
|
|
132467
|
-
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
132590
|
+
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
132591
|
if (!result.ok) {
|
|
132469
132592
|
return [result, { status: "complete", request: req, response }];
|
|
132470
132593
|
}
|
|
@@ -132828,7 +132951,7 @@ async function $do293(client, request, options) {
|
|
|
132828
132951
|
const responseFields = {
|
|
132829
132952
|
HttpMeta: { Response: response, Request: req }
|
|
132830
132953
|
};
|
|
132831
|
-
const [result] = await match(json(200, PageDeployment$inboundSchema), jsonErr(403, ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
132954
|
+
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
132955
|
if (!result.ok) {
|
|
132833
132956
|
return [result, { status: "complete", request: req, response }];
|
|
132834
132957
|
}
|
|
@@ -132948,7 +133071,7 @@ async function $do294(client, request, options) {
|
|
|
132948
133071
|
const responseFields = {
|
|
132949
133072
|
HttpMeta: { Response: response, Request: req }
|
|
132950
133073
|
};
|
|
132951
|
-
const [result] = await match(json(200, PageReplica$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
133074
|
+
const [result] = await match(json(200, PageReplica$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
132952
133075
|
if (!result.ok) {
|
|
132953
133076
|
return [result, { status: "complete", request: req, response }];
|
|
132954
133077
|
}
|
|
@@ -133068,7 +133191,7 @@ async function $do295(client, request, options) {
|
|
|
133068
133191
|
const responseFields = {
|
|
133069
133192
|
HttpMeta: { Response: response, Request: req }
|
|
133070
133193
|
};
|
|
133071
|
-
const [result] = await match(json(200, PageRevision$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
133194
|
+
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
133195
|
if (!result.ok) {
|
|
133073
133196
|
return [result, { status: "complete", request: req, response }];
|
|
133074
133197
|
}
|
|
@@ -133432,7 +133555,7 @@ async function $do298(client, request, options) {
|
|
|
133432
133555
|
const responseFields = {
|
|
133433
133556
|
HttpMeta: { Response: response, Request: req }
|
|
133434
133557
|
};
|
|
133435
|
-
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema),
|
|
133558
|
+
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
133559
|
if (!result.ok) {
|
|
133437
133560
|
return [result, { status: "complete", request: req, response }];
|
|
133438
133561
|
}
|
|
@@ -133491,7 +133614,9 @@ async function $do299(client, request, options) {
|
|
|
133491
133614
|
return [parsed, { status: "invalid" }];
|
|
133492
133615
|
}
|
|
133493
133616
|
const payload = parsed.value;
|
|
133494
|
-
const body = encodeJSON("body", payload.
|
|
133617
|
+
const body = encodeJSON("body", payload.DeploymentScalingUpdate, {
|
|
133618
|
+
explode: true
|
|
133619
|
+
});
|
|
133495
133620
|
const pathParams = {
|
|
133496
133621
|
deployment_id: encodeSimple("deployment_id", payload.deployment_id, {
|
|
133497
133622
|
explode: false,
|
|
@@ -133553,7 +133678,7 @@ async function $do299(client, request, options) {
|
|
|
133553
133678
|
const responseFields = {
|
|
133554
133679
|
HttpMeta: { Response: response, Request: req }
|
|
133555
133680
|
};
|
|
133556
|
-
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
133681
|
+
const [result] = await match(json(200, Deployment$inboundSchema), jsonErr([403, 404], ServingError$inboundSchema), jsonErr(422, ServingHTTPValidationError$inboundSchema), jsonErr([500, 503], ServingError$inboundSchema), fail([401, "4XX"]), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
133557
133682
|
if (!result.ok) {
|
|
133558
133683
|
return [result, { status: "complete", request: req, response }];
|
|
133559
133684
|
}
|
|
@@ -134990,7 +135115,7 @@ async function $do311(client, request, options) {
|
|
|
134990
135115
|
const responseFields = {
|
|
134991
135116
|
HttpMeta: { Response: response, Request: req }
|
|
134992
135117
|
};
|
|
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 });
|
|
135118
|
+
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
135119
|
if (!result.ok) {
|
|
134995
135120
|
return [result, { status: "complete", request: req, response }];
|
|
134996
135121
|
}
|
|
@@ -135578,7 +135703,7 @@ async function $do316(client, request, options) {
|
|
|
135578
135703
|
const responseFields = {
|
|
135579
135704
|
HttpMeta: { Response: response, Request: req }
|
|
135580
135705
|
};
|
|
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 });
|
|
135706
|
+
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
135707
|
if (!result.ok) {
|
|
135583
135708
|
return [result, { status: "complete", request: req, response }];
|
|
135584
135709
|
}
|
|
@@ -136820,7 +136945,7 @@ Aggregate sandbox usage (session lifecycle, execution, and workspace operations)
|
|
|
136820
136945
|
function createMCPServer(deps) {
|
|
136821
136946
|
const server = new McpServer({
|
|
136822
136947
|
name: "SDK",
|
|
136823
|
-
version: "0.51.
|
|
136948
|
+
version: "0.51.4"
|
|
136824
136949
|
});
|
|
136825
136950
|
const client = new SDKCore({
|
|
136826
136951
|
bearerAuth: deps.bearerAuth,
|
|
@@ -138670,7 +138795,7 @@ var routes = rn({
|
|
|
138670
138795
|
var app = Ve(routes, {
|
|
138671
138796
|
name: "mcp",
|
|
138672
138797
|
versionInfo: {
|
|
138673
|
-
currentVersion: "0.51.
|
|
138798
|
+
currentVersion: "0.51.4"
|
|
138674
138799
|
}
|
|
138675
138800
|
});
|
|
138676
138801
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -138678,5 +138803,5 @@ export {
|
|
|
138678
138803
|
app
|
|
138679
138804
|
};
|
|
138680
138805
|
|
|
138681
|
-
//# debugId=
|
|
138806
|
+
//# debugId=36215D66E4D033FC64756E2164756E21
|
|
138682
138807
|
//# sourceMappingURL=mcp-server.js.map
|