@ag-ui/core 0.0.48-alpha.0 → 0.0.48
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/index.d.mts +863 -57
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +863 -57
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +172 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +159 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -51,14 +51,14 @@ declare const BaseMessageSchema: z.ZodObject<{
|
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
role: string;
|
|
53
53
|
id: string;
|
|
54
|
-
content?: string | undefined;
|
|
55
54
|
name?: string | undefined;
|
|
55
|
+
content?: string | undefined;
|
|
56
56
|
encryptedValue?: string | undefined;
|
|
57
57
|
}, {
|
|
58
58
|
role: string;
|
|
59
59
|
id: string;
|
|
60
|
-
content?: string | undefined;
|
|
61
60
|
name?: string | undefined;
|
|
61
|
+
content?: string | undefined;
|
|
62
62
|
encryptedValue?: string | undefined;
|
|
63
63
|
}>;
|
|
64
64
|
declare const TextInputContentSchema: z.ZodObject<{
|
|
@@ -239,8 +239,8 @@ declare const AssistantMessageSchema: z.ZodObject<{
|
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
240
|
role: "assistant";
|
|
241
241
|
id: string;
|
|
242
|
-
content?: string | undefined;
|
|
243
242
|
name?: string | undefined;
|
|
243
|
+
content?: string | undefined;
|
|
244
244
|
encryptedValue?: string | undefined;
|
|
245
245
|
toolCalls?: {
|
|
246
246
|
function: {
|
|
@@ -254,8 +254,8 @@ declare const AssistantMessageSchema: z.ZodObject<{
|
|
|
254
254
|
}, {
|
|
255
255
|
role: "assistant";
|
|
256
256
|
id: string;
|
|
257
|
-
content?: string | undefined;
|
|
258
257
|
name?: string | undefined;
|
|
258
|
+
content?: string | undefined;
|
|
259
259
|
encryptedValue?: string | undefined;
|
|
260
260
|
toolCalls?: {
|
|
261
261
|
function: {
|
|
@@ -490,8 +490,8 @@ declare const MessageSchema: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
490
490
|
}, "strip", z.ZodTypeAny, {
|
|
491
491
|
role: "assistant";
|
|
492
492
|
id: string;
|
|
493
|
-
content?: string | undefined;
|
|
494
493
|
name?: string | undefined;
|
|
494
|
+
content?: string | undefined;
|
|
495
495
|
encryptedValue?: string | undefined;
|
|
496
496
|
toolCalls?: {
|
|
497
497
|
function: {
|
|
@@ -505,8 +505,8 @@ declare const MessageSchema: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
505
505
|
}, {
|
|
506
506
|
role: "assistant";
|
|
507
507
|
id: string;
|
|
508
|
-
content?: string | undefined;
|
|
509
508
|
name?: string | undefined;
|
|
509
|
+
content?: string | undefined;
|
|
510
510
|
encryptedValue?: string | undefined;
|
|
511
511
|
toolCalls?: {
|
|
512
512
|
function: {
|
|
@@ -766,8 +766,8 @@ declare const RunAgentInputSchema: z.ZodObject<{
|
|
|
766
766
|
}, "strip", z.ZodTypeAny, {
|
|
767
767
|
role: "assistant";
|
|
768
768
|
id: string;
|
|
769
|
-
content?: string | undefined;
|
|
770
769
|
name?: string | undefined;
|
|
770
|
+
content?: string | undefined;
|
|
771
771
|
encryptedValue?: string | undefined;
|
|
772
772
|
toolCalls?: {
|
|
773
773
|
function: {
|
|
@@ -781,8 +781,8 @@ declare const RunAgentInputSchema: z.ZodObject<{
|
|
|
781
781
|
}, {
|
|
782
782
|
role: "assistant";
|
|
783
783
|
id: string;
|
|
784
|
-
content?: string | undefined;
|
|
785
784
|
name?: string | undefined;
|
|
785
|
+
content?: string | undefined;
|
|
786
786
|
encryptedValue?: string | undefined;
|
|
787
787
|
toolCalls?: {
|
|
788
788
|
function: {
|
|
@@ -974,8 +974,8 @@ declare const RunAgentInputSchema: z.ZodObject<{
|
|
|
974
974
|
} | {
|
|
975
975
|
role: "assistant";
|
|
976
976
|
id: string;
|
|
977
|
-
content?: string | undefined;
|
|
978
977
|
name?: string | undefined;
|
|
978
|
+
content?: string | undefined;
|
|
979
979
|
encryptedValue?: string | undefined;
|
|
980
980
|
toolCalls?: {
|
|
981
981
|
function: {
|
|
@@ -1050,8 +1050,8 @@ declare const RunAgentInputSchema: z.ZodObject<{
|
|
|
1050
1050
|
} | {
|
|
1051
1051
|
role: "assistant";
|
|
1052
1052
|
id: string;
|
|
1053
|
-
content?: string | undefined;
|
|
1054
1053
|
name?: string | undefined;
|
|
1054
|
+
content?: string | undefined;
|
|
1055
1055
|
encryptedValue?: string | undefined;
|
|
1056
1056
|
toolCalls?: {
|
|
1057
1057
|
function: {
|
|
@@ -1136,16 +1136,810 @@ declare class AGUIError extends Error {
|
|
|
1136
1136
|
declare class AGUIConnectNotImplementedError extends AGUIError {
|
|
1137
1137
|
constructor();
|
|
1138
1138
|
}
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
}
|
|
1139
|
+
//#endregion
|
|
1140
|
+
//#region src/capabilities.d.ts
|
|
1141
|
+
/** Describes a sub-agent that can be invoked by a parent agent. */
|
|
1142
|
+
declare const SubAgentInfoSchema: z.ZodObject<{
|
|
1143
|
+
/** Unique name or identifier of the sub-agent. */name: z.ZodString; /** What this sub-agent specializes in. Helps clients build agent selection UIs. */
|
|
1144
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
}, "strip", z.ZodTypeAny, {
|
|
1146
|
+
name: string;
|
|
1147
|
+
description?: string | undefined;
|
|
1148
|
+
}, {
|
|
1149
|
+
name: string;
|
|
1150
|
+
description?: string | undefined;
|
|
1151
|
+
}>;
|
|
1152
|
+
/**
|
|
1153
|
+
* Basic metadata about the agent. Useful for discovery UIs, agent marketplaces,
|
|
1154
|
+
* and debugging. Set these when you want clients to display agent information
|
|
1155
|
+
* or when multiple agents are available and users need to pick one.
|
|
1156
|
+
*/
|
|
1157
|
+
declare const IdentityCapabilitiesSchema: z.ZodObject<{
|
|
1158
|
+
/** Human-readable name shown in UIs and agent selectors. */name: z.ZodOptional<z.ZodString>; /** The framework or platform powering this agent (e.g., "langgraph", "mastra", "crewai"). */
|
|
1159
|
+
type: z.ZodOptional<z.ZodString>; /** What this agent does — helps users and routing logic decide when to use it. */
|
|
1160
|
+
description: z.ZodOptional<z.ZodString>; /** Semantic version of the agent (e.g., "1.2.0"). Useful for compatibility checks. */
|
|
1161
|
+
version: z.ZodOptional<z.ZodString>; /** Organization or team that maintains this agent. */
|
|
1162
|
+
provider: z.ZodOptional<z.ZodString>; /** URL to the agent's documentation or homepage. */
|
|
1163
|
+
documentationUrl: z.ZodOptional<z.ZodString>; /** Arbitrary key-value pairs for integration-specific identity info. */
|
|
1164
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1165
|
+
}, "strip", z.ZodTypeAny, {
|
|
1166
|
+
type?: string | undefined;
|
|
1167
|
+
name?: string | undefined;
|
|
1168
|
+
description?: string | undefined;
|
|
1169
|
+
version?: string | undefined;
|
|
1170
|
+
provider?: string | undefined;
|
|
1171
|
+
documentationUrl?: string | undefined;
|
|
1172
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1173
|
+
}, {
|
|
1174
|
+
type?: string | undefined;
|
|
1175
|
+
name?: string | undefined;
|
|
1176
|
+
description?: string | undefined;
|
|
1177
|
+
version?: string | undefined;
|
|
1178
|
+
provider?: string | undefined;
|
|
1179
|
+
documentationUrl?: string | undefined;
|
|
1180
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1181
|
+
}>;
|
|
1182
|
+
/**
|
|
1183
|
+
* Declares which transport mechanisms the agent supports. Clients use this
|
|
1184
|
+
* to pick the best connection strategy. Only set flags to `true` for transports
|
|
1185
|
+
* your agent actually handles — omit or set `false` for unsupported ones.
|
|
1186
|
+
*/
|
|
1187
|
+
declare const TransportCapabilitiesSchema: z.ZodObject<{
|
|
1188
|
+
/** Set `true` if the agent streams responses via SSE. Most agents enable this. */streaming: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent accepts persistent WebSocket connections. */
|
|
1189
|
+
websocket: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent supports the AG-UI binary protocol (protobuf over HTTP). */
|
|
1190
|
+
httpBinary: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can send async updates via webhooks after a run finishes. */
|
|
1191
|
+
pushNotifications: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent supports resuming interrupted streams via sequence numbers. */
|
|
1192
|
+
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
1193
|
+
}, "strip", z.ZodTypeAny, {
|
|
1194
|
+
streaming?: boolean | undefined;
|
|
1195
|
+
websocket?: boolean | undefined;
|
|
1196
|
+
httpBinary?: boolean | undefined;
|
|
1197
|
+
pushNotifications?: boolean | undefined;
|
|
1198
|
+
resumable?: boolean | undefined;
|
|
1199
|
+
}, {
|
|
1200
|
+
streaming?: boolean | undefined;
|
|
1201
|
+
websocket?: boolean | undefined;
|
|
1202
|
+
httpBinary?: boolean | undefined;
|
|
1203
|
+
pushNotifications?: boolean | undefined;
|
|
1204
|
+
resumable?: boolean | undefined;
|
|
1205
|
+
}>;
|
|
1206
|
+
/**
|
|
1207
|
+
* Tool calling capabilities. Distinguishes between tools the agent itself provides
|
|
1208
|
+
* (listed in `items`) and tools the client passes at runtime via `RunAgentInput.tools`.
|
|
1209
|
+
* Enable this when your agent can call functions, search the web, execute code, etc.
|
|
1210
|
+
*/
|
|
1211
|
+
declare const ToolsCapabilitiesSchema: z.ZodObject<{
|
|
1212
|
+
/** Set `true` if the agent can make tool calls at all. Set `false` to explicitly
|
|
1213
|
+
* signal tool calling is disabled even if items are present. */
|
|
1214
|
+
supported: z.ZodOptional<z.ZodBoolean>;
|
|
1215
|
+
/** The tools this agent provides on its own (full JSON Schema definitions).
|
|
1216
|
+
* These are distinct from client-provided tools passed in `RunAgentInput.tools`. */
|
|
1217
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1218
|
+
name: z.ZodString;
|
|
1219
|
+
description: z.ZodString;
|
|
1220
|
+
parameters: z.ZodAny;
|
|
1221
|
+
}, "strip", z.ZodTypeAny, {
|
|
1222
|
+
name: string;
|
|
1223
|
+
description: string;
|
|
1224
|
+
parameters?: any;
|
|
1225
|
+
}, {
|
|
1226
|
+
name: string;
|
|
1227
|
+
description: string;
|
|
1228
|
+
parameters?: any;
|
|
1229
|
+
}>, "many">>; /** Set `true` if the agent can invoke multiple tools concurrently within a single step. */
|
|
1230
|
+
parallelCalls: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent accepts and uses tools provided by the client at runtime. */
|
|
1231
|
+
clientProvided: z.ZodOptional<z.ZodBoolean>;
|
|
1232
|
+
}, "strip", z.ZodTypeAny, {
|
|
1233
|
+
supported?: boolean | undefined;
|
|
1234
|
+
items?: {
|
|
1235
|
+
name: string;
|
|
1236
|
+
description: string;
|
|
1237
|
+
parameters?: any;
|
|
1238
|
+
}[] | undefined;
|
|
1239
|
+
parallelCalls?: boolean | undefined;
|
|
1240
|
+
clientProvided?: boolean | undefined;
|
|
1241
|
+
}, {
|
|
1242
|
+
supported?: boolean | undefined;
|
|
1243
|
+
items?: {
|
|
1244
|
+
name: string;
|
|
1245
|
+
description: string;
|
|
1246
|
+
parameters?: any;
|
|
1247
|
+
}[] | undefined;
|
|
1248
|
+
parallelCalls?: boolean | undefined;
|
|
1249
|
+
clientProvided?: boolean | undefined;
|
|
1250
|
+
}>;
|
|
1251
|
+
/**
|
|
1252
|
+
* Output format support. Enable `structuredOutput` when your agent can return
|
|
1253
|
+
* responses conforming to a JSON schema, which is useful for programmatic consumption.
|
|
1254
|
+
*/
|
|
1255
|
+
declare const OutputCapabilitiesSchema: z.ZodObject<{
|
|
1256
|
+
/** Set `true` if the agent can produce structured JSON output matching a provided schema. */structuredOutput: z.ZodOptional<z.ZodBoolean>;
|
|
1257
|
+
/** MIME types the agent can produce (e.g., `["text/plain", "application/json"]`).
|
|
1258
|
+
* Omit if the agent only produces plain text. */
|
|
1259
|
+
supportedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1260
|
+
}, "strip", z.ZodTypeAny, {
|
|
1261
|
+
structuredOutput?: boolean | undefined;
|
|
1262
|
+
supportedMimeTypes?: string[] | undefined;
|
|
1263
|
+
}, {
|
|
1264
|
+
structuredOutput?: boolean | undefined;
|
|
1265
|
+
supportedMimeTypes?: string[] | undefined;
|
|
1266
|
+
}>;
|
|
1267
|
+
/**
|
|
1268
|
+
* State and memory management capabilities. These tell the client how the agent
|
|
1269
|
+
* handles shared state and whether conversation context persists across runs.
|
|
1270
|
+
*/
|
|
1271
|
+
declare const StateCapabilitiesSchema: z.ZodObject<{
|
|
1272
|
+
/** Set `true` if the agent emits `STATE_SNAPSHOT` events (full state replacement). */snapshots: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent emits `STATE_DELTA` events (JSON Patch incremental updates). */
|
|
1273
|
+
deltas: z.ZodOptional<z.ZodBoolean>;
|
|
1274
|
+
/** Set `true` if the agent has long-term memory beyond the current thread
|
|
1275
|
+
* (e.g., vector store, knowledge base, or cross-session recall). */
|
|
1276
|
+
memory: z.ZodOptional<z.ZodBoolean>;
|
|
1277
|
+
/** Set `true` if state is preserved across multiple runs within the same thread.
|
|
1278
|
+
* When `false`, state resets on each run. */
|
|
1279
|
+
persistentState: z.ZodOptional<z.ZodBoolean>;
|
|
1280
|
+
}, "strip", z.ZodTypeAny, {
|
|
1281
|
+
snapshots?: boolean | undefined;
|
|
1282
|
+
deltas?: boolean | undefined;
|
|
1283
|
+
memory?: boolean | undefined;
|
|
1284
|
+
persistentState?: boolean | undefined;
|
|
1285
|
+
}, {
|
|
1286
|
+
snapshots?: boolean | undefined;
|
|
1287
|
+
deltas?: boolean | undefined;
|
|
1288
|
+
memory?: boolean | undefined;
|
|
1289
|
+
persistentState?: boolean | undefined;
|
|
1290
|
+
}>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Multi-agent coordination capabilities. Enable these when your agent can
|
|
1293
|
+
* orchestrate or hand off work to other agents.
|
|
1294
|
+
*/
|
|
1295
|
+
declare const MultiAgentCapabilitiesSchema: z.ZodObject<{
|
|
1296
|
+
/** Set `true` if the agent participates in any form of multi-agent coordination. */supported: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can delegate subtasks to other agents while retaining control. */
|
|
1297
|
+
delegation: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can transfer the conversation entirely to another agent. */
|
|
1298
|
+
handoffs: z.ZodOptional<z.ZodBoolean>; /** List of sub-agents this agent can invoke. Helps clients build agent selection UIs. */
|
|
1299
|
+
subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1300
|
+
/** Unique name or identifier of the sub-agent. */name: z.ZodString; /** What this sub-agent specializes in. Helps clients build agent selection UIs. */
|
|
1301
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
}, "strip", z.ZodTypeAny, {
|
|
1303
|
+
name: string;
|
|
1304
|
+
description?: string | undefined;
|
|
1305
|
+
}, {
|
|
1306
|
+
name: string;
|
|
1307
|
+
description?: string | undefined;
|
|
1308
|
+
}>, "many">>;
|
|
1309
|
+
}, "strip", z.ZodTypeAny, {
|
|
1310
|
+
supported?: boolean | undefined;
|
|
1311
|
+
delegation?: boolean | undefined;
|
|
1312
|
+
handoffs?: boolean | undefined;
|
|
1313
|
+
subAgents?: {
|
|
1314
|
+
name: string;
|
|
1315
|
+
description?: string | undefined;
|
|
1316
|
+
}[] | undefined;
|
|
1317
|
+
}, {
|
|
1318
|
+
supported?: boolean | undefined;
|
|
1319
|
+
delegation?: boolean | undefined;
|
|
1320
|
+
handoffs?: boolean | undefined;
|
|
1321
|
+
subAgents?: {
|
|
1322
|
+
name: string;
|
|
1323
|
+
description?: string | undefined;
|
|
1324
|
+
}[] | undefined;
|
|
1325
|
+
}>;
|
|
1326
|
+
/**
|
|
1327
|
+
* Reasoning and thinking capabilities. Enable these when your agent exposes its
|
|
1328
|
+
* internal thought process (e.g., chain-of-thought, extended thinking).
|
|
1329
|
+
*/
|
|
1330
|
+
declare const ReasoningCapabilitiesSchema: z.ZodObject<{
|
|
1331
|
+
/** Set `true` if the agent produces reasoning/thinking tokens visible to the client. */supported: z.ZodOptional<z.ZodBoolean>; /** Set `true` if reasoning tokens are streamed incrementally (vs. returned all at once). */
|
|
1332
|
+
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
1333
|
+
/** Set `true` if reasoning content is encrypted (zero-data-retention mode).
|
|
1334
|
+
* Clients should expect opaque `encryptedValue` fields instead of readable content. */
|
|
1335
|
+
encrypted: z.ZodOptional<z.ZodBoolean>;
|
|
1336
|
+
}, "strip", z.ZodTypeAny, {
|
|
1337
|
+
streaming?: boolean | undefined;
|
|
1338
|
+
supported?: boolean | undefined;
|
|
1339
|
+
encrypted?: boolean | undefined;
|
|
1340
|
+
}, {
|
|
1341
|
+
streaming?: boolean | undefined;
|
|
1342
|
+
supported?: boolean | undefined;
|
|
1343
|
+
encrypted?: boolean | undefined;
|
|
1344
|
+
}>;
|
|
1345
|
+
/**
|
|
1346
|
+
* Modalities the agent can accept as input. Clients use this to show/hide
|
|
1347
|
+
* file upload buttons, audio recorders, image pickers, etc.
|
|
1348
|
+
*/
|
|
1349
|
+
declare const MultimodalInputCapabilitiesSchema: z.ZodObject<{
|
|
1350
|
+
/** Set `true` if the agent can process image inputs (e.g., screenshots, photos). */image: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process audio inputs (speech, recordings). */
|
|
1351
|
+
audio: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process video inputs. */
|
|
1352
|
+
video: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process PDF documents. */
|
|
1353
|
+
pdf: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process arbitrary file uploads. */
|
|
1354
|
+
file: z.ZodOptional<z.ZodBoolean>;
|
|
1355
|
+
}, "strip", z.ZodTypeAny, {
|
|
1356
|
+
image?: boolean | undefined;
|
|
1357
|
+
audio?: boolean | undefined;
|
|
1358
|
+
video?: boolean | undefined;
|
|
1359
|
+
pdf?: boolean | undefined;
|
|
1360
|
+
file?: boolean | undefined;
|
|
1361
|
+
}, {
|
|
1362
|
+
image?: boolean | undefined;
|
|
1363
|
+
audio?: boolean | undefined;
|
|
1364
|
+
video?: boolean | undefined;
|
|
1365
|
+
pdf?: boolean | undefined;
|
|
1366
|
+
file?: boolean | undefined;
|
|
1367
|
+
}>;
|
|
1368
|
+
/**
|
|
1369
|
+
* Modalities the agent can produce as output. Clients use this to anticipate
|
|
1370
|
+
* rich content in the agent's response.
|
|
1371
|
+
*/
|
|
1372
|
+
declare const MultimodalOutputCapabilitiesSchema: z.ZodObject<{
|
|
1373
|
+
/** Set `true` if the agent can generate images as part of its response. */image: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can produce audio output (text-to-speech, audio files). */
|
|
1374
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1375
|
+
}, "strip", z.ZodTypeAny, {
|
|
1376
|
+
image?: boolean | undefined;
|
|
1377
|
+
audio?: boolean | undefined;
|
|
1378
|
+
}, {
|
|
1379
|
+
image?: boolean | undefined;
|
|
1380
|
+
audio?: boolean | undefined;
|
|
1381
|
+
}>;
|
|
1382
|
+
/**
|
|
1383
|
+
* Multimodal input and output support. Organized into `input` and `output`
|
|
1384
|
+
* sub-objects so clients can independently query what the agent accepts
|
|
1385
|
+
* versus what it produces.
|
|
1386
|
+
*/
|
|
1387
|
+
declare const MultimodalCapabilitiesSchema: z.ZodObject<{
|
|
1388
|
+
/** Modalities the agent can accept as input (images, audio, video, PDFs, files). */input: z.ZodOptional<z.ZodObject<{
|
|
1389
|
+
/** Set `true` if the agent can process image inputs (e.g., screenshots, photos). */image: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process audio inputs (speech, recordings). */
|
|
1390
|
+
audio: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process video inputs. */
|
|
1391
|
+
video: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process PDF documents. */
|
|
1392
|
+
pdf: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process arbitrary file uploads. */
|
|
1393
|
+
file: z.ZodOptional<z.ZodBoolean>;
|
|
1394
|
+
}, "strip", z.ZodTypeAny, {
|
|
1395
|
+
image?: boolean | undefined;
|
|
1396
|
+
audio?: boolean | undefined;
|
|
1397
|
+
video?: boolean | undefined;
|
|
1398
|
+
pdf?: boolean | undefined;
|
|
1399
|
+
file?: boolean | undefined;
|
|
1400
|
+
}, {
|
|
1401
|
+
image?: boolean | undefined;
|
|
1402
|
+
audio?: boolean | undefined;
|
|
1403
|
+
video?: boolean | undefined;
|
|
1404
|
+
pdf?: boolean | undefined;
|
|
1405
|
+
file?: boolean | undefined;
|
|
1406
|
+
}>>; /** Modalities the agent can produce as output (images, audio). */
|
|
1407
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
1408
|
+
/** Set `true` if the agent can generate images as part of its response. */image: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can produce audio output (text-to-speech, audio files). */
|
|
1409
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1410
|
+
}, "strip", z.ZodTypeAny, {
|
|
1411
|
+
image?: boolean | undefined;
|
|
1412
|
+
audio?: boolean | undefined;
|
|
1413
|
+
}, {
|
|
1414
|
+
image?: boolean | undefined;
|
|
1415
|
+
audio?: boolean | undefined;
|
|
1416
|
+
}>>;
|
|
1417
|
+
}, "strip", z.ZodTypeAny, {
|
|
1418
|
+
input?: {
|
|
1419
|
+
image?: boolean | undefined;
|
|
1420
|
+
audio?: boolean | undefined;
|
|
1421
|
+
video?: boolean | undefined;
|
|
1422
|
+
pdf?: boolean | undefined;
|
|
1423
|
+
file?: boolean | undefined;
|
|
1424
|
+
} | undefined;
|
|
1425
|
+
output?: {
|
|
1426
|
+
image?: boolean | undefined;
|
|
1427
|
+
audio?: boolean | undefined;
|
|
1428
|
+
} | undefined;
|
|
1429
|
+
}, {
|
|
1430
|
+
input?: {
|
|
1431
|
+
image?: boolean | undefined;
|
|
1432
|
+
audio?: boolean | undefined;
|
|
1433
|
+
video?: boolean | undefined;
|
|
1434
|
+
pdf?: boolean | undefined;
|
|
1435
|
+
file?: boolean | undefined;
|
|
1436
|
+
} | undefined;
|
|
1437
|
+
output?: {
|
|
1438
|
+
image?: boolean | undefined;
|
|
1439
|
+
audio?: boolean | undefined;
|
|
1440
|
+
} | undefined;
|
|
1441
|
+
}>;
|
|
1442
|
+
/**
|
|
1443
|
+
* Execution control and limits. Declare these so clients can set expectations
|
|
1444
|
+
* about how long or how many steps an agent run might take.
|
|
1445
|
+
*/
|
|
1446
|
+
declare const ExecutionCapabilitiesSchema: z.ZodObject<{
|
|
1447
|
+
/** Set `true` if the agent can execute code (e.g., Python, JavaScript) during a run. */codeExecution: z.ZodOptional<z.ZodBoolean>;
|
|
1448
|
+
/** Set `true` if code execution happens in a sandboxed/isolated environment.
|
|
1449
|
+
* Only meaningful when `codeExecution` is `true`. */
|
|
1450
|
+
sandboxed: z.ZodOptional<z.ZodBoolean>;
|
|
1451
|
+
/** Maximum number of tool-call/reasoning iterations the agent will perform per run.
|
|
1452
|
+
* Helps clients display progress or set timeout expectations. */
|
|
1453
|
+
maxIterations: z.ZodOptional<z.ZodNumber>; /** Maximum wall-clock time (in milliseconds) the agent will run before timing out. */
|
|
1454
|
+
maxExecutionTime: z.ZodOptional<z.ZodNumber>;
|
|
1455
|
+
}, "strip", z.ZodTypeAny, {
|
|
1456
|
+
codeExecution?: boolean | undefined;
|
|
1457
|
+
sandboxed?: boolean | undefined;
|
|
1458
|
+
maxIterations?: number | undefined;
|
|
1459
|
+
maxExecutionTime?: number | undefined;
|
|
1460
|
+
}, {
|
|
1461
|
+
codeExecution?: boolean | undefined;
|
|
1462
|
+
sandboxed?: boolean | undefined;
|
|
1463
|
+
maxIterations?: number | undefined;
|
|
1464
|
+
maxExecutionTime?: number | undefined;
|
|
1465
|
+
}>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Human-in-the-loop interaction support. Enable these when your agent can pause
|
|
1468
|
+
* execution to request human input, approval, or feedback before continuing.
|
|
1469
|
+
*/
|
|
1470
|
+
declare const HumanInTheLoopCapabilitiesSchema: z.ZodObject<{
|
|
1471
|
+
/** Set `true` if the agent supports any form of human-in-the-loop interaction. */supported: z.ZodOptional<z.ZodBoolean>;
|
|
1472
|
+
/** Set `true` if the agent can pause and request explicit approval before
|
|
1473
|
+
* performing sensitive actions (e.g., sending emails, deleting data). */
|
|
1474
|
+
approvals: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent allows humans to intervene and modify its plan mid-execution. */
|
|
1475
|
+
interventions: z.ZodOptional<z.ZodBoolean>;
|
|
1476
|
+
/** Set `true` if the agent can incorporate user feedback (thumbs up/down, corrections)
|
|
1477
|
+
* to improve its behavior within the current session. */
|
|
1478
|
+
feedback: z.ZodOptional<z.ZodBoolean>;
|
|
1479
|
+
}, "strip", z.ZodTypeAny, {
|
|
1480
|
+
supported?: boolean | undefined;
|
|
1481
|
+
approvals?: boolean | undefined;
|
|
1482
|
+
interventions?: boolean | undefined;
|
|
1483
|
+
feedback?: boolean | undefined;
|
|
1484
|
+
}, {
|
|
1485
|
+
supported?: boolean | undefined;
|
|
1486
|
+
approvals?: boolean | undefined;
|
|
1487
|
+
interventions?: boolean | undefined;
|
|
1488
|
+
feedback?: boolean | undefined;
|
|
1489
|
+
}>;
|
|
1490
|
+
/**
|
|
1491
|
+
* A typed, categorized snapshot of an agent's current capabilities.
|
|
1492
|
+
* Returned by `getCapabilities()` on `AbstractAgent`.
|
|
1493
|
+
*
|
|
1494
|
+
* All fields are optional — agents only declare what they support.
|
|
1495
|
+
* Omitted fields mean the capability is not declared (unknown), not that
|
|
1496
|
+
* it's unsupported.
|
|
1497
|
+
*
|
|
1498
|
+
* The `custom` field is an escape hatch for integration-specific capabilities
|
|
1499
|
+
* that don't fit into the standard categories.
|
|
1500
|
+
*/
|
|
1501
|
+
declare const AgentCapabilitiesSchema: z.ZodObject<{
|
|
1502
|
+
/** Agent identity and metadata. */identity: z.ZodOptional<z.ZodObject<{
|
|
1503
|
+
/** Human-readable name shown in UIs and agent selectors. */name: z.ZodOptional<z.ZodString>; /** The framework or platform powering this agent (e.g., "langgraph", "mastra", "crewai"). */
|
|
1504
|
+
type: z.ZodOptional<z.ZodString>; /** What this agent does — helps users and routing logic decide when to use it. */
|
|
1505
|
+
description: z.ZodOptional<z.ZodString>; /** Semantic version of the agent (e.g., "1.2.0"). Useful for compatibility checks. */
|
|
1506
|
+
version: z.ZodOptional<z.ZodString>; /** Organization or team that maintains this agent. */
|
|
1507
|
+
provider: z.ZodOptional<z.ZodString>; /** URL to the agent's documentation or homepage. */
|
|
1508
|
+
documentationUrl: z.ZodOptional<z.ZodString>; /** Arbitrary key-value pairs for integration-specific identity info. */
|
|
1509
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1510
|
+
}, "strip", z.ZodTypeAny, {
|
|
1511
|
+
type?: string | undefined;
|
|
1512
|
+
name?: string | undefined;
|
|
1513
|
+
description?: string | undefined;
|
|
1514
|
+
version?: string | undefined;
|
|
1515
|
+
provider?: string | undefined;
|
|
1516
|
+
documentationUrl?: string | undefined;
|
|
1517
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1518
|
+
}, {
|
|
1519
|
+
type?: string | undefined;
|
|
1520
|
+
name?: string | undefined;
|
|
1521
|
+
description?: string | undefined;
|
|
1522
|
+
version?: string | undefined;
|
|
1523
|
+
provider?: string | undefined;
|
|
1524
|
+
documentationUrl?: string | undefined;
|
|
1525
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1526
|
+
}>>; /** Supported transport mechanisms (SSE, WebSocket, binary, etc.). */
|
|
1527
|
+
transport: z.ZodOptional<z.ZodObject<{
|
|
1528
|
+
/** Set `true` if the agent streams responses via SSE. Most agents enable this. */streaming: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent accepts persistent WebSocket connections. */
|
|
1529
|
+
websocket: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent supports the AG-UI binary protocol (protobuf over HTTP). */
|
|
1530
|
+
httpBinary: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can send async updates via webhooks after a run finishes. */
|
|
1531
|
+
pushNotifications: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent supports resuming interrupted streams via sequence numbers. */
|
|
1532
|
+
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
1533
|
+
}, "strip", z.ZodTypeAny, {
|
|
1534
|
+
streaming?: boolean | undefined;
|
|
1535
|
+
websocket?: boolean | undefined;
|
|
1536
|
+
httpBinary?: boolean | undefined;
|
|
1537
|
+
pushNotifications?: boolean | undefined;
|
|
1538
|
+
resumable?: boolean | undefined;
|
|
1539
|
+
}, {
|
|
1540
|
+
streaming?: boolean | undefined;
|
|
1541
|
+
websocket?: boolean | undefined;
|
|
1542
|
+
httpBinary?: boolean | undefined;
|
|
1543
|
+
pushNotifications?: boolean | undefined;
|
|
1544
|
+
resumable?: boolean | undefined;
|
|
1545
|
+
}>>; /** Tools the agent provides and tool calling configuration. */
|
|
1546
|
+
tools: z.ZodOptional<z.ZodObject<{
|
|
1547
|
+
/** Set `true` if the agent can make tool calls at all. Set `false` to explicitly
|
|
1548
|
+
* signal tool calling is disabled even if items are present. */
|
|
1549
|
+
supported: z.ZodOptional<z.ZodBoolean>;
|
|
1550
|
+
/** The tools this agent provides on its own (full JSON Schema definitions).
|
|
1551
|
+
* These are distinct from client-provided tools passed in `RunAgentInput.tools`. */
|
|
1552
|
+
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1553
|
+
name: z.ZodString;
|
|
1554
|
+
description: z.ZodString;
|
|
1555
|
+
parameters: z.ZodAny;
|
|
1556
|
+
}, "strip", z.ZodTypeAny, {
|
|
1557
|
+
name: string;
|
|
1558
|
+
description: string;
|
|
1559
|
+
parameters?: any;
|
|
1560
|
+
}, {
|
|
1561
|
+
name: string;
|
|
1562
|
+
description: string;
|
|
1563
|
+
parameters?: any;
|
|
1564
|
+
}>, "many">>; /** Set `true` if the agent can invoke multiple tools concurrently within a single step. */
|
|
1565
|
+
parallelCalls: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent accepts and uses tools provided by the client at runtime. */
|
|
1566
|
+
clientProvided: z.ZodOptional<z.ZodBoolean>;
|
|
1567
|
+
}, "strip", z.ZodTypeAny, {
|
|
1568
|
+
supported?: boolean | undefined;
|
|
1569
|
+
items?: {
|
|
1570
|
+
name: string;
|
|
1571
|
+
description: string;
|
|
1572
|
+
parameters?: any;
|
|
1573
|
+
}[] | undefined;
|
|
1574
|
+
parallelCalls?: boolean | undefined;
|
|
1575
|
+
clientProvided?: boolean | undefined;
|
|
1576
|
+
}, {
|
|
1577
|
+
supported?: boolean | undefined;
|
|
1578
|
+
items?: {
|
|
1579
|
+
name: string;
|
|
1580
|
+
description: string;
|
|
1581
|
+
parameters?: any;
|
|
1582
|
+
}[] | undefined;
|
|
1583
|
+
parallelCalls?: boolean | undefined;
|
|
1584
|
+
clientProvided?: boolean | undefined;
|
|
1585
|
+
}>>; /** Output format support (structured output, MIME types). */
|
|
1586
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
1587
|
+
/** Set `true` if the agent can produce structured JSON output matching a provided schema. */structuredOutput: z.ZodOptional<z.ZodBoolean>;
|
|
1588
|
+
/** MIME types the agent can produce (e.g., `["text/plain", "application/json"]`).
|
|
1589
|
+
* Omit if the agent only produces plain text. */
|
|
1590
|
+
supportedMimeTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1591
|
+
}, "strip", z.ZodTypeAny, {
|
|
1592
|
+
structuredOutput?: boolean | undefined;
|
|
1593
|
+
supportedMimeTypes?: string[] | undefined;
|
|
1594
|
+
}, {
|
|
1595
|
+
structuredOutput?: boolean | undefined;
|
|
1596
|
+
supportedMimeTypes?: string[] | undefined;
|
|
1597
|
+
}>>; /** State and memory management (snapshots, deltas, persistence). */
|
|
1598
|
+
state: z.ZodOptional<z.ZodObject<{
|
|
1599
|
+
/** Set `true` if the agent emits `STATE_SNAPSHOT` events (full state replacement). */snapshots: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent emits `STATE_DELTA` events (JSON Patch incremental updates). */
|
|
1600
|
+
deltas: z.ZodOptional<z.ZodBoolean>;
|
|
1601
|
+
/** Set `true` if the agent has long-term memory beyond the current thread
|
|
1602
|
+
* (e.g., vector store, knowledge base, or cross-session recall). */
|
|
1603
|
+
memory: z.ZodOptional<z.ZodBoolean>;
|
|
1604
|
+
/** Set `true` if state is preserved across multiple runs within the same thread.
|
|
1605
|
+
* When `false`, state resets on each run. */
|
|
1606
|
+
persistentState: z.ZodOptional<z.ZodBoolean>;
|
|
1607
|
+
}, "strip", z.ZodTypeAny, {
|
|
1608
|
+
snapshots?: boolean | undefined;
|
|
1609
|
+
deltas?: boolean | undefined;
|
|
1610
|
+
memory?: boolean | undefined;
|
|
1611
|
+
persistentState?: boolean | undefined;
|
|
1612
|
+
}, {
|
|
1613
|
+
snapshots?: boolean | undefined;
|
|
1614
|
+
deltas?: boolean | undefined;
|
|
1615
|
+
memory?: boolean | undefined;
|
|
1616
|
+
persistentState?: boolean | undefined;
|
|
1617
|
+
}>>; /** Multi-agent coordination (delegation, handoffs, sub-agents). */
|
|
1618
|
+
multiAgent: z.ZodOptional<z.ZodObject<{
|
|
1619
|
+
/** Set `true` if the agent participates in any form of multi-agent coordination. */supported: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can delegate subtasks to other agents while retaining control. */
|
|
1620
|
+
delegation: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can transfer the conversation entirely to another agent. */
|
|
1621
|
+
handoffs: z.ZodOptional<z.ZodBoolean>; /** List of sub-agents this agent can invoke. Helps clients build agent selection UIs. */
|
|
1622
|
+
subAgents: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1623
|
+
/** Unique name or identifier of the sub-agent. */name: z.ZodString; /** What this sub-agent specializes in. Helps clients build agent selection UIs. */
|
|
1624
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
}, "strip", z.ZodTypeAny, {
|
|
1626
|
+
name: string;
|
|
1627
|
+
description?: string | undefined;
|
|
1628
|
+
}, {
|
|
1629
|
+
name: string;
|
|
1630
|
+
description?: string | undefined;
|
|
1631
|
+
}>, "many">>;
|
|
1632
|
+
}, "strip", z.ZodTypeAny, {
|
|
1633
|
+
supported?: boolean | undefined;
|
|
1634
|
+
delegation?: boolean | undefined;
|
|
1635
|
+
handoffs?: boolean | undefined;
|
|
1636
|
+
subAgents?: {
|
|
1637
|
+
name: string;
|
|
1638
|
+
description?: string | undefined;
|
|
1639
|
+
}[] | undefined;
|
|
1640
|
+
}, {
|
|
1641
|
+
supported?: boolean | undefined;
|
|
1642
|
+
delegation?: boolean | undefined;
|
|
1643
|
+
handoffs?: boolean | undefined;
|
|
1644
|
+
subAgents?: {
|
|
1645
|
+
name: string;
|
|
1646
|
+
description?: string | undefined;
|
|
1647
|
+
}[] | undefined;
|
|
1648
|
+
}>>; /** Reasoning and thinking support (chain-of-thought, encrypted thinking). */
|
|
1649
|
+
reasoning: z.ZodOptional<z.ZodObject<{
|
|
1650
|
+
/** Set `true` if the agent produces reasoning/thinking tokens visible to the client. */supported: z.ZodOptional<z.ZodBoolean>; /** Set `true` if reasoning tokens are streamed incrementally (vs. returned all at once). */
|
|
1651
|
+
streaming: z.ZodOptional<z.ZodBoolean>;
|
|
1652
|
+
/** Set `true` if reasoning content is encrypted (zero-data-retention mode).
|
|
1653
|
+
* Clients should expect opaque `encryptedValue` fields instead of readable content. */
|
|
1654
|
+
encrypted: z.ZodOptional<z.ZodBoolean>;
|
|
1655
|
+
}, "strip", z.ZodTypeAny, {
|
|
1656
|
+
streaming?: boolean | undefined;
|
|
1657
|
+
supported?: boolean | undefined;
|
|
1658
|
+
encrypted?: boolean | undefined;
|
|
1659
|
+
}, {
|
|
1660
|
+
streaming?: boolean | undefined;
|
|
1661
|
+
supported?: boolean | undefined;
|
|
1662
|
+
encrypted?: boolean | undefined;
|
|
1663
|
+
}>>; /** Multimodal input/output support (images, audio, video, files). */
|
|
1664
|
+
multimodal: z.ZodOptional<z.ZodObject<{
|
|
1665
|
+
/** Modalities the agent can accept as input (images, audio, video, PDFs, files). */input: z.ZodOptional<z.ZodObject<{
|
|
1666
|
+
/** Set `true` if the agent can process image inputs (e.g., screenshots, photos). */image: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process audio inputs (speech, recordings). */
|
|
1667
|
+
audio: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process video inputs. */
|
|
1668
|
+
video: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process PDF documents. */
|
|
1669
|
+
pdf: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can process arbitrary file uploads. */
|
|
1670
|
+
file: z.ZodOptional<z.ZodBoolean>;
|
|
1671
|
+
}, "strip", z.ZodTypeAny, {
|
|
1672
|
+
image?: boolean | undefined;
|
|
1673
|
+
audio?: boolean | undefined;
|
|
1674
|
+
video?: boolean | undefined;
|
|
1675
|
+
pdf?: boolean | undefined;
|
|
1676
|
+
file?: boolean | undefined;
|
|
1677
|
+
}, {
|
|
1678
|
+
image?: boolean | undefined;
|
|
1679
|
+
audio?: boolean | undefined;
|
|
1680
|
+
video?: boolean | undefined;
|
|
1681
|
+
pdf?: boolean | undefined;
|
|
1682
|
+
file?: boolean | undefined;
|
|
1683
|
+
}>>; /** Modalities the agent can produce as output (images, audio). */
|
|
1684
|
+
output: z.ZodOptional<z.ZodObject<{
|
|
1685
|
+
/** Set `true` if the agent can generate images as part of its response. */image: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent can produce audio output (text-to-speech, audio files). */
|
|
1686
|
+
audio: z.ZodOptional<z.ZodBoolean>;
|
|
1687
|
+
}, "strip", z.ZodTypeAny, {
|
|
1688
|
+
image?: boolean | undefined;
|
|
1689
|
+
audio?: boolean | undefined;
|
|
1690
|
+
}, {
|
|
1691
|
+
image?: boolean | undefined;
|
|
1692
|
+
audio?: boolean | undefined;
|
|
1693
|
+
}>>;
|
|
1694
|
+
}, "strip", z.ZodTypeAny, {
|
|
1695
|
+
input?: {
|
|
1696
|
+
image?: boolean | undefined;
|
|
1697
|
+
audio?: boolean | undefined;
|
|
1698
|
+
video?: boolean | undefined;
|
|
1699
|
+
pdf?: boolean | undefined;
|
|
1700
|
+
file?: boolean | undefined;
|
|
1701
|
+
} | undefined;
|
|
1702
|
+
output?: {
|
|
1703
|
+
image?: boolean | undefined;
|
|
1704
|
+
audio?: boolean | undefined;
|
|
1705
|
+
} | undefined;
|
|
1706
|
+
}, {
|
|
1707
|
+
input?: {
|
|
1708
|
+
image?: boolean | undefined;
|
|
1709
|
+
audio?: boolean | undefined;
|
|
1710
|
+
video?: boolean | undefined;
|
|
1711
|
+
pdf?: boolean | undefined;
|
|
1712
|
+
file?: boolean | undefined;
|
|
1713
|
+
} | undefined;
|
|
1714
|
+
output?: {
|
|
1715
|
+
image?: boolean | undefined;
|
|
1716
|
+
audio?: boolean | undefined;
|
|
1717
|
+
} | undefined;
|
|
1718
|
+
}>>; /** Execution control and limits (code execution, timeouts, iteration caps). */
|
|
1719
|
+
execution: z.ZodOptional<z.ZodObject<{
|
|
1720
|
+
/** Set `true` if the agent can execute code (e.g., Python, JavaScript) during a run. */codeExecution: z.ZodOptional<z.ZodBoolean>;
|
|
1721
|
+
/** Set `true` if code execution happens in a sandboxed/isolated environment.
|
|
1722
|
+
* Only meaningful when `codeExecution` is `true`. */
|
|
1723
|
+
sandboxed: z.ZodOptional<z.ZodBoolean>;
|
|
1724
|
+
/** Maximum number of tool-call/reasoning iterations the agent will perform per run.
|
|
1725
|
+
* Helps clients display progress or set timeout expectations. */
|
|
1726
|
+
maxIterations: z.ZodOptional<z.ZodNumber>; /** Maximum wall-clock time (in milliseconds) the agent will run before timing out. */
|
|
1727
|
+
maxExecutionTime: z.ZodOptional<z.ZodNumber>;
|
|
1728
|
+
}, "strip", z.ZodTypeAny, {
|
|
1729
|
+
codeExecution?: boolean | undefined;
|
|
1730
|
+
sandboxed?: boolean | undefined;
|
|
1731
|
+
maxIterations?: number | undefined;
|
|
1732
|
+
maxExecutionTime?: number | undefined;
|
|
1733
|
+
}, {
|
|
1734
|
+
codeExecution?: boolean | undefined;
|
|
1735
|
+
sandboxed?: boolean | undefined;
|
|
1736
|
+
maxIterations?: number | undefined;
|
|
1737
|
+
maxExecutionTime?: number | undefined;
|
|
1738
|
+
}>>; /** Human-in-the-loop support (approvals, interventions, feedback). */
|
|
1739
|
+
humanInTheLoop: z.ZodOptional<z.ZodObject<{
|
|
1740
|
+
/** Set `true` if the agent supports any form of human-in-the-loop interaction. */supported: z.ZodOptional<z.ZodBoolean>;
|
|
1741
|
+
/** Set `true` if the agent can pause and request explicit approval before
|
|
1742
|
+
* performing sensitive actions (e.g., sending emails, deleting data). */
|
|
1743
|
+
approvals: z.ZodOptional<z.ZodBoolean>; /** Set `true` if the agent allows humans to intervene and modify its plan mid-execution. */
|
|
1744
|
+
interventions: z.ZodOptional<z.ZodBoolean>;
|
|
1745
|
+
/** Set `true` if the agent can incorporate user feedback (thumbs up/down, corrections)
|
|
1746
|
+
* to improve its behavior within the current session. */
|
|
1747
|
+
feedback: z.ZodOptional<z.ZodBoolean>;
|
|
1748
|
+
}, "strip", z.ZodTypeAny, {
|
|
1749
|
+
supported?: boolean | undefined;
|
|
1750
|
+
approvals?: boolean | undefined;
|
|
1751
|
+
interventions?: boolean | undefined;
|
|
1752
|
+
feedback?: boolean | undefined;
|
|
1753
|
+
}, {
|
|
1754
|
+
supported?: boolean | undefined;
|
|
1755
|
+
approvals?: boolean | undefined;
|
|
1756
|
+
interventions?: boolean | undefined;
|
|
1757
|
+
feedback?: boolean | undefined;
|
|
1758
|
+
}>>; /** Integration-specific capabilities not covered by the standard categories. */
|
|
1759
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1760
|
+
}, "strip", z.ZodTypeAny, {
|
|
1761
|
+
custom?: Record<string, unknown> | undefined;
|
|
1762
|
+
reasoning?: {
|
|
1763
|
+
streaming?: boolean | undefined;
|
|
1764
|
+
supported?: boolean | undefined;
|
|
1765
|
+
encrypted?: boolean | undefined;
|
|
1766
|
+
} | undefined;
|
|
1767
|
+
state?: {
|
|
1768
|
+
snapshots?: boolean | undefined;
|
|
1769
|
+
deltas?: boolean | undefined;
|
|
1770
|
+
memory?: boolean | undefined;
|
|
1771
|
+
persistentState?: boolean | undefined;
|
|
1772
|
+
} | undefined;
|
|
1773
|
+
tools?: {
|
|
1774
|
+
supported?: boolean | undefined;
|
|
1775
|
+
items?: {
|
|
1776
|
+
name: string;
|
|
1777
|
+
description: string;
|
|
1778
|
+
parameters?: any;
|
|
1779
|
+
}[] | undefined;
|
|
1780
|
+
parallelCalls?: boolean | undefined;
|
|
1781
|
+
clientProvided?: boolean | undefined;
|
|
1782
|
+
} | undefined;
|
|
1783
|
+
output?: {
|
|
1784
|
+
structuredOutput?: boolean | undefined;
|
|
1785
|
+
supportedMimeTypes?: string[] | undefined;
|
|
1786
|
+
} | undefined;
|
|
1787
|
+
identity?: {
|
|
1788
|
+
type?: string | undefined;
|
|
1789
|
+
name?: string | undefined;
|
|
1790
|
+
description?: string | undefined;
|
|
1791
|
+
version?: string | undefined;
|
|
1792
|
+
provider?: string | undefined;
|
|
1793
|
+
documentationUrl?: string | undefined;
|
|
1794
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1795
|
+
} | undefined;
|
|
1796
|
+
transport?: {
|
|
1797
|
+
streaming?: boolean | undefined;
|
|
1798
|
+
websocket?: boolean | undefined;
|
|
1799
|
+
httpBinary?: boolean | undefined;
|
|
1800
|
+
pushNotifications?: boolean | undefined;
|
|
1801
|
+
resumable?: boolean | undefined;
|
|
1802
|
+
} | undefined;
|
|
1803
|
+
multiAgent?: {
|
|
1804
|
+
supported?: boolean | undefined;
|
|
1805
|
+
delegation?: boolean | undefined;
|
|
1806
|
+
handoffs?: boolean | undefined;
|
|
1807
|
+
subAgents?: {
|
|
1808
|
+
name: string;
|
|
1809
|
+
description?: string | undefined;
|
|
1810
|
+
}[] | undefined;
|
|
1811
|
+
} | undefined;
|
|
1812
|
+
multimodal?: {
|
|
1813
|
+
input?: {
|
|
1814
|
+
image?: boolean | undefined;
|
|
1815
|
+
audio?: boolean | undefined;
|
|
1816
|
+
video?: boolean | undefined;
|
|
1817
|
+
pdf?: boolean | undefined;
|
|
1818
|
+
file?: boolean | undefined;
|
|
1819
|
+
} | undefined;
|
|
1820
|
+
output?: {
|
|
1821
|
+
image?: boolean | undefined;
|
|
1822
|
+
audio?: boolean | undefined;
|
|
1823
|
+
} | undefined;
|
|
1824
|
+
} | undefined;
|
|
1825
|
+
execution?: {
|
|
1826
|
+
codeExecution?: boolean | undefined;
|
|
1827
|
+
sandboxed?: boolean | undefined;
|
|
1828
|
+
maxIterations?: number | undefined;
|
|
1829
|
+
maxExecutionTime?: number | undefined;
|
|
1830
|
+
} | undefined;
|
|
1831
|
+
humanInTheLoop?: {
|
|
1832
|
+
supported?: boolean | undefined;
|
|
1833
|
+
approvals?: boolean | undefined;
|
|
1834
|
+
interventions?: boolean | undefined;
|
|
1835
|
+
feedback?: boolean | undefined;
|
|
1836
|
+
} | undefined;
|
|
1837
|
+
}, {
|
|
1838
|
+
custom?: Record<string, unknown> | undefined;
|
|
1839
|
+
reasoning?: {
|
|
1840
|
+
streaming?: boolean | undefined;
|
|
1841
|
+
supported?: boolean | undefined;
|
|
1842
|
+
encrypted?: boolean | undefined;
|
|
1843
|
+
} | undefined;
|
|
1844
|
+
state?: {
|
|
1845
|
+
snapshots?: boolean | undefined;
|
|
1846
|
+
deltas?: boolean | undefined;
|
|
1847
|
+
memory?: boolean | undefined;
|
|
1848
|
+
persistentState?: boolean | undefined;
|
|
1849
|
+
} | undefined;
|
|
1850
|
+
tools?: {
|
|
1851
|
+
supported?: boolean | undefined;
|
|
1852
|
+
items?: {
|
|
1853
|
+
name: string;
|
|
1854
|
+
description: string;
|
|
1855
|
+
parameters?: any;
|
|
1856
|
+
}[] | undefined;
|
|
1857
|
+
parallelCalls?: boolean | undefined;
|
|
1858
|
+
clientProvided?: boolean | undefined;
|
|
1859
|
+
} | undefined;
|
|
1860
|
+
output?: {
|
|
1861
|
+
structuredOutput?: boolean | undefined;
|
|
1862
|
+
supportedMimeTypes?: string[] | undefined;
|
|
1863
|
+
} | undefined;
|
|
1864
|
+
identity?: {
|
|
1865
|
+
type?: string | undefined;
|
|
1866
|
+
name?: string | undefined;
|
|
1867
|
+
description?: string | undefined;
|
|
1868
|
+
version?: string | undefined;
|
|
1869
|
+
provider?: string | undefined;
|
|
1870
|
+
documentationUrl?: string | undefined;
|
|
1871
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1872
|
+
} | undefined;
|
|
1873
|
+
transport?: {
|
|
1874
|
+
streaming?: boolean | undefined;
|
|
1875
|
+
websocket?: boolean | undefined;
|
|
1876
|
+
httpBinary?: boolean | undefined;
|
|
1877
|
+
pushNotifications?: boolean | undefined;
|
|
1878
|
+
resumable?: boolean | undefined;
|
|
1879
|
+
} | undefined;
|
|
1880
|
+
multiAgent?: {
|
|
1881
|
+
supported?: boolean | undefined;
|
|
1882
|
+
delegation?: boolean | undefined;
|
|
1883
|
+
handoffs?: boolean | undefined;
|
|
1884
|
+
subAgents?: {
|
|
1885
|
+
name: string;
|
|
1886
|
+
description?: string | undefined;
|
|
1887
|
+
}[] | undefined;
|
|
1888
|
+
} | undefined;
|
|
1889
|
+
multimodal?: {
|
|
1890
|
+
input?: {
|
|
1891
|
+
image?: boolean | undefined;
|
|
1892
|
+
audio?: boolean | undefined;
|
|
1893
|
+
video?: boolean | undefined;
|
|
1894
|
+
pdf?: boolean | undefined;
|
|
1895
|
+
file?: boolean | undefined;
|
|
1896
|
+
} | undefined;
|
|
1897
|
+
output?: {
|
|
1898
|
+
image?: boolean | undefined;
|
|
1899
|
+
audio?: boolean | undefined;
|
|
1900
|
+
} | undefined;
|
|
1901
|
+
} | undefined;
|
|
1902
|
+
execution?: {
|
|
1903
|
+
codeExecution?: boolean | undefined;
|
|
1904
|
+
sandboxed?: boolean | undefined;
|
|
1905
|
+
maxIterations?: number | undefined;
|
|
1906
|
+
maxExecutionTime?: number | undefined;
|
|
1907
|
+
} | undefined;
|
|
1908
|
+
humanInTheLoop?: {
|
|
1909
|
+
supported?: boolean | undefined;
|
|
1910
|
+
approvals?: boolean | undefined;
|
|
1911
|
+
interventions?: boolean | undefined;
|
|
1912
|
+
feedback?: boolean | undefined;
|
|
1913
|
+
} | undefined;
|
|
1914
|
+
}>;
|
|
1915
|
+
/** Describes a sub-agent that can be invoked by a parent agent. */
|
|
1916
|
+
type SubAgentInfo = z.infer<typeof SubAgentInfoSchema>;
|
|
1917
|
+
/** Agent identity and metadata for discovery UIs, marketplaces, and debugging. */
|
|
1918
|
+
type IdentityCapabilities = z.infer<typeof IdentityCapabilitiesSchema>;
|
|
1919
|
+
/** Supported transport mechanisms (SSE, WebSocket, binary protocol, push notifications). */
|
|
1920
|
+
type TransportCapabilities = z.infer<typeof TransportCapabilitiesSchema>;
|
|
1921
|
+
/** Tool calling support and agent-provided tool definitions. */
|
|
1922
|
+
type ToolsCapabilities = z.infer<typeof ToolsCapabilitiesSchema>;
|
|
1923
|
+
/** Output format support (structured output, MIME types). */
|
|
1924
|
+
type OutputCapabilities = z.infer<typeof OutputCapabilitiesSchema>;
|
|
1925
|
+
/** State and memory management (snapshots, deltas, persistence, long-term memory). */
|
|
1926
|
+
type StateCapabilities = z.infer<typeof StateCapabilitiesSchema>;
|
|
1927
|
+
/** Multi-agent coordination (delegation, handoffs, sub-agent orchestration). */
|
|
1928
|
+
type MultiAgentCapabilities = z.infer<typeof MultiAgentCapabilitiesSchema>;
|
|
1929
|
+
/** Reasoning and thinking visibility (streaming, encrypted chain-of-thought). */
|
|
1930
|
+
type ReasoningCapabilities = z.infer<typeof ReasoningCapabilitiesSchema>;
|
|
1931
|
+
/** Modalities the agent can accept as input (images, audio, video, PDFs, files). */
|
|
1932
|
+
type MultimodalInputCapabilities = z.infer<typeof MultimodalInputCapabilitiesSchema>;
|
|
1933
|
+
/** Modalities the agent can produce as output (images, audio). */
|
|
1934
|
+
type MultimodalOutputCapabilities = z.infer<typeof MultimodalOutputCapabilitiesSchema>;
|
|
1935
|
+
/** Multimodal input/output support (images, audio, video, PDFs, file uploads). */
|
|
1936
|
+
type MultimodalCapabilities = z.infer<typeof MultimodalCapabilitiesSchema>;
|
|
1937
|
+
/** Execution control and limits (code execution, sandboxing, iteration caps, timeouts). */
|
|
1938
|
+
type ExecutionCapabilities = z.infer<typeof ExecutionCapabilitiesSchema>;
|
|
1939
|
+
/** Human-in-the-loop interaction support (approvals, interventions, feedback). */
|
|
1940
|
+
type HumanInTheLoopCapabilities = z.infer<typeof HumanInTheLoopCapabilitiesSchema>;
|
|
1941
|
+
/** A typed, categorized snapshot of an agent's current capabilities. Returned by `getCapabilities()`. */
|
|
1942
|
+
type AgentCapabilities = z.infer<typeof AgentCapabilitiesSchema>;
|
|
1149
1943
|
//#endregion
|
|
1150
1944
|
//#region src/events.d.ts
|
|
1151
1945
|
declare enum EventType {
|
|
@@ -1218,6 +2012,7 @@ declare const TextMessageStartEventSchema: z.ZodObject<{
|
|
|
1218
2012
|
type: z.ZodLiteral<EventType.TEXT_MESSAGE_START>;
|
|
1219
2013
|
messageId: z.ZodString;
|
|
1220
2014
|
role: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
2015
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1221
2016
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1222
2017
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1223
2018
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -1225,6 +2020,7 @@ declare const TextMessageStartEventSchema: z.ZodObject<{
|
|
|
1225
2020
|
type: z.ZodLiteral<EventType.TEXT_MESSAGE_START>;
|
|
1226
2021
|
messageId: z.ZodString;
|
|
1227
2022
|
role: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
2023
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1228
2024
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1229
2025
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1230
2026
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -1232,6 +2028,7 @@ declare const TextMessageStartEventSchema: z.ZodObject<{
|
|
|
1232
2028
|
type: z.ZodLiteral<EventType.TEXT_MESSAGE_START>;
|
|
1233
2029
|
messageId: z.ZodString;
|
|
1234
2030
|
role: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
2031
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1235
2032
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1236
2033
|
declare const TextMessageContentEventSchema: z.ZodObject<{
|
|
1237
2034
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1282,6 +2079,7 @@ declare const TextMessageChunkEventSchema: z.ZodObject<{
|
|
|
1282
2079
|
messageId: z.ZodOptional<z.ZodString>;
|
|
1283
2080
|
role: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
1284
2081
|
delta: z.ZodOptional<z.ZodString>;
|
|
2082
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1285
2083
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1286
2084
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1287
2085
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -1290,6 +2088,7 @@ declare const TextMessageChunkEventSchema: z.ZodObject<{
|
|
|
1290
2088
|
messageId: z.ZodOptional<z.ZodString>;
|
|
1291
2089
|
role: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
1292
2090
|
delta: z.ZodOptional<z.ZodString>;
|
|
2091
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1293
2092
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1294
2093
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
1295
2094
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -1298,6 +2097,7 @@ declare const TextMessageChunkEventSchema: z.ZodObject<{
|
|
|
1298
2097
|
messageId: z.ZodOptional<z.ZodString>;
|
|
1299
2098
|
role: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
1300
2099
|
delta: z.ZodOptional<z.ZodString>;
|
|
2100
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1301
2101
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1302
2102
|
/**
|
|
1303
2103
|
* @deprecated Use ReasoningMessageStartEventSchema instead. Will be removed in 1.0.0.
|
|
@@ -1653,8 +2453,8 @@ declare const MessagesSnapshotEventSchema: z.ZodObject<{
|
|
|
1653
2453
|
}, "strip", z.ZodTypeAny, {
|
|
1654
2454
|
role: "assistant";
|
|
1655
2455
|
id: string;
|
|
1656
|
-
content?: string | undefined;
|
|
1657
2456
|
name?: string | undefined;
|
|
2457
|
+
content?: string | undefined;
|
|
1658
2458
|
encryptedValue?: string | undefined;
|
|
1659
2459
|
toolCalls?: {
|
|
1660
2460
|
function: {
|
|
@@ -1668,8 +2468,8 @@ declare const MessagesSnapshotEventSchema: z.ZodObject<{
|
|
|
1668
2468
|
}, {
|
|
1669
2469
|
role: "assistant";
|
|
1670
2470
|
id: string;
|
|
1671
|
-
content?: string | undefined;
|
|
1672
2471
|
name?: string | undefined;
|
|
2472
|
+
content?: string | undefined;
|
|
1673
2473
|
encryptedValue?: string | undefined;
|
|
1674
2474
|
toolCalls?: {
|
|
1675
2475
|
function: {
|
|
@@ -1905,8 +2705,8 @@ declare const MessagesSnapshotEventSchema: z.ZodObject<{
|
|
|
1905
2705
|
}, "strip", z.ZodTypeAny, {
|
|
1906
2706
|
role: "assistant";
|
|
1907
2707
|
id: string;
|
|
1908
|
-
content?: string | undefined;
|
|
1909
2708
|
name?: string | undefined;
|
|
2709
|
+
content?: string | undefined;
|
|
1910
2710
|
encryptedValue?: string | undefined;
|
|
1911
2711
|
toolCalls?: {
|
|
1912
2712
|
function: {
|
|
@@ -1920,8 +2720,8 @@ declare const MessagesSnapshotEventSchema: z.ZodObject<{
|
|
|
1920
2720
|
}, {
|
|
1921
2721
|
role: "assistant";
|
|
1922
2722
|
id: string;
|
|
1923
|
-
content?: string | undefined;
|
|
1924
2723
|
name?: string | undefined;
|
|
2724
|
+
content?: string | undefined;
|
|
1925
2725
|
encryptedValue?: string | undefined;
|
|
1926
2726
|
toolCalls?: {
|
|
1927
2727
|
function: {
|
|
@@ -2157,8 +2957,8 @@ declare const MessagesSnapshotEventSchema: z.ZodObject<{
|
|
|
2157
2957
|
}, "strip", z.ZodTypeAny, {
|
|
2158
2958
|
role: "assistant";
|
|
2159
2959
|
id: string;
|
|
2160
|
-
content?: string | undefined;
|
|
2161
2960
|
name?: string | undefined;
|
|
2961
|
+
content?: string | undefined;
|
|
2162
2962
|
encryptedValue?: string | undefined;
|
|
2163
2963
|
toolCalls?: {
|
|
2164
2964
|
function: {
|
|
@@ -2172,8 +2972,8 @@ declare const MessagesSnapshotEventSchema: z.ZodObject<{
|
|
|
2172
2972
|
}, {
|
|
2173
2973
|
role: "assistant";
|
|
2174
2974
|
id: string;
|
|
2175
|
-
content?: string | undefined;
|
|
2176
2975
|
name?: string | undefined;
|
|
2976
|
+
content?: string | undefined;
|
|
2177
2977
|
encryptedValue?: string | undefined;
|
|
2178
2978
|
toolCalls?: {
|
|
2179
2979
|
function: {
|
|
@@ -2515,8 +3315,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
2515
3315
|
}, "strip", z.ZodTypeAny, {
|
|
2516
3316
|
role: "assistant";
|
|
2517
3317
|
id: string;
|
|
2518
|
-
content?: string | undefined;
|
|
2519
3318
|
name?: string | undefined;
|
|
3319
|
+
content?: string | undefined;
|
|
2520
3320
|
encryptedValue?: string | undefined;
|
|
2521
3321
|
toolCalls?: {
|
|
2522
3322
|
function: {
|
|
@@ -2530,8 +3330,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
2530
3330
|
}, {
|
|
2531
3331
|
role: "assistant";
|
|
2532
3332
|
id: string;
|
|
2533
|
-
content?: string | undefined;
|
|
2534
3333
|
name?: string | undefined;
|
|
3334
|
+
content?: string | undefined;
|
|
2535
3335
|
encryptedValue?: string | undefined;
|
|
2536
3336
|
toolCalls?: {
|
|
2537
3337
|
function: {
|
|
@@ -2723,8 +3523,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
2723
3523
|
} | {
|
|
2724
3524
|
role: "assistant";
|
|
2725
3525
|
id: string;
|
|
2726
|
-
content?: string | undefined;
|
|
2727
3526
|
name?: string | undefined;
|
|
3527
|
+
content?: string | undefined;
|
|
2728
3528
|
encryptedValue?: string | undefined;
|
|
2729
3529
|
toolCalls?: {
|
|
2730
3530
|
function: {
|
|
@@ -2799,8 +3599,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
2799
3599
|
} | {
|
|
2800
3600
|
role: "assistant";
|
|
2801
3601
|
id: string;
|
|
2802
|
-
content?: string | undefined;
|
|
2803
3602
|
name?: string | undefined;
|
|
3603
|
+
content?: string | undefined;
|
|
2804
3604
|
encryptedValue?: string | undefined;
|
|
2805
3605
|
toolCalls?: {
|
|
2806
3606
|
function: {
|
|
@@ -2952,8 +3752,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
2952
3752
|
}, "strip", z.ZodTypeAny, {
|
|
2953
3753
|
role: "assistant";
|
|
2954
3754
|
id: string;
|
|
2955
|
-
content?: string | undefined;
|
|
2956
3755
|
name?: string | undefined;
|
|
3756
|
+
content?: string | undefined;
|
|
2957
3757
|
encryptedValue?: string | undefined;
|
|
2958
3758
|
toolCalls?: {
|
|
2959
3759
|
function: {
|
|
@@ -2967,8 +3767,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
2967
3767
|
}, {
|
|
2968
3768
|
role: "assistant";
|
|
2969
3769
|
id: string;
|
|
2970
|
-
content?: string | undefined;
|
|
2971
3770
|
name?: string | undefined;
|
|
3771
|
+
content?: string | undefined;
|
|
2972
3772
|
encryptedValue?: string | undefined;
|
|
2973
3773
|
toolCalls?: {
|
|
2974
3774
|
function: {
|
|
@@ -3160,8 +3960,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
3160
3960
|
} | {
|
|
3161
3961
|
role: "assistant";
|
|
3162
3962
|
id: string;
|
|
3163
|
-
content?: string | undefined;
|
|
3164
3963
|
name?: string | undefined;
|
|
3964
|
+
content?: string | undefined;
|
|
3165
3965
|
encryptedValue?: string | undefined;
|
|
3166
3966
|
toolCalls?: {
|
|
3167
3967
|
function: {
|
|
@@ -3236,8 +4036,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
3236
4036
|
} | {
|
|
3237
4037
|
role: "assistant";
|
|
3238
4038
|
id: string;
|
|
3239
|
-
content?: string | undefined;
|
|
3240
4039
|
name?: string | undefined;
|
|
4040
|
+
content?: string | undefined;
|
|
3241
4041
|
encryptedValue?: string | undefined;
|
|
3242
4042
|
toolCalls?: {
|
|
3243
4043
|
function: {
|
|
@@ -3389,8 +4189,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
3389
4189
|
}, "strip", z.ZodTypeAny, {
|
|
3390
4190
|
role: "assistant";
|
|
3391
4191
|
id: string;
|
|
3392
|
-
content?: string | undefined;
|
|
3393
4192
|
name?: string | undefined;
|
|
4193
|
+
content?: string | undefined;
|
|
3394
4194
|
encryptedValue?: string | undefined;
|
|
3395
4195
|
toolCalls?: {
|
|
3396
4196
|
function: {
|
|
@@ -3404,8 +4204,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
3404
4204
|
}, {
|
|
3405
4205
|
role: "assistant";
|
|
3406
4206
|
id: string;
|
|
3407
|
-
content?: string | undefined;
|
|
3408
4207
|
name?: string | undefined;
|
|
4208
|
+
content?: string | undefined;
|
|
3409
4209
|
encryptedValue?: string | undefined;
|
|
3410
4210
|
toolCalls?: {
|
|
3411
4211
|
function: {
|
|
@@ -3597,8 +4397,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
3597
4397
|
} | {
|
|
3598
4398
|
role: "assistant";
|
|
3599
4399
|
id: string;
|
|
3600
|
-
content?: string | undefined;
|
|
3601
4400
|
name?: string | undefined;
|
|
4401
|
+
content?: string | undefined;
|
|
3602
4402
|
encryptedValue?: string | undefined;
|
|
3603
4403
|
toolCalls?: {
|
|
3604
4404
|
function: {
|
|
@@ -3673,8 +4473,8 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
3673
4473
|
} | {
|
|
3674
4474
|
role: "assistant";
|
|
3675
4475
|
id: string;
|
|
3676
|
-
content?: string | undefined;
|
|
3677
4476
|
name?: string | undefined;
|
|
4477
|
+
content?: string | undefined;
|
|
3678
4478
|
encryptedValue?: string | undefined;
|
|
3679
4479
|
toolCalls?: {
|
|
3680
4480
|
function: {
|
|
@@ -3976,6 +4776,7 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3976
4776
|
type: z.ZodLiteral<EventType.TEXT_MESSAGE_START>;
|
|
3977
4777
|
messageId: z.ZodString;
|
|
3978
4778
|
role: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
4779
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3979
4780
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3980
4781
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3981
4782
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -3983,6 +4784,7 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3983
4784
|
type: z.ZodLiteral<EventType.TEXT_MESSAGE_START>;
|
|
3984
4785
|
messageId: z.ZodString;
|
|
3985
4786
|
role: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
4787
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3986
4788
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3987
4789
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3988
4790
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -3990,6 +4792,7 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
3990
4792
|
type: z.ZodLiteral<EventType.TEXT_MESSAGE_START>;
|
|
3991
4793
|
messageId: z.ZodString;
|
|
3992
4794
|
role: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
4795
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3993
4796
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
3994
4797
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
3995
4798
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -4037,6 +4840,7 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4037
4840
|
messageId: z.ZodOptional<z.ZodString>;
|
|
4038
4841
|
role: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
4039
4842
|
delta: z.ZodOptional<z.ZodString>;
|
|
4843
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4040
4844
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
4041
4845
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
4042
4846
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -4045,6 +4849,7 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4045
4849
|
messageId: z.ZodOptional<z.ZodString>;
|
|
4046
4850
|
role: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
4047
4851
|
delta: z.ZodOptional<z.ZodString>;
|
|
4852
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4048
4853
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4049
4854
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
4050
4855
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -4053,6 +4858,7 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4053
4858
|
messageId: z.ZodOptional<z.ZodString>;
|
|
4054
4859
|
role: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"developer">, z.ZodLiteral<"system">, z.ZodLiteral<"assistant">, z.ZodLiteral<"user">]>>;
|
|
4055
4860
|
delta: z.ZodOptional<z.ZodString>;
|
|
4861
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4056
4862
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
4057
4863
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
4058
4864
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -4380,8 +5186,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4380
5186
|
}, "strip", z.ZodTypeAny, {
|
|
4381
5187
|
role: "assistant";
|
|
4382
5188
|
id: string;
|
|
4383
|
-
content?: string | undefined;
|
|
4384
5189
|
name?: string | undefined;
|
|
5190
|
+
content?: string | undefined;
|
|
4385
5191
|
encryptedValue?: string | undefined;
|
|
4386
5192
|
toolCalls?: {
|
|
4387
5193
|
function: {
|
|
@@ -4395,8 +5201,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4395
5201
|
}, {
|
|
4396
5202
|
role: "assistant";
|
|
4397
5203
|
id: string;
|
|
4398
|
-
content?: string | undefined;
|
|
4399
5204
|
name?: string | undefined;
|
|
5205
|
+
content?: string | undefined;
|
|
4400
5206
|
encryptedValue?: string | undefined;
|
|
4401
5207
|
toolCalls?: {
|
|
4402
5208
|
function: {
|
|
@@ -4632,8 +5438,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4632
5438
|
}, "strip", z.ZodTypeAny, {
|
|
4633
5439
|
role: "assistant";
|
|
4634
5440
|
id: string;
|
|
4635
|
-
content?: string | undefined;
|
|
4636
5441
|
name?: string | undefined;
|
|
5442
|
+
content?: string | undefined;
|
|
4637
5443
|
encryptedValue?: string | undefined;
|
|
4638
5444
|
toolCalls?: {
|
|
4639
5445
|
function: {
|
|
@@ -4647,8 +5453,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4647
5453
|
}, {
|
|
4648
5454
|
role: "assistant";
|
|
4649
5455
|
id: string;
|
|
4650
|
-
content?: string | undefined;
|
|
4651
5456
|
name?: string | undefined;
|
|
5457
|
+
content?: string | undefined;
|
|
4652
5458
|
encryptedValue?: string | undefined;
|
|
4653
5459
|
toolCalls?: {
|
|
4654
5460
|
function: {
|
|
@@ -4884,8 +5690,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4884
5690
|
}, "strip", z.ZodTypeAny, {
|
|
4885
5691
|
role: "assistant";
|
|
4886
5692
|
id: string;
|
|
4887
|
-
content?: string | undefined;
|
|
4888
5693
|
name?: string | undefined;
|
|
5694
|
+
content?: string | undefined;
|
|
4889
5695
|
encryptedValue?: string | undefined;
|
|
4890
5696
|
toolCalls?: {
|
|
4891
5697
|
function: {
|
|
@@ -4899,8 +5705,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
4899
5705
|
}, {
|
|
4900
5706
|
role: "assistant";
|
|
4901
5707
|
id: string;
|
|
4902
|
-
content?: string | undefined;
|
|
4903
5708
|
name?: string | undefined;
|
|
5709
|
+
content?: string | undefined;
|
|
4904
5710
|
encryptedValue?: string | undefined;
|
|
4905
5711
|
toolCalls?: {
|
|
4906
5712
|
function: {
|
|
@@ -5237,8 +6043,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5237
6043
|
}, "strip", z.ZodTypeAny, {
|
|
5238
6044
|
role: "assistant";
|
|
5239
6045
|
id: string;
|
|
5240
|
-
content?: string | undefined;
|
|
5241
6046
|
name?: string | undefined;
|
|
6047
|
+
content?: string | undefined;
|
|
5242
6048
|
encryptedValue?: string | undefined;
|
|
5243
6049
|
toolCalls?: {
|
|
5244
6050
|
function: {
|
|
@@ -5252,8 +6058,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5252
6058
|
}, {
|
|
5253
6059
|
role: "assistant";
|
|
5254
6060
|
id: string;
|
|
5255
|
-
content?: string | undefined;
|
|
5256
6061
|
name?: string | undefined;
|
|
6062
|
+
content?: string | undefined;
|
|
5257
6063
|
encryptedValue?: string | undefined;
|
|
5258
6064
|
toolCalls?: {
|
|
5259
6065
|
function: {
|
|
@@ -5445,8 +6251,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5445
6251
|
} | {
|
|
5446
6252
|
role: "assistant";
|
|
5447
6253
|
id: string;
|
|
5448
|
-
content?: string | undefined;
|
|
5449
6254
|
name?: string | undefined;
|
|
6255
|
+
content?: string | undefined;
|
|
5450
6256
|
encryptedValue?: string | undefined;
|
|
5451
6257
|
toolCalls?: {
|
|
5452
6258
|
function: {
|
|
@@ -5521,8 +6327,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5521
6327
|
} | {
|
|
5522
6328
|
role: "assistant";
|
|
5523
6329
|
id: string;
|
|
5524
|
-
content?: string | undefined;
|
|
5525
6330
|
name?: string | undefined;
|
|
6331
|
+
content?: string | undefined;
|
|
5526
6332
|
encryptedValue?: string | undefined;
|
|
5527
6333
|
toolCalls?: {
|
|
5528
6334
|
function: {
|
|
@@ -5674,8 +6480,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5674
6480
|
}, "strip", z.ZodTypeAny, {
|
|
5675
6481
|
role: "assistant";
|
|
5676
6482
|
id: string;
|
|
5677
|
-
content?: string | undefined;
|
|
5678
6483
|
name?: string | undefined;
|
|
6484
|
+
content?: string | undefined;
|
|
5679
6485
|
encryptedValue?: string | undefined;
|
|
5680
6486
|
toolCalls?: {
|
|
5681
6487
|
function: {
|
|
@@ -5689,8 +6495,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5689
6495
|
}, {
|
|
5690
6496
|
role: "assistant";
|
|
5691
6497
|
id: string;
|
|
5692
|
-
content?: string | undefined;
|
|
5693
6498
|
name?: string | undefined;
|
|
6499
|
+
content?: string | undefined;
|
|
5694
6500
|
encryptedValue?: string | undefined;
|
|
5695
6501
|
toolCalls?: {
|
|
5696
6502
|
function: {
|
|
@@ -5882,8 +6688,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5882
6688
|
} | {
|
|
5883
6689
|
role: "assistant";
|
|
5884
6690
|
id: string;
|
|
5885
|
-
content?: string | undefined;
|
|
5886
6691
|
name?: string | undefined;
|
|
6692
|
+
content?: string | undefined;
|
|
5887
6693
|
encryptedValue?: string | undefined;
|
|
5888
6694
|
toolCalls?: {
|
|
5889
6695
|
function: {
|
|
@@ -5958,8 +6764,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5958
6764
|
} | {
|
|
5959
6765
|
role: "assistant";
|
|
5960
6766
|
id: string;
|
|
5961
|
-
content?: string | undefined;
|
|
5962
6767
|
name?: string | undefined;
|
|
6768
|
+
content?: string | undefined;
|
|
5963
6769
|
encryptedValue?: string | undefined;
|
|
5964
6770
|
toolCalls?: {
|
|
5965
6771
|
function: {
|
|
@@ -6111,8 +6917,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6111
6917
|
}, "strip", z.ZodTypeAny, {
|
|
6112
6918
|
role: "assistant";
|
|
6113
6919
|
id: string;
|
|
6114
|
-
content?: string | undefined;
|
|
6115
6920
|
name?: string | undefined;
|
|
6921
|
+
content?: string | undefined;
|
|
6116
6922
|
encryptedValue?: string | undefined;
|
|
6117
6923
|
toolCalls?: {
|
|
6118
6924
|
function: {
|
|
@@ -6126,8 +6932,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6126
6932
|
}, {
|
|
6127
6933
|
role: "assistant";
|
|
6128
6934
|
id: string;
|
|
6129
|
-
content?: string | undefined;
|
|
6130
6935
|
name?: string | undefined;
|
|
6936
|
+
content?: string | undefined;
|
|
6131
6937
|
encryptedValue?: string | undefined;
|
|
6132
6938
|
toolCalls?: {
|
|
6133
6939
|
function: {
|
|
@@ -6319,8 +7125,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6319
7125
|
} | {
|
|
6320
7126
|
role: "assistant";
|
|
6321
7127
|
id: string;
|
|
6322
|
-
content?: string | undefined;
|
|
6323
7128
|
name?: string | undefined;
|
|
7129
|
+
content?: string | undefined;
|
|
6324
7130
|
encryptedValue?: string | undefined;
|
|
6325
7131
|
toolCalls?: {
|
|
6326
7132
|
function: {
|
|
@@ -6395,8 +7201,8 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
6395
7201
|
} | {
|
|
6396
7202
|
role: "assistant";
|
|
6397
7203
|
id: string;
|
|
6398
|
-
content?: string | undefined;
|
|
6399
7204
|
name?: string | undefined;
|
|
7205
|
+
content?: string | undefined;
|
|
6400
7206
|
encryptedValue?: string | undefined;
|
|
6401
7207
|
toolCalls?: {
|
|
6402
7208
|
function: {
|
|
@@ -6789,5 +7595,5 @@ type ReasoningEndEvent = z.infer<typeof ReasoningEndEventSchema>;
|
|
|
6789
7595
|
type ReasoningEncryptedValueEvent = z.infer<typeof ReasoningEncryptedValueEventSchema>;
|
|
6790
7596
|
type ReasoningEncryptedValueSubtype = z.infer<typeof ReasoningEncryptedValueSubtypeSchema>;
|
|
6791
7597
|
//#endregion
|
|
6792
|
-
export { AGUIConnectNotImplementedError, AGUIError, AGUIEvent, AGUIEventByType, AGUIEventOf, ActivityDeltaEvent, ActivityDeltaEventProps, ActivityDeltaEventSchema, ActivityMessage, ActivityMessageSchema, ActivitySnapshotEvent, ActivitySnapshotEventProps, ActivitySnapshotEventSchema, AssistantMessage, AssistantMessageSchema, BaseEvent, BaseEventFields, BaseEventProps, BaseEventSchema, BaseMessageSchema, BinaryInputContent, BinaryInputContentSchema, Context, ContextSchema, CustomEvent, CustomEventProps, CustomEventSchema, DeveloperMessage, DeveloperMessageSchema, EventPayloadOf, EventSchemas, EventType,
|
|
7598
|
+
export { AGUIConnectNotImplementedError, AGUIError, AGUIEvent, AGUIEventByType, AGUIEventOf, ActivityDeltaEvent, ActivityDeltaEventProps, ActivityDeltaEventSchema, ActivityMessage, ActivityMessageSchema, ActivitySnapshotEvent, ActivitySnapshotEventProps, ActivitySnapshotEventSchema, type AgentCapabilities, AgentCapabilitiesSchema, AssistantMessage, AssistantMessageSchema, BaseEvent, BaseEventFields, BaseEventProps, BaseEventSchema, BaseMessageSchema, BinaryInputContent, BinaryInputContentSchema, Context, ContextSchema, CustomEvent, CustomEventProps, CustomEventSchema, DeveloperMessage, DeveloperMessageSchema, EventPayloadOf, EventSchemas, EventType, type ExecutionCapabilities, ExecutionCapabilitiesSchema, FunctionCall, FunctionCallSchema, type HumanInTheLoopCapabilities, HumanInTheLoopCapabilitiesSchema, type IdentityCapabilities, IdentityCapabilitiesSchema, InputContent, InputContentSchema, Message, MessageSchema, MessagesSnapshotEvent, MessagesSnapshotEventProps, MessagesSnapshotEventSchema, type MultiAgentCapabilities, MultiAgentCapabilitiesSchema, type MultimodalCapabilities, MultimodalCapabilitiesSchema, type MultimodalInputCapabilities, MultimodalInputCapabilitiesSchema, type MultimodalOutputCapabilities, MultimodalOutputCapabilitiesSchema, type OutputCapabilities, OutputCapabilitiesSchema, RawEvent, RawEventProps, RawEventSchema, type ReasoningCapabilities, ReasoningCapabilitiesSchema, ReasoningEncryptedValueEvent, ReasoningEncryptedValueEventProps, ReasoningEncryptedValueEventSchema, ReasoningEncryptedValueSubtype, ReasoningEncryptedValueSubtypeSchema, ReasoningEndEvent, ReasoningEndEventProps, ReasoningEndEventSchema, ReasoningMessage, ReasoningMessageChunkEvent, ReasoningMessageChunkEventProps, ReasoningMessageChunkEventSchema, ReasoningMessageContentEvent, ReasoningMessageContentEventProps, ReasoningMessageContentEventSchema, ReasoningMessageEndEvent, ReasoningMessageEndEventProps, ReasoningMessageEndEventSchema, ReasoningMessageSchema, ReasoningMessageStartEvent, ReasoningMessageStartEventProps, ReasoningMessageStartEventSchema, ReasoningStartEvent, ReasoningStartEventProps, ReasoningStartEventSchema, Role, RoleSchema, RunAgentInput, RunAgentInputSchema, RunErrorEvent, RunErrorEventProps, RunErrorEventSchema, RunFinishedEvent, RunFinishedEventProps, RunFinishedEventSchema, RunStartedEvent, RunStartedEventProps, RunStartedEventSchema, State, type StateCapabilities, StateCapabilitiesSchema, StateDeltaEvent, StateDeltaEventProps, StateDeltaEventSchema, StateSchema, StateSnapshotEvent, StateSnapshotEventProps, StateSnapshotEventSchema, StepFinishedEvent, StepFinishedEventProps, StepFinishedEventSchema, StepStartedEvent, StepStartedEventProps, StepStartedEventSchema, type SubAgentInfo, SubAgentInfoSchema, SystemMessage, SystemMessageSchema, TextInputContent, TextInputContentSchema, TextMessageChunkEvent, TextMessageChunkEventProps, TextMessageChunkEventSchema, TextMessageContentEvent, TextMessageContentEventProps, TextMessageContentEventSchema, TextMessageEndEvent, TextMessageEndEventProps, TextMessageEndEventSchema, TextMessageStartEvent, TextMessageStartEventProps, TextMessageStartEventSchema, ThinkingEndEvent, ThinkingEndEventProps, ThinkingEndEventSchema, ThinkingStartEvent, ThinkingStartEventProps, ThinkingStartEventSchema, ThinkingTextMessageContentEvent, ThinkingTextMessageContentEventProps, ThinkingTextMessageContentEventSchema, ThinkingTextMessageEndEvent, ThinkingTextMessageEndEventProps, ThinkingTextMessageEndEventSchema, ThinkingTextMessageStartEvent, ThinkingTextMessageStartEventProps, ThinkingTextMessageStartEventSchema, Tool, ToolCall, ToolCallArgsEvent, ToolCallArgsEventProps, ToolCallArgsEventSchema, ToolCallChunkEvent, ToolCallChunkEventProps, ToolCallChunkEventSchema, ToolCallEndEvent, ToolCallEndEventProps, ToolCallEndEventSchema, ToolCallResultEvent, ToolCallResultEventProps, ToolCallResultEventSchema, ToolCallSchema, ToolCallStartEvent, ToolCallStartEventProps, ToolCallStartEventSchema, ToolMessage, ToolMessageSchema, ToolSchema, type ToolsCapabilities, ToolsCapabilitiesSchema, type TransportCapabilities, TransportCapabilitiesSchema, UserMessage, UserMessageSchema };
|
|
6793
7599
|
//# sourceMappingURL=index.d.mts.map
|