@orq-ai/node 4.0.0-rc.51 → 4.0.0-rc.52
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/README.md +3 -4
- package/bin/mcp-server.js +1125 -606
- package/bin/mcp-server.js.map +50 -51
- package/docs/sdks/agents/README.md +80 -80
- package/examples/package-lock.json +1 -1
- package/funcs/agentsInvoke.d.ts +1 -1
- package/funcs/agentsInvoke.d.ts.map +1 -1
- package/funcs/agentsInvoke.js +1 -1
- package/funcs/agentsInvoke.js.map +1 -1
- package/funcs/agentsListTasks.d.ts +1 -1
- package/funcs/agentsListTasks.d.ts.map +1 -1
- package/funcs/agentsListTasks.js +1 -1
- package/funcs/agentsListTasks.js.map +1 -1
- package/funcs/agentsRetrieveTask.d.ts +1 -1
- package/funcs/agentsRetrieveTask.d.ts.map +1 -1
- package/funcs/agentsRetrieveTask.js +1 -1
- package/funcs/agentsRetrieveTask.js.map +1 -1
- package/funcs/agentsRun.d.ts +1 -1
- package/funcs/agentsRun.d.ts.map +1 -1
- package/funcs/agentsRun.js +1 -1
- package/funcs/agentsRun.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +2 -2
- package/mcp-server/server.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/createbudget.js +2 -2
- package/models/operations/createcontact.js +2 -2
- package/models/operations/createdataset.js +2 -2
- package/models/operations/createdatasetitem.js +8 -8
- package/models/operations/createdatasource.js +2 -2
- package/models/operations/createeval.js +28 -28
- package/models/operations/createtool.d.ts +25 -25
- package/models/operations/createtool.d.ts.map +1 -1
- package/models/operations/createtool.js +41 -41
- package/models/operations/createtool.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +6 -6
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +9 -9
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/fileget.js +2 -2
- package/models/operations/filelist.js +2 -2
- package/models/operations/fileupload.js +2 -2
- package/models/operations/getagenttask.d.ts +682 -108
- package/models/operations/getagenttask.d.ts.map +1 -1
- package/models/operations/getagenttask.js +635 -155
- package/models/operations/getagenttask.js.map +1 -1
- package/models/operations/getalltools.js +12 -12
- package/models/operations/getbudget.js +2 -2
- package/models/operations/getevals.js +28 -28
- package/models/operations/invokeagent.d.ts +143 -123
- package/models/operations/invokeagent.d.ts.map +1 -1
- package/models/operations/invokeagent.js +143 -146
- package/models/operations/invokeagent.js.map +1 -1
- package/models/operations/listagenttasks.d.ts +680 -118
- package/models/operations/listagenttasks.d.ts.map +1 -1
- package/models/operations/listagenttasks.js +612 -144
- package/models/operations/listagenttasks.js.map +1 -1
- package/models/operations/listbudgets.js +2 -2
- package/models/operations/listchunks.d.ts +6 -6
- package/models/operations/listchunks.d.ts.map +1 -1
- package/models/operations/listchunks.js +9 -9
- package/models/operations/listchunks.js.map +1 -1
- package/models/operations/listcontacts.js +2 -2
- package/models/operations/listdatasetdatapoints.js +8 -8
- package/models/operations/listdatasets.js +2 -2
- package/models/operations/listdatasources.d.ts +6 -6
- package/models/operations/listdatasources.d.ts.map +1 -1
- package/models/operations/listdatasources.js +12 -11
- package/models/operations/listdatasources.js.map +1 -1
- package/models/operations/retrievecontact.js +2 -2
- package/models/operations/retrievedatapoint.js +8 -8
- package/models/operations/retrievedataset.js +2 -2
- package/models/operations/retrievedatasource.js +2 -2
- package/models/operations/retrievetool.js +12 -12
- package/models/operations/runagent.d.ts +112 -98
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +120 -121
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamagent.d.ts +18 -12
- package/models/operations/streamagent.d.ts.map +1 -1
- package/models/operations/streamagent.js +13 -13
- package/models/operations/streamagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +12 -12
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +15 -15
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +11 -8
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +13 -11
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatebudget.js +2 -2
- package/models/operations/updatecontact.js +2 -2
- package/models/operations/updatedatapoint.js +8 -8
- package/models/operations/updatedataset.js +2 -2
- package/models/operations/updatedatasource.js +2 -2
- package/models/operations/updateeval.js +28 -28
- package/models/operations/updatetool.js +14 -14
- package/package.json +1 -1
- package/sdk/agents.d.ts +10 -10
- package/sdk/agents.d.ts.map +1 -1
- package/sdk/agents.js +9 -9
- package/sdk/agents.js.map +1 -1
- package/src/funcs/agentsInvoke.ts +4 -4
- package/src/funcs/agentsListTasks.ts +4 -4
- package/src/funcs/agentsRetrieveTask.ts +8 -8
- package/src/funcs/agentsRun.ts +4 -4
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +2 -2
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/createbudget.ts +2 -2
- package/src/models/operations/createcontact.ts +2 -2
- package/src/models/operations/createdataset.ts +2 -2
- package/src/models/operations/createdatasetitem.ts +8 -8
- package/src/models/operations/createdatasource.ts +2 -2
- package/src/models/operations/createeval.ts +28 -28
- package/src/models/operations/createtool.ts +76 -76
- package/src/models/operations/deploymentinvoke.ts +17 -24
- package/src/models/operations/fileget.ts +2 -2
- package/src/models/operations/filelist.ts +2 -2
- package/src/models/operations/fileupload.ts +2 -2
- package/src/models/operations/getagenttask.ts +1873 -428
- package/src/models/operations/getalltools.ts +12 -12
- package/src/models/operations/getbudget.ts +2 -2
- package/src/models/operations/getevals.ts +28 -28
- package/src/models/operations/invokeagent.ts +319 -299
- package/src/models/operations/listagenttasks.ts +2029 -540
- package/src/models/operations/listbudgets.ts +2 -2
- package/src/models/operations/listchunks.ts +14 -14
- package/src/models/operations/listcontacts.ts +2 -2
- package/src/models/operations/listdatasetdatapoints.ts +8 -8
- package/src/models/operations/listdatasets.ts +2 -2
- package/src/models/operations/listdatasources.ts +15 -22
- package/src/models/operations/retrievecontact.ts +2 -2
- package/src/models/operations/retrievedatapoint.ts +8 -8
- package/src/models/operations/retrievedataset.ts +2 -2
- package/src/models/operations/retrievedatasource.ts +2 -2
- package/src/models/operations/retrievetool.ts +12 -12
- package/src/models/operations/runagent.ts +264 -220
- package/src/models/operations/streamagent.ts +28 -22
- package/src/models/operations/streamrunagent.ts +24 -24
- package/src/models/operations/updateagent.ts +25 -18
- package/src/models/operations/updatebudget.ts +2 -2
- package/src/models/operations/updatecontact.ts +2 -2
- package/src/models/operations/updatedatapoint.ts +8 -8
- package/src/models/operations/updatedataset.ts +2 -2
- package/src/models/operations/updatedatasource.ts +2 -2
- package/src/models/operations/updateeval.ts +28 -28
- package/src/models/operations/updatetool.ts +14 -14
- package/src/sdk/agents.ts +20 -20
- package/models/errors/getagenttask.d.ts +0 -29
- package/models/errors/getagenttask.d.ts.map +0 -1
- package/models/errors/getagenttask.js +0 -74
- package/models/errors/getagenttask.js.map +0 -1
- package/src/models/errors/getagenttask.ts +0 -67
|
@@ -6,37 +6,214 @@ export type GetAgentTaskRequest = {
|
|
|
6
6
|
agentKey: string;
|
|
7
7
|
taskId: string;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* A2A entity type
|
|
11
|
+
*/
|
|
9
12
|
export declare const GetAgentTaskKind: {
|
|
10
13
|
readonly Task: "task";
|
|
11
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* A2A entity type
|
|
17
|
+
*/
|
|
12
18
|
export type GetAgentTaskKind = ClosedEnum<typeof GetAgentTaskKind>;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
/**
|
|
20
|
+
* Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
|
|
21
|
+
*/
|
|
22
|
+
export declare const GetAgentTaskTaskState: {
|
|
23
|
+
readonly Submitted: "submitted";
|
|
24
|
+
readonly Working: "working";
|
|
25
|
+
readonly InputRequired: "input-required";
|
|
26
|
+
readonly AuthRequired: "auth-required";
|
|
27
|
+
readonly Completed: "completed";
|
|
28
|
+
readonly Failed: "failed";
|
|
29
|
+
readonly Canceled: "canceled";
|
|
30
|
+
readonly Rejected: "rejected";
|
|
17
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
|
|
34
|
+
*/
|
|
35
|
+
export type GetAgentTaskTaskState = ClosedEnum<typeof GetAgentTaskTaskState>;
|
|
18
36
|
export declare const GetAgentTaskAgentsResponseKind: {
|
|
19
37
|
readonly Message: "message";
|
|
20
38
|
};
|
|
21
39
|
export type GetAgentTaskAgentsResponseKind = ClosedEnum<typeof GetAgentTaskAgentsResponseKind>;
|
|
22
40
|
/**
|
|
23
|
-
*
|
|
41
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
42
|
+
*/
|
|
43
|
+
export declare const GetAgentTaskExtendedMessageRole: {
|
|
44
|
+
readonly User: "user";
|
|
45
|
+
readonly Agent: "agent";
|
|
46
|
+
readonly Tool: "tool";
|
|
47
|
+
readonly System: "system";
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
51
|
+
*/
|
|
52
|
+
export type GetAgentTaskExtendedMessageRole = ClosedEnum<typeof GetAgentTaskExtendedMessageRole>;
|
|
53
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage5Kind: {
|
|
54
|
+
readonly ToolResult: "tool_result";
|
|
55
|
+
};
|
|
56
|
+
export type GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage5Kind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage5Kind>;
|
|
57
|
+
/**
|
|
58
|
+
* The result of a tool execution. Contains the tool call ID for correlation and the result data from the tool invocation.
|
|
59
|
+
*/
|
|
60
|
+
export type GetAgentTaskPartsToolResultPart = {
|
|
61
|
+
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage5Kind;
|
|
62
|
+
toolCallId: string;
|
|
63
|
+
result?: any | undefined;
|
|
64
|
+
metadata?: {
|
|
65
|
+
[k: string]: any;
|
|
66
|
+
} | undefined;
|
|
67
|
+
};
|
|
68
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage4Kind: {
|
|
69
|
+
readonly ToolCall: "tool_call";
|
|
70
|
+
};
|
|
71
|
+
export type GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage4Kind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage4Kind>;
|
|
72
|
+
/**
|
|
73
|
+
* A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
|
|
74
|
+
*/
|
|
75
|
+
export type GetAgentTaskPartsToolCallPart = {
|
|
76
|
+
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage4Kind;
|
|
77
|
+
toolName: string;
|
|
78
|
+
toolCallId: string;
|
|
79
|
+
arguments: {
|
|
80
|
+
[k: string]: any;
|
|
81
|
+
};
|
|
82
|
+
metadata?: {
|
|
83
|
+
[k: string]: any;
|
|
84
|
+
} | undefined;
|
|
85
|
+
};
|
|
86
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessageKind: {
|
|
87
|
+
readonly File: "file";
|
|
88
|
+
};
|
|
89
|
+
export type GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessageKind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessageKind>;
|
|
90
|
+
/**
|
|
91
|
+
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
92
|
+
*/
|
|
93
|
+
export type GetAgentTaskFileAgentsResponseFileInURIFormat = {
|
|
94
|
+
/**
|
|
95
|
+
* URL for the File content
|
|
96
|
+
*/
|
|
97
|
+
uri: string;
|
|
98
|
+
/**
|
|
99
|
+
* Optional mimeType for the file
|
|
100
|
+
*/
|
|
101
|
+
mimeType?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* Optional name for the file
|
|
104
|
+
*/
|
|
105
|
+
name?: string | undefined;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
109
|
+
*/
|
|
110
|
+
export type GetAgentTaskFileAgentsResponseBinaryFormat = {
|
|
111
|
+
/**
|
|
112
|
+
* base64 encoded content of the file
|
|
113
|
+
*/
|
|
114
|
+
bytes: string;
|
|
115
|
+
/**
|
|
116
|
+
* Optional mimeType for the file
|
|
117
|
+
*/
|
|
118
|
+
mimeType?: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* Optional name for the file
|
|
121
|
+
*/
|
|
122
|
+
name?: string | undefined;
|
|
123
|
+
};
|
|
124
|
+
export type GetAgentTaskPartsAgentsFile = GetAgentTaskFileAgentsResponseBinaryFormat | GetAgentTaskFileAgentsResponseFileInURIFormat;
|
|
125
|
+
/**
|
|
126
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
127
|
+
*/
|
|
128
|
+
export type GetAgentTaskPartsAgentsFilePart = {
|
|
129
|
+
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessageKind;
|
|
130
|
+
file: GetAgentTaskFileAgentsResponseBinaryFormat | GetAgentTaskFileAgentsResponseFileInURIFormat;
|
|
131
|
+
metadata?: {
|
|
132
|
+
[k: string]: any;
|
|
133
|
+
} | undefined;
|
|
134
|
+
};
|
|
135
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusKind: {
|
|
136
|
+
readonly Data: "data";
|
|
137
|
+
};
|
|
138
|
+
export type GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusKind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusKind>;
|
|
139
|
+
/**
|
|
140
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
141
|
+
*/
|
|
142
|
+
export type GetAgentTaskPartsDataPart = {
|
|
143
|
+
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusKind;
|
|
144
|
+
data: {
|
|
145
|
+
[k: string]: any;
|
|
146
|
+
};
|
|
147
|
+
metadata?: {
|
|
148
|
+
[k: string]: any;
|
|
149
|
+
} | undefined;
|
|
150
|
+
};
|
|
151
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage1Kind: {
|
|
152
|
+
readonly Text: "text";
|
|
153
|
+
};
|
|
154
|
+
export type GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage1Kind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage1Kind>;
|
|
155
|
+
/**
|
|
156
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
157
|
+
*/
|
|
158
|
+
export type GetAgentTaskPartsAgentsTextPart = {
|
|
159
|
+
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage1Kind;
|
|
160
|
+
text: string;
|
|
161
|
+
};
|
|
162
|
+
export type GetAgentTaskAgentsParts = GetAgentTaskPartsToolCallPart | GetAgentTaskPartsAgentsTextPart | GetAgentTaskPartsDataPart | GetAgentTaskPartsAgentsFilePart | GetAgentTaskPartsToolResultPart;
|
|
163
|
+
/**
|
|
164
|
+
* Optional A2A message providing additional context about the current status
|
|
165
|
+
*/
|
|
166
|
+
export type GetAgentTaskTaskStatusMessage = {
|
|
167
|
+
kind: GetAgentTaskAgentsResponseKind;
|
|
168
|
+
messageId: string;
|
|
169
|
+
/**
|
|
170
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
171
|
+
*/
|
|
172
|
+
role: GetAgentTaskExtendedMessageRole;
|
|
173
|
+
parts: Array<GetAgentTaskPartsToolCallPart | GetAgentTaskPartsAgentsTextPart | GetAgentTaskPartsDataPart | GetAgentTaskPartsAgentsFilePart | GetAgentTaskPartsToolResultPart>;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Current task execution status
|
|
177
|
+
*/
|
|
178
|
+
export type GetAgentTaskTaskStatus = {
|
|
179
|
+
/**
|
|
180
|
+
* Current state of the agent task execution. Values: submitted (queued), working (executing), input-required (awaiting user input), completed (finished successfully), failed (error occurred). Note: auth-required, canceled, and rejected statuses are defined for A2A protocol compatibility but are not currently supported in task execution.
|
|
181
|
+
*/
|
|
182
|
+
state: GetAgentTaskTaskState;
|
|
183
|
+
/**
|
|
184
|
+
* ISO 8601 timestamp of when the status was updated
|
|
185
|
+
*/
|
|
186
|
+
timestamp?: string | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* Optional A2A message providing additional context about the current status
|
|
189
|
+
*/
|
|
190
|
+
message?: GetAgentTaskTaskStatusMessage | undefined;
|
|
191
|
+
};
|
|
192
|
+
export declare const GetAgentTaskAgentsKind: {
|
|
193
|
+
readonly Message: "message";
|
|
194
|
+
};
|
|
195
|
+
export type GetAgentTaskAgentsKind = ClosedEnum<typeof GetAgentTaskAgentsKind>;
|
|
196
|
+
/**
|
|
197
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
24
198
|
*/
|
|
25
|
-
export declare const
|
|
199
|
+
export declare const ExtendedMessageRole: {
|
|
26
200
|
readonly User: "user";
|
|
27
201
|
readonly Agent: "agent";
|
|
28
202
|
readonly Tool: "tool";
|
|
29
203
|
readonly System: "system";
|
|
30
204
|
};
|
|
31
205
|
/**
|
|
32
|
-
*
|
|
206
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
33
207
|
*/
|
|
34
|
-
export type
|
|
208
|
+
export type ExtendedMessageRole = ClosedEnum<typeof ExtendedMessageRole>;
|
|
35
209
|
export declare const GetAgentTaskPartsAgentsResponse200Kind: {
|
|
36
210
|
readonly ToolResult: "tool_result";
|
|
37
211
|
};
|
|
38
212
|
export type GetAgentTaskPartsAgentsResponse200Kind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200Kind>;
|
|
39
|
-
|
|
213
|
+
/**
|
|
214
|
+
* The result of a tool execution. Contains the tool call ID for correlation and the result data from the tool invocation.
|
|
215
|
+
*/
|
|
216
|
+
export type PartsToolResultPart = {
|
|
40
217
|
kind: GetAgentTaskPartsAgentsResponse200Kind;
|
|
41
218
|
toolCallId: string;
|
|
42
219
|
result?: any | undefined;
|
|
@@ -48,7 +225,10 @@ export declare const GetAgentTaskPartsAgentsResponseKind: {
|
|
|
48
225
|
readonly ToolCall: "tool_call";
|
|
49
226
|
};
|
|
50
227
|
export type GetAgentTaskPartsAgentsResponseKind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponseKind>;
|
|
51
|
-
|
|
228
|
+
/**
|
|
229
|
+
* A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
|
|
230
|
+
*/
|
|
231
|
+
export type ToolCallPart = {
|
|
52
232
|
kind: GetAgentTaskPartsAgentsResponseKind;
|
|
53
233
|
toolName: string;
|
|
54
234
|
toolCallId: string;
|
|
@@ -66,7 +246,7 @@ export type GetAgentTaskPartsAgentsKind = ClosedEnum<typeof GetAgentTaskPartsAge
|
|
|
66
246
|
/**
|
|
67
247
|
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
68
248
|
*/
|
|
69
|
-
export type
|
|
249
|
+
export type GetAgentTaskFileAgentsFileInURIFormat = {
|
|
70
250
|
/**
|
|
71
251
|
* URL for the File content
|
|
72
252
|
*/
|
|
@@ -83,7 +263,7 @@ export type GetAgentTaskFileFileInURIFormat = {
|
|
|
83
263
|
/**
|
|
84
264
|
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
85
265
|
*/
|
|
86
|
-
export type
|
|
266
|
+
export type GetAgentTaskFileAgentsBinaryFormat = {
|
|
87
267
|
/**
|
|
88
268
|
* base64 encoded content of the file
|
|
89
269
|
*/
|
|
@@ -97,10 +277,13 @@ export type GetAgentTaskFileBinaryFormat = {
|
|
|
97
277
|
*/
|
|
98
278
|
name?: string | undefined;
|
|
99
279
|
};
|
|
100
|
-
export type PartsFile =
|
|
101
|
-
|
|
280
|
+
export type PartsFile = GetAgentTaskFileAgentsBinaryFormat | GetAgentTaskFileAgentsFileInURIFormat;
|
|
281
|
+
/**
|
|
282
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
283
|
+
*/
|
|
284
|
+
export type PartsFilePart = {
|
|
102
285
|
kind: GetAgentTaskPartsAgentsKind;
|
|
103
|
-
file:
|
|
286
|
+
file: GetAgentTaskFileAgentsBinaryFormat | GetAgentTaskFileAgentsFileInURIFormat;
|
|
104
287
|
metadata?: {
|
|
105
288
|
[k: string]: any;
|
|
106
289
|
} | undefined;
|
|
@@ -109,7 +292,10 @@ export declare const GetAgentTaskPartsKind: {
|
|
|
109
292
|
readonly Data: "data";
|
|
110
293
|
};
|
|
111
294
|
export type GetAgentTaskPartsKind = ClosedEnum<typeof GetAgentTaskPartsKind>;
|
|
112
|
-
|
|
295
|
+
/**
|
|
296
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
297
|
+
*/
|
|
298
|
+
export type DataPart = {
|
|
113
299
|
kind: GetAgentTaskPartsKind;
|
|
114
300
|
data: {
|
|
115
301
|
[k: string]: any;
|
|
@@ -122,47 +308,185 @@ export declare const PartsKind: {
|
|
|
122
308
|
readonly Text: "text";
|
|
123
309
|
};
|
|
124
310
|
export type PartsKind = ClosedEnum<typeof PartsKind>;
|
|
125
|
-
|
|
311
|
+
/**
|
|
312
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
313
|
+
*/
|
|
314
|
+
export type PartsTextPart = {
|
|
126
315
|
kind: PartsKind;
|
|
127
316
|
text: string;
|
|
128
317
|
};
|
|
129
|
-
export type Parts =
|
|
130
|
-
|
|
131
|
-
|
|
318
|
+
export type Parts = ToolCallPart | PartsTextPart | DataPart | PartsFilePart | PartsToolResultPart;
|
|
319
|
+
/**
|
|
320
|
+
* Extended Agent-to-Agent protocol message with support for tool calls and tool results. Extends the base A2A message format with Orquesta-specific features.
|
|
321
|
+
*/
|
|
322
|
+
export type ExtendedA2AMessage = {
|
|
323
|
+
kind: GetAgentTaskAgentsKind;
|
|
324
|
+
/**
|
|
325
|
+
* Unique identifier for the message
|
|
326
|
+
*/
|
|
132
327
|
messageId: string;
|
|
133
328
|
/**
|
|
134
|
-
*
|
|
329
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
330
|
+
*/
|
|
331
|
+
role: ExtendedMessageRole;
|
|
332
|
+
/**
|
|
333
|
+
* Array of message parts (text, file, tool_call, tool_result)
|
|
334
|
+
*/
|
|
335
|
+
parts: Array<ToolCallPart | PartsTextPart | DataPart | PartsFilePart | PartsToolResultPart>;
|
|
336
|
+
/**
|
|
337
|
+
* Associated task ID if applicable
|
|
135
338
|
*/
|
|
136
|
-
role: GetAgentTaskRole;
|
|
137
|
-
parts: Array<Parts4 | Parts1 | Parts2 | Parts3 | Parts5>;
|
|
138
339
|
taskId?: string | undefined;
|
|
340
|
+
/**
|
|
341
|
+
* Correlation ID for execution tracking
|
|
342
|
+
*/
|
|
139
343
|
contextId?: string | undefined;
|
|
344
|
+
/**
|
|
345
|
+
* Additional message metadata
|
|
346
|
+
*/
|
|
140
347
|
metadata?: {
|
|
141
348
|
[k: string]: any;
|
|
142
349
|
} | undefined;
|
|
143
350
|
};
|
|
144
|
-
export declare const
|
|
145
|
-
readonly
|
|
351
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyArtifactsKind: {
|
|
352
|
+
readonly Data: "data";
|
|
146
353
|
};
|
|
147
|
-
export type
|
|
148
|
-
|
|
149
|
-
|
|
354
|
+
export type GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyArtifactsKind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyArtifactsKind>;
|
|
355
|
+
/**
|
|
356
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
357
|
+
*/
|
|
358
|
+
export type PartsDataPart = {
|
|
359
|
+
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyArtifactsKind;
|
|
360
|
+
data: {
|
|
361
|
+
[k: string]: any;
|
|
362
|
+
};
|
|
363
|
+
metadata?: {
|
|
364
|
+
[k: string]: any;
|
|
365
|
+
} | undefined;
|
|
366
|
+
};
|
|
367
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind: {
|
|
368
|
+
readonly File: "file";
|
|
369
|
+
};
|
|
370
|
+
export type GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind>;
|
|
371
|
+
/**
|
|
372
|
+
* File in URI format. Check in the model's documentation for the supported mime types for the URI format
|
|
373
|
+
*/
|
|
374
|
+
export type GetAgentTaskFileFileInURIFormat = {
|
|
375
|
+
/**
|
|
376
|
+
* URL for the File content
|
|
377
|
+
*/
|
|
378
|
+
uri: string;
|
|
379
|
+
/**
|
|
380
|
+
* Optional mimeType for the file
|
|
381
|
+
*/
|
|
382
|
+
mimeType?: string | undefined;
|
|
383
|
+
/**
|
|
384
|
+
* Optional name for the file
|
|
385
|
+
*/
|
|
386
|
+
name?: string | undefined;
|
|
387
|
+
};
|
|
388
|
+
/**
|
|
389
|
+
* Binary in base64 format. Check in the model's documentation for the supported mime types for the binary format.
|
|
390
|
+
*/
|
|
391
|
+
export type GetAgentTaskFileBinaryFormat = {
|
|
392
|
+
/**
|
|
393
|
+
* base64 encoded content of the file
|
|
394
|
+
*/
|
|
395
|
+
bytes: string;
|
|
396
|
+
/**
|
|
397
|
+
* Optional mimeType for the file
|
|
398
|
+
*/
|
|
399
|
+
mimeType?: string | undefined;
|
|
400
|
+
/**
|
|
401
|
+
* Optional name for the file
|
|
402
|
+
*/
|
|
403
|
+
name?: string | undefined;
|
|
404
|
+
};
|
|
405
|
+
export type GetAgentTaskPartsFile = GetAgentTaskFileBinaryFormat | GetAgentTaskFileFileInURIFormat;
|
|
406
|
+
/**
|
|
407
|
+
* A file content part that can contain either base64-encoded bytes or a URI reference. Used for images, documents, and other binary content in agent communications.
|
|
408
|
+
*/
|
|
409
|
+
export type GetAgentTaskPartsFilePart = {
|
|
410
|
+
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind;
|
|
411
|
+
file: GetAgentTaskFileBinaryFormat | GetAgentTaskFileFileInURIFormat;
|
|
412
|
+
metadata?: {
|
|
413
|
+
[k: string]: any;
|
|
414
|
+
} | undefined;
|
|
415
|
+
};
|
|
416
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONKind: {
|
|
417
|
+
readonly Text: "text";
|
|
418
|
+
};
|
|
419
|
+
export type GetAgentTaskPartsAgentsResponse200ApplicationJSONKind = ClosedEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONKind>;
|
|
420
|
+
/**
|
|
421
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
422
|
+
*/
|
|
423
|
+
export type GetAgentTaskPartsTextPart = {
|
|
424
|
+
kind: GetAgentTaskPartsAgentsResponse200ApplicationJSONKind;
|
|
425
|
+
text: string;
|
|
426
|
+
};
|
|
427
|
+
export type GetAgentTaskParts = GetAgentTaskPartsTextPart | GetAgentTaskPartsFilePart | PartsDataPart;
|
|
428
|
+
/**
|
|
429
|
+
* A file or data artifact produced by the agent during task execution. Follows the A2A SDK Artifact structure with required name field.
|
|
430
|
+
*/
|
|
431
|
+
export type TaskArtifact = {
|
|
432
|
+
/**
|
|
433
|
+
* Unique identifier for the artifact (ULID format)
|
|
434
|
+
*/
|
|
150
435
|
artifactId: string;
|
|
436
|
+
/**
|
|
437
|
+
* Required name for the artifact (e.g., filename or descriptive title)
|
|
438
|
+
*/
|
|
151
439
|
name: string;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
440
|
+
/**
|
|
441
|
+
* Optional human-readable description of the artifact
|
|
442
|
+
*/
|
|
443
|
+
description?: string | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* Array of artifact content parts (text, file, or data). Does not include tool_call or tool_result parts.
|
|
446
|
+
*/
|
|
447
|
+
parts: Array<GetAgentTaskPartsTextPart | GetAgentTaskPartsFilePart | PartsDataPart>;
|
|
448
|
+
/**
|
|
449
|
+
* File extensions associated with this artifact (e.g., [".pdf"])
|
|
450
|
+
*/
|
|
451
|
+
extensions?: Array<string> | undefined;
|
|
452
|
+
/**
|
|
453
|
+
* Additional artifact metadata as key-value pairs
|
|
454
|
+
*/
|
|
455
|
+
metadata?: {
|
|
456
|
+
[k: string]: any;
|
|
457
|
+
} | undefined;
|
|
155
458
|
};
|
|
156
459
|
/**
|
|
157
|
-
* Agent task
|
|
460
|
+
* Agent task execution response format with full conversation history and artifacts. Used for API responses when retrieving task details.
|
|
158
461
|
*/
|
|
159
|
-
export type
|
|
462
|
+
export type GetAgentTaskExtendedTaskResponse = {
|
|
463
|
+
/**
|
|
464
|
+
* Unique task execution identifier
|
|
465
|
+
*/
|
|
160
466
|
id: string;
|
|
467
|
+
/**
|
|
468
|
+
* Correlation ID for tracking
|
|
469
|
+
*/
|
|
161
470
|
contextId: string;
|
|
471
|
+
/**
|
|
472
|
+
* A2A entity type
|
|
473
|
+
*/
|
|
162
474
|
kind: GetAgentTaskKind;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
475
|
+
/**
|
|
476
|
+
* Current task execution status
|
|
477
|
+
*/
|
|
478
|
+
status: GetAgentTaskTaskStatus;
|
|
479
|
+
/**
|
|
480
|
+
* Conversation history with all messages exchanged
|
|
481
|
+
*/
|
|
482
|
+
history: Array<ExtendedA2AMessage>;
|
|
483
|
+
/**
|
|
484
|
+
* Optional files or data produced during execution
|
|
485
|
+
*/
|
|
486
|
+
artifacts?: Array<TaskArtifact> | undefined;
|
|
487
|
+
/**
|
|
488
|
+
* Additional task metadata
|
|
489
|
+
*/
|
|
166
490
|
metadata?: {
|
|
167
491
|
[k: string]: any;
|
|
168
492
|
} | undefined;
|
|
@@ -183,33 +507,192 @@ export declare const GetAgentTaskKind$inboundSchema: z.ZodNativeEnum<typeof GetA
|
|
|
183
507
|
/** @internal */
|
|
184
508
|
export declare const GetAgentTaskKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskKind>;
|
|
185
509
|
/** @internal */
|
|
186
|
-
export declare const
|
|
510
|
+
export declare const GetAgentTaskTaskState$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskTaskState>;
|
|
511
|
+
/** @internal */
|
|
512
|
+
export declare const GetAgentTaskTaskState$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskTaskState>;
|
|
513
|
+
/** @internal */
|
|
514
|
+
export declare const GetAgentTaskAgentsResponseKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskAgentsResponseKind>;
|
|
515
|
+
/** @internal */
|
|
516
|
+
export declare const GetAgentTaskAgentsResponseKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskAgentsResponseKind>;
|
|
517
|
+
/** @internal */
|
|
518
|
+
export declare const GetAgentTaskExtendedMessageRole$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskExtendedMessageRole>;
|
|
519
|
+
/** @internal */
|
|
520
|
+
export declare const GetAgentTaskExtendedMessageRole$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskExtendedMessageRole>;
|
|
521
|
+
/** @internal */
|
|
522
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage5Kind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage5Kind>;
|
|
523
|
+
/** @internal */
|
|
524
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage5Kind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage5Kind>;
|
|
525
|
+
/** @internal */
|
|
526
|
+
export declare const GetAgentTaskPartsToolResultPart$inboundSchema: z.ZodType<GetAgentTaskPartsToolResultPart, z.ZodTypeDef, unknown>;
|
|
527
|
+
/** @internal */
|
|
528
|
+
export type GetAgentTaskPartsToolResultPart$Outbound = {
|
|
529
|
+
kind: string;
|
|
530
|
+
tool_call_id: string;
|
|
531
|
+
result?: any | undefined;
|
|
532
|
+
metadata?: {
|
|
533
|
+
[k: string]: any;
|
|
534
|
+
} | undefined;
|
|
535
|
+
};
|
|
536
|
+
/** @internal */
|
|
537
|
+
export declare const GetAgentTaskPartsToolResultPart$outboundSchema: z.ZodType<GetAgentTaskPartsToolResultPart$Outbound, z.ZodTypeDef, GetAgentTaskPartsToolResultPart>;
|
|
538
|
+
export declare function getAgentTaskPartsToolResultPartToJSON(getAgentTaskPartsToolResultPart: GetAgentTaskPartsToolResultPart): string;
|
|
539
|
+
export declare function getAgentTaskPartsToolResultPartFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsToolResultPart, SDKValidationError>;
|
|
540
|
+
/** @internal */
|
|
541
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage4Kind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage4Kind>;
|
|
542
|
+
/** @internal */
|
|
543
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage4Kind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage4Kind>;
|
|
544
|
+
/** @internal */
|
|
545
|
+
export declare const GetAgentTaskPartsToolCallPart$inboundSchema: z.ZodType<GetAgentTaskPartsToolCallPart, z.ZodTypeDef, unknown>;
|
|
546
|
+
/** @internal */
|
|
547
|
+
export type GetAgentTaskPartsToolCallPart$Outbound = {
|
|
548
|
+
kind: string;
|
|
549
|
+
tool_name: string;
|
|
550
|
+
tool_call_id: string;
|
|
551
|
+
arguments: {
|
|
552
|
+
[k: string]: any;
|
|
553
|
+
};
|
|
554
|
+
metadata?: {
|
|
555
|
+
[k: string]: any;
|
|
556
|
+
} | undefined;
|
|
557
|
+
};
|
|
558
|
+
/** @internal */
|
|
559
|
+
export declare const GetAgentTaskPartsToolCallPart$outboundSchema: z.ZodType<GetAgentTaskPartsToolCallPart$Outbound, z.ZodTypeDef, GetAgentTaskPartsToolCallPart>;
|
|
560
|
+
export declare function getAgentTaskPartsToolCallPartToJSON(getAgentTaskPartsToolCallPart: GetAgentTaskPartsToolCallPart): string;
|
|
561
|
+
export declare function getAgentTaskPartsToolCallPartFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsToolCallPart, SDKValidationError>;
|
|
562
|
+
/** @internal */
|
|
563
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessageKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessageKind>;
|
|
564
|
+
/** @internal */
|
|
565
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessageKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessageKind>;
|
|
566
|
+
/** @internal */
|
|
567
|
+
export declare const GetAgentTaskFileAgentsResponseFileInURIFormat$inboundSchema: z.ZodType<GetAgentTaskFileAgentsResponseFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
568
|
+
/** @internal */
|
|
569
|
+
export type GetAgentTaskFileAgentsResponseFileInURIFormat$Outbound = {
|
|
570
|
+
uri: string;
|
|
571
|
+
mimeType?: string | undefined;
|
|
572
|
+
name?: string | undefined;
|
|
573
|
+
};
|
|
574
|
+
/** @internal */
|
|
575
|
+
export declare const GetAgentTaskFileAgentsResponseFileInURIFormat$outboundSchema: z.ZodType<GetAgentTaskFileAgentsResponseFileInURIFormat$Outbound, z.ZodTypeDef, GetAgentTaskFileAgentsResponseFileInURIFormat>;
|
|
576
|
+
export declare function getAgentTaskFileAgentsResponseFileInURIFormatToJSON(getAgentTaskFileAgentsResponseFileInURIFormat: GetAgentTaskFileAgentsResponseFileInURIFormat): string;
|
|
577
|
+
export declare function getAgentTaskFileAgentsResponseFileInURIFormatFromJSON(jsonString: string): SafeParseResult<GetAgentTaskFileAgentsResponseFileInURIFormat, SDKValidationError>;
|
|
578
|
+
/** @internal */
|
|
579
|
+
export declare const GetAgentTaskFileAgentsResponseBinaryFormat$inboundSchema: z.ZodType<GetAgentTaskFileAgentsResponseBinaryFormat, z.ZodTypeDef, unknown>;
|
|
580
|
+
/** @internal */
|
|
581
|
+
export type GetAgentTaskFileAgentsResponseBinaryFormat$Outbound = {
|
|
582
|
+
bytes: string;
|
|
583
|
+
mimeType?: string | undefined;
|
|
584
|
+
name?: string | undefined;
|
|
585
|
+
};
|
|
586
|
+
/** @internal */
|
|
587
|
+
export declare const GetAgentTaskFileAgentsResponseBinaryFormat$outboundSchema: z.ZodType<GetAgentTaskFileAgentsResponseBinaryFormat$Outbound, z.ZodTypeDef, GetAgentTaskFileAgentsResponseBinaryFormat>;
|
|
588
|
+
export declare function getAgentTaskFileAgentsResponseBinaryFormatToJSON(getAgentTaskFileAgentsResponseBinaryFormat: GetAgentTaskFileAgentsResponseBinaryFormat): string;
|
|
589
|
+
export declare function getAgentTaskFileAgentsResponseBinaryFormatFromJSON(jsonString: string): SafeParseResult<GetAgentTaskFileAgentsResponseBinaryFormat, SDKValidationError>;
|
|
590
|
+
/** @internal */
|
|
591
|
+
export declare const GetAgentTaskPartsAgentsFile$inboundSchema: z.ZodType<GetAgentTaskPartsAgentsFile, z.ZodTypeDef, unknown>;
|
|
592
|
+
/** @internal */
|
|
593
|
+
export type GetAgentTaskPartsAgentsFile$Outbound = GetAgentTaskFileAgentsResponseBinaryFormat$Outbound | GetAgentTaskFileAgentsResponseFileInURIFormat$Outbound;
|
|
594
|
+
/** @internal */
|
|
595
|
+
export declare const GetAgentTaskPartsAgentsFile$outboundSchema: z.ZodType<GetAgentTaskPartsAgentsFile$Outbound, z.ZodTypeDef, GetAgentTaskPartsAgentsFile>;
|
|
596
|
+
export declare function getAgentTaskPartsAgentsFileToJSON(getAgentTaskPartsAgentsFile: GetAgentTaskPartsAgentsFile): string;
|
|
597
|
+
export declare function getAgentTaskPartsAgentsFileFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsAgentsFile, SDKValidationError>;
|
|
598
|
+
/** @internal */
|
|
599
|
+
export declare const GetAgentTaskPartsAgentsFilePart$inboundSchema: z.ZodType<GetAgentTaskPartsAgentsFilePart, z.ZodTypeDef, unknown>;
|
|
600
|
+
/** @internal */
|
|
601
|
+
export type GetAgentTaskPartsAgentsFilePart$Outbound = {
|
|
602
|
+
kind: string;
|
|
603
|
+
file: GetAgentTaskFileAgentsResponseBinaryFormat$Outbound | GetAgentTaskFileAgentsResponseFileInURIFormat$Outbound;
|
|
604
|
+
metadata?: {
|
|
605
|
+
[k: string]: any;
|
|
606
|
+
} | undefined;
|
|
607
|
+
};
|
|
608
|
+
/** @internal */
|
|
609
|
+
export declare const GetAgentTaskPartsAgentsFilePart$outboundSchema: z.ZodType<GetAgentTaskPartsAgentsFilePart$Outbound, z.ZodTypeDef, GetAgentTaskPartsAgentsFilePart>;
|
|
610
|
+
export declare function getAgentTaskPartsAgentsFilePartToJSON(getAgentTaskPartsAgentsFilePart: GetAgentTaskPartsAgentsFilePart): string;
|
|
611
|
+
export declare function getAgentTaskPartsAgentsFilePartFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsAgentsFilePart, SDKValidationError>;
|
|
612
|
+
/** @internal */
|
|
613
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusKind>;
|
|
614
|
+
/** @internal */
|
|
615
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusKind>;
|
|
616
|
+
/** @internal */
|
|
617
|
+
export declare const GetAgentTaskPartsDataPart$inboundSchema: z.ZodType<GetAgentTaskPartsDataPart, z.ZodTypeDef, unknown>;
|
|
618
|
+
/** @internal */
|
|
619
|
+
export type GetAgentTaskPartsDataPart$Outbound = {
|
|
620
|
+
kind: string;
|
|
621
|
+
data: {
|
|
622
|
+
[k: string]: any;
|
|
623
|
+
};
|
|
624
|
+
metadata?: {
|
|
625
|
+
[k: string]: any;
|
|
626
|
+
} | undefined;
|
|
627
|
+
};
|
|
628
|
+
/** @internal */
|
|
629
|
+
export declare const GetAgentTaskPartsDataPart$outboundSchema: z.ZodType<GetAgentTaskPartsDataPart$Outbound, z.ZodTypeDef, GetAgentTaskPartsDataPart>;
|
|
630
|
+
export declare function getAgentTaskPartsDataPartToJSON(getAgentTaskPartsDataPart: GetAgentTaskPartsDataPart): string;
|
|
631
|
+
export declare function getAgentTaskPartsDataPartFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsDataPart, SDKValidationError>;
|
|
632
|
+
/** @internal */
|
|
633
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage1Kind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage1Kind>;
|
|
634
|
+
/** @internal */
|
|
635
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage1Kind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyStatusMessage1Kind>;
|
|
636
|
+
/** @internal */
|
|
637
|
+
export declare const GetAgentTaskPartsAgentsTextPart$inboundSchema: z.ZodType<GetAgentTaskPartsAgentsTextPart, z.ZodTypeDef, unknown>;
|
|
638
|
+
/** @internal */
|
|
639
|
+
export type GetAgentTaskPartsAgentsTextPart$Outbound = {
|
|
640
|
+
kind: string;
|
|
641
|
+
text: string;
|
|
642
|
+
};
|
|
643
|
+
/** @internal */
|
|
644
|
+
export declare const GetAgentTaskPartsAgentsTextPart$outboundSchema: z.ZodType<GetAgentTaskPartsAgentsTextPart$Outbound, z.ZodTypeDef, GetAgentTaskPartsAgentsTextPart>;
|
|
645
|
+
export declare function getAgentTaskPartsAgentsTextPartToJSON(getAgentTaskPartsAgentsTextPart: GetAgentTaskPartsAgentsTextPart): string;
|
|
646
|
+
export declare function getAgentTaskPartsAgentsTextPartFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsAgentsTextPart, SDKValidationError>;
|
|
187
647
|
/** @internal */
|
|
188
|
-
export
|
|
648
|
+
export declare const GetAgentTaskAgentsParts$inboundSchema: z.ZodType<GetAgentTaskAgentsParts, z.ZodTypeDef, unknown>;
|
|
649
|
+
/** @internal */
|
|
650
|
+
export type GetAgentTaskAgentsParts$Outbound = GetAgentTaskPartsToolCallPart$Outbound | GetAgentTaskPartsAgentsTextPart$Outbound | GetAgentTaskPartsDataPart$Outbound | GetAgentTaskPartsAgentsFilePart$Outbound | GetAgentTaskPartsToolResultPart$Outbound;
|
|
651
|
+
/** @internal */
|
|
652
|
+
export declare const GetAgentTaskAgentsParts$outboundSchema: z.ZodType<GetAgentTaskAgentsParts$Outbound, z.ZodTypeDef, GetAgentTaskAgentsParts>;
|
|
653
|
+
export declare function getAgentTaskAgentsPartsToJSON(getAgentTaskAgentsParts: GetAgentTaskAgentsParts): string;
|
|
654
|
+
export declare function getAgentTaskAgentsPartsFromJSON(jsonString: string): SafeParseResult<GetAgentTaskAgentsParts, SDKValidationError>;
|
|
655
|
+
/** @internal */
|
|
656
|
+
export declare const GetAgentTaskTaskStatusMessage$inboundSchema: z.ZodType<GetAgentTaskTaskStatusMessage, z.ZodTypeDef, unknown>;
|
|
657
|
+
/** @internal */
|
|
658
|
+
export type GetAgentTaskTaskStatusMessage$Outbound = {
|
|
659
|
+
kind: string;
|
|
660
|
+
messageId: string;
|
|
661
|
+
role: string;
|
|
662
|
+
parts: Array<GetAgentTaskPartsToolCallPart$Outbound | GetAgentTaskPartsAgentsTextPart$Outbound | GetAgentTaskPartsDataPart$Outbound | GetAgentTaskPartsAgentsFilePart$Outbound | GetAgentTaskPartsToolResultPart$Outbound>;
|
|
663
|
+
};
|
|
664
|
+
/** @internal */
|
|
665
|
+
export declare const GetAgentTaskTaskStatusMessage$outboundSchema: z.ZodType<GetAgentTaskTaskStatusMessage$Outbound, z.ZodTypeDef, GetAgentTaskTaskStatusMessage>;
|
|
666
|
+
export declare function getAgentTaskTaskStatusMessageToJSON(getAgentTaskTaskStatusMessage: GetAgentTaskTaskStatusMessage): string;
|
|
667
|
+
export declare function getAgentTaskTaskStatusMessageFromJSON(jsonString: string): SafeParseResult<GetAgentTaskTaskStatusMessage, SDKValidationError>;
|
|
668
|
+
/** @internal */
|
|
669
|
+
export declare const GetAgentTaskTaskStatus$inboundSchema: z.ZodType<GetAgentTaskTaskStatus, z.ZodTypeDef, unknown>;
|
|
670
|
+
/** @internal */
|
|
671
|
+
export type GetAgentTaskTaskStatus$Outbound = {
|
|
189
672
|
state: string;
|
|
190
673
|
timestamp?: string | undefined;
|
|
191
|
-
message?:
|
|
674
|
+
message?: GetAgentTaskTaskStatusMessage$Outbound | undefined;
|
|
192
675
|
};
|
|
193
676
|
/** @internal */
|
|
194
|
-
export declare const
|
|
195
|
-
export declare function
|
|
196
|
-
export declare function
|
|
677
|
+
export declare const GetAgentTaskTaskStatus$outboundSchema: z.ZodType<GetAgentTaskTaskStatus$Outbound, z.ZodTypeDef, GetAgentTaskTaskStatus>;
|
|
678
|
+
export declare function getAgentTaskTaskStatusToJSON(getAgentTaskTaskStatus: GetAgentTaskTaskStatus): string;
|
|
679
|
+
export declare function getAgentTaskTaskStatusFromJSON(jsonString: string): SafeParseResult<GetAgentTaskTaskStatus, SDKValidationError>;
|
|
197
680
|
/** @internal */
|
|
198
|
-
export declare const
|
|
681
|
+
export declare const GetAgentTaskAgentsKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskAgentsKind>;
|
|
199
682
|
/** @internal */
|
|
200
|
-
export declare const
|
|
683
|
+
export declare const GetAgentTaskAgentsKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskAgentsKind>;
|
|
201
684
|
/** @internal */
|
|
202
|
-
export declare const
|
|
685
|
+
export declare const ExtendedMessageRole$inboundSchema: z.ZodNativeEnum<typeof ExtendedMessageRole>;
|
|
203
686
|
/** @internal */
|
|
204
|
-
export declare const
|
|
687
|
+
export declare const ExtendedMessageRole$outboundSchema: z.ZodNativeEnum<typeof ExtendedMessageRole>;
|
|
205
688
|
/** @internal */
|
|
206
689
|
export declare const GetAgentTaskPartsAgentsResponse200Kind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200Kind>;
|
|
207
690
|
/** @internal */
|
|
208
691
|
export declare const GetAgentTaskPartsAgentsResponse200Kind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200Kind>;
|
|
209
692
|
/** @internal */
|
|
210
|
-
export declare const
|
|
693
|
+
export declare const PartsToolResultPart$inboundSchema: z.ZodType<PartsToolResultPart, z.ZodTypeDef, unknown>;
|
|
211
694
|
/** @internal */
|
|
212
|
-
export type
|
|
695
|
+
export type PartsToolResultPart$Outbound = {
|
|
213
696
|
kind: string;
|
|
214
697
|
tool_call_id: string;
|
|
215
698
|
result?: any | undefined;
|
|
@@ -218,17 +701,17 @@ export type Parts5$Outbound = {
|
|
|
218
701
|
} | undefined;
|
|
219
702
|
};
|
|
220
703
|
/** @internal */
|
|
221
|
-
export declare const
|
|
222
|
-
export declare function
|
|
223
|
-
export declare function
|
|
704
|
+
export declare const PartsToolResultPart$outboundSchema: z.ZodType<PartsToolResultPart$Outbound, z.ZodTypeDef, PartsToolResultPart>;
|
|
705
|
+
export declare function partsToolResultPartToJSON(partsToolResultPart: PartsToolResultPart): string;
|
|
706
|
+
export declare function partsToolResultPartFromJSON(jsonString: string): SafeParseResult<PartsToolResultPart, SDKValidationError>;
|
|
224
707
|
/** @internal */
|
|
225
708
|
export declare const GetAgentTaskPartsAgentsResponseKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponseKind>;
|
|
226
709
|
/** @internal */
|
|
227
710
|
export declare const GetAgentTaskPartsAgentsResponseKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponseKind>;
|
|
228
711
|
/** @internal */
|
|
229
|
-
export declare const
|
|
712
|
+
export declare const ToolCallPart$inboundSchema: z.ZodType<ToolCallPart, z.ZodTypeDef, unknown>;
|
|
230
713
|
/** @internal */
|
|
231
|
-
export type
|
|
714
|
+
export type ToolCallPart$Outbound = {
|
|
232
715
|
kind: string;
|
|
233
716
|
tool_name: string;
|
|
234
717
|
tool_call_id: string;
|
|
@@ -240,67 +723,67 @@ export type Parts4$Outbound = {
|
|
|
240
723
|
} | undefined;
|
|
241
724
|
};
|
|
242
725
|
/** @internal */
|
|
243
|
-
export declare const
|
|
244
|
-
export declare function
|
|
245
|
-
export declare function
|
|
726
|
+
export declare const ToolCallPart$outboundSchema: z.ZodType<ToolCallPart$Outbound, z.ZodTypeDef, ToolCallPart>;
|
|
727
|
+
export declare function toolCallPartToJSON(toolCallPart: ToolCallPart): string;
|
|
728
|
+
export declare function toolCallPartFromJSON(jsonString: string): SafeParseResult<ToolCallPart, SDKValidationError>;
|
|
246
729
|
/** @internal */
|
|
247
730
|
export declare const GetAgentTaskPartsAgentsKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsKind>;
|
|
248
731
|
/** @internal */
|
|
249
732
|
export declare const GetAgentTaskPartsAgentsKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsKind>;
|
|
250
733
|
/** @internal */
|
|
251
|
-
export declare const
|
|
734
|
+
export declare const GetAgentTaskFileAgentsFileInURIFormat$inboundSchema: z.ZodType<GetAgentTaskFileAgentsFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
252
735
|
/** @internal */
|
|
253
|
-
export type
|
|
736
|
+
export type GetAgentTaskFileAgentsFileInURIFormat$Outbound = {
|
|
254
737
|
uri: string;
|
|
255
738
|
mimeType?: string | undefined;
|
|
256
739
|
name?: string | undefined;
|
|
257
740
|
};
|
|
258
741
|
/** @internal */
|
|
259
|
-
export declare const
|
|
260
|
-
export declare function
|
|
261
|
-
export declare function
|
|
742
|
+
export declare const GetAgentTaskFileAgentsFileInURIFormat$outboundSchema: z.ZodType<GetAgentTaskFileAgentsFileInURIFormat$Outbound, z.ZodTypeDef, GetAgentTaskFileAgentsFileInURIFormat>;
|
|
743
|
+
export declare function getAgentTaskFileAgentsFileInURIFormatToJSON(getAgentTaskFileAgentsFileInURIFormat: GetAgentTaskFileAgentsFileInURIFormat): string;
|
|
744
|
+
export declare function getAgentTaskFileAgentsFileInURIFormatFromJSON(jsonString: string): SafeParseResult<GetAgentTaskFileAgentsFileInURIFormat, SDKValidationError>;
|
|
262
745
|
/** @internal */
|
|
263
|
-
export declare const
|
|
746
|
+
export declare const GetAgentTaskFileAgentsBinaryFormat$inboundSchema: z.ZodType<GetAgentTaskFileAgentsBinaryFormat, z.ZodTypeDef, unknown>;
|
|
264
747
|
/** @internal */
|
|
265
|
-
export type
|
|
748
|
+
export type GetAgentTaskFileAgentsBinaryFormat$Outbound = {
|
|
266
749
|
bytes: string;
|
|
267
750
|
mimeType?: string | undefined;
|
|
268
751
|
name?: string | undefined;
|
|
269
752
|
};
|
|
270
753
|
/** @internal */
|
|
271
|
-
export declare const
|
|
272
|
-
export declare function
|
|
273
|
-
export declare function
|
|
754
|
+
export declare const GetAgentTaskFileAgentsBinaryFormat$outboundSchema: z.ZodType<GetAgentTaskFileAgentsBinaryFormat$Outbound, z.ZodTypeDef, GetAgentTaskFileAgentsBinaryFormat>;
|
|
755
|
+
export declare function getAgentTaskFileAgentsBinaryFormatToJSON(getAgentTaskFileAgentsBinaryFormat: GetAgentTaskFileAgentsBinaryFormat): string;
|
|
756
|
+
export declare function getAgentTaskFileAgentsBinaryFormatFromJSON(jsonString: string): SafeParseResult<GetAgentTaskFileAgentsBinaryFormat, SDKValidationError>;
|
|
274
757
|
/** @internal */
|
|
275
758
|
export declare const PartsFile$inboundSchema: z.ZodType<PartsFile, z.ZodTypeDef, unknown>;
|
|
276
759
|
/** @internal */
|
|
277
|
-
export type PartsFile$Outbound =
|
|
760
|
+
export type PartsFile$Outbound = GetAgentTaskFileAgentsBinaryFormat$Outbound | GetAgentTaskFileAgentsFileInURIFormat$Outbound;
|
|
278
761
|
/** @internal */
|
|
279
762
|
export declare const PartsFile$outboundSchema: z.ZodType<PartsFile$Outbound, z.ZodTypeDef, PartsFile>;
|
|
280
763
|
export declare function partsFileToJSON(partsFile: PartsFile): string;
|
|
281
764
|
export declare function partsFileFromJSON(jsonString: string): SafeParseResult<PartsFile, SDKValidationError>;
|
|
282
765
|
/** @internal */
|
|
283
|
-
export declare const
|
|
766
|
+
export declare const PartsFilePart$inboundSchema: z.ZodType<PartsFilePart, z.ZodTypeDef, unknown>;
|
|
284
767
|
/** @internal */
|
|
285
|
-
export type
|
|
768
|
+
export type PartsFilePart$Outbound = {
|
|
286
769
|
kind: string;
|
|
287
|
-
file:
|
|
770
|
+
file: GetAgentTaskFileAgentsBinaryFormat$Outbound | GetAgentTaskFileAgentsFileInURIFormat$Outbound;
|
|
288
771
|
metadata?: {
|
|
289
772
|
[k: string]: any;
|
|
290
773
|
} | undefined;
|
|
291
774
|
};
|
|
292
775
|
/** @internal */
|
|
293
|
-
export declare const
|
|
294
|
-
export declare function
|
|
295
|
-
export declare function
|
|
776
|
+
export declare const PartsFilePart$outboundSchema: z.ZodType<PartsFilePart$Outbound, z.ZodTypeDef, PartsFilePart>;
|
|
777
|
+
export declare function partsFilePartToJSON(partsFilePart: PartsFilePart): string;
|
|
778
|
+
export declare function partsFilePartFromJSON(jsonString: string): SafeParseResult<PartsFilePart, SDKValidationError>;
|
|
296
779
|
/** @internal */
|
|
297
780
|
export declare const GetAgentTaskPartsKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsKind>;
|
|
298
781
|
/** @internal */
|
|
299
782
|
export declare const GetAgentTaskPartsKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsKind>;
|
|
300
783
|
/** @internal */
|
|
301
|
-
export declare const
|
|
784
|
+
export declare const DataPart$inboundSchema: z.ZodType<DataPart, z.ZodTypeDef, unknown>;
|
|
302
785
|
/** @internal */
|
|
303
|
-
export type
|
|
786
|
+
export type DataPart$Outbound = {
|
|
304
787
|
kind: string;
|
|
305
788
|
data: {
|
|
306
789
|
[k: string]: any;
|
|
@@ -310,40 +793,40 @@ export type Parts2$Outbound = {
|
|
|
310
793
|
} | undefined;
|
|
311
794
|
};
|
|
312
795
|
/** @internal */
|
|
313
|
-
export declare const
|
|
314
|
-
export declare function
|
|
315
|
-
export declare function
|
|
796
|
+
export declare const DataPart$outboundSchema: z.ZodType<DataPart$Outbound, z.ZodTypeDef, DataPart>;
|
|
797
|
+
export declare function dataPartToJSON(dataPart: DataPart): string;
|
|
798
|
+
export declare function dataPartFromJSON(jsonString: string): SafeParseResult<DataPart, SDKValidationError>;
|
|
316
799
|
/** @internal */
|
|
317
800
|
export declare const PartsKind$inboundSchema: z.ZodNativeEnum<typeof PartsKind>;
|
|
318
801
|
/** @internal */
|
|
319
802
|
export declare const PartsKind$outboundSchema: z.ZodNativeEnum<typeof PartsKind>;
|
|
320
803
|
/** @internal */
|
|
321
|
-
export declare const
|
|
804
|
+
export declare const PartsTextPart$inboundSchema: z.ZodType<PartsTextPart, z.ZodTypeDef, unknown>;
|
|
322
805
|
/** @internal */
|
|
323
|
-
export type
|
|
806
|
+
export type PartsTextPart$Outbound = {
|
|
324
807
|
kind: string;
|
|
325
808
|
text: string;
|
|
326
809
|
};
|
|
327
810
|
/** @internal */
|
|
328
|
-
export declare const
|
|
329
|
-
export declare function
|
|
330
|
-
export declare function
|
|
811
|
+
export declare const PartsTextPart$outboundSchema: z.ZodType<PartsTextPart$Outbound, z.ZodTypeDef, PartsTextPart>;
|
|
812
|
+
export declare function partsTextPartToJSON(partsTextPart: PartsTextPart): string;
|
|
813
|
+
export declare function partsTextPartFromJSON(jsonString: string): SafeParseResult<PartsTextPart, SDKValidationError>;
|
|
331
814
|
/** @internal */
|
|
332
815
|
export declare const Parts$inboundSchema: z.ZodType<Parts, z.ZodTypeDef, unknown>;
|
|
333
816
|
/** @internal */
|
|
334
|
-
export type Parts$Outbound =
|
|
817
|
+
export type Parts$Outbound = ToolCallPart$Outbound | PartsTextPart$Outbound | DataPart$Outbound | PartsFilePart$Outbound | PartsToolResultPart$Outbound;
|
|
335
818
|
/** @internal */
|
|
336
819
|
export declare const Parts$outboundSchema: z.ZodType<Parts$Outbound, z.ZodTypeDef, Parts>;
|
|
337
820
|
export declare function partsToJSON(parts: Parts): string;
|
|
338
821
|
export declare function partsFromJSON(jsonString: string): SafeParseResult<Parts, SDKValidationError>;
|
|
339
822
|
/** @internal */
|
|
340
|
-
export declare const
|
|
823
|
+
export declare const ExtendedA2AMessage$inboundSchema: z.ZodType<ExtendedA2AMessage, z.ZodTypeDef, unknown>;
|
|
341
824
|
/** @internal */
|
|
342
|
-
export type
|
|
825
|
+
export type ExtendedA2AMessage$Outbound = {
|
|
343
826
|
kind: string;
|
|
344
827
|
messageId: string;
|
|
345
828
|
role: string;
|
|
346
|
-
parts: Array<
|
|
829
|
+
parts: Array<ToolCallPart$Outbound | PartsTextPart$Outbound | DataPart$Outbound | PartsFilePart$Outbound | PartsToolResultPart$Outbound>;
|
|
347
830
|
taskId?: string | undefined;
|
|
348
831
|
contextId?: string | undefined;
|
|
349
832
|
metadata?: {
|
|
@@ -351,44 +834,135 @@ export type History$Outbound = {
|
|
|
351
834
|
} | undefined;
|
|
352
835
|
};
|
|
353
836
|
/** @internal */
|
|
354
|
-
export declare const
|
|
355
|
-
export declare function
|
|
356
|
-
export declare function
|
|
837
|
+
export declare const ExtendedA2AMessage$outboundSchema: z.ZodType<ExtendedA2AMessage$Outbound, z.ZodTypeDef, ExtendedA2AMessage>;
|
|
838
|
+
export declare function extendedA2AMessageToJSON(extendedA2AMessage: ExtendedA2AMessage): string;
|
|
839
|
+
export declare function extendedA2AMessageFromJSON(jsonString: string): SafeParseResult<ExtendedA2AMessage, SDKValidationError>;
|
|
357
840
|
/** @internal */
|
|
358
|
-
export declare const
|
|
841
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyArtifactsKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyArtifactsKind>;
|
|
359
842
|
/** @internal */
|
|
360
|
-
export declare const
|
|
843
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyArtifactsKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyArtifactsKind>;
|
|
361
844
|
/** @internal */
|
|
362
|
-
export declare const
|
|
845
|
+
export declare const PartsDataPart$inboundSchema: z.ZodType<PartsDataPart, z.ZodTypeDef, unknown>;
|
|
363
846
|
/** @internal */
|
|
364
|
-
export type
|
|
847
|
+
export type PartsDataPart$Outbound = {
|
|
365
848
|
kind: string;
|
|
849
|
+
data: {
|
|
850
|
+
[k: string]: any;
|
|
851
|
+
};
|
|
852
|
+
metadata?: {
|
|
853
|
+
[k: string]: any;
|
|
854
|
+
} | undefined;
|
|
855
|
+
};
|
|
856
|
+
/** @internal */
|
|
857
|
+
export declare const PartsDataPart$outboundSchema: z.ZodType<PartsDataPart$Outbound, z.ZodTypeDef, PartsDataPart>;
|
|
858
|
+
export declare function partsDataPartToJSON(partsDataPart: PartsDataPart): string;
|
|
859
|
+
export declare function partsDataPartFromJSON(jsonString: string): SafeParseResult<PartsDataPart, SDKValidationError>;
|
|
860
|
+
/** @internal */
|
|
861
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind>;
|
|
862
|
+
/** @internal */
|
|
863
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONResponseBodyKind>;
|
|
864
|
+
/** @internal */
|
|
865
|
+
export declare const GetAgentTaskFileFileInURIFormat$inboundSchema: z.ZodType<GetAgentTaskFileFileInURIFormat, z.ZodTypeDef, unknown>;
|
|
866
|
+
/** @internal */
|
|
867
|
+
export type GetAgentTaskFileFileInURIFormat$Outbound = {
|
|
868
|
+
uri: string;
|
|
869
|
+
mimeType?: string | undefined;
|
|
870
|
+
name?: string | undefined;
|
|
871
|
+
};
|
|
872
|
+
/** @internal */
|
|
873
|
+
export declare const GetAgentTaskFileFileInURIFormat$outboundSchema: z.ZodType<GetAgentTaskFileFileInURIFormat$Outbound, z.ZodTypeDef, GetAgentTaskFileFileInURIFormat>;
|
|
874
|
+
export declare function getAgentTaskFileFileInURIFormatToJSON(getAgentTaskFileFileInURIFormat: GetAgentTaskFileFileInURIFormat): string;
|
|
875
|
+
export declare function getAgentTaskFileFileInURIFormatFromJSON(jsonString: string): SafeParseResult<GetAgentTaskFileFileInURIFormat, SDKValidationError>;
|
|
876
|
+
/** @internal */
|
|
877
|
+
export declare const GetAgentTaskFileBinaryFormat$inboundSchema: z.ZodType<GetAgentTaskFileBinaryFormat, z.ZodTypeDef, unknown>;
|
|
878
|
+
/** @internal */
|
|
879
|
+
export type GetAgentTaskFileBinaryFormat$Outbound = {
|
|
880
|
+
bytes: string;
|
|
881
|
+
mimeType?: string | undefined;
|
|
882
|
+
name?: string | undefined;
|
|
883
|
+
};
|
|
884
|
+
/** @internal */
|
|
885
|
+
export declare const GetAgentTaskFileBinaryFormat$outboundSchema: z.ZodType<GetAgentTaskFileBinaryFormat$Outbound, z.ZodTypeDef, GetAgentTaskFileBinaryFormat>;
|
|
886
|
+
export declare function getAgentTaskFileBinaryFormatToJSON(getAgentTaskFileBinaryFormat: GetAgentTaskFileBinaryFormat): string;
|
|
887
|
+
export declare function getAgentTaskFileBinaryFormatFromJSON(jsonString: string): SafeParseResult<GetAgentTaskFileBinaryFormat, SDKValidationError>;
|
|
888
|
+
/** @internal */
|
|
889
|
+
export declare const GetAgentTaskPartsFile$inboundSchema: z.ZodType<GetAgentTaskPartsFile, z.ZodTypeDef, unknown>;
|
|
890
|
+
/** @internal */
|
|
891
|
+
export type GetAgentTaskPartsFile$Outbound = GetAgentTaskFileBinaryFormat$Outbound | GetAgentTaskFileFileInURIFormat$Outbound;
|
|
892
|
+
/** @internal */
|
|
893
|
+
export declare const GetAgentTaskPartsFile$outboundSchema: z.ZodType<GetAgentTaskPartsFile$Outbound, z.ZodTypeDef, GetAgentTaskPartsFile>;
|
|
894
|
+
export declare function getAgentTaskPartsFileToJSON(getAgentTaskPartsFile: GetAgentTaskPartsFile): string;
|
|
895
|
+
export declare function getAgentTaskPartsFileFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsFile, SDKValidationError>;
|
|
896
|
+
/** @internal */
|
|
897
|
+
export declare const GetAgentTaskPartsFilePart$inboundSchema: z.ZodType<GetAgentTaskPartsFilePart, z.ZodTypeDef, unknown>;
|
|
898
|
+
/** @internal */
|
|
899
|
+
export type GetAgentTaskPartsFilePart$Outbound = {
|
|
900
|
+
kind: string;
|
|
901
|
+
file: GetAgentTaskFileBinaryFormat$Outbound | GetAgentTaskFileFileInURIFormat$Outbound;
|
|
902
|
+
metadata?: {
|
|
903
|
+
[k: string]: any;
|
|
904
|
+
} | undefined;
|
|
905
|
+
};
|
|
906
|
+
/** @internal */
|
|
907
|
+
export declare const GetAgentTaskPartsFilePart$outboundSchema: z.ZodType<GetAgentTaskPartsFilePart$Outbound, z.ZodTypeDef, GetAgentTaskPartsFilePart>;
|
|
908
|
+
export declare function getAgentTaskPartsFilePartToJSON(getAgentTaskPartsFilePart: GetAgentTaskPartsFilePart): string;
|
|
909
|
+
export declare function getAgentTaskPartsFilePartFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsFilePart, SDKValidationError>;
|
|
910
|
+
/** @internal */
|
|
911
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONKind$inboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONKind>;
|
|
912
|
+
/** @internal */
|
|
913
|
+
export declare const GetAgentTaskPartsAgentsResponse200ApplicationJSONKind$outboundSchema: z.ZodNativeEnum<typeof GetAgentTaskPartsAgentsResponse200ApplicationJSONKind>;
|
|
914
|
+
/** @internal */
|
|
915
|
+
export declare const GetAgentTaskPartsTextPart$inboundSchema: z.ZodType<GetAgentTaskPartsTextPart, z.ZodTypeDef, unknown>;
|
|
916
|
+
/** @internal */
|
|
917
|
+
export type GetAgentTaskPartsTextPart$Outbound = {
|
|
918
|
+
kind: string;
|
|
919
|
+
text: string;
|
|
920
|
+
};
|
|
921
|
+
/** @internal */
|
|
922
|
+
export declare const GetAgentTaskPartsTextPart$outboundSchema: z.ZodType<GetAgentTaskPartsTextPart$Outbound, z.ZodTypeDef, GetAgentTaskPartsTextPart>;
|
|
923
|
+
export declare function getAgentTaskPartsTextPartToJSON(getAgentTaskPartsTextPart: GetAgentTaskPartsTextPart): string;
|
|
924
|
+
export declare function getAgentTaskPartsTextPartFromJSON(jsonString: string): SafeParseResult<GetAgentTaskPartsTextPart, SDKValidationError>;
|
|
925
|
+
/** @internal */
|
|
926
|
+
export declare const GetAgentTaskParts$inboundSchema: z.ZodType<GetAgentTaskParts, z.ZodTypeDef, unknown>;
|
|
927
|
+
/** @internal */
|
|
928
|
+
export type GetAgentTaskParts$Outbound = GetAgentTaskPartsTextPart$Outbound | GetAgentTaskPartsFilePart$Outbound | PartsDataPart$Outbound;
|
|
929
|
+
/** @internal */
|
|
930
|
+
export declare const GetAgentTaskParts$outboundSchema: z.ZodType<GetAgentTaskParts$Outbound, z.ZodTypeDef, GetAgentTaskParts>;
|
|
931
|
+
export declare function getAgentTaskPartsToJSON(getAgentTaskParts: GetAgentTaskParts): string;
|
|
932
|
+
export declare function getAgentTaskPartsFromJSON(jsonString: string): SafeParseResult<GetAgentTaskParts, SDKValidationError>;
|
|
933
|
+
/** @internal */
|
|
934
|
+
export declare const TaskArtifact$inboundSchema: z.ZodType<TaskArtifact, z.ZodTypeDef, unknown>;
|
|
935
|
+
/** @internal */
|
|
936
|
+
export type TaskArtifact$Outbound = {
|
|
366
937
|
artifactId: string;
|
|
367
938
|
name: string;
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
939
|
+
description?: string | undefined;
|
|
940
|
+
parts: Array<GetAgentTaskPartsTextPart$Outbound | GetAgentTaskPartsFilePart$Outbound | PartsDataPart$Outbound>;
|
|
941
|
+
extensions?: Array<string> | undefined;
|
|
942
|
+
metadata?: {
|
|
943
|
+
[k: string]: any;
|
|
944
|
+
} | undefined;
|
|
371
945
|
};
|
|
372
946
|
/** @internal */
|
|
373
|
-
export declare const
|
|
374
|
-
export declare function
|
|
375
|
-
export declare function
|
|
947
|
+
export declare const TaskArtifact$outboundSchema: z.ZodType<TaskArtifact$Outbound, z.ZodTypeDef, TaskArtifact>;
|
|
948
|
+
export declare function taskArtifactToJSON(taskArtifact: TaskArtifact): string;
|
|
949
|
+
export declare function taskArtifactFromJSON(jsonString: string): SafeParseResult<TaskArtifact, SDKValidationError>;
|
|
376
950
|
/** @internal */
|
|
377
|
-
export declare const
|
|
951
|
+
export declare const GetAgentTaskExtendedTaskResponse$inboundSchema: z.ZodType<GetAgentTaskExtendedTaskResponse, z.ZodTypeDef, unknown>;
|
|
378
952
|
/** @internal */
|
|
379
|
-
export type
|
|
953
|
+
export type GetAgentTaskExtendedTaskResponse$Outbound = {
|
|
380
954
|
id: string;
|
|
381
955
|
contextId: string;
|
|
382
956
|
kind: string;
|
|
383
|
-
status:
|
|
384
|
-
history: Array<
|
|
385
|
-
artifacts?: Array<
|
|
957
|
+
status: GetAgentTaskTaskStatus$Outbound;
|
|
958
|
+
history: Array<ExtendedA2AMessage$Outbound>;
|
|
959
|
+
artifacts?: Array<TaskArtifact$Outbound> | undefined;
|
|
386
960
|
metadata?: {
|
|
387
961
|
[k: string]: any;
|
|
388
962
|
} | undefined;
|
|
389
963
|
};
|
|
390
964
|
/** @internal */
|
|
391
|
-
export declare const
|
|
392
|
-
export declare function
|
|
393
|
-
export declare function
|
|
965
|
+
export declare const GetAgentTaskExtendedTaskResponse$outboundSchema: z.ZodType<GetAgentTaskExtendedTaskResponse$Outbound, z.ZodTypeDef, GetAgentTaskExtendedTaskResponse>;
|
|
966
|
+
export declare function getAgentTaskExtendedTaskResponseToJSON(getAgentTaskExtendedTaskResponse: GetAgentTaskExtendedTaskResponse): string;
|
|
967
|
+
export declare function getAgentTaskExtendedTaskResponseFromJSON(jsonString: string): SafeParseResult<GetAgentTaskExtendedTaskResponse, SDKValidationError>;
|
|
394
968
|
//# sourceMappingURL=getagenttask.d.ts.map
|