@meetkai/mka1 0.53.10 → 0.53.11
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 +48 -20
- package/bin/mcp-server.js.map +7 -7
- 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/computeaccelerator.d.ts +68 -8
- package/dist/commonjs/models/components/computeaccelerator.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeaccelerator.js +49 -9
- package/dist/commonjs/models/components/computeaccelerator.js.map +1 -1
- package/dist/commonjs/models/components/computerequest.d.ts +8 -0
- package/dist/commonjs/models/components/computerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/computerequest.js +4 -0
- package/dist/commonjs/models/components/computerequest.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/computeaccelerator.d.ts +68 -8
- package/dist/esm/models/components/computeaccelerator.d.ts.map +1 -1
- package/dist/esm/models/components/computeaccelerator.js +46 -8
- package/dist/esm/models/components/computeaccelerator.js.map +1 -1
- package/dist/esm/models/components/computerequest.d.ts +8 -0
- package/dist/esm/models/components/computerequest.d.ts.map +1 -1
- package/dist/esm/models/components/computerequest.js +4 -0
- package/dist/esm/models/components/computerequest.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +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/computeaccelerator.ts +114 -16
- package/src/models/components/computerequest.ts +12 -0
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.53.
|
|
34
|
+
readonly sdkVersion: "0.53.11";
|
|
35
35
|
readonly genVersion: "2.928.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.53.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.53.11 2.928.0 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -35,8 +35,8 @@ function serverURLFromOptions(options) {
|
|
|
35
35
|
exports.SDK_METADATA = {
|
|
36
36
|
language: "typescript",
|
|
37
37
|
openapiDocVersion: "1.1.0",
|
|
38
|
-
sdkVersion: "0.53.
|
|
38
|
+
sdkVersion: "0.53.11",
|
|
39
39
|
genVersion: "2.928.0",
|
|
40
|
-
userAgent: "speakeasy-sdk/typescript 0.53.
|
|
40
|
+
userAgent: "speakeasy-sdk/typescript 0.53.11 2.928.0 1.1.0 @meetkai/mka1",
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,7 +22,7 @@ const routes = (0, core_1.buildRouteMap)({
|
|
|
22
22
|
exports.app = (0, core_1.buildApplication)(routes, {
|
|
23
23
|
name: "mcp",
|
|
24
24
|
versionInfo: {
|
|
25
|
-
currentVersion: "0.53.
|
|
25
|
+
currentVersion: "0.53.11",
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
28
|
(0, core_1.run)(exports.app, node_process_1.default.argv.slice(2), (0, cli_js_1.buildContext)(node_process_1.default));
|
|
@@ -335,7 +335,7 @@ const usageSandbox_js_1 = require("./tools/usageSandbox.js");
|
|
|
335
335
|
function createMCPServer(deps) {
|
|
336
336
|
const server = new mcp_js_1.McpServer({
|
|
337
337
|
name: "SDK",
|
|
338
|
-
version: "0.53.
|
|
338
|
+
version: "0.53.11",
|
|
339
339
|
});
|
|
340
340
|
const client = new core_js_1.SDKCore({
|
|
341
341
|
bearerAuth: deps.bearerAuth,
|
|
@@ -2,20 +2,77 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export declare const HardwareClass: {
|
|
6
|
+
readonly Gpu: "gpu";
|
|
7
|
+
readonly Cpu: "cpu";
|
|
8
|
+
};
|
|
9
|
+
export type HardwareClass = ClosedEnum<typeof HardwareClass>;
|
|
10
|
+
/**
|
|
11
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
12
|
+
*/
|
|
13
|
+
export type Vcpu = {
|
|
14
|
+
max: number;
|
|
15
|
+
min: number;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
19
|
+
*/
|
|
5
20
|
export declare const Vendor: {
|
|
6
21
|
readonly Nvidia: "nvidia";
|
|
7
22
|
readonly Amd: "amd";
|
|
8
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
26
|
+
*/
|
|
9
27
|
export type Vendor = ClosedEnum<typeof Vendor>;
|
|
28
|
+
/**
|
|
29
|
+
* A catalogue entry. Each hardware class exposes what it has and omits what it lacks: gpu entries always carry vendor, memory_gb, gpu_counts and interconnects; cpu entries always carry vcpu and memory_gb_per_vcpu. Fields of the other class are absent, never reinterpreted.
|
|
30
|
+
*/
|
|
10
31
|
export type ComputeAccelerator = {
|
|
11
32
|
displayName: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
35
|
+
*/
|
|
36
|
+
gpuCounts?: Array<number> | undefined;
|
|
37
|
+
hardwareClass: HardwareClass;
|
|
38
|
+
/**
|
|
39
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
40
|
+
*/
|
|
41
|
+
interconnects?: Array<string> | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
44
|
+
*/
|
|
45
|
+
memoryGb?: number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
48
|
+
*/
|
|
49
|
+
memoryGbPerVcpu?: number | undefined;
|
|
15
50
|
name: string;
|
|
16
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
53
|
+
*/
|
|
54
|
+
vcpu?: Vcpu | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
57
|
+
*/
|
|
58
|
+
vendor?: Vendor | undefined;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const HardwareClass$inboundSchema: z.ZodNativeEnum<typeof HardwareClass>;
|
|
62
|
+
/** @internal */
|
|
63
|
+
export declare const HardwareClass$outboundSchema: z.ZodNativeEnum<typeof HardwareClass>;
|
|
64
|
+
/** @internal */
|
|
65
|
+
export declare const Vcpu$inboundSchema: z.ZodType<Vcpu, z.ZodTypeDef, unknown>;
|
|
66
|
+
/** @internal */
|
|
67
|
+
export type Vcpu$Outbound = {
|
|
68
|
+
max: number;
|
|
69
|
+
min: number;
|
|
17
70
|
};
|
|
18
71
|
/** @internal */
|
|
72
|
+
export declare const Vcpu$outboundSchema: z.ZodType<Vcpu$Outbound, z.ZodTypeDef, Vcpu>;
|
|
73
|
+
export declare function vcpuToJSON(vcpu: Vcpu): string;
|
|
74
|
+
export declare function vcpuFromJSON(jsonString: string): SafeParseResult<Vcpu, SDKValidationError>;
|
|
75
|
+
/** @internal */
|
|
19
76
|
export declare const Vendor$inboundSchema: z.ZodNativeEnum<typeof Vendor>;
|
|
20
77
|
/** @internal */
|
|
21
78
|
export declare const Vendor$outboundSchema: z.ZodNativeEnum<typeof Vendor>;
|
|
@@ -24,11 +81,14 @@ export declare const ComputeAccelerator$inboundSchema: z.ZodType<ComputeAccelera
|
|
|
24
81
|
/** @internal */
|
|
25
82
|
export type ComputeAccelerator$Outbound = {
|
|
26
83
|
display_name: string;
|
|
27
|
-
gpu_counts
|
|
28
|
-
|
|
29
|
-
|
|
84
|
+
gpu_counts?: Array<number> | undefined;
|
|
85
|
+
hardware_class: string;
|
|
86
|
+
interconnects?: Array<string> | undefined;
|
|
87
|
+
memory_gb?: number | undefined;
|
|
88
|
+
memory_gb_per_vcpu?: number | undefined;
|
|
30
89
|
name: string;
|
|
31
|
-
|
|
90
|
+
vcpu?: Vcpu$Outbound | undefined;
|
|
91
|
+
vendor?: string | undefined;
|
|
32
92
|
};
|
|
33
93
|
/** @internal */
|
|
34
94
|
export declare const ComputeAccelerator$outboundSchema: z.ZodType<ComputeAccelerator$Outbound, z.ZodTypeDef, ComputeAccelerator>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeaccelerator.d.ts","sourceRoot":"","sources":["../../../../src/models/components/computeaccelerator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,MAAM;;;CAGT,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"computeaccelerator.d.ts","sourceRoot":"","sources":["../../../../src/models/components/computeaccelerator.ts"],"names":[],"mappings":"AAIA,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AAG,SAAS,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACvD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAmBlB,CAAC;AAEH,wBAAgB,wBAAwB,CACtC,kBAAkB,EAAE,kBAAkB,GACrC,MAAM,CAIR;AACD,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
|
|
@@ -36,17 +36,47 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.ComputeAccelerator$outboundSchema = exports.ComputeAccelerator$inboundSchema = exports.Vendor$outboundSchema = exports.Vendor$inboundSchema = exports.Vendor = void 0;
|
|
39
|
+
exports.ComputeAccelerator$outboundSchema = exports.ComputeAccelerator$inboundSchema = exports.Vendor$outboundSchema = exports.Vendor$inboundSchema = exports.Vcpu$outboundSchema = exports.Vcpu$inboundSchema = exports.HardwareClass$outboundSchema = exports.HardwareClass$inboundSchema = exports.Vendor = exports.HardwareClass = void 0;
|
|
40
|
+
exports.vcpuToJSON = vcpuToJSON;
|
|
41
|
+
exports.vcpuFromJSON = vcpuFromJSON;
|
|
40
42
|
exports.computeAcceleratorToJSON = computeAcceleratorToJSON;
|
|
41
43
|
exports.computeAcceleratorFromJSON = computeAcceleratorFromJSON;
|
|
42
44
|
const z = __importStar(require("zod/v3"));
|
|
43
45
|
const primitives_js_1 = require("../../lib/primitives.js");
|
|
44
46
|
const schemas_js_1 = require("../../lib/schemas.js");
|
|
47
|
+
exports.HardwareClass = {
|
|
48
|
+
Gpu: "gpu",
|
|
49
|
+
Cpu: "cpu",
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
53
|
+
*/
|
|
45
54
|
exports.Vendor = {
|
|
46
55
|
Nvidia: "nvidia",
|
|
47
56
|
Amd: "amd",
|
|
48
57
|
};
|
|
49
58
|
/** @internal */
|
|
59
|
+
exports.HardwareClass$inboundSchema = z.nativeEnum(exports.HardwareClass);
|
|
60
|
+
/** @internal */
|
|
61
|
+
exports.HardwareClass$outboundSchema = exports.HardwareClass$inboundSchema;
|
|
62
|
+
/** @internal */
|
|
63
|
+
exports.Vcpu$inboundSchema = z
|
|
64
|
+
.object({
|
|
65
|
+
max: z.number().int(),
|
|
66
|
+
min: z.number().int(),
|
|
67
|
+
});
|
|
68
|
+
/** @internal */
|
|
69
|
+
exports.Vcpu$outboundSchema = z.object({
|
|
70
|
+
max: z.number().int(),
|
|
71
|
+
min: z.number().int(),
|
|
72
|
+
});
|
|
73
|
+
function vcpuToJSON(vcpu) {
|
|
74
|
+
return JSON.stringify(exports.Vcpu$outboundSchema.parse(vcpu));
|
|
75
|
+
}
|
|
76
|
+
function vcpuFromJSON(jsonString) {
|
|
77
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Vcpu$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Vcpu' from JSON`);
|
|
78
|
+
}
|
|
79
|
+
/** @internal */
|
|
50
80
|
exports.Vendor$inboundSchema = z
|
|
51
81
|
.nativeEnum(exports.Vendor);
|
|
52
82
|
/** @internal */
|
|
@@ -54,31 +84,41 @@ exports.Vendor$outboundSchema = exports.Vendor$inboundSchema;
|
|
|
54
84
|
/** @internal */
|
|
55
85
|
exports.ComputeAccelerator$inboundSchema = z.object({
|
|
56
86
|
display_name: z.string(),
|
|
57
|
-
gpu_counts: z.array(z.number().int()),
|
|
58
|
-
|
|
59
|
-
|
|
87
|
+
gpu_counts: z.array(z.number().int()).optional(),
|
|
88
|
+
hardware_class: exports.HardwareClass$inboundSchema,
|
|
89
|
+
interconnects: z.array(z.string()).optional(),
|
|
90
|
+
memory_gb: z.number().int().optional(),
|
|
91
|
+
memory_gb_per_vcpu: z.number().int().optional(),
|
|
60
92
|
name: z.string(),
|
|
61
|
-
|
|
93
|
+
vcpu: z.lazy(() => exports.Vcpu$inboundSchema).optional(),
|
|
94
|
+
vendor: exports.Vendor$inboundSchema.optional(),
|
|
62
95
|
}).transform((v) => {
|
|
63
96
|
return (0, primitives_js_1.remap)(v, {
|
|
64
97
|
"display_name": "displayName",
|
|
65
98
|
"gpu_counts": "gpuCounts",
|
|
99
|
+
"hardware_class": "hardwareClass",
|
|
66
100
|
"memory_gb": "memoryGb",
|
|
101
|
+
"memory_gb_per_vcpu": "memoryGbPerVcpu",
|
|
67
102
|
});
|
|
68
103
|
});
|
|
69
104
|
/** @internal */
|
|
70
105
|
exports.ComputeAccelerator$outboundSchema = z.object({
|
|
71
106
|
displayName: z.string(),
|
|
72
|
-
gpuCounts: z.array(z.number().int()),
|
|
73
|
-
|
|
74
|
-
|
|
107
|
+
gpuCounts: z.array(z.number().int()).optional(),
|
|
108
|
+
hardwareClass: exports.HardwareClass$outboundSchema,
|
|
109
|
+
interconnects: z.array(z.string()).optional(),
|
|
110
|
+
memoryGb: z.number().int().optional(),
|
|
111
|
+
memoryGbPerVcpu: z.number().int().optional(),
|
|
75
112
|
name: z.string(),
|
|
76
|
-
|
|
113
|
+
vcpu: z.lazy(() => exports.Vcpu$outboundSchema).optional(),
|
|
114
|
+
vendor: exports.Vendor$outboundSchema.optional(),
|
|
77
115
|
}).transform((v) => {
|
|
78
116
|
return (0, primitives_js_1.remap)(v, {
|
|
79
117
|
displayName: "display_name",
|
|
80
118
|
gpuCounts: "gpu_counts",
|
|
119
|
+
hardwareClass: "hardware_class",
|
|
81
120
|
memoryGb: "memory_gb",
|
|
121
|
+
memoryGbPerVcpu: "memory_gb_per_vcpu",
|
|
82
122
|
});
|
|
83
123
|
});
|
|
84
124
|
function computeAcceleratorToJSON(computeAccelerator) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeaccelerator.js","sourceRoot":"","sources":["../../../../src/models/components/computeaccelerator.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"computeaccelerator.js","sourceRoot":"","sources":["../../../../src/models/components/computeaccelerator.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgGH,gCAEC;AACD,oCAQC;AAuED,4DAMC;AACD,gEAQC;AA/LD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAKpC,QAAA,aAAa,GAAG;IAC3B,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACF,CAAC;AAWX;;GAEG;AACU,QAAA,MAAM,GAAG;IACpB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;CACF,CAAC;AAuCX,gBAAgB;AACH,QAAA,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,qBAAa,CAAC,CAAC;AAChC,gBAAgB;AACH,QAAA,4BAA4B,GAErC,mCAA2B,CAAC;AAEhC,gBAAgB;AACH,QAAA,kBAAkB,GAA2C,CAAC;KACxE,MAAM,CAAC;IACN,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACtB,CAAC,CAAC;AAOL,gBAAgB;AACH,QAAA,mBAAmB,GAC9B,CAAC,CAAC,MAAM,CAAC;IACP,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACrB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;CACtB,CAAC,CAAC;AAEL,SAAgB,UAAU,CAAC,IAAU;IACnC,OAAO,I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;AACD,SAAgB,0BAA0B,CACxC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,wCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -4,12 +4,19 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
export type ComputeRequest = {
|
|
5
5
|
accelerator: string;
|
|
6
6
|
ephemeralDiskGb: number;
|
|
7
|
+
/**
|
|
8
|
+
* Attached GPUs. Zero is valid only for CPU-class catalogue entries and required for one.
|
|
9
|
+
*/
|
|
7
10
|
gpuCount: number;
|
|
8
11
|
/**
|
|
9
12
|
* Identical cooperating execution instances per allocation. Omission means one.
|
|
10
13
|
*/
|
|
11
14
|
instanceCount?: number | undefined;
|
|
12
15
|
interconnect?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Requested vCPUs. A general capability-gated axis honored only by backends that support it; a backend that bundles CPU with the GPU rejects it. Required for a CPU-class accelerator, where memory follows the family's per-vCPU ratio.
|
|
18
|
+
*/
|
|
19
|
+
vcpuCount?: number | undefined;
|
|
13
20
|
};
|
|
14
21
|
/** @internal */
|
|
15
22
|
export declare const ComputeRequest$inboundSchema: z.ZodType<ComputeRequest, z.ZodTypeDef, unknown>;
|
|
@@ -20,6 +27,7 @@ export type ComputeRequest$Outbound = {
|
|
|
20
27
|
gpu_count: number;
|
|
21
28
|
instance_count?: number | undefined;
|
|
22
29
|
interconnect?: string | undefined;
|
|
30
|
+
vcpu_count?: number | undefined;
|
|
23
31
|
};
|
|
24
32
|
/** @internal */
|
|
25
33
|
export declare const ComputeRequest$outboundSchema: z.ZodType<ComputeRequest$Outbound, z.ZodTypeDef, ComputeRequest>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computerequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/computerequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"computerequest.d.ts","sourceRoot":"","sources":["../../../../src/models/components/computerequest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAClD,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,OAAO,CAeP,CAAC;AACH,gBAAgB;AAChB,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6BAA6B,EAAE,CAAC,CAAC,OAAO,CACnD,uBAAuB,EACvB,CAAC,CAAC,UAAU,EACZ,cAAc,CAed,CAAC;AAEH,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AACD,wBAAgB,sBAAsB,CACpC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD"}
|
|
@@ -49,11 +49,13 @@ exports.ComputeRequest$inboundSchema = z.object({
|
|
|
49
49
|
gpu_count: z.number().int(),
|
|
50
50
|
instance_count: z.number().int().optional(),
|
|
51
51
|
interconnect: z.string().optional(),
|
|
52
|
+
vcpu_count: z.number().int().optional(),
|
|
52
53
|
}).transform((v) => {
|
|
53
54
|
return (0, primitives_js_1.remap)(v, {
|
|
54
55
|
"ephemeral_disk_gb": "ephemeralDiskGb",
|
|
55
56
|
"gpu_count": "gpuCount",
|
|
56
57
|
"instance_count": "instanceCount",
|
|
58
|
+
"vcpu_count": "vcpuCount",
|
|
57
59
|
});
|
|
58
60
|
});
|
|
59
61
|
/** @internal */
|
|
@@ -63,11 +65,13 @@ exports.ComputeRequest$outboundSchema = z.object({
|
|
|
63
65
|
gpuCount: z.number().int(),
|
|
64
66
|
instanceCount: z.number().int().optional(),
|
|
65
67
|
interconnect: z.string().optional(),
|
|
68
|
+
vcpuCount: z.number().int().optional(),
|
|
66
69
|
}).transform((v) => {
|
|
67
70
|
return (0, primitives_js_1.remap)(v, {
|
|
68
71
|
ephemeralDiskGb: "ephemeral_disk_gb",
|
|
69
72
|
gpuCount: "gpu_count",
|
|
70
73
|
instanceCount: "instance_count",
|
|
74
|
+
vcpuCount: "vcpu_count",
|
|
71
75
|
});
|
|
72
76
|
});
|
|
73
77
|
function computeRequestToJSON(computeRequest) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computerequest.js","sourceRoot":"","sources":["../../../../src/models/components/computerequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"computerequest.js","sourceRoot":"","sources":["../../../../src/models/components/computerequest.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6EH,oDAEC;AACD,wDAQC;AAtFD,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAsBjD,gBAAgB;AACH,QAAA,4BAA4B,GAIrC,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC3B,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC3C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACxC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,mBAAmB,EAAE,iBAAiB;QACtC,WAAW,EAAE,UAAU;QACvB,gBAAgB,EAAE,eAAe;QACjC,YAAY,EAAE,WAAW;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAWH,gBAAgB;AACH,QAAA,6BAA6B,GAItC,CAAC,CAAC,MAAM,CAAC;IACX,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE;IACvB,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACjC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IAC1B,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAC1C,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;CACvC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,eAAe,EAAE,mBAAmB;QACpC,QAAQ,EAAE,WAAW;QACrB,aAAa,EAAE,gBAAgB;QAC/B,SAAS,EAAE,YAAY;KACxB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,qCAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,SAAgB,sBAAsB,CACpC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,oCAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
package/dist/esm/lib/config.d.ts
CHANGED
|
@@ -31,8 +31,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
31
31
|
export declare const SDK_METADATA: {
|
|
32
32
|
readonly language: "typescript";
|
|
33
33
|
readonly openapiDocVersion: "1.1.0";
|
|
34
|
-
readonly sdkVersion: "0.53.
|
|
34
|
+
readonly sdkVersion: "0.53.11";
|
|
35
35
|
readonly genVersion: "2.928.0";
|
|
36
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.53.
|
|
36
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.53.11 2.928.0 1.1.0 @meetkai/mka1";
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/esm/lib/config.js
CHANGED
|
@@ -31,8 +31,8 @@ export function serverURLFromOptions(options) {
|
|
|
31
31
|
export const SDK_METADATA = {
|
|
32
32
|
language: "typescript",
|
|
33
33
|
openapiDocVersion: "1.1.0",
|
|
34
|
-
sdkVersion: "0.53.
|
|
34
|
+
sdkVersion: "0.53.11",
|
|
35
35
|
genVersion: "2.928.0",
|
|
36
|
-
userAgent: "speakeasy-sdk/typescript 0.53.
|
|
36
|
+
userAgent: "speakeasy-sdk/typescript 0.53.11 2.928.0 1.1.0 @meetkai/mka1",
|
|
37
37
|
};
|
|
38
38
|
//# sourceMappingURL=config.js.map
|
|
@@ -332,7 +332,7 @@ import { tool$usageSandbox } from "./tools/usageSandbox.js";
|
|
|
332
332
|
export function createMCPServer(deps) {
|
|
333
333
|
const server = new McpServer({
|
|
334
334
|
name: "SDK",
|
|
335
|
-
version: "0.53.
|
|
335
|
+
version: "0.53.11",
|
|
336
336
|
});
|
|
337
337
|
const client = new SDKCore({
|
|
338
338
|
bearerAuth: deps.bearerAuth,
|
|
@@ -2,20 +2,77 @@ import * as z from "zod/v3";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export declare const HardwareClass: {
|
|
6
|
+
readonly Gpu: "gpu";
|
|
7
|
+
readonly Cpu: "cpu";
|
|
8
|
+
};
|
|
9
|
+
export type HardwareClass = ClosedEnum<typeof HardwareClass>;
|
|
10
|
+
/**
|
|
11
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
12
|
+
*/
|
|
13
|
+
export type Vcpu = {
|
|
14
|
+
max: number;
|
|
15
|
+
min: number;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
19
|
+
*/
|
|
5
20
|
export declare const Vendor: {
|
|
6
21
|
readonly Nvidia: "nvidia";
|
|
7
22
|
readonly Amd: "amd";
|
|
8
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
26
|
+
*/
|
|
9
27
|
export type Vendor = ClosedEnum<typeof Vendor>;
|
|
28
|
+
/**
|
|
29
|
+
* A catalogue entry. Each hardware class exposes what it has and omits what it lacks: gpu entries always carry vendor, memory_gb, gpu_counts and interconnects; cpu entries always carry vcpu and memory_gb_per_vcpu. Fields of the other class are absent, never reinterpreted.
|
|
30
|
+
*/
|
|
10
31
|
export type ComputeAccelerator = {
|
|
11
32
|
displayName: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
35
|
+
*/
|
|
36
|
+
gpuCounts?: Array<number> | undefined;
|
|
37
|
+
hardwareClass: HardwareClass;
|
|
38
|
+
/**
|
|
39
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
40
|
+
*/
|
|
41
|
+
interconnects?: Array<string> | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
44
|
+
*/
|
|
45
|
+
memoryGb?: number | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
48
|
+
*/
|
|
49
|
+
memoryGbPerVcpu?: number | undefined;
|
|
15
50
|
name: string;
|
|
16
|
-
|
|
51
|
+
/**
|
|
52
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
53
|
+
*/
|
|
54
|
+
vcpu?: Vcpu | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
57
|
+
*/
|
|
58
|
+
vendor?: Vendor | undefined;
|
|
59
|
+
};
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const HardwareClass$inboundSchema: z.ZodNativeEnum<typeof HardwareClass>;
|
|
62
|
+
/** @internal */
|
|
63
|
+
export declare const HardwareClass$outboundSchema: z.ZodNativeEnum<typeof HardwareClass>;
|
|
64
|
+
/** @internal */
|
|
65
|
+
export declare const Vcpu$inboundSchema: z.ZodType<Vcpu, z.ZodTypeDef, unknown>;
|
|
66
|
+
/** @internal */
|
|
67
|
+
export type Vcpu$Outbound = {
|
|
68
|
+
max: number;
|
|
69
|
+
min: number;
|
|
17
70
|
};
|
|
18
71
|
/** @internal */
|
|
72
|
+
export declare const Vcpu$outboundSchema: z.ZodType<Vcpu$Outbound, z.ZodTypeDef, Vcpu>;
|
|
73
|
+
export declare function vcpuToJSON(vcpu: Vcpu): string;
|
|
74
|
+
export declare function vcpuFromJSON(jsonString: string): SafeParseResult<Vcpu, SDKValidationError>;
|
|
75
|
+
/** @internal */
|
|
19
76
|
export declare const Vendor$inboundSchema: z.ZodNativeEnum<typeof Vendor>;
|
|
20
77
|
/** @internal */
|
|
21
78
|
export declare const Vendor$outboundSchema: z.ZodNativeEnum<typeof Vendor>;
|
|
@@ -24,11 +81,14 @@ export declare const ComputeAccelerator$inboundSchema: z.ZodType<ComputeAccelera
|
|
|
24
81
|
/** @internal */
|
|
25
82
|
export type ComputeAccelerator$Outbound = {
|
|
26
83
|
display_name: string;
|
|
27
|
-
gpu_counts
|
|
28
|
-
|
|
29
|
-
|
|
84
|
+
gpu_counts?: Array<number> | undefined;
|
|
85
|
+
hardware_class: string;
|
|
86
|
+
interconnects?: Array<string> | undefined;
|
|
87
|
+
memory_gb?: number | undefined;
|
|
88
|
+
memory_gb_per_vcpu?: number | undefined;
|
|
30
89
|
name: string;
|
|
31
|
-
|
|
90
|
+
vcpu?: Vcpu$Outbound | undefined;
|
|
91
|
+
vendor?: string | undefined;
|
|
32
92
|
};
|
|
33
93
|
/** @internal */
|
|
34
94
|
export declare const ComputeAccelerator$outboundSchema: z.ZodType<ComputeAccelerator$Outbound, z.ZodTypeDef, ComputeAccelerator>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeaccelerator.d.ts","sourceRoot":"","sources":["../../../../src/models/components/computeaccelerator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,MAAM;;;CAGT,CAAC;AACX,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAE/C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"computeaccelerator.d.ts","sourceRoot":"","sources":["../../../../src/models/components/computeaccelerator.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,aAAa;;;CAGhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,eA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CAAC,CAMzD"}
|
|
@@ -4,11 +4,39 @@
|
|
|
4
4
|
import * as z from "zod/v3";
|
|
5
5
|
import { remap as remap$ } from "../../lib/primitives.js";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
export const HardwareClass = {
|
|
8
|
+
Gpu: "gpu",
|
|
9
|
+
Cpu: "cpu",
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
13
|
+
*/
|
|
7
14
|
export const Vendor = {
|
|
8
15
|
Nvidia: "nvidia",
|
|
9
16
|
Amd: "amd",
|
|
10
17
|
};
|
|
11
18
|
/** @internal */
|
|
19
|
+
export const HardwareClass$inboundSchema = z.nativeEnum(HardwareClass);
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const HardwareClass$outboundSchema = HardwareClass$inboundSchema;
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const Vcpu$inboundSchema = z
|
|
24
|
+
.object({
|
|
25
|
+
max: z.number().int(),
|
|
26
|
+
min: z.number().int(),
|
|
27
|
+
});
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const Vcpu$outboundSchema = z.object({
|
|
30
|
+
max: z.number().int(),
|
|
31
|
+
min: z.number().int(),
|
|
32
|
+
});
|
|
33
|
+
export function vcpuToJSON(vcpu) {
|
|
34
|
+
return JSON.stringify(Vcpu$outboundSchema.parse(vcpu));
|
|
35
|
+
}
|
|
36
|
+
export function vcpuFromJSON(jsonString) {
|
|
37
|
+
return safeParse(jsonString, (x) => Vcpu$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Vcpu' from JSON`);
|
|
38
|
+
}
|
|
39
|
+
/** @internal */
|
|
12
40
|
export const Vendor$inboundSchema = z
|
|
13
41
|
.nativeEnum(Vendor);
|
|
14
42
|
/** @internal */
|
|
@@ -16,31 +44,41 @@ export const Vendor$outboundSchema = Vendor$inboundSchema;
|
|
|
16
44
|
/** @internal */
|
|
17
45
|
export const ComputeAccelerator$inboundSchema = z.object({
|
|
18
46
|
display_name: z.string(),
|
|
19
|
-
gpu_counts: z.array(z.number().int()),
|
|
20
|
-
|
|
21
|
-
|
|
47
|
+
gpu_counts: z.array(z.number().int()).optional(),
|
|
48
|
+
hardware_class: HardwareClass$inboundSchema,
|
|
49
|
+
interconnects: z.array(z.string()).optional(),
|
|
50
|
+
memory_gb: z.number().int().optional(),
|
|
51
|
+
memory_gb_per_vcpu: z.number().int().optional(),
|
|
22
52
|
name: z.string(),
|
|
23
|
-
|
|
53
|
+
vcpu: z.lazy(() => Vcpu$inboundSchema).optional(),
|
|
54
|
+
vendor: Vendor$inboundSchema.optional(),
|
|
24
55
|
}).transform((v) => {
|
|
25
56
|
return remap$(v, {
|
|
26
57
|
"display_name": "displayName",
|
|
27
58
|
"gpu_counts": "gpuCounts",
|
|
59
|
+
"hardware_class": "hardwareClass",
|
|
28
60
|
"memory_gb": "memoryGb",
|
|
61
|
+
"memory_gb_per_vcpu": "memoryGbPerVcpu",
|
|
29
62
|
});
|
|
30
63
|
});
|
|
31
64
|
/** @internal */
|
|
32
65
|
export const ComputeAccelerator$outboundSchema = z.object({
|
|
33
66
|
displayName: z.string(),
|
|
34
|
-
gpuCounts: z.array(z.number().int()),
|
|
35
|
-
|
|
36
|
-
|
|
67
|
+
gpuCounts: z.array(z.number().int()).optional(),
|
|
68
|
+
hardwareClass: HardwareClass$outboundSchema,
|
|
69
|
+
interconnects: z.array(z.string()).optional(),
|
|
70
|
+
memoryGb: z.number().int().optional(),
|
|
71
|
+
memoryGbPerVcpu: z.number().int().optional(),
|
|
37
72
|
name: z.string(),
|
|
38
|
-
|
|
73
|
+
vcpu: z.lazy(() => Vcpu$outboundSchema).optional(),
|
|
74
|
+
vendor: Vendor$outboundSchema.optional(),
|
|
39
75
|
}).transform((v) => {
|
|
40
76
|
return remap$(v, {
|
|
41
77
|
displayName: "display_name",
|
|
42
78
|
gpuCounts: "gpu_counts",
|
|
79
|
+
hardwareClass: "hardware_class",
|
|
43
80
|
memoryGb: "memory_gb",
|
|
81
|
+
memoryGbPerVcpu: "memory_gb_per_vcpu",
|
|
44
82
|
});
|
|
45
83
|
});
|
|
46
84
|
export function computeAcceleratorToJSON(computeAccelerator) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computeaccelerator.js","sourceRoot":"","sources":["../../../../src/models/components/computeaccelerator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;CACF,CAAC;
|
|
1
|
+
{"version":3,"file":"computeaccelerator.js","sourceRoot":"","sources":["../../../../src/models/components/computeaccelerator.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAKjD,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,KAAK;IACV,GAAG,EAAE,KAAK;CACF,CAAC;AAWX;;GAEG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,QAAQ;IAChB,GAAG,EAAE,KAAK;CACF,CAAC;AAuCX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B,GAEpC,CAAC,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AAChC,gBAAgB;AAChB,MAAM,CAAC,MAAM,4BAA4B,GAErC,2BAA2B,CAAC;AAEhC,gBAAgB;AAChB,MAAM,CAAC,MAAM,kBAAkB,GAA2C,CAAC;KACxE,MAAM,C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IAClD,MAAM,EAAE,qBAAqB,CAAC,QAAQ,EAAE;CACzC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,WAAW,EAAE,cAAc;QAC3B,SAAS,EAAE,YAAY;QACvB,aAAa,EAAE,gBAAgB;QAC/B,QAAQ,EAAE,WAAW;QACrB,eAAe,EAAE,oBAAoB;KACtC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,wBAAwB,CACtC,kBAAsC;IAEtC,OAAO,IAAI,CAAC,SAAS,CACnB,iCAAiC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAC5D,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,0BAA0B,CACxC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gCAAgC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC5D,gDAAgD,CACjD,CAAC;AACJ,CAAC"}
|
|
@@ -4,12 +4,19 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
4
4
|
export type ComputeRequest = {
|
|
5
5
|
accelerator: string;
|
|
6
6
|
ephemeralDiskGb: number;
|
|
7
|
+
/**
|
|
8
|
+
* Attached GPUs. Zero is valid only for CPU-class catalogue entries and required for one.
|
|
9
|
+
*/
|
|
7
10
|
gpuCount: number;
|
|
8
11
|
/**
|
|
9
12
|
* Identical cooperating execution instances per allocation. Omission means one.
|
|
10
13
|
*/
|
|
11
14
|
instanceCount?: number | undefined;
|
|
12
15
|
interconnect?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Requested vCPUs. A general capability-gated axis honored only by backends that support it; a backend that bundles CPU with the GPU rejects it. Required for a CPU-class accelerator, where memory follows the family's per-vCPU ratio.
|
|
18
|
+
*/
|
|
19
|
+
vcpuCount?: number | undefined;
|
|
13
20
|
};
|
|
14
21
|
/** @internal */
|
|
15
22
|
export declare const ComputeRequest$inboundSchema: z.ZodType<ComputeRequest, z.ZodTypeDef, unknown>;
|
|
@@ -20,6 +27,7 @@ export type ComputeRequest$Outbound = {
|
|
|
20
27
|
gpu_count: number;
|
|
21
28
|
instance_count?: number | undefined;
|
|
22
29
|
interconnect?: string | undefined;
|
|
30
|
+
vcpu_count?: number | undefined;
|
|
23
31
|
};
|
|
24
32
|
/** @internal */
|
|
25
33
|
export declare const ComputeRequest$outboundSchema: z.ZodType<ComputeRequest$Outbound, z.ZodTypeDef, ComputeRequest>;
|