@mastra/client-js 1.18.0-alpha.9 → 1.18.1-alpha.0
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/CHANGELOG.md +292 -0
- package/dist/_types/@internal_ai-sdk-v5/dist/index.d.ts +9 -12
- package/dist/client.d.ts +7 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +2 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-agents-signals.md +151 -0
- package/dist/docs/references/reference-client-js-agents.md +89 -0
- package/dist/index.cjs +117 -74
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +116 -73
- package/dist/index.js.map +1 -1
- package/dist/resources/a2a.d.ts +1 -1
- package/dist/resources/a2a.d.ts.map +1 -1
- package/dist/resources/agent-builder.d.ts +1 -1
- package/dist/resources/agent-builder.d.ts.map +1 -1
- package/dist/resources/agent.d.ts +16 -1
- package/dist/resources/agent.d.ts.map +1 -1
- package/dist/resources/mcp-tool.d.ts.map +1 -1
- package/dist/resources/memory-thread.d.ts +27 -7
- package/dist/resources/memory-thread.d.ts.map +1 -1
- package/dist/route-types.generated.d.ts +2154 -778
- package/dist/route-types.generated.d.ts.map +1 -1
- package/dist/types.d.ts +31 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/process-a2a-stream.d.ts +1 -1
- package/dist/utils/process-a2a-stream.d.ts.map +1 -1
- package/dist/utils/process-mastra-stream.d.ts +4 -2
- package/dist/utils/process-mastra-stream.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -2930,6 +2930,2148 @@ export interface PostAgentsAgentIdObserve_RouteContract {
|
|
|
2930
2930
|
response: PostAgentsAgentIdObserve_Response;
|
|
2931
2931
|
responseType: 'stream';
|
|
2932
2932
|
}
|
|
2933
|
+
export type PostAgentsAgentIdSignals_PathParams = {
|
|
2934
|
+
/** Unique identifier for the agent */
|
|
2935
|
+
agentId: string;
|
|
2936
|
+
};
|
|
2937
|
+
type PostAgentsAgentIdSignals_Body_Auxiliary_2 = string | number | boolean | null | PostAgentsAgentIdSignals_Body_Auxiliary_2[] | {
|
|
2938
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2939
|
+
};
|
|
2940
|
+
export type PostAgentsAgentIdSignals_Body = {
|
|
2941
|
+
signal: {
|
|
2942
|
+
id?: string | undefined;
|
|
2943
|
+
createdAt?: (string | Date) | undefined;
|
|
2944
|
+
metadata?: {
|
|
2945
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2946
|
+
} | undefined;
|
|
2947
|
+
attributes?: {
|
|
2948
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
2949
|
+
} | undefined;
|
|
2950
|
+
type: 'user-message';
|
|
2951
|
+
contents: string | string[] | ({
|
|
2952
|
+
id?: string | undefined;
|
|
2953
|
+
name?: string | undefined;
|
|
2954
|
+
metadata?: {
|
|
2955
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2956
|
+
} | undefined;
|
|
2957
|
+
providerMetadata?: {
|
|
2958
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2959
|
+
} | undefined;
|
|
2960
|
+
providerOptions?: {
|
|
2961
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2962
|
+
} | undefined;
|
|
2963
|
+
experimental_providerMetadata?: {
|
|
2964
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2965
|
+
} | undefined;
|
|
2966
|
+
role: 'system' | 'user' | 'assistant' | 'tool';
|
|
2967
|
+
content: string | ({
|
|
2968
|
+
id?: string | undefined;
|
|
2969
|
+
name?: string | undefined;
|
|
2970
|
+
metadata?: {
|
|
2971
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2972
|
+
} | undefined;
|
|
2973
|
+
providerMetadata?: {
|
|
2974
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2975
|
+
} | undefined;
|
|
2976
|
+
providerOptions?: {
|
|
2977
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2978
|
+
} | undefined;
|
|
2979
|
+
experimental_providerMetadata?: {
|
|
2980
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2981
|
+
} | undefined;
|
|
2982
|
+
type: 'text';
|
|
2983
|
+
text: string;
|
|
2984
|
+
} | {
|
|
2985
|
+
id?: string | undefined;
|
|
2986
|
+
name?: string | undefined;
|
|
2987
|
+
metadata?: {
|
|
2988
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2989
|
+
} | undefined;
|
|
2990
|
+
providerMetadata?: {
|
|
2991
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2992
|
+
} | undefined;
|
|
2993
|
+
providerOptions?: {
|
|
2994
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2995
|
+
} | undefined;
|
|
2996
|
+
experimental_providerMetadata?: {
|
|
2997
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
2998
|
+
} | undefined;
|
|
2999
|
+
type: 'image';
|
|
3000
|
+
image: string | {
|
|
3001
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3002
|
+
};
|
|
3003
|
+
mediaType?: string | undefined;
|
|
3004
|
+
mimeType?: string | undefined;
|
|
3005
|
+
} | {
|
|
3006
|
+
id?: string | undefined;
|
|
3007
|
+
name?: string | undefined;
|
|
3008
|
+
metadata?: {
|
|
3009
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3010
|
+
} | undefined;
|
|
3011
|
+
providerMetadata?: {
|
|
3012
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3013
|
+
} | undefined;
|
|
3014
|
+
providerOptions?: {
|
|
3015
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3016
|
+
} | undefined;
|
|
3017
|
+
experimental_providerMetadata?: {
|
|
3018
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3019
|
+
} | undefined;
|
|
3020
|
+
type: 'file';
|
|
3021
|
+
data?: (string | {
|
|
3022
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3023
|
+
}) | undefined;
|
|
3024
|
+
file?: (string | {
|
|
3025
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3026
|
+
}) | undefined;
|
|
3027
|
+
url?: string | undefined;
|
|
3028
|
+
mediaType?: string | undefined;
|
|
3029
|
+
mimeType?: string | undefined;
|
|
3030
|
+
filename?: string | undefined;
|
|
3031
|
+
} | {
|
|
3032
|
+
id?: string | undefined;
|
|
3033
|
+
name?: string | undefined;
|
|
3034
|
+
metadata?: {
|
|
3035
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3036
|
+
} | undefined;
|
|
3037
|
+
providerMetadata?: {
|
|
3038
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3039
|
+
} | undefined;
|
|
3040
|
+
providerOptions?: {
|
|
3041
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3042
|
+
} | undefined;
|
|
3043
|
+
experimental_providerMetadata?: {
|
|
3044
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3045
|
+
} | undefined;
|
|
3046
|
+
type: 'tool-call';
|
|
3047
|
+
toolCallId: string;
|
|
3048
|
+
toolName: string;
|
|
3049
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3050
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3051
|
+
} | {
|
|
3052
|
+
id?: string | undefined;
|
|
3053
|
+
name?: string | undefined;
|
|
3054
|
+
metadata?: {
|
|
3055
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3056
|
+
} | undefined;
|
|
3057
|
+
providerMetadata?: {
|
|
3058
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3059
|
+
} | undefined;
|
|
3060
|
+
providerOptions?: {
|
|
3061
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3062
|
+
} | undefined;
|
|
3063
|
+
experimental_providerMetadata?: {
|
|
3064
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3065
|
+
} | undefined;
|
|
3066
|
+
type: 'tool-result';
|
|
3067
|
+
toolCallId: string;
|
|
3068
|
+
toolName?: string | undefined;
|
|
3069
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3070
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3071
|
+
})[];
|
|
3072
|
+
} | {
|
|
3073
|
+
id?: string | undefined;
|
|
3074
|
+
name?: string | undefined;
|
|
3075
|
+
metadata?: {
|
|
3076
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3077
|
+
} | undefined;
|
|
3078
|
+
providerMetadata?: {
|
|
3079
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3080
|
+
} | undefined;
|
|
3081
|
+
providerOptions?: {
|
|
3082
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3083
|
+
} | undefined;
|
|
3084
|
+
experimental_providerMetadata?: {
|
|
3085
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3086
|
+
} | undefined;
|
|
3087
|
+
role: 'system' | 'user' | 'assistant' | 'tool' | 'data';
|
|
3088
|
+
content?: (string | ({
|
|
3089
|
+
id?: string | undefined;
|
|
3090
|
+
name?: string | undefined;
|
|
3091
|
+
metadata?: {
|
|
3092
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3093
|
+
} | undefined;
|
|
3094
|
+
providerMetadata?: {
|
|
3095
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3096
|
+
} | undefined;
|
|
3097
|
+
providerOptions?: {
|
|
3098
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3099
|
+
} | undefined;
|
|
3100
|
+
experimental_providerMetadata?: {
|
|
3101
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3102
|
+
} | undefined;
|
|
3103
|
+
type: 'text';
|
|
3104
|
+
text: string;
|
|
3105
|
+
} | {
|
|
3106
|
+
id?: string | undefined;
|
|
3107
|
+
name?: string | undefined;
|
|
3108
|
+
metadata?: {
|
|
3109
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3110
|
+
} | undefined;
|
|
3111
|
+
providerMetadata?: {
|
|
3112
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3113
|
+
} | undefined;
|
|
3114
|
+
providerOptions?: {
|
|
3115
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3116
|
+
} | undefined;
|
|
3117
|
+
experimental_providerMetadata?: {
|
|
3118
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3119
|
+
} | undefined;
|
|
3120
|
+
type: 'image';
|
|
3121
|
+
image: string | {
|
|
3122
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3123
|
+
};
|
|
3124
|
+
mediaType?: string | undefined;
|
|
3125
|
+
mimeType?: string | undefined;
|
|
3126
|
+
} | {
|
|
3127
|
+
id?: string | undefined;
|
|
3128
|
+
name?: string | undefined;
|
|
3129
|
+
metadata?: {
|
|
3130
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3131
|
+
} | undefined;
|
|
3132
|
+
providerMetadata?: {
|
|
3133
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3134
|
+
} | undefined;
|
|
3135
|
+
providerOptions?: {
|
|
3136
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3137
|
+
} | undefined;
|
|
3138
|
+
experimental_providerMetadata?: {
|
|
3139
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3140
|
+
} | undefined;
|
|
3141
|
+
type: 'file';
|
|
3142
|
+
data?: (string | {
|
|
3143
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3144
|
+
}) | undefined;
|
|
3145
|
+
file?: (string | {
|
|
3146
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3147
|
+
}) | undefined;
|
|
3148
|
+
url?: string | undefined;
|
|
3149
|
+
mediaType?: string | undefined;
|
|
3150
|
+
mimeType?: string | undefined;
|
|
3151
|
+
filename?: string | undefined;
|
|
3152
|
+
} | {
|
|
3153
|
+
id?: string | undefined;
|
|
3154
|
+
name?: string | undefined;
|
|
3155
|
+
metadata?: {
|
|
3156
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3157
|
+
} | undefined;
|
|
3158
|
+
providerMetadata?: {
|
|
3159
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3160
|
+
} | undefined;
|
|
3161
|
+
providerOptions?: {
|
|
3162
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3163
|
+
} | undefined;
|
|
3164
|
+
experimental_providerMetadata?: {
|
|
3165
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3166
|
+
} | undefined;
|
|
3167
|
+
type: 'tool-call';
|
|
3168
|
+
toolCallId: string;
|
|
3169
|
+
toolName: string;
|
|
3170
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3171
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3172
|
+
} | {
|
|
3173
|
+
id?: string | undefined;
|
|
3174
|
+
name?: string | undefined;
|
|
3175
|
+
metadata?: {
|
|
3176
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3177
|
+
} | undefined;
|
|
3178
|
+
providerMetadata?: {
|
|
3179
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3180
|
+
} | undefined;
|
|
3181
|
+
providerOptions?: {
|
|
3182
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3183
|
+
} | undefined;
|
|
3184
|
+
experimental_providerMetadata?: {
|
|
3185
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3186
|
+
} | undefined;
|
|
3187
|
+
type: 'tool-result';
|
|
3188
|
+
toolCallId: string;
|
|
3189
|
+
toolName?: string | undefined;
|
|
3190
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3191
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3192
|
+
})[]) | undefined;
|
|
3193
|
+
parts?: ({
|
|
3194
|
+
id?: string | undefined;
|
|
3195
|
+
name?: string | undefined;
|
|
3196
|
+
metadata?: {
|
|
3197
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3198
|
+
} | undefined;
|
|
3199
|
+
providerMetadata?: {
|
|
3200
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3201
|
+
} | undefined;
|
|
3202
|
+
providerOptions?: {
|
|
3203
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3204
|
+
} | undefined;
|
|
3205
|
+
experimental_providerMetadata?: {
|
|
3206
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3207
|
+
} | undefined;
|
|
3208
|
+
type: 'text';
|
|
3209
|
+
text: string;
|
|
3210
|
+
} | {
|
|
3211
|
+
id?: string | undefined;
|
|
3212
|
+
name?: string | undefined;
|
|
3213
|
+
metadata?: {
|
|
3214
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3215
|
+
} | undefined;
|
|
3216
|
+
providerMetadata?: {
|
|
3217
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3218
|
+
} | undefined;
|
|
3219
|
+
providerOptions?: {
|
|
3220
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3221
|
+
} | undefined;
|
|
3222
|
+
experimental_providerMetadata?: {
|
|
3223
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3224
|
+
} | undefined;
|
|
3225
|
+
type: 'image';
|
|
3226
|
+
image: string | {
|
|
3227
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3228
|
+
};
|
|
3229
|
+
mediaType?: string | undefined;
|
|
3230
|
+
mimeType?: string | undefined;
|
|
3231
|
+
} | {
|
|
3232
|
+
id?: string | undefined;
|
|
3233
|
+
name?: string | undefined;
|
|
3234
|
+
metadata?: {
|
|
3235
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3236
|
+
} | undefined;
|
|
3237
|
+
providerMetadata?: {
|
|
3238
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3239
|
+
} | undefined;
|
|
3240
|
+
providerOptions?: {
|
|
3241
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3242
|
+
} | undefined;
|
|
3243
|
+
experimental_providerMetadata?: {
|
|
3244
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3245
|
+
} | undefined;
|
|
3246
|
+
type: 'file';
|
|
3247
|
+
data?: (string | {
|
|
3248
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3249
|
+
}) | undefined;
|
|
3250
|
+
file?: (string | {
|
|
3251
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3252
|
+
}) | undefined;
|
|
3253
|
+
url?: string | undefined;
|
|
3254
|
+
mediaType?: string | undefined;
|
|
3255
|
+
mimeType?: string | undefined;
|
|
3256
|
+
filename?: string | undefined;
|
|
3257
|
+
} | {
|
|
3258
|
+
id?: string | undefined;
|
|
3259
|
+
name?: string | undefined;
|
|
3260
|
+
metadata?: {
|
|
3261
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3262
|
+
} | undefined;
|
|
3263
|
+
providerMetadata?: {
|
|
3264
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3265
|
+
} | undefined;
|
|
3266
|
+
providerOptions?: {
|
|
3267
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3268
|
+
} | undefined;
|
|
3269
|
+
experimental_providerMetadata?: {
|
|
3270
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3271
|
+
} | undefined;
|
|
3272
|
+
type: 'tool-call';
|
|
3273
|
+
toolCallId: string;
|
|
3274
|
+
toolName: string;
|
|
3275
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3276
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3277
|
+
} | {
|
|
3278
|
+
id?: string | undefined;
|
|
3279
|
+
name?: string | undefined;
|
|
3280
|
+
metadata?: {
|
|
3281
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3282
|
+
} | undefined;
|
|
3283
|
+
providerMetadata?: {
|
|
3284
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3285
|
+
} | undefined;
|
|
3286
|
+
providerOptions?: {
|
|
3287
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3288
|
+
} | undefined;
|
|
3289
|
+
experimental_providerMetadata?: {
|
|
3290
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3291
|
+
} | undefined;
|
|
3292
|
+
type: 'tool-result';
|
|
3293
|
+
toolCallId: string;
|
|
3294
|
+
toolName?: string | undefined;
|
|
3295
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3296
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3297
|
+
})[] | undefined;
|
|
3298
|
+
createdAt?: (string | Date) | undefined;
|
|
3299
|
+
} | {
|
|
3300
|
+
id: string;
|
|
3301
|
+
role: 'system' | 'user' | 'assistant' | 'signal';
|
|
3302
|
+
createdAt: string | Date;
|
|
3303
|
+
threadId?: string | undefined;
|
|
3304
|
+
resourceId?: string | undefined;
|
|
3305
|
+
type?: string | undefined;
|
|
3306
|
+
content: {
|
|
3307
|
+
format: 2;
|
|
3308
|
+
parts: {
|
|
3309
|
+
type: string;
|
|
3310
|
+
[x: string]: unknown;
|
|
3311
|
+
}[];
|
|
3312
|
+
content?: (string | ({
|
|
3313
|
+
id?: string | undefined;
|
|
3314
|
+
name?: string | undefined;
|
|
3315
|
+
metadata?: {
|
|
3316
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3317
|
+
} | undefined;
|
|
3318
|
+
providerMetadata?: {
|
|
3319
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3320
|
+
} | undefined;
|
|
3321
|
+
providerOptions?: {
|
|
3322
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3323
|
+
} | undefined;
|
|
3324
|
+
experimental_providerMetadata?: {
|
|
3325
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3326
|
+
} | undefined;
|
|
3327
|
+
type: 'text';
|
|
3328
|
+
text: string;
|
|
3329
|
+
} | {
|
|
3330
|
+
id?: string | undefined;
|
|
3331
|
+
name?: string | undefined;
|
|
3332
|
+
metadata?: {
|
|
3333
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3334
|
+
} | undefined;
|
|
3335
|
+
providerMetadata?: {
|
|
3336
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3337
|
+
} | undefined;
|
|
3338
|
+
providerOptions?: {
|
|
3339
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3340
|
+
} | undefined;
|
|
3341
|
+
experimental_providerMetadata?: {
|
|
3342
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3343
|
+
} | undefined;
|
|
3344
|
+
type: 'image';
|
|
3345
|
+
image: string | {
|
|
3346
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3347
|
+
};
|
|
3348
|
+
mediaType?: string | undefined;
|
|
3349
|
+
mimeType?: string | undefined;
|
|
3350
|
+
} | {
|
|
3351
|
+
id?: string | undefined;
|
|
3352
|
+
name?: string | undefined;
|
|
3353
|
+
metadata?: {
|
|
3354
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3355
|
+
} | undefined;
|
|
3356
|
+
providerMetadata?: {
|
|
3357
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3358
|
+
} | undefined;
|
|
3359
|
+
providerOptions?: {
|
|
3360
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3361
|
+
} | undefined;
|
|
3362
|
+
experimental_providerMetadata?: {
|
|
3363
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3364
|
+
} | undefined;
|
|
3365
|
+
type: 'file';
|
|
3366
|
+
data?: (string | {
|
|
3367
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3368
|
+
}) | undefined;
|
|
3369
|
+
file?: (string | {
|
|
3370
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3371
|
+
}) | undefined;
|
|
3372
|
+
url?: string | undefined;
|
|
3373
|
+
mediaType?: string | undefined;
|
|
3374
|
+
mimeType?: string | undefined;
|
|
3375
|
+
filename?: string | undefined;
|
|
3376
|
+
} | {
|
|
3377
|
+
id?: string | undefined;
|
|
3378
|
+
name?: string | undefined;
|
|
3379
|
+
metadata?: {
|
|
3380
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3381
|
+
} | undefined;
|
|
3382
|
+
providerMetadata?: {
|
|
3383
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3384
|
+
} | undefined;
|
|
3385
|
+
providerOptions?: {
|
|
3386
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3387
|
+
} | undefined;
|
|
3388
|
+
experimental_providerMetadata?: {
|
|
3389
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3390
|
+
} | undefined;
|
|
3391
|
+
type: 'tool-call';
|
|
3392
|
+
toolCallId: string;
|
|
3393
|
+
toolName: string;
|
|
3394
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3395
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3396
|
+
} | {
|
|
3397
|
+
id?: string | undefined;
|
|
3398
|
+
name?: string | undefined;
|
|
3399
|
+
metadata?: {
|
|
3400
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3401
|
+
} | undefined;
|
|
3402
|
+
providerMetadata?: {
|
|
3403
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3404
|
+
} | undefined;
|
|
3405
|
+
providerOptions?: {
|
|
3406
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3407
|
+
} | undefined;
|
|
3408
|
+
experimental_providerMetadata?: {
|
|
3409
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3410
|
+
} | undefined;
|
|
3411
|
+
type: 'tool-result';
|
|
3412
|
+
toolCallId: string;
|
|
3413
|
+
toolName?: string | undefined;
|
|
3414
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3415
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3416
|
+
})[]) | undefined;
|
|
3417
|
+
experimental_attachments?: {
|
|
3418
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3419
|
+
}[] | undefined;
|
|
3420
|
+
toolInvocations?: {
|
|
3421
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3422
|
+
}[] | undefined;
|
|
3423
|
+
reasoning?: string | undefined;
|
|
3424
|
+
annotations?: PostAgentsAgentIdSignals_Body_Auxiliary_2[] | undefined;
|
|
3425
|
+
metadata?: {
|
|
3426
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3427
|
+
} | undefined;
|
|
3428
|
+
providerMetadata?: {
|
|
3429
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3430
|
+
} | undefined;
|
|
3431
|
+
[x: string]: unknown;
|
|
3432
|
+
};
|
|
3433
|
+
}) | ({
|
|
3434
|
+
id?: string | undefined;
|
|
3435
|
+
name?: string | undefined;
|
|
3436
|
+
metadata?: {
|
|
3437
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3438
|
+
} | undefined;
|
|
3439
|
+
providerMetadata?: {
|
|
3440
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3441
|
+
} | undefined;
|
|
3442
|
+
providerOptions?: {
|
|
3443
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3444
|
+
} | undefined;
|
|
3445
|
+
experimental_providerMetadata?: {
|
|
3446
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3447
|
+
} | undefined;
|
|
3448
|
+
role: 'system' | 'user' | 'assistant' | 'tool';
|
|
3449
|
+
content: string | ({
|
|
3450
|
+
id?: string | undefined;
|
|
3451
|
+
name?: string | undefined;
|
|
3452
|
+
metadata?: {
|
|
3453
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3454
|
+
} | undefined;
|
|
3455
|
+
providerMetadata?: {
|
|
3456
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3457
|
+
} | undefined;
|
|
3458
|
+
providerOptions?: {
|
|
3459
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3460
|
+
} | undefined;
|
|
3461
|
+
experimental_providerMetadata?: {
|
|
3462
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3463
|
+
} | undefined;
|
|
3464
|
+
type: 'text';
|
|
3465
|
+
text: string;
|
|
3466
|
+
} | {
|
|
3467
|
+
id?: string | undefined;
|
|
3468
|
+
name?: string | undefined;
|
|
3469
|
+
metadata?: {
|
|
3470
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3471
|
+
} | undefined;
|
|
3472
|
+
providerMetadata?: {
|
|
3473
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3474
|
+
} | undefined;
|
|
3475
|
+
providerOptions?: {
|
|
3476
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3477
|
+
} | undefined;
|
|
3478
|
+
experimental_providerMetadata?: {
|
|
3479
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3480
|
+
} | undefined;
|
|
3481
|
+
type: 'image';
|
|
3482
|
+
image: string | {
|
|
3483
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3484
|
+
};
|
|
3485
|
+
mediaType?: string | undefined;
|
|
3486
|
+
mimeType?: string | undefined;
|
|
3487
|
+
} | {
|
|
3488
|
+
id?: string | undefined;
|
|
3489
|
+
name?: string | undefined;
|
|
3490
|
+
metadata?: {
|
|
3491
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3492
|
+
} | undefined;
|
|
3493
|
+
providerMetadata?: {
|
|
3494
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3495
|
+
} | undefined;
|
|
3496
|
+
providerOptions?: {
|
|
3497
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3498
|
+
} | undefined;
|
|
3499
|
+
experimental_providerMetadata?: {
|
|
3500
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3501
|
+
} | undefined;
|
|
3502
|
+
type: 'file';
|
|
3503
|
+
data?: (string | {
|
|
3504
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3505
|
+
}) | undefined;
|
|
3506
|
+
file?: (string | {
|
|
3507
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3508
|
+
}) | undefined;
|
|
3509
|
+
url?: string | undefined;
|
|
3510
|
+
mediaType?: string | undefined;
|
|
3511
|
+
mimeType?: string | undefined;
|
|
3512
|
+
filename?: string | undefined;
|
|
3513
|
+
} | {
|
|
3514
|
+
id?: string | undefined;
|
|
3515
|
+
name?: string | undefined;
|
|
3516
|
+
metadata?: {
|
|
3517
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3518
|
+
} | undefined;
|
|
3519
|
+
providerMetadata?: {
|
|
3520
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3521
|
+
} | undefined;
|
|
3522
|
+
providerOptions?: {
|
|
3523
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3524
|
+
} | undefined;
|
|
3525
|
+
experimental_providerMetadata?: {
|
|
3526
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3527
|
+
} | undefined;
|
|
3528
|
+
type: 'tool-call';
|
|
3529
|
+
toolCallId: string;
|
|
3530
|
+
toolName: string;
|
|
3531
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3532
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3533
|
+
} | {
|
|
3534
|
+
id?: string | undefined;
|
|
3535
|
+
name?: string | undefined;
|
|
3536
|
+
metadata?: {
|
|
3537
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3538
|
+
} | undefined;
|
|
3539
|
+
providerMetadata?: {
|
|
3540
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3541
|
+
} | undefined;
|
|
3542
|
+
providerOptions?: {
|
|
3543
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3544
|
+
} | undefined;
|
|
3545
|
+
experimental_providerMetadata?: {
|
|
3546
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3547
|
+
} | undefined;
|
|
3548
|
+
type: 'tool-result';
|
|
3549
|
+
toolCallId: string;
|
|
3550
|
+
toolName?: string | undefined;
|
|
3551
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3552
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3553
|
+
})[];
|
|
3554
|
+
} | {
|
|
3555
|
+
id?: string | undefined;
|
|
3556
|
+
name?: string | undefined;
|
|
3557
|
+
metadata?: {
|
|
3558
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3559
|
+
} | undefined;
|
|
3560
|
+
providerMetadata?: {
|
|
3561
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3562
|
+
} | undefined;
|
|
3563
|
+
providerOptions?: {
|
|
3564
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3565
|
+
} | undefined;
|
|
3566
|
+
experimental_providerMetadata?: {
|
|
3567
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3568
|
+
} | undefined;
|
|
3569
|
+
role: 'system' | 'user' | 'assistant' | 'tool' | 'data';
|
|
3570
|
+
content?: (string | ({
|
|
3571
|
+
id?: string | undefined;
|
|
3572
|
+
name?: string | undefined;
|
|
3573
|
+
metadata?: {
|
|
3574
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3575
|
+
} | undefined;
|
|
3576
|
+
providerMetadata?: {
|
|
3577
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3578
|
+
} | undefined;
|
|
3579
|
+
providerOptions?: {
|
|
3580
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3581
|
+
} | undefined;
|
|
3582
|
+
experimental_providerMetadata?: {
|
|
3583
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3584
|
+
} | undefined;
|
|
3585
|
+
type: 'text';
|
|
3586
|
+
text: string;
|
|
3587
|
+
} | {
|
|
3588
|
+
id?: string | undefined;
|
|
3589
|
+
name?: string | undefined;
|
|
3590
|
+
metadata?: {
|
|
3591
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3592
|
+
} | undefined;
|
|
3593
|
+
providerMetadata?: {
|
|
3594
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3595
|
+
} | undefined;
|
|
3596
|
+
providerOptions?: {
|
|
3597
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3598
|
+
} | undefined;
|
|
3599
|
+
experimental_providerMetadata?: {
|
|
3600
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3601
|
+
} | undefined;
|
|
3602
|
+
type: 'image';
|
|
3603
|
+
image: string | {
|
|
3604
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3605
|
+
};
|
|
3606
|
+
mediaType?: string | undefined;
|
|
3607
|
+
mimeType?: string | undefined;
|
|
3608
|
+
} | {
|
|
3609
|
+
id?: string | undefined;
|
|
3610
|
+
name?: string | undefined;
|
|
3611
|
+
metadata?: {
|
|
3612
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3613
|
+
} | undefined;
|
|
3614
|
+
providerMetadata?: {
|
|
3615
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3616
|
+
} | undefined;
|
|
3617
|
+
providerOptions?: {
|
|
3618
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3619
|
+
} | undefined;
|
|
3620
|
+
experimental_providerMetadata?: {
|
|
3621
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3622
|
+
} | undefined;
|
|
3623
|
+
type: 'file';
|
|
3624
|
+
data?: (string | {
|
|
3625
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3626
|
+
}) | undefined;
|
|
3627
|
+
file?: (string | {
|
|
3628
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3629
|
+
}) | undefined;
|
|
3630
|
+
url?: string | undefined;
|
|
3631
|
+
mediaType?: string | undefined;
|
|
3632
|
+
mimeType?: string | undefined;
|
|
3633
|
+
filename?: string | undefined;
|
|
3634
|
+
} | {
|
|
3635
|
+
id?: string | undefined;
|
|
3636
|
+
name?: string | undefined;
|
|
3637
|
+
metadata?: {
|
|
3638
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3639
|
+
} | undefined;
|
|
3640
|
+
providerMetadata?: {
|
|
3641
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3642
|
+
} | undefined;
|
|
3643
|
+
providerOptions?: {
|
|
3644
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3645
|
+
} | undefined;
|
|
3646
|
+
experimental_providerMetadata?: {
|
|
3647
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3648
|
+
} | undefined;
|
|
3649
|
+
type: 'tool-call';
|
|
3650
|
+
toolCallId: string;
|
|
3651
|
+
toolName: string;
|
|
3652
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3653
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3654
|
+
} | {
|
|
3655
|
+
id?: string | undefined;
|
|
3656
|
+
name?: string | undefined;
|
|
3657
|
+
metadata?: {
|
|
3658
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3659
|
+
} | undefined;
|
|
3660
|
+
providerMetadata?: {
|
|
3661
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3662
|
+
} | undefined;
|
|
3663
|
+
providerOptions?: {
|
|
3664
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3665
|
+
} | undefined;
|
|
3666
|
+
experimental_providerMetadata?: {
|
|
3667
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3668
|
+
} | undefined;
|
|
3669
|
+
type: 'tool-result';
|
|
3670
|
+
toolCallId: string;
|
|
3671
|
+
toolName?: string | undefined;
|
|
3672
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3673
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3674
|
+
})[]) | undefined;
|
|
3675
|
+
parts?: ({
|
|
3676
|
+
id?: string | undefined;
|
|
3677
|
+
name?: string | undefined;
|
|
3678
|
+
metadata?: {
|
|
3679
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3680
|
+
} | undefined;
|
|
3681
|
+
providerMetadata?: {
|
|
3682
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3683
|
+
} | undefined;
|
|
3684
|
+
providerOptions?: {
|
|
3685
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3686
|
+
} | undefined;
|
|
3687
|
+
experimental_providerMetadata?: {
|
|
3688
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3689
|
+
} | undefined;
|
|
3690
|
+
type: 'text';
|
|
3691
|
+
text: string;
|
|
3692
|
+
} | {
|
|
3693
|
+
id?: string | undefined;
|
|
3694
|
+
name?: string | undefined;
|
|
3695
|
+
metadata?: {
|
|
3696
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3697
|
+
} | undefined;
|
|
3698
|
+
providerMetadata?: {
|
|
3699
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3700
|
+
} | undefined;
|
|
3701
|
+
providerOptions?: {
|
|
3702
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3703
|
+
} | undefined;
|
|
3704
|
+
experimental_providerMetadata?: {
|
|
3705
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3706
|
+
} | undefined;
|
|
3707
|
+
type: 'image';
|
|
3708
|
+
image: string | {
|
|
3709
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3710
|
+
};
|
|
3711
|
+
mediaType?: string | undefined;
|
|
3712
|
+
mimeType?: string | undefined;
|
|
3713
|
+
} | {
|
|
3714
|
+
id?: string | undefined;
|
|
3715
|
+
name?: string | undefined;
|
|
3716
|
+
metadata?: {
|
|
3717
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3718
|
+
} | undefined;
|
|
3719
|
+
providerMetadata?: {
|
|
3720
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3721
|
+
} | undefined;
|
|
3722
|
+
providerOptions?: {
|
|
3723
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3724
|
+
} | undefined;
|
|
3725
|
+
experimental_providerMetadata?: {
|
|
3726
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3727
|
+
} | undefined;
|
|
3728
|
+
type: 'file';
|
|
3729
|
+
data?: (string | {
|
|
3730
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3731
|
+
}) | undefined;
|
|
3732
|
+
file?: (string | {
|
|
3733
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3734
|
+
}) | undefined;
|
|
3735
|
+
url?: string | undefined;
|
|
3736
|
+
mediaType?: string | undefined;
|
|
3737
|
+
mimeType?: string | undefined;
|
|
3738
|
+
filename?: string | undefined;
|
|
3739
|
+
} | {
|
|
3740
|
+
id?: string | undefined;
|
|
3741
|
+
name?: string | undefined;
|
|
3742
|
+
metadata?: {
|
|
3743
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3744
|
+
} | undefined;
|
|
3745
|
+
providerMetadata?: {
|
|
3746
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3747
|
+
} | undefined;
|
|
3748
|
+
providerOptions?: {
|
|
3749
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3750
|
+
} | undefined;
|
|
3751
|
+
experimental_providerMetadata?: {
|
|
3752
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3753
|
+
} | undefined;
|
|
3754
|
+
type: 'tool-call';
|
|
3755
|
+
toolCallId: string;
|
|
3756
|
+
toolName: string;
|
|
3757
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3758
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3759
|
+
} | {
|
|
3760
|
+
id?: string | undefined;
|
|
3761
|
+
name?: string | undefined;
|
|
3762
|
+
metadata?: {
|
|
3763
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3764
|
+
} | undefined;
|
|
3765
|
+
providerMetadata?: {
|
|
3766
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3767
|
+
} | undefined;
|
|
3768
|
+
providerOptions?: {
|
|
3769
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3770
|
+
} | undefined;
|
|
3771
|
+
experimental_providerMetadata?: {
|
|
3772
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3773
|
+
} | undefined;
|
|
3774
|
+
type: 'tool-result';
|
|
3775
|
+
toolCallId: string;
|
|
3776
|
+
toolName?: string | undefined;
|
|
3777
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3778
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3779
|
+
})[] | undefined;
|
|
3780
|
+
createdAt?: (string | Date) | undefined;
|
|
3781
|
+
} | {
|
|
3782
|
+
id: string;
|
|
3783
|
+
role: 'system' | 'user' | 'assistant' | 'signal';
|
|
3784
|
+
createdAt: string | Date;
|
|
3785
|
+
threadId?: string | undefined;
|
|
3786
|
+
resourceId?: string | undefined;
|
|
3787
|
+
type?: string | undefined;
|
|
3788
|
+
content: {
|
|
3789
|
+
format: 2;
|
|
3790
|
+
parts: {
|
|
3791
|
+
type: string;
|
|
3792
|
+
[x: string]: unknown;
|
|
3793
|
+
}[];
|
|
3794
|
+
content?: (string | ({
|
|
3795
|
+
id?: string | undefined;
|
|
3796
|
+
name?: string | undefined;
|
|
3797
|
+
metadata?: {
|
|
3798
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3799
|
+
} | undefined;
|
|
3800
|
+
providerMetadata?: {
|
|
3801
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3802
|
+
} | undefined;
|
|
3803
|
+
providerOptions?: {
|
|
3804
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3805
|
+
} | undefined;
|
|
3806
|
+
experimental_providerMetadata?: {
|
|
3807
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3808
|
+
} | undefined;
|
|
3809
|
+
type: 'text';
|
|
3810
|
+
text: string;
|
|
3811
|
+
} | {
|
|
3812
|
+
id?: string | undefined;
|
|
3813
|
+
name?: string | undefined;
|
|
3814
|
+
metadata?: {
|
|
3815
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3816
|
+
} | undefined;
|
|
3817
|
+
providerMetadata?: {
|
|
3818
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3819
|
+
} | undefined;
|
|
3820
|
+
providerOptions?: {
|
|
3821
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3822
|
+
} | undefined;
|
|
3823
|
+
experimental_providerMetadata?: {
|
|
3824
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3825
|
+
} | undefined;
|
|
3826
|
+
type: 'image';
|
|
3827
|
+
image: string | {
|
|
3828
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3829
|
+
};
|
|
3830
|
+
mediaType?: string | undefined;
|
|
3831
|
+
mimeType?: string | undefined;
|
|
3832
|
+
} | {
|
|
3833
|
+
id?: string | undefined;
|
|
3834
|
+
name?: string | undefined;
|
|
3835
|
+
metadata?: {
|
|
3836
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3837
|
+
} | undefined;
|
|
3838
|
+
providerMetadata?: {
|
|
3839
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3840
|
+
} | undefined;
|
|
3841
|
+
providerOptions?: {
|
|
3842
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3843
|
+
} | undefined;
|
|
3844
|
+
experimental_providerMetadata?: {
|
|
3845
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3846
|
+
} | undefined;
|
|
3847
|
+
type: 'file';
|
|
3848
|
+
data?: (string | {
|
|
3849
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3850
|
+
}) | undefined;
|
|
3851
|
+
file?: (string | {
|
|
3852
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3853
|
+
}) | undefined;
|
|
3854
|
+
url?: string | undefined;
|
|
3855
|
+
mediaType?: string | undefined;
|
|
3856
|
+
mimeType?: string | undefined;
|
|
3857
|
+
filename?: string | undefined;
|
|
3858
|
+
} | {
|
|
3859
|
+
id?: string | undefined;
|
|
3860
|
+
name?: string | undefined;
|
|
3861
|
+
metadata?: {
|
|
3862
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3863
|
+
} | undefined;
|
|
3864
|
+
providerMetadata?: {
|
|
3865
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3866
|
+
} | undefined;
|
|
3867
|
+
providerOptions?: {
|
|
3868
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3869
|
+
} | undefined;
|
|
3870
|
+
experimental_providerMetadata?: {
|
|
3871
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3872
|
+
} | undefined;
|
|
3873
|
+
type: 'tool-call';
|
|
3874
|
+
toolCallId: string;
|
|
3875
|
+
toolName: string;
|
|
3876
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3877
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3878
|
+
} | {
|
|
3879
|
+
id?: string | undefined;
|
|
3880
|
+
name?: string | undefined;
|
|
3881
|
+
metadata?: {
|
|
3882
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3883
|
+
} | undefined;
|
|
3884
|
+
providerMetadata?: {
|
|
3885
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3886
|
+
} | undefined;
|
|
3887
|
+
providerOptions?: {
|
|
3888
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3889
|
+
} | undefined;
|
|
3890
|
+
experimental_providerMetadata?: {
|
|
3891
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3892
|
+
} | undefined;
|
|
3893
|
+
type: 'tool-result';
|
|
3894
|
+
toolCallId: string;
|
|
3895
|
+
toolName?: string | undefined;
|
|
3896
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3897
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
3898
|
+
})[]) | undefined;
|
|
3899
|
+
experimental_attachments?: {
|
|
3900
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3901
|
+
}[] | undefined;
|
|
3902
|
+
toolInvocations?: {
|
|
3903
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3904
|
+
}[] | undefined;
|
|
3905
|
+
reasoning?: string | undefined;
|
|
3906
|
+
annotations?: PostAgentsAgentIdSignals_Body_Auxiliary_2[] | undefined;
|
|
3907
|
+
metadata?: {
|
|
3908
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3909
|
+
} | undefined;
|
|
3910
|
+
providerMetadata?: {
|
|
3911
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3912
|
+
} | undefined;
|
|
3913
|
+
[x: string]: unknown;
|
|
3914
|
+
};
|
|
3915
|
+
})[];
|
|
3916
|
+
} | {
|
|
3917
|
+
id?: string | undefined;
|
|
3918
|
+
createdAt?: (string | Date) | undefined;
|
|
3919
|
+
metadata?: {
|
|
3920
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3921
|
+
} | undefined;
|
|
3922
|
+
attributes?: {
|
|
3923
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3924
|
+
} | undefined;
|
|
3925
|
+
type: string;
|
|
3926
|
+
contents: string;
|
|
3927
|
+
};
|
|
3928
|
+
ifActive?: {
|
|
3929
|
+
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
3930
|
+
} | undefined;
|
|
3931
|
+
runId: string;
|
|
3932
|
+
resourceId?: string | undefined;
|
|
3933
|
+
threadId?: string | undefined;
|
|
3934
|
+
ifIdle?: undefined | undefined;
|
|
3935
|
+
} | {
|
|
3936
|
+
signal: {
|
|
3937
|
+
id?: string | undefined;
|
|
3938
|
+
createdAt?: (string | Date) | undefined;
|
|
3939
|
+
metadata?: {
|
|
3940
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3941
|
+
} | undefined;
|
|
3942
|
+
attributes?: {
|
|
3943
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
3944
|
+
} | undefined;
|
|
3945
|
+
type: 'user-message';
|
|
3946
|
+
contents: string | string[] | ({
|
|
3947
|
+
id?: string | undefined;
|
|
3948
|
+
name?: string | undefined;
|
|
3949
|
+
metadata?: {
|
|
3950
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3951
|
+
} | undefined;
|
|
3952
|
+
providerMetadata?: {
|
|
3953
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3954
|
+
} | undefined;
|
|
3955
|
+
providerOptions?: {
|
|
3956
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3957
|
+
} | undefined;
|
|
3958
|
+
experimental_providerMetadata?: {
|
|
3959
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3960
|
+
} | undefined;
|
|
3961
|
+
role: 'system' | 'user' | 'assistant' | 'tool';
|
|
3962
|
+
content: string | ({
|
|
3963
|
+
id?: string | undefined;
|
|
3964
|
+
name?: string | undefined;
|
|
3965
|
+
metadata?: {
|
|
3966
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3967
|
+
} | undefined;
|
|
3968
|
+
providerMetadata?: {
|
|
3969
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3970
|
+
} | undefined;
|
|
3971
|
+
providerOptions?: {
|
|
3972
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3973
|
+
} | undefined;
|
|
3974
|
+
experimental_providerMetadata?: {
|
|
3975
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3976
|
+
} | undefined;
|
|
3977
|
+
type: 'text';
|
|
3978
|
+
text: string;
|
|
3979
|
+
} | {
|
|
3980
|
+
id?: string | undefined;
|
|
3981
|
+
name?: string | undefined;
|
|
3982
|
+
metadata?: {
|
|
3983
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3984
|
+
} | undefined;
|
|
3985
|
+
providerMetadata?: {
|
|
3986
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3987
|
+
} | undefined;
|
|
3988
|
+
providerOptions?: {
|
|
3989
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3990
|
+
} | undefined;
|
|
3991
|
+
experimental_providerMetadata?: {
|
|
3992
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3993
|
+
} | undefined;
|
|
3994
|
+
type: 'image';
|
|
3995
|
+
image: string | {
|
|
3996
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
3997
|
+
};
|
|
3998
|
+
mediaType?: string | undefined;
|
|
3999
|
+
mimeType?: string | undefined;
|
|
4000
|
+
} | {
|
|
4001
|
+
id?: string | undefined;
|
|
4002
|
+
name?: string | undefined;
|
|
4003
|
+
metadata?: {
|
|
4004
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4005
|
+
} | undefined;
|
|
4006
|
+
providerMetadata?: {
|
|
4007
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4008
|
+
} | undefined;
|
|
4009
|
+
providerOptions?: {
|
|
4010
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4011
|
+
} | undefined;
|
|
4012
|
+
experimental_providerMetadata?: {
|
|
4013
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4014
|
+
} | undefined;
|
|
4015
|
+
type: 'file';
|
|
4016
|
+
data?: (string | {
|
|
4017
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4018
|
+
}) | undefined;
|
|
4019
|
+
file?: (string | {
|
|
4020
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4021
|
+
}) | undefined;
|
|
4022
|
+
url?: string | undefined;
|
|
4023
|
+
mediaType?: string | undefined;
|
|
4024
|
+
mimeType?: string | undefined;
|
|
4025
|
+
filename?: string | undefined;
|
|
4026
|
+
} | {
|
|
4027
|
+
id?: string | undefined;
|
|
4028
|
+
name?: string | undefined;
|
|
4029
|
+
metadata?: {
|
|
4030
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4031
|
+
} | undefined;
|
|
4032
|
+
providerMetadata?: {
|
|
4033
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4034
|
+
} | undefined;
|
|
4035
|
+
providerOptions?: {
|
|
4036
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4037
|
+
} | undefined;
|
|
4038
|
+
experimental_providerMetadata?: {
|
|
4039
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4040
|
+
} | undefined;
|
|
4041
|
+
type: 'tool-call';
|
|
4042
|
+
toolCallId: string;
|
|
4043
|
+
toolName: string;
|
|
4044
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4045
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4046
|
+
} | {
|
|
4047
|
+
id?: string | undefined;
|
|
4048
|
+
name?: string | undefined;
|
|
4049
|
+
metadata?: {
|
|
4050
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4051
|
+
} | undefined;
|
|
4052
|
+
providerMetadata?: {
|
|
4053
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4054
|
+
} | undefined;
|
|
4055
|
+
providerOptions?: {
|
|
4056
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4057
|
+
} | undefined;
|
|
4058
|
+
experimental_providerMetadata?: {
|
|
4059
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4060
|
+
} | undefined;
|
|
4061
|
+
type: 'tool-result';
|
|
4062
|
+
toolCallId: string;
|
|
4063
|
+
toolName?: string | undefined;
|
|
4064
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4065
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4066
|
+
})[];
|
|
4067
|
+
} | {
|
|
4068
|
+
id?: string | undefined;
|
|
4069
|
+
name?: string | undefined;
|
|
4070
|
+
metadata?: {
|
|
4071
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4072
|
+
} | undefined;
|
|
4073
|
+
providerMetadata?: {
|
|
4074
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4075
|
+
} | undefined;
|
|
4076
|
+
providerOptions?: {
|
|
4077
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4078
|
+
} | undefined;
|
|
4079
|
+
experimental_providerMetadata?: {
|
|
4080
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4081
|
+
} | undefined;
|
|
4082
|
+
role: 'system' | 'user' | 'assistant' | 'tool' | 'data';
|
|
4083
|
+
content?: (string | ({
|
|
4084
|
+
id?: string | undefined;
|
|
4085
|
+
name?: string | undefined;
|
|
4086
|
+
metadata?: {
|
|
4087
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4088
|
+
} | undefined;
|
|
4089
|
+
providerMetadata?: {
|
|
4090
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4091
|
+
} | undefined;
|
|
4092
|
+
providerOptions?: {
|
|
4093
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4094
|
+
} | undefined;
|
|
4095
|
+
experimental_providerMetadata?: {
|
|
4096
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4097
|
+
} | undefined;
|
|
4098
|
+
type: 'text';
|
|
4099
|
+
text: string;
|
|
4100
|
+
} | {
|
|
4101
|
+
id?: string | undefined;
|
|
4102
|
+
name?: string | undefined;
|
|
4103
|
+
metadata?: {
|
|
4104
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4105
|
+
} | undefined;
|
|
4106
|
+
providerMetadata?: {
|
|
4107
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4108
|
+
} | undefined;
|
|
4109
|
+
providerOptions?: {
|
|
4110
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4111
|
+
} | undefined;
|
|
4112
|
+
experimental_providerMetadata?: {
|
|
4113
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4114
|
+
} | undefined;
|
|
4115
|
+
type: 'image';
|
|
4116
|
+
image: string | {
|
|
4117
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4118
|
+
};
|
|
4119
|
+
mediaType?: string | undefined;
|
|
4120
|
+
mimeType?: string | undefined;
|
|
4121
|
+
} | {
|
|
4122
|
+
id?: string | undefined;
|
|
4123
|
+
name?: string | undefined;
|
|
4124
|
+
metadata?: {
|
|
4125
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4126
|
+
} | undefined;
|
|
4127
|
+
providerMetadata?: {
|
|
4128
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4129
|
+
} | undefined;
|
|
4130
|
+
providerOptions?: {
|
|
4131
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4132
|
+
} | undefined;
|
|
4133
|
+
experimental_providerMetadata?: {
|
|
4134
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4135
|
+
} | undefined;
|
|
4136
|
+
type: 'file';
|
|
4137
|
+
data?: (string | {
|
|
4138
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4139
|
+
}) | undefined;
|
|
4140
|
+
file?: (string | {
|
|
4141
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4142
|
+
}) | undefined;
|
|
4143
|
+
url?: string | undefined;
|
|
4144
|
+
mediaType?: string | undefined;
|
|
4145
|
+
mimeType?: string | undefined;
|
|
4146
|
+
filename?: string | undefined;
|
|
4147
|
+
} | {
|
|
4148
|
+
id?: string | undefined;
|
|
4149
|
+
name?: string | undefined;
|
|
4150
|
+
metadata?: {
|
|
4151
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4152
|
+
} | undefined;
|
|
4153
|
+
providerMetadata?: {
|
|
4154
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4155
|
+
} | undefined;
|
|
4156
|
+
providerOptions?: {
|
|
4157
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4158
|
+
} | undefined;
|
|
4159
|
+
experimental_providerMetadata?: {
|
|
4160
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4161
|
+
} | undefined;
|
|
4162
|
+
type: 'tool-call';
|
|
4163
|
+
toolCallId: string;
|
|
4164
|
+
toolName: string;
|
|
4165
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4166
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4167
|
+
} | {
|
|
4168
|
+
id?: string | undefined;
|
|
4169
|
+
name?: string | undefined;
|
|
4170
|
+
metadata?: {
|
|
4171
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4172
|
+
} | undefined;
|
|
4173
|
+
providerMetadata?: {
|
|
4174
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4175
|
+
} | undefined;
|
|
4176
|
+
providerOptions?: {
|
|
4177
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4178
|
+
} | undefined;
|
|
4179
|
+
experimental_providerMetadata?: {
|
|
4180
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4181
|
+
} | undefined;
|
|
4182
|
+
type: 'tool-result';
|
|
4183
|
+
toolCallId: string;
|
|
4184
|
+
toolName?: string | undefined;
|
|
4185
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4186
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4187
|
+
})[]) | undefined;
|
|
4188
|
+
parts?: ({
|
|
4189
|
+
id?: string | undefined;
|
|
4190
|
+
name?: string | undefined;
|
|
4191
|
+
metadata?: {
|
|
4192
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4193
|
+
} | undefined;
|
|
4194
|
+
providerMetadata?: {
|
|
4195
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4196
|
+
} | undefined;
|
|
4197
|
+
providerOptions?: {
|
|
4198
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4199
|
+
} | undefined;
|
|
4200
|
+
experimental_providerMetadata?: {
|
|
4201
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4202
|
+
} | undefined;
|
|
4203
|
+
type: 'text';
|
|
4204
|
+
text: string;
|
|
4205
|
+
} | {
|
|
4206
|
+
id?: string | undefined;
|
|
4207
|
+
name?: string | undefined;
|
|
4208
|
+
metadata?: {
|
|
4209
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4210
|
+
} | undefined;
|
|
4211
|
+
providerMetadata?: {
|
|
4212
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4213
|
+
} | undefined;
|
|
4214
|
+
providerOptions?: {
|
|
4215
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4216
|
+
} | undefined;
|
|
4217
|
+
experimental_providerMetadata?: {
|
|
4218
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4219
|
+
} | undefined;
|
|
4220
|
+
type: 'image';
|
|
4221
|
+
image: string | {
|
|
4222
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4223
|
+
};
|
|
4224
|
+
mediaType?: string | undefined;
|
|
4225
|
+
mimeType?: string | undefined;
|
|
4226
|
+
} | {
|
|
4227
|
+
id?: string | undefined;
|
|
4228
|
+
name?: string | undefined;
|
|
4229
|
+
metadata?: {
|
|
4230
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4231
|
+
} | undefined;
|
|
4232
|
+
providerMetadata?: {
|
|
4233
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4234
|
+
} | undefined;
|
|
4235
|
+
providerOptions?: {
|
|
4236
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4237
|
+
} | undefined;
|
|
4238
|
+
experimental_providerMetadata?: {
|
|
4239
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4240
|
+
} | undefined;
|
|
4241
|
+
type: 'file';
|
|
4242
|
+
data?: (string | {
|
|
4243
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4244
|
+
}) | undefined;
|
|
4245
|
+
file?: (string | {
|
|
4246
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4247
|
+
}) | undefined;
|
|
4248
|
+
url?: string | undefined;
|
|
4249
|
+
mediaType?: string | undefined;
|
|
4250
|
+
mimeType?: string | undefined;
|
|
4251
|
+
filename?: string | undefined;
|
|
4252
|
+
} | {
|
|
4253
|
+
id?: string | undefined;
|
|
4254
|
+
name?: string | undefined;
|
|
4255
|
+
metadata?: {
|
|
4256
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4257
|
+
} | undefined;
|
|
4258
|
+
providerMetadata?: {
|
|
4259
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4260
|
+
} | undefined;
|
|
4261
|
+
providerOptions?: {
|
|
4262
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4263
|
+
} | undefined;
|
|
4264
|
+
experimental_providerMetadata?: {
|
|
4265
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4266
|
+
} | undefined;
|
|
4267
|
+
type: 'tool-call';
|
|
4268
|
+
toolCallId: string;
|
|
4269
|
+
toolName: string;
|
|
4270
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4271
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4272
|
+
} | {
|
|
4273
|
+
id?: string | undefined;
|
|
4274
|
+
name?: string | undefined;
|
|
4275
|
+
metadata?: {
|
|
4276
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4277
|
+
} | undefined;
|
|
4278
|
+
providerMetadata?: {
|
|
4279
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4280
|
+
} | undefined;
|
|
4281
|
+
providerOptions?: {
|
|
4282
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4283
|
+
} | undefined;
|
|
4284
|
+
experimental_providerMetadata?: {
|
|
4285
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4286
|
+
} | undefined;
|
|
4287
|
+
type: 'tool-result';
|
|
4288
|
+
toolCallId: string;
|
|
4289
|
+
toolName?: string | undefined;
|
|
4290
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4291
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4292
|
+
})[] | undefined;
|
|
4293
|
+
createdAt?: (string | Date) | undefined;
|
|
4294
|
+
} | {
|
|
4295
|
+
id: string;
|
|
4296
|
+
role: 'system' | 'user' | 'assistant' | 'signal';
|
|
4297
|
+
createdAt: string | Date;
|
|
4298
|
+
threadId?: string | undefined;
|
|
4299
|
+
resourceId?: string | undefined;
|
|
4300
|
+
type?: string | undefined;
|
|
4301
|
+
content: {
|
|
4302
|
+
format: 2;
|
|
4303
|
+
parts: {
|
|
4304
|
+
type: string;
|
|
4305
|
+
[x: string]: unknown;
|
|
4306
|
+
}[];
|
|
4307
|
+
content?: (string | ({
|
|
4308
|
+
id?: string | undefined;
|
|
4309
|
+
name?: string | undefined;
|
|
4310
|
+
metadata?: {
|
|
4311
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4312
|
+
} | undefined;
|
|
4313
|
+
providerMetadata?: {
|
|
4314
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4315
|
+
} | undefined;
|
|
4316
|
+
providerOptions?: {
|
|
4317
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4318
|
+
} | undefined;
|
|
4319
|
+
experimental_providerMetadata?: {
|
|
4320
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4321
|
+
} | undefined;
|
|
4322
|
+
type: 'text';
|
|
4323
|
+
text: string;
|
|
4324
|
+
} | {
|
|
4325
|
+
id?: string | undefined;
|
|
4326
|
+
name?: string | undefined;
|
|
4327
|
+
metadata?: {
|
|
4328
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4329
|
+
} | undefined;
|
|
4330
|
+
providerMetadata?: {
|
|
4331
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4332
|
+
} | undefined;
|
|
4333
|
+
providerOptions?: {
|
|
4334
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4335
|
+
} | undefined;
|
|
4336
|
+
experimental_providerMetadata?: {
|
|
4337
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4338
|
+
} | undefined;
|
|
4339
|
+
type: 'image';
|
|
4340
|
+
image: string | {
|
|
4341
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4342
|
+
};
|
|
4343
|
+
mediaType?: string | undefined;
|
|
4344
|
+
mimeType?: string | undefined;
|
|
4345
|
+
} | {
|
|
4346
|
+
id?: string | undefined;
|
|
4347
|
+
name?: string | undefined;
|
|
4348
|
+
metadata?: {
|
|
4349
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4350
|
+
} | undefined;
|
|
4351
|
+
providerMetadata?: {
|
|
4352
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4353
|
+
} | undefined;
|
|
4354
|
+
providerOptions?: {
|
|
4355
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4356
|
+
} | undefined;
|
|
4357
|
+
experimental_providerMetadata?: {
|
|
4358
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4359
|
+
} | undefined;
|
|
4360
|
+
type: 'file';
|
|
4361
|
+
data?: (string | {
|
|
4362
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4363
|
+
}) | undefined;
|
|
4364
|
+
file?: (string | {
|
|
4365
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4366
|
+
}) | undefined;
|
|
4367
|
+
url?: string | undefined;
|
|
4368
|
+
mediaType?: string | undefined;
|
|
4369
|
+
mimeType?: string | undefined;
|
|
4370
|
+
filename?: string | undefined;
|
|
4371
|
+
} | {
|
|
4372
|
+
id?: string | undefined;
|
|
4373
|
+
name?: string | undefined;
|
|
4374
|
+
metadata?: {
|
|
4375
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4376
|
+
} | undefined;
|
|
4377
|
+
providerMetadata?: {
|
|
4378
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4379
|
+
} | undefined;
|
|
4380
|
+
providerOptions?: {
|
|
4381
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4382
|
+
} | undefined;
|
|
4383
|
+
experimental_providerMetadata?: {
|
|
4384
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4385
|
+
} | undefined;
|
|
4386
|
+
type: 'tool-call';
|
|
4387
|
+
toolCallId: string;
|
|
4388
|
+
toolName: string;
|
|
4389
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4390
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4391
|
+
} | {
|
|
4392
|
+
id?: string | undefined;
|
|
4393
|
+
name?: string | undefined;
|
|
4394
|
+
metadata?: {
|
|
4395
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4396
|
+
} | undefined;
|
|
4397
|
+
providerMetadata?: {
|
|
4398
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4399
|
+
} | undefined;
|
|
4400
|
+
providerOptions?: {
|
|
4401
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4402
|
+
} | undefined;
|
|
4403
|
+
experimental_providerMetadata?: {
|
|
4404
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4405
|
+
} | undefined;
|
|
4406
|
+
type: 'tool-result';
|
|
4407
|
+
toolCallId: string;
|
|
4408
|
+
toolName?: string | undefined;
|
|
4409
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4410
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4411
|
+
})[]) | undefined;
|
|
4412
|
+
experimental_attachments?: {
|
|
4413
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4414
|
+
}[] | undefined;
|
|
4415
|
+
toolInvocations?: {
|
|
4416
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4417
|
+
}[] | undefined;
|
|
4418
|
+
reasoning?: string | undefined;
|
|
4419
|
+
annotations?: PostAgentsAgentIdSignals_Body_Auxiliary_2[] | undefined;
|
|
4420
|
+
metadata?: {
|
|
4421
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4422
|
+
} | undefined;
|
|
4423
|
+
providerMetadata?: {
|
|
4424
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4425
|
+
} | undefined;
|
|
4426
|
+
[x: string]: unknown;
|
|
4427
|
+
};
|
|
4428
|
+
}) | ({
|
|
4429
|
+
id?: string | undefined;
|
|
4430
|
+
name?: string | undefined;
|
|
4431
|
+
metadata?: {
|
|
4432
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4433
|
+
} | undefined;
|
|
4434
|
+
providerMetadata?: {
|
|
4435
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4436
|
+
} | undefined;
|
|
4437
|
+
providerOptions?: {
|
|
4438
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4439
|
+
} | undefined;
|
|
4440
|
+
experimental_providerMetadata?: {
|
|
4441
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4442
|
+
} | undefined;
|
|
4443
|
+
role: 'system' | 'user' | 'assistant' | 'tool';
|
|
4444
|
+
content: string | ({
|
|
4445
|
+
id?: string | undefined;
|
|
4446
|
+
name?: string | undefined;
|
|
4447
|
+
metadata?: {
|
|
4448
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4449
|
+
} | undefined;
|
|
4450
|
+
providerMetadata?: {
|
|
4451
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4452
|
+
} | undefined;
|
|
4453
|
+
providerOptions?: {
|
|
4454
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4455
|
+
} | undefined;
|
|
4456
|
+
experimental_providerMetadata?: {
|
|
4457
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4458
|
+
} | undefined;
|
|
4459
|
+
type: 'text';
|
|
4460
|
+
text: string;
|
|
4461
|
+
} | {
|
|
4462
|
+
id?: string | undefined;
|
|
4463
|
+
name?: string | undefined;
|
|
4464
|
+
metadata?: {
|
|
4465
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4466
|
+
} | undefined;
|
|
4467
|
+
providerMetadata?: {
|
|
4468
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4469
|
+
} | undefined;
|
|
4470
|
+
providerOptions?: {
|
|
4471
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4472
|
+
} | undefined;
|
|
4473
|
+
experimental_providerMetadata?: {
|
|
4474
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4475
|
+
} | undefined;
|
|
4476
|
+
type: 'image';
|
|
4477
|
+
image: string | {
|
|
4478
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4479
|
+
};
|
|
4480
|
+
mediaType?: string | undefined;
|
|
4481
|
+
mimeType?: string | undefined;
|
|
4482
|
+
} | {
|
|
4483
|
+
id?: string | undefined;
|
|
4484
|
+
name?: string | undefined;
|
|
4485
|
+
metadata?: {
|
|
4486
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4487
|
+
} | undefined;
|
|
4488
|
+
providerMetadata?: {
|
|
4489
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4490
|
+
} | undefined;
|
|
4491
|
+
providerOptions?: {
|
|
4492
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4493
|
+
} | undefined;
|
|
4494
|
+
experimental_providerMetadata?: {
|
|
4495
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4496
|
+
} | undefined;
|
|
4497
|
+
type: 'file';
|
|
4498
|
+
data?: (string | {
|
|
4499
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4500
|
+
}) | undefined;
|
|
4501
|
+
file?: (string | {
|
|
4502
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4503
|
+
}) | undefined;
|
|
4504
|
+
url?: string | undefined;
|
|
4505
|
+
mediaType?: string | undefined;
|
|
4506
|
+
mimeType?: string | undefined;
|
|
4507
|
+
filename?: string | undefined;
|
|
4508
|
+
} | {
|
|
4509
|
+
id?: string | undefined;
|
|
4510
|
+
name?: string | undefined;
|
|
4511
|
+
metadata?: {
|
|
4512
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4513
|
+
} | undefined;
|
|
4514
|
+
providerMetadata?: {
|
|
4515
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4516
|
+
} | undefined;
|
|
4517
|
+
providerOptions?: {
|
|
4518
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4519
|
+
} | undefined;
|
|
4520
|
+
experimental_providerMetadata?: {
|
|
4521
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4522
|
+
} | undefined;
|
|
4523
|
+
type: 'tool-call';
|
|
4524
|
+
toolCallId: string;
|
|
4525
|
+
toolName: string;
|
|
4526
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4527
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4528
|
+
} | {
|
|
4529
|
+
id?: string | undefined;
|
|
4530
|
+
name?: string | undefined;
|
|
4531
|
+
metadata?: {
|
|
4532
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4533
|
+
} | undefined;
|
|
4534
|
+
providerMetadata?: {
|
|
4535
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4536
|
+
} | undefined;
|
|
4537
|
+
providerOptions?: {
|
|
4538
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4539
|
+
} | undefined;
|
|
4540
|
+
experimental_providerMetadata?: {
|
|
4541
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4542
|
+
} | undefined;
|
|
4543
|
+
type: 'tool-result';
|
|
4544
|
+
toolCallId: string;
|
|
4545
|
+
toolName?: string | undefined;
|
|
4546
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4547
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4548
|
+
})[];
|
|
4549
|
+
} | {
|
|
4550
|
+
id?: string | undefined;
|
|
4551
|
+
name?: string | undefined;
|
|
4552
|
+
metadata?: {
|
|
4553
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4554
|
+
} | undefined;
|
|
4555
|
+
providerMetadata?: {
|
|
4556
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4557
|
+
} | undefined;
|
|
4558
|
+
providerOptions?: {
|
|
4559
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4560
|
+
} | undefined;
|
|
4561
|
+
experimental_providerMetadata?: {
|
|
4562
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4563
|
+
} | undefined;
|
|
4564
|
+
role: 'system' | 'user' | 'assistant' | 'tool' | 'data';
|
|
4565
|
+
content?: (string | ({
|
|
4566
|
+
id?: string | undefined;
|
|
4567
|
+
name?: string | undefined;
|
|
4568
|
+
metadata?: {
|
|
4569
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4570
|
+
} | undefined;
|
|
4571
|
+
providerMetadata?: {
|
|
4572
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4573
|
+
} | undefined;
|
|
4574
|
+
providerOptions?: {
|
|
4575
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4576
|
+
} | undefined;
|
|
4577
|
+
experimental_providerMetadata?: {
|
|
4578
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4579
|
+
} | undefined;
|
|
4580
|
+
type: 'text';
|
|
4581
|
+
text: string;
|
|
4582
|
+
} | {
|
|
4583
|
+
id?: string | undefined;
|
|
4584
|
+
name?: string | undefined;
|
|
4585
|
+
metadata?: {
|
|
4586
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4587
|
+
} | undefined;
|
|
4588
|
+
providerMetadata?: {
|
|
4589
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4590
|
+
} | undefined;
|
|
4591
|
+
providerOptions?: {
|
|
4592
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4593
|
+
} | undefined;
|
|
4594
|
+
experimental_providerMetadata?: {
|
|
4595
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4596
|
+
} | undefined;
|
|
4597
|
+
type: 'image';
|
|
4598
|
+
image: string | {
|
|
4599
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4600
|
+
};
|
|
4601
|
+
mediaType?: string | undefined;
|
|
4602
|
+
mimeType?: string | undefined;
|
|
4603
|
+
} | {
|
|
4604
|
+
id?: string | undefined;
|
|
4605
|
+
name?: string | undefined;
|
|
4606
|
+
metadata?: {
|
|
4607
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4608
|
+
} | undefined;
|
|
4609
|
+
providerMetadata?: {
|
|
4610
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4611
|
+
} | undefined;
|
|
4612
|
+
providerOptions?: {
|
|
4613
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4614
|
+
} | undefined;
|
|
4615
|
+
experimental_providerMetadata?: {
|
|
4616
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4617
|
+
} | undefined;
|
|
4618
|
+
type: 'file';
|
|
4619
|
+
data?: (string | {
|
|
4620
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4621
|
+
}) | undefined;
|
|
4622
|
+
file?: (string | {
|
|
4623
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4624
|
+
}) | undefined;
|
|
4625
|
+
url?: string | undefined;
|
|
4626
|
+
mediaType?: string | undefined;
|
|
4627
|
+
mimeType?: string | undefined;
|
|
4628
|
+
filename?: string | undefined;
|
|
4629
|
+
} | {
|
|
4630
|
+
id?: string | undefined;
|
|
4631
|
+
name?: string | undefined;
|
|
4632
|
+
metadata?: {
|
|
4633
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4634
|
+
} | undefined;
|
|
4635
|
+
providerMetadata?: {
|
|
4636
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4637
|
+
} | undefined;
|
|
4638
|
+
providerOptions?: {
|
|
4639
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4640
|
+
} | undefined;
|
|
4641
|
+
experimental_providerMetadata?: {
|
|
4642
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4643
|
+
} | undefined;
|
|
4644
|
+
type: 'tool-call';
|
|
4645
|
+
toolCallId: string;
|
|
4646
|
+
toolName: string;
|
|
4647
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4648
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4649
|
+
} | {
|
|
4650
|
+
id?: string | undefined;
|
|
4651
|
+
name?: string | undefined;
|
|
4652
|
+
metadata?: {
|
|
4653
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4654
|
+
} | undefined;
|
|
4655
|
+
providerMetadata?: {
|
|
4656
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4657
|
+
} | undefined;
|
|
4658
|
+
providerOptions?: {
|
|
4659
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4660
|
+
} | undefined;
|
|
4661
|
+
experimental_providerMetadata?: {
|
|
4662
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4663
|
+
} | undefined;
|
|
4664
|
+
type: 'tool-result';
|
|
4665
|
+
toolCallId: string;
|
|
4666
|
+
toolName?: string | undefined;
|
|
4667
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4668
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4669
|
+
})[]) | undefined;
|
|
4670
|
+
parts?: ({
|
|
4671
|
+
id?: string | undefined;
|
|
4672
|
+
name?: string | undefined;
|
|
4673
|
+
metadata?: {
|
|
4674
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4675
|
+
} | undefined;
|
|
4676
|
+
providerMetadata?: {
|
|
4677
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4678
|
+
} | undefined;
|
|
4679
|
+
providerOptions?: {
|
|
4680
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4681
|
+
} | undefined;
|
|
4682
|
+
experimental_providerMetadata?: {
|
|
4683
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4684
|
+
} | undefined;
|
|
4685
|
+
type: 'text';
|
|
4686
|
+
text: string;
|
|
4687
|
+
} | {
|
|
4688
|
+
id?: string | undefined;
|
|
4689
|
+
name?: string | undefined;
|
|
4690
|
+
metadata?: {
|
|
4691
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4692
|
+
} | undefined;
|
|
4693
|
+
providerMetadata?: {
|
|
4694
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4695
|
+
} | undefined;
|
|
4696
|
+
providerOptions?: {
|
|
4697
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4698
|
+
} | undefined;
|
|
4699
|
+
experimental_providerMetadata?: {
|
|
4700
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4701
|
+
} | undefined;
|
|
4702
|
+
type: 'image';
|
|
4703
|
+
image: string | {
|
|
4704
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4705
|
+
};
|
|
4706
|
+
mediaType?: string | undefined;
|
|
4707
|
+
mimeType?: string | undefined;
|
|
4708
|
+
} | {
|
|
4709
|
+
id?: string | undefined;
|
|
4710
|
+
name?: string | undefined;
|
|
4711
|
+
metadata?: {
|
|
4712
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4713
|
+
} | undefined;
|
|
4714
|
+
providerMetadata?: {
|
|
4715
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4716
|
+
} | undefined;
|
|
4717
|
+
providerOptions?: {
|
|
4718
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4719
|
+
} | undefined;
|
|
4720
|
+
experimental_providerMetadata?: {
|
|
4721
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4722
|
+
} | undefined;
|
|
4723
|
+
type: 'file';
|
|
4724
|
+
data?: (string | {
|
|
4725
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4726
|
+
}) | undefined;
|
|
4727
|
+
file?: (string | {
|
|
4728
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4729
|
+
}) | undefined;
|
|
4730
|
+
url?: string | undefined;
|
|
4731
|
+
mediaType?: string | undefined;
|
|
4732
|
+
mimeType?: string | undefined;
|
|
4733
|
+
filename?: string | undefined;
|
|
4734
|
+
} | {
|
|
4735
|
+
id?: string | undefined;
|
|
4736
|
+
name?: string | undefined;
|
|
4737
|
+
metadata?: {
|
|
4738
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4739
|
+
} | undefined;
|
|
4740
|
+
providerMetadata?: {
|
|
4741
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4742
|
+
} | undefined;
|
|
4743
|
+
providerOptions?: {
|
|
4744
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4745
|
+
} | undefined;
|
|
4746
|
+
experimental_providerMetadata?: {
|
|
4747
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4748
|
+
} | undefined;
|
|
4749
|
+
type: 'tool-call';
|
|
4750
|
+
toolCallId: string;
|
|
4751
|
+
toolName: string;
|
|
4752
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4753
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4754
|
+
} | {
|
|
4755
|
+
id?: string | undefined;
|
|
4756
|
+
name?: string | undefined;
|
|
4757
|
+
metadata?: {
|
|
4758
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4759
|
+
} | undefined;
|
|
4760
|
+
providerMetadata?: {
|
|
4761
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4762
|
+
} | undefined;
|
|
4763
|
+
providerOptions?: {
|
|
4764
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4765
|
+
} | undefined;
|
|
4766
|
+
experimental_providerMetadata?: {
|
|
4767
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4768
|
+
} | undefined;
|
|
4769
|
+
type: 'tool-result';
|
|
4770
|
+
toolCallId: string;
|
|
4771
|
+
toolName?: string | undefined;
|
|
4772
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4773
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4774
|
+
})[] | undefined;
|
|
4775
|
+
createdAt?: (string | Date) | undefined;
|
|
4776
|
+
} | {
|
|
4777
|
+
id: string;
|
|
4778
|
+
role: 'system' | 'user' | 'assistant' | 'signal';
|
|
4779
|
+
createdAt: string | Date;
|
|
4780
|
+
threadId?: string | undefined;
|
|
4781
|
+
resourceId?: string | undefined;
|
|
4782
|
+
type?: string | undefined;
|
|
4783
|
+
content: {
|
|
4784
|
+
format: 2;
|
|
4785
|
+
parts: {
|
|
4786
|
+
type: string;
|
|
4787
|
+
[x: string]: unknown;
|
|
4788
|
+
}[];
|
|
4789
|
+
content?: (string | ({
|
|
4790
|
+
id?: string | undefined;
|
|
4791
|
+
name?: string | undefined;
|
|
4792
|
+
metadata?: {
|
|
4793
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4794
|
+
} | undefined;
|
|
4795
|
+
providerMetadata?: {
|
|
4796
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4797
|
+
} | undefined;
|
|
4798
|
+
providerOptions?: {
|
|
4799
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4800
|
+
} | undefined;
|
|
4801
|
+
experimental_providerMetadata?: {
|
|
4802
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4803
|
+
} | undefined;
|
|
4804
|
+
type: 'text';
|
|
4805
|
+
text: string;
|
|
4806
|
+
} | {
|
|
4807
|
+
id?: string | undefined;
|
|
4808
|
+
name?: string | undefined;
|
|
4809
|
+
metadata?: {
|
|
4810
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4811
|
+
} | undefined;
|
|
4812
|
+
providerMetadata?: {
|
|
4813
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4814
|
+
} | undefined;
|
|
4815
|
+
providerOptions?: {
|
|
4816
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4817
|
+
} | undefined;
|
|
4818
|
+
experimental_providerMetadata?: {
|
|
4819
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4820
|
+
} | undefined;
|
|
4821
|
+
type: 'image';
|
|
4822
|
+
image: string | {
|
|
4823
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4824
|
+
};
|
|
4825
|
+
mediaType?: string | undefined;
|
|
4826
|
+
mimeType?: string | undefined;
|
|
4827
|
+
} | {
|
|
4828
|
+
id?: string | undefined;
|
|
4829
|
+
name?: string | undefined;
|
|
4830
|
+
metadata?: {
|
|
4831
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4832
|
+
} | undefined;
|
|
4833
|
+
providerMetadata?: {
|
|
4834
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4835
|
+
} | undefined;
|
|
4836
|
+
providerOptions?: {
|
|
4837
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4838
|
+
} | undefined;
|
|
4839
|
+
experimental_providerMetadata?: {
|
|
4840
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4841
|
+
} | undefined;
|
|
4842
|
+
type: 'file';
|
|
4843
|
+
data?: (string | {
|
|
4844
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4845
|
+
}) | undefined;
|
|
4846
|
+
file?: (string | {
|
|
4847
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4848
|
+
}) | undefined;
|
|
4849
|
+
url?: string | undefined;
|
|
4850
|
+
mediaType?: string | undefined;
|
|
4851
|
+
mimeType?: string | undefined;
|
|
4852
|
+
filename?: string | undefined;
|
|
4853
|
+
} | {
|
|
4854
|
+
id?: string | undefined;
|
|
4855
|
+
name?: string | undefined;
|
|
4856
|
+
metadata?: {
|
|
4857
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4858
|
+
} | undefined;
|
|
4859
|
+
providerMetadata?: {
|
|
4860
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4861
|
+
} | undefined;
|
|
4862
|
+
providerOptions?: {
|
|
4863
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4864
|
+
} | undefined;
|
|
4865
|
+
experimental_providerMetadata?: {
|
|
4866
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4867
|
+
} | undefined;
|
|
4868
|
+
type: 'tool-call';
|
|
4869
|
+
toolCallId: string;
|
|
4870
|
+
toolName: string;
|
|
4871
|
+
args?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4872
|
+
input?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4873
|
+
} | {
|
|
4874
|
+
id?: string | undefined;
|
|
4875
|
+
name?: string | undefined;
|
|
4876
|
+
metadata?: {
|
|
4877
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4878
|
+
} | undefined;
|
|
4879
|
+
providerMetadata?: {
|
|
4880
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4881
|
+
} | undefined;
|
|
4882
|
+
providerOptions?: {
|
|
4883
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4884
|
+
} | undefined;
|
|
4885
|
+
experimental_providerMetadata?: {
|
|
4886
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4887
|
+
} | undefined;
|
|
4888
|
+
type: 'tool-result';
|
|
4889
|
+
toolCallId: string;
|
|
4890
|
+
toolName?: string | undefined;
|
|
4891
|
+
result?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4892
|
+
output?: PostAgentsAgentIdSignals_Body_Auxiliary_2 | undefined;
|
|
4893
|
+
})[]) | undefined;
|
|
4894
|
+
experimental_attachments?: {
|
|
4895
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4896
|
+
}[] | undefined;
|
|
4897
|
+
toolInvocations?: {
|
|
4898
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4899
|
+
}[] | undefined;
|
|
4900
|
+
reasoning?: string | undefined;
|
|
4901
|
+
annotations?: PostAgentsAgentIdSignals_Body_Auxiliary_2[] | undefined;
|
|
4902
|
+
metadata?: {
|
|
4903
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4904
|
+
} | undefined;
|
|
4905
|
+
providerMetadata?: {
|
|
4906
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4907
|
+
} | undefined;
|
|
4908
|
+
[x: string]: unknown;
|
|
4909
|
+
};
|
|
4910
|
+
})[];
|
|
4911
|
+
} | {
|
|
4912
|
+
id?: string | undefined;
|
|
4913
|
+
createdAt?: (string | Date) | undefined;
|
|
4914
|
+
metadata?: {
|
|
4915
|
+
[key: string]: PostAgentsAgentIdSignals_Body_Auxiliary_2;
|
|
4916
|
+
} | undefined;
|
|
4917
|
+
attributes?: {
|
|
4918
|
+
[key: string]: string | number | boolean | null | undefined;
|
|
4919
|
+
} | undefined;
|
|
4920
|
+
type: string;
|
|
4921
|
+
contents: string;
|
|
4922
|
+
};
|
|
4923
|
+
ifActive?: {
|
|
4924
|
+
behavior?: ('deliver' | 'persist' | 'discard') | undefined;
|
|
4925
|
+
} | undefined;
|
|
4926
|
+
runId?: string | undefined;
|
|
4927
|
+
resourceId: string;
|
|
4928
|
+
threadId: string;
|
|
4929
|
+
ifIdle?: {
|
|
4930
|
+
behavior?: ('wake' | 'persist' | 'discard') | undefined;
|
|
4931
|
+
streamOptions?: {
|
|
4932
|
+
instructions?: (string | string[] | any | any[]) | undefined;
|
|
4933
|
+
system?: (string | string[] | any | any[]) | undefined;
|
|
4934
|
+
context?: any[] | undefined;
|
|
4935
|
+
memory?: {
|
|
4936
|
+
thread: string | {
|
|
4937
|
+
id: string;
|
|
4938
|
+
[x: string]: unknown;
|
|
4939
|
+
};
|
|
4940
|
+
resource: string;
|
|
4941
|
+
options?: {
|
|
4942
|
+
[key: string]: any;
|
|
4943
|
+
} | undefined;
|
|
4944
|
+
readOnly?: boolean | undefined;
|
|
4945
|
+
} | undefined;
|
|
4946
|
+
runId?: string | undefined;
|
|
4947
|
+
savePerStep?: boolean | undefined;
|
|
4948
|
+
requestContext?: {
|
|
4949
|
+
[key: string]: any;
|
|
4950
|
+
} | undefined;
|
|
4951
|
+
versions?: {
|
|
4952
|
+
agents?: {
|
|
4953
|
+
[key: string]: {
|
|
4954
|
+
versionId: string;
|
|
4955
|
+
} | {
|
|
4956
|
+
status: 'draft' | 'published';
|
|
4957
|
+
};
|
|
4958
|
+
} | undefined;
|
|
4959
|
+
} | undefined;
|
|
4960
|
+
maxSteps?: number | undefined;
|
|
4961
|
+
stopWhen?: any | undefined;
|
|
4962
|
+
providerOptions?: {
|
|
4963
|
+
anthropic?: {
|
|
4964
|
+
[key: string]: any;
|
|
4965
|
+
} | undefined;
|
|
4966
|
+
google?: {
|
|
4967
|
+
[key: string]: any;
|
|
4968
|
+
} | undefined;
|
|
4969
|
+
openai?: {
|
|
4970
|
+
[key: string]: any;
|
|
4971
|
+
} | undefined;
|
|
4972
|
+
xai?: {
|
|
4973
|
+
[key: string]: any;
|
|
4974
|
+
} | undefined;
|
|
4975
|
+
} | undefined;
|
|
4976
|
+
modelSettings?: any | undefined;
|
|
4977
|
+
activeTools?: string[] | undefined;
|
|
4978
|
+
toolsets?: {
|
|
4979
|
+
[key: string]: any;
|
|
4980
|
+
} | undefined;
|
|
4981
|
+
clientTools?: {
|
|
4982
|
+
[key: string]: any;
|
|
4983
|
+
} | undefined;
|
|
4984
|
+
toolChoice?: (('auto' | 'none' | 'required') | {
|
|
4985
|
+
type: 'tool';
|
|
4986
|
+
toolName: string;
|
|
4987
|
+
}) | undefined;
|
|
4988
|
+
requireToolApproval?: boolean | undefined;
|
|
4989
|
+
scorers?: ({
|
|
4990
|
+
[key: string]: any;
|
|
4991
|
+
} | {
|
|
4992
|
+
[key: string]: {
|
|
4993
|
+
scorer: string;
|
|
4994
|
+
sampling?: any | undefined;
|
|
4995
|
+
};
|
|
4996
|
+
}) | undefined;
|
|
4997
|
+
returnScorerData?: boolean | undefined;
|
|
4998
|
+
tracingOptions?: {
|
|
4999
|
+
metadata?: {
|
|
5000
|
+
[key: string]: unknown;
|
|
5001
|
+
} | undefined;
|
|
5002
|
+
requestContextKeys?: string[] | undefined;
|
|
5003
|
+
traceId?: string | undefined;
|
|
5004
|
+
parentSpanId?: string | undefined;
|
|
5005
|
+
tags?: string[] | undefined;
|
|
5006
|
+
hideInput?: boolean | undefined;
|
|
5007
|
+
hideOutput?: boolean | undefined;
|
|
5008
|
+
} | undefined;
|
|
5009
|
+
output?: any | undefined;
|
|
5010
|
+
structuredOutput?: {
|
|
5011
|
+
schema: {
|
|
5012
|
+
[x: string]: unknown;
|
|
5013
|
+
};
|
|
5014
|
+
model?: (string | any) | undefined;
|
|
5015
|
+
instructions?: string | undefined;
|
|
5016
|
+
jsonPromptInjection?: boolean | undefined;
|
|
5017
|
+
errorStrategy?: ('strict' | 'warn' | 'fallback') | undefined;
|
|
5018
|
+
fallbackValue?: any | undefined;
|
|
5019
|
+
} | undefined;
|
|
5020
|
+
[x: string]: unknown;
|
|
5021
|
+
} | undefined;
|
|
5022
|
+
} | undefined;
|
|
5023
|
+
};
|
|
5024
|
+
export type PostAgentsAgentIdSignals_Response = {
|
|
5025
|
+
accepted: true;
|
|
5026
|
+
runId: string;
|
|
5027
|
+
};
|
|
5028
|
+
export type PostAgentsAgentIdSignals_Request = Simplify<(PostAgentsAgentIdSignals_PathParams extends never ? {} : {
|
|
5029
|
+
params: PostAgentsAgentIdSignals_PathParams;
|
|
5030
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
5031
|
+
query?: never;
|
|
5032
|
+
} : {
|
|
5033
|
+
query: never;
|
|
5034
|
+
}) & (PostAgentsAgentIdSignals_Body extends never ? {} : {} extends PostAgentsAgentIdSignals_Body ? {
|
|
5035
|
+
body?: PostAgentsAgentIdSignals_Body;
|
|
5036
|
+
} : {
|
|
5037
|
+
body: PostAgentsAgentIdSignals_Body;
|
|
5038
|
+
})>;
|
|
5039
|
+
export interface PostAgentsAgentIdSignals_RouteContract {
|
|
5040
|
+
pathParams: PostAgentsAgentIdSignals_PathParams;
|
|
5041
|
+
queryParams: never;
|
|
5042
|
+
body: PostAgentsAgentIdSignals_Body;
|
|
5043
|
+
request: PostAgentsAgentIdSignals_Request;
|
|
5044
|
+
response: PostAgentsAgentIdSignals_Response;
|
|
5045
|
+
responseType: 'json';
|
|
5046
|
+
}
|
|
5047
|
+
export type PostAgentsAgentIdThreadsSubscribe_PathParams = {
|
|
5048
|
+
/** Unique identifier for the agent */
|
|
5049
|
+
agentId: string;
|
|
5050
|
+
};
|
|
5051
|
+
export type PostAgentsAgentIdThreadsSubscribe_Body = {
|
|
5052
|
+
resourceId?: string | undefined;
|
|
5053
|
+
threadId: string;
|
|
5054
|
+
};
|
|
5055
|
+
export type PostAgentsAgentIdThreadsSubscribe_Response = any;
|
|
5056
|
+
export type PostAgentsAgentIdThreadsSubscribe_Request = Simplify<(PostAgentsAgentIdThreadsSubscribe_PathParams extends never ? {} : {
|
|
5057
|
+
params: PostAgentsAgentIdThreadsSubscribe_PathParams;
|
|
5058
|
+
}) & (never extends never ? {} : {} extends never ? {
|
|
5059
|
+
query?: never;
|
|
5060
|
+
} : {
|
|
5061
|
+
query: never;
|
|
5062
|
+
}) & (PostAgentsAgentIdThreadsSubscribe_Body extends never ? {} : {} extends PostAgentsAgentIdThreadsSubscribe_Body ? {
|
|
5063
|
+
body?: PostAgentsAgentIdThreadsSubscribe_Body;
|
|
5064
|
+
} : {
|
|
5065
|
+
body: PostAgentsAgentIdThreadsSubscribe_Body;
|
|
5066
|
+
})>;
|
|
5067
|
+
export interface PostAgentsAgentIdThreadsSubscribe_RouteContract {
|
|
5068
|
+
pathParams: PostAgentsAgentIdThreadsSubscribe_PathParams;
|
|
5069
|
+
queryParams: never;
|
|
5070
|
+
body: PostAgentsAgentIdThreadsSubscribe_Body;
|
|
5071
|
+
request: PostAgentsAgentIdThreadsSubscribe_Request;
|
|
5072
|
+
response: PostAgentsAgentIdThreadsSubscribe_Response;
|
|
5073
|
+
responseType: 'stream';
|
|
5074
|
+
}
|
|
2933
5075
|
export type PostAgentsAgentIdToolsToolIdExecute_PathParams = {
|
|
2934
5076
|
/** Unique identifier for the agent */
|
|
2935
5077
|
agentId: string;
|
|
@@ -5747,7 +7889,7 @@ export type PostProcessorsProcessorIdExecute_Body = {
|
|
|
5747
7889
|
phase: 'input' | 'inputStep' | 'outputStream' | 'outputResult' | 'outputStep';
|
|
5748
7890
|
messages: {
|
|
5749
7891
|
id: string;
|
|
5750
|
-
role: 'user' | 'assistant' | 'system' | 'tool';
|
|
7892
|
+
role: 'user' | 'assistant' | 'system' | 'tool' | 'signal';
|
|
5751
7893
|
createdAt?: Date | undefined;
|
|
5752
7894
|
content: {
|
|
5753
7895
|
format?: 2 | undefined;
|
|
@@ -5767,7 +7909,7 @@ export type PostProcessorsProcessorIdExecute_Response = {
|
|
|
5767
7909
|
phase: string;
|
|
5768
7910
|
messages?: {
|
|
5769
7911
|
id: string;
|
|
5770
|
-
role: 'user' | 'assistant' | 'system' | 'tool';
|
|
7912
|
+
role: 'user' | 'assistant' | 'system' | 'tool' | 'signal';
|
|
5771
7913
|
createdAt?: Date | undefined;
|
|
5772
7914
|
content: {
|
|
5773
7915
|
format?: 2 | undefined;
|
|
@@ -5780,7 +7922,7 @@ export type PostProcessorsProcessorIdExecute_Response = {
|
|
|
5780
7922
|
messageList?: {
|
|
5781
7923
|
messages: {
|
|
5782
7924
|
id: string;
|
|
5783
|
-
role: 'user' | 'assistant' | 'system' | 'tool';
|
|
7925
|
+
role: 'user' | 'assistant' | 'system' | 'tool' | 'signal';
|
|
5784
7926
|
createdAt?: Date | undefined;
|
|
5785
7927
|
content: {
|
|
5786
7928
|
format?: 2 | undefined;
|
|
@@ -10886,645 +13028,6 @@ export interface PostA2aAgentId_RouteContract {
|
|
|
10886
13028
|
response: PostA2aAgentId_Response;
|
|
10887
13029
|
responseType: 'datastream-response';
|
|
10888
13030
|
}
|
|
10889
|
-
export type GetAgentBuilder_Response = {
|
|
10890
|
-
[key: string]: {
|
|
10891
|
-
steps: {
|
|
10892
|
-
[key: string]: {
|
|
10893
|
-
id: string;
|
|
10894
|
-
description?: string | undefined;
|
|
10895
|
-
stateSchema?: string | undefined;
|
|
10896
|
-
inputSchema?: string | undefined;
|
|
10897
|
-
outputSchema?: string | undefined;
|
|
10898
|
-
resumeSchema?: string | undefined;
|
|
10899
|
-
suspendSchema?: string | undefined;
|
|
10900
|
-
component?: string | undefined;
|
|
10901
|
-
isWorkflow?: boolean | undefined;
|
|
10902
|
-
metadata?: {
|
|
10903
|
-
[key: string]: unknown;
|
|
10904
|
-
} | undefined;
|
|
10905
|
-
};
|
|
10906
|
-
};
|
|
10907
|
-
allSteps: {
|
|
10908
|
-
[key: string]: {
|
|
10909
|
-
id: string;
|
|
10910
|
-
description?: string | undefined;
|
|
10911
|
-
stateSchema?: string | undefined;
|
|
10912
|
-
inputSchema?: string | undefined;
|
|
10913
|
-
outputSchema?: string | undefined;
|
|
10914
|
-
resumeSchema?: string | undefined;
|
|
10915
|
-
suspendSchema?: string | undefined;
|
|
10916
|
-
component?: string | undefined;
|
|
10917
|
-
isWorkflow?: boolean | undefined;
|
|
10918
|
-
metadata?: {
|
|
10919
|
-
[key: string]: unknown;
|
|
10920
|
-
} | undefined;
|
|
10921
|
-
};
|
|
10922
|
-
};
|
|
10923
|
-
name?: string | undefined;
|
|
10924
|
-
description?: string | undefined;
|
|
10925
|
-
stepGraph: {
|
|
10926
|
-
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
10927
|
-
}[];
|
|
10928
|
-
inputSchema?: string | undefined;
|
|
10929
|
-
outputSchema?: string | undefined;
|
|
10930
|
-
stateSchema?: string | undefined;
|
|
10931
|
-
options?: {} | undefined;
|
|
10932
|
-
isProcessorWorkflow?: boolean | undefined;
|
|
10933
|
-
};
|
|
10934
|
-
};
|
|
10935
|
-
export type GetAgentBuilder_Request = Simplify<(never extends never ? {} : {
|
|
10936
|
-
params: never;
|
|
10937
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
10938
|
-
query?: never;
|
|
10939
|
-
} : {
|
|
10940
|
-
query: never;
|
|
10941
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
10942
|
-
body?: never;
|
|
10943
|
-
} : {
|
|
10944
|
-
body: never;
|
|
10945
|
-
})>;
|
|
10946
|
-
export interface GetAgentBuilder_RouteContract {
|
|
10947
|
-
pathParams: never;
|
|
10948
|
-
queryParams: never;
|
|
10949
|
-
body: never;
|
|
10950
|
-
request: GetAgentBuilder_Request;
|
|
10951
|
-
response: GetAgentBuilder_Response;
|
|
10952
|
-
responseType: 'json';
|
|
10953
|
-
}
|
|
10954
|
-
export type GetAgentBuilderActionId_PathParams = {
|
|
10955
|
-
/** Unique identifier for the agent-builder action */
|
|
10956
|
-
actionId: string;
|
|
10957
|
-
};
|
|
10958
|
-
export type GetAgentBuilderActionId_Response = {
|
|
10959
|
-
steps: {
|
|
10960
|
-
[key: string]: {
|
|
10961
|
-
id: string;
|
|
10962
|
-
description?: string | undefined;
|
|
10963
|
-
stateSchema?: string | undefined;
|
|
10964
|
-
inputSchema?: string | undefined;
|
|
10965
|
-
outputSchema?: string | undefined;
|
|
10966
|
-
resumeSchema?: string | undefined;
|
|
10967
|
-
suspendSchema?: string | undefined;
|
|
10968
|
-
component?: string | undefined;
|
|
10969
|
-
isWorkflow?: boolean | undefined;
|
|
10970
|
-
metadata?: {
|
|
10971
|
-
[key: string]: unknown;
|
|
10972
|
-
} | undefined;
|
|
10973
|
-
};
|
|
10974
|
-
};
|
|
10975
|
-
allSteps: {
|
|
10976
|
-
[key: string]: {
|
|
10977
|
-
id: string;
|
|
10978
|
-
description?: string | undefined;
|
|
10979
|
-
stateSchema?: string | undefined;
|
|
10980
|
-
inputSchema?: string | undefined;
|
|
10981
|
-
outputSchema?: string | undefined;
|
|
10982
|
-
resumeSchema?: string | undefined;
|
|
10983
|
-
suspendSchema?: string | undefined;
|
|
10984
|
-
component?: string | undefined;
|
|
10985
|
-
isWorkflow?: boolean | undefined;
|
|
10986
|
-
metadata?: {
|
|
10987
|
-
[key: string]: unknown;
|
|
10988
|
-
} | undefined;
|
|
10989
|
-
};
|
|
10990
|
-
};
|
|
10991
|
-
name?: string | undefined;
|
|
10992
|
-
description?: string | undefined;
|
|
10993
|
-
stepGraph: {
|
|
10994
|
-
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
10995
|
-
}[];
|
|
10996
|
-
inputSchema?: string | undefined;
|
|
10997
|
-
outputSchema?: string | undefined;
|
|
10998
|
-
stateSchema?: string | undefined;
|
|
10999
|
-
options?: {} | undefined;
|
|
11000
|
-
isProcessorWorkflow?: boolean | undefined;
|
|
11001
|
-
};
|
|
11002
|
-
export type GetAgentBuilderActionId_Request = Simplify<(GetAgentBuilderActionId_PathParams extends never ? {} : {
|
|
11003
|
-
params: GetAgentBuilderActionId_PathParams;
|
|
11004
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
11005
|
-
query?: never;
|
|
11006
|
-
} : {
|
|
11007
|
-
query: never;
|
|
11008
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
11009
|
-
body?: never;
|
|
11010
|
-
} : {
|
|
11011
|
-
body: never;
|
|
11012
|
-
})>;
|
|
11013
|
-
export interface GetAgentBuilderActionId_RouteContract {
|
|
11014
|
-
pathParams: GetAgentBuilderActionId_PathParams;
|
|
11015
|
-
queryParams: never;
|
|
11016
|
-
body: never;
|
|
11017
|
-
request: GetAgentBuilderActionId_Request;
|
|
11018
|
-
response: GetAgentBuilderActionId_Response;
|
|
11019
|
-
responseType: 'json';
|
|
11020
|
-
}
|
|
11021
|
-
export type GetAgentBuilderActionIdRuns_PathParams = {
|
|
11022
|
-
/** Unique identifier for the agent-builder action */
|
|
11023
|
-
actionId: string;
|
|
11024
|
-
};
|
|
11025
|
-
export type GetAgentBuilderActionIdRuns_QueryParams = {
|
|
11026
|
-
page?: number | undefined;
|
|
11027
|
-
perPage?: number | undefined;
|
|
11028
|
-
offset?: number | undefined;
|
|
11029
|
-
limit?: number | undefined;
|
|
11030
|
-
fromDate?: Date | undefined;
|
|
11031
|
-
toDate?: Date | undefined;
|
|
11032
|
-
resourceId?: string | undefined;
|
|
11033
|
-
status?: ('running' | 'waiting' | 'suspended' | 'success' | 'failed' | 'canceled' | 'pending' | 'bailed' | 'tripwire' | 'paused') | undefined;
|
|
11034
|
-
};
|
|
11035
|
-
export type GetAgentBuilderActionIdRuns_Response = {
|
|
11036
|
-
runs: {
|
|
11037
|
-
workflowName: string;
|
|
11038
|
-
runId: string;
|
|
11039
|
-
snapshot: {
|
|
11040
|
-
[key: string]: any;
|
|
11041
|
-
} | string;
|
|
11042
|
-
createdAt: Date;
|
|
11043
|
-
updatedAt: Date;
|
|
11044
|
-
resourceId?: string | undefined;
|
|
11045
|
-
}[];
|
|
11046
|
-
total: number;
|
|
11047
|
-
};
|
|
11048
|
-
export type GetAgentBuilderActionIdRuns_Request = Simplify<(GetAgentBuilderActionIdRuns_PathParams extends never ? {} : {
|
|
11049
|
-
params: GetAgentBuilderActionIdRuns_PathParams;
|
|
11050
|
-
}) & (GetAgentBuilderActionIdRuns_QueryParams extends never ? {} : {} extends GetAgentBuilderActionIdRuns_QueryParams ? {
|
|
11051
|
-
query?: GetAgentBuilderActionIdRuns_QueryParams;
|
|
11052
|
-
} : {
|
|
11053
|
-
query: GetAgentBuilderActionIdRuns_QueryParams;
|
|
11054
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
11055
|
-
body?: never;
|
|
11056
|
-
} : {
|
|
11057
|
-
body: never;
|
|
11058
|
-
})>;
|
|
11059
|
-
export interface GetAgentBuilderActionIdRuns_RouteContract {
|
|
11060
|
-
pathParams: GetAgentBuilderActionIdRuns_PathParams;
|
|
11061
|
-
queryParams: GetAgentBuilderActionIdRuns_QueryParams;
|
|
11062
|
-
body: never;
|
|
11063
|
-
request: GetAgentBuilderActionIdRuns_Request;
|
|
11064
|
-
response: GetAgentBuilderActionIdRuns_Response;
|
|
11065
|
-
responseType: 'json';
|
|
11066
|
-
}
|
|
11067
|
-
export type GetAgentBuilderActionIdRunsRunId_PathParams = {
|
|
11068
|
-
/** Unique identifier for the agent-builder action */
|
|
11069
|
-
actionId: string;
|
|
11070
|
-
/** Unique identifier for the action run */
|
|
11071
|
-
runId: string;
|
|
11072
|
-
};
|
|
11073
|
-
export type GetAgentBuilderActionIdRunsRunId_QueryParams = {
|
|
11074
|
-
/** Comma-separated list of fields to return. Available fields: result, error, payload, steps, activeStepsPath, serializedStepGraph. Metadata fields (runId, workflowName, resourceId, createdAt, updatedAt) and status are always included. */
|
|
11075
|
-
fields?: string | undefined;
|
|
11076
|
-
/** Whether to include nested workflow data in steps. Defaults to true. Set to false for better performance. */
|
|
11077
|
-
withNestedWorkflows?: ('true' | 'false') | undefined;
|
|
11078
|
-
};
|
|
11079
|
-
export type GetAgentBuilderActionIdRunsRunId_Response = {
|
|
11080
|
-
runId: string;
|
|
11081
|
-
workflowName: string;
|
|
11082
|
-
resourceId?: string | undefined;
|
|
11083
|
-
createdAt: Date;
|
|
11084
|
-
updatedAt: Date;
|
|
11085
|
-
status: 'running' | 'waiting' | 'suspended' | 'success' | 'failed' | 'canceled' | 'pending' | 'bailed' | 'tripwire' | 'paused';
|
|
11086
|
-
initialState?: {
|
|
11087
|
-
[key: string]: any;
|
|
11088
|
-
} | undefined;
|
|
11089
|
-
result?: unknown | undefined;
|
|
11090
|
-
error?: unknown | undefined;
|
|
11091
|
-
payload?: unknown | undefined;
|
|
11092
|
-
steps?: {
|
|
11093
|
-
[key: string]: any;
|
|
11094
|
-
} | undefined;
|
|
11095
|
-
activeStepsPath?: {
|
|
11096
|
-
[key: string]: number[];
|
|
11097
|
-
} | undefined;
|
|
11098
|
-
serializedStepGraph?: {
|
|
11099
|
-
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
11100
|
-
}[] | undefined;
|
|
11101
|
-
};
|
|
11102
|
-
export type GetAgentBuilderActionIdRunsRunId_Request = Simplify<(GetAgentBuilderActionIdRunsRunId_PathParams extends never ? {} : {
|
|
11103
|
-
params: GetAgentBuilderActionIdRunsRunId_PathParams;
|
|
11104
|
-
}) & (GetAgentBuilderActionIdRunsRunId_QueryParams extends never ? {} : {} extends GetAgentBuilderActionIdRunsRunId_QueryParams ? {
|
|
11105
|
-
query?: GetAgentBuilderActionIdRunsRunId_QueryParams;
|
|
11106
|
-
} : {
|
|
11107
|
-
query: GetAgentBuilderActionIdRunsRunId_QueryParams;
|
|
11108
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
11109
|
-
body?: never;
|
|
11110
|
-
} : {
|
|
11111
|
-
body: never;
|
|
11112
|
-
})>;
|
|
11113
|
-
export interface GetAgentBuilderActionIdRunsRunId_RouteContract {
|
|
11114
|
-
pathParams: GetAgentBuilderActionIdRunsRunId_PathParams;
|
|
11115
|
-
queryParams: GetAgentBuilderActionIdRunsRunId_QueryParams;
|
|
11116
|
-
body: never;
|
|
11117
|
-
request: GetAgentBuilderActionIdRunsRunId_Request;
|
|
11118
|
-
response: GetAgentBuilderActionIdRunsRunId_Response;
|
|
11119
|
-
responseType: 'json';
|
|
11120
|
-
}
|
|
11121
|
-
export type PostAgentBuilderActionIdCreateRun_PathParams = {
|
|
11122
|
-
/** Unique identifier for the agent-builder action */
|
|
11123
|
-
actionId: string;
|
|
11124
|
-
};
|
|
11125
|
-
export type PostAgentBuilderActionIdCreateRun_QueryParams = {
|
|
11126
|
-
runId?: string | undefined;
|
|
11127
|
-
};
|
|
11128
|
-
export type PostAgentBuilderActionIdCreateRun_Response = {
|
|
11129
|
-
runId: string;
|
|
11130
|
-
};
|
|
11131
|
-
export type PostAgentBuilderActionIdCreateRun_Request = Simplify<(PostAgentBuilderActionIdCreateRun_PathParams extends never ? {} : {
|
|
11132
|
-
params: PostAgentBuilderActionIdCreateRun_PathParams;
|
|
11133
|
-
}) & (PostAgentBuilderActionIdCreateRun_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdCreateRun_QueryParams ? {
|
|
11134
|
-
query?: PostAgentBuilderActionIdCreateRun_QueryParams;
|
|
11135
|
-
} : {
|
|
11136
|
-
query: PostAgentBuilderActionIdCreateRun_QueryParams;
|
|
11137
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
11138
|
-
body?: never;
|
|
11139
|
-
} : {
|
|
11140
|
-
body: never;
|
|
11141
|
-
})>;
|
|
11142
|
-
export interface PostAgentBuilderActionIdCreateRun_RouteContract {
|
|
11143
|
-
pathParams: PostAgentBuilderActionIdCreateRun_PathParams;
|
|
11144
|
-
queryParams: PostAgentBuilderActionIdCreateRun_QueryParams;
|
|
11145
|
-
body: never;
|
|
11146
|
-
request: PostAgentBuilderActionIdCreateRun_Request;
|
|
11147
|
-
response: PostAgentBuilderActionIdCreateRun_Response;
|
|
11148
|
-
responseType: 'json';
|
|
11149
|
-
}
|
|
11150
|
-
export type PostAgentBuilderActionIdStream_PathParams = {
|
|
11151
|
-
/** Unique identifier for the agent-builder action */
|
|
11152
|
-
actionId: string;
|
|
11153
|
-
};
|
|
11154
|
-
export type PostAgentBuilderActionIdStream_QueryParams = {
|
|
11155
|
-
/** Unique identifier for the run */
|
|
11156
|
-
runId: string;
|
|
11157
|
-
};
|
|
11158
|
-
export type PostAgentBuilderActionIdStream_Body = {
|
|
11159
|
-
resourceId?: string | undefined;
|
|
11160
|
-
inputData?: unknown | undefined;
|
|
11161
|
-
initialState?: unknown | undefined;
|
|
11162
|
-
requestContext?: {
|
|
11163
|
-
[key: string]: unknown;
|
|
11164
|
-
} | undefined;
|
|
11165
|
-
tracingOptions?: {
|
|
11166
|
-
metadata?: {
|
|
11167
|
-
[key: string]: unknown;
|
|
11168
|
-
} | undefined;
|
|
11169
|
-
requestContextKeys?: string[] | undefined;
|
|
11170
|
-
traceId?: string | undefined;
|
|
11171
|
-
parentSpanId?: string | undefined;
|
|
11172
|
-
tags?: string[] | undefined;
|
|
11173
|
-
hideInput?: boolean | undefined;
|
|
11174
|
-
hideOutput?: boolean | undefined;
|
|
11175
|
-
} | undefined;
|
|
11176
|
-
perStep?: boolean | undefined;
|
|
11177
|
-
closeOnSuspend?: boolean | undefined;
|
|
11178
|
-
};
|
|
11179
|
-
export type PostAgentBuilderActionIdStream_Response = any;
|
|
11180
|
-
export type PostAgentBuilderActionIdStream_Request = Simplify<(PostAgentBuilderActionIdStream_PathParams extends never ? {} : {
|
|
11181
|
-
params: PostAgentBuilderActionIdStream_PathParams;
|
|
11182
|
-
}) & (PostAgentBuilderActionIdStream_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdStream_QueryParams ? {
|
|
11183
|
-
query?: PostAgentBuilderActionIdStream_QueryParams;
|
|
11184
|
-
} : {
|
|
11185
|
-
query: PostAgentBuilderActionIdStream_QueryParams;
|
|
11186
|
-
}) & (PostAgentBuilderActionIdStream_Body extends never ? {} : {} extends PostAgentBuilderActionIdStream_Body ? {
|
|
11187
|
-
body?: PostAgentBuilderActionIdStream_Body;
|
|
11188
|
-
} : {
|
|
11189
|
-
body: PostAgentBuilderActionIdStream_Body;
|
|
11190
|
-
})>;
|
|
11191
|
-
export interface PostAgentBuilderActionIdStream_RouteContract {
|
|
11192
|
-
pathParams: PostAgentBuilderActionIdStream_PathParams;
|
|
11193
|
-
queryParams: PostAgentBuilderActionIdStream_QueryParams;
|
|
11194
|
-
body: PostAgentBuilderActionIdStream_Body;
|
|
11195
|
-
request: PostAgentBuilderActionIdStream_Request;
|
|
11196
|
-
response: PostAgentBuilderActionIdStream_Response;
|
|
11197
|
-
responseType: 'stream';
|
|
11198
|
-
}
|
|
11199
|
-
export type PostAgentBuilderActionIdStartAsync_PathParams = {
|
|
11200
|
-
/** Unique identifier for the agent-builder action */
|
|
11201
|
-
actionId: string;
|
|
11202
|
-
};
|
|
11203
|
-
export type PostAgentBuilderActionIdStartAsync_QueryParams = {
|
|
11204
|
-
runId?: string | undefined;
|
|
11205
|
-
};
|
|
11206
|
-
export type PostAgentBuilderActionIdStartAsync_Body = {
|
|
11207
|
-
resourceId?: string | undefined;
|
|
11208
|
-
inputData?: unknown | undefined;
|
|
11209
|
-
initialState?: unknown | undefined;
|
|
11210
|
-
requestContext?: {
|
|
11211
|
-
[key: string]: unknown;
|
|
11212
|
-
} | undefined;
|
|
11213
|
-
tracingOptions?: {
|
|
11214
|
-
metadata?: {
|
|
11215
|
-
[key: string]: unknown;
|
|
11216
|
-
} | undefined;
|
|
11217
|
-
requestContextKeys?: string[] | undefined;
|
|
11218
|
-
traceId?: string | undefined;
|
|
11219
|
-
parentSpanId?: string | undefined;
|
|
11220
|
-
tags?: string[] | undefined;
|
|
11221
|
-
hideInput?: boolean | undefined;
|
|
11222
|
-
hideOutput?: boolean | undefined;
|
|
11223
|
-
} | undefined;
|
|
11224
|
-
perStep?: boolean | undefined;
|
|
11225
|
-
};
|
|
11226
|
-
export type PostAgentBuilderActionIdStartAsync_Response = {
|
|
11227
|
-
status?: ('running' | 'waiting' | 'suspended' | 'success' | 'failed' | 'canceled' | 'pending' | 'bailed' | 'tripwire' | 'paused') | undefined;
|
|
11228
|
-
result?: unknown | undefined;
|
|
11229
|
-
error?: unknown | undefined;
|
|
11230
|
-
payload?: unknown | undefined;
|
|
11231
|
-
initialState?: unknown | undefined;
|
|
11232
|
-
steps?: {
|
|
11233
|
-
[key: string]: any;
|
|
11234
|
-
} | undefined;
|
|
11235
|
-
activeStepsPath?: {
|
|
11236
|
-
[key: string]: number[];
|
|
11237
|
-
} | undefined;
|
|
11238
|
-
serializedStepGraph?: {
|
|
11239
|
-
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
11240
|
-
}[] | undefined;
|
|
11241
|
-
};
|
|
11242
|
-
export type PostAgentBuilderActionIdStartAsync_Request = Simplify<(PostAgentBuilderActionIdStartAsync_PathParams extends never ? {} : {
|
|
11243
|
-
params: PostAgentBuilderActionIdStartAsync_PathParams;
|
|
11244
|
-
}) & (PostAgentBuilderActionIdStartAsync_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdStartAsync_QueryParams ? {
|
|
11245
|
-
query?: PostAgentBuilderActionIdStartAsync_QueryParams;
|
|
11246
|
-
} : {
|
|
11247
|
-
query: PostAgentBuilderActionIdStartAsync_QueryParams;
|
|
11248
|
-
}) & (PostAgentBuilderActionIdStartAsync_Body extends never ? {} : {} extends PostAgentBuilderActionIdStartAsync_Body ? {
|
|
11249
|
-
body?: PostAgentBuilderActionIdStartAsync_Body;
|
|
11250
|
-
} : {
|
|
11251
|
-
body: PostAgentBuilderActionIdStartAsync_Body;
|
|
11252
|
-
})>;
|
|
11253
|
-
export interface PostAgentBuilderActionIdStartAsync_RouteContract {
|
|
11254
|
-
pathParams: PostAgentBuilderActionIdStartAsync_PathParams;
|
|
11255
|
-
queryParams: PostAgentBuilderActionIdStartAsync_QueryParams;
|
|
11256
|
-
body: PostAgentBuilderActionIdStartAsync_Body;
|
|
11257
|
-
request: PostAgentBuilderActionIdStartAsync_Request;
|
|
11258
|
-
response: PostAgentBuilderActionIdStartAsync_Response;
|
|
11259
|
-
responseType: 'json';
|
|
11260
|
-
}
|
|
11261
|
-
export type PostAgentBuilderActionIdStart_PathParams = {
|
|
11262
|
-
/** Unique identifier for the agent-builder action */
|
|
11263
|
-
actionId: string;
|
|
11264
|
-
};
|
|
11265
|
-
export type PostAgentBuilderActionIdStart_QueryParams = {
|
|
11266
|
-
/** Unique identifier for the run */
|
|
11267
|
-
runId: string;
|
|
11268
|
-
};
|
|
11269
|
-
export type PostAgentBuilderActionIdStart_Body = {
|
|
11270
|
-
resourceId?: string | undefined;
|
|
11271
|
-
inputData?: unknown | undefined;
|
|
11272
|
-
initialState?: unknown | undefined;
|
|
11273
|
-
requestContext?: {
|
|
11274
|
-
[key: string]: unknown;
|
|
11275
|
-
} | undefined;
|
|
11276
|
-
tracingOptions?: {
|
|
11277
|
-
metadata?: {
|
|
11278
|
-
[key: string]: unknown;
|
|
11279
|
-
} | undefined;
|
|
11280
|
-
requestContextKeys?: string[] | undefined;
|
|
11281
|
-
traceId?: string | undefined;
|
|
11282
|
-
parentSpanId?: string | undefined;
|
|
11283
|
-
tags?: string[] | undefined;
|
|
11284
|
-
hideInput?: boolean | undefined;
|
|
11285
|
-
hideOutput?: boolean | undefined;
|
|
11286
|
-
} | undefined;
|
|
11287
|
-
perStep?: boolean | undefined;
|
|
11288
|
-
};
|
|
11289
|
-
export type PostAgentBuilderActionIdStart_Response = {
|
|
11290
|
-
message: string;
|
|
11291
|
-
};
|
|
11292
|
-
export type PostAgentBuilderActionIdStart_Request = Simplify<(PostAgentBuilderActionIdStart_PathParams extends never ? {} : {
|
|
11293
|
-
params: PostAgentBuilderActionIdStart_PathParams;
|
|
11294
|
-
}) & (PostAgentBuilderActionIdStart_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdStart_QueryParams ? {
|
|
11295
|
-
query?: PostAgentBuilderActionIdStart_QueryParams;
|
|
11296
|
-
} : {
|
|
11297
|
-
query: PostAgentBuilderActionIdStart_QueryParams;
|
|
11298
|
-
}) & (PostAgentBuilderActionIdStart_Body extends never ? {} : {} extends PostAgentBuilderActionIdStart_Body ? {
|
|
11299
|
-
body?: PostAgentBuilderActionIdStart_Body;
|
|
11300
|
-
} : {
|
|
11301
|
-
body: PostAgentBuilderActionIdStart_Body;
|
|
11302
|
-
})>;
|
|
11303
|
-
export interface PostAgentBuilderActionIdStart_RouteContract {
|
|
11304
|
-
pathParams: PostAgentBuilderActionIdStart_PathParams;
|
|
11305
|
-
queryParams: PostAgentBuilderActionIdStart_QueryParams;
|
|
11306
|
-
body: PostAgentBuilderActionIdStart_Body;
|
|
11307
|
-
request: PostAgentBuilderActionIdStart_Request;
|
|
11308
|
-
response: PostAgentBuilderActionIdStart_Response;
|
|
11309
|
-
responseType: 'json';
|
|
11310
|
-
}
|
|
11311
|
-
export type PostAgentBuilderActionIdObserve_PathParams = {
|
|
11312
|
-
/** Unique identifier for the agent-builder action */
|
|
11313
|
-
actionId: string;
|
|
11314
|
-
};
|
|
11315
|
-
export type PostAgentBuilderActionIdObserve_QueryParams = {
|
|
11316
|
-
/** Unique identifier for the run */
|
|
11317
|
-
runId: string;
|
|
11318
|
-
};
|
|
11319
|
-
export type PostAgentBuilderActionIdObserve_Response = any;
|
|
11320
|
-
export type PostAgentBuilderActionIdObserve_Request = Simplify<(PostAgentBuilderActionIdObserve_PathParams extends never ? {} : {
|
|
11321
|
-
params: PostAgentBuilderActionIdObserve_PathParams;
|
|
11322
|
-
}) & (PostAgentBuilderActionIdObserve_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdObserve_QueryParams ? {
|
|
11323
|
-
query?: PostAgentBuilderActionIdObserve_QueryParams;
|
|
11324
|
-
} : {
|
|
11325
|
-
query: PostAgentBuilderActionIdObserve_QueryParams;
|
|
11326
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
11327
|
-
body?: never;
|
|
11328
|
-
} : {
|
|
11329
|
-
body: never;
|
|
11330
|
-
})>;
|
|
11331
|
-
export interface PostAgentBuilderActionIdObserve_RouteContract {
|
|
11332
|
-
pathParams: PostAgentBuilderActionIdObserve_PathParams;
|
|
11333
|
-
queryParams: PostAgentBuilderActionIdObserve_QueryParams;
|
|
11334
|
-
body: never;
|
|
11335
|
-
request: PostAgentBuilderActionIdObserve_Request;
|
|
11336
|
-
response: PostAgentBuilderActionIdObserve_Response;
|
|
11337
|
-
responseType: 'stream';
|
|
11338
|
-
}
|
|
11339
|
-
export type PostAgentBuilderActionIdResumeAsync_PathParams = {
|
|
11340
|
-
/** Unique identifier for the agent-builder action */
|
|
11341
|
-
actionId: string;
|
|
11342
|
-
};
|
|
11343
|
-
export type PostAgentBuilderActionIdResumeAsync_QueryParams = {
|
|
11344
|
-
/** Unique identifier for the run */
|
|
11345
|
-
runId: string;
|
|
11346
|
-
};
|
|
11347
|
-
export type PostAgentBuilderActionIdResumeAsync_Body = {
|
|
11348
|
-
step?: (string | string[]) | undefined;
|
|
11349
|
-
resumeData?: unknown | undefined;
|
|
11350
|
-
requestContext?: {
|
|
11351
|
-
[key: string]: unknown;
|
|
11352
|
-
} | undefined;
|
|
11353
|
-
tracingOptions?: {
|
|
11354
|
-
metadata?: {
|
|
11355
|
-
[key: string]: unknown;
|
|
11356
|
-
} | undefined;
|
|
11357
|
-
requestContextKeys?: string[] | undefined;
|
|
11358
|
-
traceId?: string | undefined;
|
|
11359
|
-
parentSpanId?: string | undefined;
|
|
11360
|
-
tags?: string[] | undefined;
|
|
11361
|
-
hideInput?: boolean | undefined;
|
|
11362
|
-
hideOutput?: boolean | undefined;
|
|
11363
|
-
} | undefined;
|
|
11364
|
-
perStep?: boolean | undefined;
|
|
11365
|
-
forEachIndex?: number | undefined;
|
|
11366
|
-
};
|
|
11367
|
-
export type PostAgentBuilderActionIdResumeAsync_Response = {
|
|
11368
|
-
status?: ('running' | 'waiting' | 'suspended' | 'success' | 'failed' | 'canceled' | 'pending' | 'bailed' | 'tripwire' | 'paused') | undefined;
|
|
11369
|
-
result?: unknown | undefined;
|
|
11370
|
-
error?: unknown | undefined;
|
|
11371
|
-
payload?: unknown | undefined;
|
|
11372
|
-
initialState?: unknown | undefined;
|
|
11373
|
-
steps?: {
|
|
11374
|
-
[key: string]: any;
|
|
11375
|
-
} | undefined;
|
|
11376
|
-
activeStepsPath?: {
|
|
11377
|
-
[key: string]: number[];
|
|
11378
|
-
} | undefined;
|
|
11379
|
-
serializedStepGraph?: {
|
|
11380
|
-
type: 'step' | 'sleep' | 'sleepUntil' | 'waitForEvent' | 'parallel' | 'conditional' | 'loop' | 'foreach';
|
|
11381
|
-
}[] | undefined;
|
|
11382
|
-
};
|
|
11383
|
-
export type PostAgentBuilderActionIdResumeAsync_Request = Simplify<(PostAgentBuilderActionIdResumeAsync_PathParams extends never ? {} : {
|
|
11384
|
-
params: PostAgentBuilderActionIdResumeAsync_PathParams;
|
|
11385
|
-
}) & (PostAgentBuilderActionIdResumeAsync_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdResumeAsync_QueryParams ? {
|
|
11386
|
-
query?: PostAgentBuilderActionIdResumeAsync_QueryParams;
|
|
11387
|
-
} : {
|
|
11388
|
-
query: PostAgentBuilderActionIdResumeAsync_QueryParams;
|
|
11389
|
-
}) & (PostAgentBuilderActionIdResumeAsync_Body extends never ? {} : {} extends PostAgentBuilderActionIdResumeAsync_Body ? {
|
|
11390
|
-
body?: PostAgentBuilderActionIdResumeAsync_Body;
|
|
11391
|
-
} : {
|
|
11392
|
-
body: PostAgentBuilderActionIdResumeAsync_Body;
|
|
11393
|
-
})>;
|
|
11394
|
-
export interface PostAgentBuilderActionIdResumeAsync_RouteContract {
|
|
11395
|
-
pathParams: PostAgentBuilderActionIdResumeAsync_PathParams;
|
|
11396
|
-
queryParams: PostAgentBuilderActionIdResumeAsync_QueryParams;
|
|
11397
|
-
body: PostAgentBuilderActionIdResumeAsync_Body;
|
|
11398
|
-
request: PostAgentBuilderActionIdResumeAsync_Request;
|
|
11399
|
-
response: PostAgentBuilderActionIdResumeAsync_Response;
|
|
11400
|
-
responseType: 'json';
|
|
11401
|
-
}
|
|
11402
|
-
export type PostAgentBuilderActionIdResume_PathParams = {
|
|
11403
|
-
/** Unique identifier for the agent-builder action */
|
|
11404
|
-
actionId: string;
|
|
11405
|
-
};
|
|
11406
|
-
export type PostAgentBuilderActionIdResume_QueryParams = {
|
|
11407
|
-
/** Unique identifier for the run */
|
|
11408
|
-
runId: string;
|
|
11409
|
-
};
|
|
11410
|
-
export type PostAgentBuilderActionIdResume_Body = {
|
|
11411
|
-
step?: (string | string[]) | undefined;
|
|
11412
|
-
resumeData?: unknown | undefined;
|
|
11413
|
-
requestContext?: {
|
|
11414
|
-
[key: string]: unknown;
|
|
11415
|
-
} | undefined;
|
|
11416
|
-
tracingOptions?: {
|
|
11417
|
-
metadata?: {
|
|
11418
|
-
[key: string]: unknown;
|
|
11419
|
-
} | undefined;
|
|
11420
|
-
requestContextKeys?: string[] | undefined;
|
|
11421
|
-
traceId?: string | undefined;
|
|
11422
|
-
parentSpanId?: string | undefined;
|
|
11423
|
-
tags?: string[] | undefined;
|
|
11424
|
-
hideInput?: boolean | undefined;
|
|
11425
|
-
hideOutput?: boolean | undefined;
|
|
11426
|
-
} | undefined;
|
|
11427
|
-
perStep?: boolean | undefined;
|
|
11428
|
-
forEachIndex?: number | undefined;
|
|
11429
|
-
};
|
|
11430
|
-
export type PostAgentBuilderActionIdResume_Response = {
|
|
11431
|
-
message: string;
|
|
11432
|
-
};
|
|
11433
|
-
export type PostAgentBuilderActionIdResume_Request = Simplify<(PostAgentBuilderActionIdResume_PathParams extends never ? {} : {
|
|
11434
|
-
params: PostAgentBuilderActionIdResume_PathParams;
|
|
11435
|
-
}) & (PostAgentBuilderActionIdResume_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdResume_QueryParams ? {
|
|
11436
|
-
query?: PostAgentBuilderActionIdResume_QueryParams;
|
|
11437
|
-
} : {
|
|
11438
|
-
query: PostAgentBuilderActionIdResume_QueryParams;
|
|
11439
|
-
}) & (PostAgentBuilderActionIdResume_Body extends never ? {} : {} extends PostAgentBuilderActionIdResume_Body ? {
|
|
11440
|
-
body?: PostAgentBuilderActionIdResume_Body;
|
|
11441
|
-
} : {
|
|
11442
|
-
body: PostAgentBuilderActionIdResume_Body;
|
|
11443
|
-
})>;
|
|
11444
|
-
export interface PostAgentBuilderActionIdResume_RouteContract {
|
|
11445
|
-
pathParams: PostAgentBuilderActionIdResume_PathParams;
|
|
11446
|
-
queryParams: PostAgentBuilderActionIdResume_QueryParams;
|
|
11447
|
-
body: PostAgentBuilderActionIdResume_Body;
|
|
11448
|
-
request: PostAgentBuilderActionIdResume_Request;
|
|
11449
|
-
response: PostAgentBuilderActionIdResume_Response;
|
|
11450
|
-
responseType: 'json';
|
|
11451
|
-
}
|
|
11452
|
-
export type PostAgentBuilderActionIdResumeStream_PathParams = {
|
|
11453
|
-
/** Unique identifier for the agent-builder action */
|
|
11454
|
-
actionId: string;
|
|
11455
|
-
};
|
|
11456
|
-
export type PostAgentBuilderActionIdResumeStream_QueryParams = {
|
|
11457
|
-
/** Unique identifier for the run */
|
|
11458
|
-
runId: string;
|
|
11459
|
-
};
|
|
11460
|
-
export type PostAgentBuilderActionIdResumeStream_Body = {
|
|
11461
|
-
step?: (string | string[]) | undefined;
|
|
11462
|
-
resumeData?: unknown | undefined;
|
|
11463
|
-
requestContext?: {
|
|
11464
|
-
[key: string]: unknown;
|
|
11465
|
-
} | undefined;
|
|
11466
|
-
tracingOptions?: {
|
|
11467
|
-
metadata?: {
|
|
11468
|
-
[key: string]: unknown;
|
|
11469
|
-
} | undefined;
|
|
11470
|
-
requestContextKeys?: string[] | undefined;
|
|
11471
|
-
traceId?: string | undefined;
|
|
11472
|
-
parentSpanId?: string | undefined;
|
|
11473
|
-
tags?: string[] | undefined;
|
|
11474
|
-
hideInput?: boolean | undefined;
|
|
11475
|
-
hideOutput?: boolean | undefined;
|
|
11476
|
-
} | undefined;
|
|
11477
|
-
perStep?: boolean | undefined;
|
|
11478
|
-
forEachIndex?: number | undefined;
|
|
11479
|
-
};
|
|
11480
|
-
export type PostAgentBuilderActionIdResumeStream_Response = any;
|
|
11481
|
-
export type PostAgentBuilderActionIdResumeStream_Request = Simplify<(PostAgentBuilderActionIdResumeStream_PathParams extends never ? {} : {
|
|
11482
|
-
params: PostAgentBuilderActionIdResumeStream_PathParams;
|
|
11483
|
-
}) & (PostAgentBuilderActionIdResumeStream_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdResumeStream_QueryParams ? {
|
|
11484
|
-
query?: PostAgentBuilderActionIdResumeStream_QueryParams;
|
|
11485
|
-
} : {
|
|
11486
|
-
query: PostAgentBuilderActionIdResumeStream_QueryParams;
|
|
11487
|
-
}) & (PostAgentBuilderActionIdResumeStream_Body extends never ? {} : {} extends PostAgentBuilderActionIdResumeStream_Body ? {
|
|
11488
|
-
body?: PostAgentBuilderActionIdResumeStream_Body;
|
|
11489
|
-
} : {
|
|
11490
|
-
body: PostAgentBuilderActionIdResumeStream_Body;
|
|
11491
|
-
})>;
|
|
11492
|
-
export interface PostAgentBuilderActionIdResumeStream_RouteContract {
|
|
11493
|
-
pathParams: PostAgentBuilderActionIdResumeStream_PathParams;
|
|
11494
|
-
queryParams: PostAgentBuilderActionIdResumeStream_QueryParams;
|
|
11495
|
-
body: PostAgentBuilderActionIdResumeStream_Body;
|
|
11496
|
-
request: PostAgentBuilderActionIdResumeStream_Request;
|
|
11497
|
-
response: PostAgentBuilderActionIdResumeStream_Response;
|
|
11498
|
-
responseType: 'stream';
|
|
11499
|
-
}
|
|
11500
|
-
export type PostAgentBuilderActionIdRunsRunIdCancel_PathParams = {
|
|
11501
|
-
/** Unique identifier for the agent-builder action */
|
|
11502
|
-
actionId: string;
|
|
11503
|
-
/** Unique identifier for the action run */
|
|
11504
|
-
runId: string;
|
|
11505
|
-
};
|
|
11506
|
-
export type PostAgentBuilderActionIdRunsRunIdCancel_Response = {
|
|
11507
|
-
message: string;
|
|
11508
|
-
};
|
|
11509
|
-
export type PostAgentBuilderActionIdRunsRunIdCancel_Request = Simplify<(PostAgentBuilderActionIdRunsRunIdCancel_PathParams extends never ? {} : {
|
|
11510
|
-
params: PostAgentBuilderActionIdRunsRunIdCancel_PathParams;
|
|
11511
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
11512
|
-
query?: never;
|
|
11513
|
-
} : {
|
|
11514
|
-
query: never;
|
|
11515
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
11516
|
-
body?: never;
|
|
11517
|
-
} : {
|
|
11518
|
-
body: never;
|
|
11519
|
-
})>;
|
|
11520
|
-
export interface PostAgentBuilderActionIdRunsRunIdCancel_RouteContract {
|
|
11521
|
-
pathParams: PostAgentBuilderActionIdRunsRunIdCancel_PathParams;
|
|
11522
|
-
queryParams: never;
|
|
11523
|
-
body: never;
|
|
11524
|
-
request: PostAgentBuilderActionIdRunsRunIdCancel_Request;
|
|
11525
|
-
response: PostAgentBuilderActionIdRunsRunIdCancel_Response;
|
|
11526
|
-
responseType: 'json';
|
|
11527
|
-
}
|
|
11528
13031
|
export type GetWorkspaces_Response = {
|
|
11529
13032
|
workspaces: {
|
|
11530
13033
|
id: string;
|
|
@@ -12694,82 +14197,6 @@ export interface PostWorkflowsWorkflowIdObserveStreamLegacy_RouteContract {
|
|
|
12694
14197
|
response: PostWorkflowsWorkflowIdObserveStreamLegacy_Response;
|
|
12695
14198
|
responseType: 'stream';
|
|
12696
14199
|
}
|
|
12697
|
-
export type PostAgentBuilderActionIdStreamLegacy_PathParams = {
|
|
12698
|
-
/** Unique identifier for the agent-builder action */
|
|
12699
|
-
actionId: string;
|
|
12700
|
-
};
|
|
12701
|
-
export type PostAgentBuilderActionIdStreamLegacy_QueryParams = {
|
|
12702
|
-
/** Unique identifier for the run */
|
|
12703
|
-
runId: string;
|
|
12704
|
-
};
|
|
12705
|
-
export type PostAgentBuilderActionIdStreamLegacy_Body = {
|
|
12706
|
-
resourceId?: string | undefined;
|
|
12707
|
-
inputData?: unknown | undefined;
|
|
12708
|
-
initialState?: unknown | undefined;
|
|
12709
|
-
requestContext?: {
|
|
12710
|
-
[key: string]: unknown;
|
|
12711
|
-
} | undefined;
|
|
12712
|
-
tracingOptions?: {
|
|
12713
|
-
metadata?: {
|
|
12714
|
-
[key: string]: unknown;
|
|
12715
|
-
} | undefined;
|
|
12716
|
-
requestContextKeys?: string[] | undefined;
|
|
12717
|
-
traceId?: string | undefined;
|
|
12718
|
-
parentSpanId?: string | undefined;
|
|
12719
|
-
tags?: string[] | undefined;
|
|
12720
|
-
hideInput?: boolean | undefined;
|
|
12721
|
-
hideOutput?: boolean | undefined;
|
|
12722
|
-
} | undefined;
|
|
12723
|
-
perStep?: boolean | undefined;
|
|
12724
|
-
};
|
|
12725
|
-
export type PostAgentBuilderActionIdStreamLegacy_Response = any;
|
|
12726
|
-
export type PostAgentBuilderActionIdStreamLegacy_Request = Simplify<(PostAgentBuilderActionIdStreamLegacy_PathParams extends never ? {} : {
|
|
12727
|
-
params: PostAgentBuilderActionIdStreamLegacy_PathParams;
|
|
12728
|
-
}) & (PostAgentBuilderActionIdStreamLegacy_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdStreamLegacy_QueryParams ? {
|
|
12729
|
-
query?: PostAgentBuilderActionIdStreamLegacy_QueryParams;
|
|
12730
|
-
} : {
|
|
12731
|
-
query: PostAgentBuilderActionIdStreamLegacy_QueryParams;
|
|
12732
|
-
}) & (PostAgentBuilderActionIdStreamLegacy_Body extends never ? {} : {} extends PostAgentBuilderActionIdStreamLegacy_Body ? {
|
|
12733
|
-
body?: PostAgentBuilderActionIdStreamLegacy_Body;
|
|
12734
|
-
} : {
|
|
12735
|
-
body: PostAgentBuilderActionIdStreamLegacy_Body;
|
|
12736
|
-
})>;
|
|
12737
|
-
export interface PostAgentBuilderActionIdStreamLegacy_RouteContract {
|
|
12738
|
-
pathParams: PostAgentBuilderActionIdStreamLegacy_PathParams;
|
|
12739
|
-
queryParams: PostAgentBuilderActionIdStreamLegacy_QueryParams;
|
|
12740
|
-
body: PostAgentBuilderActionIdStreamLegacy_Body;
|
|
12741
|
-
request: PostAgentBuilderActionIdStreamLegacy_Request;
|
|
12742
|
-
response: PostAgentBuilderActionIdStreamLegacy_Response;
|
|
12743
|
-
responseType: 'stream';
|
|
12744
|
-
}
|
|
12745
|
-
export type PostAgentBuilderActionIdObserveStreamLegacy_PathParams = {
|
|
12746
|
-
/** Unique identifier for the agent-builder action */
|
|
12747
|
-
actionId: string;
|
|
12748
|
-
};
|
|
12749
|
-
export type PostAgentBuilderActionIdObserveStreamLegacy_QueryParams = {
|
|
12750
|
-
/** Unique identifier for the run */
|
|
12751
|
-
runId: string;
|
|
12752
|
-
};
|
|
12753
|
-
export type PostAgentBuilderActionIdObserveStreamLegacy_Response = any;
|
|
12754
|
-
export type PostAgentBuilderActionIdObserveStreamLegacy_Request = Simplify<(PostAgentBuilderActionIdObserveStreamLegacy_PathParams extends never ? {} : {
|
|
12755
|
-
params: PostAgentBuilderActionIdObserveStreamLegacy_PathParams;
|
|
12756
|
-
}) & (PostAgentBuilderActionIdObserveStreamLegacy_QueryParams extends never ? {} : {} extends PostAgentBuilderActionIdObserveStreamLegacy_QueryParams ? {
|
|
12757
|
-
query?: PostAgentBuilderActionIdObserveStreamLegacy_QueryParams;
|
|
12758
|
-
} : {
|
|
12759
|
-
query: PostAgentBuilderActionIdObserveStreamLegacy_QueryParams;
|
|
12760
|
-
}) & (never extends never ? {} : {} extends never ? {
|
|
12761
|
-
body?: never;
|
|
12762
|
-
} : {
|
|
12763
|
-
body: never;
|
|
12764
|
-
})>;
|
|
12765
|
-
export interface PostAgentBuilderActionIdObserveStreamLegacy_RouteContract {
|
|
12766
|
-
pathParams: PostAgentBuilderActionIdObserveStreamLegacy_PathParams;
|
|
12767
|
-
queryParams: PostAgentBuilderActionIdObserveStreamLegacy_QueryParams;
|
|
12768
|
-
body: never;
|
|
12769
|
-
request: PostAgentBuilderActionIdObserveStreamLegacy_Request;
|
|
12770
|
-
response: PostAgentBuilderActionIdObserveStreamLegacy_Response;
|
|
12771
|
-
responseType: 'stream';
|
|
12772
|
-
}
|
|
12773
14200
|
export type GetMcpV0Servers_QueryParams = {
|
|
12774
14201
|
page?: number | undefined;
|
|
12775
14202
|
perPage?: number | undefined;
|
|
@@ -41741,6 +43168,8 @@ export interface RouteTypes {
|
|
|
41741
43168
|
'POST /agents/:agentId/stream-until-idle': PostAgentsAgentIdStreamUntilIdle_RouteContract;
|
|
41742
43169
|
'POST /agents/:agentId/stream/vnext': PostAgentsAgentIdStreamVnext_RouteContract;
|
|
41743
43170
|
'POST /agents/:agentId/observe': PostAgentsAgentIdObserve_RouteContract;
|
|
43171
|
+
'POST /agents/:agentId/signals': PostAgentsAgentIdSignals_RouteContract;
|
|
43172
|
+
'POST /agents/:agentId/threads/subscribe': PostAgentsAgentIdThreadsSubscribe_RouteContract;
|
|
41744
43173
|
'POST /agents/:agentId/tools/:toolId/execute': PostAgentsAgentIdToolsToolIdExecute_RouteContract;
|
|
41745
43174
|
'POST /agents/:agentId/approve-tool-call': PostAgentsAgentIdApproveToolCall_RouteContract;
|
|
41746
43175
|
'POST /agents/:agentId/decline-tool-call': PostAgentsAgentIdDeclineToolCall_RouteContract;
|
|
@@ -41889,19 +43318,6 @@ export interface RouteTypes {
|
|
|
41889
43318
|
'GET /embedders': GetEmbedders_RouteContract;
|
|
41890
43319
|
'GET /.well-known/:agentId/agent-card.json': GetWellKnownAgentIdAgentCardJson_RouteContract;
|
|
41891
43320
|
'POST /a2a/:agentId': PostA2aAgentId_RouteContract;
|
|
41892
|
-
'GET /agent-builder': GetAgentBuilder_RouteContract;
|
|
41893
|
-
'GET /agent-builder/:actionId': GetAgentBuilderActionId_RouteContract;
|
|
41894
|
-
'GET /agent-builder/:actionId/runs': GetAgentBuilderActionIdRuns_RouteContract;
|
|
41895
|
-
'GET /agent-builder/:actionId/runs/:runId': GetAgentBuilderActionIdRunsRunId_RouteContract;
|
|
41896
|
-
'POST /agent-builder/:actionId/create-run': PostAgentBuilderActionIdCreateRun_RouteContract;
|
|
41897
|
-
'POST /agent-builder/:actionId/stream': PostAgentBuilderActionIdStream_RouteContract;
|
|
41898
|
-
'POST /agent-builder/:actionId/start-async': PostAgentBuilderActionIdStartAsync_RouteContract;
|
|
41899
|
-
'POST /agent-builder/:actionId/start': PostAgentBuilderActionIdStart_RouteContract;
|
|
41900
|
-
'POST /agent-builder/:actionId/observe': PostAgentBuilderActionIdObserve_RouteContract;
|
|
41901
|
-
'POST /agent-builder/:actionId/resume-async': PostAgentBuilderActionIdResumeAsync_RouteContract;
|
|
41902
|
-
'POST /agent-builder/:actionId/resume': PostAgentBuilderActionIdResume_RouteContract;
|
|
41903
|
-
'POST /agent-builder/:actionId/resume-stream': PostAgentBuilderActionIdResumeStream_RouteContract;
|
|
41904
|
-
'POST /agent-builder/:actionId/runs/:runId/cancel': PostAgentBuilderActionIdRunsRunIdCancel_RouteContract;
|
|
41905
43321
|
'GET /workspaces': GetWorkspaces_RouteContract;
|
|
41906
43322
|
'GET /workspaces/:workspaceId': GetWorkspacesWorkspaceId_RouteContract;
|
|
41907
43323
|
'GET /workspaces/:workspaceId/fs/read': GetWorkspacesWorkspaceIdFsRead_RouteContract;
|
|
@@ -41927,8 +43343,6 @@ export interface RouteTypes {
|
|
|
41927
43343
|
'POST /agents/:agentId/stream-legacy': PostAgentsAgentIdStreamLegacy_RouteContract;
|
|
41928
43344
|
'POST /workflows/:workflowId/stream-legacy': PostWorkflowsWorkflowIdStreamLegacy_RouteContract;
|
|
41929
43345
|
'POST /workflows/:workflowId/observe-stream-legacy': PostWorkflowsWorkflowIdObserveStreamLegacy_RouteContract;
|
|
41930
|
-
'POST /agent-builder/:actionId/stream-legacy': PostAgentBuilderActionIdStreamLegacy_RouteContract;
|
|
41931
|
-
'POST /agent-builder/:actionId/observe-stream-legacy': PostAgentBuilderActionIdObserveStreamLegacy_RouteContract;
|
|
41932
43346
|
'GET /mcp/v0/servers': GetMcpV0Servers_RouteContract;
|
|
41933
43347
|
'GET /mcp/v0/servers/:id': GetMcpV0ServersId_RouteContract;
|
|
41934
43348
|
'GET /mcp/:serverId/tools': GetMcpServerIdTools_RouteContract;
|
|
@@ -42059,51 +43473,6 @@ export interface Client {
|
|
|
42059
43473
|
'/a2a/:agentId': {
|
|
42060
43474
|
POST: PostA2aAgentId_RouteContract;
|
|
42061
43475
|
};
|
|
42062
|
-
'/agent-builder': {
|
|
42063
|
-
GET: GetAgentBuilder_RouteContract;
|
|
42064
|
-
};
|
|
42065
|
-
'/agent-builder/:actionId': {
|
|
42066
|
-
GET: GetAgentBuilderActionId_RouteContract;
|
|
42067
|
-
};
|
|
42068
|
-
'/agent-builder/:actionId/create-run': {
|
|
42069
|
-
POST: PostAgentBuilderActionIdCreateRun_RouteContract;
|
|
42070
|
-
};
|
|
42071
|
-
'/agent-builder/:actionId/observe': {
|
|
42072
|
-
POST: PostAgentBuilderActionIdObserve_RouteContract;
|
|
42073
|
-
};
|
|
42074
|
-
'/agent-builder/:actionId/observe-stream-legacy': {
|
|
42075
|
-
POST: PostAgentBuilderActionIdObserveStreamLegacy_RouteContract;
|
|
42076
|
-
};
|
|
42077
|
-
'/agent-builder/:actionId/resume': {
|
|
42078
|
-
POST: PostAgentBuilderActionIdResume_RouteContract;
|
|
42079
|
-
};
|
|
42080
|
-
'/agent-builder/:actionId/resume-async': {
|
|
42081
|
-
POST: PostAgentBuilderActionIdResumeAsync_RouteContract;
|
|
42082
|
-
};
|
|
42083
|
-
'/agent-builder/:actionId/resume-stream': {
|
|
42084
|
-
POST: PostAgentBuilderActionIdResumeStream_RouteContract;
|
|
42085
|
-
};
|
|
42086
|
-
'/agent-builder/:actionId/runs': {
|
|
42087
|
-
GET: GetAgentBuilderActionIdRuns_RouteContract;
|
|
42088
|
-
};
|
|
42089
|
-
'/agent-builder/:actionId/runs/:runId': {
|
|
42090
|
-
GET: GetAgentBuilderActionIdRunsRunId_RouteContract;
|
|
42091
|
-
};
|
|
42092
|
-
'/agent-builder/:actionId/runs/:runId/cancel': {
|
|
42093
|
-
POST: PostAgentBuilderActionIdRunsRunIdCancel_RouteContract;
|
|
42094
|
-
};
|
|
42095
|
-
'/agent-builder/:actionId/start': {
|
|
42096
|
-
POST: PostAgentBuilderActionIdStart_RouteContract;
|
|
42097
|
-
};
|
|
42098
|
-
'/agent-builder/:actionId/start-async': {
|
|
42099
|
-
POST: PostAgentBuilderActionIdStartAsync_RouteContract;
|
|
42100
|
-
};
|
|
42101
|
-
'/agent-builder/:actionId/stream': {
|
|
42102
|
-
POST: PostAgentBuilderActionIdStream_RouteContract;
|
|
42103
|
-
};
|
|
42104
|
-
'/agent-builder/:actionId/stream-legacy': {
|
|
42105
|
-
POST: PostAgentBuilderActionIdStreamLegacy_RouteContract;
|
|
42106
|
-
};
|
|
42107
43476
|
'/agents': {
|
|
42108
43477
|
GET: GetAgents_RouteContract;
|
|
42109
43478
|
};
|
|
@@ -42170,6 +43539,9 @@ export interface Client {
|
|
|
42170
43539
|
'/agents/:agentId/resume-stream-until-idle': {
|
|
42171
43540
|
POST: PostAgentsAgentIdResumeStreamUntilIdle_RouteContract;
|
|
42172
43541
|
};
|
|
43542
|
+
'/agents/:agentId/signals': {
|
|
43543
|
+
POST: PostAgentsAgentIdSignals_RouteContract;
|
|
43544
|
+
};
|
|
42173
43545
|
'/agents/:agentId/skills/:skillName': {
|
|
42174
43546
|
GET: GetAgentsAgentIdSkillsSkillName_RouteContract;
|
|
42175
43547
|
};
|
|
@@ -42200,6 +43572,9 @@ export interface Client {
|
|
|
42200
43572
|
'/agents/:agentId/streamVNext': {
|
|
42201
43573
|
POST: PostAgentsAgentIdStreamVNext_RouteContract;
|
|
42202
43574
|
};
|
|
43575
|
+
'/agents/:agentId/threads/subscribe': {
|
|
43576
|
+
POST: PostAgentsAgentIdThreadsSubscribe_RouteContract;
|
|
43577
|
+
};
|
|
42203
43578
|
'/agents/:agentId/tools/:toolId': {
|
|
42204
43579
|
GET: GetAgentsAgentIdToolsToolId_RouteContract;
|
|
42205
43580
|
};
|
|
@@ -42918,4 +44293,5 @@ export type ClientResponse<P extends ClientPath, M extends ClientMethod<P>> = Cl
|
|
|
42918
44293
|
export type ClientResponseKind<P extends ClientPath, M extends ClientMethod<P>> = ClientRoute<P, M> extends {
|
|
42919
44294
|
responseType: infer ResponseType;
|
|
42920
44295
|
} ? ResponseType : never;
|
|
44296
|
+
export {};
|
|
42921
44297
|
//# sourceMappingURL=route-types.generated.d.ts.map
|