@orq-ai/node 4.0.0-rc.50 → 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
|
@@ -105,7 +105,7 @@ exports.RetrieveDatasetResponseBody$inboundSchema = z.object({
|
|
|
105
105
|
updated_by_id: z.string().optional(),
|
|
106
106
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
107
107
|
.optional(),
|
|
108
|
-
updated: z.string().datetime({ offset: true }).default("2025-11-
|
|
108
|
+
updated: z.string().datetime({ offset: true }).default("2025-11-20T07:47:04.953Z").transform(v => new Date(v)),
|
|
109
109
|
}).transform((v) => {
|
|
110
110
|
return (0, primitives_js_1.remap)(v, {
|
|
111
111
|
"_id": "id",
|
|
@@ -126,7 +126,7 @@ exports.RetrieveDatasetResponseBody$outboundSchema = z.object({
|
|
|
126
126
|
createdById: z.string().optional(),
|
|
127
127
|
updatedById: z.string().optional(),
|
|
128
128
|
created: z.date().transform(v => v.toISOString()).optional(),
|
|
129
|
-
updated: z.date().default(() => new Date("2025-11-
|
|
129
|
+
updated: z.date().default(() => new Date("2025-11-20T07:47:04.953Z"))
|
|
130
130
|
.transform(v => v.toISOString()),
|
|
131
131
|
}).transform((v) => {
|
|
132
132
|
return (0, primitives_js_1.remap)(v, {
|
|
@@ -83,7 +83,7 @@ exports.RetrieveDatasourceStatus$inboundSchema = z.nativeEnum(exports.RetrieveDa
|
|
|
83
83
|
exports.RetrieveDatasourceStatus$outboundSchema = exports.RetrieveDatasourceStatus$inboundSchema;
|
|
84
84
|
/** @internal */
|
|
85
85
|
exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
86
|
-
_id: z.string().default("
|
|
86
|
+
_id: z.string().default("01KAG3PQCC00VJ42R0G2ZF2SEF"),
|
|
87
87
|
display_name: z.string(),
|
|
88
88
|
description: z.string().optional(),
|
|
89
89
|
status: exports.RetrieveDatasourceStatus$inboundSchema,
|
|
@@ -107,7 +107,7 @@ exports.RetrieveDatasourceResponseBody$inboundSchema = z.object({
|
|
|
107
107
|
});
|
|
108
108
|
/** @internal */
|
|
109
109
|
exports.RetrieveDatasourceResponseBody$outboundSchema = z.object({
|
|
110
|
-
id: z.string().default("
|
|
110
|
+
id: z.string().default("01KAG3PQCC00VJ42R0G2ZF2SEF"),
|
|
111
111
|
displayName: z.string(),
|
|
112
112
|
description: z.string().optional(),
|
|
113
113
|
status: exports.RetrieveDatasourceStatus$outboundSchema,
|
|
@@ -273,7 +273,7 @@ function retrieveToolResponseBodyCodeToolFromJSON(jsonString) {
|
|
|
273
273
|
}
|
|
274
274
|
/** @internal */
|
|
275
275
|
exports.RetrieveToolResponseBody5$inboundSchema = z.object({
|
|
276
|
-
_id: z.string().default("
|
|
276
|
+
_id: z.string().default("tool_01KAG3PQ1CEMSYYEEFCYTQR244"),
|
|
277
277
|
path: z.string(),
|
|
278
278
|
key: z.string(),
|
|
279
279
|
display_name: z.string().optional(),
|
|
@@ -303,7 +303,7 @@ exports.RetrieveToolResponseBody5$inboundSchema = z.object({
|
|
|
303
303
|
});
|
|
304
304
|
/** @internal */
|
|
305
305
|
exports.RetrieveToolResponseBody5$outboundSchema = z.object({
|
|
306
|
-
id: z.string().default("
|
|
306
|
+
id: z.string().default("tool_01KAG3PQ1CEMSYYEEFCYTQR244"),
|
|
307
307
|
path: z.string(),
|
|
308
308
|
key: z.string(),
|
|
309
309
|
displayName: z.string().optional(),
|
|
@@ -387,14 +387,14 @@ function retrieveToolResponseBodyToolsSchemaFromJSON(jsonString) {
|
|
|
387
387
|
}
|
|
388
388
|
/** @internal */
|
|
389
389
|
exports.RetrieveToolResponseBodyTools$inboundSchema = z.object({
|
|
390
|
-
id: z.string().default("
|
|
390
|
+
id: z.string().default("01KAG3PQ1BHEPTMEDHVKRQMCCX"),
|
|
391
391
|
name: z.string(),
|
|
392
392
|
description: z.string().optional(),
|
|
393
393
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$inboundSchema),
|
|
394
394
|
});
|
|
395
395
|
/** @internal */
|
|
396
396
|
exports.RetrieveToolResponseBodyTools$outboundSchema = z.object({
|
|
397
|
-
id: z.string().default("
|
|
397
|
+
id: z.string().default("01KAG3PQ1BHEPTMEDHVKRQMCCX"),
|
|
398
398
|
name: z.string(),
|
|
399
399
|
description: z.string().optional(),
|
|
400
400
|
schema: z.lazy(() => exports.RetrieveToolResponseBodyToolsSchema$outboundSchema),
|
|
@@ -442,7 +442,7 @@ function retrieveToolResponseBodyMcpFromJSON(jsonString) {
|
|
|
442
442
|
}
|
|
443
443
|
/** @internal */
|
|
444
444
|
exports.RetrieveToolResponseBody4$inboundSchema = z.object({
|
|
445
|
-
_id: z.string().default("
|
|
445
|
+
_id: z.string().default("tool_01KAG3PQ1A1ESRS4FVX9ADQP5P"),
|
|
446
446
|
path: z.string(),
|
|
447
447
|
key: z.string(),
|
|
448
448
|
display_name: z.string().optional(),
|
|
@@ -470,7 +470,7 @@ exports.RetrieveToolResponseBody4$inboundSchema = z.object({
|
|
|
470
470
|
});
|
|
471
471
|
/** @internal */
|
|
472
472
|
exports.RetrieveToolResponseBody4$outboundSchema = z.object({
|
|
473
|
-
id: z.string().default("
|
|
473
|
+
id: z.string().default("tool_01KAG3PQ1A1ESRS4FVX9ADQP5P"),
|
|
474
474
|
path: z.string(),
|
|
475
475
|
key: z.string(),
|
|
476
476
|
displayName: z.string().optional(),
|
|
@@ -624,7 +624,7 @@ function retrieveToolResponseBodyHttpFromJSON(jsonString) {
|
|
|
624
624
|
}
|
|
625
625
|
/** @internal */
|
|
626
626
|
exports.RetrieveToolResponseBody3$inboundSchema = z.object({
|
|
627
|
-
_id: z.string().default("
|
|
627
|
+
_id: z.string().default("tool_01KAG3PQ18E705PTE0P5J61G7R"),
|
|
628
628
|
path: z.string(),
|
|
629
629
|
key: z.string(),
|
|
630
630
|
display_name: z.string().optional(),
|
|
@@ -652,7 +652,7 @@ exports.RetrieveToolResponseBody3$inboundSchema = z.object({
|
|
|
652
652
|
});
|
|
653
653
|
/** @internal */
|
|
654
654
|
exports.RetrieveToolResponseBody3$outboundSchema = z.object({
|
|
655
|
-
id: z.string().default("
|
|
655
|
+
id: z.string().default("tool_01KAG3PQ18E705PTE0P5J61G7R"),
|
|
656
656
|
path: z.string(),
|
|
657
657
|
key: z.string(),
|
|
658
658
|
displayName: z.string().optional(),
|
|
@@ -740,7 +740,7 @@ function retrieveToolResponseBodyJsonSchemaFromJSON(jsonString) {
|
|
|
740
740
|
}
|
|
741
741
|
/** @internal */
|
|
742
742
|
exports.RetrieveToolResponseBody2$inboundSchema = z.object({
|
|
743
|
-
_id: z.string().default("
|
|
743
|
+
_id: z.string().default("tool_01KAG3PQ17CEYAJYS31BQY9QRM"),
|
|
744
744
|
path: z.string(),
|
|
745
745
|
key: z.string(),
|
|
746
746
|
display_name: z.string().optional(),
|
|
@@ -769,7 +769,7 @@ exports.RetrieveToolResponseBody2$inboundSchema = z.object({
|
|
|
769
769
|
});
|
|
770
770
|
/** @internal */
|
|
771
771
|
exports.RetrieveToolResponseBody2$outboundSchema = z.object({
|
|
772
|
-
id: z.string().default("
|
|
772
|
+
id: z.string().default("tool_01KAG3PQ17CEYAJYS31BQY9QRM"),
|
|
773
773
|
path: z.string(),
|
|
774
774
|
key: z.string(),
|
|
775
775
|
displayName: z.string().optional(),
|
|
@@ -864,7 +864,7 @@ function retrieveToolResponseBodyFunctionFromJSON(jsonString) {
|
|
|
864
864
|
}
|
|
865
865
|
/** @internal */
|
|
866
866
|
exports.RetrieveToolResponseBody1$inboundSchema = z.object({
|
|
867
|
-
_id: z.string().default("
|
|
867
|
+
_id: z.string().default("tool_01KAG3PQ15Q5TJ3G9AW4TC4ASV"),
|
|
868
868
|
path: z.string(),
|
|
869
869
|
key: z.string(),
|
|
870
870
|
display_name: z.string().optional(),
|
|
@@ -892,7 +892,7 @@ exports.RetrieveToolResponseBody1$inboundSchema = z.object({
|
|
|
892
892
|
});
|
|
893
893
|
/** @internal */
|
|
894
894
|
exports.RetrieveToolResponseBody1$outboundSchema = z.object({
|
|
895
|
-
id: z.string().default("
|
|
895
|
+
id: z.string().default("tool_01KAG3PQ15Q5TJ3G9AW4TC4ASV"),
|
|
896
896
|
path: z.string(),
|
|
897
897
|
key: z.string(),
|
|
898
898
|
displayName: z.string().optional(),
|
|
@@ -612,23 +612,23 @@ export type RunAgentFallbackModelConfiguration2 = {
|
|
|
612
612
|
*/
|
|
613
613
|
export type RunAgentFallbackModelConfiguration = RunAgentFallbackModelConfiguration2 | string;
|
|
614
614
|
/**
|
|
615
|
-
*
|
|
615
|
+
* Message containing tool execution results
|
|
616
616
|
*/
|
|
617
617
|
export declare const RunAgentRoleToolMessage: {
|
|
618
618
|
readonly Tool: "tool";
|
|
619
619
|
};
|
|
620
620
|
/**
|
|
621
|
-
*
|
|
621
|
+
* Message containing tool execution results
|
|
622
622
|
*/
|
|
623
623
|
export type RunAgentRoleToolMessage = ClosedEnum<typeof RunAgentRoleToolMessage>;
|
|
624
624
|
/**
|
|
625
|
-
*
|
|
625
|
+
* Message from the end user
|
|
626
626
|
*/
|
|
627
627
|
export declare const RunAgentRoleUserMessage: {
|
|
628
628
|
readonly User: "user";
|
|
629
629
|
};
|
|
630
630
|
/**
|
|
631
|
-
*
|
|
631
|
+
* Message from the end user
|
|
632
632
|
*/
|
|
633
633
|
export type RunAgentRoleUserMessage = ClosedEnum<typeof RunAgentRoleUserMessage>;
|
|
634
634
|
/**
|
|
@@ -717,7 +717,7 @@ export type RunAgentPublicMessagePart = PublicMessagePartTextPart | PublicMessag
|
|
|
717
717
|
/**
|
|
718
718
|
* The A2A format message containing the task for the agent to perform.
|
|
719
719
|
*/
|
|
720
|
-
export type
|
|
720
|
+
export type RunAgentA2AMessage = {
|
|
721
721
|
/**
|
|
722
722
|
* Optional A2A message ID in ULID format
|
|
723
723
|
*/
|
|
@@ -1397,7 +1397,7 @@ export type RunAgentRequestBody = {
|
|
|
1397
1397
|
/**
|
|
1398
1398
|
* The A2A format message containing the task for the agent to perform.
|
|
1399
1399
|
*/
|
|
1400
|
-
message:
|
|
1400
|
+
message: RunAgentA2AMessage;
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Optional variables for template replacement in system prompt, instructions, and messages
|
|
1403
1403
|
*/
|
|
@@ -1455,55 +1455,57 @@ export type RunAgentRequestBody = {
|
|
|
1455
1455
|
} | undefined;
|
|
1456
1456
|
};
|
|
1457
1457
|
/**
|
|
1458
|
-
* A2A entity type
|
|
1458
|
+
* A2A entity type identifier
|
|
1459
1459
|
*/
|
|
1460
1460
|
export declare const RunAgentKind: {
|
|
1461
1461
|
readonly Task: "task";
|
|
1462
1462
|
};
|
|
1463
1463
|
/**
|
|
1464
|
-
* A2A entity type
|
|
1464
|
+
* A2A entity type identifier
|
|
1465
1465
|
*/
|
|
1466
1466
|
export type RunAgentKind = ClosedEnum<typeof RunAgentKind>;
|
|
1467
1467
|
/**
|
|
1468
|
-
* Current task
|
|
1468
|
+
* 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.
|
|
1469
1469
|
*/
|
|
1470
|
-
export declare const
|
|
1470
|
+
export declare const RunAgentTaskState: {
|
|
1471
1471
|
readonly Submitted: "submitted";
|
|
1472
1472
|
readonly Working: "working";
|
|
1473
1473
|
readonly InputRequired: "input-required";
|
|
1474
|
+
readonly AuthRequired: "auth-required";
|
|
1474
1475
|
readonly Completed: "completed";
|
|
1475
1476
|
readonly Failed: "failed";
|
|
1476
1477
|
readonly Canceled: "canceled";
|
|
1477
1478
|
readonly Rejected: "rejected";
|
|
1478
|
-
readonly AuthRequired: "auth-required";
|
|
1479
|
-
readonly Unknown: "unknown";
|
|
1480
1479
|
};
|
|
1481
1480
|
/**
|
|
1482
|
-
* Current task
|
|
1481
|
+
* 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.
|
|
1483
1482
|
*/
|
|
1484
|
-
export type
|
|
1483
|
+
export type RunAgentTaskState = ClosedEnum<typeof RunAgentTaskState>;
|
|
1485
1484
|
export declare const RunAgentAgentsKind: {
|
|
1486
1485
|
readonly Message: "message";
|
|
1487
1486
|
};
|
|
1488
1487
|
export type RunAgentAgentsKind = ClosedEnum<typeof RunAgentAgentsKind>;
|
|
1489
1488
|
/**
|
|
1490
|
-
*
|
|
1489
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
1491
1490
|
*/
|
|
1492
|
-
export declare const
|
|
1491
|
+
export declare const RunAgentExtendedMessageRole: {
|
|
1493
1492
|
readonly User: "user";
|
|
1494
1493
|
readonly Agent: "agent";
|
|
1495
1494
|
readonly Tool: "tool";
|
|
1496
1495
|
readonly System: "system";
|
|
1497
1496
|
};
|
|
1498
1497
|
/**
|
|
1499
|
-
*
|
|
1498
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
1500
1499
|
*/
|
|
1501
|
-
export type
|
|
1500
|
+
export type RunAgentExtendedMessageRole = ClosedEnum<typeof RunAgentExtendedMessageRole>;
|
|
1502
1501
|
export declare const RunAgentPartsAgentsResponse200ApplicationJSONKind: {
|
|
1503
1502
|
readonly ToolResult: "tool_result";
|
|
1504
1503
|
};
|
|
1505
1504
|
export type RunAgentPartsAgentsResponse200ApplicationJSONKind = ClosedEnum<typeof RunAgentPartsAgentsResponse200ApplicationJSONKind>;
|
|
1506
|
-
|
|
1505
|
+
/**
|
|
1506
|
+
* The result of a tool execution. Contains the tool call ID for correlation and the result data from the tool invocation.
|
|
1507
|
+
*/
|
|
1508
|
+
export type RunAgentPartsToolResultPart = {
|
|
1507
1509
|
kind: RunAgentPartsAgentsResponse200ApplicationJSONKind;
|
|
1508
1510
|
toolCallId: string;
|
|
1509
1511
|
result?: any | undefined;
|
|
@@ -1515,7 +1517,10 @@ export declare const RunAgentPartsAgentsResponse200Kind: {
|
|
|
1515
1517
|
readonly ToolCall: "tool_call";
|
|
1516
1518
|
};
|
|
1517
1519
|
export type RunAgentPartsAgentsResponse200Kind = ClosedEnum<typeof RunAgentPartsAgentsResponse200Kind>;
|
|
1518
|
-
|
|
1520
|
+
/**
|
|
1521
|
+
* A tool invocation request from an agent. Contains the tool name, unique call ID, and arguments for the tool execution.
|
|
1522
|
+
*/
|
|
1523
|
+
export type RunAgentPartsToolCallPart = {
|
|
1519
1524
|
kind: RunAgentPartsAgentsResponse200Kind;
|
|
1520
1525
|
toolName: string;
|
|
1521
1526
|
toolCallId: string;
|
|
@@ -1565,7 +1570,10 @@ export type RunAgentFileBinaryFormat = {
|
|
|
1565
1570
|
name?: string | undefined;
|
|
1566
1571
|
};
|
|
1567
1572
|
export type RunAgentPartsFile = RunAgentFileBinaryFormat | RunAgentFileFileInURIFormat;
|
|
1568
|
-
|
|
1573
|
+
/**
|
|
1574
|
+
* 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.
|
|
1575
|
+
*/
|
|
1576
|
+
export type RunAgentPartsFilePart = {
|
|
1569
1577
|
kind: RunAgentPartsAgentsResponseKind;
|
|
1570
1578
|
file: RunAgentFileBinaryFormat | RunAgentFileFileInURIFormat;
|
|
1571
1579
|
metadata?: {
|
|
@@ -1576,7 +1584,10 @@ export declare const RunAgentPartsAgentsKind: {
|
|
|
1576
1584
|
readonly Data: "data";
|
|
1577
1585
|
};
|
|
1578
1586
|
export type RunAgentPartsAgentsKind = ClosedEnum<typeof RunAgentPartsAgentsKind>;
|
|
1579
|
-
|
|
1587
|
+
/**
|
|
1588
|
+
* A structured data part containing JSON-serializable key-value pairs. Used for passing structured information between agents and tools.
|
|
1589
|
+
*/
|
|
1590
|
+
export type RunAgentPartsDataPart = {
|
|
1580
1591
|
kind: RunAgentPartsAgentsKind;
|
|
1581
1592
|
data: {
|
|
1582
1593
|
[k: string]: any;
|
|
@@ -1589,62 +1600,65 @@ export declare const RunAgentPartsKind: {
|
|
|
1589
1600
|
readonly Text: "text";
|
|
1590
1601
|
};
|
|
1591
1602
|
export type RunAgentPartsKind = ClosedEnum<typeof RunAgentPartsKind>;
|
|
1592
|
-
|
|
1603
|
+
/**
|
|
1604
|
+
* A text content part containing plain text or markdown. Used for agent messages, user input, and text-based responses.
|
|
1605
|
+
*/
|
|
1606
|
+
export type RunAgentPartsTextPart = {
|
|
1593
1607
|
kind: RunAgentPartsKind;
|
|
1594
1608
|
text: string;
|
|
1595
1609
|
};
|
|
1596
|
-
export type RunAgentParts =
|
|
1610
|
+
export type RunAgentParts = RunAgentPartsToolCallPart | RunAgentPartsTextPart | RunAgentPartsDataPart | RunAgentPartsFilePart | RunAgentPartsToolResultPart;
|
|
1597
1611
|
/**
|
|
1598
|
-
* Optional
|
|
1612
|
+
* Optional A2A message providing additional context about the current status
|
|
1599
1613
|
*/
|
|
1600
|
-
export type
|
|
1614
|
+
export type RunAgentTaskStatusMessage = {
|
|
1601
1615
|
kind: RunAgentAgentsKind;
|
|
1602
1616
|
messageId: string;
|
|
1603
1617
|
/**
|
|
1604
|
-
*
|
|
1618
|
+
* Role of the message sender in the A2A protocol. Values: user (end user), agent (AI agent), tool (tool execution result), system (system instructions/prompts).
|
|
1605
1619
|
*/
|
|
1606
|
-
role:
|
|
1607
|
-
parts: Array<
|
|
1620
|
+
role: RunAgentExtendedMessageRole;
|
|
1621
|
+
parts: Array<RunAgentPartsToolCallPart | RunAgentPartsTextPart | RunAgentPartsDataPart | RunAgentPartsFilePart | RunAgentPartsToolResultPart>;
|
|
1608
1622
|
};
|
|
1609
1623
|
/**
|
|
1610
|
-
*
|
|
1624
|
+
* Current task status information
|
|
1611
1625
|
*/
|
|
1612
|
-
export type
|
|
1626
|
+
export type RunAgentTaskStatus = {
|
|
1613
1627
|
/**
|
|
1614
|
-
* Current task
|
|
1628
|
+
* 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.
|
|
1615
1629
|
*/
|
|
1616
|
-
state:
|
|
1630
|
+
state: RunAgentTaskState;
|
|
1617
1631
|
/**
|
|
1618
|
-
* ISO timestamp of status
|
|
1632
|
+
* ISO 8601 timestamp of when the status was updated
|
|
1619
1633
|
*/
|
|
1620
1634
|
timestamp?: string | undefined;
|
|
1621
1635
|
/**
|
|
1622
|
-
* Optional
|
|
1636
|
+
* Optional A2A message providing additional context about the current status
|
|
1623
1637
|
*/
|
|
1624
|
-
message?:
|
|
1638
|
+
message?: RunAgentTaskStatusMessage | undefined;
|
|
1625
1639
|
};
|
|
1626
1640
|
/**
|
|
1627
|
-
* A2A
|
|
1641
|
+
* Response format following the Agent-to-Agent (A2A) protocol. Returned when starting or continuing an agent task execution.
|
|
1628
1642
|
*/
|
|
1629
|
-
export type
|
|
1643
|
+
export type RunAgentA2ATaskResponse = {
|
|
1630
1644
|
/**
|
|
1631
|
-
* The ID of the created agent execution task
|
|
1645
|
+
* The unique ID of the created agent execution task
|
|
1632
1646
|
*/
|
|
1633
1647
|
id: string;
|
|
1634
1648
|
/**
|
|
1635
|
-
* The correlation ID for this execution
|
|
1649
|
+
* The correlation ID for this execution (used for tracking)
|
|
1636
1650
|
*/
|
|
1637
1651
|
contextId: string;
|
|
1638
1652
|
/**
|
|
1639
|
-
* A2A entity type
|
|
1653
|
+
* A2A entity type identifier
|
|
1640
1654
|
*/
|
|
1641
1655
|
kind: RunAgentKind;
|
|
1642
1656
|
/**
|
|
1643
|
-
*
|
|
1657
|
+
* Current task status information
|
|
1644
1658
|
*/
|
|
1645
|
-
status:
|
|
1659
|
+
status: RunAgentTaskStatus;
|
|
1646
1660
|
/**
|
|
1647
|
-
* Task metadata containing workspace_id and trace_id for feedback
|
|
1661
|
+
* Task metadata containing workspace_id and trace_id for feedback and tracking
|
|
1648
1662
|
*/
|
|
1649
1663
|
metadata?: {
|
|
1650
1664
|
[k: string]: any;
|
|
@@ -2193,17 +2207,17 @@ export declare const RunAgentPublicMessagePart$outboundSchema: z.ZodType<RunAgen
|
|
|
2193
2207
|
export declare function runAgentPublicMessagePartToJSON(runAgentPublicMessagePart: RunAgentPublicMessagePart): string;
|
|
2194
2208
|
export declare function runAgentPublicMessagePartFromJSON(jsonString: string): SafeParseResult<RunAgentPublicMessagePart, SDKValidationError>;
|
|
2195
2209
|
/** @internal */
|
|
2196
|
-
export declare const
|
|
2210
|
+
export declare const RunAgentA2AMessage$inboundSchema: z.ZodType<RunAgentA2AMessage, z.ZodTypeDef, unknown>;
|
|
2197
2211
|
/** @internal */
|
|
2198
|
-
export type
|
|
2212
|
+
export type RunAgentA2AMessage$Outbound = {
|
|
2199
2213
|
messageId?: string | undefined;
|
|
2200
2214
|
role: string | string;
|
|
2201
2215
|
parts: Array<PublicMessagePartTextPart$Outbound | PublicMessagePartFilePart$Outbound | PublicMessagePartToolResultPart$Outbound>;
|
|
2202
2216
|
};
|
|
2203
2217
|
/** @internal */
|
|
2204
|
-
export declare const
|
|
2205
|
-
export declare function
|
|
2206
|
-
export declare function
|
|
2218
|
+
export declare const RunAgentA2AMessage$outboundSchema: z.ZodType<RunAgentA2AMessage$Outbound, z.ZodTypeDef, RunAgentA2AMessage>;
|
|
2219
|
+
export declare function runAgentA2AMessageToJSON(runAgentA2AMessage: RunAgentA2AMessage): string;
|
|
2220
|
+
export declare function runAgentA2AMessageFromJSON(jsonString: string): SafeParseResult<RunAgentA2AMessage, SDKValidationError>;
|
|
2207
2221
|
/** @internal */
|
|
2208
2222
|
export declare const RunAgentContact$inboundSchema: z.ZodType<RunAgentContact, z.ZodTypeDef, unknown>;
|
|
2209
2223
|
/** @internal */
|
|
@@ -2783,7 +2797,7 @@ export type RunAgentRequestBody$Outbound = {
|
|
|
2783
2797
|
fallback_models?: Array<RunAgentFallbackModelConfiguration2$Outbound | string> | undefined;
|
|
2784
2798
|
role: string;
|
|
2785
2799
|
instructions: string;
|
|
2786
|
-
message:
|
|
2800
|
+
message: RunAgentA2AMessage$Outbound;
|
|
2787
2801
|
variables?: {
|
|
2788
2802
|
[k: string]: any;
|
|
2789
2803
|
} | undefined;
|
|
@@ -2810,25 +2824,25 @@ export declare const RunAgentKind$inboundSchema: z.ZodNativeEnum<typeof RunAgent
|
|
|
2810
2824
|
/** @internal */
|
|
2811
2825
|
export declare const RunAgentKind$outboundSchema: z.ZodNativeEnum<typeof RunAgentKind>;
|
|
2812
2826
|
/** @internal */
|
|
2813
|
-
export declare const
|
|
2827
|
+
export declare const RunAgentTaskState$inboundSchema: z.ZodNativeEnum<typeof RunAgentTaskState>;
|
|
2814
2828
|
/** @internal */
|
|
2815
|
-
export declare const
|
|
2829
|
+
export declare const RunAgentTaskState$outboundSchema: z.ZodNativeEnum<typeof RunAgentTaskState>;
|
|
2816
2830
|
/** @internal */
|
|
2817
2831
|
export declare const RunAgentAgentsKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentAgentsKind>;
|
|
2818
2832
|
/** @internal */
|
|
2819
2833
|
export declare const RunAgentAgentsKind$outboundSchema: z.ZodNativeEnum<typeof RunAgentAgentsKind>;
|
|
2820
2834
|
/** @internal */
|
|
2821
|
-
export declare const
|
|
2835
|
+
export declare const RunAgentExtendedMessageRole$inboundSchema: z.ZodNativeEnum<typeof RunAgentExtendedMessageRole>;
|
|
2822
2836
|
/** @internal */
|
|
2823
|
-
export declare const
|
|
2837
|
+
export declare const RunAgentExtendedMessageRole$outboundSchema: z.ZodNativeEnum<typeof RunAgentExtendedMessageRole>;
|
|
2824
2838
|
/** @internal */
|
|
2825
2839
|
export declare const RunAgentPartsAgentsResponse200ApplicationJSONKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentPartsAgentsResponse200ApplicationJSONKind>;
|
|
2826
2840
|
/** @internal */
|
|
2827
2841
|
export declare const RunAgentPartsAgentsResponse200ApplicationJSONKind$outboundSchema: z.ZodNativeEnum<typeof RunAgentPartsAgentsResponse200ApplicationJSONKind>;
|
|
2828
2842
|
/** @internal */
|
|
2829
|
-
export declare const
|
|
2843
|
+
export declare const RunAgentPartsToolResultPart$inboundSchema: z.ZodType<RunAgentPartsToolResultPart, z.ZodTypeDef, unknown>;
|
|
2830
2844
|
/** @internal */
|
|
2831
|
-
export type
|
|
2845
|
+
export type RunAgentPartsToolResultPart$Outbound = {
|
|
2832
2846
|
kind: string;
|
|
2833
2847
|
tool_call_id: string;
|
|
2834
2848
|
result?: any | undefined;
|
|
@@ -2837,17 +2851,17 @@ export type RunAgentParts5$Outbound = {
|
|
|
2837
2851
|
} | undefined;
|
|
2838
2852
|
};
|
|
2839
2853
|
/** @internal */
|
|
2840
|
-
export declare const
|
|
2841
|
-
export declare function
|
|
2842
|
-
export declare function
|
|
2854
|
+
export declare const RunAgentPartsToolResultPart$outboundSchema: z.ZodType<RunAgentPartsToolResultPart$Outbound, z.ZodTypeDef, RunAgentPartsToolResultPart>;
|
|
2855
|
+
export declare function runAgentPartsToolResultPartToJSON(runAgentPartsToolResultPart: RunAgentPartsToolResultPart): string;
|
|
2856
|
+
export declare function runAgentPartsToolResultPartFromJSON(jsonString: string): SafeParseResult<RunAgentPartsToolResultPart, SDKValidationError>;
|
|
2843
2857
|
/** @internal */
|
|
2844
2858
|
export declare const RunAgentPartsAgentsResponse200Kind$inboundSchema: z.ZodNativeEnum<typeof RunAgentPartsAgentsResponse200Kind>;
|
|
2845
2859
|
/** @internal */
|
|
2846
2860
|
export declare const RunAgentPartsAgentsResponse200Kind$outboundSchema: z.ZodNativeEnum<typeof RunAgentPartsAgentsResponse200Kind>;
|
|
2847
2861
|
/** @internal */
|
|
2848
|
-
export declare const
|
|
2862
|
+
export declare const RunAgentPartsToolCallPart$inboundSchema: z.ZodType<RunAgentPartsToolCallPart, z.ZodTypeDef, unknown>;
|
|
2849
2863
|
/** @internal */
|
|
2850
|
-
export type
|
|
2864
|
+
export type RunAgentPartsToolCallPart$Outbound = {
|
|
2851
2865
|
kind: string;
|
|
2852
2866
|
tool_name: string;
|
|
2853
2867
|
tool_call_id: string;
|
|
@@ -2859,9 +2873,9 @@ export type RunAgentParts4$Outbound = {
|
|
|
2859
2873
|
} | undefined;
|
|
2860
2874
|
};
|
|
2861
2875
|
/** @internal */
|
|
2862
|
-
export declare const
|
|
2863
|
-
export declare function
|
|
2864
|
-
export declare function
|
|
2876
|
+
export declare const RunAgentPartsToolCallPart$outboundSchema: z.ZodType<RunAgentPartsToolCallPart$Outbound, z.ZodTypeDef, RunAgentPartsToolCallPart>;
|
|
2877
|
+
export declare function runAgentPartsToolCallPartToJSON(runAgentPartsToolCallPart: RunAgentPartsToolCallPart): string;
|
|
2878
|
+
export declare function runAgentPartsToolCallPartFromJSON(jsonString: string): SafeParseResult<RunAgentPartsToolCallPart, SDKValidationError>;
|
|
2865
2879
|
/** @internal */
|
|
2866
2880
|
export declare const RunAgentPartsAgentsResponseKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentPartsAgentsResponseKind>;
|
|
2867
2881
|
/** @internal */
|
|
@@ -2899,9 +2913,9 @@ export declare const RunAgentPartsFile$outboundSchema: z.ZodType<RunAgentPartsFi
|
|
|
2899
2913
|
export declare function runAgentPartsFileToJSON(runAgentPartsFile: RunAgentPartsFile): string;
|
|
2900
2914
|
export declare function runAgentPartsFileFromJSON(jsonString: string): SafeParseResult<RunAgentPartsFile, SDKValidationError>;
|
|
2901
2915
|
/** @internal */
|
|
2902
|
-
export declare const
|
|
2916
|
+
export declare const RunAgentPartsFilePart$inboundSchema: z.ZodType<RunAgentPartsFilePart, z.ZodTypeDef, unknown>;
|
|
2903
2917
|
/** @internal */
|
|
2904
|
-
export type
|
|
2918
|
+
export type RunAgentPartsFilePart$Outbound = {
|
|
2905
2919
|
kind: string;
|
|
2906
2920
|
file: RunAgentFileBinaryFormat$Outbound | RunAgentFileFileInURIFormat$Outbound;
|
|
2907
2921
|
metadata?: {
|
|
@@ -2909,17 +2923,17 @@ export type RunAgentParts3$Outbound = {
|
|
|
2909
2923
|
} | undefined;
|
|
2910
2924
|
};
|
|
2911
2925
|
/** @internal */
|
|
2912
|
-
export declare const
|
|
2913
|
-
export declare function
|
|
2914
|
-
export declare function
|
|
2926
|
+
export declare const RunAgentPartsFilePart$outboundSchema: z.ZodType<RunAgentPartsFilePart$Outbound, z.ZodTypeDef, RunAgentPartsFilePart>;
|
|
2927
|
+
export declare function runAgentPartsFilePartToJSON(runAgentPartsFilePart: RunAgentPartsFilePart): string;
|
|
2928
|
+
export declare function runAgentPartsFilePartFromJSON(jsonString: string): SafeParseResult<RunAgentPartsFilePart, SDKValidationError>;
|
|
2915
2929
|
/** @internal */
|
|
2916
2930
|
export declare const RunAgentPartsAgentsKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentPartsAgentsKind>;
|
|
2917
2931
|
/** @internal */
|
|
2918
2932
|
export declare const RunAgentPartsAgentsKind$outboundSchema: z.ZodNativeEnum<typeof RunAgentPartsAgentsKind>;
|
|
2919
2933
|
/** @internal */
|
|
2920
|
-
export declare const
|
|
2934
|
+
export declare const RunAgentPartsDataPart$inboundSchema: z.ZodType<RunAgentPartsDataPart, z.ZodTypeDef, unknown>;
|
|
2921
2935
|
/** @internal */
|
|
2922
|
-
export type
|
|
2936
|
+
export type RunAgentPartsDataPart$Outbound = {
|
|
2923
2937
|
kind: string;
|
|
2924
2938
|
data: {
|
|
2925
2939
|
[k: string]: any;
|
|
@@ -2929,71 +2943,71 @@ export type RunAgentParts2$Outbound = {
|
|
|
2929
2943
|
} | undefined;
|
|
2930
2944
|
};
|
|
2931
2945
|
/** @internal */
|
|
2932
|
-
export declare const
|
|
2933
|
-
export declare function
|
|
2934
|
-
export declare function
|
|
2946
|
+
export declare const RunAgentPartsDataPart$outboundSchema: z.ZodType<RunAgentPartsDataPart$Outbound, z.ZodTypeDef, RunAgentPartsDataPart>;
|
|
2947
|
+
export declare function runAgentPartsDataPartToJSON(runAgentPartsDataPart: RunAgentPartsDataPart): string;
|
|
2948
|
+
export declare function runAgentPartsDataPartFromJSON(jsonString: string): SafeParseResult<RunAgentPartsDataPart, SDKValidationError>;
|
|
2935
2949
|
/** @internal */
|
|
2936
2950
|
export declare const RunAgentPartsKind$inboundSchema: z.ZodNativeEnum<typeof RunAgentPartsKind>;
|
|
2937
2951
|
/** @internal */
|
|
2938
2952
|
export declare const RunAgentPartsKind$outboundSchema: z.ZodNativeEnum<typeof RunAgentPartsKind>;
|
|
2939
2953
|
/** @internal */
|
|
2940
|
-
export declare const
|
|
2954
|
+
export declare const RunAgentPartsTextPart$inboundSchema: z.ZodType<RunAgentPartsTextPart, z.ZodTypeDef, unknown>;
|
|
2941
2955
|
/** @internal */
|
|
2942
|
-
export type
|
|
2956
|
+
export type RunAgentPartsTextPart$Outbound = {
|
|
2943
2957
|
kind: string;
|
|
2944
2958
|
text: string;
|
|
2945
2959
|
};
|
|
2946
2960
|
/** @internal */
|
|
2947
|
-
export declare const
|
|
2948
|
-
export declare function
|
|
2949
|
-
export declare function
|
|
2961
|
+
export declare const RunAgentPartsTextPart$outboundSchema: z.ZodType<RunAgentPartsTextPart$Outbound, z.ZodTypeDef, RunAgentPartsTextPart>;
|
|
2962
|
+
export declare function runAgentPartsTextPartToJSON(runAgentPartsTextPart: RunAgentPartsTextPart): string;
|
|
2963
|
+
export declare function runAgentPartsTextPartFromJSON(jsonString: string): SafeParseResult<RunAgentPartsTextPart, SDKValidationError>;
|
|
2950
2964
|
/** @internal */
|
|
2951
2965
|
export declare const RunAgentParts$inboundSchema: z.ZodType<RunAgentParts, z.ZodTypeDef, unknown>;
|
|
2952
2966
|
/** @internal */
|
|
2953
|
-
export type RunAgentParts$Outbound =
|
|
2967
|
+
export type RunAgentParts$Outbound = RunAgentPartsToolCallPart$Outbound | RunAgentPartsTextPart$Outbound | RunAgentPartsDataPart$Outbound | RunAgentPartsFilePart$Outbound | RunAgentPartsToolResultPart$Outbound;
|
|
2954
2968
|
/** @internal */
|
|
2955
2969
|
export declare const RunAgentParts$outboundSchema: z.ZodType<RunAgentParts$Outbound, z.ZodTypeDef, RunAgentParts>;
|
|
2956
2970
|
export declare function runAgentPartsToJSON(runAgentParts: RunAgentParts): string;
|
|
2957
2971
|
export declare function runAgentPartsFromJSON(jsonString: string): SafeParseResult<RunAgentParts, SDKValidationError>;
|
|
2958
2972
|
/** @internal */
|
|
2959
|
-
export declare const
|
|
2973
|
+
export declare const RunAgentTaskStatusMessage$inboundSchema: z.ZodType<RunAgentTaskStatusMessage, z.ZodTypeDef, unknown>;
|
|
2960
2974
|
/** @internal */
|
|
2961
|
-
export type
|
|
2975
|
+
export type RunAgentTaskStatusMessage$Outbound = {
|
|
2962
2976
|
kind: string;
|
|
2963
2977
|
messageId: string;
|
|
2964
2978
|
role: string;
|
|
2965
|
-
parts: Array<
|
|
2979
|
+
parts: Array<RunAgentPartsToolCallPart$Outbound | RunAgentPartsTextPart$Outbound | RunAgentPartsDataPart$Outbound | RunAgentPartsFilePart$Outbound | RunAgentPartsToolResultPart$Outbound>;
|
|
2966
2980
|
};
|
|
2967
2981
|
/** @internal */
|
|
2968
|
-
export declare const
|
|
2969
|
-
export declare function
|
|
2970
|
-
export declare function
|
|
2982
|
+
export declare const RunAgentTaskStatusMessage$outboundSchema: z.ZodType<RunAgentTaskStatusMessage$Outbound, z.ZodTypeDef, RunAgentTaskStatusMessage>;
|
|
2983
|
+
export declare function runAgentTaskStatusMessageToJSON(runAgentTaskStatusMessage: RunAgentTaskStatusMessage): string;
|
|
2984
|
+
export declare function runAgentTaskStatusMessageFromJSON(jsonString: string): SafeParseResult<RunAgentTaskStatusMessage, SDKValidationError>;
|
|
2971
2985
|
/** @internal */
|
|
2972
|
-
export declare const
|
|
2986
|
+
export declare const RunAgentTaskStatus$inboundSchema: z.ZodType<RunAgentTaskStatus, z.ZodTypeDef, unknown>;
|
|
2973
2987
|
/** @internal */
|
|
2974
|
-
export type
|
|
2988
|
+
export type RunAgentTaskStatus$Outbound = {
|
|
2975
2989
|
state: string;
|
|
2976
2990
|
timestamp?: string | undefined;
|
|
2977
|
-
message?:
|
|
2991
|
+
message?: RunAgentTaskStatusMessage$Outbound | undefined;
|
|
2978
2992
|
};
|
|
2979
2993
|
/** @internal */
|
|
2980
|
-
export declare const
|
|
2981
|
-
export declare function
|
|
2982
|
-
export declare function
|
|
2994
|
+
export declare const RunAgentTaskStatus$outboundSchema: z.ZodType<RunAgentTaskStatus$Outbound, z.ZodTypeDef, RunAgentTaskStatus>;
|
|
2995
|
+
export declare function runAgentTaskStatusToJSON(runAgentTaskStatus: RunAgentTaskStatus): string;
|
|
2996
|
+
export declare function runAgentTaskStatusFromJSON(jsonString: string): SafeParseResult<RunAgentTaskStatus, SDKValidationError>;
|
|
2983
2997
|
/** @internal */
|
|
2984
|
-
export declare const
|
|
2998
|
+
export declare const RunAgentA2ATaskResponse$inboundSchema: z.ZodType<RunAgentA2ATaskResponse, z.ZodTypeDef, unknown>;
|
|
2985
2999
|
/** @internal */
|
|
2986
|
-
export type
|
|
3000
|
+
export type RunAgentA2ATaskResponse$Outbound = {
|
|
2987
3001
|
id: string;
|
|
2988
3002
|
contextId: string;
|
|
2989
3003
|
kind: string;
|
|
2990
|
-
status:
|
|
3004
|
+
status: RunAgentTaskStatus$Outbound;
|
|
2991
3005
|
metadata?: {
|
|
2992
3006
|
[k: string]: any;
|
|
2993
3007
|
} | undefined;
|
|
2994
3008
|
};
|
|
2995
3009
|
/** @internal */
|
|
2996
|
-
export declare const
|
|
2997
|
-
export declare function
|
|
2998
|
-
export declare function
|
|
3010
|
+
export declare const RunAgentA2ATaskResponse$outboundSchema: z.ZodType<RunAgentA2ATaskResponse$Outbound, z.ZodTypeDef, RunAgentA2ATaskResponse>;
|
|
3011
|
+
export declare function runAgentA2ATaskResponseToJSON(runAgentA2ATaskResponse: RunAgentA2ATaskResponse): string;
|
|
3012
|
+
export declare function runAgentA2ATaskResponseFromJSON(jsonString: string): SafeParseResult<RunAgentA2ATaskResponse, SDKValidationError>;
|
|
2999
3013
|
//# sourceMappingURL=runagent.d.ts.map
|