@voltagent/server-core 2.1.1 → 2.1.3
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/dist/{edge-YtITyx6y.d.mts → edge-BqPkrtJp.d.mts} +755 -4
- package/dist/{edge-YtITyx6y.d.ts → edge-BqPkrtJp.d.ts} +755 -4
- package/dist/edge.d.mts +1 -1
- package/dist/edge.d.ts +1 -1
- package/dist/edge.js +1156 -18
- package/dist/edge.js.map +1 -1
- package/dist/edge.mjs +1148 -18
- package/dist/edge.mjs.map +1 -1
- package/dist/index.d.mts +2888 -2
- package/dist/index.d.ts +2888 -2
- package/dist/index.js +1350 -145
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1335 -138
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ServerProviderDeps, ConversationStepRecord, A2AServerRegistry } from '@voltagent/core';
|
|
1
|
+
import { ServerProviderDeps, ConversationStepRecord, Conversation, A2AServerRegistry } from '@voltagent/core';
|
|
2
2
|
import { Logger, LogLevel, LogEntry, LogFilter } from '@voltagent/internal';
|
|
3
3
|
import { UIMessage } from 'ai';
|
|
4
4
|
import { A2AServerLike } from '@voltagent/internal/a2a';
|
|
@@ -228,6 +228,36 @@ declare const AGENT_ROUTES: {
|
|
|
228
228
|
};
|
|
229
229
|
};
|
|
230
230
|
};
|
|
231
|
+
readonly resumeChatStream: {
|
|
232
|
+
readonly method: "get";
|
|
233
|
+
readonly path: "/agents/:id/chat/:conversationId/stream";
|
|
234
|
+
readonly summary: "Resume chat stream";
|
|
235
|
+
readonly description: "Resume an in-progress UI message stream for a chat conversation. Requires userId query parameter. Returns 204 if no active stream is found.";
|
|
236
|
+
readonly tags: readonly ["Agent Generation"];
|
|
237
|
+
readonly operationId: "resumeChatStream";
|
|
238
|
+
readonly responses: {
|
|
239
|
+
readonly 200: {
|
|
240
|
+
readonly description: "Successfully resumed SSE stream for chat generation";
|
|
241
|
+
readonly contentType: "text/event-stream";
|
|
242
|
+
};
|
|
243
|
+
readonly 400: {
|
|
244
|
+
readonly description: "Missing or invalid userId";
|
|
245
|
+
readonly contentType: "application/json";
|
|
246
|
+
};
|
|
247
|
+
readonly 204: {
|
|
248
|
+
readonly description: "No active stream found for the conversation";
|
|
249
|
+
readonly contentType: "text/plain";
|
|
250
|
+
};
|
|
251
|
+
readonly 404: {
|
|
252
|
+
readonly description: "Resumable streams not configured";
|
|
253
|
+
readonly contentType: "application/json";
|
|
254
|
+
};
|
|
255
|
+
readonly 500: {
|
|
256
|
+
readonly description: "Failed to resume chat stream due to server error";
|
|
257
|
+
readonly contentType: "application/json";
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
};
|
|
231
261
|
readonly generateObject: {
|
|
232
262
|
readonly method: "post";
|
|
233
263
|
readonly path: "/agents/:id/object";
|
|
@@ -818,7 +848,7 @@ declare const OBSERVABILITY_MEMORY_ROUTES: {
|
|
|
818
848
|
readonly summary: "List memory conversations";
|
|
819
849
|
readonly description: "Retrieve conversations stored in memory with optional filtering by agent or user. Results are paginated and sorted by last update by default.";
|
|
820
850
|
readonly tags: readonly ["Observability", "Memory"];
|
|
821
|
-
readonly operationId: "
|
|
851
|
+
readonly operationId: "listObservabilityMemoryConversations";
|
|
822
852
|
readonly responses: {
|
|
823
853
|
readonly 200: {
|
|
824
854
|
readonly description: "Successfully retrieved conversations";
|
|
@@ -946,6 +976,291 @@ declare const TOOL_ROUTES: {
|
|
|
946
976
|
};
|
|
947
977
|
};
|
|
948
978
|
};
|
|
979
|
+
/**
|
|
980
|
+
* Memory route definitions
|
|
981
|
+
*/
|
|
982
|
+
declare const MEMORY_ROUTES: {
|
|
983
|
+
readonly listConversations: {
|
|
984
|
+
readonly method: "get";
|
|
985
|
+
readonly path: "/api/memory/conversations";
|
|
986
|
+
readonly summary: "List memory conversations";
|
|
987
|
+
readonly description: "Retrieve conversations stored in memory with optional filtering by resource or user.";
|
|
988
|
+
readonly tags: readonly ["Memory"];
|
|
989
|
+
readonly operationId: "listMemoryConversations";
|
|
990
|
+
readonly responses: {
|
|
991
|
+
readonly 200: {
|
|
992
|
+
readonly description: "Successfully retrieved memory conversations";
|
|
993
|
+
readonly contentType: "application/json";
|
|
994
|
+
};
|
|
995
|
+
readonly 400: {
|
|
996
|
+
readonly description: "Invalid query parameters";
|
|
997
|
+
readonly contentType: "application/json";
|
|
998
|
+
};
|
|
999
|
+
readonly 500: {
|
|
1000
|
+
readonly description: "Failed to list memory conversations";
|
|
1001
|
+
readonly contentType: "application/json";
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
readonly getConversation: {
|
|
1006
|
+
readonly method: "get";
|
|
1007
|
+
readonly path: "/api/memory/conversations/:conversationId";
|
|
1008
|
+
readonly summary: "Get conversation by ID";
|
|
1009
|
+
readonly description: "Retrieve a single conversation by ID from memory storage.";
|
|
1010
|
+
readonly tags: readonly ["Memory"];
|
|
1011
|
+
readonly operationId: "getMemoryConversation";
|
|
1012
|
+
readonly responses: {
|
|
1013
|
+
readonly 200: {
|
|
1014
|
+
readonly description: "Successfully retrieved conversation";
|
|
1015
|
+
readonly contentType: "application/json";
|
|
1016
|
+
};
|
|
1017
|
+
readonly 404: {
|
|
1018
|
+
readonly description: "Conversation not found";
|
|
1019
|
+
readonly contentType: "application/json";
|
|
1020
|
+
};
|
|
1021
|
+
readonly 500: {
|
|
1022
|
+
readonly description: "Failed to retrieve conversation";
|
|
1023
|
+
readonly contentType: "application/json";
|
|
1024
|
+
};
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
readonly listMessages: {
|
|
1028
|
+
readonly method: "get";
|
|
1029
|
+
readonly path: "/api/memory/conversations/:conversationId/messages";
|
|
1030
|
+
readonly summary: "List conversation messages";
|
|
1031
|
+
readonly description: "Retrieve messages for a conversation with optional filtering.";
|
|
1032
|
+
readonly tags: readonly ["Memory"];
|
|
1033
|
+
readonly operationId: "listMemoryConversationMessages";
|
|
1034
|
+
readonly responses: {
|
|
1035
|
+
readonly 200: {
|
|
1036
|
+
readonly description: "Successfully retrieved conversation messages";
|
|
1037
|
+
readonly contentType: "application/json";
|
|
1038
|
+
};
|
|
1039
|
+
readonly 404: {
|
|
1040
|
+
readonly description: "Conversation not found";
|
|
1041
|
+
readonly contentType: "application/json";
|
|
1042
|
+
};
|
|
1043
|
+
readonly 500: {
|
|
1044
|
+
readonly description: "Failed to retrieve conversation messages";
|
|
1045
|
+
readonly contentType: "application/json";
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
readonly getMemoryWorkingMemory: {
|
|
1050
|
+
readonly method: "get";
|
|
1051
|
+
readonly path: "/api/memory/conversations/:conversationId/working-memory";
|
|
1052
|
+
readonly summary: "Get working memory";
|
|
1053
|
+
readonly description: "Retrieve working memory content for a conversation.";
|
|
1054
|
+
readonly tags: readonly ["Memory"];
|
|
1055
|
+
readonly operationId: "getMemoryWorkingMemory";
|
|
1056
|
+
readonly responses: {
|
|
1057
|
+
readonly 200: {
|
|
1058
|
+
readonly description: "Successfully retrieved working memory";
|
|
1059
|
+
readonly contentType: "application/json";
|
|
1060
|
+
};
|
|
1061
|
+
readonly 404: {
|
|
1062
|
+
readonly description: "Working memory not found";
|
|
1063
|
+
readonly contentType: "application/json";
|
|
1064
|
+
};
|
|
1065
|
+
readonly 500: {
|
|
1066
|
+
readonly description: "Failed to retrieve working memory";
|
|
1067
|
+
readonly contentType: "application/json";
|
|
1068
|
+
};
|
|
1069
|
+
};
|
|
1070
|
+
};
|
|
1071
|
+
readonly saveMessages: {
|
|
1072
|
+
readonly method: "post";
|
|
1073
|
+
readonly path: "/api/memory/save-messages";
|
|
1074
|
+
readonly summary: "Save messages";
|
|
1075
|
+
readonly description: "Persist new messages into memory storage.";
|
|
1076
|
+
readonly tags: readonly ["Memory"];
|
|
1077
|
+
readonly operationId: "saveMemoryMessages";
|
|
1078
|
+
readonly responses: {
|
|
1079
|
+
readonly 200: {
|
|
1080
|
+
readonly description: "Successfully saved messages";
|
|
1081
|
+
readonly contentType: "application/json";
|
|
1082
|
+
};
|
|
1083
|
+
readonly 400: {
|
|
1084
|
+
readonly description: "Invalid request body";
|
|
1085
|
+
readonly contentType: "application/json";
|
|
1086
|
+
};
|
|
1087
|
+
readonly 500: {
|
|
1088
|
+
readonly description: "Failed to save messages";
|
|
1089
|
+
readonly contentType: "application/json";
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
};
|
|
1093
|
+
readonly createConversation: {
|
|
1094
|
+
readonly method: "post";
|
|
1095
|
+
readonly path: "/api/memory/conversations";
|
|
1096
|
+
readonly summary: "Create conversation";
|
|
1097
|
+
readonly description: "Create a new conversation in memory storage.";
|
|
1098
|
+
readonly tags: readonly ["Memory"];
|
|
1099
|
+
readonly operationId: "createMemoryConversation";
|
|
1100
|
+
readonly responses: {
|
|
1101
|
+
readonly 200: {
|
|
1102
|
+
readonly description: "Successfully created conversation";
|
|
1103
|
+
readonly contentType: "application/json";
|
|
1104
|
+
};
|
|
1105
|
+
readonly 400: {
|
|
1106
|
+
readonly description: "Invalid request body";
|
|
1107
|
+
readonly contentType: "application/json";
|
|
1108
|
+
};
|
|
1109
|
+
readonly 409: {
|
|
1110
|
+
readonly description: "Conversation already exists";
|
|
1111
|
+
readonly contentType: "application/json";
|
|
1112
|
+
};
|
|
1113
|
+
readonly 500: {
|
|
1114
|
+
readonly description: "Failed to create conversation";
|
|
1115
|
+
readonly contentType: "application/json";
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
};
|
|
1119
|
+
readonly updateConversation: {
|
|
1120
|
+
readonly method: "patch";
|
|
1121
|
+
readonly path: "/api/memory/conversations/:conversationId";
|
|
1122
|
+
readonly summary: "Update conversation";
|
|
1123
|
+
readonly description: "Update an existing conversation in memory storage.";
|
|
1124
|
+
readonly tags: readonly ["Memory"];
|
|
1125
|
+
readonly operationId: "updateMemoryConversation";
|
|
1126
|
+
readonly responses: {
|
|
1127
|
+
readonly 200: {
|
|
1128
|
+
readonly description: "Successfully updated conversation";
|
|
1129
|
+
readonly contentType: "application/json";
|
|
1130
|
+
};
|
|
1131
|
+
readonly 400: {
|
|
1132
|
+
readonly description: "Invalid request body";
|
|
1133
|
+
readonly contentType: "application/json";
|
|
1134
|
+
};
|
|
1135
|
+
readonly 404: {
|
|
1136
|
+
readonly description: "Conversation not found";
|
|
1137
|
+
readonly contentType: "application/json";
|
|
1138
|
+
};
|
|
1139
|
+
readonly 500: {
|
|
1140
|
+
readonly description: "Failed to update conversation";
|
|
1141
|
+
readonly contentType: "application/json";
|
|
1142
|
+
};
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
1145
|
+
readonly deleteConversation: {
|
|
1146
|
+
readonly method: "delete";
|
|
1147
|
+
readonly path: "/api/memory/conversations/:conversationId";
|
|
1148
|
+
readonly summary: "Delete conversation";
|
|
1149
|
+
readonly description: "Delete a conversation and its messages from memory storage.";
|
|
1150
|
+
readonly tags: readonly ["Memory"];
|
|
1151
|
+
readonly operationId: "deleteMemoryConversation";
|
|
1152
|
+
readonly responses: {
|
|
1153
|
+
readonly 200: {
|
|
1154
|
+
readonly description: "Successfully deleted conversation";
|
|
1155
|
+
readonly contentType: "application/json";
|
|
1156
|
+
};
|
|
1157
|
+
readonly 404: {
|
|
1158
|
+
readonly description: "Conversation not found";
|
|
1159
|
+
readonly contentType: "application/json";
|
|
1160
|
+
};
|
|
1161
|
+
readonly 500: {
|
|
1162
|
+
readonly description: "Failed to delete conversation";
|
|
1163
|
+
readonly contentType: "application/json";
|
|
1164
|
+
};
|
|
1165
|
+
};
|
|
1166
|
+
};
|
|
1167
|
+
readonly cloneConversation: {
|
|
1168
|
+
readonly method: "post";
|
|
1169
|
+
readonly path: "/api/memory/conversations/:conversationId/clone";
|
|
1170
|
+
readonly summary: "Clone conversation";
|
|
1171
|
+
readonly description: "Create a copy of a conversation, optionally including messages.";
|
|
1172
|
+
readonly tags: readonly ["Memory"];
|
|
1173
|
+
readonly operationId: "cloneMemoryConversation";
|
|
1174
|
+
readonly responses: {
|
|
1175
|
+
readonly 200: {
|
|
1176
|
+
readonly description: "Successfully cloned conversation";
|
|
1177
|
+
readonly contentType: "application/json";
|
|
1178
|
+
};
|
|
1179
|
+
readonly 404: {
|
|
1180
|
+
readonly description: "Conversation not found";
|
|
1181
|
+
readonly contentType: "application/json";
|
|
1182
|
+
};
|
|
1183
|
+
readonly 409: {
|
|
1184
|
+
readonly description: "Conversation already exists";
|
|
1185
|
+
readonly contentType: "application/json";
|
|
1186
|
+
};
|
|
1187
|
+
readonly 500: {
|
|
1188
|
+
readonly description: "Failed to clone conversation";
|
|
1189
|
+
readonly contentType: "application/json";
|
|
1190
|
+
};
|
|
1191
|
+
};
|
|
1192
|
+
};
|
|
1193
|
+
readonly updateWorkingMemory: {
|
|
1194
|
+
readonly method: "post";
|
|
1195
|
+
readonly path: "/api/memory/conversations/:conversationId/working-memory";
|
|
1196
|
+
readonly summary: "Update working memory";
|
|
1197
|
+
readonly description: "Update working memory content for a conversation.";
|
|
1198
|
+
readonly tags: readonly ["Memory"];
|
|
1199
|
+
readonly operationId: "updateMemoryWorkingMemory";
|
|
1200
|
+
readonly responses: {
|
|
1201
|
+
readonly 200: {
|
|
1202
|
+
readonly description: "Successfully updated working memory";
|
|
1203
|
+
readonly contentType: "application/json";
|
|
1204
|
+
};
|
|
1205
|
+
readonly 400: {
|
|
1206
|
+
readonly description: "Invalid request body";
|
|
1207
|
+
readonly contentType: "application/json";
|
|
1208
|
+
};
|
|
1209
|
+
readonly 404: {
|
|
1210
|
+
readonly description: "Conversation not found";
|
|
1211
|
+
readonly contentType: "application/json";
|
|
1212
|
+
};
|
|
1213
|
+
readonly 500: {
|
|
1214
|
+
readonly description: "Failed to update working memory";
|
|
1215
|
+
readonly contentType: "application/json";
|
|
1216
|
+
};
|
|
1217
|
+
};
|
|
1218
|
+
};
|
|
1219
|
+
readonly deleteMessages: {
|
|
1220
|
+
readonly method: "post";
|
|
1221
|
+
readonly path: "/api/memory/messages/delete";
|
|
1222
|
+
readonly summary: "Delete messages";
|
|
1223
|
+
readonly description: "Delete specific messages from memory storage.";
|
|
1224
|
+
readonly tags: readonly ["Memory"];
|
|
1225
|
+
readonly operationId: "deleteMemoryMessages";
|
|
1226
|
+
readonly responses: {
|
|
1227
|
+
readonly 200: {
|
|
1228
|
+
readonly description: "Successfully deleted messages";
|
|
1229
|
+
readonly contentType: "application/json";
|
|
1230
|
+
};
|
|
1231
|
+
readonly 400: {
|
|
1232
|
+
readonly description: "Invalid request body";
|
|
1233
|
+
readonly contentType: "application/json";
|
|
1234
|
+
};
|
|
1235
|
+
readonly 500: {
|
|
1236
|
+
readonly description: "Failed to delete messages";
|
|
1237
|
+
readonly contentType: "application/json";
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
readonly searchMemory: {
|
|
1242
|
+
readonly method: "get";
|
|
1243
|
+
readonly path: "/api/memory/search";
|
|
1244
|
+
readonly summary: "Search memory";
|
|
1245
|
+
readonly description: "Search memory using semantic search when available.";
|
|
1246
|
+
readonly tags: readonly ["Memory"];
|
|
1247
|
+
readonly operationId: "searchMemory";
|
|
1248
|
+
readonly responses: {
|
|
1249
|
+
readonly 200: {
|
|
1250
|
+
readonly description: "Successfully searched memory";
|
|
1251
|
+
readonly contentType: "application/json";
|
|
1252
|
+
};
|
|
1253
|
+
readonly 400: {
|
|
1254
|
+
readonly description: "Invalid query parameters";
|
|
1255
|
+
readonly contentType: "application/json";
|
|
1256
|
+
};
|
|
1257
|
+
readonly 500: {
|
|
1258
|
+
readonly description: "Failed to search memory";
|
|
1259
|
+
readonly contentType: "application/json";
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
};
|
|
949
1264
|
/**
|
|
950
1265
|
* All route definitions combined
|
|
951
1266
|
*/
|
|
@@ -974,7 +1289,7 @@ declare const ALL_ROUTES: {
|
|
|
974
1289
|
readonly summary: "List memory conversations";
|
|
975
1290
|
readonly description: "Retrieve conversations stored in memory with optional filtering by agent or user. Results are paginated and sorted by last update by default.";
|
|
976
1291
|
readonly tags: readonly ["Observability", "Memory"];
|
|
977
|
-
readonly operationId: "
|
|
1292
|
+
readonly operationId: "listObservabilityMemoryConversations";
|
|
978
1293
|
readonly responses: {
|
|
979
1294
|
readonly 200: {
|
|
980
1295
|
readonly description: "Successfully retrieved conversations";
|
|
@@ -1220,6 +1535,286 @@ declare const ALL_ROUTES: {
|
|
|
1220
1535
|
};
|
|
1221
1536
|
};
|
|
1222
1537
|
};
|
|
1538
|
+
readonly listConversations: {
|
|
1539
|
+
readonly method: "get";
|
|
1540
|
+
readonly path: "/api/memory/conversations";
|
|
1541
|
+
readonly summary: "List memory conversations";
|
|
1542
|
+
readonly description: "Retrieve conversations stored in memory with optional filtering by resource or user.";
|
|
1543
|
+
readonly tags: readonly ["Memory"];
|
|
1544
|
+
readonly operationId: "listMemoryConversations";
|
|
1545
|
+
readonly responses: {
|
|
1546
|
+
readonly 200: {
|
|
1547
|
+
readonly description: "Successfully retrieved memory conversations";
|
|
1548
|
+
readonly contentType: "application/json";
|
|
1549
|
+
};
|
|
1550
|
+
readonly 400: {
|
|
1551
|
+
readonly description: "Invalid query parameters";
|
|
1552
|
+
readonly contentType: "application/json";
|
|
1553
|
+
};
|
|
1554
|
+
readonly 500: {
|
|
1555
|
+
readonly description: "Failed to list memory conversations";
|
|
1556
|
+
readonly contentType: "application/json";
|
|
1557
|
+
};
|
|
1558
|
+
};
|
|
1559
|
+
};
|
|
1560
|
+
readonly getConversation: {
|
|
1561
|
+
readonly method: "get";
|
|
1562
|
+
readonly path: "/api/memory/conversations/:conversationId";
|
|
1563
|
+
readonly summary: "Get conversation by ID";
|
|
1564
|
+
readonly description: "Retrieve a single conversation by ID from memory storage.";
|
|
1565
|
+
readonly tags: readonly ["Memory"];
|
|
1566
|
+
readonly operationId: "getMemoryConversation";
|
|
1567
|
+
readonly responses: {
|
|
1568
|
+
readonly 200: {
|
|
1569
|
+
readonly description: "Successfully retrieved conversation";
|
|
1570
|
+
readonly contentType: "application/json";
|
|
1571
|
+
};
|
|
1572
|
+
readonly 404: {
|
|
1573
|
+
readonly description: "Conversation not found";
|
|
1574
|
+
readonly contentType: "application/json";
|
|
1575
|
+
};
|
|
1576
|
+
readonly 500: {
|
|
1577
|
+
readonly description: "Failed to retrieve conversation";
|
|
1578
|
+
readonly contentType: "application/json";
|
|
1579
|
+
};
|
|
1580
|
+
};
|
|
1581
|
+
};
|
|
1582
|
+
readonly listMessages: {
|
|
1583
|
+
readonly method: "get";
|
|
1584
|
+
readonly path: "/api/memory/conversations/:conversationId/messages";
|
|
1585
|
+
readonly summary: "List conversation messages";
|
|
1586
|
+
readonly description: "Retrieve messages for a conversation with optional filtering.";
|
|
1587
|
+
readonly tags: readonly ["Memory"];
|
|
1588
|
+
readonly operationId: "listMemoryConversationMessages";
|
|
1589
|
+
readonly responses: {
|
|
1590
|
+
readonly 200: {
|
|
1591
|
+
readonly description: "Successfully retrieved conversation messages";
|
|
1592
|
+
readonly contentType: "application/json";
|
|
1593
|
+
};
|
|
1594
|
+
readonly 404: {
|
|
1595
|
+
readonly description: "Conversation not found";
|
|
1596
|
+
readonly contentType: "application/json";
|
|
1597
|
+
};
|
|
1598
|
+
readonly 500: {
|
|
1599
|
+
readonly description: "Failed to retrieve conversation messages";
|
|
1600
|
+
readonly contentType: "application/json";
|
|
1601
|
+
};
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1604
|
+
readonly getMemoryWorkingMemory: {
|
|
1605
|
+
readonly method: "get";
|
|
1606
|
+
readonly path: "/api/memory/conversations/:conversationId/working-memory";
|
|
1607
|
+
readonly summary: "Get working memory";
|
|
1608
|
+
readonly description: "Retrieve working memory content for a conversation.";
|
|
1609
|
+
readonly tags: readonly ["Memory"];
|
|
1610
|
+
readonly operationId: "getMemoryWorkingMemory";
|
|
1611
|
+
readonly responses: {
|
|
1612
|
+
readonly 200: {
|
|
1613
|
+
readonly description: "Successfully retrieved working memory";
|
|
1614
|
+
readonly contentType: "application/json";
|
|
1615
|
+
};
|
|
1616
|
+
readonly 404: {
|
|
1617
|
+
readonly description: "Working memory not found";
|
|
1618
|
+
readonly contentType: "application/json";
|
|
1619
|
+
};
|
|
1620
|
+
readonly 500: {
|
|
1621
|
+
readonly description: "Failed to retrieve working memory";
|
|
1622
|
+
readonly contentType: "application/json";
|
|
1623
|
+
};
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1626
|
+
readonly saveMessages: {
|
|
1627
|
+
readonly method: "post";
|
|
1628
|
+
readonly path: "/api/memory/save-messages";
|
|
1629
|
+
readonly summary: "Save messages";
|
|
1630
|
+
readonly description: "Persist new messages into memory storage.";
|
|
1631
|
+
readonly tags: readonly ["Memory"];
|
|
1632
|
+
readonly operationId: "saveMemoryMessages";
|
|
1633
|
+
readonly responses: {
|
|
1634
|
+
readonly 200: {
|
|
1635
|
+
readonly description: "Successfully saved messages";
|
|
1636
|
+
readonly contentType: "application/json";
|
|
1637
|
+
};
|
|
1638
|
+
readonly 400: {
|
|
1639
|
+
readonly description: "Invalid request body";
|
|
1640
|
+
readonly contentType: "application/json";
|
|
1641
|
+
};
|
|
1642
|
+
readonly 500: {
|
|
1643
|
+
readonly description: "Failed to save messages";
|
|
1644
|
+
readonly contentType: "application/json";
|
|
1645
|
+
};
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
readonly createConversation: {
|
|
1649
|
+
readonly method: "post";
|
|
1650
|
+
readonly path: "/api/memory/conversations";
|
|
1651
|
+
readonly summary: "Create conversation";
|
|
1652
|
+
readonly description: "Create a new conversation in memory storage.";
|
|
1653
|
+
readonly tags: readonly ["Memory"];
|
|
1654
|
+
readonly operationId: "createMemoryConversation";
|
|
1655
|
+
readonly responses: {
|
|
1656
|
+
readonly 200: {
|
|
1657
|
+
readonly description: "Successfully created conversation";
|
|
1658
|
+
readonly contentType: "application/json";
|
|
1659
|
+
};
|
|
1660
|
+
readonly 400: {
|
|
1661
|
+
readonly description: "Invalid request body";
|
|
1662
|
+
readonly contentType: "application/json";
|
|
1663
|
+
};
|
|
1664
|
+
readonly 409: {
|
|
1665
|
+
readonly description: "Conversation already exists";
|
|
1666
|
+
readonly contentType: "application/json";
|
|
1667
|
+
};
|
|
1668
|
+
readonly 500: {
|
|
1669
|
+
readonly description: "Failed to create conversation";
|
|
1670
|
+
readonly contentType: "application/json";
|
|
1671
|
+
};
|
|
1672
|
+
};
|
|
1673
|
+
};
|
|
1674
|
+
readonly updateConversation: {
|
|
1675
|
+
readonly method: "patch";
|
|
1676
|
+
readonly path: "/api/memory/conversations/:conversationId";
|
|
1677
|
+
readonly summary: "Update conversation";
|
|
1678
|
+
readonly description: "Update an existing conversation in memory storage.";
|
|
1679
|
+
readonly tags: readonly ["Memory"];
|
|
1680
|
+
readonly operationId: "updateMemoryConversation";
|
|
1681
|
+
readonly responses: {
|
|
1682
|
+
readonly 200: {
|
|
1683
|
+
readonly description: "Successfully updated conversation";
|
|
1684
|
+
readonly contentType: "application/json";
|
|
1685
|
+
};
|
|
1686
|
+
readonly 400: {
|
|
1687
|
+
readonly description: "Invalid request body";
|
|
1688
|
+
readonly contentType: "application/json";
|
|
1689
|
+
};
|
|
1690
|
+
readonly 404: {
|
|
1691
|
+
readonly description: "Conversation not found";
|
|
1692
|
+
readonly contentType: "application/json";
|
|
1693
|
+
};
|
|
1694
|
+
readonly 500: {
|
|
1695
|
+
readonly description: "Failed to update conversation";
|
|
1696
|
+
readonly contentType: "application/json";
|
|
1697
|
+
};
|
|
1698
|
+
};
|
|
1699
|
+
};
|
|
1700
|
+
readonly deleteConversation: {
|
|
1701
|
+
readonly method: "delete";
|
|
1702
|
+
readonly path: "/api/memory/conversations/:conversationId";
|
|
1703
|
+
readonly summary: "Delete conversation";
|
|
1704
|
+
readonly description: "Delete a conversation and its messages from memory storage.";
|
|
1705
|
+
readonly tags: readonly ["Memory"];
|
|
1706
|
+
readonly operationId: "deleteMemoryConversation";
|
|
1707
|
+
readonly responses: {
|
|
1708
|
+
readonly 200: {
|
|
1709
|
+
readonly description: "Successfully deleted conversation";
|
|
1710
|
+
readonly contentType: "application/json";
|
|
1711
|
+
};
|
|
1712
|
+
readonly 404: {
|
|
1713
|
+
readonly description: "Conversation not found";
|
|
1714
|
+
readonly contentType: "application/json";
|
|
1715
|
+
};
|
|
1716
|
+
readonly 500: {
|
|
1717
|
+
readonly description: "Failed to delete conversation";
|
|
1718
|
+
readonly contentType: "application/json";
|
|
1719
|
+
};
|
|
1720
|
+
};
|
|
1721
|
+
};
|
|
1722
|
+
readonly cloneConversation: {
|
|
1723
|
+
readonly method: "post";
|
|
1724
|
+
readonly path: "/api/memory/conversations/:conversationId/clone";
|
|
1725
|
+
readonly summary: "Clone conversation";
|
|
1726
|
+
readonly description: "Create a copy of a conversation, optionally including messages.";
|
|
1727
|
+
readonly tags: readonly ["Memory"];
|
|
1728
|
+
readonly operationId: "cloneMemoryConversation";
|
|
1729
|
+
readonly responses: {
|
|
1730
|
+
readonly 200: {
|
|
1731
|
+
readonly description: "Successfully cloned conversation";
|
|
1732
|
+
readonly contentType: "application/json";
|
|
1733
|
+
};
|
|
1734
|
+
readonly 404: {
|
|
1735
|
+
readonly description: "Conversation not found";
|
|
1736
|
+
readonly contentType: "application/json";
|
|
1737
|
+
};
|
|
1738
|
+
readonly 409: {
|
|
1739
|
+
readonly description: "Conversation already exists";
|
|
1740
|
+
readonly contentType: "application/json";
|
|
1741
|
+
};
|
|
1742
|
+
readonly 500: {
|
|
1743
|
+
readonly description: "Failed to clone conversation";
|
|
1744
|
+
readonly contentType: "application/json";
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
readonly updateWorkingMemory: {
|
|
1749
|
+
readonly method: "post";
|
|
1750
|
+
readonly path: "/api/memory/conversations/:conversationId/working-memory";
|
|
1751
|
+
readonly summary: "Update working memory";
|
|
1752
|
+
readonly description: "Update working memory content for a conversation.";
|
|
1753
|
+
readonly tags: readonly ["Memory"];
|
|
1754
|
+
readonly operationId: "updateMemoryWorkingMemory";
|
|
1755
|
+
readonly responses: {
|
|
1756
|
+
readonly 200: {
|
|
1757
|
+
readonly description: "Successfully updated working memory";
|
|
1758
|
+
readonly contentType: "application/json";
|
|
1759
|
+
};
|
|
1760
|
+
readonly 400: {
|
|
1761
|
+
readonly description: "Invalid request body";
|
|
1762
|
+
readonly contentType: "application/json";
|
|
1763
|
+
};
|
|
1764
|
+
readonly 404: {
|
|
1765
|
+
readonly description: "Conversation not found";
|
|
1766
|
+
readonly contentType: "application/json";
|
|
1767
|
+
};
|
|
1768
|
+
readonly 500: {
|
|
1769
|
+
readonly description: "Failed to update working memory";
|
|
1770
|
+
readonly contentType: "application/json";
|
|
1771
|
+
};
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
readonly deleteMessages: {
|
|
1775
|
+
readonly method: "post";
|
|
1776
|
+
readonly path: "/api/memory/messages/delete";
|
|
1777
|
+
readonly summary: "Delete messages";
|
|
1778
|
+
readonly description: "Delete specific messages from memory storage.";
|
|
1779
|
+
readonly tags: readonly ["Memory"];
|
|
1780
|
+
readonly operationId: "deleteMemoryMessages";
|
|
1781
|
+
readonly responses: {
|
|
1782
|
+
readonly 200: {
|
|
1783
|
+
readonly description: "Successfully deleted messages";
|
|
1784
|
+
readonly contentType: "application/json";
|
|
1785
|
+
};
|
|
1786
|
+
readonly 400: {
|
|
1787
|
+
readonly description: "Invalid request body";
|
|
1788
|
+
readonly contentType: "application/json";
|
|
1789
|
+
};
|
|
1790
|
+
readonly 500: {
|
|
1791
|
+
readonly description: "Failed to delete messages";
|
|
1792
|
+
readonly contentType: "application/json";
|
|
1793
|
+
};
|
|
1794
|
+
};
|
|
1795
|
+
};
|
|
1796
|
+
readonly searchMemory: {
|
|
1797
|
+
readonly method: "get";
|
|
1798
|
+
readonly path: "/api/memory/search";
|
|
1799
|
+
readonly summary: "Search memory";
|
|
1800
|
+
readonly description: "Search memory using semantic search when available.";
|
|
1801
|
+
readonly tags: readonly ["Memory"];
|
|
1802
|
+
readonly operationId: "searchMemory";
|
|
1803
|
+
readonly responses: {
|
|
1804
|
+
readonly 200: {
|
|
1805
|
+
readonly description: "Successfully searched memory";
|
|
1806
|
+
readonly contentType: "application/json";
|
|
1807
|
+
};
|
|
1808
|
+
readonly 400: {
|
|
1809
|
+
readonly description: "Invalid query parameters";
|
|
1810
|
+
readonly contentType: "application/json";
|
|
1811
|
+
};
|
|
1812
|
+
readonly 500: {
|
|
1813
|
+
readonly description: "Failed to search memory";
|
|
1814
|
+
readonly contentType: "application/json";
|
|
1815
|
+
};
|
|
1816
|
+
};
|
|
1817
|
+
};
|
|
1223
1818
|
readonly checkUpdates: {
|
|
1224
1819
|
readonly method: "get";
|
|
1225
1820
|
readonly path: "/updates";
|
|
@@ -1684,6 +2279,36 @@ declare const ALL_ROUTES: {
|
|
|
1684
2279
|
};
|
|
1685
2280
|
};
|
|
1686
2281
|
};
|
|
2282
|
+
readonly resumeChatStream: {
|
|
2283
|
+
readonly method: "get";
|
|
2284
|
+
readonly path: "/agents/:id/chat/:conversationId/stream";
|
|
2285
|
+
readonly summary: "Resume chat stream";
|
|
2286
|
+
readonly description: "Resume an in-progress UI message stream for a chat conversation. Requires userId query parameter. Returns 204 if no active stream is found.";
|
|
2287
|
+
readonly tags: readonly ["Agent Generation"];
|
|
2288
|
+
readonly operationId: "resumeChatStream";
|
|
2289
|
+
readonly responses: {
|
|
2290
|
+
readonly 200: {
|
|
2291
|
+
readonly description: "Successfully resumed SSE stream for chat generation";
|
|
2292
|
+
readonly contentType: "text/event-stream";
|
|
2293
|
+
};
|
|
2294
|
+
readonly 400: {
|
|
2295
|
+
readonly description: "Missing or invalid userId";
|
|
2296
|
+
readonly contentType: "application/json";
|
|
2297
|
+
};
|
|
2298
|
+
readonly 204: {
|
|
2299
|
+
readonly description: "No active stream found for the conversation";
|
|
2300
|
+
readonly contentType: "text/plain";
|
|
2301
|
+
};
|
|
2302
|
+
readonly 404: {
|
|
2303
|
+
readonly description: "Resumable streams not configured";
|
|
2304
|
+
readonly contentType: "application/json";
|
|
2305
|
+
};
|
|
2306
|
+
readonly 500: {
|
|
2307
|
+
readonly description: "Failed to resume chat stream due to server error";
|
|
2308
|
+
readonly contentType: "application/json";
|
|
2309
|
+
};
|
|
2310
|
+
};
|
|
2311
|
+
};
|
|
1687
2312
|
readonly generateObject: {
|
|
1688
2313
|
readonly method: "post";
|
|
1689
2314
|
readonly path: "/agents/:id/object";
|
|
@@ -2143,6 +2768,11 @@ declare function handleStreamText(agentId: string, body: any, deps: ServerProvid
|
|
|
2143
2768
|
* Returns AI SDK UI Message Stream Response
|
|
2144
2769
|
*/
|
|
2145
2770
|
declare function handleChatStream(agentId: string, body: any, deps: ServerProviderDeps, logger: Logger, signal?: AbortSignal): Promise<Response>;
|
|
2771
|
+
/**
|
|
2772
|
+
* Handler for resuming chat streams
|
|
2773
|
+
* Returns SSE stream if active, or 204 if no stream is active
|
|
2774
|
+
*/
|
|
2775
|
+
declare function handleResumeChatStream(agentId: string, conversationId: string, deps: ServerProviderDeps, logger: Logger, userId?: string): Promise<Response>;
|
|
2146
2776
|
/**
|
|
2147
2777
|
* Handler for generating objects
|
|
2148
2778
|
* Returns generated object data
|
|
@@ -2262,6 +2892,127 @@ declare function getWorkingMemoryHandler(deps: ServerProviderDeps, params: {
|
|
|
2262
2892
|
scope: "conversation" | "user";
|
|
2263
2893
|
}): Promise<ApiResponse<MemoryWorkingMemoryResult>>;
|
|
2264
2894
|
|
|
2895
|
+
declare function handleListMemoryConversations(deps: ServerProviderDeps, query: {
|
|
2896
|
+
agentId?: string;
|
|
2897
|
+
resourceId?: string;
|
|
2898
|
+
userId?: string;
|
|
2899
|
+
limit?: number;
|
|
2900
|
+
offset?: number;
|
|
2901
|
+
orderBy?: "created_at" | "updated_at" | "title";
|
|
2902
|
+
orderDirection?: "ASC" | "DESC";
|
|
2903
|
+
}): Promise<ApiResponse<{
|
|
2904
|
+
conversations: Conversation[];
|
|
2905
|
+
total: number;
|
|
2906
|
+
limit: number;
|
|
2907
|
+
offset: number;
|
|
2908
|
+
}>>;
|
|
2909
|
+
declare function handleGetMemoryConversation(deps: ServerProviderDeps, conversationId: string, query: {
|
|
2910
|
+
agentId?: string;
|
|
2911
|
+
}): Promise<ApiResponse<{
|
|
2912
|
+
conversation: Conversation;
|
|
2913
|
+
}>>;
|
|
2914
|
+
declare function handleListMemoryConversationMessages(deps: ServerProviderDeps, conversationId: string, query: {
|
|
2915
|
+
agentId?: string;
|
|
2916
|
+
limit?: number;
|
|
2917
|
+
before?: Date;
|
|
2918
|
+
after?: Date;
|
|
2919
|
+
roles?: string[];
|
|
2920
|
+
userId?: string;
|
|
2921
|
+
}): Promise<ApiResponse<{
|
|
2922
|
+
conversation: Conversation;
|
|
2923
|
+
messages: UIMessage[];
|
|
2924
|
+
}>>;
|
|
2925
|
+
declare function handleGetMemoryWorkingMemory(deps: ServerProviderDeps, conversationId: string, query: {
|
|
2926
|
+
agentId?: string;
|
|
2927
|
+
scope?: "conversation" | "user";
|
|
2928
|
+
userId?: string;
|
|
2929
|
+
}): Promise<ApiResponse<{
|
|
2930
|
+
content: string | null;
|
|
2931
|
+
format: "markdown" | "json" | null;
|
|
2932
|
+
template: string | null;
|
|
2933
|
+
scope: "conversation" | "user";
|
|
2934
|
+
}>>;
|
|
2935
|
+
type SaveMessageEntry = (UIMessage & {
|
|
2936
|
+
userId?: string;
|
|
2937
|
+
conversationId?: string;
|
|
2938
|
+
}) | {
|
|
2939
|
+
message: UIMessage;
|
|
2940
|
+
userId?: string;
|
|
2941
|
+
conversationId?: string;
|
|
2942
|
+
};
|
|
2943
|
+
declare function handleSaveMemoryMessages(deps: ServerProviderDeps, body: {
|
|
2944
|
+
agentId?: string;
|
|
2945
|
+
userId?: string;
|
|
2946
|
+
conversationId?: string;
|
|
2947
|
+
messages?: SaveMessageEntry[];
|
|
2948
|
+
}): Promise<ApiResponse<{
|
|
2949
|
+
saved: number;
|
|
2950
|
+
}>>;
|
|
2951
|
+
declare function handleCreateMemoryConversation(deps: ServerProviderDeps, body: {
|
|
2952
|
+
agentId?: string;
|
|
2953
|
+
conversationId?: string;
|
|
2954
|
+
resourceId?: string;
|
|
2955
|
+
userId?: string;
|
|
2956
|
+
title?: string;
|
|
2957
|
+
metadata?: Record<string, unknown>;
|
|
2958
|
+
}): Promise<ApiResponse<{
|
|
2959
|
+
conversation: Conversation;
|
|
2960
|
+
}>>;
|
|
2961
|
+
declare function handleUpdateMemoryConversation(deps: ServerProviderDeps, conversationId: string, body: {
|
|
2962
|
+
agentId?: string;
|
|
2963
|
+
resourceId?: string;
|
|
2964
|
+
userId?: string;
|
|
2965
|
+
title?: string;
|
|
2966
|
+
metadata?: Record<string, unknown>;
|
|
2967
|
+
}): Promise<ApiResponse<{
|
|
2968
|
+
conversation: Conversation;
|
|
2969
|
+
}>>;
|
|
2970
|
+
declare function handleDeleteMemoryConversation(deps: ServerProviderDeps, conversationId: string, query: {
|
|
2971
|
+
agentId?: string;
|
|
2972
|
+
}): Promise<ApiResponse<{
|
|
2973
|
+
deleted: boolean;
|
|
2974
|
+
}>>;
|
|
2975
|
+
declare function handleCloneMemoryConversation(deps: ServerProviderDeps, conversationId: string, body: {
|
|
2976
|
+
agentId?: string;
|
|
2977
|
+
newConversationId?: string;
|
|
2978
|
+
resourceId?: string;
|
|
2979
|
+
userId?: string;
|
|
2980
|
+
title?: string;
|
|
2981
|
+
metadata?: Record<string, unknown>;
|
|
2982
|
+
includeMessages?: boolean;
|
|
2983
|
+
}): Promise<ApiResponse<{
|
|
2984
|
+
conversation: Conversation;
|
|
2985
|
+
messageCount: number;
|
|
2986
|
+
}>>;
|
|
2987
|
+
declare function handleUpdateMemoryWorkingMemory(deps: ServerProviderDeps, conversationId: string, body: {
|
|
2988
|
+
agentId?: string;
|
|
2989
|
+
userId?: string;
|
|
2990
|
+
content?: string | Record<string, unknown>;
|
|
2991
|
+
mode?: "replace" | "append";
|
|
2992
|
+
}): Promise<ApiResponse<{
|
|
2993
|
+
updated: boolean;
|
|
2994
|
+
}>>;
|
|
2995
|
+
declare function handleDeleteMemoryMessages(deps: ServerProviderDeps, body: {
|
|
2996
|
+
agentId?: string;
|
|
2997
|
+
conversationId?: string;
|
|
2998
|
+
userId?: string;
|
|
2999
|
+
messageIds?: string[];
|
|
3000
|
+
}): Promise<ApiResponse<{
|
|
3001
|
+
deleted: number;
|
|
3002
|
+
}>>;
|
|
3003
|
+
declare function handleSearchMemory(deps: ServerProviderDeps, query: {
|
|
3004
|
+
agentId?: string;
|
|
3005
|
+
searchQuery?: string;
|
|
3006
|
+
limit?: number;
|
|
3007
|
+
threshold?: number;
|
|
3008
|
+
conversationId?: string;
|
|
3009
|
+
userId?: string;
|
|
3010
|
+
}): Promise<ApiResponse<{
|
|
3011
|
+
results: unknown[];
|
|
3012
|
+
count: number;
|
|
3013
|
+
query: string;
|
|
3014
|
+
}>>;
|
|
3015
|
+
|
|
2265
3016
|
type A2AJsonRpcId = string | number | null;
|
|
2266
3017
|
interface JsonRpcError<Data = unknown> {
|
|
2267
3018
|
code: number;
|
|
@@ -2382,4 +3133,4 @@ declare function mapHandlerResponse(response: ApiResponse, type?: string): ApiRe
|
|
|
2382
3133
|
*/
|
|
2383
3134
|
declare function getResponseStatus(response: ApiResponse): number;
|
|
2384
3135
|
|
|
2385
|
-
export {
|
|
3136
|
+
export { handleStreamText as $, type ApiResponse as A, type JsonRpcResponse as B, type JsonRpcStream as C, type JsonRpcHandlerResult as D, type ErrorResponse as E, type JsonRpcRequest as F, type A2ARequestContext as G, type HttpMethod as H, type AgentCardSkill as I, type JsonRpcError as J, type AgentCardProviderInfo as K, LOG_ROUTES as L, type MemoryUserSummary as M, type AgentCardCapabilities as N, OBSERVABILITY_ROUTES as O, type AgentCard as P, A2AErrorCode as Q, type ResponseDefinition as R, type SuccessResponse as S, TOOL_ROUTES as T, UPDATE_ROUTES as U, VoltA2AError as V, WORKFLOW_ROUTES as W, normalizeError as X, isJsonRpcRequest as Y, handleGetAgents as Z, handleGenerateText as _, type A2AServerLikeWithHandlers as a, handleChatStream as a0, handleResumeChatStream as a1, handleGenerateObject as a2, handleStreamObject as a3, handleGetAgent as a4, handleGetAgentHistory as a5, handleGetWorkflows as a6, handleGetWorkflow as a7, handleExecuteWorkflow as a8, handleStreamWorkflow as a9, mapHandlerResponse as aA, getResponseStatus as aB, type OpenApiInfo as aC, type AppSetupConfig as aD, getOrCreateLogger as aE, shouldEnableSwaggerUI as aF, getOpenApiDoc as aG, DEFAULT_CORS_OPTIONS as aH, handleSuspendWorkflow as aa, handleCancelWorkflow as ab, handleResumeWorkflow as ac, handleListWorkflowRuns as ad, handleGetWorkflowState as ae, type LogFilterOptions as af, type LogHandlerResponse as ag, handleGetLogs as ah, handleListMemoryConversations as ai, handleGetMemoryConversation as aj, handleListMemoryConversationMessages as ak, handleGetMemoryWorkingMemory as al, handleSaveMemoryMessages as am, handleCreateMemoryConversation as an, handleUpdateMemoryConversation as ao, handleDeleteMemoryConversation as ap, handleCloneMemoryConversation as aq, handleUpdateMemoryWorkingMemory as ar, handleDeleteMemoryMessages as as, handleSearchMemory as at, listMemoryUsersHandler as au, listMemoryConversationsHandler as av, getConversationMessagesHandler as aw, getConversationStepsHandler as ax, getWorkingMemoryHandler as ay, mapLogResponse as az, type StreamResponse as b, isSuccessResponse as c, type MemoryUserAgentSummary as d, type MemoryConversationSummary as e, type MemoryConversationMessagesResult as f, type MemoryConversationStepsResult as g, type MemoryWorkingMemoryResult as h, isErrorResponse as i, type MemoryListUsersQuery as j, type MemoryListConversationsQuery as k, type MemoryGetMessagesQuery as l, type MemoryGetStepsQuery as m, type RouteDefinition as n, AGENT_ROUTES as o, OBSERVABILITY_MEMORY_ROUTES as p, MEMORY_ROUTES as q, ALL_ROUTES as r, getAllRoutesArray as s, MCP_ROUTES as t, A2A_ROUTES as u, getRoutesByTag as v, parseJsonRpcRequest as w, resolveAgentCard as x, executeA2ARequest as y, type A2AJsonRpcId as z };
|