@ag-ui/core 0.0.53 → 0.0.54
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 +837 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +837 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +32 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -1
package/dist/index.d.ts
CHANGED
|
@@ -2264,6 +2264,44 @@ declare const ToolSchema: z.ZodObject<{
|
|
|
2264
2264
|
metadata?: Record<string, any> | undefined;
|
|
2265
2265
|
parameters?: any;
|
|
2266
2266
|
}>;
|
|
2267
|
+
declare const InterruptSchema: z.ZodObject<{
|
|
2268
|
+
id: z.ZodString;
|
|
2269
|
+
reason: z.ZodString;
|
|
2270
|
+
message: z.ZodOptional<z.ZodString>;
|
|
2271
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
2272
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2273
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
2274
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
2275
|
+
}, "strip", z.ZodTypeAny, {
|
|
2276
|
+
id: string;
|
|
2277
|
+
reason: string;
|
|
2278
|
+
message?: string | undefined;
|
|
2279
|
+
toolCallId?: string | undefined;
|
|
2280
|
+
metadata?: Record<string, any> | undefined;
|
|
2281
|
+
responseSchema?: Record<string, any> | undefined;
|
|
2282
|
+
expiresAt?: string | undefined;
|
|
2283
|
+
}, {
|
|
2284
|
+
id: string;
|
|
2285
|
+
reason: string;
|
|
2286
|
+
message?: string | undefined;
|
|
2287
|
+
toolCallId?: string | undefined;
|
|
2288
|
+
metadata?: Record<string, any> | undefined;
|
|
2289
|
+
responseSchema?: Record<string, any> | undefined;
|
|
2290
|
+
expiresAt?: string | undefined;
|
|
2291
|
+
}>;
|
|
2292
|
+
declare const ResumeEntrySchema: z.ZodObject<{
|
|
2293
|
+
interruptId: z.ZodString;
|
|
2294
|
+
status: z.ZodEnum<["resolved", "cancelled"]>;
|
|
2295
|
+
payload: z.ZodOptional<z.ZodAny>;
|
|
2296
|
+
}, "strip", z.ZodTypeAny, {
|
|
2297
|
+
status: "resolved" | "cancelled";
|
|
2298
|
+
interruptId: string;
|
|
2299
|
+
payload?: any;
|
|
2300
|
+
}, {
|
|
2301
|
+
status: "resolved" | "cancelled";
|
|
2302
|
+
interruptId: string;
|
|
2303
|
+
payload?: any;
|
|
2304
|
+
}>;
|
|
2267
2305
|
declare const RunAgentInputSchema: z.ZodObject<{
|
|
2268
2306
|
threadId: z.ZodString;
|
|
2269
2307
|
runId: z.ZodString;
|
|
@@ -2943,6 +2981,19 @@ declare const RunAgentInputSchema: z.ZodObject<{
|
|
|
2943
2981
|
description: string;
|
|
2944
2982
|
}>, "many">;
|
|
2945
2983
|
forwardedProps: z.ZodAny;
|
|
2984
|
+
resume: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2985
|
+
interruptId: z.ZodString;
|
|
2986
|
+
status: z.ZodEnum<["resolved", "cancelled"]>;
|
|
2987
|
+
payload: z.ZodOptional<z.ZodAny>;
|
|
2988
|
+
}, "strip", z.ZodTypeAny, {
|
|
2989
|
+
status: "resolved" | "cancelled";
|
|
2990
|
+
interruptId: string;
|
|
2991
|
+
payload?: any;
|
|
2992
|
+
}, {
|
|
2993
|
+
status: "resolved" | "cancelled";
|
|
2994
|
+
interruptId: string;
|
|
2995
|
+
payload?: any;
|
|
2996
|
+
}>, "many">>;
|
|
2946
2997
|
}, "strip", z.ZodTypeAny, {
|
|
2947
2998
|
messages: ({
|
|
2948
2999
|
role: "developer";
|
|
@@ -3068,6 +3119,11 @@ declare const RunAgentInputSchema: z.ZodObject<{
|
|
|
3068
3119
|
parentRunId?: string | undefined;
|
|
3069
3120
|
state?: any;
|
|
3070
3121
|
forwardedProps?: any;
|
|
3122
|
+
resume?: {
|
|
3123
|
+
status: "resolved" | "cancelled";
|
|
3124
|
+
interruptId: string;
|
|
3125
|
+
payload?: any;
|
|
3126
|
+
}[] | undefined;
|
|
3071
3127
|
}, {
|
|
3072
3128
|
messages: ({
|
|
3073
3129
|
role: "developer";
|
|
@@ -3193,6 +3249,11 @@ declare const RunAgentInputSchema: z.ZodObject<{
|
|
|
3193
3249
|
parentRunId?: string | undefined;
|
|
3194
3250
|
state?: any;
|
|
3195
3251
|
forwardedProps?: any;
|
|
3252
|
+
resume?: {
|
|
3253
|
+
status: "resolved" | "cancelled";
|
|
3254
|
+
interruptId: string;
|
|
3255
|
+
payload?: any;
|
|
3256
|
+
}[] | undefined;
|
|
3196
3257
|
}>;
|
|
3197
3258
|
declare const StateSchema: z.ZodAny;
|
|
3198
3259
|
type ToolCall = z.infer<typeof ToolCallSchema>;
|
|
@@ -3225,6 +3286,9 @@ type Tool = z.infer<typeof ToolSchema>;
|
|
|
3225
3286
|
type RunAgentInput = z.infer<typeof RunAgentInputSchema>;
|
|
3226
3287
|
type State = z.infer<typeof StateSchema>;
|
|
3227
3288
|
type Role = z.infer<typeof RoleSchema>;
|
|
3289
|
+
type Interrupt = z.infer<typeof InterruptSchema>;
|
|
3290
|
+
type ResumeEntry = z.infer<typeof ResumeEntrySchema>;
|
|
3291
|
+
type ResumeStatus = z.infer<typeof ResumeEntrySchema>["status"];
|
|
3228
3292
|
declare class AGUIError extends Error {
|
|
3229
3293
|
constructor(message: string);
|
|
3230
3294
|
}
|
|
@@ -3576,16 +3640,27 @@ declare const HumanInTheLoopCapabilitiesSchema: z.ZodObject<{
|
|
|
3576
3640
|
/** Set `true` if the agent can incorporate user feedback (thumbs up/down, corrections)
|
|
3577
3641
|
* to improve its behavior within the current session. */
|
|
3578
3642
|
feedback: z.ZodOptional<z.ZodBoolean>;
|
|
3643
|
+
/** Set `true` if the agent participates in the AG-UI interrupt protocol
|
|
3644
|
+
* (emits RUN_FINISHED with outcome={ type: "interrupt", interrupts: [...] },
|
|
3645
|
+
* accepts resume[]). */
|
|
3646
|
+
interrupts: z.ZodOptional<z.ZodBoolean>;
|
|
3647
|
+
/** Set `true` if tool-call interrupts accept editedArgs in the resume payload.
|
|
3648
|
+
* Only meaningful when interrupts is true. */
|
|
3649
|
+
approveWithEdits: z.ZodOptional<z.ZodBoolean>;
|
|
3579
3650
|
}, "strip", z.ZodTypeAny, {
|
|
3651
|
+
interrupts?: boolean | undefined;
|
|
3580
3652
|
supported?: boolean | undefined;
|
|
3581
3653
|
approvals?: boolean | undefined;
|
|
3582
3654
|
interventions?: boolean | undefined;
|
|
3583
3655
|
feedback?: boolean | undefined;
|
|
3656
|
+
approveWithEdits?: boolean | undefined;
|
|
3584
3657
|
}, {
|
|
3658
|
+
interrupts?: boolean | undefined;
|
|
3585
3659
|
supported?: boolean | undefined;
|
|
3586
3660
|
approvals?: boolean | undefined;
|
|
3587
3661
|
interventions?: boolean | undefined;
|
|
3588
3662
|
feedback?: boolean | undefined;
|
|
3663
|
+
approveWithEdits?: boolean | undefined;
|
|
3589
3664
|
}>;
|
|
3590
3665
|
/**
|
|
3591
3666
|
* A typed, categorized snapshot of an agent's current capabilities.
|
|
@@ -3850,16 +3925,27 @@ declare const AgentCapabilitiesSchema: z.ZodObject<{
|
|
|
3850
3925
|
/** Set `true` if the agent can incorporate user feedback (thumbs up/down, corrections)
|
|
3851
3926
|
* to improve its behavior within the current session. */
|
|
3852
3927
|
feedback: z.ZodOptional<z.ZodBoolean>;
|
|
3928
|
+
/** Set `true` if the agent participates in the AG-UI interrupt protocol
|
|
3929
|
+
* (emits RUN_FINISHED with outcome={ type: "interrupt", interrupts: [...] },
|
|
3930
|
+
* accepts resume[]). */
|
|
3931
|
+
interrupts: z.ZodOptional<z.ZodBoolean>;
|
|
3932
|
+
/** Set `true` if tool-call interrupts accept editedArgs in the resume payload.
|
|
3933
|
+
* Only meaningful when interrupts is true. */
|
|
3934
|
+
approveWithEdits: z.ZodOptional<z.ZodBoolean>;
|
|
3853
3935
|
}, "strip", z.ZodTypeAny, {
|
|
3936
|
+
interrupts?: boolean | undefined;
|
|
3854
3937
|
supported?: boolean | undefined;
|
|
3855
3938
|
approvals?: boolean | undefined;
|
|
3856
3939
|
interventions?: boolean | undefined;
|
|
3857
3940
|
feedback?: boolean | undefined;
|
|
3941
|
+
approveWithEdits?: boolean | undefined;
|
|
3858
3942
|
}, {
|
|
3943
|
+
interrupts?: boolean | undefined;
|
|
3859
3944
|
supported?: boolean | undefined;
|
|
3860
3945
|
approvals?: boolean | undefined;
|
|
3861
3946
|
interventions?: boolean | undefined;
|
|
3862
3947
|
feedback?: boolean | undefined;
|
|
3948
|
+
approveWithEdits?: boolean | undefined;
|
|
3863
3949
|
}>>; /** Integration-specific capabilities not covered by the standard categories. */
|
|
3864
3950
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3865
3951
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3935,10 +4021,12 @@ declare const AgentCapabilitiesSchema: z.ZodObject<{
|
|
|
3935
4021
|
maxExecutionTime?: number | undefined;
|
|
3936
4022
|
} | undefined;
|
|
3937
4023
|
humanInTheLoop?: {
|
|
4024
|
+
interrupts?: boolean | undefined;
|
|
3938
4025
|
supported?: boolean | undefined;
|
|
3939
4026
|
approvals?: boolean | undefined;
|
|
3940
4027
|
interventions?: boolean | undefined;
|
|
3941
4028
|
feedback?: boolean | undefined;
|
|
4029
|
+
approveWithEdits?: boolean | undefined;
|
|
3942
4030
|
} | undefined;
|
|
3943
4031
|
}, {
|
|
3944
4032
|
custom?: Record<string, unknown> | undefined;
|
|
@@ -4013,10 +4101,12 @@ declare const AgentCapabilitiesSchema: z.ZodObject<{
|
|
|
4013
4101
|
maxExecutionTime?: number | undefined;
|
|
4014
4102
|
} | undefined;
|
|
4015
4103
|
humanInTheLoop?: {
|
|
4104
|
+
interrupts?: boolean | undefined;
|
|
4016
4105
|
supported?: boolean | undefined;
|
|
4017
4106
|
approvals?: boolean | undefined;
|
|
4018
4107
|
interventions?: boolean | undefined;
|
|
4019
4108
|
feedback?: boolean | undefined;
|
|
4109
|
+
approveWithEdits?: boolean | undefined;
|
|
4020
4110
|
} | undefined;
|
|
4021
4111
|
}>;
|
|
4022
4112
|
/** Describes a sub-agent that can be invoked by a parent agent. */
|
|
@@ -7217,6 +7307,19 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
7217
7307
|
description: string;
|
|
7218
7308
|
}>, "many">;
|
|
7219
7309
|
forwardedProps: z.ZodAny;
|
|
7310
|
+
resume: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7311
|
+
interruptId: z.ZodString;
|
|
7312
|
+
status: z.ZodEnum<["resolved", "cancelled"]>;
|
|
7313
|
+
payload: z.ZodOptional<z.ZodAny>;
|
|
7314
|
+
}, "strip", z.ZodTypeAny, {
|
|
7315
|
+
status: "resolved" | "cancelled";
|
|
7316
|
+
interruptId: string;
|
|
7317
|
+
payload?: any;
|
|
7318
|
+
}, {
|
|
7319
|
+
status: "resolved" | "cancelled";
|
|
7320
|
+
interruptId: string;
|
|
7321
|
+
payload?: any;
|
|
7322
|
+
}>, "many">>;
|
|
7220
7323
|
}, "strip", z.ZodTypeAny, {
|
|
7221
7324
|
messages: ({
|
|
7222
7325
|
role: "developer";
|
|
@@ -7342,6 +7445,11 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
7342
7445
|
parentRunId?: string | undefined;
|
|
7343
7446
|
state?: any;
|
|
7344
7447
|
forwardedProps?: any;
|
|
7448
|
+
resume?: {
|
|
7449
|
+
status: "resolved" | "cancelled";
|
|
7450
|
+
interruptId: string;
|
|
7451
|
+
payload?: any;
|
|
7452
|
+
}[] | undefined;
|
|
7345
7453
|
}, {
|
|
7346
7454
|
messages: ({
|
|
7347
7455
|
role: "developer";
|
|
@@ -7467,6 +7575,11 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
7467
7575
|
parentRunId?: string | undefined;
|
|
7468
7576
|
state?: any;
|
|
7469
7577
|
forwardedProps?: any;
|
|
7578
|
+
resume?: {
|
|
7579
|
+
status: "resolved" | "cancelled";
|
|
7580
|
+
interruptId: string;
|
|
7581
|
+
payload?: any;
|
|
7582
|
+
}[] | undefined;
|
|
7470
7583
|
}>>;
|
|
7471
7584
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
7472
7585
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8155,6 +8268,19 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
8155
8268
|
description: string;
|
|
8156
8269
|
}>, "many">;
|
|
8157
8270
|
forwardedProps: z.ZodAny;
|
|
8271
|
+
resume: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8272
|
+
interruptId: z.ZodString;
|
|
8273
|
+
status: z.ZodEnum<["resolved", "cancelled"]>;
|
|
8274
|
+
payload: z.ZodOptional<z.ZodAny>;
|
|
8275
|
+
}, "strip", z.ZodTypeAny, {
|
|
8276
|
+
status: "resolved" | "cancelled";
|
|
8277
|
+
interruptId: string;
|
|
8278
|
+
payload?: any;
|
|
8279
|
+
}, {
|
|
8280
|
+
status: "resolved" | "cancelled";
|
|
8281
|
+
interruptId: string;
|
|
8282
|
+
payload?: any;
|
|
8283
|
+
}>, "many">>;
|
|
8158
8284
|
}, "strip", z.ZodTypeAny, {
|
|
8159
8285
|
messages: ({
|
|
8160
8286
|
role: "developer";
|
|
@@ -8280,6 +8406,11 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
8280
8406
|
parentRunId?: string | undefined;
|
|
8281
8407
|
state?: any;
|
|
8282
8408
|
forwardedProps?: any;
|
|
8409
|
+
resume?: {
|
|
8410
|
+
status: "resolved" | "cancelled";
|
|
8411
|
+
interruptId: string;
|
|
8412
|
+
payload?: any;
|
|
8413
|
+
}[] | undefined;
|
|
8283
8414
|
}, {
|
|
8284
8415
|
messages: ({
|
|
8285
8416
|
role: "developer";
|
|
@@ -8405,6 +8536,11 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
8405
8536
|
parentRunId?: string | undefined;
|
|
8406
8537
|
state?: any;
|
|
8407
8538
|
forwardedProps?: any;
|
|
8539
|
+
resume?: {
|
|
8540
|
+
status: "resolved" | "cancelled";
|
|
8541
|
+
interruptId: string;
|
|
8542
|
+
payload?: any;
|
|
8543
|
+
}[] | undefined;
|
|
8408
8544
|
}>>;
|
|
8409
8545
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
8410
8546
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -9093,6 +9229,19 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
9093
9229
|
description: string;
|
|
9094
9230
|
}>, "many">;
|
|
9095
9231
|
forwardedProps: z.ZodAny;
|
|
9232
|
+
resume: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9233
|
+
interruptId: z.ZodString;
|
|
9234
|
+
status: z.ZodEnum<["resolved", "cancelled"]>;
|
|
9235
|
+
payload: z.ZodOptional<z.ZodAny>;
|
|
9236
|
+
}, "strip", z.ZodTypeAny, {
|
|
9237
|
+
status: "resolved" | "cancelled";
|
|
9238
|
+
interruptId: string;
|
|
9239
|
+
payload?: any;
|
|
9240
|
+
}, {
|
|
9241
|
+
status: "resolved" | "cancelled";
|
|
9242
|
+
interruptId: string;
|
|
9243
|
+
payload?: any;
|
|
9244
|
+
}>, "many">>;
|
|
9096
9245
|
}, "strip", z.ZodTypeAny, {
|
|
9097
9246
|
messages: ({
|
|
9098
9247
|
role: "developer";
|
|
@@ -9218,6 +9367,11 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
9218
9367
|
parentRunId?: string | undefined;
|
|
9219
9368
|
state?: any;
|
|
9220
9369
|
forwardedProps?: any;
|
|
9370
|
+
resume?: {
|
|
9371
|
+
status: "resolved" | "cancelled";
|
|
9372
|
+
interruptId: string;
|
|
9373
|
+
payload?: any;
|
|
9374
|
+
}[] | undefined;
|
|
9221
9375
|
}, {
|
|
9222
9376
|
messages: ({
|
|
9223
9377
|
role: "developer";
|
|
@@ -9343,8 +9497,126 @@ declare const RunStartedEventSchema: z.ZodObject<{
|
|
|
9343
9497
|
parentRunId?: string | undefined;
|
|
9344
9498
|
state?: any;
|
|
9345
9499
|
forwardedProps?: any;
|
|
9500
|
+
resume?: {
|
|
9501
|
+
status: "resolved" | "cancelled";
|
|
9502
|
+
interruptId: string;
|
|
9503
|
+
payload?: any;
|
|
9504
|
+
}[] | undefined;
|
|
9346
9505
|
}>>;
|
|
9347
9506
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9507
|
+
declare const RunFinishedSuccessOutcomeSchema: z.ZodObject<{
|
|
9508
|
+
type: z.ZodLiteral<"success">;
|
|
9509
|
+
}, "strict", z.ZodTypeAny, {
|
|
9510
|
+
type: "success";
|
|
9511
|
+
}, {
|
|
9512
|
+
type: "success";
|
|
9513
|
+
}>;
|
|
9514
|
+
declare const RunFinishedInterruptOutcomeSchema: z.ZodObject<{
|
|
9515
|
+
type: z.ZodLiteral<"interrupt">;
|
|
9516
|
+
interrupts: z.ZodArray<z.ZodObject<{
|
|
9517
|
+
id: z.ZodString;
|
|
9518
|
+
reason: z.ZodString;
|
|
9519
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9520
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
9521
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9522
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
9523
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9524
|
+
}, "strip", z.ZodTypeAny, {
|
|
9525
|
+
id: string;
|
|
9526
|
+
reason: string;
|
|
9527
|
+
message?: string | undefined;
|
|
9528
|
+
toolCallId?: string | undefined;
|
|
9529
|
+
metadata?: Record<string, any> | undefined;
|
|
9530
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9531
|
+
expiresAt?: string | undefined;
|
|
9532
|
+
}, {
|
|
9533
|
+
id: string;
|
|
9534
|
+
reason: string;
|
|
9535
|
+
message?: string | undefined;
|
|
9536
|
+
toolCallId?: string | undefined;
|
|
9537
|
+
metadata?: Record<string, any> | undefined;
|
|
9538
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9539
|
+
expiresAt?: string | undefined;
|
|
9540
|
+
}>, "many">;
|
|
9541
|
+
}, "strict", z.ZodTypeAny, {
|
|
9542
|
+
type: "interrupt";
|
|
9543
|
+
interrupts: {
|
|
9544
|
+
id: string;
|
|
9545
|
+
reason: string;
|
|
9546
|
+
message?: string | undefined;
|
|
9547
|
+
toolCallId?: string | undefined;
|
|
9548
|
+
metadata?: Record<string, any> | undefined;
|
|
9549
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9550
|
+
expiresAt?: string | undefined;
|
|
9551
|
+
}[];
|
|
9552
|
+
}, {
|
|
9553
|
+
type: "interrupt";
|
|
9554
|
+
interrupts: {
|
|
9555
|
+
id: string;
|
|
9556
|
+
reason: string;
|
|
9557
|
+
message?: string | undefined;
|
|
9558
|
+
toolCallId?: string | undefined;
|
|
9559
|
+
metadata?: Record<string, any> | undefined;
|
|
9560
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9561
|
+
expiresAt?: string | undefined;
|
|
9562
|
+
}[];
|
|
9563
|
+
}>;
|
|
9564
|
+
declare const RunFinishedOutcomeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
9565
|
+
type: z.ZodLiteral<"success">;
|
|
9566
|
+
}, "strict", z.ZodTypeAny, {
|
|
9567
|
+
type: "success";
|
|
9568
|
+
}, {
|
|
9569
|
+
type: "success";
|
|
9570
|
+
}>, z.ZodObject<{
|
|
9571
|
+
type: z.ZodLiteral<"interrupt">;
|
|
9572
|
+
interrupts: z.ZodArray<z.ZodObject<{
|
|
9573
|
+
id: z.ZodString;
|
|
9574
|
+
reason: z.ZodString;
|
|
9575
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9576
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
9577
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9578
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
9579
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9580
|
+
}, "strip", z.ZodTypeAny, {
|
|
9581
|
+
id: string;
|
|
9582
|
+
reason: string;
|
|
9583
|
+
message?: string | undefined;
|
|
9584
|
+
toolCallId?: string | undefined;
|
|
9585
|
+
metadata?: Record<string, any> | undefined;
|
|
9586
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9587
|
+
expiresAt?: string | undefined;
|
|
9588
|
+
}, {
|
|
9589
|
+
id: string;
|
|
9590
|
+
reason: string;
|
|
9591
|
+
message?: string | undefined;
|
|
9592
|
+
toolCallId?: string | undefined;
|
|
9593
|
+
metadata?: Record<string, any> | undefined;
|
|
9594
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9595
|
+
expiresAt?: string | undefined;
|
|
9596
|
+
}>, "many">;
|
|
9597
|
+
}, "strict", z.ZodTypeAny, {
|
|
9598
|
+
type: "interrupt";
|
|
9599
|
+
interrupts: {
|
|
9600
|
+
id: string;
|
|
9601
|
+
reason: string;
|
|
9602
|
+
message?: string | undefined;
|
|
9603
|
+
toolCallId?: string | undefined;
|
|
9604
|
+
metadata?: Record<string, any> | undefined;
|
|
9605
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9606
|
+
expiresAt?: string | undefined;
|
|
9607
|
+
}[];
|
|
9608
|
+
}, {
|
|
9609
|
+
type: "interrupt";
|
|
9610
|
+
interrupts: {
|
|
9611
|
+
id: string;
|
|
9612
|
+
reason: string;
|
|
9613
|
+
message?: string | undefined;
|
|
9614
|
+
toolCallId?: string | undefined;
|
|
9615
|
+
metadata?: Record<string, any> | undefined;
|
|
9616
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9617
|
+
expiresAt?: string | undefined;
|
|
9618
|
+
}[];
|
|
9619
|
+
}>]>;
|
|
9348
9620
|
declare const RunFinishedEventSchema: z.ZodObject<{
|
|
9349
9621
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
9350
9622
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -9353,6 +9625,88 @@ declare const RunFinishedEventSchema: z.ZodObject<{
|
|
|
9353
9625
|
threadId: z.ZodString;
|
|
9354
9626
|
runId: z.ZodString;
|
|
9355
9627
|
result: z.ZodOptional<z.ZodAny>;
|
|
9628
|
+
outcome: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
9629
|
+
type: z.ZodLiteral<"success">;
|
|
9630
|
+
}, "strict", z.ZodTypeAny, {
|
|
9631
|
+
type: "success";
|
|
9632
|
+
}, {
|
|
9633
|
+
type: "success";
|
|
9634
|
+
}>, z.ZodObject<{
|
|
9635
|
+
type: z.ZodLiteral<"interrupt">;
|
|
9636
|
+
interrupts: z.ZodArray<z.ZodObject<{
|
|
9637
|
+
id: z.ZodString;
|
|
9638
|
+
reason: z.ZodString;
|
|
9639
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9640
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
9641
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9642
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
9643
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9644
|
+
}, "strip", z.ZodTypeAny, {
|
|
9645
|
+
id: string;
|
|
9646
|
+
reason: string;
|
|
9647
|
+
message?: string | undefined;
|
|
9648
|
+
toolCallId?: string | undefined;
|
|
9649
|
+
metadata?: Record<string, any> | undefined;
|
|
9650
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9651
|
+
expiresAt?: string | undefined;
|
|
9652
|
+
}, {
|
|
9653
|
+
id: string;
|
|
9654
|
+
reason: string;
|
|
9655
|
+
message?: string | undefined;
|
|
9656
|
+
toolCallId?: string | undefined;
|
|
9657
|
+
metadata?: Record<string, any> | undefined;
|
|
9658
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9659
|
+
expiresAt?: string | undefined;
|
|
9660
|
+
}>, "many">;
|
|
9661
|
+
}, "strict", z.ZodTypeAny, {
|
|
9662
|
+
type: "interrupt";
|
|
9663
|
+
interrupts: {
|
|
9664
|
+
id: string;
|
|
9665
|
+
reason: string;
|
|
9666
|
+
message?: string | undefined;
|
|
9667
|
+
toolCallId?: string | undefined;
|
|
9668
|
+
metadata?: Record<string, any> | undefined;
|
|
9669
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9670
|
+
expiresAt?: string | undefined;
|
|
9671
|
+
}[];
|
|
9672
|
+
}, {
|
|
9673
|
+
type: "interrupt";
|
|
9674
|
+
interrupts: {
|
|
9675
|
+
id: string;
|
|
9676
|
+
reason: string;
|
|
9677
|
+
message?: string | undefined;
|
|
9678
|
+
toolCallId?: string | undefined;
|
|
9679
|
+
metadata?: Record<string, any> | undefined;
|
|
9680
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9681
|
+
expiresAt?: string | undefined;
|
|
9682
|
+
}[];
|
|
9683
|
+
}>]>>>, {
|
|
9684
|
+
type: "success";
|
|
9685
|
+
} | {
|
|
9686
|
+
type: "interrupt";
|
|
9687
|
+
interrupts: {
|
|
9688
|
+
id: string;
|
|
9689
|
+
reason: string;
|
|
9690
|
+
message?: string | undefined;
|
|
9691
|
+
toolCallId?: string | undefined;
|
|
9692
|
+
metadata?: Record<string, any> | undefined;
|
|
9693
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9694
|
+
expiresAt?: string | undefined;
|
|
9695
|
+
}[];
|
|
9696
|
+
} | undefined, {
|
|
9697
|
+
type: "success";
|
|
9698
|
+
} | {
|
|
9699
|
+
type: "interrupt";
|
|
9700
|
+
interrupts: {
|
|
9701
|
+
id: string;
|
|
9702
|
+
reason: string;
|
|
9703
|
+
message?: string | undefined;
|
|
9704
|
+
toolCallId?: string | undefined;
|
|
9705
|
+
metadata?: Record<string, any> | undefined;
|
|
9706
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9707
|
+
expiresAt?: string | undefined;
|
|
9708
|
+
}[];
|
|
9709
|
+
} | null | undefined>;
|
|
9356
9710
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
9357
9711
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
9358
9712
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -9361,6 +9715,88 @@ declare const RunFinishedEventSchema: z.ZodObject<{
|
|
|
9361
9715
|
threadId: z.ZodString;
|
|
9362
9716
|
runId: z.ZodString;
|
|
9363
9717
|
result: z.ZodOptional<z.ZodAny>;
|
|
9718
|
+
outcome: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
9719
|
+
type: z.ZodLiteral<"success">;
|
|
9720
|
+
}, "strict", z.ZodTypeAny, {
|
|
9721
|
+
type: "success";
|
|
9722
|
+
}, {
|
|
9723
|
+
type: "success";
|
|
9724
|
+
}>, z.ZodObject<{
|
|
9725
|
+
type: z.ZodLiteral<"interrupt">;
|
|
9726
|
+
interrupts: z.ZodArray<z.ZodObject<{
|
|
9727
|
+
id: z.ZodString;
|
|
9728
|
+
reason: z.ZodString;
|
|
9729
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9730
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
9731
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9732
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
9733
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9734
|
+
}, "strip", z.ZodTypeAny, {
|
|
9735
|
+
id: string;
|
|
9736
|
+
reason: string;
|
|
9737
|
+
message?: string | undefined;
|
|
9738
|
+
toolCallId?: string | undefined;
|
|
9739
|
+
metadata?: Record<string, any> | undefined;
|
|
9740
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9741
|
+
expiresAt?: string | undefined;
|
|
9742
|
+
}, {
|
|
9743
|
+
id: string;
|
|
9744
|
+
reason: string;
|
|
9745
|
+
message?: string | undefined;
|
|
9746
|
+
toolCallId?: string | undefined;
|
|
9747
|
+
metadata?: Record<string, any> | undefined;
|
|
9748
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9749
|
+
expiresAt?: string | undefined;
|
|
9750
|
+
}>, "many">;
|
|
9751
|
+
}, "strict", z.ZodTypeAny, {
|
|
9752
|
+
type: "interrupt";
|
|
9753
|
+
interrupts: {
|
|
9754
|
+
id: string;
|
|
9755
|
+
reason: string;
|
|
9756
|
+
message?: string | undefined;
|
|
9757
|
+
toolCallId?: string | undefined;
|
|
9758
|
+
metadata?: Record<string, any> | undefined;
|
|
9759
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9760
|
+
expiresAt?: string | undefined;
|
|
9761
|
+
}[];
|
|
9762
|
+
}, {
|
|
9763
|
+
type: "interrupt";
|
|
9764
|
+
interrupts: {
|
|
9765
|
+
id: string;
|
|
9766
|
+
reason: string;
|
|
9767
|
+
message?: string | undefined;
|
|
9768
|
+
toolCallId?: string | undefined;
|
|
9769
|
+
metadata?: Record<string, any> | undefined;
|
|
9770
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9771
|
+
expiresAt?: string | undefined;
|
|
9772
|
+
}[];
|
|
9773
|
+
}>]>>>, {
|
|
9774
|
+
type: "success";
|
|
9775
|
+
} | {
|
|
9776
|
+
type: "interrupt";
|
|
9777
|
+
interrupts: {
|
|
9778
|
+
id: string;
|
|
9779
|
+
reason: string;
|
|
9780
|
+
message?: string | undefined;
|
|
9781
|
+
toolCallId?: string | undefined;
|
|
9782
|
+
metadata?: Record<string, any> | undefined;
|
|
9783
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9784
|
+
expiresAt?: string | undefined;
|
|
9785
|
+
}[];
|
|
9786
|
+
} | undefined, {
|
|
9787
|
+
type: "success";
|
|
9788
|
+
} | {
|
|
9789
|
+
type: "interrupt";
|
|
9790
|
+
interrupts: {
|
|
9791
|
+
id: string;
|
|
9792
|
+
reason: string;
|
|
9793
|
+
message?: string | undefined;
|
|
9794
|
+
toolCallId?: string | undefined;
|
|
9795
|
+
metadata?: Record<string, any> | undefined;
|
|
9796
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9797
|
+
expiresAt?: string | undefined;
|
|
9798
|
+
}[];
|
|
9799
|
+
} | null | undefined>;
|
|
9364
9800
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
9365
9801
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
9366
9802
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -9369,6 +9805,88 @@ declare const RunFinishedEventSchema: z.ZodObject<{
|
|
|
9369
9805
|
threadId: z.ZodString;
|
|
9370
9806
|
runId: z.ZodString;
|
|
9371
9807
|
result: z.ZodOptional<z.ZodAny>;
|
|
9808
|
+
outcome: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
9809
|
+
type: z.ZodLiteral<"success">;
|
|
9810
|
+
}, "strict", z.ZodTypeAny, {
|
|
9811
|
+
type: "success";
|
|
9812
|
+
}, {
|
|
9813
|
+
type: "success";
|
|
9814
|
+
}>, z.ZodObject<{
|
|
9815
|
+
type: z.ZodLiteral<"interrupt">;
|
|
9816
|
+
interrupts: z.ZodArray<z.ZodObject<{
|
|
9817
|
+
id: z.ZodString;
|
|
9818
|
+
reason: z.ZodString;
|
|
9819
|
+
message: z.ZodOptional<z.ZodString>;
|
|
9820
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
9821
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9822
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
9823
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
9824
|
+
}, "strip", z.ZodTypeAny, {
|
|
9825
|
+
id: string;
|
|
9826
|
+
reason: string;
|
|
9827
|
+
message?: string | undefined;
|
|
9828
|
+
toolCallId?: string | undefined;
|
|
9829
|
+
metadata?: Record<string, any> | undefined;
|
|
9830
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9831
|
+
expiresAt?: string | undefined;
|
|
9832
|
+
}, {
|
|
9833
|
+
id: string;
|
|
9834
|
+
reason: string;
|
|
9835
|
+
message?: string | undefined;
|
|
9836
|
+
toolCallId?: string | undefined;
|
|
9837
|
+
metadata?: Record<string, any> | undefined;
|
|
9838
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9839
|
+
expiresAt?: string | undefined;
|
|
9840
|
+
}>, "many">;
|
|
9841
|
+
}, "strict", z.ZodTypeAny, {
|
|
9842
|
+
type: "interrupt";
|
|
9843
|
+
interrupts: {
|
|
9844
|
+
id: string;
|
|
9845
|
+
reason: string;
|
|
9846
|
+
message?: string | undefined;
|
|
9847
|
+
toolCallId?: string | undefined;
|
|
9848
|
+
metadata?: Record<string, any> | undefined;
|
|
9849
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9850
|
+
expiresAt?: string | undefined;
|
|
9851
|
+
}[];
|
|
9852
|
+
}, {
|
|
9853
|
+
type: "interrupt";
|
|
9854
|
+
interrupts: {
|
|
9855
|
+
id: string;
|
|
9856
|
+
reason: string;
|
|
9857
|
+
message?: string | undefined;
|
|
9858
|
+
toolCallId?: string | undefined;
|
|
9859
|
+
metadata?: Record<string, any> | undefined;
|
|
9860
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9861
|
+
expiresAt?: string | undefined;
|
|
9862
|
+
}[];
|
|
9863
|
+
}>]>>>, {
|
|
9864
|
+
type: "success";
|
|
9865
|
+
} | {
|
|
9866
|
+
type: "interrupt";
|
|
9867
|
+
interrupts: {
|
|
9868
|
+
id: string;
|
|
9869
|
+
reason: string;
|
|
9870
|
+
message?: string | undefined;
|
|
9871
|
+
toolCallId?: string | undefined;
|
|
9872
|
+
metadata?: Record<string, any> | undefined;
|
|
9873
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9874
|
+
expiresAt?: string | undefined;
|
|
9875
|
+
}[];
|
|
9876
|
+
} | undefined, {
|
|
9877
|
+
type: "success";
|
|
9878
|
+
} | {
|
|
9879
|
+
type: "interrupt";
|
|
9880
|
+
interrupts: {
|
|
9881
|
+
id: string;
|
|
9882
|
+
reason: string;
|
|
9883
|
+
message?: string | undefined;
|
|
9884
|
+
toolCallId?: string | undefined;
|
|
9885
|
+
metadata?: Record<string, any> | undefined;
|
|
9886
|
+
responseSchema?: Record<string, any> | undefined;
|
|
9887
|
+
expiresAt?: string | undefined;
|
|
9888
|
+
}[];
|
|
9889
|
+
} | null | undefined>;
|
|
9372
9890
|
}, z.ZodTypeAny, "passthrough">>;
|
|
9373
9891
|
declare const RunErrorEventSchema: z.ZodObject<{
|
|
9374
9892
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -12648,6 +13166,19 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12648
13166
|
description: string;
|
|
12649
13167
|
}>, "many">;
|
|
12650
13168
|
forwardedProps: z.ZodAny;
|
|
13169
|
+
resume: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13170
|
+
interruptId: z.ZodString;
|
|
13171
|
+
status: z.ZodEnum<["resolved", "cancelled"]>;
|
|
13172
|
+
payload: z.ZodOptional<z.ZodAny>;
|
|
13173
|
+
}, "strip", z.ZodTypeAny, {
|
|
13174
|
+
status: "resolved" | "cancelled";
|
|
13175
|
+
interruptId: string;
|
|
13176
|
+
payload?: any;
|
|
13177
|
+
}, {
|
|
13178
|
+
status: "resolved" | "cancelled";
|
|
13179
|
+
interruptId: string;
|
|
13180
|
+
payload?: any;
|
|
13181
|
+
}>, "many">>;
|
|
12651
13182
|
}, "strip", z.ZodTypeAny, {
|
|
12652
13183
|
messages: ({
|
|
12653
13184
|
role: "developer";
|
|
@@ -12773,6 +13304,11 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12773
13304
|
parentRunId?: string | undefined;
|
|
12774
13305
|
state?: any;
|
|
12775
13306
|
forwardedProps?: any;
|
|
13307
|
+
resume?: {
|
|
13308
|
+
status: "resolved" | "cancelled";
|
|
13309
|
+
interruptId: string;
|
|
13310
|
+
payload?: any;
|
|
13311
|
+
}[] | undefined;
|
|
12776
13312
|
}, {
|
|
12777
13313
|
messages: ({
|
|
12778
13314
|
role: "developer";
|
|
@@ -12898,6 +13434,11 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
12898
13434
|
parentRunId?: string | undefined;
|
|
12899
13435
|
state?: any;
|
|
12900
13436
|
forwardedProps?: any;
|
|
13437
|
+
resume?: {
|
|
13438
|
+
status: "resolved" | "cancelled";
|
|
13439
|
+
interruptId: string;
|
|
13440
|
+
payload?: any;
|
|
13441
|
+
}[] | undefined;
|
|
12901
13442
|
}>>;
|
|
12902
13443
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
12903
13444
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13586,6 +14127,19 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13586
14127
|
description: string;
|
|
13587
14128
|
}>, "many">;
|
|
13588
14129
|
forwardedProps: z.ZodAny;
|
|
14130
|
+
resume: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14131
|
+
interruptId: z.ZodString;
|
|
14132
|
+
status: z.ZodEnum<["resolved", "cancelled"]>;
|
|
14133
|
+
payload: z.ZodOptional<z.ZodAny>;
|
|
14134
|
+
}, "strip", z.ZodTypeAny, {
|
|
14135
|
+
status: "resolved" | "cancelled";
|
|
14136
|
+
interruptId: string;
|
|
14137
|
+
payload?: any;
|
|
14138
|
+
}, {
|
|
14139
|
+
status: "resolved" | "cancelled";
|
|
14140
|
+
interruptId: string;
|
|
14141
|
+
payload?: any;
|
|
14142
|
+
}>, "many">>;
|
|
13589
14143
|
}, "strip", z.ZodTypeAny, {
|
|
13590
14144
|
messages: ({
|
|
13591
14145
|
role: "developer";
|
|
@@ -13711,6 +14265,11 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13711
14265
|
parentRunId?: string | undefined;
|
|
13712
14266
|
state?: any;
|
|
13713
14267
|
forwardedProps?: any;
|
|
14268
|
+
resume?: {
|
|
14269
|
+
status: "resolved" | "cancelled";
|
|
14270
|
+
interruptId: string;
|
|
14271
|
+
payload?: any;
|
|
14272
|
+
}[] | undefined;
|
|
13714
14273
|
}, {
|
|
13715
14274
|
messages: ({
|
|
13716
14275
|
role: "developer";
|
|
@@ -13836,6 +14395,11 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
13836
14395
|
parentRunId?: string | undefined;
|
|
13837
14396
|
state?: any;
|
|
13838
14397
|
forwardedProps?: any;
|
|
14398
|
+
resume?: {
|
|
14399
|
+
status: "resolved" | "cancelled";
|
|
14400
|
+
interruptId: string;
|
|
14401
|
+
payload?: any;
|
|
14402
|
+
}[] | undefined;
|
|
13839
14403
|
}>>;
|
|
13840
14404
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
13841
14405
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14524,6 +15088,19 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14524
15088
|
description: string;
|
|
14525
15089
|
}>, "many">;
|
|
14526
15090
|
forwardedProps: z.ZodAny;
|
|
15091
|
+
resume: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15092
|
+
interruptId: z.ZodString;
|
|
15093
|
+
status: z.ZodEnum<["resolved", "cancelled"]>;
|
|
15094
|
+
payload: z.ZodOptional<z.ZodAny>;
|
|
15095
|
+
}, "strip", z.ZodTypeAny, {
|
|
15096
|
+
status: "resolved" | "cancelled";
|
|
15097
|
+
interruptId: string;
|
|
15098
|
+
payload?: any;
|
|
15099
|
+
}, {
|
|
15100
|
+
status: "resolved" | "cancelled";
|
|
15101
|
+
interruptId: string;
|
|
15102
|
+
payload?: any;
|
|
15103
|
+
}>, "many">>;
|
|
14527
15104
|
}, "strip", z.ZodTypeAny, {
|
|
14528
15105
|
messages: ({
|
|
14529
15106
|
role: "developer";
|
|
@@ -14649,6 +15226,11 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14649
15226
|
parentRunId?: string | undefined;
|
|
14650
15227
|
state?: any;
|
|
14651
15228
|
forwardedProps?: any;
|
|
15229
|
+
resume?: {
|
|
15230
|
+
status: "resolved" | "cancelled";
|
|
15231
|
+
interruptId: string;
|
|
15232
|
+
payload?: any;
|
|
15233
|
+
}[] | undefined;
|
|
14652
15234
|
}, {
|
|
14653
15235
|
messages: ({
|
|
14654
15236
|
role: "developer";
|
|
@@ -14774,6 +15356,11 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14774
15356
|
parentRunId?: string | undefined;
|
|
14775
15357
|
state?: any;
|
|
14776
15358
|
forwardedProps?: any;
|
|
15359
|
+
resume?: {
|
|
15360
|
+
status: "resolved" | "cancelled";
|
|
15361
|
+
interruptId: string;
|
|
15362
|
+
payload?: any;
|
|
15363
|
+
}[] | undefined;
|
|
14777
15364
|
}>>;
|
|
14778
15365
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14779
15366
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -14783,6 +15370,88 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14783
15370
|
threadId: z.ZodString;
|
|
14784
15371
|
runId: z.ZodString;
|
|
14785
15372
|
result: z.ZodOptional<z.ZodAny>;
|
|
15373
|
+
outcome: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
15374
|
+
type: z.ZodLiteral<"success">;
|
|
15375
|
+
}, "strict", z.ZodTypeAny, {
|
|
15376
|
+
type: "success";
|
|
15377
|
+
}, {
|
|
15378
|
+
type: "success";
|
|
15379
|
+
}>, z.ZodObject<{
|
|
15380
|
+
type: z.ZodLiteral<"interrupt">;
|
|
15381
|
+
interrupts: z.ZodArray<z.ZodObject<{
|
|
15382
|
+
id: z.ZodString;
|
|
15383
|
+
reason: z.ZodString;
|
|
15384
|
+
message: z.ZodOptional<z.ZodString>;
|
|
15385
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
15386
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15387
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
15388
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15389
|
+
}, "strip", z.ZodTypeAny, {
|
|
15390
|
+
id: string;
|
|
15391
|
+
reason: string;
|
|
15392
|
+
message?: string | undefined;
|
|
15393
|
+
toolCallId?: string | undefined;
|
|
15394
|
+
metadata?: Record<string, any> | undefined;
|
|
15395
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15396
|
+
expiresAt?: string | undefined;
|
|
15397
|
+
}, {
|
|
15398
|
+
id: string;
|
|
15399
|
+
reason: string;
|
|
15400
|
+
message?: string | undefined;
|
|
15401
|
+
toolCallId?: string | undefined;
|
|
15402
|
+
metadata?: Record<string, any> | undefined;
|
|
15403
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15404
|
+
expiresAt?: string | undefined;
|
|
15405
|
+
}>, "many">;
|
|
15406
|
+
}, "strict", z.ZodTypeAny, {
|
|
15407
|
+
type: "interrupt";
|
|
15408
|
+
interrupts: {
|
|
15409
|
+
id: string;
|
|
15410
|
+
reason: string;
|
|
15411
|
+
message?: string | undefined;
|
|
15412
|
+
toolCallId?: string | undefined;
|
|
15413
|
+
metadata?: Record<string, any> | undefined;
|
|
15414
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15415
|
+
expiresAt?: string | undefined;
|
|
15416
|
+
}[];
|
|
15417
|
+
}, {
|
|
15418
|
+
type: "interrupt";
|
|
15419
|
+
interrupts: {
|
|
15420
|
+
id: string;
|
|
15421
|
+
reason: string;
|
|
15422
|
+
message?: string | undefined;
|
|
15423
|
+
toolCallId?: string | undefined;
|
|
15424
|
+
metadata?: Record<string, any> | undefined;
|
|
15425
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15426
|
+
expiresAt?: string | undefined;
|
|
15427
|
+
}[];
|
|
15428
|
+
}>]>>>, {
|
|
15429
|
+
type: "success";
|
|
15430
|
+
} | {
|
|
15431
|
+
type: "interrupt";
|
|
15432
|
+
interrupts: {
|
|
15433
|
+
id: string;
|
|
15434
|
+
reason: string;
|
|
15435
|
+
message?: string | undefined;
|
|
15436
|
+
toolCallId?: string | undefined;
|
|
15437
|
+
metadata?: Record<string, any> | undefined;
|
|
15438
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15439
|
+
expiresAt?: string | undefined;
|
|
15440
|
+
}[];
|
|
15441
|
+
} | undefined, {
|
|
15442
|
+
type: "success";
|
|
15443
|
+
} | {
|
|
15444
|
+
type: "interrupt";
|
|
15445
|
+
interrupts: {
|
|
15446
|
+
id: string;
|
|
15447
|
+
reason: string;
|
|
15448
|
+
message?: string | undefined;
|
|
15449
|
+
toolCallId?: string | undefined;
|
|
15450
|
+
metadata?: Record<string, any> | undefined;
|
|
15451
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15452
|
+
expiresAt?: string | undefined;
|
|
15453
|
+
}[];
|
|
15454
|
+
} | null | undefined>;
|
|
14786
15455
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
14787
15456
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
14788
15457
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -14791,6 +15460,88 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14791
15460
|
threadId: z.ZodString;
|
|
14792
15461
|
runId: z.ZodString;
|
|
14793
15462
|
result: z.ZodOptional<z.ZodAny>;
|
|
15463
|
+
outcome: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
15464
|
+
type: z.ZodLiteral<"success">;
|
|
15465
|
+
}, "strict", z.ZodTypeAny, {
|
|
15466
|
+
type: "success";
|
|
15467
|
+
}, {
|
|
15468
|
+
type: "success";
|
|
15469
|
+
}>, z.ZodObject<{
|
|
15470
|
+
type: z.ZodLiteral<"interrupt">;
|
|
15471
|
+
interrupts: z.ZodArray<z.ZodObject<{
|
|
15472
|
+
id: z.ZodString;
|
|
15473
|
+
reason: z.ZodString;
|
|
15474
|
+
message: z.ZodOptional<z.ZodString>;
|
|
15475
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
15476
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15477
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
15478
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15479
|
+
}, "strip", z.ZodTypeAny, {
|
|
15480
|
+
id: string;
|
|
15481
|
+
reason: string;
|
|
15482
|
+
message?: string | undefined;
|
|
15483
|
+
toolCallId?: string | undefined;
|
|
15484
|
+
metadata?: Record<string, any> | undefined;
|
|
15485
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15486
|
+
expiresAt?: string | undefined;
|
|
15487
|
+
}, {
|
|
15488
|
+
id: string;
|
|
15489
|
+
reason: string;
|
|
15490
|
+
message?: string | undefined;
|
|
15491
|
+
toolCallId?: string | undefined;
|
|
15492
|
+
metadata?: Record<string, any> | undefined;
|
|
15493
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15494
|
+
expiresAt?: string | undefined;
|
|
15495
|
+
}>, "many">;
|
|
15496
|
+
}, "strict", z.ZodTypeAny, {
|
|
15497
|
+
type: "interrupt";
|
|
15498
|
+
interrupts: {
|
|
15499
|
+
id: string;
|
|
15500
|
+
reason: string;
|
|
15501
|
+
message?: string | undefined;
|
|
15502
|
+
toolCallId?: string | undefined;
|
|
15503
|
+
metadata?: Record<string, any> | undefined;
|
|
15504
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15505
|
+
expiresAt?: string | undefined;
|
|
15506
|
+
}[];
|
|
15507
|
+
}, {
|
|
15508
|
+
type: "interrupt";
|
|
15509
|
+
interrupts: {
|
|
15510
|
+
id: string;
|
|
15511
|
+
reason: string;
|
|
15512
|
+
message?: string | undefined;
|
|
15513
|
+
toolCallId?: string | undefined;
|
|
15514
|
+
metadata?: Record<string, any> | undefined;
|
|
15515
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15516
|
+
expiresAt?: string | undefined;
|
|
15517
|
+
}[];
|
|
15518
|
+
}>]>>>, {
|
|
15519
|
+
type: "success";
|
|
15520
|
+
} | {
|
|
15521
|
+
type: "interrupt";
|
|
15522
|
+
interrupts: {
|
|
15523
|
+
id: string;
|
|
15524
|
+
reason: string;
|
|
15525
|
+
message?: string | undefined;
|
|
15526
|
+
toolCallId?: string | undefined;
|
|
15527
|
+
metadata?: Record<string, any> | undefined;
|
|
15528
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15529
|
+
expiresAt?: string | undefined;
|
|
15530
|
+
}[];
|
|
15531
|
+
} | undefined, {
|
|
15532
|
+
type: "success";
|
|
15533
|
+
} | {
|
|
15534
|
+
type: "interrupt";
|
|
15535
|
+
interrupts: {
|
|
15536
|
+
id: string;
|
|
15537
|
+
reason: string;
|
|
15538
|
+
message?: string | undefined;
|
|
15539
|
+
toolCallId?: string | undefined;
|
|
15540
|
+
metadata?: Record<string, any> | undefined;
|
|
15541
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15542
|
+
expiresAt?: string | undefined;
|
|
15543
|
+
}[];
|
|
15544
|
+
} | null | undefined>;
|
|
14794
15545
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
14795
15546
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
14796
15547
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -14799,6 +15550,88 @@ declare const EventSchemas: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
14799
15550
|
threadId: z.ZodString;
|
|
14800
15551
|
runId: z.ZodString;
|
|
14801
15552
|
result: z.ZodOptional<z.ZodAny>;
|
|
15553
|
+
outcome: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
15554
|
+
type: z.ZodLiteral<"success">;
|
|
15555
|
+
}, "strict", z.ZodTypeAny, {
|
|
15556
|
+
type: "success";
|
|
15557
|
+
}, {
|
|
15558
|
+
type: "success";
|
|
15559
|
+
}>, z.ZodObject<{
|
|
15560
|
+
type: z.ZodLiteral<"interrupt">;
|
|
15561
|
+
interrupts: z.ZodArray<z.ZodObject<{
|
|
15562
|
+
id: z.ZodString;
|
|
15563
|
+
reason: z.ZodString;
|
|
15564
|
+
message: z.ZodOptional<z.ZodString>;
|
|
15565
|
+
toolCallId: z.ZodOptional<z.ZodString>;
|
|
15566
|
+
responseSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15567
|
+
expiresAt: z.ZodOptional<z.ZodString>;
|
|
15568
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
15569
|
+
}, "strip", z.ZodTypeAny, {
|
|
15570
|
+
id: string;
|
|
15571
|
+
reason: string;
|
|
15572
|
+
message?: string | undefined;
|
|
15573
|
+
toolCallId?: string | undefined;
|
|
15574
|
+
metadata?: Record<string, any> | undefined;
|
|
15575
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15576
|
+
expiresAt?: string | undefined;
|
|
15577
|
+
}, {
|
|
15578
|
+
id: string;
|
|
15579
|
+
reason: string;
|
|
15580
|
+
message?: string | undefined;
|
|
15581
|
+
toolCallId?: string | undefined;
|
|
15582
|
+
metadata?: Record<string, any> | undefined;
|
|
15583
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15584
|
+
expiresAt?: string | undefined;
|
|
15585
|
+
}>, "many">;
|
|
15586
|
+
}, "strict", z.ZodTypeAny, {
|
|
15587
|
+
type: "interrupt";
|
|
15588
|
+
interrupts: {
|
|
15589
|
+
id: string;
|
|
15590
|
+
reason: string;
|
|
15591
|
+
message?: string | undefined;
|
|
15592
|
+
toolCallId?: string | undefined;
|
|
15593
|
+
metadata?: Record<string, any> | undefined;
|
|
15594
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15595
|
+
expiresAt?: string | undefined;
|
|
15596
|
+
}[];
|
|
15597
|
+
}, {
|
|
15598
|
+
type: "interrupt";
|
|
15599
|
+
interrupts: {
|
|
15600
|
+
id: string;
|
|
15601
|
+
reason: string;
|
|
15602
|
+
message?: string | undefined;
|
|
15603
|
+
toolCallId?: string | undefined;
|
|
15604
|
+
metadata?: Record<string, any> | undefined;
|
|
15605
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15606
|
+
expiresAt?: string | undefined;
|
|
15607
|
+
}[];
|
|
15608
|
+
}>]>>>, {
|
|
15609
|
+
type: "success";
|
|
15610
|
+
} | {
|
|
15611
|
+
type: "interrupt";
|
|
15612
|
+
interrupts: {
|
|
15613
|
+
id: string;
|
|
15614
|
+
reason: string;
|
|
15615
|
+
message?: string | undefined;
|
|
15616
|
+
toolCallId?: string | undefined;
|
|
15617
|
+
metadata?: Record<string, any> | undefined;
|
|
15618
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15619
|
+
expiresAt?: string | undefined;
|
|
15620
|
+
}[];
|
|
15621
|
+
} | undefined, {
|
|
15622
|
+
type: "success";
|
|
15623
|
+
} | {
|
|
15624
|
+
type: "interrupt";
|
|
15625
|
+
interrupts: {
|
|
15626
|
+
id: string;
|
|
15627
|
+
reason: string;
|
|
15628
|
+
message?: string | undefined;
|
|
15629
|
+
toolCallId?: string | undefined;
|
|
15630
|
+
metadata?: Record<string, any> | undefined;
|
|
15631
|
+
responseSchema?: Record<string, any> | undefined;
|
|
15632
|
+
expiresAt?: string | undefined;
|
|
15633
|
+
}[];
|
|
15634
|
+
} | null | undefined>;
|
|
14802
15635
|
}, z.ZodTypeAny, "passthrough">>, z.ZodObject<{
|
|
14803
15636
|
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
14804
15637
|
rawEvent: z.ZodOptional<z.ZodAny>;
|
|
@@ -15096,6 +15929,9 @@ type RawEvent = z.infer<typeof RawEventSchema>;
|
|
|
15096
15929
|
type CustomEvent = z.infer<typeof CustomEventSchema>;
|
|
15097
15930
|
type RunStartedEvent = z.infer<typeof RunStartedEventSchema>;
|
|
15098
15931
|
type RunFinishedEvent = z.infer<typeof RunFinishedEventSchema>;
|
|
15932
|
+
type RunFinishedOutcome = z.infer<typeof RunFinishedOutcomeSchema>;
|
|
15933
|
+
type RunFinishedSuccessOutcome = z.infer<typeof RunFinishedSuccessOutcomeSchema>;
|
|
15934
|
+
type RunFinishedInterruptOutcome = z.infer<typeof RunFinishedInterruptOutcomeSchema>;
|
|
15099
15935
|
type RunErrorEvent = z.infer<typeof RunErrorEventSchema>;
|
|
15100
15936
|
type StepStartedEvent = z.infer<typeof StepStartedEventSchema>;
|
|
15101
15937
|
type StepFinishedEvent = z.infer<typeof StepFinishedEventSchema>;
|
|
@@ -15108,5 +15944,5 @@ type ReasoningEndEvent = z.infer<typeof ReasoningEndEventSchema>;
|
|
|
15108
15944
|
type ReasoningEncryptedValueEvent = z.infer<typeof ReasoningEncryptedValueEventSchema>;
|
|
15109
15945
|
type ReasoningEncryptedValueSubtype = z.infer<typeof ReasoningEncryptedValueSubtypeSchema>;
|
|
15110
15946
|
//#endregion
|
|
15111
|
-
export { AGUIConnectNotImplementedError, AGUIError, AGUIEvent, AGUIEventByType, AGUIEventOf, ActivityDeltaEvent, ActivityDeltaEventProps, ActivityDeltaEventSchema, ActivityMessage, ActivityMessageSchema, ActivitySnapshotEvent, ActivitySnapshotEventProps, ActivitySnapshotEventSchema, type AgentCapabilities, AgentCapabilitiesSchema, AssistantMessage, AssistantMessageSchema, AudioInputContent, AudioInputContentSchema, AudioInputPart, AudioInputPartSchema, BaseEvent, BaseEventFields, BaseEventProps, BaseEventSchema, BaseMessageSchema, BinaryInputContent, BinaryInputContentSchema, Context, ContextSchema, CustomEvent, CustomEventProps, CustomEventSchema, DeveloperMessage, DeveloperMessageSchema, DocumentInputContent, DocumentInputContentSchema, DocumentInputPart, DocumentInputPartSchema, EventPayloadOf, EventSchemas, EventType, type ExecutionCapabilities, ExecutionCapabilitiesSchema, FunctionCall, FunctionCallSchema, type HumanInTheLoopCapabilities, HumanInTheLoopCapabilitiesSchema, type IdentityCapabilities, IdentityCapabilitiesSchema, ImageInputContent, ImageInputContentSchema, ImageInputPart, ImageInputPartSchema, InputContent, InputContentDataSource, InputContentDataSourceSchema, InputContentPart, InputContentSchema, InputContentSource, InputContentSourceSchema, InputContentUrlSource, InputContentUrlSourceSchema, 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, VideoInputContent, VideoInputContentSchema, VideoInputPart, VideoInputPartSchema };
|
|
15947
|
+
export { AGUIConnectNotImplementedError, AGUIError, AGUIEvent, AGUIEventByType, AGUIEventOf, ActivityDeltaEvent, ActivityDeltaEventProps, ActivityDeltaEventSchema, ActivityMessage, ActivityMessageSchema, ActivitySnapshotEvent, ActivitySnapshotEventProps, ActivitySnapshotEventSchema, type AgentCapabilities, AgentCapabilitiesSchema, AssistantMessage, AssistantMessageSchema, AudioInputContent, AudioInputContentSchema, AudioInputPart, AudioInputPartSchema, BaseEvent, BaseEventFields, BaseEventProps, BaseEventSchema, BaseMessageSchema, BinaryInputContent, BinaryInputContentSchema, Context, ContextSchema, CustomEvent, CustomEventProps, CustomEventSchema, DeveloperMessage, DeveloperMessageSchema, DocumentInputContent, DocumentInputContentSchema, DocumentInputPart, DocumentInputPartSchema, EventPayloadOf, EventSchemas, EventType, type ExecutionCapabilities, ExecutionCapabilitiesSchema, FunctionCall, FunctionCallSchema, type HumanInTheLoopCapabilities, HumanInTheLoopCapabilitiesSchema, type IdentityCapabilities, IdentityCapabilitiesSchema, ImageInputContent, ImageInputContentSchema, ImageInputPart, ImageInputPartSchema, InputContent, InputContentDataSource, InputContentDataSourceSchema, InputContentPart, InputContentSchema, InputContentSource, InputContentSourceSchema, InputContentUrlSource, InputContentUrlSourceSchema, Interrupt, InterruptSchema, 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, ResumeEntry, ResumeEntrySchema, ResumeStatus, Role, RoleSchema, RunAgentInput, RunAgentInputSchema, RunErrorEvent, RunErrorEventProps, RunErrorEventSchema, RunFinishedEvent, RunFinishedEventProps, RunFinishedEventSchema, RunFinishedInterruptOutcome, RunFinishedInterruptOutcomeSchema, RunFinishedOutcome, RunFinishedOutcomeSchema, RunFinishedSuccessOutcome, RunFinishedSuccessOutcomeSchema, 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, VideoInputContent, VideoInputContentSchema, VideoInputPart, VideoInputPartSchema };
|
|
15112
15948
|
//# sourceMappingURL=index.d.ts.map
|