@meetkai/mka1 0.51.39 → 0.53.1
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 +243 -92
- package/bin/mcp-server.js.map +29 -26
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/config.js.map +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/mcp-server.js.map +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/server.js.map +1 -1
- package/dist/commonjs/models/components/agent.d.ts +5 -3
- package/dist/commonjs/models/components/agent.d.ts.map +1 -1
- package/dist/commonjs/models/components/agent.js +2 -3
- package/dist/commonjs/models/components/agent.js.map +1 -1
- package/dist/commonjs/models/components/agentconnector.d.ts +7 -5
- package/dist/commonjs/models/components/agentconnector.d.ts.map +1 -1
- package/dist/commonjs/models/components/agentconnector.js +4 -5
- package/dist/commonjs/models/components/agentconnector.js.map +1 -1
- package/dist/commonjs/models/components/agentrun.d.ts +11 -9
- package/dist/commonjs/models/components/agentrun.d.ts.map +1 -1
- package/dist/commonjs/models/components/agentrun.js +8 -9
- package/dist/commonjs/models/components/agentrun.js.map +1 -1
- package/dist/commonjs/models/components/agentschedule.d.ts +7 -5
- package/dist/commonjs/models/components/agentschedule.d.ts.map +1 -1
- package/dist/commonjs/models/components/agentschedule.js +4 -5
- package/dist/commonjs/models/components/agentschedule.js.map +1 -1
- package/dist/commonjs/models/components/agentversion.d.ts +5 -3
- package/dist/commonjs/models/components/agentversion.d.ts.map +1 -1
- package/dist/commonjs/models/components/agentversion.js +2 -3
- package/dist/commonjs/models/components/agentversion.js.map +1 -1
- package/dist/commonjs/models/components/computeoffer.d.ts +4 -0
- package/dist/commonjs/models/components/computeoffer.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeoffer.js +8 -0
- package/dist/commonjs/models/components/computeoffer.js.map +1 -1
- package/dist/commonjs/models/components/computequote.d.ts +17 -0
- package/dist/commonjs/models/components/computequote.d.ts.map +1 -1
- package/dist/commonjs/models/components/computequote.js +25 -1
- package/dist/commonjs/models/components/computequote.js.map +1 -1
- package/dist/commonjs/models/components/computequoterequest.d.ts +16 -0
- package/dist/commonjs/models/components/computequoterequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/computequoterequest.js +20 -1
- package/dist/commonjs/models/components/computequoterequest.js.map +1 -1
- package/dist/commonjs/models/components/computeservice.d.ts +3 -0
- package/dist/commonjs/models/components/computeservice.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeservice.js +3 -0
- package/dist/commonjs/models/components/computeservice.js.map +1 -1
- package/dist/commonjs/models/components/computeserviceinput.d.ts +3 -0
- package/dist/commonjs/models/components/computeserviceinput.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeserviceinput.js +3 -0
- package/dist/commonjs/models/components/computeserviceinput.js.map +1 -1
- package/dist/commonjs/models/components/computeusage.d.ts +17 -0
- package/dist/commonjs/models/components/computeusage.d.ts.map +1 -1
- package/dist/commonjs/models/components/computeusage.js +23 -1
- package/dist/commonjs/models/components/computeusage.js.map +1 -1
- package/dist/commonjs/models/components/computevolume.d.ts +42 -0
- package/dist/commonjs/models/components/computevolume.d.ts.map +1 -0
- package/dist/commonjs/models/components/computevolume.js +96 -0
- package/dist/commonjs/models/components/computevolume.js.map +1 -0
- package/dist/commonjs/models/components/computevolumedata.d.ts +35 -0
- package/dist/commonjs/models/components/computevolumedata.d.ts.map +1 -0
- package/dist/commonjs/models/components/computevolumedata.js +83 -0
- package/dist/commonjs/models/components/computevolumedata.js.map +1 -0
- package/dist/commonjs/models/components/computevolumedatainput.d.ts +33 -0
- package/dist/commonjs/models/components/computevolumedatainput.d.ts.map +1 -0
- package/dist/commonjs/models/components/computevolumedatainput.js +72 -0
- package/dist/commonjs/models/components/computevolumedatainput.js.map +1 -0
- package/dist/commonjs/models/components/computevolumeinput.d.ts +22 -0
- package/dist/commonjs/models/components/computevolumeinput.d.ts.map +1 -0
- package/dist/commonjs/models/components/{jsonvalue.js → computevolumeinput.js} +30 -24
- package/dist/commonjs/models/components/computevolumeinput.js.map +1 -0
- package/dist/commonjs/models/components/createagentrequest.d.ts +5 -3
- package/dist/commonjs/models/components/createagentrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createagentrequest.js +2 -3
- package/dist/commonjs/models/components/createagentrequest.js.map +1 -1
- package/dist/commonjs/models/components/createagentrunrequest.d.ts +5 -3
- package/dist/commonjs/models/components/createagentrunrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createagentrunrequest.js +2 -3
- package/dist/commonjs/models/components/createagentrunrequest.js.map +1 -1
- package/dist/commonjs/models/components/createagentschedulerequest.d.ts +5 -3
- package/dist/commonjs/models/components/createagentschedulerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createagentschedulerequest.js +2 -3
- package/dist/commonjs/models/components/createagentschedulerequest.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +4 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +4 -1
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/tooldefinition.d.ts +16 -11
- package/dist/commonjs/models/components/tooldefinition.d.ts.map +1 -1
- package/dist/commonjs/models/components/tooldefinition.js +10 -11
- package/dist/commonjs/models/components/tooldefinition.js.map +1 -1
- package/dist/commonjs/models/components/updateagentrequest.d.ts +5 -3
- package/dist/commonjs/models/components/updateagentrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/updateagentrequest.js +2 -3
- package/dist/commonjs/models/components/updateagentrequest.js.map +1 -1
- package/dist/commonjs/models/components/updateagentschedulerequest.d.ts +2 -3
- package/dist/commonjs/models/components/updateagentschedulerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/updateagentschedulerequest.js +2 -3
- package/dist/commonjs/models/components/updateagentschedulerequest.js.map +1 -1
- package/dist/commonjs/models/errors/errorenvelope.d.ts +2 -3
- package/dist/commonjs/models/errors/errorenvelope.d.ts.map +1 -1
- package/dist/commonjs/models/errors/errorenvelope.js +2 -3
- package/dist/commonjs/models/errors/errorenvelope.js.map +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/config.js.map +1 -1
- package/dist/esm/mcp-server/mcp-server.js +1 -1
- package/dist/esm/mcp-server/mcp-server.js.map +1 -1
- package/dist/esm/mcp-server/server.js +1 -1
- package/dist/esm/mcp-server/server.js.map +1 -1
- package/dist/esm/models/components/agent.d.ts +5 -3
- package/dist/esm/models/components/agent.d.ts.map +1 -1
- package/dist/esm/models/components/agent.js +2 -3
- package/dist/esm/models/components/agent.js.map +1 -1
- package/dist/esm/models/components/agentconnector.d.ts +7 -5
- package/dist/esm/models/components/agentconnector.d.ts.map +1 -1
- package/dist/esm/models/components/agentconnector.js +4 -5
- package/dist/esm/models/components/agentconnector.js.map +1 -1
- package/dist/esm/models/components/agentrun.d.ts +11 -9
- package/dist/esm/models/components/agentrun.d.ts.map +1 -1
- package/dist/esm/models/components/agentrun.js +8 -9
- package/dist/esm/models/components/agentrun.js.map +1 -1
- package/dist/esm/models/components/agentschedule.d.ts +7 -5
- package/dist/esm/models/components/agentschedule.d.ts.map +1 -1
- package/dist/esm/models/components/agentschedule.js +4 -5
- package/dist/esm/models/components/agentschedule.js.map +1 -1
- package/dist/esm/models/components/agentversion.d.ts +5 -3
- package/dist/esm/models/components/agentversion.d.ts.map +1 -1
- package/dist/esm/models/components/agentversion.js +2 -3
- package/dist/esm/models/components/agentversion.js.map +1 -1
- package/dist/esm/models/components/computeoffer.d.ts +4 -0
- package/dist/esm/models/components/computeoffer.d.ts.map +1 -1
- package/dist/esm/models/components/computeoffer.js +8 -0
- package/dist/esm/models/components/computeoffer.js.map +1 -1
- package/dist/esm/models/components/computequote.d.ts +17 -0
- package/dist/esm/models/components/computequote.d.ts.map +1 -1
- package/dist/esm/models/components/computequote.js +22 -0
- package/dist/esm/models/components/computequote.js.map +1 -1
- package/dist/esm/models/components/computequoterequest.d.ts +16 -0
- package/dist/esm/models/components/computequoterequest.d.ts.map +1 -1
- package/dist/esm/models/components/computequoterequest.js +17 -0
- package/dist/esm/models/components/computequoterequest.js.map +1 -1
- package/dist/esm/models/components/computeservice.d.ts +3 -0
- package/dist/esm/models/components/computeservice.d.ts.map +1 -1
- package/dist/esm/models/components/computeservice.js +3 -0
- package/dist/esm/models/components/computeservice.js.map +1 -1
- package/dist/esm/models/components/computeserviceinput.d.ts +3 -0
- package/dist/esm/models/components/computeserviceinput.d.ts.map +1 -1
- package/dist/esm/models/components/computeserviceinput.js +3 -0
- package/dist/esm/models/components/computeserviceinput.js.map +1 -1
- package/dist/esm/models/components/computeusage.d.ts +17 -0
- package/dist/esm/models/components/computeusage.d.ts.map +1 -1
- package/dist/esm/models/components/computeusage.js +20 -0
- package/dist/esm/models/components/computeusage.js.map +1 -1
- package/dist/esm/models/components/computevolume.d.ts +42 -0
- package/dist/esm/models/components/computevolume.d.ts.map +1 -0
- package/dist/esm/models/components/computevolume.js +58 -0
- package/dist/esm/models/components/computevolume.js.map +1 -0
- package/dist/esm/models/components/computevolumedata.d.ts +35 -0
- package/dist/esm/models/components/computevolumedata.d.ts.map +1 -0
- package/dist/esm/models/components/computevolumedata.js +45 -0
- package/dist/esm/models/components/computevolumedata.js.map +1 -0
- package/dist/esm/models/components/computevolumedatainput.d.ts +33 -0
- package/dist/esm/models/components/computevolumedatainput.d.ts.map +1 -0
- package/dist/esm/models/components/computevolumedatainput.js +34 -0
- package/dist/esm/models/components/computevolumedatainput.js.map +1 -0
- package/dist/esm/models/components/computevolumeinput.d.ts +22 -0
- package/dist/esm/models/components/computevolumeinput.d.ts.map +1 -0
- package/dist/esm/models/components/computevolumeinput.js +36 -0
- package/dist/esm/models/components/computevolumeinput.js.map +1 -0
- package/dist/esm/models/components/createagentrequest.d.ts +5 -3
- package/dist/esm/models/components/createagentrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createagentrequest.js +2 -3
- package/dist/esm/models/components/createagentrequest.js.map +1 -1
- package/dist/esm/models/components/createagentrunrequest.d.ts +5 -3
- package/dist/esm/models/components/createagentrunrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createagentrunrequest.js +2 -3
- package/dist/esm/models/components/createagentrunrequest.js.map +1 -1
- package/dist/esm/models/components/createagentschedulerequest.d.ts +5 -3
- package/dist/esm/models/components/createagentschedulerequest.d.ts.map +1 -1
- package/dist/esm/models/components/createagentschedulerequest.js +2 -3
- package/dist/esm/models/components/createagentschedulerequest.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +4 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +4 -1
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/tooldefinition.d.ts +16 -11
- package/dist/esm/models/components/tooldefinition.d.ts.map +1 -1
- package/dist/esm/models/components/tooldefinition.js +10 -11
- package/dist/esm/models/components/tooldefinition.js.map +1 -1
- package/dist/esm/models/components/updateagentrequest.d.ts +5 -3
- package/dist/esm/models/components/updateagentrequest.d.ts.map +1 -1
- package/dist/esm/models/components/updateagentrequest.js +2 -3
- package/dist/esm/models/components/updateagentrequest.js.map +1 -1
- package/dist/esm/models/components/updateagentschedulerequest.d.ts +2 -3
- package/dist/esm/models/components/updateagentschedulerequest.d.ts.map +1 -1
- package/dist/esm/models/components/updateagentschedulerequest.js +2 -3
- package/dist/esm/models/components/updateagentschedulerequest.js.map +1 -1
- package/dist/esm/models/errors/errorenvelope.d.ts +2 -3
- package/dist/esm/models/errors/errorenvelope.d.ts.map +1 -1
- package/dist/esm/models/errors/errorenvelope.js +2 -3
- package/dist/esm/models/errors/errorenvelope.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/agent.ts +7 -10
- package/src/models/components/agentconnector.ts +11 -14
- package/src/models/components/agentrun.ts +19 -22
- package/src/models/components/agentschedule.ts +11 -14
- package/src/models/components/agentversion.ts +7 -10
- package/src/models/components/computeoffer.ts +12 -0
- package/src/models/components/computequote.ts +55 -0
- package/src/models/components/computequoterequest.ts +46 -0
- package/src/models/components/computeservice.ts +10 -0
- package/src/models/components/computeserviceinput.ts +10 -0
- package/src/models/components/computeusage.ts +53 -0
- package/src/models/components/computevolume.ts +108 -0
- package/src/models/components/computevolumedata.ts +92 -0
- package/src/models/components/computevolumedatainput.ts +81 -0
- package/src/models/components/computevolumeinput.ts +76 -0
- package/src/models/components/createagentrequest.ts +7 -10
- package/src/models/components/createagentrunrequest.ts +7 -10
- package/src/models/components/createagentschedulerequest.ts +7 -10
- package/src/models/components/index.ts +4 -1
- package/src/models/components/tooldefinition.ts +26 -26
- package/src/models/components/updateagentrequest.ts +7 -10
- package/src/models/components/updateagentschedulerequest.ts +4 -10
- package/src/models/errors/errorenvelope.ts +4 -5
- package/dist/commonjs/models/components/jsonvalue.d.ts +0 -17
- package/dist/commonjs/models/components/jsonvalue.d.ts.map +0 -1
- package/dist/commonjs/models/components/jsonvalue.js.map +0 -1
- package/dist/esm/models/components/jsonvalue.d.ts +0 -17
- package/dist/esm/models/components/jsonvalue.d.ts.map +0 -1
- package/dist/esm/models/components/jsonvalue.js +0 -30
- package/dist/esm/models/components/jsonvalue.js.map +0 -1
- package/src/models/components/jsonvalue.ts +0 -65
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
import {
|
|
12
|
+
ComputeVolumeData,
|
|
13
|
+
ComputeVolumeData$inboundSchema,
|
|
14
|
+
ComputeVolumeData$Outbound,
|
|
15
|
+
ComputeVolumeData$outboundSchema,
|
|
16
|
+
} from "./computevolumedata.js";
|
|
17
|
+
|
|
18
|
+
export const ComputeVolumeStatus = {
|
|
19
|
+
Provisioning: "provisioning",
|
|
20
|
+
Loading: "loading",
|
|
21
|
+
Ready: "ready",
|
|
22
|
+
Deleting: "deleting",
|
|
23
|
+
Deleted: "deleted",
|
|
24
|
+
Failed: "failed",
|
|
25
|
+
} as const;
|
|
26
|
+
export type ComputeVolumeStatus = ClosedEnum<typeof ComputeVolumeStatus>;
|
|
27
|
+
|
|
28
|
+
export type ComputeVolume = {
|
|
29
|
+
accruedCostUsd: number;
|
|
30
|
+
data: Array<ComputeVolumeData>;
|
|
31
|
+
mountPath: string;
|
|
32
|
+
priceUsdHr: number;
|
|
33
|
+
sizeGb: number;
|
|
34
|
+
status: ComputeVolumeStatus;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ComputeVolumeStatus$inboundSchema: z.ZodNativeEnum<
|
|
39
|
+
typeof ComputeVolumeStatus
|
|
40
|
+
> = z.nativeEnum(ComputeVolumeStatus);
|
|
41
|
+
/** @internal */
|
|
42
|
+
export const ComputeVolumeStatus$outboundSchema: z.ZodNativeEnum<
|
|
43
|
+
typeof ComputeVolumeStatus
|
|
44
|
+
> = ComputeVolumeStatus$inboundSchema;
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const ComputeVolume$inboundSchema: z.ZodType<
|
|
48
|
+
ComputeVolume,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
unknown
|
|
51
|
+
> = z.object({
|
|
52
|
+
accrued_cost_usd: z.number(),
|
|
53
|
+
data: z.array(ComputeVolumeData$inboundSchema),
|
|
54
|
+
mount_path: z.string(),
|
|
55
|
+
price_usd_hr: z.number(),
|
|
56
|
+
size_gb: z.number().int(),
|
|
57
|
+
status: ComputeVolumeStatus$inboundSchema,
|
|
58
|
+
}).transform((v) => {
|
|
59
|
+
return remap$(v, {
|
|
60
|
+
"accrued_cost_usd": "accruedCostUsd",
|
|
61
|
+
"mount_path": "mountPath",
|
|
62
|
+
"price_usd_hr": "priceUsdHr",
|
|
63
|
+
"size_gb": "sizeGb",
|
|
64
|
+
});
|
|
65
|
+
});
|
|
66
|
+
/** @internal */
|
|
67
|
+
export type ComputeVolume$Outbound = {
|
|
68
|
+
accrued_cost_usd: number;
|
|
69
|
+
data: Array<ComputeVolumeData$Outbound>;
|
|
70
|
+
mount_path: string;
|
|
71
|
+
price_usd_hr: number;
|
|
72
|
+
size_gb: number;
|
|
73
|
+
status: string;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export const ComputeVolume$outboundSchema: z.ZodType<
|
|
78
|
+
ComputeVolume$Outbound,
|
|
79
|
+
z.ZodTypeDef,
|
|
80
|
+
ComputeVolume
|
|
81
|
+
> = z.object({
|
|
82
|
+
accruedCostUsd: z.number(),
|
|
83
|
+
data: z.array(ComputeVolumeData$outboundSchema),
|
|
84
|
+
mountPath: z.string(),
|
|
85
|
+
priceUsdHr: z.number(),
|
|
86
|
+
sizeGb: z.number().int(),
|
|
87
|
+
status: ComputeVolumeStatus$outboundSchema,
|
|
88
|
+
}).transform((v) => {
|
|
89
|
+
return remap$(v, {
|
|
90
|
+
accruedCostUsd: "accrued_cost_usd",
|
|
91
|
+
mountPath: "mount_path",
|
|
92
|
+
priceUsdHr: "price_usd_hr",
|
|
93
|
+
sizeGb: "size_gb",
|
|
94
|
+
});
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
export function computeVolumeToJSON(computeVolume: ComputeVolume): string {
|
|
98
|
+
return JSON.stringify(ComputeVolume$outboundSchema.parse(computeVolume));
|
|
99
|
+
}
|
|
100
|
+
export function computeVolumeFromJSON(
|
|
101
|
+
jsonString: string,
|
|
102
|
+
): SafeParseResult<ComputeVolume, SDKValidationError> {
|
|
103
|
+
return safeParse(
|
|
104
|
+
jsonString,
|
|
105
|
+
(x) => ComputeVolume$inboundSchema.parse(JSON.parse(x)),
|
|
106
|
+
`Failed to parse 'ComputeVolume' from JSON`,
|
|
107
|
+
);
|
|
108
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const ComputeVolumeDataType = {
|
|
13
|
+
Huggingface: "huggingface",
|
|
14
|
+
Git: "git",
|
|
15
|
+
} as const;
|
|
16
|
+
export type ComputeVolumeDataType = ClosedEnum<typeof ComputeVolumeDataType>;
|
|
17
|
+
|
|
18
|
+
export type ComputeVolumeData = {
|
|
19
|
+
path: string;
|
|
20
|
+
resolvedRevision: string | null;
|
|
21
|
+
revision: string | null;
|
|
22
|
+
type: ComputeVolumeDataType;
|
|
23
|
+
url: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const ComputeVolumeDataType$inboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof ComputeVolumeDataType
|
|
29
|
+
> = z.nativeEnum(ComputeVolumeDataType);
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const ComputeVolumeDataType$outboundSchema: z.ZodNativeEnum<
|
|
32
|
+
typeof ComputeVolumeDataType
|
|
33
|
+
> = ComputeVolumeDataType$inboundSchema;
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ComputeVolumeData$inboundSchema: z.ZodType<
|
|
37
|
+
ComputeVolumeData,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({
|
|
41
|
+
path: z.string(),
|
|
42
|
+
resolved_revision: z.nullable(z.string()),
|
|
43
|
+
revision: z.nullable(z.string()),
|
|
44
|
+
type: ComputeVolumeDataType$inboundSchema,
|
|
45
|
+
url: z.string(),
|
|
46
|
+
}).transform((v) => {
|
|
47
|
+
return remap$(v, {
|
|
48
|
+
"resolved_revision": "resolvedRevision",
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
/** @internal */
|
|
52
|
+
export type ComputeVolumeData$Outbound = {
|
|
53
|
+
path: string;
|
|
54
|
+
resolved_revision: string | null;
|
|
55
|
+
revision: string | null;
|
|
56
|
+
type: string;
|
|
57
|
+
url: string;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const ComputeVolumeData$outboundSchema: z.ZodType<
|
|
62
|
+
ComputeVolumeData$Outbound,
|
|
63
|
+
z.ZodTypeDef,
|
|
64
|
+
ComputeVolumeData
|
|
65
|
+
> = z.object({
|
|
66
|
+
path: z.string(),
|
|
67
|
+
resolvedRevision: z.nullable(z.string()),
|
|
68
|
+
revision: z.nullable(z.string()),
|
|
69
|
+
type: ComputeVolumeDataType$outboundSchema,
|
|
70
|
+
url: z.string(),
|
|
71
|
+
}).transform((v) => {
|
|
72
|
+
return remap$(v, {
|
|
73
|
+
resolvedRevision: "resolved_revision",
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
export function computeVolumeDataToJSON(
|
|
78
|
+
computeVolumeData: ComputeVolumeData,
|
|
79
|
+
): string {
|
|
80
|
+
return JSON.stringify(
|
|
81
|
+
ComputeVolumeData$outboundSchema.parse(computeVolumeData),
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
export function computeVolumeDataFromJSON(
|
|
85
|
+
jsonString: string,
|
|
86
|
+
): SafeParseResult<ComputeVolumeData, SDKValidationError> {
|
|
87
|
+
return safeParse(
|
|
88
|
+
jsonString,
|
|
89
|
+
(x) => ComputeVolumeData$inboundSchema.parse(JSON.parse(x)),
|
|
90
|
+
`Failed to parse 'ComputeVolumeData' from JSON`,
|
|
91
|
+
);
|
|
92
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export const ComputeVolumeDataInputType = {
|
|
12
|
+
Huggingface: "huggingface",
|
|
13
|
+
Git: "git",
|
|
14
|
+
} as const;
|
|
15
|
+
export type ComputeVolumeDataInputType = ClosedEnum<
|
|
16
|
+
typeof ComputeVolumeDataInputType
|
|
17
|
+
>;
|
|
18
|
+
|
|
19
|
+
export type ComputeVolumeDataInput = {
|
|
20
|
+
path: string;
|
|
21
|
+
revision?: string | undefined;
|
|
22
|
+
type: ComputeVolumeDataInputType;
|
|
23
|
+
url: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const ComputeVolumeDataInputType$inboundSchema: z.ZodNativeEnum<
|
|
28
|
+
typeof ComputeVolumeDataInputType
|
|
29
|
+
> = z.nativeEnum(ComputeVolumeDataInputType);
|
|
30
|
+
/** @internal */
|
|
31
|
+
export const ComputeVolumeDataInputType$outboundSchema: z.ZodNativeEnum<
|
|
32
|
+
typeof ComputeVolumeDataInputType
|
|
33
|
+
> = ComputeVolumeDataInputType$inboundSchema;
|
|
34
|
+
|
|
35
|
+
/** @internal */
|
|
36
|
+
export const ComputeVolumeDataInput$inboundSchema: z.ZodType<
|
|
37
|
+
ComputeVolumeDataInput,
|
|
38
|
+
z.ZodTypeDef,
|
|
39
|
+
unknown
|
|
40
|
+
> = z.object({
|
|
41
|
+
path: z.string(),
|
|
42
|
+
revision: z.string().optional(),
|
|
43
|
+
type: ComputeVolumeDataInputType$inboundSchema,
|
|
44
|
+
url: z.string(),
|
|
45
|
+
});
|
|
46
|
+
/** @internal */
|
|
47
|
+
export type ComputeVolumeDataInput$Outbound = {
|
|
48
|
+
path: string;
|
|
49
|
+
revision?: string | undefined;
|
|
50
|
+
type: string;
|
|
51
|
+
url: string;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const ComputeVolumeDataInput$outboundSchema: z.ZodType<
|
|
56
|
+
ComputeVolumeDataInput$Outbound,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
ComputeVolumeDataInput
|
|
59
|
+
> = z.object({
|
|
60
|
+
path: z.string(),
|
|
61
|
+
revision: z.string().optional(),
|
|
62
|
+
type: ComputeVolumeDataInputType$outboundSchema,
|
|
63
|
+
url: z.string(),
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export function computeVolumeDataInputToJSON(
|
|
67
|
+
computeVolumeDataInput: ComputeVolumeDataInput,
|
|
68
|
+
): string {
|
|
69
|
+
return JSON.stringify(
|
|
70
|
+
ComputeVolumeDataInput$outboundSchema.parse(computeVolumeDataInput),
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
export function computeVolumeDataInputFromJSON(
|
|
74
|
+
jsonString: string,
|
|
75
|
+
): SafeParseResult<ComputeVolumeDataInput, SDKValidationError> {
|
|
76
|
+
return safeParse(
|
|
77
|
+
jsonString,
|
|
78
|
+
(x) => ComputeVolumeDataInput$inboundSchema.parse(JSON.parse(x)),
|
|
79
|
+
`Failed to parse 'ComputeVolumeDataInput' from JSON`,
|
|
80
|
+
);
|
|
81
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
ComputeVolumeDataInput,
|
|
12
|
+
ComputeVolumeDataInput$inboundSchema,
|
|
13
|
+
ComputeVolumeDataInput$Outbound,
|
|
14
|
+
ComputeVolumeDataInput$outboundSchema,
|
|
15
|
+
} from "./computevolumedatainput.js";
|
|
16
|
+
|
|
17
|
+
export type ComputeVolumeInput = {
|
|
18
|
+
data?: Array<ComputeVolumeDataInput> | undefined;
|
|
19
|
+
mountPath: string;
|
|
20
|
+
sizeGb: number;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const ComputeVolumeInput$inboundSchema: z.ZodType<
|
|
25
|
+
ComputeVolumeInput,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
data: z.array(ComputeVolumeDataInput$inboundSchema).optional(),
|
|
30
|
+
mount_path: z.string(),
|
|
31
|
+
size_gb: z.number().int(),
|
|
32
|
+
}).transform((v) => {
|
|
33
|
+
return remap$(v, {
|
|
34
|
+
"mount_path": "mountPath",
|
|
35
|
+
"size_gb": "sizeGb",
|
|
36
|
+
});
|
|
37
|
+
});
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type ComputeVolumeInput$Outbound = {
|
|
40
|
+
data?: Array<ComputeVolumeDataInput$Outbound> | undefined;
|
|
41
|
+
mount_path: string;
|
|
42
|
+
size_gb: number;
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export const ComputeVolumeInput$outboundSchema: z.ZodType<
|
|
47
|
+
ComputeVolumeInput$Outbound,
|
|
48
|
+
z.ZodTypeDef,
|
|
49
|
+
ComputeVolumeInput
|
|
50
|
+
> = z.object({
|
|
51
|
+
data: z.array(ComputeVolumeDataInput$outboundSchema).optional(),
|
|
52
|
+
mountPath: z.string(),
|
|
53
|
+
sizeGb: z.number().int(),
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
mountPath: "mount_path",
|
|
57
|
+
sizeGb: "size_gb",
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
export function computeVolumeInputToJSON(
|
|
62
|
+
computeVolumeInput: ComputeVolumeInput,
|
|
63
|
+
): string {
|
|
64
|
+
return JSON.stringify(
|
|
65
|
+
ComputeVolumeInput$outboundSchema.parse(computeVolumeInput),
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
export function computeVolumeInputFromJSON(
|
|
69
|
+
jsonString: string,
|
|
70
|
+
): SafeParseResult<ComputeVolumeInput, SDKValidationError> {
|
|
71
|
+
return safeParse(
|
|
72
|
+
jsonString,
|
|
73
|
+
(x) => ComputeVolumeInput$inboundSchema.parse(JSON.parse(x)),
|
|
74
|
+
`Failed to parse 'ComputeVolumeInput' from JSON`,
|
|
75
|
+
);
|
|
76
|
+
}
|
|
@@ -19,12 +19,6 @@ import {
|
|
|
19
19
|
AgentTextConfiguration$Outbound,
|
|
20
20
|
AgentTextConfiguration$outboundSchema,
|
|
21
21
|
} from "./agenttextconfiguration.js";
|
|
22
|
-
import {
|
|
23
|
-
JsonValue,
|
|
24
|
-
JsonValue$inboundSchema,
|
|
25
|
-
JsonValue$Outbound,
|
|
26
|
-
JsonValue$outboundSchema,
|
|
27
|
-
} from "./jsonvalue.js";
|
|
28
22
|
import {
|
|
29
23
|
ToolDefinition,
|
|
30
24
|
ToolDefinition$inboundSchema,
|
|
@@ -38,7 +32,10 @@ export type CreateAgentRequest = {
|
|
|
38
32
|
model: string;
|
|
39
33
|
instructions?: string | null | undefined;
|
|
40
34
|
tools?: Array<ToolDefinition> | undefined;
|
|
41
|
-
|
|
35
|
+
/**
|
|
36
|
+
* Arbitrary JSON value.
|
|
37
|
+
*/
|
|
38
|
+
toolChoice?: any | undefined;
|
|
42
39
|
parallelToolCalls?: boolean | undefined;
|
|
43
40
|
maxToolCalls?: number | null | undefined;
|
|
44
41
|
text?: AgentTextConfiguration | null | undefined;
|
|
@@ -57,7 +54,7 @@ export const CreateAgentRequest$inboundSchema: z.ZodType<
|
|
|
57
54
|
model: z.string(),
|
|
58
55
|
instructions: z.nullable(z.string()).optional(),
|
|
59
56
|
tools: z.array(ToolDefinition$inboundSchema).optional(),
|
|
60
|
-
tool_choice: z.
|
|
57
|
+
tool_choice: z.any().optional(),
|
|
61
58
|
parallel_tool_calls: z.boolean().default(true),
|
|
62
59
|
max_tool_calls: z.nullable(z.number().int()).optional(),
|
|
63
60
|
text: z.nullable(AgentTextConfiguration$inboundSchema).optional(),
|
|
@@ -77,7 +74,7 @@ export type CreateAgentRequest$Outbound = {
|
|
|
77
74
|
model: string;
|
|
78
75
|
instructions?: string | null | undefined;
|
|
79
76
|
tools?: Array<ToolDefinition$Outbound> | undefined;
|
|
80
|
-
tool_choice?:
|
|
77
|
+
tool_choice?: any | undefined;
|
|
81
78
|
parallel_tool_calls: boolean;
|
|
82
79
|
max_tool_calls?: number | null | undefined;
|
|
83
80
|
text?: AgentTextConfiguration$Outbound | null | undefined;
|
|
@@ -96,7 +93,7 @@ export const CreateAgentRequest$outboundSchema: z.ZodType<
|
|
|
96
93
|
model: z.string(),
|
|
97
94
|
instructions: z.nullable(z.string()).optional(),
|
|
98
95
|
tools: z.array(ToolDefinition$outboundSchema).optional(),
|
|
99
|
-
toolChoice: z.
|
|
96
|
+
toolChoice: z.any().optional(),
|
|
100
97
|
parallelToolCalls: z.boolean().default(true),
|
|
101
98
|
maxToolCalls: z.nullable(z.number().int()).optional(),
|
|
102
99
|
text: z.nullable(AgentTextConfiguration$outboundSchema).optional(),
|
|
@@ -16,12 +16,6 @@ import {
|
|
|
16
16
|
AgentCompactionContextManagement$Outbound,
|
|
17
17
|
AgentCompactionContextManagement$outboundSchema,
|
|
18
18
|
} from "./agentcompactioncontextmanagement.js";
|
|
19
|
-
import {
|
|
20
|
-
JsonValue,
|
|
21
|
-
JsonValue$inboundSchema,
|
|
22
|
-
JsonValue$Outbound,
|
|
23
|
-
JsonValue$outboundSchema,
|
|
24
|
-
} from "./jsonvalue.js";
|
|
25
19
|
|
|
26
20
|
export type CreateAgentRunRequestInput2 = {
|
|
27
21
|
type?: string | undefined;
|
|
@@ -34,7 +28,10 @@ export type CreateAgentRunRequestInput =
|
|
|
34
28
|
|
|
35
29
|
export type CreateAgentRunRequest = {
|
|
36
30
|
input: string | Array<CreateAgentRunRequestInput2>;
|
|
37
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Arbitrary JSON value.
|
|
33
|
+
*/
|
|
34
|
+
conversation?: any | undefined;
|
|
38
35
|
previousResponseId?: string | undefined;
|
|
39
36
|
/**
|
|
40
37
|
* Context management strategies to apply during agent-run response generation. Supports compaction, which summarizes older conversation history when the context exceeds a token threshold.
|
|
@@ -148,7 +145,7 @@ export const CreateAgentRunRequest$inboundSchema: z.ZodType<
|
|
|
148
145
|
z.string(),
|
|
149
146
|
z.array(z.lazy(() => CreateAgentRunRequestInput2$inboundSchema)),
|
|
150
147
|
]),
|
|
151
|
-
conversation: z.
|
|
148
|
+
conversation: z.any().optional(),
|
|
152
149
|
previous_response_id: z.string().optional(),
|
|
153
150
|
context_management: z.array(AgentCompactionContextManagement$inboundSchema)
|
|
154
151
|
.optional(),
|
|
@@ -162,7 +159,7 @@ export const CreateAgentRunRequest$inboundSchema: z.ZodType<
|
|
|
162
159
|
/** @internal */
|
|
163
160
|
export type CreateAgentRunRequest$Outbound = {
|
|
164
161
|
input: string | Array<CreateAgentRunRequestInput2$Outbound>;
|
|
165
|
-
conversation?:
|
|
162
|
+
conversation?: any | undefined;
|
|
166
163
|
previous_response_id?: string | undefined;
|
|
167
164
|
context_management?:
|
|
168
165
|
| Array<AgentCompactionContextManagement$Outbound>
|
|
@@ -180,7 +177,7 @@ export const CreateAgentRunRequest$outboundSchema: z.ZodType<
|
|
|
180
177
|
z.string(),
|
|
181
178
|
z.array(z.lazy(() => CreateAgentRunRequestInput2$outboundSchema)),
|
|
182
179
|
]),
|
|
183
|
-
conversation: z.
|
|
180
|
+
conversation: z.any().optional(),
|
|
184
181
|
previousResponseId: z.string().optional(),
|
|
185
182
|
contextManagement: z.array(AgentCompactionContextManagement$outboundSchema)
|
|
186
183
|
.optional(),
|
|
@@ -22,12 +22,6 @@ import {
|
|
|
22
22
|
AgentScheduleSpec$Outbound,
|
|
23
23
|
AgentScheduleSpec$outboundSchema,
|
|
24
24
|
} from "./agentschedulespec.js";
|
|
25
|
-
import {
|
|
26
|
-
JsonValue,
|
|
27
|
-
JsonValue$inboundSchema,
|
|
28
|
-
JsonValue$Outbound,
|
|
29
|
-
JsonValue$outboundSchema,
|
|
30
|
-
} from "./jsonvalue.js";
|
|
31
25
|
|
|
32
26
|
export type Input2 = {
|
|
33
27
|
type?: string | undefined;
|
|
@@ -40,7 +34,10 @@ export type CreateAgentScheduleRequest = {
|
|
|
40
34
|
name?: string | undefined;
|
|
41
35
|
schedule: AgentScheduleSpec;
|
|
42
36
|
input: string | Array<Input2>;
|
|
43
|
-
|
|
37
|
+
/**
|
|
38
|
+
* Arbitrary JSON value.
|
|
39
|
+
*/
|
|
40
|
+
conversation?: any | undefined;
|
|
44
41
|
previousResponseId?: string | undefined;
|
|
45
42
|
/**
|
|
46
43
|
* Context management strategies to apply during agent-run response generation. Supports compaction, which summarizes older conversation history when the context exceeds a token threshold.
|
|
@@ -140,7 +137,7 @@ export const CreateAgentScheduleRequest$inboundSchema: z.ZodType<
|
|
|
140
137
|
name: z.string().optional(),
|
|
141
138
|
schedule: AgentScheduleSpec$inboundSchema,
|
|
142
139
|
input: z.union([z.string(), z.array(z.lazy(() => Input2$inboundSchema))]),
|
|
143
|
-
conversation: z.
|
|
140
|
+
conversation: z.any().optional(),
|
|
144
141
|
previous_response_id: z.string().optional(),
|
|
145
142
|
context_management: z.array(AgentCompactionContextManagement$inboundSchema)
|
|
146
143
|
.optional(),
|
|
@@ -156,7 +153,7 @@ export type CreateAgentScheduleRequest$Outbound = {
|
|
|
156
153
|
name?: string | undefined;
|
|
157
154
|
schedule: AgentScheduleSpec$Outbound;
|
|
158
155
|
input: string | Array<Input2$Outbound>;
|
|
159
|
-
conversation?:
|
|
156
|
+
conversation?: any | undefined;
|
|
160
157
|
previous_response_id?: string | undefined;
|
|
161
158
|
context_management?:
|
|
162
159
|
| Array<AgentCompactionContextManagement$Outbound>
|
|
@@ -173,7 +170,7 @@ export const CreateAgentScheduleRequest$outboundSchema: z.ZodType<
|
|
|
173
170
|
name: z.string().optional(),
|
|
174
171
|
schedule: AgentScheduleSpec$outboundSchema,
|
|
175
172
|
input: z.union([z.string(), z.array(z.lazy(() => Input2$outboundSchema))]),
|
|
176
|
-
conversation: z.
|
|
173
|
+
conversation: z.any().optional(),
|
|
177
174
|
previousResponseId: z.string().optional(),
|
|
178
175
|
contextManagement: z.array(AgentCompactionContextManagement$outboundSchema)
|
|
179
176
|
.optional(),
|
|
@@ -124,6 +124,10 @@ export * from "./computetenant.js";
|
|
|
124
124
|
export * from "./computetenantlist.js";
|
|
125
125
|
export * from "./computetenantupdate.js";
|
|
126
126
|
export * from "./computeusage.js";
|
|
127
|
+
export * from "./computevolume.js";
|
|
128
|
+
export * from "./computevolumedata.js";
|
|
129
|
+
export * from "./computevolumedatainput.js";
|
|
130
|
+
export * from "./computevolumeinput.js";
|
|
127
131
|
export * from "./containerfilecitation.js";
|
|
128
132
|
export * from "./conversation.js";
|
|
129
133
|
export * from "./conversationdeletedobject.js";
|
|
@@ -286,7 +290,6 @@ export * from "./itemreferencewithid.js";
|
|
|
286
290
|
export * from "./jobstatus.js";
|
|
287
291
|
export * from "./jsonobjectresponseformat.js";
|
|
288
292
|
export * from "./jsonschemaresponseformat.js";
|
|
289
|
-
export * from "./jsonvalue.js";
|
|
290
293
|
export * from "./keypressaction.js";
|
|
291
294
|
export * from "./leakageconfig.js";
|
|
292
295
|
export * from "./leakageguardrail.js";
|
|
@@ -20,12 +20,6 @@ import {
|
|
|
20
20
|
FileSearchCompoundFilter$Outbound,
|
|
21
21
|
FileSearchCompoundFilter$outboundSchema,
|
|
22
22
|
} from "./filesearchcompoundfilter.js";
|
|
23
|
-
import {
|
|
24
|
-
JsonValue,
|
|
25
|
-
JsonValue$inboundSchema,
|
|
26
|
-
JsonValue$Outbound,
|
|
27
|
-
JsonValue$outboundSchema,
|
|
28
|
-
} from "./jsonvalue.js";
|
|
29
23
|
import {
|
|
30
24
|
MCPToolFilter,
|
|
31
25
|
MCPToolFilter$inboundSchema,
|
|
@@ -57,8 +51,11 @@ export type EnvironmentMemoryStores = {
|
|
|
57
51
|
export type Environment2 = {
|
|
58
52
|
type: "container_reference";
|
|
59
53
|
containerId: string;
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
/**
|
|
55
|
+
* Arbitrary JSON value.
|
|
56
|
+
*/
|
|
57
|
+
networkPolicy?: any | undefined;
|
|
58
|
+
skills?: Array<any> | undefined;
|
|
62
59
|
memoryStores?: Array<EnvironmentMemoryStores> | undefined;
|
|
63
60
|
};
|
|
64
61
|
|
|
@@ -78,8 +75,11 @@ export type MemoryStores = {
|
|
|
78
75
|
|
|
79
76
|
export type Environment1 = {
|
|
80
77
|
type: "container_auto";
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
/**
|
|
79
|
+
* Arbitrary JSON value.
|
|
80
|
+
*/
|
|
81
|
+
networkPolicy?: any | undefined;
|
|
82
|
+
skills?: Array<any> | undefined;
|
|
83
83
|
memoryStores?: Array<MemoryStores> | undefined;
|
|
84
84
|
};
|
|
85
85
|
|
|
@@ -234,7 +234,7 @@ export type ToolDefinition2 = {
|
|
|
234
234
|
description?: string | undefined;
|
|
235
235
|
strict?: boolean | undefined;
|
|
236
236
|
deferLoading?: boolean | undefined;
|
|
237
|
-
parameters: { [k: string]:
|
|
237
|
+
parameters: { [k: string]: any };
|
|
238
238
|
};
|
|
239
239
|
|
|
240
240
|
export const ToolDefinitionType = {
|
|
@@ -373,8 +373,8 @@ export const Environment2$inboundSchema: z.ZodType<
|
|
|
373
373
|
> = z.object({
|
|
374
374
|
type: z.literal("container_reference"),
|
|
375
375
|
container_id: z.string(),
|
|
376
|
-
network_policy: z.
|
|
377
|
-
skills: z.array(z.
|
|
376
|
+
network_policy: z.any().optional(),
|
|
377
|
+
skills: z.array(z.any()).optional(),
|
|
378
378
|
memory_stores: z.array(z.lazy(() => EnvironmentMemoryStores$inboundSchema))
|
|
379
379
|
.optional(),
|
|
380
380
|
}).transform((v) => {
|
|
@@ -388,8 +388,8 @@ export const Environment2$inboundSchema: z.ZodType<
|
|
|
388
388
|
export type Environment2$Outbound = {
|
|
389
389
|
type: "container_reference";
|
|
390
390
|
container_id: string;
|
|
391
|
-
network_policy?:
|
|
392
|
-
skills?: Array<
|
|
391
|
+
network_policy?: any | undefined;
|
|
392
|
+
skills?: Array<any> | undefined;
|
|
393
393
|
memory_stores?: Array<EnvironmentMemoryStores$Outbound> | undefined;
|
|
394
394
|
};
|
|
395
395
|
|
|
@@ -401,8 +401,8 @@ export const Environment2$outboundSchema: z.ZodType<
|
|
|
401
401
|
> = z.object({
|
|
402
402
|
type: z.literal("container_reference"),
|
|
403
403
|
containerId: z.string(),
|
|
404
|
-
networkPolicy: z.
|
|
405
|
-
skills: z.array(z.
|
|
404
|
+
networkPolicy: z.any().optional(),
|
|
405
|
+
skills: z.array(z.any()).optional(),
|
|
406
406
|
memoryStores: z.array(z.lazy(() => EnvironmentMemoryStores$outboundSchema))
|
|
407
407
|
.optional(),
|
|
408
408
|
}).transform((v) => {
|
|
@@ -497,8 +497,8 @@ export const Environment1$inboundSchema: z.ZodType<
|
|
|
497
497
|
unknown
|
|
498
498
|
> = z.object({
|
|
499
499
|
type: z.literal("container_auto"),
|
|
500
|
-
network_policy: z.
|
|
501
|
-
skills: z.array(z.
|
|
500
|
+
network_policy: z.any().optional(),
|
|
501
|
+
skills: z.array(z.any()).optional(),
|
|
502
502
|
memory_stores: z.array(z.lazy(() => MemoryStores$inboundSchema)).optional(),
|
|
503
503
|
}).transform((v) => {
|
|
504
504
|
return remap$(v, {
|
|
@@ -509,8 +509,8 @@ export const Environment1$inboundSchema: z.ZodType<
|
|
|
509
509
|
/** @internal */
|
|
510
510
|
export type Environment1$Outbound = {
|
|
511
511
|
type: "container_auto";
|
|
512
|
-
network_policy?:
|
|
513
|
-
skills?: Array<
|
|
512
|
+
network_policy?: any | undefined;
|
|
513
|
+
skills?: Array<any> | undefined;
|
|
514
514
|
memory_stores?: Array<MemoryStores$Outbound> | undefined;
|
|
515
515
|
};
|
|
516
516
|
|
|
@@ -521,8 +521,8 @@ export const Environment1$outboundSchema: z.ZodType<
|
|
|
521
521
|
Environment1
|
|
522
522
|
> = z.object({
|
|
523
523
|
type: z.literal("container_auto"),
|
|
524
|
-
networkPolicy: z.
|
|
525
|
-
skills: z.array(z.
|
|
524
|
+
networkPolicy: z.any().optional(),
|
|
525
|
+
skills: z.array(z.any()).optional(),
|
|
526
526
|
memoryStores: z.array(z.lazy(() => MemoryStores$outboundSchema)).optional(),
|
|
527
527
|
}).transform((v) => {
|
|
528
528
|
return remap$(v, {
|
|
@@ -1490,7 +1490,7 @@ export const ToolDefinition2$inboundSchema: z.ZodType<
|
|
|
1490
1490
|
description: z.string().optional(),
|
|
1491
1491
|
strict: z.boolean().optional(),
|
|
1492
1492
|
defer_loading: z.boolean().optional(),
|
|
1493
|
-
parameters: z.record(z.
|
|
1493
|
+
parameters: z.record(z.any()),
|
|
1494
1494
|
}).transform((v) => {
|
|
1495
1495
|
return remap$(v, {
|
|
1496
1496
|
"defer_loading": "deferLoading",
|
|
@@ -1503,7 +1503,7 @@ export type ToolDefinition2$Outbound = {
|
|
|
1503
1503
|
description?: string | undefined;
|
|
1504
1504
|
strict?: boolean | undefined;
|
|
1505
1505
|
defer_loading?: boolean | undefined;
|
|
1506
|
-
parameters: { [k: string]:
|
|
1506
|
+
parameters: { [k: string]: any };
|
|
1507
1507
|
};
|
|
1508
1508
|
|
|
1509
1509
|
/** @internal */
|
|
@@ -1517,7 +1517,7 @@ export const ToolDefinition2$outboundSchema: z.ZodType<
|
|
|
1517
1517
|
description: z.string().optional(),
|
|
1518
1518
|
strict: z.boolean().optional(),
|
|
1519
1519
|
deferLoading: z.boolean().optional(),
|
|
1520
|
-
parameters: z.record(z.
|
|
1520
|
+
parameters: z.record(z.any()),
|
|
1521
1521
|
}).transform((v) => {
|
|
1522
1522
|
return remap$(v, {
|
|
1523
1523
|
deferLoading: "defer_loading",
|