@meetkai/mka1 0.55.22 → 0.55.24
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 +275 -83
- package/bin/mcp-server.js.map +24 -20
- package/dist/commonjs/funcs/llmModelsCheckCatalogHealth.d.ts +1 -1
- package/dist/commonjs/funcs/llmModelsCheckCatalogHealth.js +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/mcp-server/mcp-server.js +1 -1
- package/dist/commonjs/mcp-server/server.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmModelsCheckCatalogHealth.js +1 -1
- package/dist/commonjs/mcp-server/tools/llmModelsCheckCatalogHealth.js.map +1 -1
- package/dist/commonjs/models/components/agentssandboxsessionscope.d.ts +18 -0
- package/dist/commonjs/models/components/agentssandboxsessionscope.d.ts.map +1 -0
- package/dist/commonjs/models/components/agentssandboxsessionscope.js +52 -0
- package/dist/commonjs/models/components/agentssandboxsessionscope.js.map +1 -0
- package/dist/commonjs/models/components/cataloghealth.d.ts +17 -0
- package/dist/commonjs/models/components/cataloghealth.d.ts.map +1 -1
- package/dist/commonjs/models/components/cataloghealth.js +3 -0
- package/dist/commonjs/models/components/cataloghealth.js.map +1 -1
- package/dist/commonjs/models/components/cataloghealthresponse.d.ts +14 -0
- package/dist/commonjs/models/components/cataloghealthresponse.d.ts.map +1 -1
- package/dist/commonjs/models/components/cataloghealthresponse.js +3 -0
- package/dist/commonjs/models/components/cataloghealthresponse.js.map +1 -1
- package/dist/commonjs/models/components/cataloghealthstatus.d.ts +19 -0
- package/dist/commonjs/models/components/cataloghealthstatus.d.ts.map +1 -0
- package/dist/commonjs/models/components/cataloghealthstatus.js +53 -0
- package/dist/commonjs/models/components/cataloghealthstatus.js.map +1 -0
- package/dist/commonjs/models/components/codeinterpretercontainerauto.d.ts +6 -0
- package/dist/commonjs/models/components/codeinterpretercontainerauto.d.ts.map +1 -1
- package/dist/commonjs/models/components/codeinterpretercontainerauto.js +5 -0
- package/dist/commonjs/models/components/codeinterpretercontainerauto.js.map +1 -1
- package/dist/commonjs/models/components/codeinterpretertoolrequest.d.ts +6 -0
- package/dist/commonjs/models/components/codeinterpretertoolrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/codeinterpretertoolrequest.js +5 -0
- package/dist/commonjs/models/components/codeinterpretertoolrequest.js.map +1 -1
- package/dist/commonjs/models/components/index.d.ts +4 -0
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +4 -0
- package/dist/commonjs/models/components/index.js.map +1 -1
- package/dist/commonjs/models/components/livekittokenrequest.d.ts +6 -6
- package/dist/commonjs/models/components/livekittokenrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/livekittokenrequest.js +5 -5
- package/dist/commonjs/models/components/livekittokenrequest.js.map +1 -1
- package/dist/commonjs/models/components/responsescreaterequest.d.ts +6 -6
- package/dist/commonjs/models/components/responsescreaterequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/responsescreaterequest.js +5 -5
- package/dist/commonjs/models/components/responsescreaterequest.js.map +1 -1
- package/dist/commonjs/models/components/sandboxsessionscope.d.ts +18 -0
- package/dist/commonjs/models/components/sandboxsessionscope.d.ts.map +1 -0
- package/dist/commonjs/models/components/sandboxsessionscope.js +52 -0
- package/dist/commonjs/models/components/sandboxsessionscope.js.map +1 -0
- package/dist/commonjs/models/components/shellenvironmentcontainerauto.d.ts +6 -0
- package/dist/commonjs/models/components/shellenvironmentcontainerauto.d.ts.map +1 -1
- package/dist/commonjs/models/components/shellenvironmentcontainerauto.js +5 -0
- package/dist/commonjs/models/components/shellenvironmentcontainerauto.js.map +1 -1
- package/dist/commonjs/models/components/shelltoolrequest.d.ts +73 -0
- package/dist/commonjs/models/components/shelltoolrequest.d.ts.map +1 -0
- package/dist/commonjs/models/components/shelltoolrequest.js +129 -0
- package/dist/commonjs/models/components/shelltoolrequest.js.map +1 -0
- package/dist/commonjs/models/components/tooldefinition.d.ts +108 -30
- package/dist/commonjs/models/components/tooldefinition.d.ts.map +1 -1
- package/dist/commonjs/models/components/tooldefinition.js +155 -47
- package/dist/commonjs/models/components/tooldefinition.js.map +1 -1
- package/dist/commonjs/react-query/llmModelsCheckCatalogHealth.d.ts +1 -1
- package/dist/commonjs/react-query/llmModelsCheckCatalogHealth.js +1 -1
- package/dist/commonjs/sdk/models.d.ts +1 -1
- package/dist/commonjs/sdk/models.js +1 -1
- package/dist/esm/funcs/llmModelsCheckCatalogHealth.d.ts +1 -1
- package/dist/esm/funcs/llmModelsCheckCatalogHealth.js +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/mcp-server/tools/llmModelsCheckCatalogHealth.js +1 -1
- package/dist/esm/mcp-server/tools/llmModelsCheckCatalogHealth.js.map +1 -1
- package/dist/esm/models/components/agentssandboxsessionscope.d.ts +18 -0
- package/dist/esm/models/components/agentssandboxsessionscope.d.ts.map +1 -0
- package/dist/esm/models/components/agentssandboxsessionscope.js +16 -0
- package/dist/esm/models/components/agentssandboxsessionscope.js.map +1 -0
- package/dist/esm/models/components/cataloghealth.d.ts +17 -0
- package/dist/esm/models/components/cataloghealth.d.ts.map +1 -1
- package/dist/esm/models/components/cataloghealth.js +3 -0
- package/dist/esm/models/components/cataloghealth.js.map +1 -1
- package/dist/esm/models/components/cataloghealthresponse.d.ts +14 -0
- package/dist/esm/models/components/cataloghealthresponse.d.ts.map +1 -1
- package/dist/esm/models/components/cataloghealthresponse.js +3 -0
- package/dist/esm/models/components/cataloghealthresponse.js.map +1 -1
- package/dist/esm/models/components/cataloghealthstatus.d.ts +19 -0
- package/dist/esm/models/components/cataloghealthstatus.d.ts.map +1 -0
- package/dist/esm/models/components/cataloghealthstatus.js +17 -0
- package/dist/esm/models/components/cataloghealthstatus.js.map +1 -0
- package/dist/esm/models/components/codeinterpretercontainerauto.d.ts +6 -0
- package/dist/esm/models/components/codeinterpretercontainerauto.d.ts.map +1 -1
- package/dist/esm/models/components/codeinterpretercontainerauto.js +5 -0
- package/dist/esm/models/components/codeinterpretercontainerauto.js.map +1 -1
- package/dist/esm/models/components/codeinterpretertoolrequest.d.ts +6 -0
- package/dist/esm/models/components/codeinterpretertoolrequest.d.ts.map +1 -1
- package/dist/esm/models/components/codeinterpretertoolrequest.js +5 -0
- package/dist/esm/models/components/codeinterpretertoolrequest.js.map +1 -1
- package/dist/esm/models/components/index.d.ts +4 -0
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +4 -0
- package/dist/esm/models/components/index.js.map +1 -1
- package/dist/esm/models/components/livekittokenrequest.d.ts +6 -6
- package/dist/esm/models/components/livekittokenrequest.d.ts.map +1 -1
- package/dist/esm/models/components/livekittokenrequest.js +5 -5
- package/dist/esm/models/components/livekittokenrequest.js.map +1 -1
- package/dist/esm/models/components/responsescreaterequest.d.ts +6 -6
- package/dist/esm/models/components/responsescreaterequest.d.ts.map +1 -1
- package/dist/esm/models/components/responsescreaterequest.js +5 -5
- package/dist/esm/models/components/responsescreaterequest.js.map +1 -1
- package/dist/esm/models/components/sandboxsessionscope.d.ts +18 -0
- package/dist/esm/models/components/sandboxsessionscope.d.ts.map +1 -0
- package/dist/esm/models/components/sandboxsessionscope.js +16 -0
- package/dist/esm/models/components/sandboxsessionscope.js.map +1 -0
- package/dist/esm/models/components/shellenvironmentcontainerauto.d.ts +6 -0
- package/dist/esm/models/components/shellenvironmentcontainerauto.d.ts.map +1 -1
- package/dist/esm/models/components/shellenvironmentcontainerauto.js +5 -0
- package/dist/esm/models/components/shellenvironmentcontainerauto.js.map +1 -1
- package/dist/esm/models/components/shelltoolrequest.d.ts +73 -0
- package/dist/esm/models/components/shelltoolrequest.d.ts.map +1 -0
- package/dist/esm/models/components/shelltoolrequest.js +87 -0
- package/dist/esm/models/components/shelltoolrequest.js.map +1 -0
- package/dist/esm/models/components/tooldefinition.d.ts +108 -30
- package/dist/esm/models/components/tooldefinition.d.ts.map +1 -1
- package/dist/esm/models/components/tooldefinition.js +142 -41
- package/dist/esm/models/components/tooldefinition.js.map +1 -1
- package/dist/esm/react-query/llmModelsCheckCatalogHealth.d.ts +1 -1
- package/dist/esm/react-query/llmModelsCheckCatalogHealth.js +1 -1
- package/dist/esm/sdk/models.d.ts +1 -1
- package/dist/esm/sdk/models.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/llmModelsCheckCatalogHealth.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/llmModelsCheckCatalogHealth.ts +1 -1
- package/src/models/components/agentssandboxsessionscope.ts +29 -0
- package/src/models/components/cataloghealth.ts +23 -0
- package/src/models/components/cataloghealthresponse.ts +20 -0
- package/src/models/components/cataloghealthstatus.ts +28 -0
- package/src/models/components/codeinterpretercontainerauto.ts +14 -0
- package/src/models/components/codeinterpretertoolrequest.ts +14 -0
- package/src/models/components/index.ts +4 -0
- package/src/models/components/livekittokenrequest.ts +14 -14
- package/src/models/components/responsescreaterequest.ts +14 -14
- package/src/models/components/sandboxsessionscope.ts +27 -0
- package/src/models/components/shellenvironmentcontainerauto.ts +14 -0
- package/src/models/components/shelltoolrequest.ts +219 -0
- package/src/models/components/tooldefinition.ts +315 -83
- package/src/react-query/llmModelsCheckCatalogHealth.ts +1 -1
- package/src/sdk/models.ts +1 -1
|
@@ -7,10 +7,30 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
CatalogHealthStatus,
|
|
12
|
+
CatalogHealthStatus$inboundSchema,
|
|
13
|
+
CatalogHealthStatus$outboundSchema,
|
|
14
|
+
} from "./cataloghealthstatus.js";
|
|
10
15
|
|
|
11
16
|
export type CatalogHealth = {
|
|
17
|
+
/**
|
|
18
|
+
* Provider health from the latest probe verdict: `available` or `unavailable`. `unknown` when there is no verdict: the definition has no health check, or its check has not run yet or its last verdict expired.
|
|
19
|
+
*/
|
|
20
|
+
status: CatalogHealthStatus;
|
|
21
|
+
/**
|
|
22
|
+
* Deprecated: read `status`. False only when `status` is `unavailable`, so it is also true when health is unknown.
|
|
23
|
+
*
|
|
24
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
25
|
+
*/
|
|
12
26
|
isAvailable: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Epoch ms when the verdict's probe started; null when there is no verdict.
|
|
29
|
+
*/
|
|
13
30
|
lastHealthCheck: number | null;
|
|
31
|
+
/**
|
|
32
|
+
* Why the verdict is unavailable; null when it is available or there is no verdict.
|
|
33
|
+
*/
|
|
14
34
|
error: string | null;
|
|
15
35
|
};
|
|
16
36
|
|
|
@@ -20,6 +40,7 @@ export const CatalogHealth$inboundSchema: z.ZodType<
|
|
|
20
40
|
z.ZodTypeDef,
|
|
21
41
|
unknown
|
|
22
42
|
> = z.object({
|
|
43
|
+
status: CatalogHealthStatus$inboundSchema,
|
|
23
44
|
is_available: z.boolean(),
|
|
24
45
|
last_health_check: z.nullable(z.number()),
|
|
25
46
|
error: z.nullable(z.string()),
|
|
@@ -31,6 +52,7 @@ export const CatalogHealth$inboundSchema: z.ZodType<
|
|
|
31
52
|
});
|
|
32
53
|
/** @internal */
|
|
33
54
|
export type CatalogHealth$Outbound = {
|
|
55
|
+
status: string;
|
|
34
56
|
is_available: boolean;
|
|
35
57
|
last_health_check: number | null;
|
|
36
58
|
error: string | null;
|
|
@@ -42,6 +64,7 @@ export const CatalogHealth$outboundSchema: z.ZodType<
|
|
|
42
64
|
z.ZodTypeDef,
|
|
43
65
|
CatalogHealth
|
|
44
66
|
> = z.object({
|
|
67
|
+
status: CatalogHealthStatus$outboundSchema,
|
|
45
68
|
isAvailable: z.boolean(),
|
|
46
69
|
lastHealthCheck: z.nullable(z.number()),
|
|
47
70
|
error: z.nullable(z.string()),
|
|
@@ -7,10 +7,27 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
import { safeParse } from "../../lib/schemas.js";
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import {
|
|
11
|
+
CatalogHealthStatus,
|
|
12
|
+
CatalogHealthStatus$inboundSchema,
|
|
13
|
+
CatalogHealthStatus$outboundSchema,
|
|
14
|
+
} from "./cataloghealthstatus.js";
|
|
10
15
|
|
|
11
16
|
export type CatalogHealthResponse = {
|
|
17
|
+
/**
|
|
18
|
+
* Provider health from the latest probe verdict: `available` or `unavailable`. `unknown` when there is no verdict: the definition has no health check, or its check has not run yet or its last verdict expired.
|
|
19
|
+
*/
|
|
20
|
+
status: CatalogHealthStatus;
|
|
21
|
+
/**
|
|
22
|
+
* Deprecated: read `status`. False only when `status` is `unavailable`, so it is also true when health is unknown.
|
|
23
|
+
*
|
|
24
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
25
|
+
*/
|
|
12
26
|
isAvailable: boolean;
|
|
13
27
|
error?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Epoch ms when the probe started. With `status` `unknown` no probe ran, and this is the response time.
|
|
30
|
+
*/
|
|
14
31
|
checkedAt: number;
|
|
15
32
|
};
|
|
16
33
|
|
|
@@ -20,6 +37,7 @@ export const CatalogHealthResponse$inboundSchema: z.ZodType<
|
|
|
20
37
|
z.ZodTypeDef,
|
|
21
38
|
unknown
|
|
22
39
|
> = z.object({
|
|
40
|
+
status: CatalogHealthStatus$inboundSchema,
|
|
23
41
|
is_available: z.boolean(),
|
|
24
42
|
error: z.string().optional(),
|
|
25
43
|
checked_at: z.number(),
|
|
@@ -31,6 +49,7 @@ export const CatalogHealthResponse$inboundSchema: z.ZodType<
|
|
|
31
49
|
});
|
|
32
50
|
/** @internal */
|
|
33
51
|
export type CatalogHealthResponse$Outbound = {
|
|
52
|
+
status: string;
|
|
34
53
|
is_available: boolean;
|
|
35
54
|
error?: string | undefined;
|
|
36
55
|
checked_at: number;
|
|
@@ -42,6 +61,7 @@ export const CatalogHealthResponse$outboundSchema: z.ZodType<
|
|
|
42
61
|
z.ZodTypeDef,
|
|
43
62
|
CatalogHealthResponse
|
|
44
63
|
> = z.object({
|
|
64
|
+
status: CatalogHealthStatus$outboundSchema,
|
|
45
65
|
isAvailable: z.boolean(),
|
|
46
66
|
error: z.string().optional(),
|
|
47
67
|
checkedAt: z.number(),
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Provider health from the latest probe verdict: `available` or `unavailable`. `unknown` when there is no verdict: the definition has no health check, or its check has not run yet or its last verdict expired.
|
|
10
|
+
*/
|
|
11
|
+
export const CatalogHealthStatus = {
|
|
12
|
+
Available: "available",
|
|
13
|
+
Unavailable: "unavailable",
|
|
14
|
+
Unknown: "unknown",
|
|
15
|
+
} as const;
|
|
16
|
+
/**
|
|
17
|
+
* Provider health from the latest probe verdict: `available` or `unavailable`. `unknown` when there is no verdict: the definition has no health check, or its check has not run yet or its last verdict expired.
|
|
18
|
+
*/
|
|
19
|
+
export type CatalogHealthStatus = ClosedEnum<typeof CatalogHealthStatus>;
|
|
20
|
+
|
|
21
|
+
/** @internal */
|
|
22
|
+
export const CatalogHealthStatus$inboundSchema: z.ZodNativeEnum<
|
|
23
|
+
typeof CatalogHealthStatus
|
|
24
|
+
> = z.nativeEnum(CatalogHealthStatus);
|
|
25
|
+
/** @internal */
|
|
26
|
+
export const CatalogHealthStatus$outboundSchema: z.ZodNativeEnum<
|
|
27
|
+
typeof CatalogHealthStatus
|
|
28
|
+
> = CatalogHealthStatus$inboundSchema;
|
|
@@ -8,6 +8,11 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
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
|
+
import {
|
|
12
|
+
SandboxSessionScope,
|
|
13
|
+
SandboxSessionScope$inboundSchema,
|
|
14
|
+
SandboxSessionScope$outboundSchema,
|
|
15
|
+
} from "./sandboxsessionscope.js";
|
|
11
16
|
|
|
12
17
|
export const MemoryLimit = {
|
|
13
18
|
FiveHundredAndTwelvem: "512m",
|
|
@@ -21,6 +26,10 @@ export type MemoryLimit = ClosedEnum<typeof MemoryLimit>;
|
|
|
21
26
|
|
|
22
27
|
export type CodeInterpreterContainerAuto = {
|
|
23
28
|
type: "auto";
|
|
29
|
+
/**
|
|
30
|
+
* Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
|
|
31
|
+
*/
|
|
32
|
+
sessionScope?: SandboxSessionScope | undefined;
|
|
24
33
|
fileIds?: Array<string> | null | undefined;
|
|
25
34
|
/**
|
|
26
35
|
* Guest memory cap. New requests support 512m, 1g, or 2g; larger legacy values remain readable only in historical responses.
|
|
@@ -42,10 +51,12 @@ export const CodeInterpreterContainerAuto$inboundSchema: z.ZodType<
|
|
|
42
51
|
unknown
|
|
43
52
|
> = z.object({
|
|
44
53
|
type: z.literal("auto"),
|
|
54
|
+
session_scope: SandboxSessionScope$inboundSchema.optional(),
|
|
45
55
|
file_ids: z.nullable(z.array(z.string())).optional(),
|
|
46
56
|
memory_limit: z.nullable(MemoryLimit$inboundSchema).optional(),
|
|
47
57
|
}).transform((v) => {
|
|
48
58
|
return remap$(v, {
|
|
59
|
+
"session_scope": "sessionScope",
|
|
49
60
|
"file_ids": "fileIds",
|
|
50
61
|
"memory_limit": "memoryLimit",
|
|
51
62
|
});
|
|
@@ -53,6 +64,7 @@ export const CodeInterpreterContainerAuto$inboundSchema: z.ZodType<
|
|
|
53
64
|
/** @internal */
|
|
54
65
|
export type CodeInterpreterContainerAuto$Outbound = {
|
|
55
66
|
type: "auto";
|
|
67
|
+
session_scope?: string | undefined;
|
|
56
68
|
file_ids?: Array<string> | null | undefined;
|
|
57
69
|
memory_limit?: string | null | undefined;
|
|
58
70
|
};
|
|
@@ -64,10 +76,12 @@ export const CodeInterpreterContainerAuto$outboundSchema: z.ZodType<
|
|
|
64
76
|
CodeInterpreterContainerAuto
|
|
65
77
|
> = z.object({
|
|
66
78
|
type: z.literal("auto"),
|
|
79
|
+
sessionScope: SandboxSessionScope$outboundSchema.optional(),
|
|
67
80
|
fileIds: z.nullable(z.array(z.string())).optional(),
|
|
68
81
|
memoryLimit: z.nullable(MemoryLimit$outboundSchema).optional(),
|
|
69
82
|
}).transform((v) => {
|
|
70
83
|
return remap$(v, {
|
|
84
|
+
sessionScope: "session_scope",
|
|
71
85
|
fileIds: "file_ids",
|
|
72
86
|
memoryLimit: "memory_limit",
|
|
73
87
|
});
|
|
@@ -8,6 +8,11 @@ import { safeParse } from "../../lib/schemas.js";
|
|
|
8
8
|
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
|
+
import {
|
|
12
|
+
SandboxSessionScope,
|
|
13
|
+
SandboxSessionScope$inboundSchema,
|
|
14
|
+
SandboxSessionScope$outboundSchema,
|
|
15
|
+
} from "./sandboxsessionscope.js";
|
|
11
16
|
|
|
12
17
|
export const ContainerMemoryLimit = {
|
|
13
18
|
FiveHundredAndTwelvem: "512m",
|
|
@@ -18,6 +23,10 @@ export type ContainerMemoryLimit = ClosedEnum<typeof ContainerMemoryLimit>;
|
|
|
18
23
|
|
|
19
24
|
export type Container2 = {
|
|
20
25
|
type: "auto";
|
|
26
|
+
/**
|
|
27
|
+
* Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
|
|
28
|
+
*/
|
|
29
|
+
sessionScope?: SandboxSessionScope | undefined;
|
|
21
30
|
fileIds?: Array<string> | null | undefined;
|
|
22
31
|
/**
|
|
23
32
|
* Hard guest cap: 512 MiB, 1 GiB, or 2 GiB. Omit for automatic sizing; an explicit cap never grows.
|
|
@@ -48,10 +57,12 @@ export const Container2$inboundSchema: z.ZodType<
|
|
|
48
57
|
unknown
|
|
49
58
|
> = z.object({
|
|
50
59
|
type: z.literal("auto"),
|
|
60
|
+
session_scope: SandboxSessionScope$inboundSchema.optional(),
|
|
51
61
|
file_ids: z.nullable(z.array(z.string())).optional(),
|
|
52
62
|
memory_limit: z.nullable(ContainerMemoryLimit$inboundSchema).optional(),
|
|
53
63
|
}).transform((v) => {
|
|
54
64
|
return remap$(v, {
|
|
65
|
+
"session_scope": "sessionScope",
|
|
55
66
|
"file_ids": "fileIds",
|
|
56
67
|
"memory_limit": "memoryLimit",
|
|
57
68
|
});
|
|
@@ -59,6 +70,7 @@ export const Container2$inboundSchema: z.ZodType<
|
|
|
59
70
|
/** @internal */
|
|
60
71
|
export type Container2$Outbound = {
|
|
61
72
|
type: "auto";
|
|
73
|
+
session_scope?: string | undefined;
|
|
62
74
|
file_ids?: Array<string> | null | undefined;
|
|
63
75
|
memory_limit?: string | null | undefined;
|
|
64
76
|
};
|
|
@@ -70,10 +82,12 @@ export const Container2$outboundSchema: z.ZodType<
|
|
|
70
82
|
Container2
|
|
71
83
|
> = z.object({
|
|
72
84
|
type: z.literal("auto"),
|
|
85
|
+
sessionScope: SandboxSessionScope$outboundSchema.optional(),
|
|
73
86
|
fileIds: z.nullable(z.array(z.string())).optional(),
|
|
74
87
|
memoryLimit: z.nullable(ContainerMemoryLimit$outboundSchema).optional(),
|
|
75
88
|
}).transform((v) => {
|
|
76
89
|
return remap$(v, {
|
|
90
|
+
sessionScope: "session_scope",
|
|
77
91
|
fileIds: "file_ids",
|
|
78
92
|
memoryLimit: "memory_limit",
|
|
79
93
|
});
|
|
@@ -25,6 +25,7 @@ export * from "./agentschedule.js";
|
|
|
25
25
|
export * from "./agentschedulelist.js";
|
|
26
26
|
export * from "./agentschedulespec.js";
|
|
27
27
|
export * from "./agentsfunctiontooldefinition.js";
|
|
28
|
+
export * from "./agentssandboxsessionscope.js";
|
|
28
29
|
export * from "./agenttextconfiguration.js";
|
|
29
30
|
export * from "./agenttooldefinition.js";
|
|
30
31
|
export * from "./agentversion.js";
|
|
@@ -68,6 +69,7 @@ export * from "./catalogactivationstate.js";
|
|
|
68
69
|
export * from "./catalogentry.js";
|
|
69
70
|
export * from "./cataloghealth.js";
|
|
70
71
|
export * from "./cataloghealthresponse.js";
|
|
72
|
+
export * from "./cataloghealthstatus.js";
|
|
71
73
|
export * from "./cataloglifecycle.js";
|
|
72
74
|
export * from "./cataloglistresponse.js";
|
|
73
75
|
export * from "./catalogpricepreview.js";
|
|
@@ -665,6 +667,7 @@ export * from "./sandboxpricingupdate.js";
|
|
|
665
667
|
export * from "./sandboxprovider.js";
|
|
666
668
|
export * from "./sandboxresourceclass.js";
|
|
667
669
|
export * from "./sandboxruntimeprofile.js";
|
|
670
|
+
export * from "./sandboxsessionscope.js";
|
|
668
671
|
export * from "./sandboxusagebucket.js";
|
|
669
672
|
export * from "./sandboxusagebucketwidth.js";
|
|
670
673
|
export * from "./sandboxusageoperation.js";
|
|
@@ -709,6 +712,7 @@ export * from "./shellenvironmentcontainerreference.js";
|
|
|
709
712
|
export * from "./shellnetworkpolicy.js";
|
|
710
713
|
export * from "./shellnetworkpolicydomainsecret.js";
|
|
711
714
|
export * from "./shelltooldefinition.js";
|
|
715
|
+
export * from "./shelltoolrequest.js";
|
|
712
716
|
export * from "./skill.js";
|
|
713
717
|
export * from "./skillentry.js";
|
|
714
718
|
export * from "./skilllist.js";
|
|
@@ -99,11 +99,11 @@ import {
|
|
|
99
99
|
ReasoningConfiguration$outboundSchema,
|
|
100
100
|
} from "./reasoningconfiguration.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
102
|
+
ShellToolRequest,
|
|
103
|
+
ShellToolRequest$inboundSchema,
|
|
104
|
+
ShellToolRequest$Outbound,
|
|
105
|
+
ShellToolRequest$outboundSchema,
|
|
106
|
+
} from "./shelltoolrequest.js";
|
|
107
107
|
import {
|
|
108
108
|
SleepToolDefinition,
|
|
109
109
|
SleepToolDefinition$inboundSchema,
|
|
@@ -154,7 +154,7 @@ export type LivekitTokenRequestTools =
|
|
|
154
154
|
| MCPToolDefinition
|
|
155
155
|
| ImageGenerationToolDefinition
|
|
156
156
|
| LocalShellToolDefinition
|
|
157
|
-
|
|
|
157
|
+
| ShellToolRequest
|
|
158
158
|
| WebSearchPreviewToolDefinition
|
|
159
159
|
| HostedToolShorthandDefinition
|
|
160
160
|
| SleepToolDefinition
|
|
@@ -226,7 +226,7 @@ export type Llm = {
|
|
|
226
226
|
| MCPToolDefinition
|
|
227
227
|
| ImageGenerationToolDefinition
|
|
228
228
|
| LocalShellToolDefinition
|
|
229
|
-
|
|
|
229
|
+
| ShellToolRequest
|
|
230
230
|
| WebSearchPreviewToolDefinition
|
|
231
231
|
| HostedToolShorthandDefinition
|
|
232
232
|
| SleepToolDefinition
|
|
@@ -279,7 +279,7 @@ export type Llm = {
|
|
|
279
279
|
*/
|
|
280
280
|
serviceTier?: LivekitTokenRequestServiceTier | undefined;
|
|
281
281
|
/**
|
|
282
|
-
* Custom metadata to attach to this response as key-value pairs. Keys must be strings up to 64 characters, values must be strings up to 512 characters. Maximum 16 pairs. Useful for tracking, categorization, or passing custom identifiers through your system.
|
|
282
|
+
* Custom metadata to attach to this response as key-value pairs. Keys must be strings up to 64 characters, values must be strings up to 512 characters. Maximum 16 pairs, excluding invocation workspace linkage. Useful for tracking, categorization, or passing custom identifiers through your system.
|
|
283
283
|
*/
|
|
284
284
|
metadata?: { [k: string]: string } | undefined;
|
|
285
285
|
text?: TextConfiguration | undefined;
|
|
@@ -390,7 +390,7 @@ export const LivekitTokenRequestTools$inboundSchema: z.ZodType<
|
|
|
390
390
|
MCPToolDefinition$inboundSchema,
|
|
391
391
|
ImageGenerationToolDefinition$inboundSchema,
|
|
392
392
|
LocalShellToolDefinition$inboundSchema,
|
|
393
|
-
|
|
393
|
+
ShellToolRequest$inboundSchema,
|
|
394
394
|
WebSearchPreviewToolDefinition$inboundSchema,
|
|
395
395
|
HostedToolShorthandDefinition$inboundSchema,
|
|
396
396
|
SleepToolDefinition$inboundSchema,
|
|
@@ -408,7 +408,7 @@ export type LivekitTokenRequestTools$Outbound =
|
|
|
408
408
|
| MCPToolDefinition$Outbound
|
|
409
409
|
| ImageGenerationToolDefinition$Outbound
|
|
410
410
|
| LocalShellToolDefinition$Outbound
|
|
411
|
-
|
|
|
411
|
+
| ShellToolRequest$Outbound
|
|
412
412
|
| WebSearchPreviewToolDefinition$Outbound
|
|
413
413
|
| HostedToolShorthandDefinition$Outbound
|
|
414
414
|
| SleepToolDefinition$Outbound
|
|
@@ -430,7 +430,7 @@ export const LivekitTokenRequestTools$outboundSchema: z.ZodType<
|
|
|
430
430
|
MCPToolDefinition$outboundSchema,
|
|
431
431
|
ImageGenerationToolDefinition$outboundSchema,
|
|
432
432
|
LocalShellToolDefinition$outboundSchema,
|
|
433
|
-
|
|
433
|
+
ShellToolRequest$outboundSchema,
|
|
434
434
|
WebSearchPreviewToolDefinition$outboundSchema,
|
|
435
435
|
HostedToolShorthandDefinition$outboundSchema,
|
|
436
436
|
SleepToolDefinition$outboundSchema,
|
|
@@ -493,7 +493,7 @@ export const Llm$inboundSchema: z.ZodType<Llm, z.ZodTypeDef, unknown> = z
|
|
|
493
493
|
MCPToolDefinition$inboundSchema,
|
|
494
494
|
ImageGenerationToolDefinition$inboundSchema,
|
|
495
495
|
LocalShellToolDefinition$inboundSchema,
|
|
496
|
-
|
|
496
|
+
ShellToolRequest$inboundSchema,
|
|
497
497
|
WebSearchPreviewToolDefinition$inboundSchema,
|
|
498
498
|
HostedToolShorthandDefinition$inboundSchema,
|
|
499
499
|
SleepToolDefinition$inboundSchema,
|
|
@@ -548,7 +548,7 @@ export type Llm$Outbound = {
|
|
|
548
548
|
| MCPToolDefinition$Outbound
|
|
549
549
|
| ImageGenerationToolDefinition$Outbound
|
|
550
550
|
| LocalShellToolDefinition$Outbound
|
|
551
|
-
|
|
|
551
|
+
| ShellToolRequest$Outbound
|
|
552
552
|
| WebSearchPreviewToolDefinition$Outbound
|
|
553
553
|
| HostedToolShorthandDefinition$Outbound
|
|
554
554
|
| SleepToolDefinition$Outbound
|
|
@@ -592,7 +592,7 @@ export const Llm$outboundSchema: z.ZodType<Llm$Outbound, z.ZodTypeDef, Llm> = z
|
|
|
592
592
|
MCPToolDefinition$outboundSchema,
|
|
593
593
|
ImageGenerationToolDefinition$outboundSchema,
|
|
594
594
|
LocalShellToolDefinition$outboundSchema,
|
|
595
|
-
|
|
595
|
+
ShellToolRequest$outboundSchema,
|
|
596
596
|
WebSearchPreviewToolDefinition$outboundSchema,
|
|
597
597
|
HostedToolShorthandDefinition$outboundSchema,
|
|
598
598
|
SleepToolDefinition$outboundSchema,
|
|
@@ -105,11 +105,11 @@ import {
|
|
|
105
105
|
ReasoningConfiguration$outboundSchema,
|
|
106
106
|
} from "./reasoningconfiguration.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
} from "./
|
|
108
|
+
ShellToolRequest,
|
|
109
|
+
ShellToolRequest$inboundSchema,
|
|
110
|
+
ShellToolRequest$Outbound,
|
|
111
|
+
ShellToolRequest$outboundSchema,
|
|
112
|
+
} from "./shelltoolrequest.js";
|
|
113
113
|
import {
|
|
114
114
|
SleepToolDefinition,
|
|
115
115
|
SleepToolDefinition$inboundSchema,
|
|
@@ -181,7 +181,7 @@ export type Tools =
|
|
|
181
181
|
| MCPToolDefinition
|
|
182
182
|
| ImageGenerationToolDefinition
|
|
183
183
|
| LocalShellToolDefinition
|
|
184
|
-
|
|
|
184
|
+
| ShellToolRequest
|
|
185
185
|
| WebSearchPreviewToolDefinition
|
|
186
186
|
| HostedToolShorthandDefinition
|
|
187
187
|
| SleepToolDefinition
|
|
@@ -341,7 +341,7 @@ export type ResponsesCreateRequest = {
|
|
|
341
341
|
| MCPToolDefinition
|
|
342
342
|
| ImageGenerationToolDefinition
|
|
343
343
|
| LocalShellToolDefinition
|
|
344
|
-
|
|
|
344
|
+
| ShellToolRequest
|
|
345
345
|
| WebSearchPreviewToolDefinition
|
|
346
346
|
| HostedToolShorthandDefinition
|
|
347
347
|
| SleepToolDefinition
|
|
@@ -442,7 +442,7 @@ export type ResponsesCreateRequest = {
|
|
|
442
442
|
*/
|
|
443
443
|
safetyIdentifier?: string | undefined;
|
|
444
444
|
/**
|
|
445
|
-
* Custom metadata to attach to this response as key-value pairs. Keys must be strings up to 64 characters, values must be strings up to 512 characters. Maximum 16 pairs. Useful for tracking, categorization, or passing custom identifiers through your system.
|
|
445
|
+
* Custom metadata to attach to this response as key-value pairs. Keys must be strings up to 64 characters, values must be strings up to 512 characters. Maximum 16 pairs, excluding invocation workspace linkage. Useful for tracking, categorization, or passing custom identifiers through your system.
|
|
446
446
|
*/
|
|
447
447
|
metadata?: { [k: string]: string } | undefined;
|
|
448
448
|
/**
|
|
@@ -609,7 +609,7 @@ export const Tools$inboundSchema: z.ZodType<Tools, z.ZodTypeDef, unknown> = z
|
|
|
609
609
|
MCPToolDefinition$inboundSchema,
|
|
610
610
|
ImageGenerationToolDefinition$inboundSchema,
|
|
611
611
|
LocalShellToolDefinition$inboundSchema,
|
|
612
|
-
|
|
612
|
+
ShellToolRequest$inboundSchema,
|
|
613
613
|
WebSearchPreviewToolDefinition$inboundSchema,
|
|
614
614
|
HostedToolShorthandDefinition$inboundSchema,
|
|
615
615
|
SleepToolDefinition$inboundSchema,
|
|
@@ -627,7 +627,7 @@ export type Tools$Outbound =
|
|
|
627
627
|
| MCPToolDefinition$Outbound
|
|
628
628
|
| ImageGenerationToolDefinition$Outbound
|
|
629
629
|
| LocalShellToolDefinition$Outbound
|
|
630
|
-
|
|
|
630
|
+
| ShellToolRequest$Outbound
|
|
631
631
|
| WebSearchPreviewToolDefinition$Outbound
|
|
632
632
|
| HostedToolShorthandDefinition$Outbound
|
|
633
633
|
| SleepToolDefinition$Outbound
|
|
@@ -649,7 +649,7 @@ export const Tools$outboundSchema: z.ZodType<
|
|
|
649
649
|
MCPToolDefinition$outboundSchema,
|
|
650
650
|
ImageGenerationToolDefinition$outboundSchema,
|
|
651
651
|
LocalShellToolDefinition$outboundSchema,
|
|
652
|
-
|
|
652
|
+
ShellToolRequest$outboundSchema,
|
|
653
653
|
WebSearchPreviewToolDefinition$outboundSchema,
|
|
654
654
|
HostedToolShorthandDefinition$outboundSchema,
|
|
655
655
|
SleepToolDefinition$outboundSchema,
|
|
@@ -844,7 +844,7 @@ export const ResponsesCreateRequest$inboundSchema: z.ZodType<
|
|
|
844
844
|
MCPToolDefinition$inboundSchema,
|
|
845
845
|
ImageGenerationToolDefinition$inboundSchema,
|
|
846
846
|
LocalShellToolDefinition$inboundSchema,
|
|
847
|
-
|
|
847
|
+
ShellToolRequest$inboundSchema,
|
|
848
848
|
WebSearchPreviewToolDefinition$inboundSchema,
|
|
849
849
|
HostedToolShorthandDefinition$inboundSchema,
|
|
850
850
|
SleepToolDefinition$inboundSchema,
|
|
@@ -943,7 +943,7 @@ export type ResponsesCreateRequest$Outbound = {
|
|
|
943
943
|
| MCPToolDefinition$Outbound
|
|
944
944
|
| ImageGenerationToolDefinition$Outbound
|
|
945
945
|
| LocalShellToolDefinition$Outbound
|
|
946
|
-
|
|
|
946
|
+
| ShellToolRequest$Outbound
|
|
947
947
|
| WebSearchPreviewToolDefinition$Outbound
|
|
948
948
|
| HostedToolShorthandDefinition$Outbound
|
|
949
949
|
| SleepToolDefinition$Outbound
|
|
@@ -1017,7 +1017,7 @@ export const ResponsesCreateRequest$outboundSchema: z.ZodType<
|
|
|
1017
1017
|
MCPToolDefinition$outboundSchema,
|
|
1018
1018
|
ImageGenerationToolDefinition$outboundSchema,
|
|
1019
1019
|
LocalShellToolDefinition$outboundSchema,
|
|
1020
|
-
|
|
1020
|
+
ShellToolRequest$outboundSchema,
|
|
1021
1021
|
WebSearchPreviewToolDefinition$outboundSchema,
|
|
1022
1022
|
HostedToolShorthandDefinition$outboundSchema,
|
|
1023
1023
|
SleepToolDefinition$outboundSchema,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
|
|
10
|
+
*/
|
|
11
|
+
export const SandboxSessionScope = {
|
|
12
|
+
Conversation: "conversation",
|
|
13
|
+
Request: "request",
|
|
14
|
+
} as const;
|
|
15
|
+
/**
|
|
16
|
+
* Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
|
|
17
|
+
*/
|
|
18
|
+
export type SandboxSessionScope = ClosedEnum<typeof SandboxSessionScope>;
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const SandboxSessionScope$inboundSchema: z.ZodNativeEnum<
|
|
22
|
+
typeof SandboxSessionScope
|
|
23
|
+
> = z.nativeEnum(SandboxSessionScope);
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const SandboxSessionScope$outboundSchema: z.ZodNativeEnum<
|
|
26
|
+
typeof SandboxSessionScope
|
|
27
|
+
> = SandboxSessionScope$inboundSchema;
|
|
@@ -13,6 +13,11 @@ import {
|
|
|
13
13
|
MemoryStoreMount$Outbound,
|
|
14
14
|
MemoryStoreMount$outboundSchema,
|
|
15
15
|
} from "./memorystoremount.js";
|
|
16
|
+
import {
|
|
17
|
+
SandboxSessionScope,
|
|
18
|
+
SandboxSessionScope$inboundSchema,
|
|
19
|
+
SandboxSessionScope$outboundSchema,
|
|
20
|
+
} from "./sandboxsessionscope.js";
|
|
16
21
|
import {
|
|
17
22
|
ShellNetworkPolicy,
|
|
18
23
|
ShellNetworkPolicy$inboundSchema,
|
|
@@ -28,6 +33,10 @@ import {
|
|
|
28
33
|
|
|
29
34
|
export type ShellEnvironmentContainerAuto = {
|
|
30
35
|
type: "container_auto";
|
|
36
|
+
/**
|
|
37
|
+
* Workspace lifetime. conversation (default) reuses the conversation or previous_response_id chain workspace; independent top-level responses start fresh. Delegated agents inherit their parent's workspace by default without inheriting its conversation history. request starts a fresh workspace for this response and its default-scoped delegated agents. Explicit child request scope or container IDs override inheritance.
|
|
38
|
+
*/
|
|
39
|
+
sessionScope?: SandboxSessionScope | undefined;
|
|
31
40
|
networkPolicy?: ShellNetworkPolicy | undefined;
|
|
32
41
|
/**
|
|
33
42
|
* Skills to inject into the container's /skills directory.
|
|
@@ -46,11 +55,13 @@ export const ShellEnvironmentContainerAuto$inboundSchema: z.ZodType<
|
|
|
46
55
|
unknown
|
|
47
56
|
> = z.object({
|
|
48
57
|
type: z.literal("container_auto"),
|
|
58
|
+
session_scope: SandboxSessionScope$inboundSchema.optional(),
|
|
49
59
|
network_policy: ShellNetworkPolicy$inboundSchema.optional(),
|
|
50
60
|
skills: z.array(SkillEntry$inboundSchema).optional(),
|
|
51
61
|
memory_stores: z.array(MemoryStoreMount$inboundSchema).optional(),
|
|
52
62
|
}).transform((v) => {
|
|
53
63
|
return remap$(v, {
|
|
64
|
+
"session_scope": "sessionScope",
|
|
54
65
|
"network_policy": "networkPolicy",
|
|
55
66
|
"memory_stores": "memoryStores",
|
|
56
67
|
});
|
|
@@ -58,6 +69,7 @@ export const ShellEnvironmentContainerAuto$inboundSchema: z.ZodType<
|
|
|
58
69
|
/** @internal */
|
|
59
70
|
export type ShellEnvironmentContainerAuto$Outbound = {
|
|
60
71
|
type: "container_auto";
|
|
72
|
+
session_scope?: string | undefined;
|
|
61
73
|
network_policy?: ShellNetworkPolicy$Outbound | undefined;
|
|
62
74
|
skills?: Array<SkillEntry$Outbound> | undefined;
|
|
63
75
|
memory_stores?: Array<MemoryStoreMount$Outbound> | undefined;
|
|
@@ -70,11 +82,13 @@ export const ShellEnvironmentContainerAuto$outboundSchema: z.ZodType<
|
|
|
70
82
|
ShellEnvironmentContainerAuto
|
|
71
83
|
> = z.object({
|
|
72
84
|
type: z.literal("container_auto"),
|
|
85
|
+
sessionScope: SandboxSessionScope$outboundSchema.optional(),
|
|
73
86
|
networkPolicy: ShellNetworkPolicy$outboundSchema.optional(),
|
|
74
87
|
skills: z.array(SkillEntry$outboundSchema).optional(),
|
|
75
88
|
memoryStores: z.array(MemoryStoreMount$outboundSchema).optional(),
|
|
76
89
|
}).transform((v) => {
|
|
77
90
|
return remap$(v, {
|
|
91
|
+
sessionScope: "session_scope",
|
|
78
92
|
networkPolicy: "network_policy",
|
|
79
93
|
memoryStores: "memory_stores",
|
|
80
94
|
});
|