@meetkai/mka1 0.53.0 → 0.53.2
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 +49 -84
- package/bin/mcp-server.js.map +21 -22
- package/dist/commonjs/funcs/usageSandbox.d.ts +1 -1
- package/dist/commonjs/funcs/usageSandbox.js +1 -1
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- 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/usageSandbox.js +1 -1
- package/dist/commonjs/mcp-server/tools/usageSandbox.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/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 +0 -1
- package/dist/commonjs/models/components/index.d.ts.map +1 -1
- package/dist/commonjs/models/components/index.js +0 -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/commonjs/react-query/usageSandbox.d.ts +2 -2
- package/dist/commonjs/react-query/usageSandbox.js +2 -2
- package/dist/commonjs/sdk/usage.d.ts +1 -1
- package/dist/commonjs/sdk/usage.js +1 -1
- package/dist/esm/funcs/usageSandbox.d.ts +1 -1
- package/dist/esm/funcs/usageSandbox.js +1 -1
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- 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/usageSandbox.js +1 -1
- package/dist/esm/mcp-server/tools/usageSandbox.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/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 +0 -1
- package/dist/esm/models/components/index.d.ts.map +1 -1
- package/dist/esm/models/components/index.js +0 -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/dist/esm/react-query/usageSandbox.d.ts +2 -2
- package/dist/esm/react-query/usageSandbox.js +2 -2
- package/dist/esm/sdk/usage.d.ts +1 -1
- package/dist/esm/sdk/usage.js +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/usageSandbox.ts +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/mcp-server/tools/usageSandbox.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/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 +0 -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/src/react-query/usageSandbox.ts +2 -2
- package/src/sdk/usage.ts +1 -1
- 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 +0 -68
- 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
|
@@ -8,12 +8,6 @@ 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
|
-
JsonValue,
|
|
13
|
-
JsonValue$inboundSchema,
|
|
14
|
-
JsonValue$Outbound,
|
|
15
|
-
JsonValue$outboundSchema,
|
|
16
|
-
} from "./jsonvalue.js";
|
|
17
11
|
|
|
18
12
|
export const AgentConnectorObject = {
|
|
19
13
|
AgentConnector: "agent.connector",
|
|
@@ -44,12 +38,15 @@ export type AgentConnector = {
|
|
|
44
38
|
* Provider account display name when one is available.
|
|
45
39
|
*/
|
|
46
40
|
providerAccountName: string | null;
|
|
47
|
-
|
|
41
|
+
/**
|
|
42
|
+
* Arbitrary JSON value.
|
|
43
|
+
*/
|
|
44
|
+
config?: any | undefined;
|
|
48
45
|
/**
|
|
49
46
|
* Whether encrypted provider credentials are stored for this connector.
|
|
50
47
|
*/
|
|
51
48
|
credentialsConfigured: boolean;
|
|
52
|
-
lastError
|
|
49
|
+
lastError?: any | null | undefined;
|
|
53
50
|
createdAt: Date;
|
|
54
51
|
updatedAt: Date;
|
|
55
52
|
deletedAt: Date | null;
|
|
@@ -85,9 +82,9 @@ export const AgentConnector$inboundSchema: z.ZodType<
|
|
|
85
82
|
status: z.string(),
|
|
86
83
|
provider_account_id: z.string(),
|
|
87
84
|
provider_account_name: z.nullable(z.string()),
|
|
88
|
-
config: z.
|
|
85
|
+
config: z.any().optional(),
|
|
89
86
|
credentials_configured: z.boolean(),
|
|
90
|
-
last_error: z.nullable(
|
|
87
|
+
last_error: z.nullable(z.any()).optional(),
|
|
91
88
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
92
89
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
93
90
|
deleted_at: z.nullable(
|
|
@@ -115,9 +112,9 @@ export type AgentConnector$Outbound = {
|
|
|
115
112
|
status: string;
|
|
116
113
|
provider_account_id: string;
|
|
117
114
|
provider_account_name: string | null;
|
|
118
|
-
config
|
|
115
|
+
config?: any | undefined;
|
|
119
116
|
credentials_configured: boolean;
|
|
120
|
-
last_error
|
|
117
|
+
last_error?: any | null | undefined;
|
|
121
118
|
created_at: string;
|
|
122
119
|
updated_at: string;
|
|
123
120
|
deleted_at: string | null;
|
|
@@ -137,9 +134,9 @@ export const AgentConnector$outboundSchema: z.ZodType<
|
|
|
137
134
|
status: z.string(),
|
|
138
135
|
providerAccountId: z.string(),
|
|
139
136
|
providerAccountName: z.nullable(z.string()),
|
|
140
|
-
config: z.
|
|
137
|
+
config: z.any().optional(),
|
|
141
138
|
credentialsConfigured: z.boolean(),
|
|
142
|
-
lastError: z.nullable(
|
|
139
|
+
lastError: z.nullable(z.any()).optional(),
|
|
143
140
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
144
141
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
145
142
|
deletedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
@@ -8,12 +8,6 @@ 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
|
-
JsonValue,
|
|
13
|
-
JsonValue$inboundSchema,
|
|
14
|
-
JsonValue$Outbound,
|
|
15
|
-
JsonValue$outboundSchema,
|
|
16
|
-
} from "./jsonvalue.js";
|
|
17
11
|
|
|
18
12
|
export const AgentRunObject = {
|
|
19
13
|
AgentRun: "agent.run",
|
|
@@ -37,13 +31,16 @@ export type AgentRun = {
|
|
|
37
31
|
*/
|
|
38
32
|
agentVersion: number | null;
|
|
39
33
|
status: AgentRunStatus;
|
|
40
|
-
|
|
41
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Arbitrary JSON value.
|
|
36
|
+
*/
|
|
37
|
+
input?: any | undefined;
|
|
38
|
+
conversation?: any | null | undefined;
|
|
42
39
|
previousResponseId: string | null;
|
|
43
40
|
metadata: { [k: string]: string } | null;
|
|
44
41
|
gatewayResponseId: string | null;
|
|
45
|
-
gatewayResponse
|
|
46
|
-
error
|
|
42
|
+
gatewayResponse?: any | null | undefined;
|
|
43
|
+
error?: any | null | undefined;
|
|
47
44
|
createdAt: Date;
|
|
48
45
|
completedAt: Date | null;
|
|
49
46
|
};
|
|
@@ -77,13 +74,13 @@ export const AgentRun$inboundSchema: z.ZodType<
|
|
|
77
74
|
agent_id: z.string(),
|
|
78
75
|
agent_version: z.nullable(z.number().int()),
|
|
79
76
|
status: AgentRunStatus$inboundSchema,
|
|
80
|
-
input: z.
|
|
81
|
-
conversation: z.nullable(
|
|
77
|
+
input: z.any().optional(),
|
|
78
|
+
conversation: z.nullable(z.any()).optional(),
|
|
82
79
|
previous_response_id: z.nullable(z.string()),
|
|
83
80
|
metadata: z.nullable(z.record(z.string())),
|
|
84
81
|
gateway_response_id: z.nullable(z.string()),
|
|
85
|
-
gateway_response: z.nullable(
|
|
86
|
-
error: z.nullable(
|
|
82
|
+
gateway_response: z.nullable(z.any()).optional(),
|
|
83
|
+
error: z.nullable(z.any()).optional(),
|
|
87
84
|
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
88
85
|
completed_at: z.nullable(
|
|
89
86
|
z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
@@ -106,13 +103,13 @@ export type AgentRun$Outbound = {
|
|
|
106
103
|
agent_id: string;
|
|
107
104
|
agent_version: number | null;
|
|
108
105
|
status: string;
|
|
109
|
-
input
|
|
110
|
-
conversation
|
|
106
|
+
input?: any | undefined;
|
|
107
|
+
conversation?: any | null | undefined;
|
|
111
108
|
previous_response_id: string | null;
|
|
112
109
|
metadata: { [k: string]: string } | null;
|
|
113
110
|
gateway_response_id: string | null;
|
|
114
|
-
gateway_response
|
|
115
|
-
error
|
|
111
|
+
gateway_response?: any | null | undefined;
|
|
112
|
+
error?: any | null | undefined;
|
|
116
113
|
created_at: string;
|
|
117
114
|
completed_at: string | null;
|
|
118
115
|
};
|
|
@@ -128,13 +125,13 @@ export const AgentRun$outboundSchema: z.ZodType<
|
|
|
128
125
|
agentId: z.string(),
|
|
129
126
|
agentVersion: z.nullable(z.number().int()),
|
|
130
127
|
status: AgentRunStatus$outboundSchema,
|
|
131
|
-
input: z.
|
|
132
|
-
conversation: z.nullable(
|
|
128
|
+
input: z.any().optional(),
|
|
129
|
+
conversation: z.nullable(z.any()).optional(),
|
|
133
130
|
previousResponseId: z.nullable(z.string()),
|
|
134
131
|
metadata: z.nullable(z.record(z.string())),
|
|
135
132
|
gatewayResponseId: z.nullable(z.string()),
|
|
136
|
-
gatewayResponse: z.nullable(
|
|
137
|
-
error: z.nullable(
|
|
133
|
+
gatewayResponse: z.nullable(z.any()).optional(),
|
|
134
|
+
error: z.nullable(z.any()).optional(),
|
|
138
135
|
createdAt: z.date().transform(v => v.toISOString()),
|
|
139
136
|
completedAt: z.nullable(z.date().transform(v => v.toISOString())),
|
|
140
137
|
}).transform((v) => {
|
|
@@ -20,12 +20,6 @@ import {
|
|
|
20
20
|
AgentScheduleSpec$Outbound,
|
|
21
21
|
AgentScheduleSpec$outboundSchema,
|
|
22
22
|
} from "./agentschedulespec.js";
|
|
23
|
-
import {
|
|
24
|
-
JsonValue,
|
|
25
|
-
JsonValue$inboundSchema,
|
|
26
|
-
JsonValue$Outbound,
|
|
27
|
-
JsonValue$outboundSchema,
|
|
28
|
-
} from "./jsonvalue.js";
|
|
29
23
|
|
|
30
24
|
export const AgentScheduleObject = {
|
|
31
25
|
AgentSchedule: "agent.schedule",
|
|
@@ -47,8 +41,11 @@ export type AgentSchedule = {
|
|
|
47
41
|
name: string | null;
|
|
48
42
|
status: AgentScheduleStatus;
|
|
49
43
|
schedule: AgentScheduleSpec;
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
/**
|
|
45
|
+
* Arbitrary JSON value.
|
|
46
|
+
*/
|
|
47
|
+
input?: any | undefined;
|
|
48
|
+
conversation?: any | null | undefined;
|
|
52
49
|
previousResponseId: string | null;
|
|
53
50
|
contextManagement: Array<AgentCompactionContextManagement> | null;
|
|
54
51
|
metadata: { [k: string]: string } | null;
|
|
@@ -91,8 +88,8 @@ export const AgentSchedule$inboundSchema: z.ZodType<
|
|
|
91
88
|
name: z.nullable(z.string()),
|
|
92
89
|
status: AgentScheduleStatus$inboundSchema,
|
|
93
90
|
schedule: AgentScheduleSpec$inboundSchema,
|
|
94
|
-
input: z.
|
|
95
|
-
conversation: z.nullable(
|
|
91
|
+
input: z.any().optional(),
|
|
92
|
+
conversation: z.nullable(z.any()).optional(),
|
|
96
93
|
previous_response_id: z.nullable(z.string()),
|
|
97
94
|
context_management: z.nullable(
|
|
98
95
|
z.array(AgentCompactionContextManagement$inboundSchema),
|
|
@@ -131,8 +128,8 @@ export type AgentSchedule$Outbound = {
|
|
|
131
128
|
name: string | null;
|
|
132
129
|
status: string;
|
|
133
130
|
schedule: AgentScheduleSpec$Outbound;
|
|
134
|
-
input
|
|
135
|
-
conversation
|
|
131
|
+
input?: any | undefined;
|
|
132
|
+
conversation?: any | null | undefined;
|
|
136
133
|
previous_response_id: string | null;
|
|
137
134
|
context_management: Array<AgentCompactionContextManagement$Outbound> | null;
|
|
138
135
|
metadata: { [k: string]: string } | null;
|
|
@@ -157,8 +154,8 @@ export const AgentSchedule$outboundSchema: z.ZodType<
|
|
|
157
154
|
name: z.nullable(z.string()),
|
|
158
155
|
status: AgentScheduleStatus$outboundSchema,
|
|
159
156
|
schedule: AgentScheduleSpec$outboundSchema,
|
|
160
|
-
input: z.
|
|
161
|
-
conversation: z.nullable(
|
|
157
|
+
input: z.any().optional(),
|
|
158
|
+
conversation: z.nullable(z.any()).optional(),
|
|
162
159
|
previousResponseId: z.nullable(z.string()),
|
|
163
160
|
contextManagement: z.nullable(
|
|
164
161
|
z.array(AgentCompactionContextManagement$outboundSchema),
|
|
@@ -20,12 +20,6 @@ import {
|
|
|
20
20
|
AgentTextConfiguration$Outbound,
|
|
21
21
|
AgentTextConfiguration$outboundSchema,
|
|
22
22
|
} from "./agenttextconfiguration.js";
|
|
23
|
-
import {
|
|
24
|
-
JsonValue,
|
|
25
|
-
JsonValue$inboundSchema,
|
|
26
|
-
JsonValue$Outbound,
|
|
27
|
-
JsonValue$outboundSchema,
|
|
28
|
-
} from "./jsonvalue.js";
|
|
29
23
|
import {
|
|
30
24
|
ToolDefinition,
|
|
31
25
|
ToolDefinition$inboundSchema,
|
|
@@ -56,7 +50,10 @@ export type AgentVersion = {
|
|
|
56
50
|
model: string;
|
|
57
51
|
instructions: string | null;
|
|
58
52
|
tools: Array<ToolDefinition>;
|
|
59
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Arbitrary JSON value.
|
|
55
|
+
*/
|
|
56
|
+
toolChoice?: any | undefined;
|
|
60
57
|
parallelToolCalls: boolean;
|
|
61
58
|
maxToolCalls: number | null;
|
|
62
59
|
text: AgentTextConfiguration | null;
|
|
@@ -91,7 +88,7 @@ export const AgentVersion$inboundSchema: z.ZodType<
|
|
|
91
88
|
model: z.string(),
|
|
92
89
|
instructions: z.nullable(z.string()),
|
|
93
90
|
tools: z.array(ToolDefinition$inboundSchema),
|
|
94
|
-
tool_choice: z.
|
|
91
|
+
tool_choice: z.any().optional(),
|
|
95
92
|
parallel_tool_calls: z.boolean(),
|
|
96
93
|
max_tool_calls: z.nullable(z.number().int()),
|
|
97
94
|
text: z.nullable(AgentTextConfiguration$inboundSchema),
|
|
@@ -122,7 +119,7 @@ export type AgentVersion$Outbound = {
|
|
|
122
119
|
model: string;
|
|
123
120
|
instructions: string | null;
|
|
124
121
|
tools: Array<ToolDefinition$Outbound>;
|
|
125
|
-
tool_choice
|
|
122
|
+
tool_choice?: any | undefined;
|
|
126
123
|
parallel_tool_calls: boolean;
|
|
127
124
|
max_tool_calls: number | null;
|
|
128
125
|
text: AgentTextConfiguration$Outbound | null;
|
|
@@ -148,7 +145,7 @@ export const AgentVersion$outboundSchema: z.ZodType<
|
|
|
148
145
|
model: z.string(),
|
|
149
146
|
instructions: z.nullable(z.string()),
|
|
150
147
|
tools: z.array(ToolDefinition$outboundSchema),
|
|
151
|
-
toolChoice: z.
|
|
148
|
+
toolChoice: z.any().optional(),
|
|
152
149
|
parallelToolCalls: z.boolean(),
|
|
153
150
|
maxToolCalls: z.nullable(z.number().int()),
|
|
154
151
|
text: z.nullable(AgentTextConfiguration$outboundSchema),
|
|
@@ -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(),
|
|
@@ -290,7 +290,6 @@ export * from "./itemreferencewithid.js";
|
|
|
290
290
|
export * from "./jobstatus.js";
|
|
291
291
|
export * from "./jsonobjectresponseformat.js";
|
|
292
292
|
export * from "./jsonschemaresponseformat.js";
|
|
293
|
-
export * from "./jsonvalue.js";
|
|
294
293
|
export * from "./keypressaction.js";
|
|
295
294
|
export * from "./leakageconfig.js";
|
|
296
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",
|
|
@@ -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 UpdateAgentRequest = {
|
|
|
38
32
|
model?: string | undefined;
|
|
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 UpdateAgentRequest$inboundSchema: z.ZodType<
|
|
|
57
54
|
model: z.string().optional(),
|
|
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().optional(),
|
|
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 UpdateAgentRequest$Outbound = {
|
|
|
77
74
|
model?: string | undefined;
|
|
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 | undefined;
|
|
82
79
|
max_tool_calls?: number | null | undefined;
|
|
83
80
|
text?: AgentTextConfiguration$Outbound | null | undefined;
|
|
@@ -96,7 +93,7 @@ export const UpdateAgentRequest$outboundSchema: z.ZodType<
|
|
|
96
93
|
model: z.string().optional(),
|
|
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().optional(),
|
|
101
98
|
maxToolCalls: z.nullable(z.number().int()).optional(),
|
|
102
99
|
text: z.nullable(AgentTextConfiguration$outboundSchema).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 UpdateAgentScheduleRequestInput2 = {
|
|
33
27
|
type?: string | undefined;
|
|
@@ -42,7 +36,7 @@ export type UpdateAgentScheduleRequest = {
|
|
|
42
36
|
name?: string | null | undefined;
|
|
43
37
|
schedule?: AgentScheduleSpec | undefined;
|
|
44
38
|
input?: string | Array<UpdateAgentScheduleRequestInput2> | undefined;
|
|
45
|
-
conversation?:
|
|
39
|
+
conversation?: any | null | undefined;
|
|
46
40
|
previousResponseId?: string | null | undefined;
|
|
47
41
|
/**
|
|
48
42
|
* Context management strategies to apply during agent-run response generation. Set to null to clear the schedule-level strategies.
|
|
@@ -163,7 +157,7 @@ export const UpdateAgentScheduleRequest$inboundSchema: z.ZodType<
|
|
|
163
157
|
z.string(),
|
|
164
158
|
z.array(z.lazy(() => UpdateAgentScheduleRequestInput2$inboundSchema)),
|
|
165
159
|
]).optional(),
|
|
166
|
-
conversation: z.nullable(
|
|
160
|
+
conversation: z.nullable(z.any()).optional(),
|
|
167
161
|
previous_response_id: z.nullable(z.string()).optional(),
|
|
168
162
|
context_management: z.nullable(
|
|
169
163
|
z.array(AgentCompactionContextManagement$inboundSchema),
|
|
@@ -180,7 +174,7 @@ export type UpdateAgentScheduleRequest$Outbound = {
|
|
|
180
174
|
name?: string | null | undefined;
|
|
181
175
|
schedule?: AgentScheduleSpec$Outbound | undefined;
|
|
182
176
|
input?: string | Array<UpdateAgentScheduleRequestInput2$Outbound> | undefined;
|
|
183
|
-
conversation?:
|
|
177
|
+
conversation?: any | null | undefined;
|
|
184
178
|
previous_response_id?: string | null | undefined;
|
|
185
179
|
context_management?:
|
|
186
180
|
| Array<AgentCompactionContextManagement$Outbound>
|
|
@@ -201,7 +195,7 @@ export const UpdateAgentScheduleRequest$outboundSchema: z.ZodType<
|
|
|
201
195
|
z.string(),
|
|
202
196
|
z.array(z.lazy(() => UpdateAgentScheduleRequestInput2$outboundSchema)),
|
|
203
197
|
]).optional(),
|
|
204
|
-
conversation: z.nullable(
|
|
198
|
+
conversation: z.nullable(z.any()).optional(),
|
|
205
199
|
previousResponseId: z.nullable(z.string()).optional(),
|
|
206
200
|
contextManagement: z.nullable(
|
|
207
201
|
z.array(AgentCompactionContextManagement$outboundSchema),
|