@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
|
@@ -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"}
|
|
@@ -11,11 +11,13 @@ export const ComputeRequest$inboundSchema = z.object({
|
|
|
11
11
|
gpu_count: z.number().int(),
|
|
12
12
|
instance_count: z.number().int().optional(),
|
|
13
13
|
interconnect: z.string().optional(),
|
|
14
|
+
vcpu_count: z.number().int().optional(),
|
|
14
15
|
}).transform((v) => {
|
|
15
16
|
return remap$(v, {
|
|
16
17
|
"ephemeral_disk_gb": "ephemeralDiskGb",
|
|
17
18
|
"gpu_count": "gpuCount",
|
|
18
19
|
"instance_count": "instanceCount",
|
|
20
|
+
"vcpu_count": "vcpuCount",
|
|
19
21
|
});
|
|
20
22
|
});
|
|
21
23
|
/** @internal */
|
|
@@ -25,11 +27,13 @@ export const ComputeRequest$outboundSchema = z.object({
|
|
|
25
27
|
gpuCount: z.number().int(),
|
|
26
28
|
instanceCount: z.number().int().optional(),
|
|
27
29
|
interconnect: z.string().optional(),
|
|
30
|
+
vcpuCount: z.number().int().optional(),
|
|
28
31
|
}).transform((v) => {
|
|
29
32
|
return remap$(v, {
|
|
30
33
|
ephemeralDiskGb: "ephemeral_disk_gb",
|
|
31
34
|
gpuCount: "gpu_count",
|
|
32
35
|
instanceCount: "instance_count",
|
|
36
|
+
vcpuCount: "vcpu_count",
|
|
33
37
|
});
|
|
34
38
|
});
|
|
35
39
|
export function computeRequestToJSON(computeRequest) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computerequest.js","sourceRoot":"","sources":["../../../../src/models/components/computerequest.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;
|
|
1
|
+
{"version":3,"file":"computerequest.js","sourceRoot":"","sources":["../../../../src/models/components/computerequest.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;AAsBjD,gBAAgB;AAChB,MAAM,CAAC,MAAM,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,MAAM,CAAC,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;AAChB,MAAM,CAAC,MAAM,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,MAAM,CAAC,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,MAAM,UAAU,oBAAoB,CAAC,cAA8B;IACjE,OAAO,IAAI,CAAC,SAAS,CAAC,6BAA6B,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC;AAC7E,CAAC;AACD,MAAM,UAAU,sBAAsB,CACpC,UAAkB;IAElB,OAAO,SAAS,CACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,4BAA4B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACxD,4CAA4C,CAC7C,CAAC;AACJ,CAAC"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
package/src/lib/config.ts
CHANGED
|
@@ -65,7 +65,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
65
65
|
export const SDK_METADATA = {
|
|
66
66
|
language: "typescript",
|
|
67
67
|
openapiDocVersion: "1.1.0",
|
|
68
|
-
sdkVersion: "0.53.
|
|
68
|
+
sdkVersion: "0.53.11",
|
|
69
69
|
genVersion: "2.928.0",
|
|
70
|
-
userAgent: "speakeasy-sdk/typescript 0.53.
|
|
70
|
+
userAgent: "speakeasy-sdk/typescript 0.53.11 2.928.0 1.1.0 @meetkai/mka1",
|
|
71
71
|
} as const;
|
package/src/mcp-server/server.ts
CHANGED
|
@@ -9,21 +9,106 @@ import { ClosedEnum } from "../../types/enums.js";
|
|
|
9
9
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
10
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
11
|
|
|
12
|
+
export const HardwareClass = {
|
|
13
|
+
Gpu: "gpu",
|
|
14
|
+
Cpu: "cpu",
|
|
15
|
+
} as const;
|
|
16
|
+
export type HardwareClass = ClosedEnum<typeof HardwareClass>;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
20
|
+
*/
|
|
21
|
+
export type Vcpu = {
|
|
22
|
+
max: number;
|
|
23
|
+
min: number;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
28
|
+
*/
|
|
12
29
|
export const Vendor = {
|
|
13
30
|
Nvidia: "nvidia",
|
|
14
31
|
Amd: "amd",
|
|
15
32
|
} as const;
|
|
33
|
+
/**
|
|
34
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
35
|
+
*/
|
|
16
36
|
export type Vendor = ClosedEnum<typeof Vendor>;
|
|
17
37
|
|
|
38
|
+
/**
|
|
39
|
+
* 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.
|
|
40
|
+
*/
|
|
18
41
|
export type ComputeAccelerator = {
|
|
19
42
|
displayName: string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
45
|
+
*/
|
|
46
|
+
gpuCounts?: Array<number> | undefined;
|
|
47
|
+
hardwareClass: HardwareClass;
|
|
48
|
+
/**
|
|
49
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
50
|
+
*/
|
|
51
|
+
interconnects?: Array<string> | undefined;
|
|
52
|
+
/**
|
|
53
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
54
|
+
*/
|
|
55
|
+
memoryGb?: number | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
58
|
+
*/
|
|
59
|
+
memoryGbPerVcpu?: number | undefined;
|
|
23
60
|
name: string;
|
|
24
|
-
|
|
61
|
+
/**
|
|
62
|
+
* Present on every cpu-class entry, absent on gpu-class entries.
|
|
63
|
+
*/
|
|
64
|
+
vcpu?: Vcpu | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Present on every gpu-class entry, absent on cpu-class entries.
|
|
67
|
+
*/
|
|
68
|
+
vendor?: Vendor | undefined;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const HardwareClass$inboundSchema: z.ZodNativeEnum<
|
|
73
|
+
typeof HardwareClass
|
|
74
|
+
> = z.nativeEnum(HardwareClass);
|
|
75
|
+
/** @internal */
|
|
76
|
+
export const HardwareClass$outboundSchema: z.ZodNativeEnum<
|
|
77
|
+
typeof HardwareClass
|
|
78
|
+
> = HardwareClass$inboundSchema;
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const Vcpu$inboundSchema: z.ZodType<Vcpu, z.ZodTypeDef, unknown> = z
|
|
82
|
+
.object({
|
|
83
|
+
max: z.number().int(),
|
|
84
|
+
min: z.number().int(),
|
|
85
|
+
});
|
|
86
|
+
/** @internal */
|
|
87
|
+
export type Vcpu$Outbound = {
|
|
88
|
+
max: number;
|
|
89
|
+
min: number;
|
|
25
90
|
};
|
|
26
91
|
|
|
92
|
+
/** @internal */
|
|
93
|
+
export const Vcpu$outboundSchema: z.ZodType<Vcpu$Outbound, z.ZodTypeDef, Vcpu> =
|
|
94
|
+
z.object({
|
|
95
|
+
max: z.number().int(),
|
|
96
|
+
min: z.number().int(),
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
export function vcpuToJSON(vcpu: Vcpu): string {
|
|
100
|
+
return JSON.stringify(Vcpu$outboundSchema.parse(vcpu));
|
|
101
|
+
}
|
|
102
|
+
export function vcpuFromJSON(
|
|
103
|
+
jsonString: string,
|
|
104
|
+
): SafeParseResult<Vcpu, SDKValidationError> {
|
|
105
|
+
return safeParse(
|
|
106
|
+
jsonString,
|
|
107
|
+
(x) => Vcpu$inboundSchema.parse(JSON.parse(x)),
|
|
108
|
+
`Failed to parse 'Vcpu' from JSON`,
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
27
112
|
/** @internal */
|
|
28
113
|
export const Vendor$inboundSchema: z.ZodNativeEnum<typeof Vendor> = z
|
|
29
114
|
.nativeEnum(Vendor);
|
|
@@ -38,26 +123,34 @@ export const ComputeAccelerator$inboundSchema: z.ZodType<
|
|
|
38
123
|
unknown
|
|
39
124
|
> = z.object({
|
|
40
125
|
display_name: z.string(),
|
|
41
|
-
gpu_counts: z.array(z.number().int()),
|
|
42
|
-
|
|
43
|
-
|
|
126
|
+
gpu_counts: z.array(z.number().int()).optional(),
|
|
127
|
+
hardware_class: HardwareClass$inboundSchema,
|
|
128
|
+
interconnects: z.array(z.string()).optional(),
|
|
129
|
+
memory_gb: z.number().int().optional(),
|
|
130
|
+
memory_gb_per_vcpu: z.number().int().optional(),
|
|
44
131
|
name: z.string(),
|
|
45
|
-
|
|
132
|
+
vcpu: z.lazy(() => Vcpu$inboundSchema).optional(),
|
|
133
|
+
vendor: Vendor$inboundSchema.optional(),
|
|
46
134
|
}).transform((v) => {
|
|
47
135
|
return remap$(v, {
|
|
48
136
|
"display_name": "displayName",
|
|
49
137
|
"gpu_counts": "gpuCounts",
|
|
138
|
+
"hardware_class": "hardwareClass",
|
|
50
139
|
"memory_gb": "memoryGb",
|
|
140
|
+
"memory_gb_per_vcpu": "memoryGbPerVcpu",
|
|
51
141
|
});
|
|
52
142
|
});
|
|
53
143
|
/** @internal */
|
|
54
144
|
export type ComputeAccelerator$Outbound = {
|
|
55
145
|
display_name: string;
|
|
56
|
-
gpu_counts
|
|
57
|
-
|
|
58
|
-
|
|
146
|
+
gpu_counts?: Array<number> | undefined;
|
|
147
|
+
hardware_class: string;
|
|
148
|
+
interconnects?: Array<string> | undefined;
|
|
149
|
+
memory_gb?: number | undefined;
|
|
150
|
+
memory_gb_per_vcpu?: number | undefined;
|
|
59
151
|
name: string;
|
|
60
|
-
|
|
152
|
+
vcpu?: Vcpu$Outbound | undefined;
|
|
153
|
+
vendor?: string | undefined;
|
|
61
154
|
};
|
|
62
155
|
|
|
63
156
|
/** @internal */
|
|
@@ -67,16 +160,21 @@ export const ComputeAccelerator$outboundSchema: z.ZodType<
|
|
|
67
160
|
ComputeAccelerator
|
|
68
161
|
> = z.object({
|
|
69
162
|
displayName: z.string(),
|
|
70
|
-
gpuCounts: z.array(z.number().int()),
|
|
71
|
-
|
|
72
|
-
|
|
163
|
+
gpuCounts: z.array(z.number().int()).optional(),
|
|
164
|
+
hardwareClass: HardwareClass$outboundSchema,
|
|
165
|
+
interconnects: z.array(z.string()).optional(),
|
|
166
|
+
memoryGb: z.number().int().optional(),
|
|
167
|
+
memoryGbPerVcpu: z.number().int().optional(),
|
|
73
168
|
name: z.string(),
|
|
74
|
-
|
|
169
|
+
vcpu: z.lazy(() => Vcpu$outboundSchema).optional(),
|
|
170
|
+
vendor: Vendor$outboundSchema.optional(),
|
|
75
171
|
}).transform((v) => {
|
|
76
172
|
return remap$(v, {
|
|
77
173
|
displayName: "display_name",
|
|
78
174
|
gpuCounts: "gpu_counts",
|
|
175
|
+
hardwareClass: "hardware_class",
|
|
79
176
|
memoryGb: "memory_gb",
|
|
177
|
+
memoryGbPerVcpu: "memory_gb_per_vcpu",
|
|
80
178
|
});
|
|
81
179
|
});
|
|
82
180
|
|
|
@@ -11,12 +11,19 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
|
11
11
|
export type ComputeRequest = {
|
|
12
12
|
accelerator: string;
|
|
13
13
|
ephemeralDiskGb: number;
|
|
14
|
+
/**
|
|
15
|
+
* Attached GPUs. Zero is valid only for CPU-class catalogue entries and required for one.
|
|
16
|
+
*/
|
|
14
17
|
gpuCount: number;
|
|
15
18
|
/**
|
|
16
19
|
* Identical cooperating execution instances per allocation. Omission means one.
|
|
17
20
|
*/
|
|
18
21
|
instanceCount?: number | undefined;
|
|
19
22
|
interconnect?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* 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.
|
|
25
|
+
*/
|
|
26
|
+
vcpuCount?: number | undefined;
|
|
20
27
|
};
|
|
21
28
|
|
|
22
29
|
/** @internal */
|
|
@@ -30,11 +37,13 @@ export const ComputeRequest$inboundSchema: z.ZodType<
|
|
|
30
37
|
gpu_count: z.number().int(),
|
|
31
38
|
instance_count: z.number().int().optional(),
|
|
32
39
|
interconnect: z.string().optional(),
|
|
40
|
+
vcpu_count: z.number().int().optional(),
|
|
33
41
|
}).transform((v) => {
|
|
34
42
|
return remap$(v, {
|
|
35
43
|
"ephemeral_disk_gb": "ephemeralDiskGb",
|
|
36
44
|
"gpu_count": "gpuCount",
|
|
37
45
|
"instance_count": "instanceCount",
|
|
46
|
+
"vcpu_count": "vcpuCount",
|
|
38
47
|
});
|
|
39
48
|
});
|
|
40
49
|
/** @internal */
|
|
@@ -44,6 +53,7 @@ export type ComputeRequest$Outbound = {
|
|
|
44
53
|
gpu_count: number;
|
|
45
54
|
instance_count?: number | undefined;
|
|
46
55
|
interconnect?: string | undefined;
|
|
56
|
+
vcpu_count?: number | undefined;
|
|
47
57
|
};
|
|
48
58
|
|
|
49
59
|
/** @internal */
|
|
@@ -57,11 +67,13 @@ export const ComputeRequest$outboundSchema: z.ZodType<
|
|
|
57
67
|
gpuCount: z.number().int(),
|
|
58
68
|
instanceCount: z.number().int().optional(),
|
|
59
69
|
interconnect: z.string().optional(),
|
|
70
|
+
vcpuCount: z.number().int().optional(),
|
|
60
71
|
}).transform((v) => {
|
|
61
72
|
return remap$(v, {
|
|
62
73
|
ephemeralDiskGb: "ephemeral_disk_gb",
|
|
63
74
|
gpuCount: "gpu_count",
|
|
64
75
|
instanceCount: "instance_count",
|
|
76
|
+
vcpuCount: "vcpu_count",
|
|
65
77
|
});
|
|
66
78
|
});
|
|
67
79
|
|